If you’re using a QuerySet with a very large number of items, requesting high page numbers might be slow on some databases, because the resulting LIMIT/OFFSET query needs to count the number of OFFSET records which takes longer as the page number gets higher.
Summary of the Bug
@duckpunch https://github.com/usgo/agagd/pull/180#discussion_r615553918
Specifically the issue with performing large queries on large sets. https://docs.djangoproject.com/en/3.2/ref/paginator/#django.core.paginator.Paginator.object_list
Notes