Forum Replies Created

Viewing 15 posts - 2,746 through 2,760 (of 5,841 total)

  • RE: Missing Indexes on Temp tables

    My statement about making "queries" faster is about the ENTIRE process. The act of populating a temp table with an index already on the temp table before data is...

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

  • RE: Missing Indexes on Temp tables

    I can count on 1 hand the number of times in 15+ years of SQL Server consulting that I have come across client actions involving temp tables where an index...

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

  • RE: Deadlock due to intra-query parallelism

    I will make 1 "improvement" to Gail's recommendation on MAXDOP. Check your hardware, and if it is NUMA (almost all modern servers are) then set the SQL Server MAXDOP...

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

  • RE: delete top(8000) takes 1 second, delete top(9000) takes 42 seconds !!

    WHERE [DateTime] < DATEADD(hour, 48, @MaxBuffer), or something similar to that. Could be >, didn't dig too deeply into it.

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

  • RE: SQL Server index fragmentation is high after rebuilt

    Luk, you have been going at this problem for over 10 days now. Give me or another good professional 15 minutes on your system and you will have a...

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

  • RE: Failed to map 8388608 bytes of contiguous memory

    dmoldovan (12/11/2012)


    My customer is running a small e-commerce site on a SQL Server 2008 R2 SP2 Workgroup Edition x64. The SQL Server runs on a Windows Server 2008 R2 Standard...

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

  • RE: delete top(8000) takes 1 second, delete top(9000) takes 42 seconds !!

    I wonder if the plan is EXACTLY the same between the parallel and non-parallel executions. I would imagine that one is doing an index seek and bookmark lookup for...

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

  • RE: CASE statement in WHERE clause

    Guras (12/11/2012)


    I was thinking of writing two sub proc based on the finclass value. There will be a wrapper sp that takes the finclass values and based on that I...

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

  • RE: How to solve blocking issue

    Here is a 3-part blog post about deadlocking from Bart Duncan: http://blogs.msdn.com/b/bartd/archive/2006/09/09/deadlock-troubleshooting_2c00_-part-1.aspx

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

  • RE: CASE statement in WHERE clause

    GSquared (12/10/2012)


    Like this:

    WHERE (@finclass = 1 AND p.finclass = @FinclassCategory OR @finclass != 1)

    AND P.HOSPITAL = @HOSPITAL

    This is going to get you a BAD cached plan. No matter which...

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

  • RE: Keynotes

    Dr. David DeWitt is the one person that I would never miss as a keynote speaker.

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

  • RE: SQL Trigger for multiple columns - Insert / update

    This can be found in BOL:

    1) IF UPDATE(b) OR UPDATE(c) ...

    2) IF ( COLUMNS_UPDATED() & 2 = 2 )

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

  • RE: Very long avg queue length for SQL Server

    This type of performance tuning and analytics is what I (and a few others here on the forums) do for a living. There are a WIDE range of potential...

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

  • RE: BUFFER I/0

    ESAT ERKEC (11/28/2012)


    I have 700 gb db

    which is quite a bit more than your available buffer pool ...

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

  • RE: NOLOCK Hint Corrupts Results from SELECT

    Langston Montgomery (11/26/2012)


    Update:

    We upgraded the production server to SP1, and the issue is gone. Lunch for anyone who can figure out why it was happening 🙂

    Seems pretty obvious what was...

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

Viewing 15 posts - 2,746 through 2,760 (of 5,841 total)