Mail Archives: djgpp/1999/11/04/09:31:13
On 4 Nov 99, Sunil V. was found to have commented thusly:
> Hello,
> I am writing a C application which stores lot of records in files.
> These files are frequently searched for some records. Now, i want to is
> there any format by which the storage and searching of records in a file
> be made efficient. I want to know, where I can get information on this.
> Books, URLs etc. etc.
>
> Thanx in advance,
> Sunil
There is a great deal of freely available software to create and maintain
databases already. You can use a simple one like ndbm (GNU has something
derived from it called gdbm) or you might want something more
sophisticated if multiple users are going to access (r/w) records
simultaneously (something that knows about transactions, record locking,
recovery, etc.), in which case you should get Berkeley DB from Sleepycat
Software. There are plenty of books out there on the theory of creating
and managing databases.
Mitch Halloran
Research (Bio)chemist
Duzen Laboratories Group
Ankara TURKEY
- Raw text -