Results 1 to 2 of 2

Thread: Basic questions

  1. #1
    Join Date
    Jun 2016
    Posts
    1

    Answered: Basic questions

    Hi All,
    I am newbie in Database Management and i have some basic questions in the recent test, please help to answer:
    1. List at least 3 methods/ tools that you use for performance tuning a query/database:
    My answer is Oracle sql developer, MS SQL server 2012, and MySQL WorkBench.
    2. What method do you use for troubleshooting database deadlock?
    Don't know the answer

    Please check my answer and give feedbacks
    Thank you

    Tan Huynh

  2. Best Answer
    Posted by Thrasymachus

    "1. within SQL server? execution plans, dynamic management views, and in SQL Sever 2016, the Query Store I guess.
    2. I go to the extended events default trace and get the deadlock report. I identify the 2 or pieces of code causing the deadlock and I fix the code."


  3. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,832
    Provided Answers: 6
    1. within SQL server? execution plans, dynamic management views, and in SQL Sever 2016, the Query Store I guess.
    2. I go to the extended events default trace and get the deadlock report. I identify the 2 or pieces of code causing the deadlock and I fix the code.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •