Re: problems counting the number of returned rows

2004-09-08 Thread JVanV8
Hi Guys, I'm having the same problem with SQL_CALC_FOUND_ROWS Any query involving SQL_CALC_FOUND_ROWS takes ages!! All my tables are normalized, indexed, and optimized and the query uses the indices correctly. Many people responded to my previous thread (when I though it was a fulltext issue onl

Re: problems counting the number of returned rows

2004-09-07 Thread Arthur Radulescu
he manual first if > it's a live system) > > Andy > > > -Original Message- > > From: Arthur Radulescu [mailto:[EMAIL PROTECTED] > > Sent: 07 September 2004 15:03 > > To: Andy Eastham; Mysql List > > Subject: Re: problems counting the number

RE: problems counting the number of returned rows

2004-09-07 Thread Andy Eastham
age- > From: Arthur Radulescu [mailto:[EMAIL PROTECTED] > Sent: 07 September 2004 15:03 > To: Andy Eastham; Mysql List > Subject: Re: problems counting the number of returned rows > > Thanks for the tip! It is much faster now... > But it still takes about 3 seconds which makes

Re: problems counting the number of returned rows

2004-09-07 Thread Arthur Radulescu
Thanks for the tip! It is much faster now... But it still takes about 3 seconds which makes about the same thing like using count() so this still does not solves the problem Regards, Arthur > Arthur, > > Is it faster if you do: > select SQL_CALC_FOUND_ROWS category use index(category) from boo

RE: problems counting the number of returned rows

2004-09-07 Thread Andy Eastham
Arthur, Is it faster if you do: select SQL_CALC_FOUND_ROWS category use index(category) from books where category=1 limit 0,10 ie change "*" to "category" (which can be read from the index)? Andy > -Original Message- > From: Arthur Radulescu [mailto:[EMAIL PROTECTED] > Sent: 07 Septemb