Skip to content

VDB-1397 - refactor Use CTE for all_urns query#208

Merged
paytonrules merged 3 commits intostagingfrom
use-cte-in-all-urns-query
Jun 10, 2020
Merged

VDB-1397 - refactor Use CTE for all_urns query#208
paytonrules merged 3 commits intostagingfrom
use-cte-in-all-urns-query

Conversation

@paytonrules
Copy link
Copy Markdown
Contributor

This seemed significantly faster in PGAdmin, although that may be a red herring caused by load on the staging server. In addition this fixes a bug where the query returns the block_height requested instead of the actual block_height.

This seemed significantly faster in PGAdmin, although that may be a red
herring. In addition this fixes a bug where the query returns the
block_height requested instead of the actual block_height.
Copy link
Copy Markdown
Contributor

@rmulhol rmulhol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

It's not really necessary.
@paytonrules paytonrules changed the title Refactor Use CTE for all_urns query VDB-1397 - refactor Use CTE for all_urns query Jun 9, 2020
This does make the tests less comprehensive, but without the order stort
the tests are not deterministic.
@paytonrules paytonrules merged commit 7f24630 into staging Jun 10, 2020
@rmulhol rmulhol deleted the use-cte-in-all-urns-query branch June 18, 2020 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants