DIRACGrid / diracx

The neXt DIRAC generation
GNU General Public License v3.0
8 stars 19 forks source link

Requirements for Parameter DBs #190

Closed chrisburr closed 6 months ago

chrisburr commented 9 months ago

Parameters DBs (at a minimum for JobParameters and PilotParameters) need the following:

chrisburr commented 6 months ago

After playing around with using a dump of the LHCb ElasticJobParametersDB this I've come to the conclusion that anything that MySQL is not going to play nicely with this use case. The count(*) queries for making dashboards are too slow when you have many rows due to MVCC. I also tried with postgres and while it has a bunch of features that make it nicer but it still has the same fundamental issue.

I'm sure we could come up with something clever using triggers but it'd be non-trivial and doesn't seem worth it.

fstagni commented 6 months ago

IIUC, we keep the current OpenSearch-based solution. If that is the case, then at least https://github.com/DIRACGrid/DIRAC/pull/7292 could be evaluated.