When I test a page with a lot of Oracle queries on Lucee it appears that all queries are taking well over a second. Page is taking over 20 seconds to load most of the time. Except sometimes on reload it will load quickly as you can see below. Loads in under a second on CF server?
Lucee:
46 Queries Executed (Total Records: 1367; Total Time: 22,774.657 ms; Total Open Connections: 2)
Same page on Lucee after refresh:
46 Queries Executed (Total Records: 1367; Total Time: 104.536 ms; Total Open Connections: 1)
Any optimizations I can try? Is it the driver?
Connection limit (max) = 50
Using the “Thin” driver:
Oracle 11g (Release 2) 11.2.0.4
Oracle Database Driver to access an Oracle Database System.
Don’t forget to tell us about your stack!
Version Lucee 5.4.3.16
Version Name Gelert
Release date Oct 11, 2023
ontainer Apache Tomcat/9.0.24
Java 11.0.6 (Oracle Corporation) 64bit
OS Linux (3.10.0-1062.4.1.el7.x86_64) 64bit
Architecture 64bit