Article View: borland.public.cppbuilder.database.ado
Article #2764Re: Any way to prevent Access from ballooning?
From: Viatcheslav V. Vassiliev
Date: Wed, 02 Apr 2003 11:37
Date: Wed, 02 Apr 2003 11:37
40 lines
2590 bytes
2590 bytes
I found that if table has no indexes it can be filled without ballooning. If table has index it seems that Access recalculate it every time new row is inserted. ---------------------------------------------------------------- Regards, Viatcheslav V. Vassiliev http://www.oledbdirect.com The fastest way to access MS SQL Server, MS Jet (MS Access) and Interbase (through OLEDB) databases. "Mike Ruskai" <spamten.knilhtrae@begonedynnaht.net> ???????/???????? ? ???????? ?????????: news:gunaalqrneguyvaxarg.hcop2v0.pminews@207.105.83.65... > On Mon, 31 Mar 2003 18:33:35 +0400, Viatcheslav V. Vassiliev wrote: > > >You may try use ADO Recordset object without TCustomADODataSet wrapper. Get > >it with Recordset property of TADODataSet, TADOQuery, TADOTable etc. Use > >AddNew method and pass field names and values as parameters to this method, > >do not call Update method. Use server-side cursor. > > > >Note that if database initially (before inserts) has empty space (for > >example, some thousand rows was deleted before) this space will not be > >reused. > > I'm already doing the import exactly like you describe, except that I have > been calling Update(). > > Starting with a 100MB file (320,000 records) that was just compacted, an > import of about 93,000 records results in a 500MB+ file. > > > -- > - Mike > > Remove 'spambegone.net' and reverse to send e-mail. > >
Technical Details
Message-ID:
<3e8acbae@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!rip!news.webusenet.com!news.stupi.se!news.stupi.se!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<gunaalqrneguyvaxarg.hcd9490.pminews@207.105.83.65> <3e892319$1@newsgroups.borland.com> <gunaalqrneguyvaxarg.hcop2v0.pminews@207.105.83.65>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,2e489a5b415e0003 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-04-02 03:40:21 PST From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <gunaalqrneguyvaxarg.hcd9490.pminews@207.105.83.65> <3e892319$1@newsgroups.borland.com> <gunaalqrneguyvaxarg.hcop2v0.pminews@207.105.83.65> Subject: Re: Any way to prevent Access from ballooning? Date: Wed, 2 Apr 2003 15:37:55 +0400 Lines: 42 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 213.247.201.57 Message-ID: <3e8acbae@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049283502 213.247.201.57 (2 Apr 2003 03:38:22 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!rip!news.webusenet.com!news.stupi.se!news.stupi.se!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail