SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Urgent Questions about Replication and Partition table


Urgent Questions about Replication and Partition table

Author
Message
peppercrab-724149
peppercrab-724149
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 6
Question1:
I have 3 database on a same server. And databaseA and databaseB both have a table call
T1 and the structures are same.
Now I want to replicate databaseA.T1+databaseB.T1 in DatabaseC . I heard in SQLServer2005, there is an option call merge replication , Can anyone give me a hint?

Question2:
I used to work with partition table in Oracle . In SQLserver2005, how do we realize partition table ? I mean a table stored in 2 partition , and when the SQL inquiry one partition , the performance is getting better .
peppercrab-724149
peppercrab-724149
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 6
DTS is a kind of available option?
Chandrachurh Ghosh
Chandrachurh Ghosh
Right there with Babe
Right there with Babe (791 reputation)Right there with Babe (791 reputation)Right there with Babe (791 reputation)Right there with Babe (791 reputation)Right there with Babe (791 reputation)Right there with Babe (791 reputation)Right there with Babe (791 reputation)Right there with Babe (791 reputation)

Group: General Forum Members
Points: 791 Visits: 331
Answer to Q1:
Merged replication is somewhat different to what you presume. The Merged replication allows to update the Primary server from the secondary when any change occurs in it. It has nothing to do with merging databases.

You can implement your plan, using DTS in SQL 2000 or SQL Server Integration Service from SQL 2005 onwards. Note that you can schedule the transfer as easily as in a replication.

Hint: You can have triggers, which keep track of inserted, updated or deleted data in a table for the duration post execution of the job upto the time of execution. In the job, you can just insert the inserted, update the updated, and delete the deleted. You can also have a separate table to log the changes happened and the changes applied.

Hope this helps.

Chandrachurh Ghosh
DBA – MS SQL Server
Ericsson India Global Services Limited
Quality is not an act, it is a habit.
free_mascot
free_mascot
SSCertifiable
SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)

Group: General Forum Members
Points: 7271 Visits: 2250
If you would like to resolve your issue with Replication here is the solution:

Use Transactional replication to replicate data from
A.T1 to C.TA
B.T1 to C.TB

Create View T1 combining C.TA & C.TB.

For Partition refer following site:
http://msdn2.microsoft.com/en-us/library/ms345146.aspx#sql2k5parti_topic23

Hope this will help. Good Luck!

---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search