Description
Profiling indicated that JDBCStoreQuery.populateSelect consumes a significant amount of CPU, and is executed every time a query is run. While, in fact, the actual PreparedStatement is created and run only in QueryImpl.toResult. It seems like the returned ResultObjectProvider from JDBCStoreQuery.executeQuery can be at least partially cached, or even cached in its entirety (provided care is taken with the context parameters).
It seems like such an improvement would significantly improve query performance.
Attachments
Attachments
Issue Links
- is related to
-
OPENJPA-886 Certain query failing after svn:739123
- Closed
-
OPENJPA-924 Cache Finder Query for performance enhancement
- Closed
- relates to
-
OPENJPA-2121 Determine proper configuration of SQL caches
- Open
-
OPENJPA-2099 Reuse relationship selection
- Reopened
-
OPENJPA-407 Cache SQL (or closer precursors to SQL) more aggressively
- Closed