i-norden
|
673ae7b265
|
fixes, PKs need to include partition key
|
2022-04-12 21:56:27 -05:00 |
|
i-norden
|
3b4e097f00
|
remove pre and post migrations sets
|
2022-04-12 21:12:03 -05:00 |
|
i-norden
|
caf99f7194
|
use state leaf key in storage_cids FK
|
2022-04-12 21:11:36 -05:00 |
|
i-norden
|
2816de15a3
|
migrations for hypertables and distributed hypertables
|
2022-04-06 18:44:19 -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
|
82de252160
|
stored functions for creating state and storage snapshots from the set of all diffs in Postgres
|
2022-03-28 18:20:29 -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
|
f59582ab42
|
indexes on receipt cid and mh_key should not be unique, as it is possible (but improbable) that two receipts can be identical
|
2022-02-16 14:11:23 -06:00 |
|
i-norden
|
9e7e0377a5
|
split pk application into two parts
|
2022-01-26 13:01:41 -06:00 |
|
i-norden
|
0710ed1bb1
|
drop un-unique indexes
|
2022-01-25 12:31:59 -06:00 |
|
i-norden
|
1088313ab7
|
prep for integrated node of v3
|
2022-01-25 08:29:25 -06:00 |
|
i-norden
|
edabfcc9c9
|
migration for applying log_cids.leaf_mh_key FK constraint to check that repair process was completed
|
2022-01-19 15:21:29 -06:00 |
|
i-norden
|
ae1a6e9d31
|
disable and renable indexes correctly
|
2022-01-10 21:51:04 -06:00 |
|
i-norden
|
a2c98550b7
|
mig to upgrade schema version in db; mig to remove temporary indexes for logTrie fix
|
2022-01-10 12:13:49 -06:00 |
|
i-norden
|
4ad1250ea1
|
split out new post-batch migration for indexes that will accelerate our logTrie repair process
|
2022-01-10 11:53:55 -06:00 |
|
i-norden
|
8b64621f46
|
move public.blocks PK application into own migration to be applied alone
|
2022-01-07 12:52:45 -06:00 |
|
i-norden
|
70d571e03e
|
rename file, no schema changes
|
2022-01-07 12:51:29 -06:00 |
|
i-norden
|
e2f261caa9
|
include timestamp for when version is updated
|
2021-12-27 13:52:52 -06:00 |
|
i-norden
|
3833fb85e2
|
singleton table for internally recording the database schema version
|
2021-12-27 11:35:32 -06:00 |
|
Arijit Das
|
e532192a6d
|
Fix CI test.
|
2021-12-20 21:20:50 +05:30 |
|
Arijit Das
|
db48f344f0
|
Fix failing CI and update incremental migration.
|
2021-12-20 14:07:48 +05:30 |
|
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
|
36dc668976
|
proposed schema changes
|
2021-11-25 11:33:39 -06:00 |
|
i-norden
|
636fa35b84
|
revert my data type mistake
|
2021-11-24 17:52:21 -06:00 |
|
i-norden
|
217bbf9523
|
make tables unlogged for batch import
|
2021-11-22 23:41:32 -06:00 |
|
i-norden
|
4392505b16
|
use BIGINT not NUMERIC, it is faster for arithmetic operations and uses less space
|
2021-11-20 13:49:03 -06:00 |
|
i-norden
|
1b4a6fc2e3
|
split pre and post batch processing migrations apart; create make targets for running each
|
2021-11-18 19:03:37 -06:00 |
|
i-norden
|
cb4d0a1275
|
fix access list and log pks
|
2021-11-18 18:53:55 -06:00 |
|
i-norden
|
b8f0c194b8
|
remove pks; migrations to add back pks and fks
|
2021-11-18 17:46:50 -06:00 |
|
i-norden
|
0fb07a0a77
|
use node_id as PK/FK
|
2021-11-18 08:19:36 -06:00 |
|
i-norden
|
6105603585
|
remove postgraphile trigger, it needs to be reworked after PK updates
|
2021-11-17 18:56:04 -06:00 |
|
i-norden
|
8e644ebdf4
|
set of migrations for the parallel batch processing
|
2021-11-15 11:09:17 -06:00 |
|
i-norden
|
7cc9201a94
|
new natural primary key scheme
|
2021-11-14 18:23:26 -06:00 |
|
Arijit Das
|
a8ad027698
|
Compare Up and Down Migration.
|
2021-10-13 13:09:58 +05:30 |
|
Arijit Das
|
1db8a682df
|
Upgrade statediff image to v0.9.0.
|
2021-10-08 18:36:21 +05:30 |
|
Arijit Das
|
c89a73f738
|
Minor fix.
|
2021-10-05 16:47:45 +05:30 |
|
Arijit Das
|
562ee3e782
|
Create a docker image with postgres DB and concise migration.
|
2021-10-05 16:21:18 +05:30 |
|