Forum Replies Created

Viewing 15 posts - 31 through 45 (of 278 total)

  • RE: Top Wait stats

    Hi Ananda

    As for what will happen when you clear stats - the numbers in the DMV are cummulative over time, and clearing them would start values at zero again (wait...

  • RE: CXPACKET/Parallelism question

    Awesome info, Paul - thanks for that.

    Time to write an article (or ten), maybe...? 🙂

    Well, I managed to reproduce the error on our test system with MAXDOP = 1.

    Looks like...

  • RE: Copy - Paste data from SQL Server to Excel

    Sorry, I can't think of anything else to suggest without being able to see what you're seeing.

  • RE: Copy - Paste data from SQL Server to Excel

    Hmmmm. Tab characters maybe? Does paste special/Text help at all?

  • RE: Copy - Paste data from SQL Server to Excel

    you can right click on the results grid and save as .CSV, then open it up in Excel, see if that works.

  • RE: Dúvidas sobre CTE

    Ola Andre

    I don't speak Spanish/Portuguese but I think you are looking for PIVOT:

    http://msdn.microsoft.com/en-us/library/ms177410%28v=SQL.100%29.aspx

    Edit: Actually, maybe not 🙂

  • RE: CXPACKET/Parallelism question

    SQLkiwi (2/28/2011)


    OK, that makes sense. The 23,725 attempts and 10 successes on the clustered index on live shows that escalation from row (or page) locks to a table lock...

  • RE: CXPACKET/Parallelism question

    SQLkiwi (2/28/2011)


    Excellent quality answers - thank you! On the XML plan thing, I should have made it clearer that you are looking for WithOrderedPrefetch or WithUnOrderedPrefetch, not With(un)OrderedPrefetch.

    Ah, gotcha...

  • RE: CXPACKET/Parallelism question

    Answers in bold inline. Thanks so much for your time with this

    SQLkiwi (2/28/2011)


    mazzz (2/28/2011)


    So, 12 million row locks and only 2 lock promotions, only 2 attempts?

    Are you certain...

  • RE: CXPACKET/Parallelism question

    Thanks Paul

    The version is indeed 10.00.4000, ie SP2.

    sys.dm_db_index_operational_stats show the following for the offending table/index:

    leaf insert count 8283880

    nonleaf insert count 26707

    row lock count 12352306

    page lock count 56674

    index lock promotion attempt...

  • RE: CXPACKET/Parallelism question

    SQLkiwi (2/27/2011)


    mazzz (2/27/2011)


    Thanks Paul. I'm pretty sure both Test and Live servers are at SP2 as they're both fairly recent installs, but will double check tomorrow when I'm back in...

  • RE: CXPACKET/Parallelism question

    Thanks Paul. I'm pretty sure both Test and Live servers are at SP2 as they're both fairly recent installs, but will double check tomorrow when I'm back in the office.

  • RE: CXPACKET/Parallelism question

    UMG Developer (2/25/2011)

    I think you are pretty safe in that the issue is with the database design/code and not a server issue, so I would push back on the 3rd...

  • RE: CXPACKET/Parallelism question

    UMG Developer (2/25/2011)


    Yes, a config_value of 0 is the default.

    SPID 22 is probably a system session, so it shouldn't be causing the problem. (SPIDs under 50 are almost always system...

  • RE: CXPACKET/Parallelism question

    Thanks for responding. I think it's still the default? config_value presumably?

    name minimum maximum config_value run_value

    locks 5000 ...

Viewing 15 posts - 31 through 45 (of 278 total)