SQL %Processor Time

  • Can any body point me in the right direction. I've got a vendor application that I just setup on a new server. No users hiting the box just running the vendors application processing XML into a database.

    Anyway with a blank empty database the application runs fine. After about a day the CPU % goes from 20% to 40% and the application slows down considerably.

    PS. This is only a 345mb database.:-D

  • It could be one of countless things. I would start by checking the most expensive queries by CPU.

    edit:

    The whole story:

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/[/url]

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-2/[/url]

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • This is a vendor application so adding indexes or modifing queries is out of the question.

  • mhall2007 (9/21/2012)


    This is a vendor application so adding indexes or modifing queries is out of the question.

    What does that have to do with identifying the problem?

    It's possible it is related to old statistics or fragmented indexes which you can do something about.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • HEY!!!! donโ€™t shoot the messenger.

    Checked the fragmentation before I posted this. Indexes rebuild nightly. Just update the statistics.

    Doesn't appear to have changed performance.

  • ๐Ÿ˜› sorry, no harm meant

    I would look for high CPU queries using the initial post, there are lots of queries online for this. Proving it to the vendor is always the hardest thing to do.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • You'll need to set up basic monitoring to understand more fully what's happening on the system. Gails articles are an excellent place to start. You can also look at the book Troubleshooting SQL Server for some excellent information. If you do want to at least look at what might need to be tuned on the queries, and I understand it's an app that you can't change, you can check out my book on Query Tuning.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply