on 11-25-2019 5:41 PM
I am trying to optimize performance and while I cannot adjust some expensive queries at this time I can fine-tune the SQLA16 Server configuration (64-bit). I have a lot of RAM available and it could help to cache some of the larger views & tables. I do not see any available procedure e.g.:
sp_helpcache
Are there any options for SQLA16 to manually manage cache content ? The optimizer seems to hold the cache size to 3.6GB regardles of what I tried so far.
Thank you.
You have not defined how you have configured your engine. Unless you define the cache at startup, initial cache size will be the default which is derived as described in the -c option. And it may not grow until there is a cache demand that exceeds the current cache size.
Generally, the cache contains database pages that are relevant to the workload using a LRU algorithm to replace pages. If you have expensive queries that run better after being executed one or more times, that may indicate that the query is benefitting from being in cache. Can you cause the engine to preload the cache? The database performs cache warming. If you have a server that has reached a performance steady state, you can capture that state using cache warming. To force pages into cache, you can use the sp_read_db_pages system procedure or the ALTER DATABASE cache warming options.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.