Limit the number of prepared statements #1073
Labels
database
Issues that involve the database
enhancement
Enhance the code or user experience
performance
Hibernate query statistics are getting flooded with all the variants of a query that uses a parameter list. This makes it very difficult to inspect query metrics exposed by Micrometer.
This can be mitigated by either using fixed size batch or padding to the next power of two.
Another place that is producing a lot of queries is the filtering system in FilteringDao. In #871 we cut that down by querying clauses independently and intersecting the resulting IDs.
The text was updated successfully, but these errors were encountered: