Application ID: 66C2DBD4-189A-7377-FF95-915D98235700
Out of sort memory, consider increasing server sort buffer size
Problem description
I want to add 1:n relations to a table entry in Data Browser
Steps to reproduce
Click on “Add/Remove related Objects”
Error message appears “Out of sort memory, consider increasing server sort buffer size”
Please look into it. Thank you in advance.
Regards, Joerg
Hi @Jorg_Beyer ,
Sorry for inconvenience. Could you please provide names of the parent and child tables with relation name?
Regards, Andriy
Parent table: Idea
Relation Name: constituents
The affected record is in the column “name” with the value “Value”
Hello @Jorg_Beyer ,
yes, thank you.
I’ve created an internal ticket to fix this issue.
Hi again,
Could you try adding an index
to the column name
?
Do you have any sorting in the related table?
Sorry, for the late reply.
No, there is no sorting in the related table. Any sorting in the related table leads to the same error in that table, so I avoid sorting.
Any chance to have a deeper look into this topic?
Thanks, Joerg
Dima
(Dima Vak)
June 17, 2024, 12:56pm
12
Sorry for the long reply, we looking into it right now.
Dima
(Dima Vak)
June 17, 2024, 1:33pm
13
@Jorg_Beyer
I have tried to add relation after disabling all sorting in the related table - and it works as expected.
Could you please go to related table, and manually enable sorting for the first column, and after that disable it. It will help us to be sure, that there are no sorting in any other column.
Does error still appear after this actions?
Regards, Dima.
What do you mean by enabling/disabling sorting? I have manually done sorting by clicking on the sorting button of the column in the related table. And did that until no sorting.
The error still appears.
Dima
(Dima Vak)
June 17, 2024, 2:10pm
15
Enabled:
Disabled:
Go to StockMRQEvaluationData
table and enable sorting for first column, and after that disable it.
After that try to add relation again.
Dima
(Dima Vak)
June 17, 2024, 7:07pm
17
And as I understand the error still appear.
Ok, lets try to investigate what the difference between your and my cases.
Please do the next steps:
go to the Idea table
open browser devtools(F12 or Right Mouse Click → Inspect)
Choose network tab(1)
Clear all request using button(2)
Try to add relations
And for every “find” request(3) repeat next:
choose payload tab(4)
Right Mouse Click on request payload(5)
Click “Copy object”
Paste it here
Hi, the difference is, that my request contains a sort. But why?
I checked every single table - not only the related one, biut all tables - and disabled sorting.
But without any effect.
I can see that every table view of the related objects is by default sorted! I cannot disable sorting here.
This must be set by the backendless. What do you think?
Hello @Jorg_Beyer
We have added an internal task to remove default sorting.
Regards