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

Memory

A memory storage engine is generally known as a heap storage engine. It is used for extremely fast access to data. This storage engine stores data in the RAM so that it wouldn't need I/O operations. As it stores data in the RAM, all data is lost upon server restart. This table is basically used for temporary tables or the lookup table. This engine supports table-level locking, which limits high write concurrency.

Important notes about memory tables are as follows:

  • As memory table stores data in the RAM, which has a very limited storage capacity; if you try to write too much data into the memory table, it will start swapping data into the disk and then you lose the benefits of the memory storage engine.
  • These tables don't support TEXT and BLOB data types, even such data types might not be required as it has limited storage capacity.
  • This storage engine can be used to cache the results; lookup tables, for example, or postal codes and state names.
  • Memory tables support B-tree indexes and Hash indexes.
主站蜘蛛池模板: 德庆县| 台江县| 辉南县| 巴彦淖尔市| 霍州市| 商南县| 永康市| 洛隆县| 新民市| 山东| 邻水| 金秀| 盐亭县| 伊金霍洛旗| 冕宁县| 兰考县| 土默特左旗| 潜山县| 邢台市| 江油市| 安平县| 古蔺县| 全椒县| 金阳县| 汝州市| 迭部县| 田阳县| 鄄城县| 河西区| 麻栗坡县| 淮南市| 栾川县| 郧西县| 中牟县| 阳朔县| 岐山县| 成都市| 偃师市| 兴安盟| 龙泉市| 泰顺县|