all groups > sql server replication > december 2004 >
You're in the

sql server replication

group:

which tables have history of transactions and commands



which tables have history of transactions and commands Hassan
12/28/2004 12:13:51 PM
sql server replication: When i refresh the publication in EM, and look at all my subscriptions.. I
see the last action column changing..i.e from

100 transaction(s) with 100 command(s) were delivered to
45 transaction(s) with 50 command(s) were delivered and so on..

Is all this information stored someplace that I can query with a date
time...

Also if i wanted to increase the time all the history information is
retained in these tables , where can I do it ?

Re: which tables have history of transactions and commands Hilary Cotter
12/28/2004 4:03:52 PM
select * from MSdistribution_history

However you will have to change your distribution agents to run with the
HistoryVerboseLevel setting of 2 otherwise this information will be
overwritten.

There is a performance price to pay for this.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
[quoted text, click to view]

Re: which tables have history of transactions and commands Hassan
12/28/2004 4:27:31 PM
Correct.. I have seen this table but it only had the last transaction in
there.. So setting historyverboselevel to 2 will log all that ? And for how
long will the information be stored ?

[quoted text, click to view]

Re: which tables have history of transactions and commands Paul Ibison
12/28/2004 9:12:39 PM
Hassan,
have a look at the tables ending in 'History' eg MSSnapshot_history,
MSDistribution_history, MSLogreader_history.
The History Retention Period is found by right-clicking the replication
monitor and selecting distributor properties.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)

Re: which tables have history of transactions and commands Hilary Cotter
12/28/2004 10:15:56 PM
That's correct. By default, I believe the history will be retained for 3
days.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
[quoted text, click to view]

AddThis Social Bookmark Button