記憶體被Ad hoc Query佔滿的解決方式

跑報表查看:報表=>標準報表=>記憶體使用量

CACHESTORE_SQLCP這個值如果佔滿很多,就表示有很多一次性的查詢,
降低佔滿記憶體的方式:

sp_CONFIGURE ‘show advanced options’,1
RECONFIGURE
GO

sp_CONFIGURE ‘optimize for ad hoc workloads’,1
RECONFIGURE
GO

by mhchen15 on 23 6 月, 2016 in SQL SERVER - Tags:
Tags:

There are no comments.

Name*: Website: E-Mail*:
XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>