mysql存储引擎InnoDB 1.1、NDB 7.5对比

官网针对NDB和InnoDB进行了多方位的对比:

TheNDBstorage engine is implemented using a distributed, shared-nothing architecture, which causes it to behave differently fromInnoDBin a number of ways. For those unaccustomed to working withNDB, unexpected behaviors can arise due to its distributed nature with regard to transactions, foreign keys, table limits, and other characteristics. These are shown in the following table:

Feature

InnoDB1.1

NDB7.5

MySQL Server Version

5.7

5.7

InnoDBVersion

InnoDB5.7.20

InnoDB5.7.20

NDB Cluster Version

N/A

NDB7.5.8

Storage Limits

64TB

128TB (as of NDB 7.5.2)

Foreign Keys

Yes

Yes

Transactions

All standard types

MVCC

Yes

No

Data Compression

Yes

No (NDB checkpoint and backup files can be compressed)

Large Row Support (> 14K)

Supported forVARBINARY,VARCHAR,BLOB, andTEXTcolumns

Supported forBLOBandTEXTcolumns only (Using these types to store very large amounts of data can lower NDB performance)

Replication Support

Asynchronous and semisynchronous replication using MySQL Replication

Automatic synchronous replication within an NDB Cluster; asynchronous replication between NDB Clusters, using MySQL Replication

Scaleout for Read Operations

Yes (MySQL Replication)

Yes (Automatic partitioning in NDB Cluster; NDB Cluster Replication)

Scaleout for Write Operations

Requires application-level partitioning (sharding)

Yes (Automatic partitioning in NDB Cluster is transparent to applications)

High Availability (HA)

Requires additional software

Yes (Designed for 99.999% uptime)

Node Failure Recovery and Failover

Requires additional software

Automatic (Key element in NDB architecture)

Time for Node Failure Recovery

30 seconds or longer

Typically < 1 second

Real-Time Performance

No

Yes

In-Memory Tables

No

Yes (Some data can optionally be stored on disk; both in-memory and disk data storage are durable)

NoSQL Access to Storage Engine

Yes

Yes (Multiple APIs, including Memcached, Node.js/JavaScript, Java, JPA, C++, and HTTP/REST)

Concurrent and Parallel Writes

Not supported

Up to 48 writers, optimized for concurrent writes

Conflict Detection and Resolution (Multiple Replication Masters)

No

Yes

Hash Indexes

No

Yes

Online Addition of Nodes

Read-only replicas using MySQL Replication

Yes (all node types)

Online Upgrades

No

Yes

Online Schema Modifications

Yes, as part of MySQL 5.7

Yes

NDB Cluster has a range of unique attributes that make it ideal to serve applications requiring high availability, fast failover, high throughput, and low latency. Due to its distributed architecture and multi-node implementation, NDB Cluster also has specific constraints that may keep some workloads from performing well. A number of major differences in behavior between theNDBandInnoDBstorage engines with regard to some common types of database-driven application workloads are shown in the following table::

Workload

NDB Cluster (NDB)

High-Volume OLTP Applications

Yes

Yes

DSS Applications (data marts, analytics)

Yes

Limited (Join operations across OLTP datasets not exceeding 3TB in size)

Custom Applications

Yes

Yes

Packaged Applications

Yes

Limited (should be mostly primary key access)

NDB Cluster 7.5 supports foreign keys

In-Network Telecoms Applications (HLR, HSS, SDP)

No

Yes

Session Management and Caching

Yes

Yes

E-Commerce Applications

Yes

Yes

User Profile Management, AAA Protocol

Yes

Yes

When comparing application feature requirements to the capabilities ofInnoDBwithNDB, some are clearly more compatible with one storage engine than the other.

The following table lists supported application features according to the storage engine to which each feature is typically better suited.

Preferred application requirements forInnoDB

Preferred application requirements forNDB

Foreign keys

Note

NDB Cluster 7.5 supports foreign keys

Full table scans

Very large databases, rows, or transactions

Transactions other thanREAD COMMITTED

Write scaling

99.999% uptime

Online addition of nodes and online schema operations

Real-time performance

Limited use ofBLOBcolumns

Foreign keys are supported, although their use may have an impact on performance at high throughput

参考资料:





mysql引擎innodb与ndb比较_mysql存储引擎InnoDB 1.1、NDB 7.5对比相关推荐

  1. mysql innodb和myisam区别_MySQL?存储引擎简介

    ​大家好,我是anyux.本文介绍MySQL存储引擎. 简介 相当于Linux文件系统,只不过比文件系统强大 功能 数据读写 数据安全和一致性 提高性能 热备份 自动故障恢复 高可用方面支持 引擎类别 ...

  2. mysql数据库应用模式与特点_MySQL存储引擎的实际应用以及对MySQL数据库中各主要存储引擎的独特特点的描述...

    MySQL存储引擎的实际应用以及对MySQL数据库中各主要存储引擎的独特特点的描述: 1.MySQL有多种存储引擎: MyISAM.InnoDB.MERGE.MEMORY(HEAP).BDB(Berk ...

  3. MySQL存储引擎与数据的关系_MySQL存储引擎与数据类型

    1 数据存储引擎 存储引擎的概念是MySQL的一个特性,它指定了表的类型(诸如表怎样存储与索引数据.是否支持事务.外键等),表在计算机中的存储方式. 1.1 MySql支持的数据存储引擎 查看引擎信息 ...

  4. mysql模板引擎_MYSQL存储引擎解释

    存储引擎解释 首先确定一点,存储引擎的概念是MySQL里面才有的,不是所有的关系型数据库都有存储引擎这个概念, ​ MySQL支持多种存储引擎,每种引擎有着一些自己独特的功能,用户在使用的时候,可以根 ...

  5. mysql引擎总结_MySQL存储引擎对比总结

    存储引擎是数据库的核心,对于mysql来说,存储引擎是以插件的形式运行的.虽然mysql支持种类繁多的存储引擎,但是常用的就那么几种.这篇文章主要是对其进行一个总结和对比. 一.引言 在mysql5之 ...

  6. mysql存储引擎 索引优化_MySQL存储引擎,索引及基本优化策略

    存储引擎 与Oracle, SQL Server这些数据库不同,MySQL提供了多种存储引擎.什么是存储引擎?存储引擎其实就是一套对于数据如何存储,查询,更新,建立索引等接口的实现.不同存储引擎特性有 ...

  7. mysql 存储引擎_MySQL存储引擎

    数据库存储引擎是数据库底层软件组织,数据库管理系统(DBMS)使用数据引擎进行创建.查询.更新和删除数据.不同的存储引擎提供不同的存储机制.索引技巧.锁定水平等功能,使用不同的存储引擎,还可以获得特定 ...

  8. MySQL中的存储引擎讲解(InnoDB,MyISAM,Memory等各存储引擎对比)

    MySQL中的存储引擎: 1.存储引擎的概念 2.查看MySQL所支持的存储引擎 3.MySQL中几种常用存储引擎的特点 4.存储引擎之间的相互转化 一.存储引擎 1.存储引擎其实就是如何实现存储数据 ...

  9. MySQL笔记:第05章_存储引擎

    第05章_存储引擎 1. 查看存储引擎 2. 设置系统默认的存储引擎 3. 设置表的存储引擎 3.1 创建表时指定存储引擎 3.2 修改表的存储引擎 4. 引擎介绍 4.1 InnoDB 引擎:具备外 ...

最新文章

  1. Maven 学习之旅
  2. wait(),notify(),notifyAll()进行了详细的分析介绍
  3. Console-算法[for,if]-一堆桃子和一只猴子
  4. Node.js 国产 MVC 框架 ThinkJS 开发 config 篇
  5. 远控免杀专题12--Green-Hat-Suite免杀
  6. 计算机图形学应用:java2d和3d_?硬核儿童节礼物:MIT学神、太极作者胡渊鸣送你一门计算机课程...
  7. 电力企业计量生产需求系统解决方案
  8. 小C语言程序----词法分析程序输出单词
  9. PAT 1090 危险品装箱(25 分)- 乙级
  10. python教程我要自学网-我要自学网--json 数据解析-python。
  11. Erlang中的RSA签名
  12. Java项目开发流程
  13. 程序员趣图:有时候我的代码就是这样子……
  14. 基于Java毕业设计校园社团管理平台源码+系统+mysql+lw文档+部署软件
  15. Web-big、html、css、JavaScript、vue、webpack、git、微信小程序、uni-app、性能优化、兼容性、网络请求、web安全、其他
  16. java企业邮箱发送_Spring boot 的腾讯企业邮箱发送 实例
  17. 大创项目学习日志(一)——中文分词软件的选择与尝试
  18. Encoder编码器、Decoder解码器
  19. 人机交互系统与自动化技术
  20. fme和python-docx结合实现批量按指定位置插入图片、文本等信息

热门文章

  1. 没错!Python 杀死了 Excel!
  2. 裸奔时代,如何找回自己的隐私?
  3. 华为悬红“奥林帕斯奖”,促进数据产业基础技术研究与生态建设
  4. 详解 URLLC 前世今生,你 Get 了吗?
  5. 荣耀赵明 “Diss” 5G 手机;甲骨文创始人埃里森:Uber 一文不值;Chrome 77 发布 | 极客头条...
  6. 这款老不死的笔记本,产品小姐姐的最爱......
  7. 取代不了 C/C++ 的 Rust 如何“逆袭”?
  8. Google 产品的消亡史!
  9. 字节跳动(今日头条),战斗力为何如此凶猛?| 畅言
  10. 这些数据库领域的大事你知道多少?