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

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.
主站蜘蛛池模板: 宁武县| 永登县| 玛曲县| 慈溪市| 饶阳县| 巩留县| 新田县| 大同市| 马尔康县| 齐河县| 泰来县| 浦北县| 九台市| 津南区| 叶城县| 武山县| 金寨县| 乌兰浩特市| 边坝县| 满城县| 葫芦岛市| 信丰县| 八宿县| 奇台县| 吉安市| 德钦县| 伊宁县| 开封市| 高碑店市| 新干县| 湘乡市| 建平县| 绥棱县| 鹤峰县| 尚义县| 榕江县| 中宁县| 石渠县| 酒泉市| 尉氏县| 庆元县|