There is 1 update, 3 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-7ba36cf7-afea-4668-bb84-6335fb1e8826 XWIKI-14634 Open

Error when sorting and filtering large string based properties on Oracle Database

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-35f90c99-02ee-4353-9983-e2d58b8e34c0 Changes by Thomas Mortagne on 13/Aug/25 11:14
 
Labels: oracle performance
 
 

3 comments

 
cid:jira-generated-image-avatar-35f90c99-02ee-4353-9983-e2d58b8e34c0 Thomas Mortagne on 13/Aug/25 11:12
 

We should not try to make this work on Oracle since it's simply a very bad thing to do in general. Instead, we should fix all places where we try to sort/filter on large strings (either by not doing it anymore, or by refactoring the field to not be a large string).

 
cid:jira-generated-image-avatar-35f90c99-02ee-4353-9983-e2d58b8e34c0 Thomas Mortagne on 13/Aug/25 11:13
 
We should not try to make this work on Oracle since it's simply a very bad thing to do in general (sorting/filtering on a not indexed column will take forever if the document table is big) . Instead, we should fix all places where we try to sort/filter on large strings (either by not doing it anymore, or by refactoring the field to not be a large string).
 
cid:jira-generated-image-avatar-35f90c99-02ee-4353-9983-e2d58b8e34c0 Thomas Mortagne on 13/Aug/25 11:15
 
We should not try to make this work on Oracle since it's simply a very bad thing to do in general (sorting/filtering on a not indexed column will take forever if the document table is big). Instead, we should fix all places where we try to sort/filter on large strings (either by not doing it anymore, or by refactoring the field to not be a large string , for example the way we store list of users/groups right now does not make any sense and we should probably introduce a new type of property for user and groups which does things properly ).