Large InnoDb table count slow

QuestionsLarge InnoDb table count slow
Cristian Szabo asked 3 years ago

Hello, I have a table with > 20M records. Record count for pagination is very slow. Would it be possible to use max(id) instead of count. No delete operation was ever performed on the table so this might work in my case. Thank you


1 Answers
Abu answered 3 years ago


Please review this thread:

Long Load times for queries

Your Answer

14 + 12 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?