-
Suggestion
-
Resolution: Won't Fix
-
None
-
5
-
NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.
Most of the queries against CONTENT table use 'lower' db function for a title field. The goes for (space) key field in SPACES table.
We do it to make a case insensitive comparison, however it means that db2 does not use the existing indexes for those fields and performs a full table scan.
This results in a poor performance.
This can be applicable to other database too, but it is not verified. Also other databases may have global 'case sensitivity' flag.
- is related to
-
CONFSERVER-10030 db2: queries that use 'lower' do not use index because of case sensitivity
- Closed
- was cloned as
-
CONFCLOUD-11577 Store pre-lowercased content titles for more efficient lookup
- Closed