Is it safe to set a shared database to compact on close?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Compact on close (2003 sp2)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Compact on close (2003 sp2)
- This topic has 5 replies, 3 voices, and was last updated 18 years, 8 months ago.
AuthorTopicWSchuckrau
AskWoody LoungerAugust 25, 2006 at 9:34 am #434838Viewing 0 reply threadsAuthorReplies-
WSHansV
AskWoody LoungerAugust 25, 2006 at 10:04 am #1026097Access will only try to compact the database when the last user exits the database. It can go wrong if users frequently open and close the database: if the last user closes the database and another user opens it immediately afterwards, Access may not be able to compact or to rename the temporary database it creates while compacting. Therefore I don’t set backend databases to compact on close, but I do frequently set frontends to do so (each user has an individual copy of the frontend).
-
WSchuckrau
AskWoody LoungerAugust 25, 2006 at 10:15 am #1026098Although the database is shared, it is not split. I have no say over it, I just get a call to compact it now and then. Each user is in the habit of opening it and leaving it open all day. I knew Access would know if more than one user had it open, but I did not know if Access could prevent it being opened while being compacted. I take it, it cannot.
-
WSHansV
AskWoody LoungerAugust 25, 2006 at 10:26 am #1026100You should urge those who do have a say in it that the database should be split. You can point them to WendellB’s Why Split a Database?
When a database MyDatabase.mdb is compacted, the following happens:
1) Access creates a compacted copy of MyDatabase.mdb under a generic name such as db1.mdb or db2.mdb.
2) It closes MyDatabase.mdb.
3) It deletes MyDatabase.mdb.
4) It renames the compacted database to MyDatabase.mdb.If a user reopens MyDatabase.mdb between step 1 and step 3, Access cannot delete it, so you end up with two copies of the database.
-
WSMarkLiquorman
AskWoody LoungerAugust 25, 2006 at 10:52 am #1026105I just want to add my voice to the chorus to urge you to STRONGLY suggest to the powers that be that the database should be split. More than that, each user should have their own copy of the frontend on their local machine. More than anything else, a shared “all-in-one” database is very susceptible to corruption and to bloating.
-
WSchuckrau
AskWoody Lounger
-
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
14 seconds ago -
Stay connected anywhere
by
Peter Deegan
5 hours, 42 minutes ago -
Copilot, under the table
by
Will Fastie
29 minutes ago -
The Windows experience
by
Will Fastie
2 hours, 29 minutes ago -
A tale of two operating systems
by
Susan Bradley
4 hours, 27 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
7 hours, 49 minutes ago -
Where’s the cache today?
by
Up2you2
23 hours, 9 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
15 hours, 55 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
6 hours, 53 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
23 hours, 50 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
1 day, 16 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
1 day, 16 hours ago -
regarding april update and may update
by
heybengbeng
1 day, 17 hours ago -
MS Passkey
by
pmruzicka
19 hours, 55 minutes ago -
Can’t make Opera my default browser
by
bmeacham
2 days, 1 hour ago -
*Some settings are managed by your organization
by
rlowe44
1 day, 12 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
2 days ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
2 days, 20 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 days, 5 hours ago -
AI slop
by
Susan Bradley
23 hours, 11 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
3 days, 6 hours ago -
Two blank icons
by
CR2
14 hours, 43 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
16 hours, 41 minutes ago -
End of 10
by
Alex5723
3 days, 18 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 days, 16 hours ago -
test post
by
gtd12345
4 days ago -
Privacy and the Real ID
by
Susan Bradley
3 days, 14 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 16 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
4 days, 4 hours ago -
Upgrading from Win 10
by
WSjcgc50
2 days, 16 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.