Forum Replies Created

Viewing 15 posts - 136 through 150 (of 5,841 total)

  • RE: Clustered Index Update Slow Update On Large Table

    The first thing I would do is a wait stats analysis and file IO stall analysis during the run. If it is on the same spid run in a loop...

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

  • RE: disk space after deleting records.

    You can shrink the database to reclaim space. But be SURE to leave some extra space. FAR MORE IMPORTANT is that you MUST REBUILD EVERY INDEX IN THE DATABASE WHEN...

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

  • RE: Reg. TEMPDB Files

    Are the growths the same for all files?

    I RARELY see the need for 8 files, but I have OFTEN seen too many files (even 8) make IO SLOWER...

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

  • RE: Performance Monitoring suggestions

    chuck.forbes - Wednesday, September 20, 2017 12:04 PM

    We're looking at installing a new COTS tool, and the installation instructions request a pretty...

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

  • RE: Blocking but not sure why

    Maybe sp_whoisactive will give you more details to help you isolate the problem?

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

  • RE: Inconsistent query results when parallel plan is produced

    This is quite an unusual situation, and I wonder if you haven't stumbled upon a bug (possibly known?). I hope the TF 4134 does you right, which would mean the...

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

  • RE: Performance Tuning with Nvarchar(max)

    krishnavamshi24 - Friday, September 15, 2017 1:11 PM

    Hi Folks, 

    I have a performance issue on view that returns 7 columns which are of...

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

  • RE: Inconsistent query results when parallel plan is produced

    1) I too would like to see some of the data differences delineated, along with some rows that are identical. Please share any patterns you note in the results.

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

  • RE: Finding Consecutive Values For a Record

    Those results are too not unexpected, although I thought the concats might fair a little bit better.

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

  • RE: Query returns 122 million records in 9 hours

    This code is a pile of, well, I'll be nice and say it is suboptimal to the extreme. :hehe:  22 convert_implicits, 100 OTHER converts, 3.4MB query plan, the estimated...

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

  • RE: Query returns 122 million records in 9 hours

    RVO - Monday, September 11, 2017 1:16 PM

    ".....BTW, are you getting minimally logged inserts into your target table(s)? If not that must...

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

  • RE: Query returns 122 million records in 9 hours

    RVO - Monday, September 11, 2017 11:27 AM

    We have a very silly weekly process to
    to do the Full Load of 5 year...

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

  • RE: Query Help - Slow Performance

    I don't have time to dig into it, but this part of the code just smells bad:

    AND  EXISTS (
        SELECT * FROM
        DistrictStudents
        WHERE DistrictStudentSchedule.MosisStateId...

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

  • RE: Query Help - Slow Performance

    1) Always compare estimated rows and actual rows. when they are off by 6 order of magnitude, bad stuff going to be happening in the plan. You need to find...

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

  • RE: How to encrypt Credit Card numbers?

    Column-level encryption is available in SQL Server. 

    If you can go to SQL Server 2016 (and your apps support it or can be changed to support it) there is...

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

Viewing 15 posts - 136 through 150 (of 5,841 total)