You are here: Re: MySQL database design « PHP Programming Language « IT news, forums, messages
Re: MySQL database design

Posted by The Natural Philosopher on 01/24/08 15:18

Toby A Inkster wrote:
> The Natural Philosopher wrote:
>
>> Then index everything..
>
> If you index *everything* then you slow down INSERTs.

Well you know what I meant. Everything relevant to the search, but a
classified is a classic instance of post one, read many, type
applications. So a small hit in posting is no biug deal.

> It's better to index
> only the columns that you know will benefit from it. (If you find that you
> need more indexes, it's easy enough to add them later.)
>

Oh yes. The beauty of databases.


We had an old informix systyem once we were developing management
reports for. The first report took 11 hours to complete. The second,
rewritten in syntax to do the correct bits FIRST, took 15 minutes.
Adding indices got it down to around 15 seconds IIRC.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация