14.8.2 Verifying File Format Compatibility 校验文件格式兼容性:
14.8.2 Verifying File Format Compatibility 校验文件格式兼容性: 14.8.2.1 Compatibility Check When InnoDB Is Started
14.8.2.2 Compatibility Check When a Table Is Opened InnoDB 包含几个检查来防范可能的crashes 和数据腐败 如果你运行一个老版本的MySQL 服务器 在 InnoDB 数据文件 使用一个新的文件格式。 那些检查发生当server 启动时,和你第一次访问表时。 这个章节描述那些检查, 你如何控制它们,错误和警告条件你可能产生 向后兼容性: 你需要考虑向后文件格式兼容当使用一个最新 版本的InnoDB(MySQL 5.5 and higher with InnoDB) 和一个老的版本(MySQL 5.1 or earlier, 使用内置的InnoDB相比InnoDB 插件) 一般来说, 一个新的InnoDB 版本可能创建一个表或者索引,不能安全的被读取或者写 在一个老版本的InnoDB 没有crahs的风险,hangs,错误的结果。 InnoDB 包含一种极其来防范这些状况, 并帮助保护数据文件之间的兼容性和InnoDB 的版本。 这种机制让你可以利用一些InnoDB 新的功能( 比如性能改进和bug解决) 如果一个InnoDB 版本支持一个特定的文件格式( 不管是否是默认), 你可以查询和更新任何表,需要这个格式或者一个早期的格式。 只有新创建的表使用新的格式是被限制的,基于特定的文件格式。 相反,如果一个tablespace 包含一个表或者索引使用一个文件格式不被支持, 它不能被访问,甚至读访问。 唯一的方式降级一个Innodb tablespace 到一个早期的Antelope file format 是拷贝数据到新表,在一个tablespace 使用早期的格式。 最简单的方式确定一个存在的InnoDB 表空间的文件格式是检查表的属性, 使用SHOW TABLE STATUS 命令或者查询表 INFORMATION_SCHEMA.TABLES. 如果表的Row_format 为as 'Compressed' or 'Dynamic', 表空间包含的表是使用Barracuda format. 否则 它使用Antelope Internal Details 内部的细节: 每个InnoDB file-per-table tablespace(用 *.ibd file表示) 文件是标记为一个文件格式表示。 system tablespaace(表现为ibdata文件)是标记为最高的文件格式在InnoDB 数据文件里, 创建一个压缩表,或者一个表使用ROW_FORMAT=DYNAMIC, 更新 相应的 file-per-table 的文件头。 .ibd 文件和表类型 在InnoDB data 目录使用Barracuda file format. ib-file 定义: 为了避免混乱,讨论的目的是我们定义 术语 “ib-file set” 来意味着操作系统的文件集, InnoDB 管理作为一个单元,ib-file 集包含下面的文件; 1.system tablespace (一个或者多个ibdata文件)包含了内部的系统信息
(包含内部的catalogs和undo 信息) ,也可能包含user data和indexes. 2. 0个或者6个 single-table tablespaces (也被称为“file per table” files, named *.ibd files). 3.InnoDB log files,通常两个, ib_logfile0 and ib_logfile1. 用于crash recovery 和备份 An “ib-file set” 不包含相应的.frm文件包含metadata关于InnoDB表。 .frm 文件是mysql创建和管理
14.8.2 Verifying File Format Compatibility 校验文件格式兼容性:的更多相关文章
- 14.8.1 Enabling File Formats
14.8 InnoDB File-Format Management 14.8.1 Enabling File Formats 14.8.2 Verifying File Format Compati ...
- 14.8.3 Identifying the File Format in Use 确认使用的文件格式;
14.8.3 Identifying the File Format in Use 确认使用的文件格式: 如果 你启用一个不同的文件格式使用 innodb_file_format configurat ...
- JVM Specification 9th Edition (4) Chapter 4. The class File Format
Chapter 4. The class File Format Table of Contents 4.1. The ClassFile Structure 4.2. Names 4.2.1. Bi ...
- Java class file format specfication
Java class file format spec Link: https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html Her ...
- Does the OpenSceneGraph have a native file format?
From OpenSceneGraph-3.0 onwards we have new native file formats based on generic serializers that ar ...
- 3ds Max File Format (Part 3: The department of redundancy department; Config)
Now we'll have a look at the Config stream. It begins like follows, and goes on forever with various ...
- could not read symbols: File format not recognized
arm-linux-gnueabi-readelf工具解决问题 编译一个32位平台的内核时,出现如下错误提示: libschw.a: could not read symbols: File form ...
- VMWare File Format Learning && Use VHD File To Boot VMWare && CoreOS Docker Configuration And Running
目录 . Virtual Machine Introduce . Vmware Image File Format . VHD File Format . Convert VHD File Into ...
- 配置tomcat连接器后,启动服务报错“No Certificate file specified or invalid file format"异常
1:原来的配置是 <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true&quo ...
随机推荐
- Python之路Day9
摘要: 协程 Select\Poll\Epoll异步IO与事件驱动 Python连接MySQL数据库操作 RabbitMQ队列 Redis\Memcached缓存 Paramiko Twsited网络 ...
- MVC整个样例的源代码
以下就是整MVC样例的源代码: #windows应用程序 #开发者:蔡军生(QQ:9073204) 深圳 2014-9-24 #使用类来描写叙述 from ctypes import * from c ...
- PHP - 防止 XSS(跨站脚本攻击)
<?PHP /** * @blog http://www.phpddt.com * @param $string * @param $low 安全别级低 */ function clean_xs ...
- Mars的mp3实例
Mars的mp3实例第一课: 关于menu: package mars.mp3player01; import mars.down.HttpDownloader; import android.app ...
- JVM --需要知道的一些术语
1. Java堆中各代分布: Young:主要是用来存放新生的对象. Old:主要存放应用程序中生命周期长的内存对象. Permanent:是指内存的永久保存区域,主要存放Class和Meta的信息, ...
- JRE 和 JDK 的区别是什么?
JRE: Java Runtime Environment JDK:Java Development Kit JRE顾名思义是java运行时环境,包含了java虚拟机,java基础类库.是使用java ...
- 在Windows下用Eclipse+CDT+MinGW搭建C++开发平台
本文提供了在Windows下用Eclipse+CDT+MinGW搭建C / C++开发平台的方法, 测试平台为Windows XP Sp2 CHS. 以下软件均为Windows平台下的版本. 1. ...
- OGR – Merging Multiple SHP files
So I have 25 shapefiles with data for 25 counties, and I want to merge them all into one shapefile. ...
- Swift - .plist文件数据的读取和存储
每次在Xcode中新建一个iOS项目后,都会自己产生一个.plist文件,里面记录项目的一些配置信息.我们也可以自己创建.plist文件来进行数据的存储和读取. .plist文件其实就是一个XML格式 ...
- NVelocity 实例
using System; using System.IO; using System.Collections; using System.Collections.Generic; using Sys ...