473,799 Members | 3,098 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

replication question

ken
Hi,
I set up replication with a Frontend/Backend database set up. I noticed
that when I sync the master with the replica in the same folder where I
set up the replication, everything works fine and when I test for
conflicts I get what I expect. However if I change the folder to say
Copy of Folder when I sync the master automatically wins all conflicts
without asking me, for all tables except 1. I find this very unusual.
Are there limitations to where I can store master/replica databases?

Thanks

Dec 6 '06 #1
5 1602
"ken" <ge****@gmail.c omwrote in
news:11******** **************@ 79g2000cws.goog legroups.com:
I set up replication with a Frontend/Backend database set up. I
noticed that when I sync the master with the replica in the same
folder where I set up the replication, everything works fine and
when I test for conflicts I get what I expect. However if I change
the folder to say Copy of Folder when I sync the master
automatically wins all conflicts without asking me, for all tables
except 1. I find this very unusual. Are there limitations to where
I can store master/replica databases?
Well, I don't know what you mean by "change the folder to say Copy
of Folder" but if you're changing the folder name, then you've just
created a "dead replica." Here's a lengthy explanation of what a
"dead replica" is (all on one line):

http://groups.google.com/group/comp..../msg/9f5a84194
fa6c653

One replica can win all conflicts if it has a higher replica
priority. A Design Master has a priority of 100. Every replica has a
priority 90% of its parent replica, so replicas created directly
from the DM have a priority of 90, replicas created from one of
those replicas would have a priority of 81. In resolving conflicts,
all other things being equal, the replica with the higher priority
wins.

I don't like this kind of automatic conflict resolution myself, so
the way to insure that it doesn't happen is to make sure that all
the replicas being edited have exactly the same priority. I believe
the priority can be changed after creation of the replica, but I'm
not certain about that. Hmm, no, I guess you can't (JRO provides the
property but says it's read-only).

Copying or renaming a replica does *not* change its priority.

Another point: you should *never* use the Design Master of your
replica set for regular editing. It is important that you put it in
a safe place and synch with it only often enough to keep it from
expiring (the default retention period is 1000 days), but you
shouldn't use it for anything except making schema changes. If you
create a new replica as your production editing replica, it will
have the same replica priority as your other replicas, so your
problem ought to be solved.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Dec 6 '06 #2
ken
Hi,
Thanks for the reply.
Here is what I did...I have a design master and a replica in a folder
called "Folder" I entered data so that there would be conflicts in
certain tables. Then I did a Ctrl-C Ctrl-V on the folder containing the
databases. Thus I got "Copy of Folder". That's what windows does when
it makes a copy of something and the user wants to put it in the same
place as what is being copied. Finally my result was when I Sync in
the "Copy of Folder" folder Access does not generate all the conflict
tables and thus I can't see all of the conflicts that I expected to
see. However when I sync in the original "Folder" folder, where I
entered the data and created teh replica from the Design master,
everything is ok. I get all my conflicts.

That's what puzzles me.

Regarding the design master...I didn't know you shouldn't enter data
into it....? Now that I know rather having the Design Master and
Replica setup...I might have Design Master(100) Replica1(90) and
Replica2(80). I need one of the used database replicas to have a higher
priority number. The current policy is that Replica1 should always win
conflicts.

Thanks
David W. Fenton wrote:
"ken" <ge****@gmail.c omwrote in
news:11******** **************@ 79g2000cws.goog legroups.com:
I set up replication with a Frontend/Backend database set up. I
noticed that when I sync the master with the replica in the same
folder where I set up the replication, everything works fine and
when I test for conflicts I get what I expect. However if I change
the folder to say Copy of Folder when I sync the master
automatically wins all conflicts without asking me, for all tables
except 1. I find this very unusual. Are there limitations to where
I can store master/replica databases?

Well, I don't know what you mean by "change the folder to say Copy
of Folder" but if you're changing the folder name, then you've just
created a "dead replica." Here's a lengthy explanation of what a
"dead replica" is (all on one line):

http://groups.google.com/group/comp..../msg/9f5a84194
fa6c653

One replica can win all conflicts if it has a higher replica
priority. A Design Master has a priority of 100. Every replica has a
priority 90% of its parent replica, so replicas created directly
from the DM have a priority of 90, replicas created from one of
those replicas would have a priority of 81. In resolving conflicts,
all other things being equal, the replica with the higher priority
wins.

I don't like this kind of automatic conflict resolution myself, so
the way to insure that it doesn't happen is to make sure that all
the replicas being edited have exactly the same priority. I believe
the priority can be changed after creation of the replica, but I'm
not certain about that. Hmm, no, I guess you can't (JRO provides the
property but says it's read-only).

Copying or renaming a replica does *not* change its priority.

Another point: you should *never* use the Design Master of your
replica set for regular editing. It is important that you put it in
a safe place and synch with it only often enough to keep it from
expiring (the default retention period is 1000 days), but you
shouldn't use it for anything except making schema changes. If you
create a new replica as your production editing replica, it will
have the same replica priority as your other replicas, so your
problem ought to be solved.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Dec 7 '06 #3
ken
David,
I read your link you sent me...
Things make a little more sense now. I need to have a design master,
and 2 replicas. Replica1 will have a higher priority then Replica2.
Replica1 will be on the local server. Replica2 will be on a remote
server. You mentioned that the Master needs to be synced only once a
month. My question is could Replica1 and Replica2 be synched more then
once a month? I need for them to be updated at least once a
week....very rarely more often then that? Then once a month I can
resync the master with the replicas...

What is Jet Synchronizer and where do I get it?

Thanks
ken wrote:
Hi,
Thanks for the reply.
Here is what I did...I have a design master and a replica in a folder
called "Folder" I entered data so that there would be conflicts in
certain tables. Then I did a Ctrl-C Ctrl-V on the folder containing the
databases. Thus I got "Copy of Folder". That's what windows does when
it makes a copy of something and the user wants to put it in the same
place as what is being copied. Finally my result was when I Sync in
the "Copy of Folder" folder Access does not generate all the conflict
tables and thus I can't see all of the conflicts that I expected to
see. However when I sync in the original "Folder" folder, where I
entered the data and created teh replica from the Design master,
everything is ok. I get all my conflicts.

That's what puzzles me.

Regarding the design master...I didn't know you shouldn't enter data
into it....? Now that I know rather having the Design Master and
Replica setup...I might have Design Master(100) Replica1(90) and
Replica2(80). I need one of the used database replicas to have a higher
priority number. The current policy is that Replica1 should always win
conflicts.

Thanks
David W. Fenton wrote:
"ken" <ge****@gmail.c omwrote in
news:11******** **************@ 79g2000cws.goog legroups.com:
I set up replication with a Frontend/Backend database set up. I
noticed that when I sync the master with the replica in the same
folder where I set up the replication, everything works fine and
when I test for conflicts I get what I expect. However if I change
the folder to say Copy of Folder when I sync the master
automatically wins all conflicts without asking me, for all tables
except 1. I find this very unusual. Are there limitations to where
I can store master/replica databases?
Well, I don't know what you mean by "change the folder to say Copy
of Folder" but if you're changing the folder name, then you've just
created a "dead replica." Here's a lengthy explanation of what a
"dead replica" is (all on one line):

http://groups.google.com/group/comp..../msg/9f5a84194
fa6c653

One replica can win all conflicts if it has a higher replica
priority. A Design Master has a priority of 100. Every replica has a
priority 90% of its parent replica, so replicas created directly
from the DM have a priority of 90, replicas created from one of
those replicas would have a priority of 81. In resolving conflicts,
all other things being equal, the replica with the higher priority
wins.

I don't like this kind of automatic conflict resolution myself, so
the way to insure that it doesn't happen is to make sure that all
the replicas being edited have exactly the same priority. I believe
the priority can be changed after creation of the replica, but I'm
not certain about that. Hmm, no, I guess you can't (JRO provides the
property but says it's read-only).

Copying or renaming a replica does *not* change its priority.

Another point: you should *never* use the Design Master of your
replica set for regular editing. It is important that you put it in
a safe place and synch with it only often enough to keep it from
expiring (the default retention period is 1000 days), but you
shouldn't use it for anything except making schema changes. If you
create a new replica as your production editing replica, it will
have the same replica priority as your other replicas, so your
problem ought to be solved.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Dec 7 '06 #4
"ken" <gg****@gmail.c omwrote in
news:11******** *************@j 44g2000cwa.goog legroups.com:
Here is what I did...I have a design master and a replica in a
folder called "Folder" I entered data so that there would be
conflicts in certain tables. Then I did a Ctrl-C Ctrl-V on the
folder containing the databases. Thus I got "Copy of Folder".
That's what windows does when it makes a copy of something and the
user wants to put it in the same place as what is being copied.
Finally my result was when I Sync in the "Copy of Folder" folder
Access does not generate all the conflict tables and thus I can't
see all of the conflicts that I expected to see. However when I
sync in the original "Folder" folder, where I entered the data and
created teh replica from the Design master, everything is ok. I
get all my conflicts.

That's what puzzles me.
What, exactly, are you trying to test? When you do that, you end up
with two entirely new ReplicaIDs, and the conflicts are no longer
reported, because you're no longer synching the two replicas that
the conflict data was entered in.

If you created your copy first, then edited to create the conflict,
then synched, you'd see behavior identical to the original replicas.

But I don't quite understand why you're doing this, as it's not a
test that has anything at all to do with the way any actual
replication topology should be set up or actually used.
Regarding the design master...I didn't know you shouldn't enter
data into it....? Now that I know rather having the Design Master
and Replica setup...I might have Design Master(100) Replica1(90)
and Replica2(80). I need one of the used database replicas to have
a higher priority number. The current policy is that Replica1
should always win conflicts.
That should work, then. However, you still have to understand that
when a conflict is reported, it has already been resolved -- all the
conflict report is telling is "hey! I resolved a conflict, but you
may want to check that I did it correctly!" When you run the
built-in conflict resolver, all you're doing is confirming that Jet
resolved the conflicts correctly. You could programmaticall y examine
the conflict tables and make the same determination, and delete the
conflict records that were correctly resolved. That would leave the
ones that were resolved wrong, and then you could have someone
examine those to see why the replica with higher priority did not
win (it would probably have to be a case of multiple updates, I
think -- it's theoretically possible, but oughtn't be common).

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Dec 7 '06 #5
"ken" <gg****@gmail.c omwrote in
news:11******** **************@ j44g2000cwa.goo glegroups.com:
Things make a little more sense now. I need to have a design
master, and 2 replicas. Replica1 will have a higher priority then
Replica2. Replica1 will be on the local server. Replica2 will be
on a remote server. You mentioned that the Master needs to be
synced only once a month.
Er, well, the DM needs to be synched often enough that it doesn't
expire. I use once a month as a time period that is well within the
default retention period of 1000 days, but you could do it less
often and not have problems, as long as you do it more often than
once every 3 years or so.
My question is could Replica1 and Replica2 be synched more then
once a month? I need for them to be updated at least once a
week....very rarely more often then that? Then once a month I can
resync the master with the replicas...
You synch between your replicas as often as you need. That might be
once a month, once a week or once every hour.
What is Jet Synchronizer and where do I get it?
First off, you need to read all the Jet replication documents. A
list of all of them can be found under "Resources for learning about
Jet Replication" at:

http://www.dfenton.com/DFA/Replicati....php/Main_Page

The MS documentation assumes you're going to have the Office
Development toolkit (whichever one is appropriate for your version
of Access) and that you'll be using Replication Manager. But the
2003 version of the development tools (Visual Studio) stupidly
doesn't include Replication Manager and the Jet synchronizer. I
explain how to get the Jet synchronizer and how to set it up in this
post (all on one line):

http://groups.google.com/group/micro...replication/ms
g/3b7167c1462b2d2 f

Indirect replication is complicated to learn and set up, but is
extremely efficient and safe once you have it working.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Dec 7 '06 #6

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

Similar topics

1
5478
by: Craig HB | last post by:
I have a distributed inventory control database that I am going to migrate from Access to SQL Server. I am going to use SQL Server Replication to keep the data current. There will one SQL Server 2000 database at HeadOffice, and about 200 branches will each have MSDE 2000. For tables that are the same for each branch (e.g. StockItems, Suppliers), I'm going to use Transactional replication with the HeadOffice as Publisher. There is no...
3
1723
by: Louis Frolio | last post by:
Greetings All, I was hoping that a replication sage might be able to answer a question for me. I want to have one subscriber subscribing to N publishers. I essentially have a company that has a main headquarters and three satellite offices. I want each of the satellite offices to push their data up to the master database. From what I have read it seems like this should not be a problem. Some questions that come to mind are: ...
4
1492
by: SQLNow | last post by:
If I have two tables that I want to synchronize via replication publish subscriber model and they don't contain primary keys i.e. an ID field, but there are three columns that make a unique key. The tables are HUGE so I want to minimize down time. Can replication still be done, either snapshot, transactional, or merge? Again I don't want to create any more columns in the tables because of the record volume. Thanks
1
1835
by: Andrew Chanter | last post by:
I developed 3 different replicated database applications in MS Access for 3 different corporate clients in Access 97 several years ago to enable data to be shared across wide area networks. I observed 2 issues that plagued all 3 systems. 1. the database files continually became corrupt during synchronization. Most times this was easily fixed via a repair and compact, but the frequency with which this occurred was of concern, and...
8
1966
by: Rick | last post by:
I'm running an Access2000 front end mde linked to an Access2000 back end mdb. I need to set up replication and synchronization of only the data tables between the master db on the pc and replicas on numerous laptops. I know that it can be done using the Access replication manager (although without a simple UI in the front end mde), but the question is: If I link the FE to MSDE rather to Access, can I 1.) provide a more
9
3936
by: David W. Fenton | last post by:
See: Updated version of the Microsoft Jet 4.0 Service Pack 8 replication files is available in the Download Center http://support.microsoft.com/?scid=kb;en-us;321076 This includes the Jet 4 synchronizer. This allows anyone to do indirect replication, even without
6
1886
by: Alex | last post by:
Hello, We are currently running our Access 2003 database over Citrix. We have been using a single front-end, but reading over topics in this group has made it clear that I should create separate front-ends for each user...so I will do so...thanks to this group for the great research. My question: on occasions, staff have to access the database and they will not have a network connection. I am considering setting up replication...
2
4261
by: Query Builder | last post by:
Hi, I have transactional replication set up on on of our MS SQL 2000 (SP4) Std Edition database server Because of an unfortunate scenario, I had to restore one of the publication databases. I scripted the replication module and dropped the publication first. Then did a full restore. When I try to set up the replication thru the script, it created the
2
1593
by: zgb | last post by:
Hi, I'm using MS SQL server 2005. I have two identical databases - with one exception: they have different names (etc database1 and databse2), but their structure is completely same. Is it possible to replicate one table between those databases? Regards
0
9687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9541
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10484
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10251
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10027
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9072
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7565
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5463
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4141
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.