Article View: borland.public.cppbuilder.database.ado
Article #2756Re: Any way to prevent Access from ballooning?
From: Viatcheslav V. Vassiliev
Date: Mon, 31 Mar 2003 14:33
Date: Mon, 31 Mar 2003 14:33
33 lines
2175 bytes
2175 bytes
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. ---------------------------------------------------------------- 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.hcd9490.pminews@207.105.83.65... > If I insert somewhere around 100,000 records into a 100MB Access database > with about 320,000 records, the database balloons to over 500MB. > > After compacting, it's back down to around 130MB. > > Is there anything one can do to prevent the file from growing so much? > > > -- > - Mike > > Remove 'spambegone.net' and reverse to send e-mail. > >
Technical Details
Message-ID:
<3e892319$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<gunaalqrneguyvaxarg.hcd9490.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-03-31 21:34:16 PST From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <gunaalqrneguyvaxarg.hcd9490.pminews@207.105.83.65> Subject: Re: Any way to prevent Access from ballooning? Date: Mon, 31 Mar 2003 18:33:35 +0400 Lines: 35 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: <3e892319$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049174809 213.247.201.57 (31 Mar 2003 21:26:49 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail