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

Add: Use a 3 arg iso_time for GET iterators #2109

Closed
wants to merge 1 commit into from

Conversation

mattmundell
Copy link
Contributor

What

Use a three argument version of pl/pgsql function iso_time to speed up GET iterators.

Why

Trying to speed up SecInfo pages, when paging to the end.

This PR takes the CPEs from 9s to 7s, for example, so probably need something better.

References

https://www.postgresql.org/docs/current/queries-limit.html 7.6 LIMIT and OFFSET:
The rows skipped by an OFFSET clause still have to be computed inside the server; therefore a large OFFSET might be inefficient.

Copy link

Conventional Commits Report

Type Number
Added 1

🚀 Conventional commits found.

@mattmundell
Copy link
Contributor Author

Closing because /pull/2112 removes the use of iso_time entirely for these cases.

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.

1 participant