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. Hbuilderx换行问题(属性合并一行展示)

    1. 标签折行,非吾所愿(格式化代码快捷键:Ctrl + K)  2. 打开工具-设置 3. 点击左侧插件配置,点击右边下侧jsbeautify 4. 将原本的折行长度由120改为1200(长度可根据 ...

  2. webpack5学习

    目录 1. Why Webpack? 2. Webpack上手 2.1 Webpack功能 2.2 需要安装的包 2.3 简易命令 3. Webpack配置文件 3.1 局部webpack打包 3.2 ...

  3. 如何利用Smartbi做数据分析:2018内5月热销乘用车分析报告

    在2018年第一季度热销乘用车分析报告中,SUV以总体销量15.4%的同比增长率让人不可小觑,Smartbi刚得到5月分析的数据就迫不及待的来看看是否热度不减,结果在5月这个所谓汽车销售淡季,轿车以9 ...

  4. linux中jupyter notebook中切换虚拟环境

    python -m ipykernel install --user --name 虚拟环境名称 --display-name "虚拟环境名称" 然后再打开jupyter note ...

  5. JZ-019-顺时针打印矩阵

    顺时针打印矩阵 题目描述 输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字,例如,如果输入如下4 X 4 矩阵: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 ...

  6. Elasticsearch-CentOS7单机安装测试

    排版比较丑,但按照此步骤执行一定会搭建成功. 一.环境描述及准备 1.下载Elasticsearch包 curl -L -O https://artifacts.elastic.co/download ...

  7. MATLAB神经网络应用设计【1】

    基于看到一个博客的大佬说自己学的东西太多了,很容易遗忘.我觉得我目前也出现这样的问题了,所以在这里开了博客,开始记录整理自己的学习之旅.   今天看了这本书的前几章,看这个书的目的是为了1个多月后的数 ...

  8. ARP攻击的发现、攻击原理、攻击方式、防护,竟然这么简单?!

    ARP协议概述 ARP协议(address resolution protocol)地址解析协议. 一台主机和另一台主机通信,要知道目标的IP地址,但是在局域网中传输数据的网卡却不能直接识别IP地址, ...

  9. Spark ML源码分析之三 分类器

            前面跟大家扯了这么多废话,终于到具体的机器学习模型了.大部分机器学习的教程,总要从监督学习开始讲起,而监督学习的众多算法当中,又以分类算法最为基础,原因在于分类问题非常的单纯直接,几乎 ...

  10. WPF关于绑定与更新修改

    看到一些资料与教程视频,在这里记录一下, 首先 我们先做好一个公共的INotifyPropertyChanged事件,也就是通知更新 public class ViewModelBase : INot ...