File Size Limit in Access 2003 on WinXP Pro?

J

Joe Blow

I've been told that there is a limit to the size of an .mdb file in Access
2003 on Win XP Pro.
I get an error message "Invalid argument" when the file reaches 1.99GB.

Is this is true, does the same limitation apply to Access 2007 ?

If not, I can upgrade my Office to 2007...

TIA!


-Joe
 
G

Guest

Hi Joe,

Yes, there is a 2 gig file limit in A2003... If you have compact/repaired
your data file and it is still 2 gig, you really should consider moving to
SQL Server. Once your data file is this size I don't believe you should be
persevering with Access for the back end.

Hope this helps.

Damian.
 
J

Joe Blow

The odd thing, is that the data that I am importing is nowhere near 2 Gig.
My work-around was to create a select query which I export to a delimited
text file (.csv)
Then I import the csv into a table. It works out to be around 400mb-500mb.
Not even remotely close to 2 Gig.
I imagine there are temporary processes going on that are engorging the .mdb
to 1.99GB.

I am attaching to a SQL Server (with read-only access) to gather this data,
but the network is extremely slow.
So I pull a local copy of the table and run my queries off of that.
The time it takes to pull a local copy is nothing compared to the slowness
of the network communication querying the SQL tables...

Would creating a front-end, back-end scenario be any better?
Would the temp data be computed on the front-end and only the results stored
to the back-end?

Any advise would be appreciated.

-Joe
 
G

Guest

If you are using SQL server as the backend, you should use the power of SQL
Server and use stored procedures etc to process and return information for
you.

Without seeing your specific setup and what you are trying to achieve, I
can't provide any more specific advice.

D.
 
A

Albert D. Kallal

Would creating a front-end, back-end scenario be any better?
Would the temp data be computed on the front-end and only the results
stored to the back-end?

Any advise would be appreciated.

-Joe

No, a split database will not really help. However, creating temp mdb for
some data manipulation, and then throwing it away can certainly help.

I assume that if you start with a fresh compacted database, and import you
wind up with about 400 megs. The next question would be what kind of data
manipulation are you doing to the data?

Often, a few simply changes in how you modify the data can make dramatic
reductions in the file "growth" size. For example, you might be modifying
only one field. If you add data to that field, then the whole record can not
"fit" were it currently is located, so ms-access makes a copy of that record
to the new spot. If on the other hand, during importing you can pad that
field, and then when you run your code to "modify" that field, the record
can still fit in its current location..and volia..no bloating of the file
after you process your data.

It really comes down to avoiding deleting records (which don't recover used
space until you compact), avoiding temp tables (unless you place them
outside in a linked mdb that you throw away when done), and also avoid
expanding record sizes beyond what current space they take up...

So, there is a number of "general" development and programming practices
that we can, and do adopt to reduce this bloat problem....
 
T

Todos Menos [MSFT]

what about indexes

400mb of data + 600mb of indexes = _1gb_ limit on a single table.
RIGHT?

RIGHT?

I would reccomend using Access Data Projects; I just don't understand
I could have sworn most people would have hit this limit at _1gb_
right?

1gb per table, 2gb per file?

ADP has no limits; lose the training wheels-- of course everything is
faster in SQL Server; you just need to know how to write SQL

-Todos
 
T

Tony Toews [MVP]

A a r o n K e m p f wrote:

Note that this person is really A a r o n K e m p f and that he is not an employee
of Microsoft.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
T

Todos Menos [MSFT]

using ADP you don't have to worry about a TempDB-- SQL Server handles
all the mess for you

-Todos
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top