Skip to content

Instance Uptime - Understanding #1083

Answered by DavidWiseman
AGlennDa asked this question in Q&A
Discussion options

You must be logged in to vote

I agree, this can be a little confusing. The reason is because the SQL Server start time is captured as part of the OSInfo collection which runs every 1hr. At the time of the collection, the instance was up for 15min which was 39 minutes ago. The uptime should currently be 54 minutes but it could also have been restarted sometime in the last 39 minutes that we don't know about yet.

This confusion would go away by checking the SQL server start time more frequently at the cost of some extra overhead in running the collection more frequently. The collection is very low overhead so it could be ran more frequently - or maybe just the sqlserver_start_time part of the collection.

If you wanted y…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AGlennDa
Comment options

@DavidWiseman
Comment options

Answer selected by AGlennDa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants