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
Check the size of each partition after migrations to make sure they are balanced
Probably we should also partition the flag table
The import subcommands require a connection to KDVH and Kvalobs, so they can't be used when those databases go down.
Use parallel index creation
Use the CONCURRENTLY keyword for index creation to allow concurrent writes to the tables?
Add missing partition
Find a way to deal with missing metadata
KDVH
T_SECOND, T_MINUTE, T_10MINUTE are not that big, so it's probably not worth dumping them by year
Import errors have to do with either missing entries in the elem_map_cfnames_param Stinfosys table, or a missing partition (for data earlier than 1850)
The timings seem to be all over the place. For T_EDATA and T_ADATA I had to limit the number of import workers, since they would consume too much memory.
But maybe that also helps since it limits the number of concurrent writes to the database?
CONCURRENTLY
keyword for index creation to allow concurrent writes to the tables?KDVH
T_SECOND, T_MINUTE, T_10MINUTE are not that big, so it's probably not worth dumping them by year
Import errors have to do with either missing entries in the
elem_map_cfnames_param
Stinfosys table, or a missing partition (for data earlier than 1850)The timings seem to be all over the place. For T_EDATA and T_ADATA I had to limit the number of import workers, since they would consume too much memory.
But maybe that also helps since it limits the number of concurrent writes to the database?
Kvalobs
data
table; second row:text_data
tableKvalobs
2025-01-13
2025-01-13
Histkvalobs
2000-01-01
2006-01-01
2008-01-01
2025-01-13
2013-01-01
2018-01-01
2023-01-01
2025-01-01
2025-01-13
Partition size check
(after kdvh)
(after kdvh)
(after kvalobs)
(after kvalobs)
Footnotes
only accounts for rows in the
data
andnonscalar_data
tables, should be roughly double the amount if considering also theflags.kvdata
table ↩accidentally duplicated some of the data ↩
data from 2024 was not dumped for stations 7420, 15270, 16400 ↩
accidentally deleted the log file, but the dump is missing data from 2024 ↩
not that reliable since we started ingesting from obsinn at the end of 2024 ↩
The text was updated successfully, but these errors were encountered: