473,652 Members | 3,070 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQL Replication Question

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


Jul 23 '05 #1
4 1484
I don't know about the replication part of your question, but why not
simply add a composite primary key on the three columns? If that's what
your data model looks like, then the key should be there, or at least a
UNIQUE constraint, if you need to use an artificial key for some
reason.

For replication issues, you might get a better response in
microsoft.publi c.sqlserver.rep lication

Simon

Jul 23 '05 #2
Adding a primary key would be the best, but it is not an option.

The table volumes are huge and I was hoping that SQL Server replication
would manage all the uniqueness of the tables to be replicated. I was
reading that there may be away to do this type of replication.

"Simon Hayes" <sq*@hayes.ch > wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com...
I don't know about the replication part of your question, but why not
simply add a composite primary key on the three columns? If that's what
your data model looks like, then the key should be there, or at least a
UNIQUE constraint, if you need to use an artificial key for some
reason.

For replication issues, you might get a better response in
microsoft.publi c.sqlserver.rep lication

Simon

Jul 23 '05 #3
microsoft.publi c.sqlserver.rep lication appears to not have any posts in the
newsgroup.

"Simon Hayes" <sq*@hayes.ch > wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com...
I don't know about the replication part of your question, but why not
simply add a composite primary key on the three columns? If that's what
your data model looks like, then the key should be there, or at least a
UNIQUE constraint, if you need to use an artificial key for some
reason.

For replication issues, you might get a better response in
microsoft.publi c.sqlserver.rep lication

Simon

Jul 23 '05 #4
SQLNow (yo******@insig htbb.com) writes:
Adding a primary key would be the best, but it is not an option.

The table volumes are huge and I was hoping that SQL Server replication
would manage all the uniqueness of the tables to be replicated. I was
reading that there may be away to do this type of replication.
I don't know how their uniqueness is stated today, but I assume that
the index is created as unique?

It's possible that replication gets by with unique index, but I
would not be surprised if a PK or UNIQUE constraint is required.
microsoft.publi c.sqlserver.rep lication appears to not have any posts in
the newsgroup.


It may be that your local newsserver does not carry this group for some
reason. I just checked msnews.microsof t.com, and there were several
posts from today.

--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 23 '05 #5

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

Similar topics

1
5462
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
1716
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: ...
1
1828
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
1953
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
3922
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
1877
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...
5
1593
by: ken | last post by:
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...
2
4233
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
1589
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
8279
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
8811
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...
1
8467
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6160
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
5619
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4145
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...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1591
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.