List:General Discussion« Previous MessageNext Message »
From:Robin Keech Date:February 20 2001 4:56pm
Subject:RE: Slow Select count(*) - Second Post
View as plain text  
Thanks for all your help.

This has got the query time down to 5 seconds from 2 minutes!!

Much appreciated everyone.

Robin

-----Original Message-----
From: Tibor Simko [mailto:tibor.simko@stripped]
Sent: 20 February 2001 16:46
To: Robin Keech
Cc: 'mysql@stripped'
Subject: Re: Slow Select count(*) - Second Post


Hello

> Is there any way to re-write SQL to force the optimiser to use a certain
> index?

SELECT foo FROM bar USE INDEX baz WHERE ...

See the manual at <http://www.mysql.com/doc/J/O/JOIN.html>.

cheers
-- 
TS
Thread
Slow Select count(*) - Second PostRobin Keech20 Feb
RE: Slow Select count(*) - Second PostRobin Keech20 Feb
  • RE: Slow Select count(*) - Second PostPatrick FICHE20 Feb
RE: Slow Select count(*) - Second PostRobin Keech20 Feb
  • Re: Slow Select count(*) - Second PostTibor Simko20 Feb
RE: Slow Select count(*) - Second PostRobin Keech20 Feb