Forum Replies Created

Viewing 15 posts - 2,131 through 2,145 (of 5,841 total)

  • RE: SQL Server 2012 - Datetime to date datatype increasing index size?

    Welcome to the SSC.com forums!

    Have you rebuilt any/all indexes, especially the clustered index if there is one? And if there isn't, why isn't there? 🙂

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

  • RE: High TempDB usage - Where is the culprit?

    Maddave (3/5/2014)


    Thanks for the reply. Only one database (bar master and msdb) are using snapshot isolation. The vesioning would be kept in the version store of TempDB though, wouldn't...

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

  • RE: "good" plan, low reads, but still slow...

    Ickier (3/4/2014)


    Thanks for all the help everyone, I realize there were and are limitations to how much you can help with the information being necessarily masked.

    An interesting note, thanks to...

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

  • RE: "good" plan, low reads, but still slow...

    Ickier (3/3/2014)


    CPU seemed fine I thought, but I'll take a closer look at that.

    It's not spilling to tempdb (unless it can spill without showing up in the plan -- please...

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

  • RE: "good" plan, low reads, but still slow...

    I don't think you actually attached the plan. Oh, it is up on OP...

    OK, so no UDFs it seems. No blocking. Are plans the SAME just with different reads?...

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

  • RE: "good" plan, low reads, but still slow...

    I don't see any queries, nor table structures (with indexing), nor actual query plans. How are we supposed to help you here?

    You didn't mention it explicitly, so...

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

  • RE: Slow running query

    peter.cox (2/27/2014)


    In case anyone's still interested (!) I've pretty much worked out what the issue was; after fully dissecting the code (as I say - there's a lot; 65 steps,...

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

  • RE: How to Get All SQL Queries That Executed in the Server for the Day

    SQLRNNR (2/27/2014)


    you could run an extended event session to capture that since it looks like you are on 2012 and sql 2012 is more equipped and more friendly than previous...

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

  • RE: Query Performance - Using Inline/Table Functions

    UDFs can be one of the worst things you can do in SQL Server. Read my Death by UDF chapter in the SQL Server MVP Deep Dives 2 book...

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

  • RE: sp_who2

    stormsentinelcammy (2/25/2014)


    If I were you I would look into sp_whoisactive, much better than sp_who2

    +100!! sp_whoisactive @help = 1

    Adam Machanic has a 30-day blog post series on sqlblog.com too.

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

  • RE: Timeouts: queries vs. views

    You didn't give us much to go on, but I am betting on parameter sniffing. That you CAN find in a Binoogle search.

    Try OPTION (RECOMIPLE) in your statement that...

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

  • RE: finding break in sequence

    I recommend a web search for: Itzik Ben-Gan Gaps Islands. There are some amazingly-efficient solutions for this now.

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

  • RE: blocking

    Mani-584606 (2/20/2014)


    Hi,

    I want to implement a script which will run continuously to find out blocked sessions and send an email when ever it finds the blocking. Please advise.

    Thanks

    My advice is...

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

  • RE: Query Statement Help with data Type as Integers

    +1 for Books Online. MUCH more efficient (for all concerned) method of quickly learning about SQL Server and TSQL!!

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

  • RE: Performance Tuning - Proof in the pudding

    When I am tuning a "critical" piece of code for a client I just capture profiler trace of the code for a period of time. I will use that...

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

Viewing 15 posts - 2,131 through 2,145 (of 5,841 total)