I am using Delphi 10 Seattle, FireDac, Oracle Database and the TMS Components.
I am looking for a method that allows me to load data from my dataset/query and put it on a StringGrid
on demand. I think the correct expression would be paging
.
When i have a huge number of records (5000+) my application is freezing (~5s) till it loads all of them in the grid.
I've read the wiki post from Embarcadero about Fetching Rows but i didn't find a solution there.
I tried different combinations of the TFDQuery FetchOptions
and ResourceOptions
but without luck.
I noticed that the SQLDeveloper by Oracle performs exactly how i want my application to behave.
I've recorded this short clip to demonstrate how the SQLDeveloper loads massive amounds of records: https://gfycat.com/BlankOrganicIndianpalmsquirrel
It first loads 50 records and as I scroll through the grid the other records get loaded.
So the question is how can i get the same polling technique like SQLDeveloper. Thanks!
EDIT: Was using LiveBindings. Switched to db-aware components and it looks fast as lightning now.