Commit Graph
13 Commits
Author SHA1 Message Date
i-norden b06b4f2cfb remove partial_path and contract_hash columns and indexes 2023-02-17 14:25:40 -06:00
i-norden c402e5c285 drop mh_keys and use cids for blockstore keys and linking aka revert to v0 ipfs blockstore format. in addition to saving space, this format is closer to the CAR format used in filecoin deals 2023-02-08 18:22:40 -06:00
i-norden f67f03481b renaming some columns; remove log_root column 2023-02-08 18:08:08 -06:00
i-norden 713f6a9208 add removed flag; embed value in storage_cids 2023-01-23 17:30:33 -06:00
i-norden 241bb281eb state_cids and storage_cids only index leaf nodes and related adjustments 2023-01-23 17:08:20 -06:00
prathamesh ee2f43a849 Remove foreign keys to hypertables 2022-04-22 18:53:43 +05:30
i-norden 673ae7b265 fixes, PKs need to include partition key 2022-04-12 21:56:27 -05:00
i-norden da8d0af6df updates order of columns in compound PKs, update indexes e.g. we don't need a btree index on a column if it is the first column in the compound PK index but we do need a btree index for the later columns in a compound PK (searches on first column of a compound index are just as fast as searches on a btree index for that column alone, but searches on the 2nd or 3rd column in a compound index are significantly slower than on dedicated indexes) 2022-03-28 18:22:57 -05:00
i-norden ba2550cc01 update pre- and post- sets 2022-03-21 19:53:48 -05:00
i-norden 1dc12460dc denormalize tables by block_number so that we can partition all tables by block_number for purposes of sharding 2022-03-15 16:06:13 -05:00
i-norden 925dba5759 reorder columns to match order of values written to .sql files so that when we convert to .csv and load using COPY FROM it doesn't need to sort 2021-11-25 11:33:39 -06:00
i-norden 7cc9201a94 new natural primary key scheme 2021-11-14 18:23:26 -06:00
Arijit Das 562ee3e782 Create a docker image with postgres DB and concise migration. 2021-10-05 16:21:18 +05:30