SQL Server not releasing memory after query executes

后端 未结 5 1546
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-08 07:14

I think I have a basic question here that many might have encountered. When I run a query in SQL Server it will load in memory all the data it needs for query execution (for

5条回答
  •  旧巷少年郎
    2020-12-08 07:37

    SQL is a high level declarative language. It is not intended to allow you to get involved in the detail of such things as memory management as you would if you were writing code in a lower level Programming language such as C. I think you will find that if it needs that memory freed up for another task it will quickly let it go.

提交回复
热议问题