Forum Replies Created

Viewing 15 posts - 3,616 through 3,630 (of 5,841 total)

  • RE: Detach trigger code

    TRY/CATCH is not a trustworthy construct. All kinds of limitations, gotchas, provisos, etc.

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

  • RE: Can a bad plan be stuck in cache?

    if it REALLY is the insert that is taking so long then either a) you are doing large scans in that SELECT that drives the INSERT or b) your insert...

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

  • RE: Index Works Fine For Set Of Data - Doesn't Work For other Set of Data?

    sqldba_icon (2/9/2011)


    I created an index, did enough testing and it did improve the performance of the procedure.Now i come back on monday and performance is degraded? The same index is...

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

  • RE: Automatically Generate Stored Procedures

    1) ORMs are getting better but can still be DEVASTATINGLY BAD for database application performance.

    2) one word: SSMSToolsPack!!!! FREE SSMS addin with an incredible array of useful features,...

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

  • RE: DBCC PROCCACHE

    I am sorry, but I really don't understand what you are looking for here.

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

  • RE: Required help regarding Performance Tuning of Query retrieving data from 30 Million records

    Dave Ballantyne (2/9/2011)


    TheSQLGuru (2/9/2011)


    Dynamic sql is almost always the most performant way to deal with this type of scenario. Beware SQL Injection as someone else stated and also watch...

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

  • RE: Almost same data, same number of records same index ...scan Vs Seek?

    sqldba_icon (2/9/2011)


    TheSQLGuru (2/9/2011)


    a) parameter sniffing as cause:

    1) run your query on both servers with HARD-CODED input values instead of parameters.

    2) run query on both...

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

  • RE: Required help regarding Performance Tuning of Query retrieving data from 30 Million records

    Dynamic sql is almost always the most performant way to deal with this type of scenario. Beware SQL Injection as someone else stated and also watch out for procedure...

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

  • RE: how to optimize jdbc to sqlserver

    lovelanjunping (2/8/2011)


    we have a application to sqlserver, app write by java.

    there are some performance issue.

     

    i monitor it by sqlserver profile, i found some system procedure cost much time.

    i don't konw...

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

  • RE: Performance Best Practices

    It should be EASIER to control what goes on with FEWER people stirring the pot! 🙂

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

  • RE: Context-switches

    That book will definitely help you long-term (good one Grant!). However, if you want to get things running better NOW, hire a performance tuning professional and have them monitor/fix...

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

  • RE: Almost same data, same number of records same index ...scan Vs Seek?

    a) parameter sniffing as cause:

    1) run your query on both servers with HARD-CODED input values instead of parameters.

    2) run query on both servers using...

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

  • RE: Update statistics taking longer than 29 hours

    if you make your update stats a sql agent job, no one will have to remote in and even if they did they certainly wouldn't (SHOULDN'T) leave SSMS running! ...

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

  • RE: Performance issue ,PageIOlatch

    Oh look, another entity out there who threw a workload (or multiple workloads) at the Database Tuning Advisor and accepted everything!! Outside of using Scalar UDFs that is just...

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

  • RE: UDF Optional parameter

    Better yet, stop using UDFs so you don't get hurt by the MANY ways they can harm you!! 😀

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

Viewing 15 posts - 3,616 through 3,630 (of 5,841 total)