473,503 Members | 544 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How often to automatically compact & repair a replicated database

For those of you that have replicated databases, how often to you
compact and repair them?

Also what mathod do you use if you do this on an automated way?

How do you make sure that the automated process is successful and if
not, what process of notification is used?

Bob
Aug 7 '08 #1
4 2725
Bob Alston <bo********@yahoo.comwrote in
news:X7*****************@newsfe03.iad:
For those of you that have replicated databases, how often to you
compact and repair them?
As often as you'd compact and repair and non-replicated MDB.
Also what mathod do you use if you do this on an automated way?
A scheduled VBScript on a server? FMS Agent?
How do you make sure that the automated process is successful and
if not, what process of notification is used?
Something like FMS Agent takes care of all that for you, but it's
expensive, of course.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Aug 8 '08 #2
What you really need to understand is that C & R is one of those paradoxes
that seem to permeate Access. A function that one would think is, at least
partially, meant to decrease the chance of corruption, actually is a frequent
cause of corruption! Because of this, C&R should never be done until a backup
copy of the db has been made.

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000/2003

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200808/1

Aug 9 '08 #3
"Linq Adams via AccessMonster.com" <u28780@uwewrote:
>What you really need to understand is that C & R is one of those paradoxes
that seem to permeate Access. A function that one would think is, at least
partially, meant to decrease the chance of corruption, actually is a frequent
cause of corruption!
I disagree. I suspect compact and repair is bringing previous corruption to your
attention.
>Because of this, C&R should never be done until a backup
copy of the db has been made.
Absolutely agreed.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Aug 10 '08 #4

"Linq Adams via AccessMonster.com" <u28780@uwewrote in message
news:88635c4d96834@uwe...
What you really need to understand is that C & R is one of those paradoxes
that seem to permeate Access. A function that one would think is, at least
partially, meant to decrease the chance of corruption, actually is a
frequent
cause of corruption! Because of this, C&R should never be done until a
backup
copy of the db has been made.
It's an interesting thing. I have used Access daily since I got my first
copy of V. 1.0 early in January of 1993, and I have never experienced
corruption due to Compact and/or Repair. Compact and Repair, unless you go
out of your way to force it to overwrite, reads the existing database and
creates a new one, AFAIK.

Given this and that I never had a corruption, I (almost) never make a backup
before compacting, but use the Compact-from database as my backup. On the
other hand, I backup usually every hour or so of development, so for the
databases I most work with, I have plenty of backup copies lying around.
Now, if the next time I do C&R, it corrupts the Compact-from database,
you'll hear my screams all the way to wherever you are!

Larry Linson
Microsoft Office Access MVP
Aug 12 '08 #5

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

Similar topics

3
5557
by: Paolo | last post by:
Hi, I am trying to compact and repair my database, however every time I try it comes up a message saying: Table: "TempMSysAccessObject already exists", whenever I try to look for this table I...
4
2062
by: Wayne | last post by:
Does "Compact On Close" do a "Compact and Repair" or just a compact. Is a compact necessary (or at least a good idea) on a regular basis, say weekly, for a database that has several hundred records...
5
17630
by: Lauren Wilson | last post by:
Hi folks, Somewhere, I recently saw an article header titled: "How to compact and Repair a back-end Access db from the front-end using VBA" or words to that effect. Now that I need it, I...
6
3053
by: GaryDave | last post by:
My school registration database has not been quite right after a recent compact and repair (done while I was away). Though most of the many forms and subforms are working normally, one form in...
2
2771
by: Ron | last post by:
Hi All, Using WinXP pro/Access 2000. I have a database that's been used for about 5 months. Transferred lots of data from a dos based program, then the users have been using it for that 5...
9
3980
by: Ron | last post by:
New discovery. If I take a perfectly good database, and "compact/repair" on it with Access 2000 (seems to be at multiple sites--I've tried it with my system here, at another office on an...
3
2192
by: Bizmark | last post by:
Access2003, Windows XP Pro OEM user OS, Windows Sever 2000 server OS. Not-so-recently I inherited 3 Access DB's from another company merging with our own. Our own system works off of SQL...
4
3158
by: zufie | last post by:
When I Repair/Compact my Access databse. I get icons/copies of a database named db1.mdb, db2.mdb, db3.mdb, etc... How else may I repair this database? Thanks!, Zuf
9
3302
by: Timmy! | last post by:
A2003 on Win XP Pro. A number of very stable apps I have are lately sometimes crashes when I do a compact & repair, especially when I hold the shift key to do so. When this starts happening,...
0
7087
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
7281
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,...
0
7334
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...
1
6993
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7462
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5579
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
383
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.