Welcome Guest, Not a member yet? Register   Sign In
Quick Table Stats?
#2

[eluser]Pascal Kriete[/eluser]
What was the query you ran before counting the results? If you're grabbing everything from the table and then counting it, it will definitely be slow.
I think what you're looking for a the count_all and count_all_results functions, which are documented on the active record page.


Messages In This Thread
Quick Table Stats? - by El Forum - 10-22-2008, 01:43 PM
Quick Table Stats? - by El Forum - 10-22-2008, 02:01 PM
Quick Table Stats? - by El Forum - 10-22-2008, 02:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB