14.2 InnoDB and the ACID Model
来源:互联网 发布:淘宝买快排会查下来吗 编辑:程序博客网 时间:2024/06/05 05:22
14.2 InnoDB and the ACID ModelACID 模型是一组数据库设计原则,强调可靠性方面对于商业数据和关键人物。MySQL 包含组件比如InnoDB存储引擎坚持ACID 模型,这样数据不会被破坏和结果不受特殊条件的弯曲 比如软件crashes 和硬件故障当你依靠ACID兼容的功能, 你不需要重复发明一致性检查和 crash recovery机制。如果你有额外的软件保障的情况下, 超可靠的硬件,一个应用可以容忍小量数据丢失或者不一致,你可以调整MySQL 设置来交换ACID 可靠性的一些对于更好的性能和吞吐量下面的章节讨论MySQL的特点, 特别是InnoDB存储引擎,与ACID模型交互: A: atomicity. C: consistency. I:: isolation. D: durability. 原子性:ACID 模型的原子性方面主要涉及InnoDB 事务,MySQl相关的功能包含:1.自动提交设置2. 提交语句3. 回滚语句4.从INFORMATION_SCHEMA 操作数据一致性:ACID 模型的一致性方面主要涉及 internal InnoDB 处理来保护数据(crash),Mysql相关功能包括: InnoDB doublewrite buffer. InnoDB crash recovery. 隔离:ACID 模型的隔离方面主要涉及InnoDB 事务, 特别适用于交易系统1.Autocommit 自动提交设置2.SET ISOLATION LEVEL statement. 3. InnoDB 锁low-level 细节, 在性能调优,你可以查询那些细节通过INFORMATION_SCHEMA tables. Durability 耐久性:ACID 模型的耐久性方面涉及MySQL 软件功能和你的特定的硬件配置交互。很多可能的取决于你的CPU,网络,存储设备,1. InnoDB doublewrite buffer, 开启和关闭通过innodb_doublewrite configuration option.2.Configuration option innodb_flush_log_at_trx_commit. 3.Configuration option sync_binlog. 4.Configuration option innodb_file_per_table. 5.写buffer 到一个存储设备,比如磁盘,ssd或者raid阵列
0 0
- 14.2 InnoDB and the ACID Model
- 14.2.1 MySQL and the ACID Model
- 14.2.1 MySQL and the ACID Model
- 14.2.2 The InnoDB Transaction Model and Locking InnoDB 事务模型和锁定
- innodb ACID
- create the model and table
- Synchronization and the Java Memory Model
- 《The query-flow graph: model and applications》
- Synchronization and the Java Memory Model
- Synchronization and the Java Memory Model
- CAML and the Client Object Model
- 10021---Compose and Model the Merchandise Shop
- ACID and BASE 模型
- Transaction and ACID
- Differences Between the NDB and InnoDB Storage Engines
- MySQL Dumping and Reloading the InnoDB Buffer Pool(MySQLdump和重载InnoDB缓冲池)
- Smart Client Application Model and the .NET Framework 1.1
- [收藏]SOA:The Subscriber-Publisher Model, Introduction and Implementation
- Zip Utils--简单优雅的C++接口
- 2016acmicpc现场赛大连赛区D题
- Codeforces Round #374 (Div. 2) C. Journey DP
- C# AD操作
- aapt的常用命令
- 14.2 InnoDB and the ACID Model
- 简单的SSH整合
- intellij idea2016 linux springboot项目下解决热部署问题
- C#操作域用户
- 【poj 1330】 Nearest Common Ancestors
- MySQL数据备份方案(兼容本地和远程)
- 利用HTML5的本地存储制作的个性化导航页
- 解决yum install redhat-lsb遇到的问题
- 我的爸爸是xiang目经理.....