Forum Replies Created

Viewing 15 posts - 3,511 through 3,525 (of 5,841 total)

  • RE: Deadlock on a single resource ?

    GilaMonster (3/28/2011)


    TheSQLGuru (3/28/2011)


    The official term is "Intra-Query Parallel Thread Deadlocks", coined in 2008 by Bart Duncan. http://blogs.msdn.com/b/bartd/archive/2008/09/24/today-s-annoyingly-unwieldy-term-intra-query-parallel-thread-deadlocks.aspx

    Isn't that a single session deadlocking itself?

    A deadlock between multiple sessions on a...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Need help in writing a query..Please help me out

    Please provide some explicit examples of output you expect given certain inputs. This could be a case for either front-end work or dynamic sql.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Query Tuning Assistance - Max() and Group By

    is this a partitioned table perchance? there is a very nasty bug for those for max/min.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Deadlock on a single resource ?

    Leo.Miller (3/27/2011)


    It's relativly unusual to see a single resource deadlock, but it does happen. I've coined the phrase "intra object deadlock". I don't know if the phrase has been used...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Updating millions of records

    John Mitchell-245523 (3/25/2011)


    TheSQLGuru (3/25/2011)


    Computed columns would have them paying the price for computations over the course of the entire month. Probably best to take the hit once, unless the...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Updating millions of records

    John Mitchell-245523 (3/25/2011)


    Rohit

    You're breaking the laws of normalisation by having redundant data in your table. Why not change the columns you are updating to computed columns instead?

    John

    Computed columns would...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Updating millions of records

    1) I would consider doing both of those updates in a single pass.

    2) since you are potentially increasing the length of the address field, you are probably getting lots of...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Copying A Very Large Database across the network to a Test Server

    Outside of having a SAN feature available to allow you to copy/replicate/present this backup file over to the other server SneakerNet is almost certainly your best option. :hehe:

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Deleting large number of rows from a table & a heap in a VLDB

    alen teplitsky (3/24/2011)


    is it better to use a non-clustered index in a large delete? i thought it was the opposite since you would be deleting data that is logically together...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Database Integrity

    Ninja's_RGR'us (3/24/2011)


    I'd take Gail's forum advice any day...

    So would I, but I would not be looking to deal with dbcc checkdb issues on a forum - even sqlskills.com. I...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Deleting large number of rows from a table & a heap in a VLDB

    batching with an appropriate non-clustered index seek delete plan (verify based on your batch size - or force it explicitly) can be a HUGE win in large delete scenarios. ...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: same data/schema/indexes/statistics - different execution timings?

    There are umpteen kajillion reasons why performance varies from one database to another, one query execution to another, etc. Lifetimes have been spent learning what those things are, how...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Database Integrity

    you should NOT be looking to solve consistency errors from a forum thread. There are SOOOO many variables here and ways you can go disasterously wrong. PLEASE get...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Designing a high available solution and DR solution

    If you are responsible for your company's database server HA you REALLY shouldn't be asking the types of questions you are asking! PLEASE do yourself and your company a...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: What are you "must have "CLR" procs

    heavy-duty string manipulations are a good example (especially delimited-string stuff)

    heavy-duty or complex math

    running totals

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

Viewing 15 posts - 3,511 through 3,525 (of 5,841 total)