DB Availability

  • Hi All,

    How to check the db availability without access any tables in the database.

    Are any system tables there to get db availability details?

    Note: DB is running under SQL Server 2000.

    Thanks in Advnace,


    Kindest Regards,

    karthik

  • What do you mean by 'availability'? Precisely what are you looking for?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Is it alive or not?


    Kindest Regards,

    karthik

  • It is not part of the Cluster aware.

    This is stand alone system. We need to check the db alive throught Nagios monitoring tool.

    I need a query to check whether the db is alive or not

    Thanks in advance


    Kindest Regards,

    karthik

  • Use MyDatabase

    GO

    SELECT 1

    If the DB isn't available, that will fail

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply