Hi All,
Background... we are an early stage startup... but have a transactional platform... that is pushing tables w/ 1,000
's of records... in my life, this is a very small DB... but I'm bumping into performance issues, 500/2000 fetching limitations, etc.
I had gotten hip to the idea of using collections in the App.onStart()
Concurrent(
ClearCollect( col_Trainers, 'xxx.Trainer' ),
)
Where this is connecting to a PostresSQL db connector... I initially had been of the thought this would localize the whole remote table... but now realize this will only be 500-2000 records (depending on your App settings). I can't find the post at the moment, but found one "creative" approach... to create a number of temp collections in onStart that sequentially take 2,000 item chunks and then stitch them together afterwards.
We use a lot of DataTables... basically a grid screen to form detail screen. I've started using more pre-filters at the top of the grid to minimize fetched rows at any time.
Other thoughts on working w/ or around these performance and record limitations? And I'm definitely left scratching my head as to the value of collections? Maybe for like small lookup tables?
- Marcus