473,387 Members | 3,750 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.

Frequency of compressing/repair replicated databases

I have a system built using Access replication. After some initial
problems dealing with memo fields, it now seems to be working well.

I am curious as to how frequently others Compress & Repair replicated
databases?

Bob
Oct 7 '08 #1
3 2582
Bob Alston <bo********@yahoo.comwrote in
news:Hr****************@newsfe08.iad:
I have a system built using Access replication. After some
initial problems dealing with memo fields, it now seems to be
working well.

I am curious as to how frequently others Compress & Repair
replicated databases?
First off, is your app split, with your data tables in one MDB that
is replicated, and all your forms/reports/etc. in a separate MDB
that is *not* replicated? If not, that's much more important to fix
than worrying about how often you compact.

Compacting a replicated database is a bit more dangerous than
compacting non-replicated databases. This is because certain minor
corruptions that are easily repaired by a compact in a
non-replicated database cause a replicated MDB to lose replicability
(which means it can't synch with the other members of its replica
set any longer). Unfortunately, there's no way to tell if you have
this kind of problem -- it is only revealed after the fact, when
replicability is lost.

Thus, I'd recommend regular maintenance compacts on a replicated
back end at a lower frequency than on a non-replicated back end. If
you're compacting your non-replicated MDB every day, I'd recommend
every week for a replicated MDB. Keep in mind that the other
replicas in teh replica set function as backups, so you're not in as
much danger of data loss as you are with a single non-replicated
MDB. And if you implement a replica farm, you can have very good
coverage in terms of recovery from the loss of any single replica.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Oct 8 '08 #2
David W. Fenton wrote:
Bob Alston <bo********@yahoo.comwrote in
news:Hr****************@newsfe08.iad:
>I have a system built using Access replication. After some
initial problems dealing with memo fields, it now seems to be
working well.

I am curious as to how frequently others Compress & Repair
replicated databases?

First off, is your app split, with your data tables in one MDB that
is replicated, and all your forms/reports/etc. in a separate MDB
that is *not* replicated? If not, that's much more important to fix
than worrying about how often you compact.

Compacting a replicated database is a bit more dangerous than
compacting non-replicated databases. This is because certain minor
corruptions that are easily repaired by a compact in a
non-replicated database cause a replicated MDB to lose replicability
(which means it can't synch with the other members of its replica
set any longer). Unfortunately, there's no way to tell if you have
this kind of problem -- it is only revealed after the fact, when
replicability is lost.

Thus, I'd recommend regular maintenance compacts on a replicated
back end at a lower frequency than on a non-replicated back end. If
you're compacting your non-replicated MDB every day, I'd recommend
every week for a replicated MDB. Keep in mind that the other
replicas in teh replica set function as backups, so you're not in as
much danger of data loss as you are with a single non-replicated
MDB. And if you implement a replica farm, you can have very good
coverage in terms of recovery from the loss of any single replica.
Thanks for the suggestions. Yes I do have a separated FE and BE. Of
course I only replicate the BE.

Recently I compressed and repaired the three sets of replicas in farms
on each of three servers. It reduced their size considerably.

I am concerned about the replicas on the laptops where I have no
schedule for compress and repair.

I trhink I recall once hearing about someone creating a second replica
on a laptop as a backup. I wonder if that would be something to do just
before doing the compress/repair in case I lost ability to replicate.
YOur thoughts?

Bob
Oct 8 '08 #3
Bob Alston <bo********@yahoo.comwrote in
news:V%**************@newsfe04.iad:
I am concerned about the replicas on the laptops where I have no
schedule for compress and repair.
Chances are good that this is not going to matter a lot.
I trhink I recall once hearing about someone creating a second
replica on a laptop as a backup. I wonder if that would be
something to do just before doing the compress/repair in case I
lost ability to replicate. YOur thoughts?
Most of my replicated apps do a synch with a backup replica upon
closing as a matter of course.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Oct 9 '08 #4

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

Similar topics

0
by: Yuancai \(Charlie\) Ye | last post by:
Hi, All: I am happy to annouce that we have formally released our latest SocketPro version 4 at www.udaparts.com, an advanced remoting framework written from batching/queue, asynchrony and...
4
by: Andy Davis | last post by:
Is it possible to create a button with code to carry out the a weekly compact and repair of database and backup? My users know how to do this from the menu but would really like some kind process...
11
by: ritenah | last post by:
I am running this command from a .bat file. "C:\pathToAccess\MSACCESS.EXE" "C:\pathToDatabase\db.mdb" /REPAIR Database repairs as expected, then shows the messge: "Successfully repaired the...
2
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...
1
by: aine_canby | last post by:
Hi, My company has an old access database which has been in use for many years now by a few employees. I need to make some design changes to one of the forms, but I'm not sure how I should go...
1
by: garrettm | last post by:
I've got 2 SQL server 2000 machined synched up using replication and there are full text catalogs running on 2 of the tables. the tables have the same number of records (as they're replicated) and...
3
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
by: Bob Alston | last post by:
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...
2
by: Eric L | last post by:
A client has a split database. However, the frontend is replicated. Since both frontend databases(replicated + DM)are both on same network drive, we would like to remove the replication of the...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...

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.