SortedFields property of TQuery slow down performances of firebird
Posted: 08.01.2016, 19:05
Hallo,
I'm rewriting my application to migrate from BDE to FB. Thinking is best, I used property "SortedFields" instead of using the clause "ORDER BY" in SQL Query and the performance of FB was running very very bad on LAN that the application seems not usable! in local, Instead, the performances seemed good.
I discovered that the origin of the problem is the property "SortedFields", I deleted all properties SortedFields and I added ORDER BY Clause on all my SQL Queries and the application is born to new life
Now the application is usable even on LAN.
Why? there is a bug or it's me that is wrong?
Thanks
I'm rewriting my application to migrate from BDE to FB. Thinking is best, I used property "SortedFields" instead of using the clause "ORDER BY" in SQL Query and the performance of FB was running very very bad on LAN that the application seems not usable! in local, Instead, the performances seemed good.
I discovered that the origin of the problem is the property "SortedFields", I deleted all properties SortedFields and I added ORDER BY Clause on all my SQL Queries and the application is born to new life
Now the application is usable even on LAN.
Why? there is a bug or it's me that is wrong?
Thanks