• 14.8.3 Identifying the File Format in Use 确认使用的文件格式;


    14.8.3 Identifying the File Format in Use  确认使用的文件格式;
    
    
    如果 你启用一个不同的文件格式使用 innodb_file_format configuration 选项
    
    
    mysql> show variables like '%innodb_file_format%';
    +--------------------------+----------+
    | Variable_name            | Value    |
    +--------------------------+----------+
    | innodb_file_format       | Antelope |
    | innodb_file_format_check | ON       |
    | innodb_file_format_max   | Antelope |
    +--------------------------+----------+
    3 rows in set (0.00 sec)
    
    
    改变只应用于新创建的表。另外,当你创建一个新的表,tablespace 包含表是被标记为  “earliest” or “
    
    simplest”
    
    文件格式需要支持表的特性。
    
    比如,
    你启用Barracuda 文件格式,创建的新表不会使用Dynamic or Compressed 行格式,
    
    
    新的表空间包含的表是标记为使用Antelope file format .
    
    
    很容易识别文件格式通过使用一个给定的表,表使用Antelope 文件格式
    
    如果row format 通过 SHOW TABLE STATUS 显示为Compact or Redundant. 
    
    
    表使用Barracuda file format 如果 SHOW TABLE STATUS显示为Compressed or Dynamic.
    
    
    *************************** 145. row ***************************
               Name: tmp10
             Engine: InnoDB
            Version: 10
         Row_format: Compact
               Rows: 1443
     Avg_row_length: 56
        Data_length: 81920
    Max_data_length: 0
       Index_length: 0
          Data_free: 0
     Auto_increment: NULL
        Create_time: 2015-11-19 14:54:33
        Update_time: NULL
         Check_time: NULL
          Collation: utf8_general_ci
           Checksum: NULL
     Create_options: 
            Comment: 
    

  • 相关阅读:
    图解建立三层架构
    c#和javascript交互
    UML类图
    机器学习算法之一(C4.5)
    html5新语义元素
    Hybrid App:企业移动开发
    解决Eclipse中运行WordCount出现 java.lang.ClassNotFoundException: org.apache.hadoop.examples.WordCount$TokenizerMapper问题【转】
    Hadoop 0.20.2 安装配置说明【转】
    2 宽度优先爬虫和带偏好的爬虫(1)
    Geolocation地理定位
  • 原文地址:https://www.cnblogs.com/zhaoyangjian724/p/6199697.html
Copyright © 2020-2023  润新知