Forum Replies Created

Viewing 15 posts - 2,776 through 2,790 (of 5,841 total)

  • RE: Query CPU Performance

    1) Funny that you call this fairly simple. That is a beast of a query, with MANY joins, MANY CPU-burning operations (CASES, hash joins, aggregates,etc).

    2) There is a CONVERT_IMPLICIT...

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

  • RE: Memory Pressure

    Increasing RAM from 4 to 16GB will only help if a) you have an edition of windows/SQL Server that can support that much and b) if 32 bit you configure...

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

  • RE: Do not wait for Query to completed

    I agree with Lynn - this is sounding more and more like a service broker opportunity.

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

  • RE: Plan Cache - Adhoc - Usecounts 1

    sys.dm_exec_query_plan ( plan_handle ) has a dbid field.

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

  • RE: Plan Cache - Adhoc - Usecounts 1

    SQLSACT (10/25/2012)


    Grant Fritchey (10/23/2012)


    There is a setting called 'Optimize for Ad Hoc Workload' that could help you out. Instead of storing a plan each time a query is run, the...

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

  • RE: UDF AND Stored Procedures

    You cannot interchange UDFs and sprocs. They can be similar if they both output a variable, but you cannot "join" to the tabular output of a sproc.

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

  • RE: SQL Server crashes when data drive full?

    1) I suppose the failure of some system action could cause SQL to barf (just a supposition here)

    2) SQL 2005 SP3 is unsupported by Microsoft

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

  • RE: Log files

    What about autogrowths? Perhaps you are stalling out regularly due to those on server 1 but with server 2 having more free space in tlog you aren't autogrowing (which...

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

  • RE: Query performance change

    I will also note you are joining on mis-matched datatypes (or doing an unnecessary convert), which is also suboptimal.

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

  • RE: page writes/sec high on mirrored server

    Well, the mirror has to have writes to affect the changes brought over from the tlog on the primary so I would expect actual writes to be higher than the...

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

  • RE: High Waits for LCK

    1) sp_whoisactive can help you see locking waits in real time (along with a TON of other useful features - and it is FREE)

    2) the most common cause of lock...

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

  • RE: EXCEPTION_ACCESS_VIOLATION SQL 2000 SP4 BUILD 2282

    BRIAN.ALLEN (10/23/2012)


    Good thinking. Looking at the dumps, it appears every case has the ` character. If i run the sproc statements in SSMS it doesn't trigger the exception though. So,...

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

  • RE: EXCEPTION_ACCESS_VIOLATION SQL 2000 SP4 BUILD 2282

    Can you check all the input buffers from the error log entries to see if there is some common thread amongst the sproc parameters? Maybe a funky character is...

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

  • RE: EXCEPTION_ACCESS_VIOLATION SQL 2000 SP4 BUILD 2282

    On twitter I asked you if this sproc does anything "special", such as XP calls, full text search, linked server, openquery, xml, etc. Are triggers in play?

    Too bad it...

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

  • RE: Small database with 1 million users

    Sqlsavy (10/16/2012)


    Thanks Kevin.

    I ‘d certainly update you on the progress of this project we might end up having MS DSE assisting us .

    Here is one more requirement from the Project...

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

Viewing 15 posts - 2,776 through 2,790 (of 5,841 total)