官术网_书友最值得收藏!

Planning memory

Every edition of SQL Server has its limit of maximum consumable memory. It's needed to give SQL Server correctly because SQL Server consumes as much memory as possible. Every request to SQL Server needs memory. When preparing the server for SQL Server installation, we must consider two main memory usages:

  • Interpreted queries: This is the traditional approach where SQL Server processes user requests. Data is stored on disk and, when some portion of data is needed by any query, it's cached to a memory area called buffer cache. Buffer cache with many other memory areas like procedure cache, user connections ,and others is a matter of memory limit given by the edition of SQL Server.
  • In memory OLTP: In memory OLTP is relatively new SQL Server DE technology that was introduced with SQL Server 2014 Enterprise edition. Later in SQL Server 2016 SP 1, in memory OLTP has ceased to be an enterprise feature and now its memory capacity depends on memory limit determined by certain editions. For example, SQL Server standard edition has maximum memory set to 128 GB and in memory capacity is set to 1/4 of maximum SQL Server memory, which means 32 GB of memory up to the regular limit. In memory area is used for in memory tables--tabular structures for extremely fast access, especially in conjunction with native compiled stored procedures. If any application supposes to use in memory technology, be aware of this extra memory need.

When planning the amount of memory, we must keep in mind any concurrent service or application that will be present on the same server.

主站蜘蛛池模板: 九江县| 建宁县| 金平| 乐陵市| 社旗县| 靖江市| 盘锦市| 吉木萨尔县| 嘉善县| 黑河市| 靖远县| 呼图壁县| 延长县| 东明县| 福建省| 拜城县| 河池市| 阿合奇县| 电白县| 临城县| 襄樊市| 仁怀市| 偏关县| 年辖:市辖区| 许昌县| 慈利县| 景洪市| 牙克石市| 渝中区| 新龙县| 大石桥市| 胶南市| 从化市| 嘉黎县| 宁蒗| 乌兰县| 耿马| 大港区| 江源县| 吕梁市| 工布江达县|