Resource Governer

  • Comments posted to this topic are about the item Resource Governer

  • Are we sure about that answer?

    http://msdn.microsoft.com/en-us/library/bb934013.aspx States:

    " Disabling Resource Governor has the following results:

    All existing workload group and resource pool settings are reset to their default values.

    "

    The default values for those counters is 0. I checked on several servers and all have Resource Governor disabled and all show 0's in those columns.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • Here is the link that has the info on the default values for those fields.

    http://msdn.microsoft.com/en-us/library/bb934197.aspx

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • Chose second option and found it to be wrong

    M&M

  • CirquedeSQLeil (3/2/2011)


    Are we sure about that answer?

    http://msdn.microsoft.com/en-us/library/bb934013.aspx States:

    " Disabling Resource Governor has the following results:

    All existing workload group and resource pool settings are reset to their default values.

    "

    The default values for those counters is 0. I checked on several servers and all have Resource Governor disabled and all show 0's in those columns.

    Hi,

    the quote refers to settings, not statistics.

    I can confirm that with my R2 Install, the statistics are not reset when disabling resource governor.

    You can reset them with ALTER RESOURCE GOVERNOR RESET STATISTICS though.

    Best Regards,

    Chris BΓΌttner

  • Great question, thanks.

    I could deduce the correct answer since I ran the query on my development machine.

    Not all results were zero and the columns aren't nullable, so there were two options left.

    I have never had resource governer enabled, so I chose the 3rd option, which was the correct one.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Koen Verbeeck (3/2/2011)


    Great question, thanks.

    I could deduce the correct answer since I ran the query on my development machine.

    Not all results were zero and the columns aren't nullable, so there were two options left.

    I have never had resource governer enabled, so I chose the 3rd option, which was the correct one.

    exactly what I did πŸ™‚

  • grahamc (3/2/2011)


    Koen Verbeeck (3/2/2011)


    Great question, thanks.

    I could deduce the correct answer since I ran the query on my development machine.

    Not all results were zero and the columns aren't nullable, so there were two options left.

    I have never had resource governer enabled, so I chose the 3rd option, which was the correct one.

    exactly what I did πŸ™‚

    Exactly what I nearly did. Except I didn't know if it had been enabled or not, so chose the second option. Oops.

    Nice question though.

  • This was removed by the editor as SPAM

  • Koen Verbeeck (3/2/2011)


    Great question, thanks.

    I could deduce the correct answer since I ran the query on my development machine.

    Not all results were zero and the columns aren't nullable, so there were two options left.

    I have never had resource governer enabled, so I chose the 3rd option, which was the correct one.

    It was only looking for the results of those two columns though - not all results. The default for those two columns is 0.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • Christian Buettner-167247 (3/2/2011)


    CirquedeSQLeil (3/2/2011)


    Are we sure about that answer?

    http://msdn.microsoft.com/en-us/library/bb934013.aspx States:

    " Disabling Resource Governor has the following results:

    All existing workload group and resource pool settings are reset to their default values.

    "

    The default values for those counters is 0. I checked on several servers and all have Resource Governor disabled and all show 0's in those columns.

    Hi,

    the quote refers to settings, not statistics.

    I can confirm that with my R2 Install, the statistics are not reset when disabling resource governor.

    You can reset them with ALTER RESOURCE GOVERNOR RESET STATISTICS though.

    Interesting because it doesn't say statistics it refers specifically to the view mentioned in this question as well.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • CirquedeSQLeil (3/2/2011)


    Here is the link that has the info on the default values for those fields.

    http://msdn.microsoft.com/en-us/library/bb934197.aspx

    That was the link that led me to the right answer.

    It told me the two columns mentioned in the question values are not NULLABLE, and always show the value recorded by the system since the last reset.

    It also mentioned they are not configurable.

    I am certain this is why the two rows in this view have values on my QA 2008 R2 server becuase resource governor has always been disabled on this system.

    😎

  • Thanks for the good question.

    It actualy made me read the documentation on this view and learn something about Resource Governer, how it works, and what the system runs for it disabled or not. :kiss:

    Worth 2 points any day.

  • SanDroid (3/2/2011)


    CirquedeSQLeil (3/2/2011)


    Here is the link that has the info on the default values for those fields.

    http://msdn.microsoft.com/en-us/library/bb934197.aspx

    That was the link that led me to the right answer.

    It told me the two columns mentioned in the question values are not NULLABLE, and always show the value recorded by the system since the last reset.

    It also mentioned they are not configurable.

    I am certain this is why the two rows in this view have values on my QA 2008 R2 server becuase resource governor has always been disabled on this system.

    😎

    I read that bit too but considered that statement to be if the system had resource governor enabled. And since those fields default to 0, and resource governor being disabled resets those fields to their default values - I interpreted the question that to equate to Always 0. However, I am leery of any answer that has "Always" in it. I just don't think this question is as straight forward or unambiguous as some may think.

    What were the values in your columns (mentioned in the question)?

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • CirquedeSQLeil (3/2/2011)


    SanDroid (3/2/2011)


    CirquedeSQLeil (3/2/2011)


    Here is the link that has the info on the default values for those fields.

    http://msdn.microsoft.com/en-us/library/bb934197.aspx

    That was the link that led me to the right answer.

    It told me the two columns mentioned in the question values are not NULLABLE, and always show the value recorded by the system since the last reset.

    It also mentioned they are not configurable.

    I am certain this is why the two rows in this view have values on my QA 2008 R2 server becuase resource governor has always been disabled on this system.

    😎

    I read that bit too but considered that statement to be if the system had resource governor enabled. And since those fields default to 0, and resource governor being disabled resets those fields to their default values - I interpreted the question that to equate to Always 0. However, I am leery of any answer that has "Always" in it. I just don't think this question is as straight forward or unambiguous as some may think.

    What were the values in your columns (mentioned in the question)?

    I've got 0's for the internal group and 38036 and 90888 for the default group. I can enable and disable resource governer as much as I like and the values don't change.

    If I then run ALTER RESOURCE GOVERNOR RESET STATISTICS, the values return to 0.

Viewing 15 posts - 1 through 15 (of 18 total)

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