Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4532

Clarification on datetime columns in dmv - dm_hadr_database_replica_state AlwaysON.

$
0
0

Hi,

I have alwayson feature on mty server. There is a column is_local indicates whether the database is local to that server.

In last_sent_time and last_received_time values are mentioned for remote database(database on secondary server). How come last_sent_time exists for secondary server database. What does that indicates?

My query is 

select database_id,is_local,last_sent_time,last_received_time,last_hardened_time,
last_commit_time from sys.dm_hadr_database_replica_states where is_commit_participant= 1

Usually last_sent_time should be present for local indicating, when was the last logblock sent. But why its showing for remote database(secondary database).


Mano


Viewing all articles
Browse latest Browse all 4532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>