Forum Replies Created

Viewing 15 posts - 1,996 through 2,010 (of 5,841 total)

  • RE: Comparing performance of two versions of a query

    Easy solution: script your SELECT to be into variables. Now your 100M rows never have to leave the server and you don't pay the cost (in many ways)...

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

  • RE: Compare database across servers

    SQLRNNR (5/28/2014)


    TheSQLGuru (5/28/2014)


    SQLRNNR (5/28/2014)


    Another vote for the RedGate SQL Compare tools.

    Nice license plate Jason S.

    Another vote for Red-Gate SQL Compare. There are a number of other options from third...

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

  • RE: Compare database across servers

    SQLRNNR (5/28/2014)


    Another vote for the RedGate SQL Compare tools.

    Nice license plate Jason S.

    Another vote for Red-Gate SQL Compare. There are a number of other options from third parties out...

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

  • RE: T-Sql Query

    GilaMonster (5/27/2014)


    TheSQLGuru (5/27/2014)


    You also have the dreaded IS NULL OR construct

    How did I miss that....

    Because you have seen it so much you just don't see it any more?!? :hehe:

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

  • RE: T-Sql Query

    You also have the dreaded IS NULL OR construct (Q.ContactID = 15 OR @Orgid is NULL). Go to Gail's site, http://sqlinthewild.co.za/, and click the top Popular Link, Catch-All Queries,...

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

  • RE: Buffer cache size much lower than Max Memory config + low PLE

    sql-lover (5/26/2014)


    TheSQLGuru (5/24/2014)


    Like I said - I have no knowledge of their official stance or policies regarding SP/CU releases. But they have moved to MUCH more rapid releases now...

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

  • RE: Compilations

    msimone (5/27/2014)


    Hello.

    Plan's set options and the set values in the connections (event audit logon) are the same.

    Instalation: SQL 2012 SP1 Standart Edition version 11.0.3128.0 with pool connection.

    In the procs we...

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

  • RE: TempTables

    It is bad advice to recommend picking table variables with few numbers of rows. I can show you a one-row, one-column table variable that gets a bad plan when...

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

  • RE: TempTables

    ramana3327 (5/26/2014)


    Hi,

    You mentioned stats here. How do we know how often we have to update stats. How to find the optimizer is using right stats or not?

    Please start a new...

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

  • RE: Left outerjoin and query performance

    I don't consider them at all the same, or even that similar, but that could be just me. The variable one is subject to parameter sniffing issues and has...

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

  • RE: Buffer cache size much lower than Max Memory config + low PLE

    Like I said - I have no knowledge of their official stance or policies regarding SP/CU releases. But they have moved to MUCH more rapid releases now with WASD...

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

  • RE: SSMS 2012 is using 3+ Gigs of Ram... suggestions?

    1) Any add-ins?

    2) How many different databases have you connected to and do any have large numbers of objects? I wonder about Intellisense taking lots of memory.

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

  • RE: Left outerjoin and query performance

    Lowell (5/23/2014)


    what you posted is a catch all query.

    here's an excellent place to start:

    http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/

    What is posted isn't a catch-all query, at least not a typical one. I see no...

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

  • RE: SQL Server Databases Synchronization

    One more problem is that the 2 PCs have each 2 network adapters with 2 different IPs: if one network adapter fails and that was the path of choice for...

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

  • RE: Buffer cache size much lower than Max Memory config + low PLE

    It is either a bug or "by design" (that happens to be a bad design). Check Connect for similar issues. Post one if don't find it.

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

Viewing 15 posts - 1,996 through 2,010 (of 5,841 total)