My 3 cents once more. If you want to hold data in memory then another possibility is to use dynamic array of records. The contents of array you can read from file, and save to file when it is necessary.
[EMAIL PROTECTED] pisze: > > > > Codebase components from http://www.softsand.com/ > <http://www.softsand.com/> > > A complete suite of dBase components that work well under Delphi 5, > including "memory sets" which have "populate" and "reconcile" methods for > transfering to and from disk. > > Seems to me you can also set up a "memory drive" under windows somehow: a > virtual drive that is handled by Windows, resident either in memory or > some swap file. Logically it is a drive, but fort constant disk access it > eliminates the grinding. > > > -----Original Message----- > > From: [email protected] <mailto:delphi-en%40yahoogroups.com> > [mailto:[email protected] <mailto:delphi-en%40yahoogroups.com>] On > > Behalf Of Fred > > Sent: Thursday, May 31, 2007 1:56 PM > > To: [email protected] <mailto:delphi-en%40yahoogroups.com> > > Subject: [delphi-en] Better than dBase (.dbf) > > > > Hi All, > > > > Questions: > > 1. What is the best database to use in the following application? > > 2. Could I put the database in RAM memory so the hard drive won't be > > busy? > > > > Application: > > I build free submarine simulator software for teachers to teach math > > and science to children. They perform scientific and humanitarian > > missions only! > > The database is dBase (.dbf) with 40 records (20k bytes) which hold the > > location, speed, depth, course, ... for each contact (ships, > > submarines, whales, navigarional aids, ...) The master math engine > > (on CPU 1) updates data once every second, and other CPU's (Radar, > > Sonar, Ships, Submarines, Aircraft, ...) read the data once every 2 to 8 > > seconds. I can hear CPU 1 hard drive being very busy. I use Delphi 5 > > and 2006. I suspect there is a better database for my application than > > dBase! > > Any thoughts! > > > > > > > > > > ----------------------------------------------------- > > Home page: http://groups.yahoo.com/group/delphi-en/ > <http://groups.yahoo.com/group/delphi-en/> > > To unsubscribe: [EMAIL PROTECTED] > <mailto:delphi-en-unsubscribe%40yahoogroups.com> > > Yahoo! Groups Links > > > > > > > > > >

