Forum Replies Created

Viewing 15 posts - 1,876 through 1,890 (of 5,841 total)

  • RE: Create Clustered Index on a Very Large Table (500 GB)

    I think this is slightly mis-stated Jeff. While you may not get fragmentation from end-of-index inserts, you certainly can get page LATCH contention, which can be a significant bottleneck...

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

  • RE: Bad Query Plan

    Robert klimes (8/7/2014)


    Roger Sabin (8/7/2014)


    I tried what you suggest and it does force the "bad" plan when I use 40 and a "good" plan when I use 17. Thanks.

    So now...

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

  • RE: Bad Query Plan

    Roger Sabin (8/7/2014)


    Is there any way to "prove" that the issue is a data skew problem? This is a production system so I can't just play with trying to force...

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

  • RE: Bad Query Plan

    Roger Sabin (8/7/2014)


    I always thought that parameter sniffing problems had more to do with ranges than with direct seeks.

    If it was a parameter sniffing problem then shouldn't I be able...

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

  • RE: Help - Pivot table

    While you are figuring out what you really want (and scripting sample tables/data for us to help you better), search the web for sql server CASE pivot and see if...

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

  • RE: Always ON SQL Server 2012

    I strongly recommend you bring Allan Hirt (http://sqlha.com) on board to help you understand what your options are, what you need and how to get the two to match up....

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

  • RE: VLFs on AlwaysOn primary replica after log backup from secondary

    Perhaps what you are observing is simply an artifact of the AG normal operations? Perhaps BOL and blog posts just haven't caught up with that yet? I honestly...

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

  • RE: VLFs on AlwaysOn primary replica after log backup from secondary

    Review this and any follow-on posts, being sure to review all the DMVs for various LSN values and states on primary and secondary: http://blogs.msdn.com/b/alwaysonpro/archive/2013/09/27/performing-transaction-log-backups-using-alwayson-availability-group-read-only-secondary-replicas-part-1.aspx

    Hopefully you can figure it out...

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

  • RE: clustering Vs Mirroing Vs Logshipingf Vs replication

    I'm gonna be blunt here, so don't get offended but DO listen. HA is a CRITICAL part of a business' ability to function. If you screw it up...

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

  • RE: TSQL - Trigger Inserted multiple rows after Insert

    Triggers fire PER BATCH, NOT PER ROW!! If an action in SQL Server affects 100 rows every trigger you create MUST be able to process ALL 100 rows -...

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

  • RE: SQL Injection - Suggestion..!!!

    Since you have already been hacked, you must assume that your ENTIRE hardware infrastructure is compromised, especially if you are like most of my clients and run your stuff with...

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

  • RE: Profiler? Extended Events? 2012 Express on 2012 Standard 64 - or should I just increase resources... it's so cheap!

    1) With SQL Express you can get hit by the 1GB memory limit AND the one CPU limit too.

    2) File IO stall analysis can tell you how much...

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

  • RE: Update is Slow in SQL server 2014

    I also note you are comparing a desktop OS to a server OS. And 32 bit vs 64 bit. Virtualized too by any chance? Did you update all...

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

  • RE: Index Maintenance and Update Stats

    SQLSlammer-133701 (7/23/2014)


    I hope this doesn't get viewed as a thread hijack..but TheSQLGuru.

    If you are updating stats more than once week, at what point do you update stats with FULLSCAN? or...

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

  • RE: Index Maintenance and Update Stats

    Kwisatz78 (7/22/2014)


    Thanks, I wan't aware of that trace flag. Is there a good list of useful trace flags anywhere?

    I am sure there are lists. Whether they are good...

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

Viewing 15 posts - 1,876 through 1,890 (of 5,841 total)