473,385 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Sudden tripling in .mdb size?!

DFS
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
Apr 9 '06 #1
3 1380
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
re******@pcdatasheet.com

"DFS" <nospam@dfs_.com> wrote in message
news:fU****************@bignews7.bellsouth.net...
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

Apr 9 '06 #2
PC D wrote:
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.

--
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
Apr 9 '06 #3
DFS
PC D wrote:
Temp local tables are notorious database bloaters. Adding and deleting
records in temp tables will make your database file quickly grow.
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?
Put your temp tables in a separate external
database and link to the tables.
I've done that on several other systems. Might have to try it here, too.
Thanks

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.
"DFS" <nospam@dfs_.com> wrote in message
news:fU****************@bignews7.bellsouth.net...
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

Apr 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tony Short | last post by:
Has anyone seen inexplicable sudden rises in the number of sessions open? About 2-3 times a day, the session count (on perfmon) jumps by about 50, and this may happen repeatedly over a short space...
2
by: Frances Del Rio | last post by:
please, can you go to http://www.francesdelrio.com/dhtml/ when you click the name of the character the font color for all the lines of that character should change.. this is a simple DHTML...
9
by: Patrick | last post by:
I have an ASP.NET page that searches for someone in the corporate Active Directory. It had been working fine until recently when I changed from Basic Authentication on IIS6 back to Integrated...
1
by: Henrik | last post by:
I have a problem with processor load in the enviroment where I'm running the firts installation of my new application. My program is running on a Pentium 4 3.0 GHz, wtih 1 GB DDR SDRAM and 80 GB...
2
by: skishorev | last post by:
Hi, In sudden power off, How to backup means in which format(files, streams) & when to backup in C++. Thanks, SAI
11
by: skishorev | last post by:
Hi, In sudden power off, How to backup means in which format(files, streams) & when to backup in C. Thanks, SAI
5
by: PW | last post by:
Hi, All of a sudden, some clients of our Access 2003 software are getting Asian lettering in some text boxes, combo boxes, etc.... We have done nothing to it. Any ideas?
0
by: =?Utf-8?B?am9uZWZlcg==?= | last post by:
I have a simple Login page that suddenly is producing this error. What is perplexing is that I didn't touch this page or anything (that I can think of that is related) All I did was make another...
1
by: rajayan | last post by:
Jochen Kalmbach wrote: Thank you for your reply. Yes we do. Could you please elaborate. Are you referring to the CString::AllocBuffer related hangs or sudden crashes --
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.