Create an index on narinfo_fetch_records
This greatly improves the performance of the derivation-outputs page.
This commit is contained in:
parent
8af7130239
commit
0c4e6a2fe4
4 changed files with 23 additions and 0 deletions
8
sqitch/deploy/create_narinfo_fetch_records_index.sql
Normal file
8
sqitch/deploy/create_narinfo_fetch_records_index.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-- Deploy guix-data-service:create_narinfo_fetch_records_index to pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
CREATE INDEX narinfo_fetch_records_narinfo_signature_data_id ON
|
||||
narinfo_fetch_records (narinfo_signature_data_id);
|
||||
|
||||
COMMIT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue