Sinisa writes:
> Osus writes:
> > ...
> > Hi,
> > SELECT * FROM table WHERE OK=1
> > it gets about 4 or 5 second at least.
> > I have indexes. That main table have 27 indexes to supply all
> > possible searches.
...
> Having 27 indexes and using queries with LIKE "%...%" is a nice
> recepee for slowness.
Why should having 27 indexes slow down a SELECT?
/ Carsten
--
Carsten H. Pedersen
keeper and maintainer of the bitbybit.dk MySQL FAQ
http://www.bitbybit.dk/mysqlfaq
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php