Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old April 9th, 2006, 03:45 PM
DFS
Guest
 
Posts: n/a
Default Sudden tripling in .mdb size?!

Largish system, was 13mb (after de/compile and compact/repair)

It's mostly forms, queries and code. About 40 local tables (with tiny
numbers of records, like 1 to 10)

Recently added a few more TEMP* local tables (no records) and a couple of
screens and a few hundred lines of code

Now it's 44mb after de/compiled and compact/repair!

Another odd thing is a routine that was taking 5 or 6 seconds to run while
building it started completing in 3 seconds. As if the entire routine was
cached.

I don't mind creating a new file and importing everything, but I'd like to
know what caused the blowup. Too strange.

Thanks


  #2  
Old April 9th, 2006, 05:25 PM
PC D
Guest
 
Posts: n/a
Default Re: Sudden tripling in .mdb size?!

Temp local tables are notorious database bloaters. Adding and deleting
records in temp tables will make your database file quickly grow. Put your
temp tables in a separate external database and link to the tables. Make a
copy of the database and save it. Each time you need to delete records and
add new records, delete the temp database file, make a new file from your
copy and then populate the tables.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
Over 1175 users have come to me from the newsgroups requesting help
resource@pcdatasheet.com



"DFS" <nospam@dfs_.com> wrote in message
news:fU8_f.4041$Za3.474@bignews7.bellsouth.net...[color=blue]
> Largish system, was 13mb (after de/compile and compact/repair)
>
> It's mostly forms, queries and code. About 40 local tables (with tiny
> numbers of records, like 1 to 10)
>
> Recently added a few more TEMP* local tables (no records) and a couple of
> screens and a few hundred lines of code
>
> Now it's 44mb after de/compiled and compact/repair!
>
> Another odd thing is a routine that was taking 5 or 6 seconds to run while
> building it started completing in 3 seconds. As if the entire routine was
> cached.
>
> I don't mind creating a new file and importing everything, but I'd like to
> know what caused the blowup. Too strange.
>
> Thanks
>
>[/color]


  #3  
Old April 9th, 2006, 05:55 PM
Please Stop Advertising
Guest
 
Posts: n/a
Default Re: Sudden tripling in .mdb size?!

PC D wrote:[color=blue]
> Temp local tables are notorious database bloaters. Adding and deleting
> records in temp tables will make your database file quickly grow. Put your
> temp tables in a separate external database and link to the tables. Make a
> copy of the database and save it. Each time you need to delete records and
> add new records, delete the temp database file, make a new file from your
> copy and then populate the tables.
>[/color]


--
To anyone reading this thread:

It is commonly accepted that these newsgroups are for free
exchange of information. Please be aware that PC Datasheet
is a notorious job hunter. If you are considering doing
business with him then I suggest that you take a look at
the link below first.

http://home.tiscali.nl/arracom/whoissteve.html

Randy Harris
  #4  
Old April 10th, 2006, 03:27 AM
DFS
Guest
 
Posts: n/a
Default Re: Sudden tripling in .mdb size?!

PC D wrote:[color=blue]
> Temp local tables are notorious database bloaters. Adding and deleting
> records in temp tables will make your database file quickly grow.[/color]

I know, but until now deleting the records and compact/repair has always
shrunk it down to normal. All of a sudden it won't.

Why?


[color=blue]
> Put your temp tables in a separate external
> database and link to the tables.[/color]

I've done that on several other systems. Might have to try it here, too.


Thanks



[color=blue]
> Make a copy of the database and save it. Each time you need
> to delete records and add new records, delete the temp database file,
> make a new file from your copy and then populate the tables.[/color]



[color=blue]
> "DFS" <nospam@dfs_.com> wrote in message
> news:fU8_f.4041$Za3.474@bignews7.bellsouth.net...[color=green]
>> Largish system, was 13mb (after de/compile and compact/repair)
>>
>> It's mostly forms, queries and code. About 40 local tables (with
>> tiny numbers of records, like 1 to 10)
>>
>> Recently added a few more TEMP* local tables (no records) and a
>> couple of screens and a few hundred lines of code
>>
>> Now it's 44mb after de/compiled and compact/repair!
>>
>> Another odd thing is a routine that was taking 5 or 6 seconds to run
>> while building it started completing in 3 seconds. As if the entire
>> routine was cached.
>>
>> I don't mind creating a new file and importing everything, but I'd
>> like to know what caused the blowup. Too strange.
>>
>> Thanks[/color][/color]


 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles