Table Partitioning #23
Replies: 3 comments 2 replies
-
We should add this to the load testing scenario. |
Beta Was this translation helpful? Give feedback.
-
@talele08 even I too completely agree on partitioning the data. I too have seen this problem in e-Chhawani where reports give timeout error as we need to join the data across tables and data is too large to handle in a given time. Making the data to the tenant-specific schema will improve the performance and security but brings its own challenge to the citizen endpoint.
|
Beta Was this translation helpful? Give feedback.
-
Table partitioning will definitely help with performance and scaling. Depending on the volumes of data we are dealing with, we could:
We also need a plan for hot/cold data archival. Do we have any built-in mechanisms in DIGIT core for accessing cold data? This should be configurable. |
Beta Was this translation helpful? Give feedback.
-
Currently common components/modules like collection service, records payment transactions across business modules(solutions) like Property Tax, Water & Sewerage Charges, TradeLicense etc. Over time the data size will grow which will lead to issues with query performance. At what stage(data size) should we think of partitioning our tables? Could partitioning the data based on tenantId(ULB/City code) or businessService (Module code) or combination of both help with scalability?
Beta Was this translation helpful? Give feedback.
All reactions