Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Urgently need a T-SQL query which can give all the performance monitoring information like database size, database physical path etc, log size, log path, spaced used, space free, number of connections, number of logins, number of deadlocks with its queries etc etc of a single database in SQL Server 2008 R2

share|improve this question

closed as primarily opinion-based by Marian, Paul White, billinkc, bluefeet, RolandoMySQLDBA Oct 27 '13 at 0:12

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

Go for

Note: You have asked a lot in just one question. Though, if you have performance issues, then I would recommend you to start with the Glenn's DMV queries or Brent's sp_AskBrent.

If you want to find if your server and databases are configured properly and if they might have performance concerns or might be misconfigured (away from standard best practices), Brent's sp_BLITZ and SQL Power Doc will do a really nice job.

share|improve this answer
    
+ sp_whoisactive –  swasheck Oct 25 '13 at 22:02
    
@swasheck Good one. Forgot to add it. Now added. –  Kin Oct 25 '13 at 22:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.