Forum Replies Created

Viewing 15 posts - 5,671 through 5,685 (of 5,841 total)

  • RE: Need help developing quick way to search millions of records...

    Most everything you need to know and more is here:  http://www.sommarskog.se/dyn-search.html

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

  • RE: Newbie: How much memory does sql actually need?

    Sorry, I wasn't very clear in my post!  I leave the noted amount of ram available for stuff OTHER than sql server.  So for a 12GB box, I set sql...

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

  • RE: Newbie: How much memory does sql actually need?

    It is usually right to set an upper limit to the ram sql server can use.  There is no magic number, however, but I use the following rough formula:  for...

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

  • RE: Alter table performance

    . . . correction - OF the supervisor!  LOL

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

  • RE: Alter table performance

    I highly recommend an upgrade to the supervisor! 

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

  • RE: rowcount of subquery

    I would do two queries.  The first is a simple SELECT COUNT(*) using all of the rest of the query (except reduce derived tables to the bare minimum fields required...

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

  • RE: Strange Performance Query

    SET SHOWPLAN_TEXT ON will work. 

    But if the data is different, why would you expect similar execution times??

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

  • RE: Strange Performance Query

    1) that's not a very efficient query:  distinct, 3 joins (one with <=), correlated subquery and a function call in the where clause.  Oh, and an ORDER BY AND XML...

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

  • RE: Large Table Queried over Linked Server

    1) Remote joins are not a good idea.

    2) Is the remote table indexed appropriately (both for the join as well as for insert/update activity from local apps against it)?  Are...

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

  • RE: Sproc Design Question

    Eliminating a join will certainly be more efficient.  As to what is better, I would say that if you control the dictionary table, use the known key values as you...

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

  • RE: KB921896

    NO!!!! JUST THE OPPOSITE!  If you DO clean out the %win%\INSTALLER directory you will be HOSED!  And a LOT more than just sql server service packs will barf too.  Virtually...

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

  • RE: KB921896

    <SOAPBOX ON>

    I have spent about 25 hours so far on the phone with MS tech support because I can't install sp2 on a box.  The problem is that every damn...

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

  • RE: transact job to kill all connections to a database

    1) Anything that loops to kill spids should have an 'escape clause' to avoid getting stuck in an 'infinite' loop.  Some spids can take a LONG time to rollback.  Not...

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

  • RE: Seek advice on data model architecture

    Personally I think the worst thing from a performance standpoint is if you routinely add columns to existing table it will fragment the hell out of your storage of said...

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

  • RE: Random jump in CPU for specific stored procedure....

    Please also post execution parameters that cause 1000cpu and others that make it jump to 5000.  It could well be parameter sniffing and one or more situations cause it to...

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

Viewing 15 posts - 5,671 through 5,685 (of 5,841 total)