-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Size: 40Ouch this is going to take a week.Ouch this is going to take a week.
Description
Problem
Currently our measurements is increasing fast, making our query getting slow
Currently we are saving the value in foreign key
[measurement] -> [quantity]
This query takes a lot ot time to execute it
Solution
- Make the measurements flat table [id], [time], [value], [parameter]
- We also need to consider partitions.
- Partition makes query fast as it is create table per well, as 1 well can contains millions measurements - Quantity concept also being done on the other model, we need to make it as flat table and remove it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Size: 40Ouch this is going to take a week.Ouch this is going to take a week.