Hi Fesa,
I don't know the exact answer, but I would try the following:
- Speed up the retrieval using indexes to prevent full table scans. to save some time.
- Try to avoid the calculated attributes. Examine if the data is truly dynamic by the time of reading. If only when writing, convert them into a Before Commit.
- If the calculation is required when reading the data, try pushing it to the client-side. Load a grid with the source values of the calculations and provide a client-side Nanoflow to add the calculated values. It would involve a non-persistent object that is filled from the retrieved values.
- Optimize the pooling of the request to the database: https://docs.mendix.com/refguide/custom-settings/#connection-pooling
Go Make It