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

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.

主站蜘蛛池模板: 伊通| 西贡区| 新和县| 绥德县| 资中县| 来宾市| 阜宁县| 奇台县| 汉寿县| 平阴县| 通渭县| 南乐县| 杭锦后旗| 高邑县| 霸州市| 眉山市| 孝昌县| 南汇区| 水富县| 刚察县| 松阳县| 阳春市| 宝鸡市| 襄垣县| 秦皇岛市| 历史| 钟祥市| 师宗县| 灵寿县| 佛山市| 屯昌县| 施秉县| 梨树县| 绥宁县| 梅州市| 上蔡县| 桂林市| 东明县| 柘荣县| 海城市| 舒城县|