List Info

Thread: Re: Better than dBase (.dbf)




Re: Better than dBase (.dbf)
country flaguser name
United States
2007-06-01 09:23:12

For a small number or records like that, I would
suggest as someone else did: create an object, then
load it 40 times into an object list on program load.
Using a database for 40 records is way overkill.

Dave
--- Duży Królik < duzykrolik%40tlen.pl">duzykroliktlen.pl&gt; wrote:

> CodeBase is very nice & flexible, but also
>; commercial.
> Maybe a good idea is to migrate to SQLite
&gt; (http://www.sqlite.org/) and
> use database located in memory?
>
>
> steward%40manscat.com">stewardmanscat.com pisze:
&gt; >
>; >
>; >
>; > 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.
&gt; >
>; > 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: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com
&gt; <mailto:delphi-en%40yahoogroups.com>;
> > [mailto: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com
&gt; <mailto:delphi-en%40yahoogroups.com>;] On
> > > Behalf Of Fred
>; > > Sent: Thursday, May 31, 2007 1:56 PM
> > > To: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com
&gt; <mailto:delphi-en%40yahoogroups.com>;
> > > Subject: [delphi-en] Better than dBase (.dbf)
&gt; > >
>; > > 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?
&gt; > >
>; > > Application:
> > > I build free submarine simulator software for
> teachers to teach math
>; > > and science to children. They perform scientific
> and humanitarian
> > > missions only!
&gt; > > 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
&gt; > > (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!
&gt; > > Any thoughts!
> > >
>; > >
>; > >
>; > >
>; > >
>;
-----------------------------------------------------
&gt; > > Home page:
&gt; http://groups.yahoo.com/group/delphi-en/
> > <http://groups.yahoo.com/group/delphi-en/>
>; > > To unsubscribe:
> delphi-en-unsubscribe%40yahoogroups.com">delphi-en-unsubscribeyahoogroups.com
> > <mailto:delphi-en-unsubscribe%40yahoogroups.com&gt;
> > > Yahoo! Groups Links
&gt; > >
>; > >
>; > >
>; > >
>; >
>; >
>
>
>
>

__________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&amp;sid=396545433

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )