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

2 GB size limit fix

Bob
Hi all,

My databases seem to become corrupted as soon as they reach 2GB. Once
it does become corrupted the only fix is to create a new database and
transfer everything into that. I need to avoid that happening and I'm
not sure exactly how to do that. Is there a way that I can check the
size of the database (don't know how) and then remove obselete tables
(know how to) if its over a threshold and then compact and repair the
db (know how to)? Or is there a better way to get around or prevent
it?

Cheers,

Bob

May 18 '07 #1
2 51502
Hi, Bob.
My databases seem to become corrupted as soon as they reach 2GB.
Are you compacting the database files regularly? If they're compacted and
they're still close to 2 GB, you should migrate the data to a larger
capacity database. A stop-gap maneuver would be to move some of the tables
to another MDB file, so as to split up the data into two files that each
have a maximum size of 2 GB. The downside to this is that only tables in
the same file can have referential integrity enforced.
Is there a way that I can check the
size of the database (don't know how)
Yes. It can be checked whenever the database file is opened to determine if
the file surpasses a certain size, and if it is, compact it. If it's still
above a certain size, the VBA procedure can display a message to the user
that the file is near maximum capacity and the user needs to do something
about it. For an example of how to check the file size and automatically
compact the database, please see the tip, "How to compact the current
database automatically when it reaches a certain size," on the following Web
page:

http://www.access.qbuilt.com/html/vba1.htm
Or is there a better way to get around or prevent
it?
Consider migrating the data to a client/server database engine. There are
several free ones from the major database vendors, such as Oracle 10g
Express and SQL Server 2005 Express, which will hold up to 4 GB of data.
Other free ones hold even more. Please see the following Web page for links
to these database engine descriptions to compare their major features and
additional links to each vendor's download page:

http://www.backends.qbuilt.com/

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blogs: www.DataDevilDog.BlogSpot.com, www.DatabaseTips.BlogSpot.com
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.
May 18 '07 #2
On 17 May 2007 19:12:05 -0700, Bob
<sc*******@colonialfirststate.com.auwrote:

Obsolete tables can be removed at any time; you don't have to wait
until your file size is too high.
You can test the size of a file many different ways. Have you tried
the built-in FileLen function?

If you regularly get up to that limit, and have an otherwise good
database design, it may be a good time to invest in SQL Server or
another database with much larger capacity.

-Tom.
>Hi all,

My databases seem to become corrupted as soon as they reach 2GB. Once
it does become corrupted the only fix is to create a new database and
transfer everything into that. I need to avoid that happening and I'm
not sure exactly how to do that. Is there a way that I can check the
size of the database (don't know how) and then remove obselete tables
(know how to) if its over a threshold and then compact and repair the
db (know how to)? Or is there a better way to get around or prevent
it?

Cheers,

Bob
May 18 '07 #3

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

Similar topics

1
by: Gerard Cany | last post by:
I have a problem with a javascript that seems related to the number/size of parameters sent by the form The method for the form is POST (not GET, I know the size limit with GET) The symptom :...
2
by: steve | last post by:
I am setting up a huge database in mysql, and I get the above error in Linux. I believe it is related to the size of one of my tables, which is 4,294,966,772 bytes in size. Can someone help. How...
3
by: Ana | last post by:
I have written some code using transient cookies to send an edited essay from one html page to another. Each paragraph of the essay is saved in separate cookie. If the essay is 4 paragraphs long...
1
by: SpreadPeace | last post by:
I'm hitting the 255 character limit of a text box on a form and was wondering if anyone know how to get around this. Here the scenario.... - Access 2000 front end with Sql Server backend. -...
8
by: Peter Ballard | last post by:
Hi all, I've got a C program which outputs all its data using a statement of the form: putchar(ch, outfile); This has worked fine for years until it had to output more than 2GB of data...
13
by: Sharon | last post by:
I'm using TcpClient and getting the Stream by: TcpClient tcpclnt = new TcpClient(); . . . Stream stm = tcpclnt.GetStream(); Now, when I'm trying to send a big buffer via stm.Write(...) I get an...
27
by: ted benedict | last post by:
hi everybody, i hope this is the right place to discuss this weird behaviour. i am getting dynamically generated text or xml from the server side using xmlhttprequest. if the server side data is...
5
by: Daniel | last post by:
c# string size limit? length of string limit?
1
by: HopfZ | last post by:
Internet Explorer 6 bookmarklets(favlets) has size limit. And its size limit depend on the kind of code. For example, CODE A and CODE B (below) are both at their size limit. CODE A does not work...
9
by: eastcoastguyz | last post by:
I wrote a simple program to continue to create a very large file (on purpose), and even though there is plenty of disk space on that device the program aborted with the error message "File Size...
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: 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: 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:
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.