- Saul Erhmy
- .NET DataStore
- Friday, 14 October 2022 06:34 PM UTC
Hi,
Is there a way to speed up how fast dataStore.Retrieve() retrieves all rows? Or can i split up the Retrieve() in some sort of way using multithreading. For example this is what I'm thinking, could I get the count of all rows, split it up N times, and then do a retrieve for each N. If possible what is the best way to speed up a Retrieve?
edit: it seems I can RetrieveByPage(3, 10) which would get me rows 3 to 10. But how could I find the max row count? In other words I need to prevent the end parameter from going out of bounds and the only way to do this is to find what the max row count is. dataStore.Retrieve() will give my the max row count but that would defeat the purpose of what I am trying to accomplish.
p.s Sorry for more questions :)
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.