all groups > sql server replication > january 2007 >
You're in the

sql server replication

group:

Warehousing 101


Warehousing 101 Joseph
1/13/2007 6:02:59 AM
sql server replication:
I would like to build my warehouse with replicated data...I would like
to report the last time a particular location merged.

What is the best way to programatically determine the last time a
location replicated successfully?

I'm sure there are tables that contain the agents and their statuses,
so that's a possibility.

I'm playing with the idea of trying to attach a step or job to each
Merge agent to populate a User table containing last replication
attempts, in DTS fashion.

TIA!
Re: Warehousing 101 Hilary Cotter
1/14/2007 7:08:14 AM
I would strongly not recommend merge replication for a data warehouse as it
doesn't offer good performance, and is designed for bi-directional
replication. You should IMHO use transactional replication for this.

To get an idea of the last time a job ran or a sync/merge happened look at
the MSmerge_history table in the distribution database.

--
Hilary Cotter

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com



[quoted text, click to view]

Re: Warehousing 101 Joseph
1/14/2007 9:22:56 AM
Thank you for the information, and your recommendation, Hilary...I am
under some constraints that do not allow me to use
transactional...mainly, we're using the desktop version of MSSQL2k at
the locations.

The 'warehouse' is merely another instance of the database containing
all of the locations data, updated daily. It does indeed have poor
performance, taking 4 1/2 hours to populate.

Thanks again!
Joseph

[quoted text, click to view]
Re: Warehousing 101 Hilary Cotter
1/14/2007 10:08:47 PM
I think if you were to use transactional you would get much better
performance. But this would require you to upgrade your SKU.

--
Hilary Cotter

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com



[quoted text, click to view]

AddThis Social Bookmark Button