Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Access DB is growing fast

Posted on 2011-03-20
11
Medium Priority
?
432 Views
Last Modified: 2012-06-21
Hi,

I have an Access database with about 15 users. The backend database is growing fast.
What can I do to prevent this?
Tx
0
Comment
Question by:sonmic
  • 4
  • 3
  • 2
  • +2
11 Comments
 
LVL 40

Expert Comment

by:als315
ID: 35174751
Have your users are added/deleted a lot of data? If you compress backend, is it returned to normal size?
0
 
LVL 2

Expert Comment

by:sihar86
ID: 35174753
I think you have many record too in your table.
What is the table that have sharp growth?
Can you mention how many tables do you have and its usage?
0
 

Author Comment

by:sonmic
ID: 35174800
It's a DB with 38 tables. One of the tables has about 7.000.000 records (5 fields) but this one is not growing, is used only to read. There's also a table with transactions (add and edit) with about 220.000 records. Every year i do an archive.Something i can do a compact and repair DB and then the size is +/-0,5Gb. The problem is that the DB is rarely available, it runs 7 days on 7 and 24 hours on 24.
Tx
0
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
LVL 2

Expert Comment

by:sihar86
ID: 35174828
since you have many record in your table and accesed in periodically.
big size is normal.
Why big size is matter for you?
0
 

Author Comment

by:sonmic
ID: 35174844
Because if the size of the DB the 2GB exceeds, he's not usable.
 
0
 
LVL 2

Accepted Solution

by:
sihar86 earned 1200 total points
ID: 35174862
The possible solution is:
1. Stay in your current database
- try to check structure of your database, if any column that never used and you can delete it.
- repair and compact database more frequently

2. Backup and migrate to other database that support larger file.
There is database that you can use free.
0
 
LVL 28

Assisted Solution

by:burrcm
burrcm earned 800 total points
ID: 35174913
If you don't want to move to SQL server, split your tables into different databases and link to your front end, but SQL server is the appropriate path. 2008 free edition can grow to 10GB.

http://www.microsoft.com/sqlserver/2008/en/us/editions.aspx

Chris B
0
 
LVL 75
ID: 35175894
"The problem is that the DB is rarely available, it runs 7 days on 7 and 24 hours on 24"

I cannot emphasize enough that ... you need to find a way to do a Compact & Repair (and backup) ...Daily!

mx
0
 

Author Comment

by:sonmic
ID: 35175911
Hi DatabaseMX,

I can build a utility that on a certain time send a message to each user to logoff. If they don't logoff i can start a module "LOGOFFDB" with a timer of 10 minutes. If they don't logoff the module will automatically close all the users and do the compact and repair DB .

Tx
0
 
LVL 75
ID: 35175928
In short, that is what I have ... Forced Shutdown ... that applies to approx 25 db's.

It's built around this free tool:

http://www.peterssoftware.com/fsd.htm

Many other cool things on Peter's site also.

The best preventative maintenance you can do on an Access db is C&R.

mx
0
 

Author Comment

by:sonmic
ID: 35175967
Tx
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question