You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently any sensor data query processes the wholeaerosense-twined.greta.sensor_data table. SELECT *Here Instead of SELECT datetime, "f0_", "f1_", ..... etc.
Problem
Currently the table contains around 50GB of data. So 20 Queries will result in 1TB of data processed costing around 5 USD at current pricing.
Solutions
The query is charged according to the total data processed in the columns we select, and the total data per column is calculated based on the types of data in the column. So:
Immediate solution: select only the datetime and sensor_value columns.
Longer term solutions to discuss:
2.1 Create permanent tables for eachsensor_type with columns for each senor
2.2 Introduce table partitioning (for example on daily basis)
The text was updated successfully, but these errors were encountered:
Currently any sensor data query processes the whole
aerosense-twined.greta.sensor_data
table.SELECT *
Here Instead ofSELECT datetime, "f0_", "f1_", ..... etc.
Problem
Currently the table contains around 50GB of data. So 20 Queries will result in 1TB of data processed costing around 5 USD at current pricing.
Solutions
The query is charged according to the total data processed in the columns we select, and the total data per column is calculated based on the types of data in the column. So:
2.1 Create permanent tables for each
sensor_type
with columns for eachsenor
2.2 Introduce table partitioning (for example on daily basis)
The text was updated successfully, but these errors were encountered: