473,396 Members | 1,738 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,396 software developers and data experts.

huge MDB with very little in it

I've got an MDB (Access 2000 format, using Access 2003 to create and
run) that's just enormous, even though there are"

0 tables,
3 pass-through queries
2 small forms
2 small reports
5 modules of about 10K

The database is an unshrinkable 20MB. Obviously, compact and repair
isn't helping or I wouldn't be here. All I can imagine is that Access
caches some of the data from the pass-through queries? (They are
designed to return just a few rows each, though, so I'm not sure why
that would be.)

Any ideas as to how to shrink this thing down? (I'm deploying via
e-mail, so 20 MB is a bit much, and I'd prefer not to have to do user
education around zips and such if possible.)

Thanks.

g.

Mar 17 '06 #1
15 1717
> I've got an MDB (Access 2000 format, using Access 2003 to create and
run) that's just enormous, even though there are"

0 tables,
3 pass-through queries
2 small forms
2 small reports
5 modules of about 10K
The database is an unshrinkable 20MB. Obviously, compact and repair
isn't helping or I wouldn't be here. All I can imagine is that Access
caches some of the data from the pass-through queries? (They are
designed to return just a few rows each, though, so I'm not sure why
that would be.)

Any ideas as to how to shrink this thing down? (I'm deploying via
e-mail, so 20 MB is a bit much, and I'd prefer not to have to do user
education around zips and such if possible.)


You may try to create a new empty database and then import all objects from
the old database.

--
PBsoft di Gabriele Bertolucci
www.pbsoft.it
skype: pbsoftsolution
Mar 17 '06 #2
In
news:11**********************@j33g2000cwa.googlegr oups.com,
Graham Charles typed:
I've got an MDB (Access 2000 format, using Access 2003 to
create and run) that's just enormous, even though there
are"

0 tables,
3 pass-through queries
2 small forms
2 small reports
5 modules of about 10K

The database is an unshrinkable 20MB. Obviously, compact
and
repair isn't helping or I wouldn't be here. All I can
imagine
is that Access caches some of the data from the
pass-through
queries? (They are designed to return just a few rows
each,
though, so I'm not sure why that would be.)

Any ideas as to how to shrink this thing down? (I'm
deploying
via e-mail, so 20 MB is a bit much, and I'd prefer not to
have
to do user education around zips and such if possible.)

Thanks.

g.


Had a similar problem a long time ago - I can only suggest a
couple of things from memory for you to investigate and
experiment with.

Import all objects into a new application mdb - (this worked
for me once).
Get Jetcomp.exe for Jet 4 from the MSFT site and try it.
Try a \decompile and then recompile - I doubt this will make
any difference but must be worth a try.

References:
Tony Toews page on decompile
http://www.granite.ab.ca/access/decompile.htm

MVPS
http://www.mvps.org/access/bugs/bugs0008.htm

Michka
http://www.trigeminal.com/usenet/usenet004.asp

--
Nick Coe (UK)
http://www.alphacos.co.uk/
AccHelp is now free/donateware

Mar 17 '06 #3
Thanks much to both of you; neither method was successful. Through
experimenting, I found that each of my two "small" reports takes up 8MB
or so. The pass-through query it draws from has extremely wide rows
(200 or so columns of mostly text data), so I'm sticking with my
caching theory.

Cheers,

g.

Mar 17 '06 #4
Per Graham Charles:
Thanks much to both of you; neither method was successful. Through
experimenting, I found that each of my two "small" reports takes up 8MB
or so. The pass-through query it draws from has extremely wide rows
(200 or so columns of mostly text data), so I'm sticking with my
caching theory.


No images on reports or screens, right?
--
PeteCresswell
Mar 17 '06 #5
On 16 Mar 2006 23:11:34 -0800, "Graham Charles" <gr****@aiid.com> wrote:

That is Access's overhead. The amount of overhead is dependent on the version
of Access you are using. Create a new, clean, empty database and check the
size.

Just a wizard proder
Chuck
--
I've got an MDB (Access 2000 format, using Access 2003 to create and
run) that's just enormous, even though there are"

0 tables,
3 pass-through queries
2 small forms
2 small reports
5 modules of about 10K

The database is an unshrinkable 20MB. Obviously, compact and repair
isn't helping or I wouldn't be here. All I can imagine is that Access
caches some of the data from the pass-through queries? (They are
designed to return just a few rows each, though, so I'm not sure why
that would be.)

Any ideas as to how to shrink this thing down? (I'm deploying via
e-mail, so 20 MB is a bit much, and I'd prefer not to have to do user
education around zips and such if possible.)

Thanks.

g.


Mar 17 '06 #6
Do the reports have images?

Mar 17 '06 #7
Graham Charles wrote:
All I can imagine is that Access
caches some of the data from the pass-through queries? (They are
designed to return just a few rows each, though, so I'm not sure why
that would be.)


Never encountered this myself and I use PTQs for Access FEs on an Oracle
DB with millions of records (though of course the PTQs don't return
nearly that many) all the time. Might be different for other back end
database types, though.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Mar 17 '06 #8
Right, nothing. Well, there were, but that was the first thing I
deleted in attempting to suss this out.

Mar 20 '06 #9
Graham Charles wrote:
Right, nothing. Well, there were, but that was the first thing I
deleted in attempting to suss this out.


Ah ha! What about a decompile? I've found in my A2003 apps that the
decompile is almost compulsory, especially if images have been involved.
Does some dramatic things file size wise.

Lyle will suggest the save as text route which he has said here recently
is superior or at least as good as decompile, IIRC.

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Mar 20 '06 #10
"Tim Marshall" wrote
Lyle will suggest the save as text route
which he has said here recently
is superior or at least as good as
decompile, IIRC.


I agree with Lyle on this one. When you Save To Text, it is "decompiled",
and more...

Larry Linson
Mar 20 '06 #11
Well, thanks all, for all your replies. I think it was the pictures
from the reports that were doing it, even though I'd removed them.
(Perhaps some of the embedded data got retained somehow?) Creating a
new database and importing the objects didn't work; the new database
was similarly bloated. What did work was opening the old report in
design mode, selecting all the existing controls and copying them into
a new report, then deleting the original report.

I'm thinking this was a fluke -- position of the moon when I was
deleting the pictures or something -- because I've never experienced
this behavior before and I've been creating Access DBs for over a
decade.

Thanks again,

g.

Mar 20 '06 #12
Per Graham Charles:
What did work was opening the old report in
design mode, selecting all the existing controls and copying them into
a new report, then deleting the original report.


One more tidbit: if somebody just *has* to have an image in a report or on a
screen, one might be tempted to use a JPEG because JPEGs are smaller. But the
opposite seems tb true: JPEGS take up a whole lot more room than Windows .BMPs.
--
PeteCresswell
Mar 21 '06 #13
"(PeteCresswell)" <x@y.Invalid> wrote in
news:6m********************************@4ax.com:
Per Graham Charles:
What did work was opening the old report in
design mode, selecting all the existing controls and copying them
into a new report, then deleting the original report.


One more tidbit: if somebody just *has* to have an image in a
report or on a screen, one might be tempted to use a JPEG because
JPEGs are smaller. But the opposite seems tb true: JPEGS take up
a whole lot more room than Windows .BMPs.


It's not a whole lot more room. Just the size of the bitmap that is
produced from unpacking the JPG plus the original JPG file. If you
use a bitmap, you don't have the overhead of storing the original
JPG.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Mar 21 '06 #14
David W. Fenton wrote:
"(PeteCresswell)" <x@y.Invalid> wrote in
news:6m********************************@4ax.com:
Per Graham Charles:
What did work was opening the old report in
design mode, selecting all the existing controls and copying them
into a new report, then deleting the original report.

One more tidbit: if somebody just *has* to have an image in a
report or on a screen, one might be tempted to use a JPEG because
JPEGs are smaller. But the opposite seems tb true: JPEGS take up
a whole lot more room than Windows .BMPs.


It's not a whole lot more room. Just the size of the bitmap that is
produced from unpacking the JPG plus the original JPG file. If you
use a bitmap, you don't have the overhead of storing the original
JPG.


And, it's especially true if you import a large jpeg and scale it down.
It stores the whole thing, not just the scaled down image.

--
Randy Harris
tech at promail dot com
I'm pretty sure I know everything that I can remember.
Mar 21 '06 #15
Probably exactly what was going on in my case, although I'm not sure
why the data remained after I deleted the picture.

Oh, well. Problem solved, in any case.

g.

Mar 21 '06 #16

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

Similar topics

11
by: Bastiaan Welmers | last post by:
Hi, I wondered if anyone has ever met this same mbox issue. I'm having the following problem: I need find messages in huge mbox files (50MB or more). The following way is (of course?) not...
10
by: Lorn Davies | last post by:
Hi there, I'm a Python newbie hoping for some direction in working with text files that range from 100MB to 1G in size. Basically certain rows, sorted by the first (primary) field maybe second...
53
by: john67 | last post by:
The company I work for is about to embark on developing a commercial application that will cost us tens-of-millions to develop. When all is said and done it will have thousands of business...
1
by: Patrizio | last post by:
Hi All, I've the following table with a PK defined on an IDENTITY column (INSERT_SEQ): CREATE TABLE MYDATA ( MID NUMERIC(19,0) NOT NULL, MYVALUE FLOAT NOT NULL, TIMEKEY ...
3
by: Esger Abbink | last post by:
Hello, it is very possible that this is a well described problem, but I have not been able to find the solution. On two production server (7.2rc2) of ours the data directory is growing to...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
8
by: blaine | last post by:
Hey guys, For my Network Security class we are designing a project that will, among other things, implement a Diffie Hellman secret key exchange. The rest of the class is doing Java, while myself...
16
by: pereges | last post by:
ok so i have written a program in C where I am dealing with huge data(millions and lots of iterations involved) and for some reason the screen tends to freeze and I get no output every time I...
9
by: NvrBst | last post by:
Whats the best way to count the lines? I'm using the following code at the moment: public long GetNumberOfLines(string fileName) { int buffSize = 65536; int streamSize = 65536; long...
3
by: Mohamed Yousef | last post by:
Thanks all , but there is still something i forget to state -sorry - all communication will be via Http with a server so data is received via Http so local network solutions won't work the...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...

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.