Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgsql: use subquery to plan GetNotification query #182

Merged
merged 1 commit into from
May 20, 2016
Merged

pgsql: use subquery to plan GetNotification query #182

merged 1 commit into from
May 20, 2016

Conversation

jzelinskie
Copy link
Contributor

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.

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.
@jzelinskie jzelinskie added area/performance related to improving application performance component/database labels May 19, 2016
@Quentin-M
Copy link
Contributor

LGTM

@jzelinskie jzelinskie merged commit 5d8336a into quay:master May 20, 2016
@jzelinskie jzelinskie deleted the subquery branch May 20, 2016 17:10
jzelinskie added a commit that referenced this pull request May 20, 2016
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/performance related to improving application performance
Development

Successfully merging this pull request may close these issues.

2 participants