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

Jet database growing and a few questions

Hello,

I have several applications that maintain a Jet database
via ODBC. There are perhaps two dozen tables, ony two of
which have perhaps 10,000 records each. The rest are
rather small. A typical MDB file runs between 1 and 4 MB.
They can be Access 97 or Access 2000 format. The
applications have been around for years. The DAO methods
are used to access the tables. During start up the Jet
interfaces are used to verify the database has the correct
schema and make the appropriate changes. Restarts are
rare. Many systems go for months without a need for
restarting. Most systems get a reboot whenever the Windows
Update cycle is required for critical updates.

Around April this year two customers (of several thousand)
have reported problems with their applications failing.
Upon examination, the database started growing rather quickly
even though the application logs show low activity. One
customers 4MB file grew to 250MB in two months and another
with a 2MB file grew to 1GB. To say the least, I was a bit
amazed. The applications monitor systems for alarms and
typically cause a few dozen add/updates to occur per month.

I've identified a reported problem that matches this
description. The only solution appears to be to close the
applications once in a while, say monthly, and compress and
repair the database. I can handle all that as well as
continue to verify that one of us didn't inadvertantly
cause the problem.

I'd like to know if there is a way to determine when
a Jet database is likely to have a problem. Is there a
way to ask Jet if it is starting to get fragmented or
corrupted? The only thing we can think of at the moment
is to watch the database size and perhaps take action
if the database seems to grow for no reason. As this
is a normal occurance for a freshly compressed database
what might be reasonable thresholds.

If you have seen this type of problem, or read about
it, was the increase in size rapid or did it occur over
a long period of time?

Thanks in advance,

David
Nov 13 '05 #1
2 1612
You should be checking the Jet DLL versions. Sometimes
particular versions of Jet have had bugs that cause this
kind of behaviour.

Also, bloating is associated with shared files. If
you decide that you will use exclusive access, you
should enforce that.

Finally, some bloating was associated with use of record-
level locking, instead of page locking. You may wish to
check which kind of locking is in use at each site.

I'm not aware of any way to check if an MDB is fragmented
or corrupted or bloated, other than to watch the file size,
and check the effect of compacting.

(david)
"David" <Fl************@United.Com> wrote in message
news:rOdGr40LMPU3-pn2-wL1dJi8vEm9y@localhost...
Hello,

I have several applications that maintain a Jet database
via ODBC. There are perhaps two dozen tables, ony two of
which have perhaps 10,000 records each. The rest are
rather small. A typical MDB file runs between 1 and 4 MB.
They can be Access 97 or Access 2000 format. The
applications have been around for years. The DAO methods
are used to access the tables. During start up the Jet
interfaces are used to verify the database has the correct
schema and make the appropriate changes. Restarts are
rare. Many systems go for months without a need for
restarting. Most systems get a reboot whenever the Windows
Update cycle is required for critical updates.

Around April this year two customers (of several thousand)
have reported problems with their applications failing.
Upon examination, the database started growing rather quickly
even though the application logs show low activity. One
customers 4MB file grew to 250MB in two months and another
with a 2MB file grew to 1GB. To say the least, I was a bit
amazed. The applications monitor systems for alarms and
typically cause a few dozen add/updates to occur per month.

I've identified a reported problem that matches this
description. The only solution appears to be to close the
applications once in a while, say monthly, and compress and
repair the database. I can handle all that as well as
continue to verify that one of us didn't inadvertantly
cause the problem.

I'd like to know if there is a way to determine when
a Jet database is likely to have a problem. Is there a
way to ask Jet if it is starting to get fragmented or
corrupted? The only thing we can think of at the moment
is to watch the database size and perhaps take action
if the database seems to grow for no reason. As this
is a normal occurance for a freshly compressed database
what might be reasonable thresholds.

If you have seen this type of problem, or read about
it, was the increase in size rapid or did it occur over
a long period of time?

Thanks in advance,

David

Nov 13 '05 #2
Thank you (david),

I've checked the MSJET40.DLL versions on all systems.
The two systems do have a second client that is attached
via a shared drive. I'll see if I can find out more
about shared files affecting the problem. I hadn't
checked the locking modes of affected systems. There
is a good possibility that the remote client machines
are set up for a different lock mode.

David

On Fri, 17 Dec 2004 05:48:13 UTC, "david epsom dot com dot au"
<david@epsomdotcomdotau> wrote:
You should be checking the Jet DLL versions. Sometimes
particular versions of Jet have had bugs that cause this
kind of behaviour.

Also, bloating is associated with shared files. If
you decide that you will use exclusive access, you
should enforce that.

Finally, some bloating was associated with use of record-
level locking, instead of page locking. You may wish to
check which kind of locking is in use at each site.

I'm not aware of any way to check if an MDB is fragmented
or corrupted or bloated, other than to watch the file size,
and check the effect of compacting.

(david)


Nov 13 '05 #3

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

Similar topics

2
by: trotter | last post by:
I want to know if there is a "best-practice" for setting up Database Maintenance Plans in SQL Server 7 or 2000. To be more specific, I want to know the order in which I complete the tasks. Do I...
10
by: salamol | last post by:
I has a strange question. My company is using a old system with Win NT 4.0 Server + MS SQL 7.0. The system is busy and handle a lot of SELECTs and INSERTs all the time. Sometimes, some...
346
by: rkusenet | last post by:
http://biz.yahoo.com/rc/040526/tech_database_marketshare_1.html Interesting to see that database sales for windows is more than Unix.
68
by: rkusenet | last post by:
http://www.eweek.com/article2/0,1759,1820667,00.asp The database market grew by 10.3 percent in 2004, fueled largely by hunger for business intelligence and analytics, according to numbers...
41
by: Nitin Bhardwaj | last post by:
Hi all, I wanted to know whether the stack in a C program is growing upwards or downwards.So I wrote a little code to see that.Please guide me as to whether this code is correct in telling this...
5
by: Clodoaldo Pinto Neto | last post by:
I suspect there is something wrong because it takes 73s to delete a single line from a table whith 140 lines. So I tried to reindex the database: bash-2.05b$ postgres -P -O -D /var/lib/pgsql/data...
7
by: Kosmos | last post by:
Hey guys, I was hoping someone could give me an idea of where I should look for this..my access database file is rapidly growing....but I have the access database import an excel spreadsheet and...
1
by: Howard Canaway | last post by:
Hello, I help maintain an Access 2000 front end for a rapidly growing business(our back end is Postgresql). As we grow we have concerns over the long term viability of Access 2000 to keep us going...
34
by: raylopez99 | last post by:
What is the state of C#? Somebody in a Linux advocacy newsgroup implied it has saturated (leveled off in growth). Note the 'hard code' pre-Wizards coding wizard Charles Petzold does C# only now....
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.