Commit 5fdeeb72 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent be8030b7
......@@ -312,3 +312,216 @@ Tokudb_txn_commits : 262138
Uptime : 369 +2
Uptime_since_flush_status : 2 +2
(0.431)
----------------------------------------
MariaDB [information_schema]> select table_schema, table_name, row_format, table_rows, avg_row_length, data_length, index_length, data_free, auto_increment, create_time, update_time, check_time from tables where table_schema like 'neo%' order by table_name, table_schema;
+--------------+------------+------------+------------+----------------+-------------+--------------+-------------+----------------+---------------------+---------------------+------------+
| table_schema | table_name | row_format | table_rows | avg_row_length | data_length | index_length | data_free | auto_increment | create_time | update_time | check_time |
+--------------+------------+------------+------------+----------------+-------------+--------------+-------------+----------------+---------------------+---------------------+------------+
| neo0 | bigdata | Dynamic | 0 | 0 | 0 | 0 | 12288 | 1 | 2016-08-12 08:45:49 | 2016-08-12 08:45:49 | NULL |
| neo1 | bigdata | Dynamic | 0 | 0 | 0 | 0 | 12288 | 1 | 2016-08-15 10:34:35 | 2016-08-15 10:34:35 | NULL |
| neo2 | bigdata | Dynamic | 0 | 0 | 0 | 0 | 12288 | 1 | 2016-08-24 15:10:35 | 2016-08-24 15:10:35 | NULL |
| neo3 | bigdata | Dynamic | 0 | 0 | 0 | 0 | 12288 | 1 | 2016-08-24 15:10:35 | 2016-08-24 15:10:35 | NULL |
| neo0 | config | Dynamic | 7 | 47 | 332 | 0 | 12288 | NULL | 2016-08-12 08:45:48 | 2016-09-23 23:43:31 | NULL |
| neo1 | config | Dynamic | 6 | 14 | 87 | 0 | 12288 | NULL | 2016-08-15 10:34:34 | 2016-09-23 23:43:31 | NULL |
| neo2 | config | Dynamic | 6 | 14 | 87 | 0 | 12288 | NULL | 2016-08-24 15:10:33 | 2016-09-23 23:43:31 | NULL |
| neo3 | config | Dynamic | 6 | 14 | 87 | 0 | 12288 | NULL | 2016-08-24 15:10:33 | 2016-09-23 23:43:31 | NULL |
| neo0 | data | Dynamic | 16255962 | 837 | 13616514473 | 500663640 | 19836116992 | 73565233 | 2016-08-12 08:45:49 | 2016-09-27 08:58:32 | NULL |
| neo1 | data | Dynamic | 24899569 | 589 | 14672673448 | 763530620 | 791969792 | 44011519 | 2016-08-15 10:34:35 | 2016-09-27 08:58:32 | NULL |
| neo2 | data | Dynamic | 17675483 | 820 | 14506300363 | 547556937 | 168673280 | 20105887 | 2016-08-24 15:10:34 | 2016-09-27 08:58:32 | NULL |
| neo3 | data | Dynamic | 18977510 | 808 | 15338224987 | 588298253 | 125386752 | 21612879 | 2016-08-24 15:10:34 | 2016-09-27 08:59:31 | NULL |
| neo0 | obj | Fixed | 18448788 | 35 | 645745380 | 1168467340 | 22622208 | NULL | 2016-09-22 18:01:22 | 2016-09-27 08:58:32 | NULL |
| neo1 | obj | Fixed | 27752111 | 35 | 971324317 | 1772084911 | 54521856 | NULL | 2016-09-22 17:32:08 | 2016-09-27 08:58:32 | NULL |
| neo2 | obj | Fixed | 20044618 | 35 | 701561630 | 1302087095 | 517484544 | NULL | 2016-08-25 08:27:41 | 2016-09-27 08:58:32 | NULL |
| neo3 | obj | Fixed | 21550351 | 35 | 754262285 | 1400527838 | 616304640 | NULL | 2016-08-25 08:27:37 | 2016-09-27 08:59:31 | NULL |
| neo0 | pt | Fixed | 12 | 10 | 120 | 0 | 12288 | NULL | 2016-09-20 22:26:18 | 2016-09-23 23:43:31 | NULL |
| neo1 | pt | Fixed | 12 | 10 | 120 | 0 | 12288 | NULL | 2016-09-20 22:26:13 | 2016-09-23 23:43:31 | NULL |
| neo2 | pt | Fixed | 12 | 10 | 120 | 0 | 12288 | NULL | 2016-09-20 22:26:11 | 2016-09-23 23:43:31 | NULL |
| neo3 | pt | Fixed | 12 | 10 | 120 | 0 | 12288 | NULL | 2016-09-20 22:26:11 | 2016-09-23 23:43:31 | NULL |
| neo0 | tobj | Fixed | 0 | 0 | 0 | 0 | 110592 | NULL | 2016-09-20 22:26:55 | 2016-09-27 08:58:32 | NULL |
| neo1 | tobj | Fixed | 0 | 0 | 0 | 0 | 110592 | NULL | 2016-09-20 22:26:53 | 2016-09-27 08:58:32 | NULL |
| neo2 | tobj | Fixed | 0 | 0 | 0 | 0 | 110592 | NULL | 2016-09-20 22:26:49 | 2016-09-27 08:58:32 | NULL |
| neo3 | tobj | Fixed | 0 | 0 | 0 | 0 | 110592 | NULL | 2016-09-20 22:26:50 | 2016-09-27 08:59:32 | NULL |
| neo0 | trans | Dynamic | 25490462 | 54 | 1401504985 | 0 | 649662464 | NULL | 2016-08-12 08:45:48 | 2016-09-27 08:58:32 | NULL |
| neo1 | trans | Dynamic | 13532423 | 104 | 1415025634 | 0 | 247037952 | NULL | 2016-08-15 10:34:35 | 2016-09-27 08:59:31 | NULL |
| neo2 | trans | Dynamic | 8115659 | 130 | 1062100112 | 0 | 26652672 | NULL | 2016-08-24 15:10:33 | 2016-09-27 08:58:32 | NULL |
| neo3 | trans | Dynamic | 10818318 | 130 | 1414551999 | 0 | 20656128 | NULL | 2016-08-24 15:10:33 | 2016-09-27 08:58:32 | NULL |
| neo0 | ttrans | Dynamic | 0 | 0 | 0 | 0 | 12288 | NULL | 2016-09-20 22:26:55 | 2016-09-27 08:58:32 | NULL |
| neo1 | ttrans | Dynamic | 0 | 0 | 0 | 0 | 12288 | NULL | 2016-09-20 22:26:53 | 2016-09-27 08:59:31 | NULL |
| neo2 | ttrans | Dynamic | 0 | 0 | 0 | 0 | 110592 | NULL | 2016-09-20 22:26:49 | 2016-09-27 08:58:32 | NULL |
| neo3 | ttrans | Dynamic | 0 | 0 | 0 | 0 | 12288 | NULL | 2016-09-20 22:26:50 | 2016-09-27 08:58:32 | NULL |
+--------------+------------+------------+------------+----------------+-------------+--------------+-------------+----------------+---------------------+---------------------+------------+
XXX ^^^ neo0: 2x more rows, 2x less avg_row_length
MariaDB [information_schema]> select count(*) from neo0.trans; select count(*) from neo1.trans; select count(*) from neo2.trans; select count(*) from neo3.trans;
+----------+
| count(*) |
+----------+
| 10816516 |
+----------+
1 row in set (8.43 sec) NOTE same as in neo1 & neo3 but note the timings diff
+----------+
| count(*) |
+----------+
| 10819781 |
+----------+
1 row in set (5.70 sec)
+----------+
| count(*) |
+----------+
| 8115599 |
+----------+
1 row in set (2.92 sec)
+----------+
| count(*) |
+----------+
| 10818601 |
+----------+
1 row in set (4.22 sec)
----------------------------------------
NOTE:
MariaDB [information_schema]> select PLUGIN_NAME,PLUGIN_VERSION,PLUGIN_TYPE,PLUGIN_AUTHOR,PLUGIN_DESCRIPTION,LOAD_OPTION,PLUGIN_MATURITY,PLUGIN_AUTH_VERSION from plugins where plugin_name like 'toku%';
+-------------------------------+----------------+--------------------+---------------+----------------------------------------------------------------+-------------+-----------------+---------------------+
| PLUGIN_NAME | PLUGIN_VERSION | PLUGIN_TYPE | PLUGIN_AUTHOR | PLUGIN_DESCRIPTION | LOAD_OPTION | PLUGIN_MATURITY | PLUGIN_AUTH_VERSION |
+-------------------------------+----------------+--------------------+---------------+----------------------------------------------------------------+-------------+-----------------+---------------------+
| TokuDB | 0.0 | STORAGE ENGINE | Percona | Percona TokuDB Storage Engine with Fractal Tree(tm) Technology | ON | Stable | 5.6.31-77.0 |
| TokuDB_trx | 0.0 | INFORMATION SCHEMA | Percona | Percona TokuDB Storage Engine with Fractal Tree(tm) Technology | ON | Stable | NULL |
| TokuDB_lock_waits | 0.0 | INFORMATION SCHEMA | Percona | Percona TokuDB Storage Engine with Fractal Tree(tm) Technology | ON | Stable | NULL |
| TokuDB_locks | 0.0 | INFORMATION SCHEMA | Percona | Percona TokuDB Storage Engine with Fractal Tree(tm) Technology | ON | Stable | NULL |
| TokuDB_file_map | 0.0 | INFORMATION SCHEMA | Percona | Percona TokuDB Storage Engine with Fractal Tree(tm) Technology | ON | Stable | NULL |
| TokuDB_fractal_tree_info | 0.0 | INFORMATION SCHEMA | Percona | Percona TokuDB Storage Engine with Fractal Tree(tm) Technology | ON | Stable | NULL |
| TokuDB_fractal_tree_block_map | 0.0 | INFORMATION SCHEMA | Percona | Percona TokuDB Storage Engine with Fractal Tree(tm) Technology | ON | Stable | NULL |
| TokuDB_background_job_status | 0.0 | INFORMATION SCHEMA | Percona | Percona TokuDB Storage Engine with Fractal Tree(tm) Technology | ON | Stable | NULL |
+-------------------------------+----------------+--------------------+---------------+----------------------------------------------------------------+-------------+-----------------+---------------------+
MariaDB [information_schema]> select * from STATISTICS where table_schema like 'neo%' order by table_name, table_schema, column_name;
+--------------+------------+------------+--------------+------------+--------------+-------------+-----------+-------------+----------+------------+
| TABLE_SCHEMA | TABLE_NAME | NON_UNIQUE | INDEX_SCHEMA | INDEX_NAME | SEQ_IN_INDEX | COLUMN_NAME | COLLATION | CARDINALITY | NULLABLE | INDEX_TYPE |
+--------------+------------+------------+--------------+------------+--------------+-------------+-----------+-------------+----------+------------+
| neo0 | bigdata | 0 | neo0 | PRIMARY | 1 | id | A | 0 | | BTREE |
| neo1 | bigdata | 0 | neo1 | PRIMARY | 1 | id | A | 0 | | BTREE |
| neo2 | bigdata | 0 | neo2 | PRIMARY | 1 | id | A | 0 | | BTREE |
| neo3 | bigdata | 0 | neo3 | PRIMARY | 1 | id | A | 0 | | BTREE |
| neo0 | config | 0 | neo0 | PRIMARY | 1 | name | A | 7 | | BTREE |
| neo1 | config | 0 | neo1 | PRIMARY | 1 | name | A | 6 | | BTREE |
| neo2 | config | 0 | neo2 | PRIMARY | 1 | name | A | 6 | | BTREE |
| neo3 | config | 0 | neo3 | PRIMARY | 1 | name | A | 6 | | BTREE |
| neo0 | data | 0 | neo0 | hash | 2 | compression | A | 16256132 | YES | BTREE |
| neo0 | data | 0 | neo0 | hash | 1 | hash | A | 16256132 | | BTREE |
| neo0 | data | 0 | neo0 | PRIMARY | 1 | id | A | 16256132 | | BTREE |
| neo1 | data | 0 | neo1 | hash | 2 | compression | A | 24903817 | YES | BTREE |
| neo1 | data | 0 | neo1 | hash | 1 | hash | A | 24903817 | | BTREE |
| neo1 | data | 0 | neo1 | PRIMARY | 1 | id | A | 24903817 | | BTREE |
| neo2 | data | 0 | neo2 | hash | 2 | compression | A | 17675663 | YES | BTREE |
| neo2 | data | 0 | neo2 | hash | 1 | hash | A | 17675663 | | BTREE |
| neo2 | data | 0 | neo2 | PRIMARY | 1 | id | A | 17675663 | | BTREE |
| neo3 | data | 0 | neo3 | hash | 2 | compression | A | 18977711 | YES | BTREE |
| neo3 | data | 0 | neo3 | hash | 1 | hash | A | 18977711 | | BTREE |
| neo3 | data | 0 | neo3 | PRIMARY | 1 | id | A | 18977711 | | BTREE |
| neo0 | obj | 1 | neo0 | data_id | 1 | data_id | A | 18449031 | YES | BTREE |
| neo0 | obj | 0 | neo0 | PRIMARY | 3 | oid | A | 18449031 | | BTREE |
| neo0 | obj | 0 | neo0 | partition | 2 | oid | A | 18449031 | | BTREE |
| neo0 | obj | 0 | neo0 | partition | 1 | partition | A | 18449031 | | BTREE |
| neo0 | obj | 0 | neo0 | PRIMARY | 1 | partition | A | 18449031 | | BTREE |
| neo0 | obj | 0 | neo0 | PRIMARY | 2 | tid | A | 18449031 | | BTREE |
| neo0 | obj | 0 | neo0 | partition | 3 | tid | A | 18449031 | | BTREE |
| neo1 | obj | 1 | neo1 | data_id | 1 | data_id | A | 27756440 | YES | BTREE |
| neo1 | obj | 0 | neo1 | PRIMARY | 3 | oid | A | 27756440 | | BTREE |
| neo1 | obj | 0 | neo1 | partition | 2 | oid | A | 27756440 | | BTREE |
| neo1 | obj | 0 | neo1 | PRIMARY | 1 | partition | A | 27756440 | | BTREE |
| neo1 | obj | 0 | neo1 | partition | 1 | partition | A | 27756440 | | BTREE |
| neo1 | obj | 0 | neo1 | PRIMARY | 2 | tid | A | 27756440 | | BTREE |
| neo1 | obj | 0 | neo1 | partition | 3 | tid | A | 27756440 | | BTREE |
| neo2 | obj | 1 | neo2 | data_id | 1 | data_id | A | 20044932 | YES | BTREE |
| neo2 | obj | 0 | neo2 | PRIMARY | 3 | oid | A | 20044932 | | BTREE |
| neo2 | obj | 1 | neo2 | partition | 2 | oid | A | 20044932 | | BTREE |
| neo2 | obj | 0 | neo2 | PRIMARY | 1 | partition | A | 20044932 | | BTREE |
| neo2 | obj | 1 | neo2 | partition | 1 | partition | A | 20044932 | | BTREE |
| neo2 | obj | 1 | neo2 | partition | 3 | tid | A | 20044932 | | BTREE |
| neo2 | obj | 0 | neo2 | PRIMARY | 2 | tid | A | 20044932 | | BTREE |
| neo3 | obj | 1 | neo3 | data_id | 1 | data_id | A | 21550769 | YES | BTREE |
| neo3 | obj | 0 | neo3 | PRIMARY | 3 | oid | A | 21550769 | | BTREE |
| neo3 | obj | 1 | neo3 | partition | 2 | oid | A | 21550769 | | BTREE |
| neo3 | obj | 1 | neo3 | partition | 1 | partition | A | 21550769 | | BTREE |
| neo3 | obj | 0 | neo3 | PRIMARY | 1 | partition | A | 21550769 | | BTREE |
| neo3 | obj | 0 | neo3 | PRIMARY | 2 | tid | A | 21550769 | | BTREE |
| neo3 | obj | 1 | neo3 | partition | 3 | tid | A | 21550769 | | BTREE |
| neo0 | pt | 0 | neo0 | PRIMARY | 2 | nid | A | 12 | | BTREE |
| neo0 | pt | 0 | neo0 | PRIMARY | 1 | rid | A | 12 | | BTREE |
| neo1 | pt | 0 | neo1 | PRIMARY | 2 | nid | A | 12 | | BTREE |
| neo1 | pt | 0 | neo1 | PRIMARY | 1 | rid | A | 12 | | BTREE |
| neo2 | pt | 0 | neo2 | PRIMARY | 2 | nid | A | 12 | | BTREE |
| neo2 | pt | 0 | neo2 | PRIMARY | 1 | rid | A | 12 | | BTREE |
| neo3 | pt | 0 | neo3 | PRIMARY | 2 | nid | A | 12 | | BTREE |
| neo3 | pt | 0 | neo3 | PRIMARY | 1 | rid | A | 12 | | BTREE |
| neo0 | tobj | 0 | neo0 | PRIMARY | 2 | oid | A | 0 | | BTREE |
| neo0 | tobj | 0 | neo0 | PRIMARY | 1 | tid | A | 0 | | BTREE |
| neo1 | tobj | 0 | neo1 | PRIMARY | 2 | oid | A | 0 | | BTREE |
| neo1 | tobj | 0 | neo1 | PRIMARY | 1 | tid | A | 0 | | BTREE |
| neo2 | tobj | 0 | neo2 | PRIMARY | 2 | oid | A | 0 | | BTREE |
| neo2 | tobj | 0 | neo2 | PRIMARY | 1 | tid | A | 0 | | BTREE |
| neo3 | tobj | 0 | neo3 | PRIMARY | 2 | oid | A | 0 | | BTREE |
| neo3 | tobj | 0 | neo3 | PRIMARY | 1 | tid | A | 0 | | BTREE |
| neo0 | trans | 0 | neo0 | PRIMARY | 1 | partition | A | 37 | | BTREE |
| neo0 | trans | 0 | neo0 | PRIMARY | 2 | tid | A | 25491101 | | BTREE |
| neo1 | trans | 0 | neo1 | PRIMARY | 1 | partition | A | 13533241 | | BTREE |
| neo1 | trans | 0 | neo1 | PRIMARY | 2 | tid | A | 13533241 | | BTREE |
| neo2 | trans | 0 | neo2 | PRIMARY | 1 | partition | A | 8116159 | | BTREE |
| neo2 | trans | 0 | neo2 | PRIMARY | 2 | tid | A | 8116159 | | BTREE |
| neo3 | trans | 0 | neo3 | PRIMARY | 1 | partition | A | 10819556 | | BTREE |
| neo3 | trans | 0 | neo3 | PRIMARY | 2 | tid | A | 10819556 | | BTREE |
+--------------+------------+------------+--------------+------------+--------------+-------------+-----------+-------------+----------+------------+
MariaDB [information_schema]> select * from table_constraints where table_schema like 'neo%' order by table_name, table_schema;
+--------------------+-------------------+-----------------+--------------+------------+-----------------+
| CONSTRAINT_CATALOG | CONSTRAINT_SCHEMA | CONSTRAINT_NAME | TABLE_SCHEMA | TABLE_NAME | CONSTRAINT_TYPE |
+--------------------+-------------------+-----------------+--------------+------------+-----------------+
| def | neo0 | PRIMARY | neo0 | bigdata | PRIMARY KEY |
| def | neo1 | PRIMARY | neo1 | bigdata | PRIMARY KEY |
| def | neo2 | PRIMARY | neo2 | bigdata | PRIMARY KEY |
| def | neo3 | PRIMARY | neo3 | bigdata | PRIMARY KEY |
| def | neo0 | PRIMARY | neo0 | config | PRIMARY KEY |
| def | neo1 | PRIMARY | neo1 | config | PRIMARY KEY |
| def | neo2 | PRIMARY | neo2 | config | PRIMARY KEY |
| def | neo3 | PRIMARY | neo3 | config | PRIMARY KEY |
| def | neo0 | hash | neo0 | data | UNIQUE |
| def | neo0 | PRIMARY | neo0 | data | PRIMARY KEY |
| def | neo1 | hash | neo1 | data | UNIQUE |
| def | neo1 | PRIMARY | neo1 | data | PRIMARY KEY |
| def | neo2 | hash | neo2 | data | UNIQUE |
| def | neo2 | PRIMARY | neo2 | data | PRIMARY KEY |
| def | neo3 | hash | neo3 | data | UNIQUE |
| def | neo3 | PRIMARY | neo3 | data | PRIMARY KEY |
| def | neo0 | partition | neo0 | obj | UNIQUE |
| def | neo0 | PRIMARY | neo0 | obj | PRIMARY KEY |
| def | neo1 | partition | neo1 | obj | UNIQUE |
| def | neo1 | PRIMARY | neo1 | obj | PRIMARY KEY |
| def | neo2 | PRIMARY | neo2 | obj | PRIMARY KEY |
| def | neo3 | PRIMARY | neo3 | obj | PRIMARY KEY |
| def | neo0 | PRIMARY | neo0 | pt | PRIMARY KEY |
| def | neo1 | PRIMARY | neo1 | pt | PRIMARY KEY |
| def | neo2 | PRIMARY | neo2 | pt | PRIMARY KEY |
| def | neo3 | PRIMARY | neo3 | pt | PRIMARY KEY |
| def | neo0 | PRIMARY | neo0 | tobj | PRIMARY KEY |
| def | neo1 | PRIMARY | neo1 | tobj | PRIMARY KEY |
| def | neo2 | PRIMARY | neo2 | tobj | PRIMARY KEY |
| def | neo3 | PRIMARY | neo3 | tobj | PRIMARY KEY |
| def | neo0 | PRIMARY | neo0 | trans | PRIMARY KEY |
| def | neo1 | PRIMARY | neo1 | trans | PRIMARY KEY |
| def | neo2 | PRIMARY | neo2 | trans | PRIMARY KEY |
| def | neo3 | PRIMARY | neo3 | trans | PRIMARY KEY |
+--------------------+-------------------+-----------------+--------------+------------+-----------------+
34 rows in set (0.01 sec)
NOTE -> performance_schema (requires server restart)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment