SQL Plan cache flushing issue.

  • We have SQL Server 2012 SE in DR site. (log shipping configured every 15 min).

    Physical memory : 64 GB. allocated for instance 19GB.

    While monitored the server performance found that cpu spike crossed more than 70%. After our analyze we noticed sql plan cache flushing every sec.

    Prod & DR have same configuration.(CPU & memory). But in prod we see only 30% cpu.

    could you please help on this.

  • More information is needed. I'd double check the server configuration, memory settings, etc. Are there other processes running on that machine? What are the wait statistics? This is about investigation now.

    "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

  • mbbalaji (7/14/2016)


    We have SQL Server 2012 SE in DR site. (log shipping configured every 15 min).

    Physical memory : 64 GB. allocated for instance 19GB.

    While monitored the server performance found that cpu spike crossed more than 70%. After our analyze we noticed sql plan cache flushing every sec.

    Prod & DR have same configuration.(CPU & memory). But in prod we see only 30% cpu.

    could you please help on this.

    Quite a few things can cause the plan cache to get whacked:

    http://dba.stackexchange.com/questions/124487/procedure-cache-dropping

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

Viewing 3 posts - 1 through 3 (of 3 total)

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