Skip to content

Optimizing Pagination with Large Datasets in fastapi_pagination #244

Closed Answered by downdawn
downdawn asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, I tested migrating several million records to the ES database. Under sufficient resources, the query speed can reach milliseconds, including obtaining the total count. However, obtaining the total count in MySQL takes around 2 seconds.

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

downdawn
Dec 3, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@downdawn
Comment options

downdawn Dec 4, 2023
Collaborator Author

@wu-clan
Comment options

@downdawn
Comment options

downdawn Dec 4, 2023
Collaborator Author

@wu-clan
Comment options

Comment options

You must be logged in to vote
2 replies
@downdawn
Comment options

downdawn Dec 4, 2023
Collaborator Author

Answer selected by wu-clan
@wu-clan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants