|  | Posted by Tony Marston on 06/14/10 11:20 
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.
 
 If you know so little about databases then what makes you think your little
 project will be of use to anyone?
 
 --
 Tony Marston
 
 http://www.tonymarston.net
 
 
 
 "Olaf Noehring" <olaf0000@team-noehring.de(0000=year)> wrote in message
 news:Xns968A7008FBAADteamnoehring@195.14.215.228...
 > Hi
 >
 > I am the administrator of TSEP - The Search Engine Project
 > (www.tsep.info).
 > We developer are unclear about the speed of two different methods:
 > Is it faster to
 > a) write to a file
 > or
 > b) update a record in a database
 >
 > Olaf
 >
 > --
 > http://www.team-noehring.de
  Navigation: [Reply to this message] |