Article View: borland.public.cppbuilder.database.multi-tier
Article #767Re: Very slow database
From: Mark Vejvoda
Date: Wed, 29 Nov 2000 00:00
Date: Wed, 29 Nov 2000 00:00
26 lines
1452 bytes
1452 bytes
Try doing it all in once transaction: StartTransaction... import the file, then Commit. "Martin Pennings" <anolis@wish.net> wrote in message news:3a240af5_2@dnews... > Hello! > > I've made an application that reads in a huge text file. This textfile > contains information which I put into a flat-file database. > I use the Paradox 7 driver for this. > The textfiles that have to be read are 670Kb, this converts to about 3700 > records. > The first lets say 1000 records are read and converted very fast, the other > 2700 records take about 30 minutes! > To speed things up, I deleted all indexes, and I putted the proces in a > thread. This had no effect. > Does anyone know how I can speed up this proces? > I think the problem is that every time a new record is inserted, the > application runs through the entire database. What can I do about this?? > Thanks in advance! > > Martin > > >
Technical Details
Message-ID:
<903ha9$jcd8@bornews.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3a240af5_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,d6f3644109147f18 X-Google-Attributes: gidfcd2b,public From: "Mark Vejvoda" <mvejvoda@soft-haus.com> Subject: Re: Very slow database Date: 2000/11/29 Message-ID: <903ha9$jcd8@bornews.inprise.com> X-Deja-AN: 699198257 References: <3a240af5_2@dnews> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.cppbuilder.database.multi-tier