13924: Add index for PDH lookups.
authorTom Clegg <tclegg@veritasgenetics.com>
Mon, 20 Aug 2018 13:17:26 +0000 (09:17 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Mon, 20 Aug 2018 14:03:12 +0000 (10:03 -0400)
commit662a70957f0652acd6579efc635eed8f708ab48c
tree0f72e0542de62372c3df537e29bf89d5d2054e37
parent6d6a0b0f7d5780c92c865ba2e6979195510c27b2
13924: Add index for PDH lookups.

Commit 2ee4ee2bb666835c41019b475dd2e286604bdd35 changed PDH lookup
queries to sort on trash_at, which can be slow without an index.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
services/api/db/migrate/20180820130357_add_pdh_and_trash_index_to_collections.rb [new file with mode: 0644]
services/api/db/structure.sql