-
Suggestion
-
Resolution: Won't Fix
-
None
-
None
-
5
-
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? 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-12319 Adding users to a large group is slow with default (Hibernate) user management
-
- Closed
-
-
CONFSERVER-9152 InnoDB vs MyISAM discrepancy with MySQL
-
- Closed
-
- relates to
-
CONFCLOUD-10030 db2: queries that use 'lower' do not use index because of case sensitivity
- Closed
- was cloned as
-
CONFSERVER-11577 Store pre-lowercased content titles for more efficient lookup
- Closed
[CONFSERVER-10030] db2: queries that use 'lower' do not use index because of case sensitivity
Workflow | Original: JAC Suggestion Workflow 4 [ 3568261 ] | New: JAC Suggestion Workflow 3 [ 4332848 ] |
Workflow | Original: JAC Suggestion Workflow 2 [ 3178045 ] | New: JAC Suggestion Workflow 4 [ 3568261 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Suggestion Workflow [ 3036544 ] | New: JAC Suggestion Workflow 2 [ 3178045 ] |
Workflow | Original: Confluence Workflow - Public Facing v4 [ 2523456 ] | New: JAC Suggestion Workflow [ 3036544 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 [ 2258229 ] | New: Confluence Workflow - Public Facing v4 [ 2523456 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 - TEMP [ 2194041 ] | New: Confluence Workflow - Public Facing v3 [ 2258229 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 [ 1922765 ] | New: Confluence Workflow - Public Facing v3 - TEMP [ 2194041 ] |
Workflow | Original: Confluence Workflow - Public Facing v2 [ 1760844 ] | New: Confluence Workflow - Public Facing v3 [ 1922765 ] |
Description |
Original:
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. |
New:
{panel:bgColor=#e7f4fa} *NOTE:* This suggestion is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/CONFCLOUD-10030]. {panel} 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. |
Link |
New:
This issue relates to |