From: Zundra Daniel Date: 2008-04-02T00:39:22+09:00 Subject: Re: should I use a database or a flat file? ------=_Part_35085_2504459.1207064360695 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Seems like the type of problem yaml thats perfect for yaml On Tue, Apr 1, 2008 at 11:32 AM, James Dinkel wrote: > > > But ultimately it depends on what you want to do with the data. > > yeah, it's kinda hard to describe without just posting my entire script, > which I doubt people will want to read. > > The data will be accessed by one ruby script, running on one computer. > The data will be read in, then the file closed and done for a couple > hours. So no concurrent access, no relations, no keeping the connection > open for extended periods of time, which is why I thought a database > would probably be overkill and just add overhead. > > But I didn't know if maybe reading a file into memory would take more > effort than reading entries from a database. Also, I was a little off > on the numbers, I meant to say that there are hundreds of names per > category, so total names could be over a thousand. That size will > likely never ever change beyond +/- 100 at the most. > > Thanks for the info. I'm really a newb at this, so any thoughts on > storing data using any of these methods is helpful. > > James. > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_35085_2504459.1207064360695--