Forum Replies Created

Viewing 15 posts - 931 through 945 (of 5,841 total)

  • RE: Correct MAXDOP setting

    As someone else said, if the VM is NUMA aware, make the MAXDOP no more than the PHYSICAL cores in each NUMA node. For other configs (in any case actually)...

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

  • RE: SP with 3 parameters as delimited list - Goal 500 milliseconds

    Did you fix anything?? Looks mostly the same to me, just fatter tables and now you have spills on the big HASH join and a bajillion row nested loop.

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

  • RE: SP with 3 parameters as delimited list - Goal 500 milliseconds

    Alan.B (6/30/2016)


    TheSQLGuru (6/30/2016)


    Alan.B (6/30/2016)


    Kevin said a lot of what I was going to say especially about fixing that sort with the tempdb spill - that's going to kill you. An...

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

  • RE: SP with 3 parameters as delimited list - Goal 500 milliseconds

    Alan.B (6/30/2016)


    Kevin said a lot of what I was going to say especially about fixing that sort with the tempdb spill - that's going to kill you. An index on...

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

  • RE: SP with 3 parameters as delimited list - Goal 500 milliseconds

    1) What are all table create scripts. You are getting convert_implicits and I wonder if data types are all correct.

    2) Stop doing the datalength > 0 thing. You need to...

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

  • RE: Query

    I am sorry, but I can't figure out what you want here...

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

  • RE: Need algorithm for Complex looping logic

    J Livingston SQL (6/29/2016)


    For knowledge shake, is it possible to implement the same result in while loop ?

    why?

    what benefits do you perceive you will gain by using a while loop......?

    Please...

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

  • RE: Changing a function to work with multiple records

    NHS Baz (6/29/2016)


    Thanks for the input folks but does anyone have an answer to the question that was actaully posed in the original post?

    It would be nice to have some...

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

  • RE: Changing a function to work with multiple records

    As for me, I almost always never say always, if I can help it, because there are almost always exceptions.:-P

    Which is why I said "if you can help it" about...

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

  • RE: Changing a function to work with multiple records

    1) Is there a question here?

    2) ALWAYS use WITH SCHEMABINDING when using UDFs, views and any dang thing else you can use it with! Build a box around the user,...

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

  • RE: Question about profiler

    1) What you did (profile with spid filter) is perfectly fine and appropriate. I do this pretty much every single day of the year for lots of different clients. I...

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

  • RE: Somewhat urgent issue related to AG

    Chitown (6/28/2016)


    TheSQLGuru (6/27/2016)


    What is the status of the other database? Is it suspect, offline or something like that?

    All DBs are online and in sync

    This was the error in the log...

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

  • RE: Mirroring

    SQLAddict01 (6/28/2016)


    Hi,

    I am very much new to mirroring, I know how to set it up, but I don't know what to do when a principal server fails or the link...

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

  • RE: Somewhat urgent issue related to AG

    What is the status of the other database? Is it suspect, offline or something like that?

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

  • RE: Is there a function to format the date like this ?

    YB makes a VERY key point: formatting stuff should be done outside SQL Server where at all possible!!! Don't waste any of the precious and expensive resources on your SQL...

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

Viewing 15 posts - 931 through 945 (of 5,841 total)