clair/database/pgsql
Jimmy Zelinskie da446b65d6 pgsql: use subquery to plan GetNotification query (#182)
This change enables the query planner to wait and sort the result set of
our query rather than attempting to re-use the layer table's index for
the ORDER BY clause. Because the result set is always small, this makes
queries that were previous tens of seconds, now tens of milliseconds.
2016-05-20 13:28:19 -04:00
..
migrations database: add created_at field for layers and vulnerabilities 2016-02-24 16:36:45 -05:00
testdata *: add missing copyright headers 2016-02-24 16:34:54 -05:00
complex_test.go various: gofmt -s 2016-02-24 19:29:36 -05:00
feature_test.go various: gofmt -s 2016-02-24 19:29:36 -05:00
feature.go database: Find the FeatureVersion we try to insert before doing any lock 2016-03-03 14:15:06 -05:00
keyvalue_test.go *: add missing copyright headers 2016-02-24 16:34:54 -05:00
keyvalue.go database: use constants to store queries 2016-02-24 16:40:40 -05:00
layer_test.go various: gofmt -s 2016-02-24 19:29:36 -05:00
layer.go psql: add debug message for duplicate layers 2016-03-08 14:39:53 -05:00
lock_test.go *: add missing copyright headers 2016-02-24 16:34:54 -05:00
lock.go database: use constants to store queries 2016-02-24 16:40:40 -05:00
namespace_test.go various: gofmt -s 2016-02-24 19:29:36 -05:00
namespace.go database: use constants to store queries 2016-02-24 16:40:40 -05:00
notification_test.go various: gofmt -s 2016-02-24 19:29:36 -05:00
notification.go database: Fix invalid error message 2016-03-18 12:25:01 -04:00
pgsql.go database: fix Ping() method in PostgreSQL's implementation 2016-02-24 16:36:45 -05:00
queries.go pgsql: use subquery to plan GetNotification query (#182) 2016-05-20 13:28:19 -04:00
vulnerability_test.go various: gofmt -s 2016-02-24 19:29:36 -05:00
vulnerability.go remove the useless pointer of NextPage field; check namespace notfound error 2016-03-08 11:48:52 +08:00