How to control blocks and performance on SQL?

AdministratorAdministrator Posts: 2,254Member, Moderator, Administrator
edited 2010-11-29 in How Tos section
How to control blocks and performance on SQL?

http://www.mibuso.com/howtoinfo.asp?FileID=19

Discuss this How To here.

Comments

  • johannajohanna Posts: 367Member
    Hi,

    Thank you for this useful tool.
    I have download this tool, but when I click button Show Active Sessions, it result error :
    This program must be run from from 60150:"SQL Session Performance"

    How to solve this error so I can open the Show Active Sessions ?
    Thank you.
    Best regards,

    Johanna
  • krikikriki Posts: 7,915Member, Moderator
    The form you run must be started from form 60150. It is not a form you can run in itself.
    Regards,Alain Krikilion
    Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title! || Read Forum Rules before making a posting

  • johannajohanna Posts: 367Member
    Hi Kriki,

    Thank you for your reply. I have run form 60150 then clicked the button "Show Active Sessions" and got the error result "This program must be run from form 60150:SQL Session Performance".. How to solve this error? Thank you.
    Best regards,

    Johanna
  • krikikriki Posts: 7,915Member, Moderator
    First you need to put "Log Active Sessions" to true.

    This logs in a temptable the records where a session uses too much resources (see the fields on the form). If no logs are made, you get that error.

    To have some logs easily, do this:
    "Log Active Sessions"=true
    "Log only blocks"=false
    "Beep on heavy *"=1

    Open another session (if no other session is working) and do something in there.

    After some moments, you will be able to open the form and see some records.
    Regards,Alain Krikilion
    Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title! || Read Forum Rules before making a posting

  • johannajohanna Posts: 367Member
    Hi Kriki,

    I have tried your directions and it has worked. Now I can access "Show Active Sessions" from SQL Server Performance. Thank you so much. :thumbsup:
    Best regards,

    Johanna
Sign In or Register to comment.