You are here: Re: speed: file vs. DB « PHP Programming Language « IT news, forums, messages
Re: speed: file vs. DB

Posted by SOR on 07/06/05 04:10

<comp.lang.php , Tony Marston , tony@NOSPAM.demon.co.uk>
<dadlnb$t5j$1$830fa795@news.demon.co.uk>
<Tue, 5 Jul 2005 11:00:10 +0100>

> Writing is not the issue, reading is. If you have a text file containing
> 100,000 records how quickly can you read just one particular record?
> Database tables have keys, so it is very easy to read a record with a
> particular key value. Text files don't have keys, so you cannot go straight
> to a particular record. You have to read serially through the whole file
> until you happen to find the record you want.
>

Not always , As a newish user I done www.sparesorrepair.co.uk using
flatfiles and each advert is saved on its own and called/displayed by
the advert number .

(obviously not saying its the best way to do it)

 

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

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