Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 19th, 2004, 08:03 AM
CEVisker CEVisker is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 52 CEVisker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to CEVisker Send a message via Yahoo to CEVisker
Autonumber, Compacting, & Space Used

I have just a few general questions. Should one set there database to compact on close? What are the pros and cons? I read that by compacting the database, this will reset the autonumber after you delete your test data. Does this also affect the autonumber for records that are still in there? If later, I delete a bunch of records that are no longer needed, by setting it to compact on close, will this remove that used space taken by the deleted records, thus helping keep the database under the 2GB limit?

Would appreciate any opinions on this.

Thank You,

Chad

Reply With Quote
  #2  
Old March 19th, 2004, 11:43 AM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 13
Quote:
Should one set there database to compact on close? What are the pros and cons?


Yes and No

Yes -- if you are making a lot of programming changes and I would only use this when in the development stage. It is programming that really grows a DB (more then data changes). I have Data DBs that only grow by more the 10% over there compacted size (over a 6 month time frame) and they are heavily edited and some the grow really fast (it depends on how data is added and removed from you system).

No-- if you are in a multi-user enviroment. This will cause problems if you are using the same DB


Quote:
I read that by compacting the database, this will reset the autonumber after you delete your test data. Does this also affect the autonumber for records that are still in there?


NO



Quote:
If later, I delete a bunch of records that are no longer needed, by setting it to compact on close, will this remove that used space taken by the deleted records, thus helping keep the database under the 2GB limit?


Yes


But if you splt your DB (like it is recommended) and you get a Data DB that gets to 2 Gig, I would not use Access any more ( you will see speed issues at that size)

Compacting as really subjective (on when to do it) Once you get your DB in to live production use. Monitor is and see what happens. Just because you can do something, doesn't mean you should. You may find that you DB only needs compacted once every 1-3 months, or needs compacted every week. But they typically don't need it every time you close, unless space is very tight on your system

S-


S-

Reply With Quote
  #3  
Old March 19th, 2004, 02:03 PM
CEVisker CEVisker is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 52 CEVisker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to CEVisker Send a message via Yahoo to CEVisker
Thanks for the reply sbaxter. So, when I split the db, it is ok to compact the backend once in awhile?

Thanks,

Chad

Reply With Quote
  #4  
Old March 19th, 2004, 03:45 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 13
yes when no one is using it.

If you have already added a switchboard mananger, make sure that after you split your DB that you move the table "Switchboard" from the BE to the FE

S_

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Autonumber, Compacting, & Space Used


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT