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

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.
主站蜘蛛池模板: 湖南省| 淳化县| 临西县| 沈丘县| 阿勒泰市| 杨浦区| 阳东县| 左贡县| 菏泽市| 保山市| 永寿县| 重庆市| 祁阳县| 肃南| 广南县| 永寿县| 博罗县| 长宁县| 昭平县| 库尔勒市| 锡林浩特市| 台江县| 德庆县| 延川县| 万安县| 滦南县| 禹城市| 陵川县| 南宁市| 青龙| 西华县| 湟源县| 射洪县| 孝昌县| 正镶白旗| 乐至县| 伽师县| 汝南县| 岳西县| 绥江县| 乐东|