Enhance QueryCache to log a warning when cache is full

Description

The SQL query engine includes a QueryCache which caches parsed queries so they'll get executed faster if used again. By default that cache is bounded to 1000, and if exceeded it gets cleared, which could suggest a performance issue in some scenarios.

To help detect and troubleshoot this, we're now logging a warning when that happens, indicating how the cache size can be increased, or alternatively configured to be unbounded.

Fixed

Assignee

Niv Ingberg

Reporter

Niv Ingberg

Labels

None

Priority

Minor

SalesForce Case ID

None

Fix versions

Commitment Version/s

None

Due date

None

Product

None

Edition

Open Source

Platform

All