zoukankan      html  css  js  c++  java
  • innodb_index_stats

    mysql> select * from mysql.innodb_index_stats WHERE        database_name='test' and table_name='recordsInRangeTest';
    +---------------+--------------------+--------------+---------------------+--------------+------------+-------------+-----------------------------------+
    | database_name | table_name         | index_name   | last_update         | stat_name    | stat_value | sample_size | stat_description                  |
    +---------------+--------------------+--------------+---------------------+--------------+------------+-------------+-----------------------------------+
    | test          | recordsInRangeTest | PRIMARY      | 2018-07-14 04:27:29 | n_diff_pfx01 |      24290 |          20 | id                                |
    | test          | recordsInRangeTest | PRIMARY      | 2018-07-14 04:27:29 | n_leaf_pages |         55 |        NULL | Number of leaf pages in the index |
    | test          | recordsInRangeTest | PRIMARY      | 2018-07-14 04:27:29 | size         |         97 |        NULL | Number of pages in the index      |
    | test          | recordsInRangeTest | idx_age      | 2018-07-14 04:27:29 | n_diff_pfx01 |          6 |          29 | age                               |
    | test          | recordsInRangeTest | idx_age      | 2018-07-14 04:27:29 | n_diff_pfx02 |      24576 |          29 | age,id                            |
    | test          | recordsInRangeTest | idx_age      | 2018-07-14 04:27:29 | n_leaf_pages |         29 |        NULL | Number of leaf pages in the index |
    | test          | recordsInRangeTest | idx_age      | 2018-07-14 04:27:29 | size         |         30 |        NULL | Number of pages in the index      |
    | test          | recordsInRangeTest | idx_age_name | 2018-07-14 04:27:29 | n_diff_pfx01 |          6 |          30 | name                              |
    | test          | recordsInRangeTest | idx_age_name | 2018-07-14 04:27:29 | n_diff_pfx02 |         11 |          30 | name,age                          |
    | test          | recordsInRangeTest | idx_age_name | 2018-07-14 04:27:29 | n_diff_pfx03 |      24576 |          30 | name,age,id                       |
    | test          | recordsInRangeTest | idx_age_name | 2018-07-14 04:27:29 | n_leaf_pages |         30 |        NULL | Number of leaf pages in the index |
    | test          | recordsInRangeTest | idx_age_name | 2018-07-14 04:27:29 | size         |         31 |        NULL | Number of pages in the index      |
    | test          | recordsInRangeTest | idx_name     | 2018-07-14 04:27:29 | n_diff_pfx01 |          6 |          25 | name                              |
    | test          | recordsInRangeTest | idx_name     | 2018-07-14 04:27:29 | n_diff_pfx02 |      24576 |          25 | name,id                           |
    | test          | recordsInRangeTest | idx_name     | 2018-07-14 04:27:29 | n_leaf_pages |         25 |        NULL | Number of leaf pages in the index |
    | test          | recordsInRangeTest | idx_name     | 2018-07-14 04:27:29 | size         |         26 |        NULL | Number of pages in the index      |
    +---------------+--------------------+--------------+---------------------+--------------+------------+-------------+-----------------------------------+
    

      

    MySQL限时解答,24小时内友哥专业解答
    http://www.yougemysqldba.com
    如有进一步需要请联系微信onesoft007
    微博账号@友哥一指
  • 相关阅读:
    Code Generation and T4 Text Templates
    Pros and Cons of T4 in Visual Studio 2008
    PSPInstance Object | Web Python
    Mod_Python中文文档
    [Medusa-dev] psp_handler
    Difference Between Mod_Python & Mod_Wsgi | eHow
    Mod_python: The Long Story
    HOWTO Use Python in the web — Python v3.0.1 documentation
    Js~对数组进行分组户数
    大叔也说并行和串行`性能提升N倍(N由操作系统位数和cpu核数决定)
  • 原文地址:https://www.cnblogs.com/youge-OneSQL/p/9467977.html
Copyright © 2011-2022 走看看