5319: Improve collection PDH fix performance with LIKE searches.
authorBrett Smith <brett@curoverse.com>
Wed, 18 Mar 2015 14:44:18 +0000 (10:44 -0400)
committerBrett Smith <brett@curoverse.com>
Fri, 20 Mar 2015 18:06:39 +0000 (14:06 -0400)
commit1d0aef8fb7bdad6d28976255919f58b719a4342b
tree2fb64c1324ed1aac06dd3d961adaa94ed0ecf1a6
parent4925686f6aa7214568ebd60be3acaa49dbf9dd1a
5319: Improve collection PDH fix performance with LIKE searches.

PostgreSQL regexp searches use a lot of RAM, and these queries run out
of RAM on qr1hi.  Prefer LIKE queries, which use less RAM and are more
portable.  We have to do multiple searches, but that's life.
services/api/db/migrate/20150303210106_fix_collection_portable_data_hash_with_hinted_manifest.rb