MariaDB 存储引擎一览(官方文档翻译)
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选择合适的存储引擎
Contents内容
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 存储引擎一览(官方文档翻译)的更多相关文章
- 初识MariaDB存储引擎
在看MariaDB的存储引擎之前,可以先了解MySQL存储引擎. MySQL常用的存储引擎: MyISAM存储引擎:是MySQL的默认存储引擎.MyISAM不支持事务.也不支持外键,但其访问速度快,对 ...
- MariaDB存储引擎
MariaDB存储引擎 存储引擎就是指表的类型.数据库的存储引擎决定了表在计算机中的存储方式.存储引擎的概念是MariaDB的特点,而且是一种插入式的存储引擎概念.这决定了MariaDB数据库中的表可 ...
- SQL高级优化(三)之存储引擎
一.MySQL数据库引擎简介 1. ISAM(indexed Sequential Access Method) ISAM 是一个定义明确且历经时间考验的数据表格管理方法,它在设计之时就考虑到数据 ...
- mariadb的explain分析及InnoDB存储引擎
id: 当前查询语句中,每个SELECT语句的编号, id: 1 表示简单类型的查询 复杂类型的查询有三种:简单子查询,用于FROM中的子查询,联合查询:UNION 注意:UNION查询的分 ...
- (MariaDB/MySQL)MyISAM存储引擎读、写操作的优先级
MariaDB/MySQL中使用表级锁的存储引擎(例如MyISAM.Aria(MariaDB对MyISAM引擎的改进,前身是MyISAM))在读(select).写操作(insert.delete.u ...
- MariaDB快速选择最适合您的需要的存储引擎
1.Xtradb和InnoDB是一个很好的通用事物存储引擎.通常不确定选用何种存储引擎时,Xtradb和InnoDB是最佳的选择. 2.MyISAM和Aria,占用空间小,系统之间容易复制.MyISA ...
- MySql 官方存储引擎
存储引擎是为不同的表类型处理 SQL 操作的 MySql 组件.InnoDB 是默认的.最通用的存储引擎,也是官方推荐使用的存储引擎,除非一些特定案例.MySql 5.6 中的 CREATE TABL ...
- MySQL/MariaDB数据库的存储引擎
MySQL/MariaDB数据库的存储引擎 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 一.MySQL体系结构 连接管理模块: 负责接收远程用户的连接. 线程管理模块: 维护 ...
- Salt Stack 官方文档翻译 - 一个想做dba的sa - 博客频道 - CSDN.NET
OSNIT_百度百科 Salt Stack 官方文档翻译 - 一个想做dba的sa - 博客频道 - CSDN.NET Salt Stack 官方文档翻译 分类: 自动运维 2013-04-02 11 ...
随机推荐
- 蓝桥杯2022年java试题
一:基础练习: (本文只附代码,解析后续修改后添上) 1.a+b问题: 代码如下: 1 import java.util.*; 2 public class Main { 3 public stati ...
- 【C# IO 操作 】IFormatProvider接口|IFormattable 接口 格式化接口
IFormatProvider接口获取一个满足要求的个格式化器. 方法 object? GetFormat(Type? formatType);GetFormat方法主要提供一个满足指定要求的对象,该 ...
- linux光盘使用、rpm软件包、yum软件仓库安装使用
转至:https://blog.51cto.com/zpeng/1532520 一.光盘文件使用 1,RHEL5(x86_64)光盘结构 Cluster //集群二进制包 C ...
- java 读取xlsx文件
public class ReadExcel { public static void main(String[] args) { Workbook wb = null; Sheet sheet = ...
- QT:异常、错误
1.Unknown module(s) in QT: xxx 原因1:我们的QT中没有安装这个Module 解决方法:Unknown module(s) 与MaintenanceTool.exe更新. ...
- websocket原理和基于c/c++实现的websocket协议栈(更新中)
参考: 博客1:http://blog.sina.com.cn/s/blog_bf397e780102w25k.html https://www.cnblogs.com/barrywxx/p/7412 ...
- html续篇及初识爬虫
今日内容概要 form表单 requests模块 可以模拟浏览器朝服务端发送各式各样的请求 cookie与session requests模块小案例(网站的基本防爬措施) 今日内容详细 form表单 ...
- JZ-001-二维数组中的查找
二维数组中的查找 题目描述 在一个二维数组中(每个一维数组的长度相同),每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序.请完成一个函数,输入这样的一个二维数组和一个整数,判断数 ...
- 基于kubernetes平台微服务的部署
基于kubernetes平台微服务的部署 首先下载插件: kubernetes Continuous Deploy 然后去找 .kube/ 里的config 复制里面的内容 去添加凭据: 然后就是脚本 ...
- 【一周聚焦】 联邦学习 arxiv 2.16-3.10
这是一个新开的每周六定期更新栏目,将本周arxiv上新出的联邦学习等感兴趣方向的文章进行总结.与之前精读文章不同,本栏目只会简要总结其研究内容.解决方法与效果.这篇作为栏目首发,可能不止本周内容(毕竟 ...