delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/04/09:31:13

Message-Id: <199911041034.MAA05034@ankara.Foo.COM>
From: "S. M. Halloran" <mitch AT duzen DOT com DOT tr>
Organization: User RFC 822- and 1123-compliant
To: "Sunil V." <sunilv AT accord-soft DOT com>, djgpp AT delorie DOT com
Date: Thu, 4 Nov 1999 12:39:15 +0200
MIME-Version: 1.0
Subject: Re: File formats
In-reply-to: <38212D93.87ED3BEC@accord-soft.com>
X-mailer: Pegasus Mail for Win32 (v3.12)
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019