I'm not sure is splitting would help. There are a couple simple tables
(couple fields, under 20 rows of data) contained in the DB, but that's it.
The rest are linked to an ODBC which I can only link to. I've
compacted/repaired and it didn't shrink the size at all. Also, the file size
is 2,097,144 KB which puts me just under 2 GB. I think creating a new DB and
moving it in sections is going to be my best bet. Moving to and SQL server
would be great, but that's not an immediate solution because that's money on
a new program and training which means more money. So two access DBs will
have to suffice for now. Thanks all.
George Hepworth said:
Honesty is always the best policy, IMO. Followed in close second place by
lucidity.
The OP states that [he] "work
with a database that is at 2 gb". Last time
I did the math, 2 gb was WAAAAYYYYYYYY MOOOOORRRRRE than 25 mb.
So, honestly, can anyone say that Jet can't handle more than 25 mb, given
the facts at hand?
That said, the size of this database IS a legitimate concern and one that
needs to be addressed lucidly. Why? Because Access does have a 2 gb size
limit on files. This one seems to be right there.
Jake:
SO, the clue to answering the question lucidly is to address the part of
your statement where you indicate that you believe VBA is taking up most of
the space. The implies you have a single mdb file in which both the
interface objects (forms, reports, queries, code modules, etc.) and the data
(the tables) are stored. This is generally not a good idea, especially when
you have multiple users in the database.
If that's the case, you should, at a minimum create a split database, moving
the tables to a "back end" mdb and linking to them from the "front end". If
you have not already done so, you should also do a compact and repair on
both front end and back end. Doing so regularly is a good practice.
HTH
George
message
Jet craps out at about 25mb.
I've seen it hundreds of times over the past 15 years-- Jet just
doesn't cut it for any business-- because it's impossible to forecast
(with certainty ) the growth of your data.
If your database is popular (and you use jet) then it runs like crap.
build it nice or build it twice.
Move to SQL Server, kid.
-Aaron
MCITP: DBA SQL 2005
I work with a database that is at 2 gb. I'm wondering if that's getting
too
large or at what point I need to clean it up and break it down. It was
created awhile back and was added to by different people so I don't want
to
remove anything unless necessary. I believe what is taking most of the
space
is the VBA, but that can't be cut down as far as I know. Basically when do
I
need to create a new database or clean this one up? Thanks.