From 0c4e6a2fe49d13a65f836a2b8a5dade720aa7e6b Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 25 Mar 2020 19:11:03 +0000 Subject: Create an index on narinfo_fetch_records This greatly improves the performance of the derivation-outputs page. --- sqitch/revert/create_narinfo_fetch_records_index.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sqitch/revert/create_narinfo_fetch_records_index.sql (limited to 'sqitch/revert') diff --git a/sqitch/revert/create_narinfo_fetch_records_index.sql b/sqitch/revert/create_narinfo_fetch_records_index.sql new file mode 100644 index 0000000..2da20bf --- /dev/null +++ b/sqitch/revert/create_narinfo_fetch_records_index.sql @@ -0,0 +1,7 @@ +-- Revert guix-data-service:create_narinfo_fetch_records_index from pg + +BEGIN; + +DROP INDEX narinfo_fetch_records_narinfo_signature_data_id; + +COMMIT; -- cgit v1.2.3