SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


DBCC commands on Azure SQL Database


DBCC commands on Azure SQL Database

Author
Message
vsamantha35
vsamantha35
SSCrazy Eights
SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)

Group: General Forum Members
Points: 9379 Visits: 1267
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
John Mitchell-245523
John Mitchell-245523
SSC Guru
SSC Guru (135K reputation)SSC Guru (135K reputation)SSC Guru (135K reputation)SSC Guru (135K reputation)SSC Guru (135K reputation)SSC Guru (135K reputation)SSC Guru (135K reputation)SSC Guru (135K reputation)

Group: General Forum Members
Points: 135236 Visits: 19483
I typed "sql azure freeproccache" into my favourite search engine, and I found this. Does it help you?

John
Grant Fritchey
Grant Fritchey
SSC Guru
SSC Guru (361K reputation)SSC Guru (361K reputation)SSC Guru (361K reputation)SSC Guru (361K reputation)SSC Guru (361K reputation)SSC Guru (361K reputation)SSC Guru (361K reputation)SSC Guru (361K reputation)

Group: General Forum Members
Points: 361755 Visits: 34454
I pointed you to this bit of documentation once before. I'd suggest reading all through it. It's going to help you quite a bit with Azure SQL Database.

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

The Scary DBA
Author of: SQL Server 2017 Query Performance Tuning, 5th Edition and SQL Server Execution Plans, 3rd Edition
Product Evangelist for Red Gate Software
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum









































































































































































SQLServerCentral


Search