-
select count(*) as aggregate from it slows down our application a lot, cpu is > 100% all the time, we have many tables with 1-3M records... what can we do? |
Beta Was this translation helpful? Give feedback.
Answered by
crynobone
May 10, 2021
Replies: 1 comment 2 replies
-
I would suggest looking at indexing, Kai Sassnowski made a good talk at Laracon covering this subject. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
crynobone
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would suggest looking at indexing, Kai Sassnowski made a good talk at Laracon covering this subject.
https://www.youtube.com/watch?v=HubezKbFL7E