There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-6561039e-cd81-4021-8b29-7536589f2f8e XWIKI-14634 Open

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

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-7185923e-e76d-4d67-b681-3c898433aa1d Vincent Massol on 13/Aug/25 12:04
 

> 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).

Right now (today) users of XWiki on oracle have the issue (that doesn't exist on other DBs). We need to fix it quickly so that it doesn't produce errors (it doesn't matter if the fix is not perfect) and then work our way towards fixing what you mentioned. That's unless the time it takes to fix the core issue is really small (but I doubt it).