inline-translate.translate { }
inline-translate.translate::before, inline-translate.translate::after { position: relative; top: -1px }
inline-translate.translate::before { content: "$\7b storage.translate.tag.start.prefixSymbol}"; margin-left: 2px; margin-right: 5px }
inline-translate.translate::after { content: "$\7b storage.translate.tag.end.suffixSymbol}"; margin-left: 5px; margin-right: 2px }

Choosing the Right Storage Engine选择合适的存储引擎

A high-level overview of the main reasons for choosing a particular storage engine:有关选择特定存储引擎的主要原因的高层概述:

Topic List主题清单

General Purpose一般用途

  • XtraDB is the best choice in the majority of cases until MariaDB 10.1. 在MariaDB 10.1之前的大多数情况下,XtraDB是最佳选择。It is a performance-enhanced fork of InnoDB and is MariaDB's default engine until MariaDB 10.1. 它是InnoDB的性能增强分支,并且是MariaDB 10.1之前的默认引擎。
  • InnoDB is a good general transaction storage engine. InnoDB是一个很好的常规事务存储引擎。It is the default storage engine from MariaDB 10.2 (as well as MySQL). 它是MariaDB 10.2(以及MySQL)的默认存储引擎。For earlier releases, XtraDB is a performance enhanced fork of InnoDB and is usually preferred. 对于早期版本,XtraDB是InnoDB的性能增强分支,通常是首选。
  • Aria, MariaDB's more modern improvement on MyISAM, has a small footprint and allows for easy copying between systems. MariaDB是对MyISAM的更现代的改进,Aria占用空间小,并且允许在系统之间轻松进行复制。
  • MyISAM has a small footprint and allows for easy copying between systems. MyISAM占用空间小,可轻松在系统之间进行复制。MyISAM is MySQL's oldest storage engine. MyISAM是MySQL最古老的存储引擎。There is usually little reason to use it except for legacy purposes. 除了遗留用途,通常没有其他理由使用它。Aria is MariaDB's more modern improvement. Aria是MariaDB的更现代改进。

Scaling, Partitioning缩放,分区

When you want to split your database load on several servers or optimize for scaling. 当您想要在几台服务器上拆分数据库负载或为扩展而优化时。We also suggest looking at Galera, a synchronous multi-master cluster.我们还建议您查看Galera,一个同步的多主群集。

  • TokuDB is a transactional storage engine which is optimized for workloads that do not fit in memory, and provides a good compression ratio. TokuDB是一个事务存储引擎,针对不适合内存的工作负载进行了优化,并提供了良好的压缩率。
  • Spider uses partitioning to provide data sharding through multiple servers. Spider使用分区来通过多个服务器提供数据分片。
  • ColumnStore utilizes a massively parallel distributed data architecture and is designed for big data scaling to process petabytes of data. ColumnStore利用大规模并行分布式数据架构,专为大数据扩展而设计,以处理PB级数据。
  • The MERGE storage engine is a collection of identical MyISAM tables that can be used as one. MERGE存储引擎是相同的MyISAM表的集合,可以用作一个表。"Identical" means that all tables have identical column and index information. “相同”是指所有表具有相同的列和索引信息。

Compression / Archive压缩/存档

  • MyRocks enables greater compression than InnoDB, as well as less write amplification giving better endurance of flash storage and improving overall throughput. 与InnoDB相比,MyRocks可以实现更大的压缩,并且写入放大更少,从而可以更好地承受闪存存储并提高整体吞吐量。
  • TokuDB is a transactional storage engine which is optimized for workloads that do not fit in memory, and provides a good compression ratio. TokuDB是一个事务存储引擎,针对不适合内存的工作负载进行了优化,并提供了良好的压缩率。
  • The Archive storage engine is, unsurprisingly, best used for archiving. 毫无疑问,存档存储引擎最适合用于存档。

Connecting to Other Data Sources连接到其他数据源

When you want to use data not stored in a MariaDB database. 当您要使用未存储在MariaDB数据库中的数据时。

  • CONNECT allows access to different kinds of text files and remote resources as if they were regular MariaDB tables. CONNECT允许访问不同类型的文本文件和远程资源,就像它们是常规的MariaDB表一样。
  • The CSV storage engine can read and append to files stored in CSV (comma-separated-values) format. CSV存储引擎可以读取并追加到以CSV(逗号分隔值)格式存储的文件。However, since MariaDB 10.0, CONNECT is a better choice and is more flexibly able to read and write such files. 但是,从MariaDB 10.0开始,CONNECT是一个更好的选择,并且能够更灵活地读取和写入此类文件。
  • FederatedX uses libmysql to talk to the data source, the data source being a remote RDBMS. FederatedX使用libmysql与数据源通信,该数据源是远程RDBMS。Currently, since FederatedX only uses libmysql, it can only talk to another MySQL RDBMS. 当前,由于FederatedX仅使用libmysql,因此它只能与另一个MySQL RDBMS通信。
  • CassandraSE is a storage engine allowing access to an older version of Apache Cassandra NoSQL DBMS. CassandraSE是一种存储引擎,允许访问较旧版本的Apache Cassandra NoSQL DBMS。It was relatively experimental, and is no longer being actively developed. 它是相对实验性的,不再被积极开发。

Search Optimized搜索优化

Search engines optimized for search. 针对搜索进行了优化的搜索引擎。

  • SphinxSE is used as a proxy to run statements on a remote Sphinx database server (mainly useful for advanced fulltext searches). SphinxSE用作在远程Sphinx数据库服务器上运行语句的代理(主要用于高级全文搜索)。
  • Mroonga provides fast CJK-ready full text searching using column store. Mroonga使用列存储提供快速的CJK就绪全文搜索。

Cache, Read-only缓存,只读

  • MEMORY does not write data on-disk (all rows are lost on crash) and is best-used for read-only caches of data from other tables, or for temporary work areas. MEMORY不会在磁盘上写入数据(崩溃时所有行都会丢失),并且最适合用于其他表的数据的只读缓存或临时工作区。With the default XtraDB and other storage engines having good caching, there is less need for this engine than in the past. 在默认的XtraDB和其他具有良好缓存的存储引擎的情况下,与过去相比,对该引擎的需求减少了。

Other Specialized Storage Engines其他专用存储引擎

  • S3 Storage Engine is a read-only storage engine that stores its data in Amazon S3. S3 Storage Engine是一个只读存储引擎,将其数据存储在Amazon S3中。
  • Sequence allows the creation of ascending or descending sequences of numbers (positive integers) with a given starting value, ending value and increment, creating virtual, ephemeral tables automatically when you need them. 序列允许创建具有给定起始值,终止值和增量的数字升序或降序(正整数),并在需要时自动创建虚拟的临时表。
  • The BLACKHOLE storage engine accepts data but does not store it and always returns an empty result. BLACKHOLE存储引擎接受数据,但不存储数据,并且始终返回空结果。This can be useful in replication environments, for example, if you want to run complex filtering rules on a slave without incurring any overhead on a master. 例如,如果要在从属服务器上运行复杂的过滤规则而又不会在主服务器上产生任何开销,则这在复制环境中很有用。
  • OQGRAPH allows you to handle hierarchies (tree structures) and complex graphs (nodes having many connections in several directions). OQGRAPH允许您处理层次结构(树结构)和复杂图(节点在多个方向上具有许多连接)。

Alphabetical List按字母顺序排列

  • The Archive storage engine is, unsurprisingly, best used for archiving.毫无疑问,存档存储引擎最适合用于存档。
  • Aria, MariaDB's more modern improvement on MyISAM, has a small footprint and allows for easy copy between systems.MariaDB在MyISAM上进行了更现代的改进,占地面积小,并且允许在系统之间轻松复制。
  • The BLACKHOLE storage engine accepts data but does not store it and always returns an empty result. This can be useful in replication environments, for example, if you want to run complex filtering rules on a slave without incurring any overhead on a master.
  • CassandraSE is a storage engine allowing access to an older version of Apache Cassandra NoSQL DBMS. It was relatively experimental, and is no longer being actively developed.
  • ColumnStore utilizes a massively parallel distributed data architecture and is designed for big data scaling to process petabytes of data.
  • CONNECT allows access to different kinds of text files and remote resources as if they were regular MariaDB tables.
  • The CSV storage engine can read and append to files stored in CSV (comma-separated-values) format. However, since MariaDB 10.0, CONNECT is a better choice and is more flexibly able to read and write such files.
  • FederatedX uses libmysql to talk to the data source, the data source being a remote RDBMS. Currently, since FederatedX only uses libmysql, it can only talk to another MySQL RDBMS.
  • InnoDB is a good general transaction storage engine. 是一个很好的常规事务存储引擎。It is the default storage engine from MariaDB 10.2 (as well as MySQL). 它是MariaDB 10.2(以及MySQL)的默认存储引擎。For earlier releases, XtraDB is a performance enhanced fork of InnoDB and is usually preferred.对于早期版本,XtraDB是InnoDB的性能增强分支,通常是首选。
  • The MERGE storage engine is a collection of identical MyISAM tables that can be used as one. "Identical" means that all tables have identical column and index information.
  • MEMORY does not write data on-disk (all rows are lost on crash) and is best-used for read-only caches of data from other tables, or for temporary work areas. 不会在磁盘上写数据(崩溃时所有行都会丢失),并且最好用于其他表的数据的只读缓存或临时工作区。With the default XtraDB and other storage engines having good caching, there is less need for this engine than in the past.在默认的XtraDB和其他具有良好缓存的存储引擎的情况下,与过去相比,对该引擎的需求减少了。
  • Mroonga provides fast CJK-ready full text searching using column store.
  • MyISAM has a small footprint and allows for easy copying between systems. 占用空间小,可轻松在系统之间进行复制。MyISAM is MySQL's oldest storage engine. MyISAM是MySQL最古老的存储引擎。There is usually little reason to use it except for legacy purposes. 除了遗留用途,通常没有其他理由使用它。Aria is MariaDB's more modern improvement.Aria是MariaDB的更现代改进。
  • MyRocks enables greater compression than InnoDB, as well as less write amplification giving better endurance of flash storage and improving overall throughput.与InnoDB相比,它可以实现更大的压缩,并且写入放大更少,从而使闪存具有更好的耐用性并提高了总体吞吐量。
  • OQGRAPH allows you to handle hierarchies (tree structures) and complex graphs (nodes having many connections in several directions).
  • S3 Storage Engine is a read-only storage engine that stores its data in Amazon S3.
  • Sequence allows the creation of ascending or descending sequences of numbers (positive integers) with a given starting value, ending value and increment, creating virtual, ephemeral tables automatically when you need them.
  • SphinxSE is used as a proxy to run statements on a remote Sphinx database server (mainly useful for advanced fulltext searches).
  • Spider uses partitioning to provide data sharding through multiple servers.
  • TokuDB is a transactional storage engine which is optimized for workloads that do not fit in memory, and provides a good compression ratio.
  • XtraDB is the best choice in the majority of cases until MariaDB 10.1. It is a performance-enhanced fork of InnoDB and is MariaDB's default engine until MariaDB 10.1.

MariaDB 存储引擎一览(官方文档翻译)的更多相关文章

  1. 初识MariaDB存储引擎

    在看MariaDB的存储引擎之前,可以先了解MySQL存储引擎. MySQL常用的存储引擎: MyISAM存储引擎:是MySQL的默认存储引擎.MyISAM不支持事务.也不支持外键,但其访问速度快,对 ...

  2. MariaDB存储引擎

    MariaDB存储引擎 存储引擎就是指表的类型.数据库的存储引擎决定了表在计算机中的存储方式.存储引擎的概念是MariaDB的特点,而且是一种插入式的存储引擎概念.这决定了MariaDB数据库中的表可 ...

  3. SQL高级优化(三)之存储引擎

    一.MySQL数据库引擎简介 1. ISAM(indexed Sequential Access Method) ​ ISAM 是一个定义明确且历经时间考验的数据表格管理方法,它在设计之时就考虑到数据 ...

  4. mariadb的explain分析及InnoDB存储引擎

    id: 当前查询语句中,每个SELECT语句的编号,     id: 1  表示简单类型的查询 复杂类型的查询有三种:简单子查询,用于FROM中的子查询,联合查询:UNION 注意:UNION查询的分 ...

  5. (MariaDB/MySQL)MyISAM存储引擎读、写操作的优先级

    MariaDB/MySQL中使用表级锁的存储引擎(例如MyISAM.Aria(MariaDB对MyISAM引擎的改进,前身是MyISAM))在读(select).写操作(insert.delete.u ...

  6. MariaDB快速选择最适合您的需要的存储引擎

    1.Xtradb和InnoDB是一个很好的通用事物存储引擎.通常不确定选用何种存储引擎时,Xtradb和InnoDB是最佳的选择. 2.MyISAM和Aria,占用空间小,系统之间容易复制.MyISA ...

  7. MySql 官方存储引擎

    存储引擎是为不同的表类型处理 SQL 操作的 MySql 组件.InnoDB 是默认的.最通用的存储引擎,也是官方推荐使用的存储引擎,除非一些特定案例.MySql 5.6 中的 CREATE TABL ...

  8. MySQL/MariaDB数据库的存储引擎

    MySQL/MariaDB数据库的存储引擎 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任.   一.MySQL体系结构 连接管理模块: 负责接收远程用户的连接. 线程管理模块: 维护 ...

  9. Salt Stack 官方文档翻译 - 一个想做dba的sa - 博客频道 - CSDN.NET

    OSNIT_百度百科 Salt Stack 官方文档翻译 - 一个想做dba的sa - 博客频道 - CSDN.NET Salt Stack 官方文档翻译 分类: 自动运维 2013-04-02 11 ...

随机推荐

  1. Smartbi报表制作:25个主流车企月热销表

    今天给大家分享的是 25个主流车企月热销表 这张移动端报表的制作过程. 制作工具:Smartbi云报表 Smartbi云报表是一款基于Office Excel的SAASBI工具,支持在Excel端结合 ...

  2. 使用 Postman 的 Environments 和 Tests 简化在不同环境中的切换步骤

    调试 API 的时候,我们需要经常需要在本地.开发.生产来回切换,还需要面临 Token 失效等的问题,让人头大,看到一些教程有介绍用 Postman 来简化流程,但是实践起来还是遇到一些问题,所以就 ...

  3. SQL Server 2005 - 让 SELECT 查詢結果额外增加递增序号

    /* 方法一*/SELECT 序號= (SELECT COUNT(客戶編號) FROM 客戶 AS LiMing                 WHERE LiMing.客戶編號<= Chan ...

  4. c语言结构体中的一个char数组怎么赋值?

    目录 前景提示 这里的结构体处理的步骤 一.char数组类型的处理 二.char数组指针类型的处理 三.全部代码 1. char数组 2. char数组指针 结语 前景提示 定义一个结构体,结构体中有 ...

  5. [源码解析] NVIDIA HugeCTR,GPU 版本参数服务器---(8) ---Distributed Hash之后向传播

    [源码解析] NVIDIA HugeCTR,GPU 版本参数服务器---(8) ---Distributed Hash之后向传播 目录 [源码解析] NVIDIA HugeCTR,GPU 版本参数服务 ...

  6. killall 、kill 、pkill 命令区别

    转至:https://zhuanlan.zhihu.com/p/87904563 killall 命令 Linux系统中的killall命令用于杀死指定名字的进程(kill processes by ...

  7. tensorflow源码解析之framework-graph

    目录 什么是graph 图构建辅助函数 graph_transfer_info 关系图 涉及的文件 迭代记录 1. 什么是graph graph是TF计算设计的载体,如果拿TF代码的执行和Java代码 ...

  8. vue 控制台错误

    控制台显示报错: Uncaught TypeError: WEBPACK_IMPORTED_MODULE_1_vuex.a.store is not a constructor 解决办法: 将new ...

  9. ArcMap操作随记(9)

    1.类似PS中功能的工具 [镜像要素].[比例].[延伸] 2.快速获得栅格统计参数 [获取栅格属性]工具 3.[编辑器][创建要素][构造工具] 可以右键,输入半径等参数 4.计算面的角度 [计算面 ...

  10. PF4J使用

    PF4J是一个Java轻量级的插件框架,可以实现动态加载,执行,卸载外部插件(支持jar以及zip),具体可以看官网:https://pf4j.org/. 本文例子基于Github地址:https:/ ...