Add some database indexes
This commit is contained in:
parent
00bfa5336e
commit
0e97c55c0c
4 changed files with 25 additions and 0 deletions
10
sqitch/deploy/add_some_database_indexes.sql
Normal file
10
sqitch/deploy/add_some_database_indexes.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
-- Deploy guix-data-service:add_some_database_indexes to pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
CREATE INDEX ON derivation_outputs (derivation_id);
|
||||
CREATE INDEX ON derivation_outputs (derivation_output_details_id);
|
||||
CREATE INDEX ON nars (store_path);
|
||||
CREATE INDEX ON package_derivations (package_id);
|
||||
|
||||
COMMIT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue