File tree Expand file tree Collapse file tree 2 files changed +175
-97
lines changed Expand file tree Collapse file tree 2 files changed +175
-97
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ CREATE INDEX state_mh_index ON eth.state_cids USING btree (mh_key);
4747
4848CREATE INDEX state_path_index ON eth .state_cids USING btree (state_path);
4949
50+ CREATE INDEX state_node_type_index ON eth .state_cids USING btree (node_type);
51+
5052-- storage node indexes
5153CREATE INDEX storage_state_id_index ON eth .storage_cids USING btree (state_id);
5254
@@ -58,6 +60,8 @@ CREATE INDEX storage_mh_index ON eth.storage_cids USING btree (mh_key);
5860
5961CREATE INDEX storage_path_index ON eth .storage_cids USING btree (storage_path);
6062
63+ CREATE INDEX storage_node_type_index ON eth .storage_cids USING btree (node_type);
64+
6165-- state accounts indexes
6266CREATE INDEX account_state_id_index ON eth .state_accounts USING btree (state_id);
6367
@@ -69,13 +73,15 @@ DROP INDEX eth.storage_root_index;
6973DROP INDEX eth .account_state_id_index ;
7074
7175-- storage node indexes
76+ DROP INDEX eth .storage_node_type_index ;
7277DROP INDEX eth .storage_path_index ;
7378DROP INDEX eth .storage_mh_index ;
7479DROP INDEX eth .storage_cid_index ;
7580DROP INDEX eth .storage_leaf_key_index ;
7681DROP INDEX eth .storage_state_id_index ;
7782
7883-- state node indexes
84+ DROP INDEX eth .state_node_type_index ;
7985DROP INDEX eth .state_path_index ;
8086DROP INDEX eth .state_mh_index ;
8187DROP INDEX eth .state_cid_index ;
You can’t perform that action at this time.
0 commit comments