Details
Assignee
UnassignedUnassignedReporter
Miguel TargaMiguel TargaPriority
BlockerNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Original estimate
Time tracking
No time loggedSprint
NoneAffects versions
Details
Details
Assignee
Unassigned
UnassignedReporter
Miguel Targa
Miguel TargaPriority
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Original estimate
Time tracking
No time logged
Sprint
None
Affects versions
Created 22 November 2019 at 13:44
Updated 3 April 2020 at 18:44
We are using Hibernate on our application, and on startup it runs
ORMReload();
We noticed that it was taking longer than usual, and maxing out the DB CPU.
After running SHOW PROCESSLIST; in the DB to see whats going on, we saw the application running queries like:
SHOW DATABASES (Many times) SHOW FULL TABLES FROM `mysql` LIKE `swaccount` SHOW FULL TABLES FROM `information_schema` LIKE `swaccount`
It scans the whole database, and its not even limited to the datasources.