Running DBCC commands on SQL Azure db

  • Hi All,

    For tuning poorly performing query on a Testing server or local SQL instance on a Laptopn, we used to run below 2 commands to free the plan cache and buffer cache to properly measure
    query performance. Now, I am getting an error on SQL Azure database that these command s are not supported. IF I want to do this, is there any alternative steps to clean buffers and clear plan cache?

    DBCC FREEPROCCACHE
    DBCC DROPCLEANBUFFERS

    Thanks,

    Sam

  • ALTER DATABASE SCOPED CONFIGURATION CLEAR PROCEDURE_CACHE;

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

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