mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-20 19:04:59 +00:00
PT-2156 Fix tests for lib, part2 (#650)
* PT-2156 - Fix tests for lib Fixed tests, broken by putting fix for PT-1554 into the library code, mostly by updating checksums. Added AutoCommit option for test lib/QueryReview.t Reset SQL mode to empty to allow TableChunker to work with invalid and zero dates * PT-2156 - Fix tests for lib Adjusted t/lib/SchemaIterator.t to work with version 8.0 * PT-2156 - Fix tests for lib Adjusted b/t/lib/Processlist.t, so it reflects fix for PT-981 * PT-2156 - Fix tests for lib Adjusted t/lib/HTTP/Micro.t, so it works with different order of parameters, returned at v.percona.com/ Adjusted test for empty files in t/lib/bash/collect.t Disabled mysqladmin debug test in t/lib/bash/collect.t, because of PT-2242 * PT-2156 - Fix tests for lib Added LC_NUMERRIC=POSIX into t/lib/bash/report_system_info.sh, so reports in tests are not environment-dependent Updated expected results in t/lib/bash/report_system_info.sh, so they reflect new information, collected by pt-summary * PT-2156 - Fix tests for lib - Improved fix for PT-76, so it handles inline comments - Added test case for PT-76 - Improved fix for PT-1720, so it ignores unrecognizable option only if it comes from the toolkit-wide files and still errors out if wrong option was passed via command line or the tool-specific option file. * PT-2156 - Fix tests for lib - Improved fix for PT-2102, so it finds running instance configuration file using PID and also does not break t/lib/bash/report_mysql_info.t test - Removed unnecessary copy-paste from t/pt-mysql-summary/pt-2102.t test - Adjusted number of collected files in t/lib/bash/collect_mysql_info.sh * PT-2156 - Fix tests for lib - Fix for PT-1543 and MyRocks collection were originally put only into lib/bash/report_mysql_info.shthat broke the logic of collecting data first, then formatting report from this data. This, in its turn, broke test t/lib/bash/report_mysql_info.sh/t/lib/bash/report_mysql_info.t, because CMD_MYSQL is not defined in this library. I rewrote these fixes, so they follow original logic of the tool (pt-mysql-summary) - Added tests for keyring plugin, encrypted tables, and MyRocks for t/lib/bash/report_mysql_info.sh and t/pt-mysql-summary/pt-mysql-summary_encryption.t * PT-2156 - Fix tests for lib - Added FLUSH TABLES to t/lib/bash/collect.sh, so it does not fail opentables tests if run when more than 1000 tables open in the sandbox environment - Changed number of expected sample files to reflect keyring colletion file * PT-2156 - Fix tests for lib - Added skip to some tests in lib that file when run with PXC, because not supported to work with PXC - Adjusted configuration files for PXC, so they allow LOAD DATA/SELECT INTO OUTFILE commands - Adjusted data samples, so they do not depend on auto increment values - Fixed lib tests, failing with PXC * PT-2156 - Fix tests for lib Updated tests for pt-online-schema-change, so they work with PXC and skipped if designed for semi-synchronous replication setup * PT-2156 - Fix tests for lib - Added cluster-specific samples for t/lib/SchemaIterator.t - Removed extra debugging print from t/pt-table-checksum/pt-1728.t * PT-2156 - Fix tests for lib Evgeniy's review on July 20 * Update t/lib/TableSyncer.t Removed comment left after debugging * Update t/pt-mysql-summary/pt-mysql-summary_encryption.t Removed extra debug output * PT-2156 - Fix tests for lib Tabs to spaces
This commit is contained in:
118
t/pt-mysql-summary/samples/temp_enc002/innodb-status
Normal file
118
t/pt-mysql-summary/samples/temp_enc002/innodb-status
Normal file
@@ -0,0 +1,118 @@
|
||||
*************************** 1. row ***************************
|
||||
Type: InnoDB
|
||||
Name:
|
||||
Status:
|
||||
=====================================
|
||||
120323 21:05:31 INNODB MONITOR OUTPUT
|
||||
=====================================
|
||||
Per second averages calculated from the last 42 seconds
|
||||
-----------------
|
||||
BACKGROUND THREAD
|
||||
-----------------
|
||||
srv_master_thread loops: 1 1_second, 1 sleeps, 0 10_second, 1 background, 1 flush
|
||||
srv_master_thread log flush and writes: 128
|
||||
----------
|
||||
SEMAPHORES
|
||||
----------
|
||||
OS WAIT ARRAY INFO: reservation count 2, signal count 2
|
||||
Mutex spin waits 0, rounds 0, OS waits 0
|
||||
RW-shared spins 2, rounds 60, OS waits 2
|
||||
RW-excl spins 0, rounds 0, OS waits 0
|
||||
Spin rounds per wait: 0.00 mutex, 30.00 RW-shared, 0.00 RW-excl
|
||||
--------
|
||||
FILE I/O
|
||||
--------
|
||||
I/O thread 0 state: waiting for completed aio requests (insert buffer thread)
|
||||
I/O thread 1 state: waiting for completed aio requests (log thread)
|
||||
I/O thread 2 state: waiting for completed aio requests (read thread)
|
||||
I/O thread 3 state: waiting for completed aio requests (read thread)
|
||||
I/O thread 4 state: waiting for completed aio requests (read thread)
|
||||
I/O thread 5 state: waiting for completed aio requests (read thread)
|
||||
I/O thread 6 state: waiting for completed aio requests (write thread)
|
||||
I/O thread 7 state: waiting for completed aio requests (write thread)
|
||||
I/O thread 8 state: waiting for completed aio requests (write thread)
|
||||
I/O thread 9 state: waiting for completed aio requests (write thread)
|
||||
Pending normal aio reads: 0 [0, 0, 0, 0] , aio writes: 0 [0, 0, 0, 0] ,
|
||||
ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
|
||||
Pending flushes (fsync) log: 0; buffer pool: 0
|
||||
217 OS file reads, 3 OS file writes, 3 OS fsyncs
|
||||
0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s
|
||||
-------------------------------------
|
||||
INSERT BUFFER AND ADAPTIVE HASH INDEX
|
||||
-------------------------------------
|
||||
Ibuf: size 1, free list len 0, seg size 2, 0 merges
|
||||
merged operations:
|
||||
insert 0, delete mark 0, delete 0
|
||||
discarded operations:
|
||||
insert 0, delete mark 0, delete 0
|
||||
Hash table size 553193, node heap has 0 buffer(s)
|
||||
0.00 hash searches/s, 0.00 non-hash searches/s
|
||||
---
|
||||
LOG
|
||||
---
|
||||
Log sequence number 1687931
|
||||
Log flushed up to 1687931
|
||||
Last checkpoint at 1687931
|
||||
Max checkpoint age 7782360
|
||||
Checkpoint age target 7539162
|
||||
Modified age 0
|
||||
Checkpoint age 0
|
||||
0 pending log writes, 0 pending chkp writes
|
||||
8 log i/o's done, 0.00 log i/o's/second
|
||||
----------------------
|
||||
BUFFER POOL AND MEMORY
|
||||
----------------------
|
||||
Total memory allocated 137003008; in additional pool allocated 0
|
||||
Internal hash tables (constant factor + variable factor)
|
||||
Adaptive hash index 2216932 (2212772 + 4160)
|
||||
Page hash 69556 (buffer pool 0 only)
|
||||
Dictionary cache 577764 (553912 + 23852)
|
||||
File system 41920 (41336 + 584)
|
||||
Lock system 166756 (166436 + 320)
|
||||
Recovery system 0 (0 + 0)
|
||||
Dictionary memory allocated 23852
|
||||
Buffer pool size 8191
|
||||
Buffer pool size, bytes 134201344
|
||||
Free buffers 7985
|
||||
Database pages 206
|
||||
Old database pages 0
|
||||
Modified db pages 0
|
||||
Pending reads 0
|
||||
Pending writes: LRU 0, flush list 0, single page 0
|
||||
Pages made young 0, not young 0
|
||||
0.00 youngs/s, 0.00 non-youngs/s
|
||||
Pages read 206, created 0, written 0
|
||||
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
|
||||
No buffer pool page gets since the last printout
|
||||
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
|
||||
LRU len: 206, unzip_LRU len: 0
|
||||
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
|
||||
--------------
|
||||
ROW OPERATIONS
|
||||
--------------
|
||||
0 queries inside InnoDB, 0 queries in queue
|
||||
1 read views open inside InnoDB
|
||||
---OLDEST VIEW---
|
||||
Normal read view
|
||||
Read view low limit trx n:o 1300
|
||||
Read view up limit trx id 1300
|
||||
Read view low limit trx id 1300
|
||||
Read view individually stored trx ids:
|
||||
-----------------
|
||||
Main thread process no. 7615, id 2772052848, state: flushing log
|
||||
Number of rows inserted 0, updated 0, deleted 0, read 0
|
||||
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
|
||||
------------
|
||||
TRANSACTIONS
|
||||
------------
|
||||
Trx id counter 1300
|
||||
Purge done for trx's n:o < 1178 undo n:o < 0
|
||||
History list length 30
|
||||
LIST OF TRANSACTIONS FOR EACH SESSION:
|
||||
---TRANSACTION 0, not started
|
||||
MySQL thread id 496, OS thread handle 0xa7913b70, query id 4251 localhost hugmeir
|
||||
SHOW /*!50000 ENGINE*/ INNODB STATUS
|
||||
----------------------------
|
||||
END OF INNODB MONITOR OUTPUT
|
||||
============================
|
||||
|
5
t/pt-mysql-summary/samples/temp_enc002/keyring-plugins
Normal file
5
t/pt-mysql-summary/samples/temp_enc002/keyring-plugins
Normal file
@@ -0,0 +1,5 @@
|
||||
+--------------+---------------+
|
||||
| PLUGIN_NAME | PLUGIN_STATUS |
|
||||
+--------------+---------------+
|
||||
| keyring_file | ACTIVE |
|
||||
+--------------+---------------+
|
26
t/pt-mysql-summary/samples/temp_enc002/mysql-config-file
Normal file
26
t/pt-mysql-summary/samples/temp_enc002/mysql-config-file
Normal file
@@ -0,0 +1,26 @@
|
||||
[client]
|
||||
user = msandbox
|
||||
password = msandbox
|
||||
port = 12345
|
||||
socket = /tmp/12345/mysql_sandbox12345.sock
|
||||
|
||||
[mysqld]
|
||||
port = 12345
|
||||
socket = /tmp/12345/mysql_sandbox12345.sock
|
||||
pid-file = /tmp/12345/data/mysql_sandbox12345.pid
|
||||
basedir = /home/hugmeir/mysql5/mysqlbrew/mysqls/Percona-Server-5.1/
|
||||
datadir = /tmp/12345/data
|
||||
key_buffer_size = 16M
|
||||
innodb_buffer_pool_size = 16M
|
||||
innodb_data_home_dir = /tmp/12345/data
|
||||
innodb_log_group_home_dir = /tmp/12345/data
|
||||
innodb_data_file_path = ibdata1:10M:autoextend
|
||||
innodb_log_file_size = 5M
|
||||
log-bin = mysql-bin
|
||||
relay_log = mysql-relay-bin
|
||||
log_slave_updates
|
||||
server-id = 12345
|
||||
report-host = 127.0.0.1
|
||||
report-port = 12345
|
||||
log-error = mysqld.log
|
||||
innodb_lock_wait_timeout = 3
|
6
t/pt-mysql-summary/samples/temp_enc002/mysql-databases
Normal file
6
t/pt-mysql-summary/samples/temp_enc002/mysql-databases
Normal file
@@ -0,0 +1,6 @@
|
||||
information_schema
|
||||
bluh
|
||||
mysql
|
||||
percona
|
||||
performance_schema
|
||||
test
|
35
t/pt-mysql-summary/samples/temp_enc002/mysql-plugins
Normal file
35
t/pt-mysql-summary/samples/temp_enc002/mysql-plugins
Normal file
@@ -0,0 +1,35 @@
|
||||
binlog ACTIVE STORAGE ENGINE NULL GPL
|
||||
mysql_native_password ACTIVE AUTHENTICATION NULL GPL
|
||||
mysql_old_password ACTIVE AUTHENTICATION NULL GPL
|
||||
MEMORY ACTIVE STORAGE ENGINE NULL GPL
|
||||
MRG_MYISAM ACTIVE STORAGE ENGINE NULL GPL
|
||||
MyISAM ACTIVE STORAGE ENGINE NULL GPL
|
||||
CSV ACTIVE STORAGE ENGINE NULL GPL
|
||||
FEDERATED DISABLED STORAGE ENGINE NULL GPL
|
||||
BLACKHOLE ACTIVE STORAGE ENGINE NULL GPL
|
||||
InnoDB ACTIVE STORAGE ENGINE NULL GPL
|
||||
INNODB_RSEG ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_TRX ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_LOCKS ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_LOCK_WAITS ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_CMP ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_CMP_RESET ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_CMPMEM ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_CMPMEM_RESET ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_SYS_TABLES ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_SYS_TABLESTATS ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_SYS_INDEXES ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_SYS_COLUMNS ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_SYS_FIELDS ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_SYS_FOREIGN ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_SYS_FOREIGN_COLS ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_SYS_STATS ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_TABLE_STATS ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_INDEX_STATS ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_BUFFER_POOL_PAGES ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_BUFFER_POOL_PAGES_INDEX ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
INNODB_BUFFER_POOL_PAGES_BLOB ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
XTRADB_ADMIN_COMMAND ACTIVE INFORMATION SCHEMA NULL GPL
|
||||
PERFORMANCE_SCHEMA ACTIVE STORAGE ENGINE NULL GPL
|
||||
ARCHIVE ACTIVE STORAGE ENGINE NULL GPL
|
||||
partition ACTIVE STORAGE ENGINE NULL GPL
|
12
t/pt-mysql-summary/samples/temp_enc002/mysql-processlist
Normal file
12
t/pt-mysql-summary/samples/temp_enc002/mysql-processlist
Normal file
@@ -0,0 +1,12 @@
|
||||
*************************** 1. row ***************************
|
||||
Id: 497
|
||||
User: hugmeir
|
||||
Host: localhost
|
||||
db: NULL
|
||||
Command: Query
|
||||
Time: 0
|
||||
State: NULL
|
||||
Info: SHOW FULL PROCESSLIST
|
||||
Rows_sent: 0
|
||||
Rows_examined: 0
|
||||
Rows_read: 1
|
0
t/pt-mysql-summary/samples/temp_enc002/mysql-slave
Normal file
0
t/pt-mysql-summary/samples/temp_enc002/mysql-slave
Normal file
370
t/pt-mysql-summary/samples/temp_enc002/mysql-status
Normal file
370
t/pt-mysql-summary/samples/temp_enc002/mysql-status
Normal file
@@ -0,0 +1,370 @@
|
||||
Aborted_clients 0
|
||||
Aborted_connects 0
|
||||
Binlog_cache_disk_use 0
|
||||
Binlog_cache_use 0
|
||||
Binlog_stmt_cache_disk_use 0
|
||||
Binlog_stmt_cache_use 0
|
||||
Bytes_received 197237
|
||||
Bytes_sent 2689375
|
||||
Com_admin_commands 0
|
||||
Com_assign_to_keycache 0
|
||||
Com_alter_db 0
|
||||
Com_alter_db_upgrade 0
|
||||
Com_alter_event 0
|
||||
Com_alter_function 0
|
||||
Com_alter_procedure 0
|
||||
Com_alter_server 0
|
||||
Com_alter_table 0
|
||||
Com_alter_tablespace 0
|
||||
Com_analyze 0
|
||||
Com_begin 0
|
||||
Com_binlog 0
|
||||
Com_call_procedure 0
|
||||
Com_change_db 48
|
||||
Com_change_master 0
|
||||
Com_check 0
|
||||
Com_checksum 0
|
||||
Com_commit 0
|
||||
Com_create_db 0
|
||||
Com_create_event 0
|
||||
Com_create_function 0
|
||||
Com_create_index 0
|
||||
Com_create_procedure 0
|
||||
Com_create_server 0
|
||||
Com_create_table 0
|
||||
Com_create_trigger 0
|
||||
Com_create_udf 0
|
||||
Com_create_user 0
|
||||
Com_create_view 0
|
||||
Com_dealloc_sql 0
|
||||
Com_delete 0
|
||||
Com_delete_multi 0
|
||||
Com_do 0
|
||||
Com_drop_db 0
|
||||
Com_drop_event 0
|
||||
Com_drop_function 0
|
||||
Com_drop_index 0
|
||||
Com_drop_procedure 0
|
||||
Com_drop_server 0
|
||||
Com_drop_table 0
|
||||
Com_drop_trigger 0
|
||||
Com_drop_user 0
|
||||
Com_drop_view 0
|
||||
Com_empty_query 0
|
||||
Com_execute_sql 0
|
||||
Com_flush 0
|
||||
Com_grant 0
|
||||
Com_ha_close 0
|
||||
Com_ha_open 0
|
||||
Com_ha_read 0
|
||||
Com_help 0
|
||||
Com_insert 0
|
||||
Com_insert_select 0
|
||||
Com_install_plugin 2
|
||||
Com_kill 0
|
||||
Com_load 0
|
||||
Com_lock_tables 0
|
||||
Com_optimize 0
|
||||
Com_preload_keys 0
|
||||
Com_prepare_sql 0
|
||||
Com_purge 0
|
||||
Com_purge_before_date 0
|
||||
Com_release_savepoint 0
|
||||
Com_rename_table 0
|
||||
Com_rename_user 0
|
||||
Com_repair 0
|
||||
Com_replace 0
|
||||
Com_replace_select 0
|
||||
Com_reset 0
|
||||
Com_resignal 0
|
||||
Com_revoke 0
|
||||
Com_revoke_all 0
|
||||
Com_rollback 0
|
||||
Com_rollback_to_savepoint 0
|
||||
Com_savepoint 0
|
||||
Com_select 730
|
||||
Com_set_option 1341
|
||||
Com_signal 0
|
||||
Com_show_authors 0
|
||||
Com_show_binlog_events 0
|
||||
Com_show_binlogs 27
|
||||
Com_show_charsets 0
|
||||
Com_show_client_statistics 0
|
||||
Com_show_collations 0
|
||||
Com_show_contributors 0
|
||||
Com_show_create_db 5
|
||||
Com_show_create_event 0
|
||||
Com_show_create_func 0
|
||||
Com_show_create_proc 0
|
||||
Com_show_create_table 423
|
||||
Com_show_create_trigger 0
|
||||
Com_show_databases 32
|
||||
Com_show_engine_logs 0
|
||||
Com_show_engine_mutex 0
|
||||
Com_show_engine_status 27
|
||||
Com_show_events 0
|
||||
Com_show_errors 0
|
||||
Com_show_fields 423
|
||||
Com_show_function_status 24
|
||||
Com_show_grants 0
|
||||
Com_show_index_statistics 0
|
||||
Com_show_keys 0
|
||||
Com_show_master_status 27
|
||||
Com_show_open_tables 0
|
||||
Com_show_plugins 27
|
||||
Com_show_privileges 0
|
||||
Com_show_procedure_status 0
|
||||
Com_show_processlist 27
|
||||
Com_show_profile 0
|
||||
Com_show_profiles 0
|
||||
Com_show_relaylog_events 0
|
||||
Com_show_slave_hosts 0
|
||||
Com_show_slave_status 27
|
||||
Com_show_slave_status_nolock 0
|
||||
Com_show_status 55
|
||||
Com_show_storage_engines 0
|
||||
Com_show_table_statistics 0
|
||||
Com_show_table_status 423
|
||||
Com_show_tables 24
|
||||
Com_show_temporary_tables 0
|
||||
Com_show_thread_statistics 0
|
||||
Com_show_triggers 0
|
||||
Com_show_user_statistics 0
|
||||
Com_show_variables 28
|
||||
Com_show_warnings 0
|
||||
Com_slave_start 0
|
||||
Com_slave_stop 0
|
||||
Com_stmt_close 0
|
||||
Com_stmt_execute 0
|
||||
Com_stmt_fetch 0
|
||||
Com_stmt_prepare 0
|
||||
Com_stmt_reprepare 0
|
||||
Com_stmt_reset 0
|
||||
Com_stmt_send_long_data 0
|
||||
Com_truncate 0
|
||||
Com_uninstall_plugin 0
|
||||
Com_unlock_tables 0
|
||||
Com_update 0
|
||||
Com_update_multi 0
|
||||
Com_xa_commit 0
|
||||
Com_xa_end 0
|
||||
Com_xa_prepare 0
|
||||
Com_xa_recover 0
|
||||
Com_xa_rollback 0
|
||||
Com_xa_start 0
|
||||
Compression OFF
|
||||
Connections 493
|
||||
Created_tmp_disk_tables 782
|
||||
Created_tmp_files 5
|
||||
Created_tmp_tables 2836
|
||||
Delayed_errors 0
|
||||
Delayed_insert_threads 0
|
||||
Delayed_writes 0
|
||||
Flashcache_enabled OFF
|
||||
Flush_commands 1
|
||||
Handler_commit 0
|
||||
Handler_delete 0
|
||||
Handler_discover 0
|
||||
Handler_prepare 0
|
||||
Handler_read_first 3
|
||||
Handler_read_key 0
|
||||
Handler_read_last 0
|
||||
Handler_read_next 0
|
||||
Handler_read_prev 0
|
||||
Handler_read_rnd 0
|
||||
Handler_read_rnd_next 37430
|
||||
Handler_rollback 0
|
||||
Handler_savepoint 0
|
||||
Handler_savepoint_rollback 0
|
||||
Handler_update 0
|
||||
Handler_write 36070
|
||||
Innodb_adaptive_hash_cells 553193
|
||||
Innodb_adaptive_hash_heap_buffers 0
|
||||
Innodb_adaptive_hash_hash_searches 0
|
||||
Innodb_adaptive_hash_non_hash_searches 50
|
||||
Innodb_background_log_sync 128
|
||||
Innodb_buffer_pool_pages_data 206
|
||||
Innodb_buffer_pool_pages_dirty 0
|
||||
Innodb_buffer_pool_pages_flushed 0
|
||||
Innodb_buffer_pool_pages_LRU_flushed 0
|
||||
Innodb_buffer_pool_pages_free 7985
|
||||
Innodb_buffer_pool_pages_made_not_young 0
|
||||
Innodb_buffer_pool_pages_made_young 0
|
||||
Innodb_buffer_pool_pages_misc 0
|
||||
Innodb_buffer_pool_pages_old 0
|
||||
Innodb_buffer_pool_pages_total 8191
|
||||
Innodb_buffer_pool_read_ahead_rnd 0
|
||||
Innodb_buffer_pool_read_ahead 0
|
||||
Innodb_buffer_pool_read_ahead_evicted 0
|
||||
Innodb_buffer_pool_read_requests 1047
|
||||
Innodb_buffer_pool_reads 207
|
||||
Innodb_buffer_pool_wait_free 0
|
||||
Innodb_buffer_pool_write_requests 0
|
||||
Innodb_checkpoint_age 0
|
||||
Innodb_checkpoint_max_age 7782360
|
||||
Innodb_checkpoint_target_age 7539162
|
||||
Innodb_data_fsyncs 3
|
||||
Innodb_data_pending_fsyncs 0
|
||||
Innodb_data_pending_reads 0
|
||||
Innodb_data_pending_writes 0
|
||||
Innodb_data_read 5574656
|
||||
Innodb_data_reads 217
|
||||
Innodb_data_writes 3
|
||||
Innodb_data_written 1536
|
||||
Innodb_dblwr_pages_written 0
|
||||
Innodb_dblwr_writes 0
|
||||
Innodb_deadlocks 0
|
||||
Innodb_dict_tables 8
|
||||
Innodb_have_atomic_builtins OFF
|
||||
Innodb_history_list_length 30
|
||||
Innodb_ibuf_discarded_delete_marks 0
|
||||
Innodb_ibuf_discarded_deletes 0
|
||||
Innodb_ibuf_discarded_inserts 0
|
||||
Innodb_ibuf_free_list 0
|
||||
Innodb_ibuf_merged_delete_marks 0
|
||||
Innodb_ibuf_merged_deletes 0
|
||||
Innodb_ibuf_merged_inserts 0
|
||||
Innodb_ibuf_merges 0
|
||||
Innodb_ibuf_segment_size 2
|
||||
Innodb_ibuf_size 1
|
||||
Innodb_log_waits 0
|
||||
Innodb_log_write_requests 0
|
||||
Innodb_log_writes 1
|
||||
Innodb_lsn_current 1687931
|
||||
Innodb_lsn_flushed 1687931
|
||||
Innodb_lsn_last_checkpoint 1687931
|
||||
Innodb_master_thread_1_second_loops 1
|
||||
Innodb_master_thread_10_second_loops 0
|
||||
Innodb_master_thread_background_loops 1
|
||||
Innodb_master_thread_main_flush_loops 1
|
||||
Innodb_master_thread_sleeps 1
|
||||
Innodb_max_trx_id 4864
|
||||
Innodb_mem_adaptive_hash 2216932
|
||||
Innodb_mem_dictionary 577764
|
||||
Innodb_mem_total 137003008
|
||||
Innodb_mutex_os_waits 0
|
||||
Innodb_mutex_spin_rounds 0
|
||||
Innodb_mutex_spin_waits 0
|
||||
Innodb_oldest_view_low_limit_trx_id 4864
|
||||
Innodb_os_log_fsyncs 3
|
||||
Innodb_os_log_pending_fsyncs 0
|
||||
Innodb_os_log_pending_writes 0
|
||||
Innodb_os_log_written 512
|
||||
Innodb_page_size 16384
|
||||
Innodb_pages_created 0
|
||||
Innodb_pages_read 206
|
||||
Innodb_pages_written 0
|
||||
Innodb_purge_trx_id 4472
|
||||
Innodb_purge_undo_no 0
|
||||
Innodb_row_lock_current_waits 0
|
||||
Innodb_current_row_locks 0
|
||||
Innodb_row_lock_time 0
|
||||
Innodb_row_lock_time_avg 0
|
||||
Innodb_row_lock_time_max 0
|
||||
Innodb_row_lock_waits 0
|
||||
Innodb_rows_deleted 0
|
||||
Innodb_rows_inserted 0
|
||||
Innodb_rows_read 0
|
||||
Innodb_rows_updated 0
|
||||
Innodb_s_lock_os_waits 2
|
||||
Innodb_s_lock_spin_rounds 60
|
||||
Innodb_s_lock_spin_waits 2
|
||||
Innodb_truncated_status_writes 0
|
||||
Innodb_x_lock_os_waits 0
|
||||
Innodb_x_lock_spin_rounds 0
|
||||
Innodb_x_lock_spin_waits 0
|
||||
Key_blocks_not_flushed 0
|
||||
Key_blocks_unused 14497
|
||||
Key_blocks_used 0
|
||||
Key_read_requests 0
|
||||
Key_reads 0
|
||||
Key_write_requests 0
|
||||
Key_writes 0
|
||||
Last_query_cost 0.000000
|
||||
Max_used_connections 1
|
||||
Not_flushed_delayed_rows 0
|
||||
Open_files 46
|
||||
Open_streams 0
|
||||
Open_table_definitions 40
|
||||
Open_tables 40
|
||||
Opened_files 3708
|
||||
Opened_table_definitions 40
|
||||
Opened_tables 47
|
||||
Performance_schema_cond_classes_lost 0
|
||||
Performance_schema_cond_instances_lost 0
|
||||
Performance_schema_file_classes_lost 0
|
||||
Performance_schema_file_handles_lost 0
|
||||
Performance_schema_file_instances_lost 0
|
||||
Performance_schema_locker_lost 0
|
||||
Performance_schema_mutex_classes_lost 0
|
||||
Performance_schema_mutex_instances_lost 0
|
||||
Performance_schema_rwlock_classes_lost 0
|
||||
Performance_schema_rwlock_instances_lost 0
|
||||
Performance_schema_table_handles_lost 0
|
||||
Performance_schema_table_instances_lost 0
|
||||
Performance_schema_thread_classes_lost 0
|
||||
Performance_schema_thread_instances_lost 0
|
||||
Prepared_stmt_count 0
|
||||
Qcache_free_blocks 1
|
||||
Qcache_free_memory 16768384
|
||||
Qcache_hits 0
|
||||
Qcache_inserts 0
|
||||
Qcache_lowmem_prunes 0
|
||||
Qcache_not_cached 730
|
||||
Qcache_queries_in_cache 0
|
||||
Qcache_total_blocks 1
|
||||
Queries 4239
|
||||
Questions 4239
|
||||
Rpl_status AUTH_MASTER
|
||||
Select_full_join 0
|
||||
Select_full_range_join 0
|
||||
Select_range 0
|
||||
Select_range_check 0
|
||||
Select_scan 1141
|
||||
Slave_heartbeat_period 0.000
|
||||
Slave_open_temp_tables 0
|
||||
Slave_received_heartbeats 0
|
||||
Slave_retried_transactions 0
|
||||
Slave_running OFF
|
||||
Slow_launch_threads 0
|
||||
Slow_queries 0
|
||||
Sort_merge_passes 0
|
||||
Sort_range 0
|
||||
Sort_rows 0
|
||||
Sort_scan 48
|
||||
Ssl_accept_renegotiates 0
|
||||
Ssl_accepts 0
|
||||
Ssl_callback_cache_hits 0
|
||||
Ssl_cipher
|
||||
Ssl_cipher_list
|
||||
Ssl_client_connects 0
|
||||
Ssl_connect_renegotiates 0
|
||||
Ssl_ctx_verify_depth 0
|
||||
Ssl_ctx_verify_mode 0
|
||||
Ssl_default_timeout 0
|
||||
Ssl_finished_accepts 0
|
||||
Ssl_finished_connects 0
|
||||
Ssl_session_cache_hits 0
|
||||
Ssl_session_cache_misses 0
|
||||
Ssl_session_cache_mode NONE
|
||||
Ssl_session_cache_overflows 0
|
||||
Ssl_session_cache_size 0
|
||||
Ssl_session_cache_timeouts 0
|
||||
Ssl_sessions_reused 0
|
||||
Ssl_used_session_cache_entries 0
|
||||
Ssl_verify_depth 0
|
||||
Ssl_verify_mode 0
|
||||
Ssl_version
|
||||
Table_locks_immediate 92
|
||||
Table_locks_waited 0
|
||||
Tc_log_max_pages_used 0
|
||||
Tc_log_page_size 0
|
||||
Tc_log_page_waits 0
|
||||
Threads_cached 0
|
||||
Threads_connected 1
|
||||
Threads_created 1
|
||||
Threads_running 1
|
||||
Uptime 94521
|
||||
Uptime_since_flush_status 94521
|
||||
binlog_commits 0
|
||||
binlog_group_commits 0
|
370
t/pt-mysql-summary/samples/temp_enc002/mysql-status-defer
Normal file
370
t/pt-mysql-summary/samples/temp_enc002/mysql-status-defer
Normal file
@@ -0,0 +1,370 @@
|
||||
Aborted_clients 0 0
|
||||
Aborted_connects 0 0
|
||||
Binlog_cache_disk_use 0 0
|
||||
Binlog_cache_use 0 0
|
||||
Binlog_stmt_cache_disk_use 0 0
|
||||
Binlog_stmt_cache_use 0 0
|
||||
Bytes_received 197237 199233
|
||||
Bytes_sent 2689375 2712489
|
||||
Com_admin_commands 0 0
|
||||
Com_assign_to_keycache 0 0
|
||||
Com_alter_db 0 0
|
||||
Com_alter_db_upgrade 0 0
|
||||
Com_alter_event 0 0
|
||||
Com_alter_function 0 0
|
||||
Com_alter_procedure 0 0
|
||||
Com_alter_server 0 0
|
||||
Com_alter_table 0 0
|
||||
Com_alter_tablespace 0 0
|
||||
Com_analyze 0 0
|
||||
Com_begin 0 0
|
||||
Com_binlog 0 0
|
||||
Com_call_procedure 0 0
|
||||
Com_change_db 48 48
|
||||
Com_change_master 0 0
|
||||
Com_check 0 0
|
||||
Com_checksum 0 0
|
||||
Com_commit 0 0
|
||||
Com_create_db 0 0
|
||||
Com_create_event 0 0
|
||||
Com_create_function 0 0
|
||||
Com_create_index 0 0
|
||||
Com_create_procedure 0 0
|
||||
Com_create_server 0 0
|
||||
Com_create_table 0 0
|
||||
Com_create_trigger 0 0
|
||||
Com_create_udf 0 0
|
||||
Com_create_user 0 0
|
||||
Com_create_view 0 0
|
||||
Com_dealloc_sql 0 0
|
||||
Com_delete 0 0
|
||||
Com_delete_multi 0 0
|
||||
Com_do 0 0
|
||||
Com_drop_db 0 0
|
||||
Com_drop_event 0 0
|
||||
Com_drop_function 0 0
|
||||
Com_drop_index 0 0
|
||||
Com_drop_procedure 0 0
|
||||
Com_drop_server 0 0
|
||||
Com_drop_table 0 0
|
||||
Com_drop_trigger 0 0
|
||||
Com_drop_user 0 0
|
||||
Com_drop_view 0 0
|
||||
Com_empty_query 0 0
|
||||
Com_execute_sql 0 0
|
||||
Com_flush 0 0
|
||||
Com_grant 0 0
|
||||
Com_ha_close 0 0
|
||||
Com_ha_open 0 0
|
||||
Com_ha_read 0 0
|
||||
Com_help 0 0
|
||||
Com_insert 0 0
|
||||
Com_insert_select 0 0
|
||||
Com_install_plugin 2 2
|
||||
Com_kill 0 0
|
||||
Com_load 0 0
|
||||
Com_lock_tables 0 0
|
||||
Com_optimize 0 0
|
||||
Com_preload_keys 0 0
|
||||
Com_prepare_sql 0 0
|
||||
Com_purge 0 0
|
||||
Com_purge_before_date 0 0
|
||||
Com_release_savepoint 0 0
|
||||
Com_rename_table 0 0
|
||||
Com_rename_user 0 0
|
||||
Com_repair 0 0
|
||||
Com_replace 0 0
|
||||
Com_replace_select 0 0
|
||||
Com_reset 0 0
|
||||
Com_resignal 0 0
|
||||
Com_revoke 0 0
|
||||
Com_revoke_all 0 0
|
||||
Com_rollback 0 0
|
||||
Com_rollback_to_savepoint 0 0
|
||||
Com_savepoint 0 0
|
||||
Com_select 730 749
|
||||
Com_set_option 1341 1341
|
||||
Com_signal 0 0
|
||||
Com_show_authors 0 0
|
||||
Com_show_binlog_events 0 0
|
||||
Com_show_binlogs 27 28
|
||||
Com_show_charsets 0 0
|
||||
Com_show_client_statistics 0 0
|
||||
Com_show_collations 0 0
|
||||
Com_show_contributors 0 0
|
||||
Com_show_create_db 5 5
|
||||
Com_show_create_event 0 0
|
||||
Com_show_create_func 0 0
|
||||
Com_show_create_proc 0 0
|
||||
Com_show_create_table 423 423
|
||||
Com_show_create_trigger 0 0
|
||||
Com_show_databases 32 33
|
||||
Com_show_engine_logs 0 0
|
||||
Com_show_engine_mutex 0 0
|
||||
Com_show_engine_status 27 28
|
||||
Com_show_events 0 0
|
||||
Com_show_errors 0 0
|
||||
Com_show_fields 423 423
|
||||
Com_show_function_status 24 24
|
||||
Com_show_grants 0 0
|
||||
Com_show_index_statistics 0 0
|
||||
Com_show_keys 0 0
|
||||
Com_show_master_status 27 28
|
||||
Com_show_open_tables 0 0
|
||||
Com_show_plugins 27 28
|
||||
Com_show_privileges 0 0
|
||||
Com_show_procedure_status 0 0
|
||||
Com_show_processlist 27 28
|
||||
Com_show_profile 0 0
|
||||
Com_show_profiles 0 0
|
||||
Com_show_relaylog_events 0 0
|
||||
Com_show_slave_hosts 0 0
|
||||
Com_show_slave_status 27 28
|
||||
Com_show_slave_status_nolock 0 0
|
||||
Com_show_status 55 56
|
||||
Com_show_storage_engines 0 0
|
||||
Com_show_table_statistics 0 0
|
||||
Com_show_table_status 423 423
|
||||
Com_show_tables 24 24
|
||||
Com_show_temporary_tables 0 0
|
||||
Com_show_thread_statistics 0 0
|
||||
Com_show_triggers 0 0
|
||||
Com_show_user_statistics 0 0
|
||||
Com_show_variables 28 28
|
||||
Com_show_warnings 0 0
|
||||
Com_slave_start 0 0
|
||||
Com_slave_stop 0 0
|
||||
Com_stmt_close 0 0
|
||||
Com_stmt_execute 0 0
|
||||
Com_stmt_fetch 0 0
|
||||
Com_stmt_prepare 0 0
|
||||
Com_stmt_reprepare 0 0
|
||||
Com_stmt_reset 0 0
|
||||
Com_stmt_send_long_data 0 0
|
||||
Com_truncate 0 0
|
||||
Com_uninstall_plugin 0 0
|
||||
Com_unlock_tables 0 0
|
||||
Com_update 0 0
|
||||
Com_update_multi 0 0
|
||||
Com_xa_commit 0 0
|
||||
Com_xa_end 0 0
|
||||
Com_xa_prepare 0 0
|
||||
Com_xa_recover 0 0
|
||||
Com_xa_rollback 0 0
|
||||
Com_xa_start 0 0
|
||||
Compression OFF OFF
|
||||
Connections 493 507
|
||||
Created_tmp_disk_tables 782 793
|
||||
Created_tmp_files 5 5
|
||||
Created_tmp_tables 2836 2900
|
||||
Delayed_errors 0 0
|
||||
Delayed_insert_threads 0 0
|
||||
Delayed_writes 0 0
|
||||
Flashcache_enabled OFF OFF
|
||||
Flush_commands 1 1
|
||||
Handler_commit 0 0
|
||||
Handler_delete 0 0
|
||||
Handler_discover 0 0
|
||||
Handler_prepare 0 0
|
||||
Handler_read_first 3 3
|
||||
Handler_read_key 0 0
|
||||
Handler_read_last 0 0
|
||||
Handler_read_next 0 0
|
||||
Handler_read_prev 0 0
|
||||
Handler_read_rnd 0 0
|
||||
Handler_read_rnd_next 37430 37852
|
||||
Handler_rollback 0 0
|
||||
Handler_savepoint 0 0
|
||||
Handler_savepoint_rollback 0 0
|
||||
Handler_update 0 0
|
||||
Handler_write 36070 36481
|
||||
Innodb_adaptive_hash_cells 553193 553193
|
||||
Innodb_adaptive_hash_heap_buffers 0 0
|
||||
Innodb_adaptive_hash_hash_searches 0 0
|
||||
Innodb_adaptive_hash_non_hash_searches 50 50
|
||||
Innodb_background_log_sync 128 128
|
||||
Innodb_buffer_pool_pages_data 206 206
|
||||
Innodb_buffer_pool_pages_dirty 0 0
|
||||
Innodb_buffer_pool_pages_flushed 0 0
|
||||
Innodb_buffer_pool_pages_LRU_flushed 0 0
|
||||
Innodb_buffer_pool_pages_free 7985 7985
|
||||
Innodb_buffer_pool_pages_made_not_young 0 0
|
||||
Innodb_buffer_pool_pages_made_young 0 0
|
||||
Innodb_buffer_pool_pages_misc 0 0
|
||||
Innodb_buffer_pool_pages_old 0 0
|
||||
Innodb_buffer_pool_pages_total 8191 8191
|
||||
Innodb_buffer_pool_read_ahead_rnd 0 0
|
||||
Innodb_buffer_pool_read_ahead 0 0
|
||||
Innodb_buffer_pool_read_ahead_evicted 0 0
|
||||
Innodb_buffer_pool_read_requests 1047 1047
|
||||
Innodb_buffer_pool_reads 207 207
|
||||
Innodb_buffer_pool_wait_free 0 0
|
||||
Innodb_buffer_pool_write_requests 0 0
|
||||
Innodb_checkpoint_age 0 0
|
||||
Innodb_checkpoint_max_age 7782360 7782360
|
||||
Innodb_checkpoint_target_age 7539162 7539162
|
||||
Innodb_data_fsyncs 3 3
|
||||
Innodb_data_pending_fsyncs 0 0
|
||||
Innodb_data_pending_reads 0 0
|
||||
Innodb_data_pending_writes 0 0
|
||||
Innodb_data_read 5574656 5574656
|
||||
Innodb_data_reads 217 217
|
||||
Innodb_data_writes 3 3
|
||||
Innodb_data_written 1536 1536
|
||||
Innodb_dblwr_pages_written 0 0
|
||||
Innodb_dblwr_writes 0 0
|
||||
Innodb_deadlocks 0 0
|
||||
Innodb_dict_tables 8 8
|
||||
Innodb_have_atomic_builtins OFF OFF
|
||||
Innodb_history_list_length 30 30
|
||||
Innodb_ibuf_discarded_delete_marks 0 0
|
||||
Innodb_ibuf_discarded_deletes 0 0
|
||||
Innodb_ibuf_discarded_inserts 0 0
|
||||
Innodb_ibuf_free_list 0 0
|
||||
Innodb_ibuf_merged_delete_marks 0 0
|
||||
Innodb_ibuf_merged_deletes 0 0
|
||||
Innodb_ibuf_merged_inserts 0 0
|
||||
Innodb_ibuf_merges 0 0
|
||||
Innodb_ibuf_segment_size 2 2
|
||||
Innodb_ibuf_size 1 1
|
||||
Innodb_log_waits 0 0
|
||||
Innodb_log_write_requests 0 0
|
||||
Innodb_log_writes 1 1
|
||||
Innodb_lsn_current 1687931 1687931
|
||||
Innodb_lsn_flushed 1687931 1687931
|
||||
Innodb_lsn_last_checkpoint 1687931 1687931
|
||||
Innodb_master_thread_1_second_loops 1 1
|
||||
Innodb_master_thread_10_second_loops 0 0
|
||||
Innodb_master_thread_background_loops 1 1
|
||||
Innodb_master_thread_main_flush_loops 1 1
|
||||
Innodb_master_thread_sleeps 1 1
|
||||
Innodb_max_trx_id 4864 4864
|
||||
Innodb_mem_adaptive_hash 2216932 2216932
|
||||
Innodb_mem_dictionary 577764 577764
|
||||
Innodb_mem_total 137003008 137003008
|
||||
Innodb_mutex_os_waits 0 0
|
||||
Innodb_mutex_spin_rounds 0 0
|
||||
Innodb_mutex_spin_waits 0 0
|
||||
Innodb_oldest_view_low_limit_trx_id 4864 4864
|
||||
Innodb_os_log_fsyncs 3 3
|
||||
Innodb_os_log_pending_fsyncs 0 0
|
||||
Innodb_os_log_pending_writes 0 0
|
||||
Innodb_os_log_written 512 512
|
||||
Innodb_page_size 16384 16384
|
||||
Innodb_pages_created 0 0
|
||||
Innodb_pages_read 206 206
|
||||
Innodb_pages_written 0 0
|
||||
Innodb_purge_trx_id 4472 4472
|
||||
Innodb_purge_undo_no 0 0
|
||||
Innodb_row_lock_current_waits 0 0
|
||||
Innodb_current_row_locks 0 0
|
||||
Innodb_row_lock_time 0 0
|
||||
Innodb_row_lock_time_avg 0 0
|
||||
Innodb_row_lock_time_max 0 0
|
||||
Innodb_row_lock_waits 0 0
|
||||
Innodb_rows_deleted 0 0
|
||||
Innodb_rows_inserted 0 0
|
||||
Innodb_rows_read 0 0
|
||||
Innodb_rows_updated 0 0
|
||||
Innodb_s_lock_os_waits 2 2
|
||||
Innodb_s_lock_spin_rounds 60 60
|
||||
Innodb_s_lock_spin_waits 2 2
|
||||
Innodb_truncated_status_writes 0 0
|
||||
Innodb_x_lock_os_waits 0 0
|
||||
Innodb_x_lock_spin_rounds 0 0
|
||||
Innodb_x_lock_spin_waits 0 0
|
||||
Key_blocks_not_flushed 0 0
|
||||
Key_blocks_unused 14497 14497
|
||||
Key_blocks_used 0 0
|
||||
Key_read_requests 0 0
|
||||
Key_reads 0 0
|
||||
Key_write_requests 0 0
|
||||
Key_writes 0 0
|
||||
Last_query_cost 0.000000 0.000000
|
||||
Max_used_connections 1 1
|
||||
Not_flushed_delayed_rows 0 0
|
||||
Open_files 46 46
|
||||
Open_streams 0 0
|
||||
Open_table_definitions 40 40
|
||||
Open_tables 40 40
|
||||
Opened_files 3708 3752
|
||||
Opened_table_definitions 40 40
|
||||
Opened_tables 47 47
|
||||
Performance_schema_cond_classes_lost 0 0
|
||||
Performance_schema_cond_instances_lost 0 0
|
||||
Performance_schema_file_classes_lost 0 0
|
||||
Performance_schema_file_handles_lost 0 0
|
||||
Performance_schema_file_instances_lost 0 0
|
||||
Performance_schema_locker_lost 0 0
|
||||
Performance_schema_mutex_classes_lost 0 0
|
||||
Performance_schema_mutex_instances_lost 0 0
|
||||
Performance_schema_rwlock_classes_lost 0 0
|
||||
Performance_schema_rwlock_instances_lost 0 0
|
||||
Performance_schema_table_handles_lost 0 0
|
||||
Performance_schema_table_instances_lost 0 0
|
||||
Performance_schema_thread_classes_lost 0 0
|
||||
Performance_schema_thread_instances_lost 0 0
|
||||
Prepared_stmt_count 0 0
|
||||
Qcache_free_blocks 1 1
|
||||
Qcache_free_memory 16768384 16768384
|
||||
Qcache_hits 0 0
|
||||
Qcache_inserts 0 0
|
||||
Qcache_lowmem_prunes 0 0
|
||||
Qcache_not_cached 730 749
|
||||
Qcache_queries_in_cache 0 0
|
||||
Qcache_total_blocks 1 1
|
||||
Queries 4239 4281
|
||||
Questions 4239 4281
|
||||
Rpl_status AUTH_MASTER AUTH_MASTER
|
||||
Select_full_join 0 0
|
||||
Select_full_range_join 0 0
|
||||
Select_range 0 0
|
||||
Select_range_check 0 0
|
||||
Select_scan 1141 1146
|
||||
Slave_heartbeat_period 0.000 0.000
|
||||
Slave_open_temp_tables 0 0
|
||||
Slave_received_heartbeats 0 0
|
||||
Slave_retried_transactions 0 0
|
||||
Slave_running OFF OFF
|
||||
Slow_launch_threads 0 0
|
||||
Slow_queries 0 0
|
||||
Sort_merge_passes 0 0
|
||||
Sort_range 0 0
|
||||
Sort_rows 0 0
|
||||
Sort_scan 48 48
|
||||
Ssl_accept_renegotiates 0 0
|
||||
Ssl_accepts 0 0
|
||||
Ssl_callback_cache_hits 0 0
|
||||
Ssl_cipher
|
||||
Ssl_cipher_list
|
||||
Ssl_client_connects 0 0
|
||||
Ssl_connect_renegotiates 0 0
|
||||
Ssl_ctx_verify_depth 0 0
|
||||
Ssl_ctx_verify_mode 0 0
|
||||
Ssl_default_timeout 0 0
|
||||
Ssl_finished_accepts 0 0
|
||||
Ssl_finished_connects 0 0
|
||||
Ssl_session_cache_hits 0 0
|
||||
Ssl_session_cache_misses 0 0
|
||||
Ssl_session_cache_mode NONE NONE
|
||||
Ssl_session_cache_overflows 0 0
|
||||
Ssl_session_cache_size 0 0
|
||||
Ssl_session_cache_timeouts 0 0
|
||||
Ssl_sessions_reused 0 0
|
||||
Ssl_used_session_cache_entries 0 0
|
||||
Ssl_verify_depth 0 0
|
||||
Ssl_verify_mode 0 0
|
||||
Ssl_version
|
||||
Table_locks_immediate 92 93
|
||||
Table_locks_waited 0 0
|
||||
Tc_log_max_pages_used 0 0
|
||||
Tc_log_page_size 0 0
|
||||
Tc_log_page_waits 0 0
|
||||
Threads_cached 0 0
|
||||
Threads_connected 1 1
|
||||
Threads_created 1 1
|
||||
Threads_running 1 1
|
||||
Uptime 94521 94532
|
||||
Uptime_since_flush_status 94521 94532
|
||||
binlog_commits 0 0
|
||||
binlog_group_commits 0 0
|
1
t/pt-mysql-summary/samples/temp_enc002/mysql-users
Normal file
1
t/pt-mysql-summary/samples/temp_enc002/mysql-users
Normal file
@@ -0,0 +1 @@
|
||||
6 0 1 1
|
372
t/pt-mysql-summary/samples/temp_enc002/mysql-variables
Normal file
372
t/pt-mysql-summary/samples/temp_enc002/mysql-variables
Normal file
@@ -0,0 +1,372 @@
|
||||
auto_increment_increment 1
|
||||
auto_increment_offset 1
|
||||
autocommit ON
|
||||
automatic_sp_privileges ON
|
||||
back_log 50
|
||||
basedir /usr
|
||||
big_tables OFF
|
||||
binlog_cache_size 32768
|
||||
binlog_direct_non_transactional_updates OFF
|
||||
binlog_format STATEMENT
|
||||
binlog_stmt_cache_size 32768
|
||||
bulk_insert_buffer_size 8388608
|
||||
character_set_client latin1
|
||||
character_set_connection latin1
|
||||
character_set_database latin1
|
||||
character_set_filesystem binary
|
||||
character_set_results latin1
|
||||
character_set_server latin1
|
||||
character_set_system utf8
|
||||
character_sets_dir /usr/share/charsets/
|
||||
collation_connection latin1_swedish_ci
|
||||
collation_database latin1_swedish_ci
|
||||
collation_server latin1_swedish_ci
|
||||
completion_type NO_CHAIN
|
||||
concurrent_insert AUTO
|
||||
connect_timeout 10
|
||||
datadir /var/lib/mysql/
|
||||
date_format %Y-%m-%d
|
||||
datetime_format %Y-%m-%d %H:%i:%s
|
||||
default_storage_engine InnoDB
|
||||
default_week_format 0
|
||||
delay_key_write ON
|
||||
delayed_insert_limit 100
|
||||
delayed_insert_timeout 300
|
||||
delayed_queue_size 1000
|
||||
div_precision_increment 4
|
||||
engine_condition_pushdown ON
|
||||
event_scheduler OFF
|
||||
expand_fast_index_creation OFF
|
||||
expire_logs_days 10
|
||||
fast_index_creation ON
|
||||
flush OFF
|
||||
flush_time 0
|
||||
foreign_key_checks ON
|
||||
ft_boolean_syntax + -><()~*:""&|
|
||||
ft_max_word_len 84
|
||||
ft_min_word_len 4
|
||||
ft_query_expansion_limit 20
|
||||
ft_stopword_file (built-in)
|
||||
general_log OFF
|
||||
general_log_file /var/lib/mysql/hugmeir.log
|
||||
group_concat_max_len 1024
|
||||
have_compress YES
|
||||
have_crypt YES
|
||||
have_csv YES
|
||||
have_dynamic_loading YES
|
||||
have_geometry YES
|
||||
have_innodb YES
|
||||
have_ndbcluster NO
|
||||
have_openssl DISABLED
|
||||
have_partitioning YES
|
||||
have_profiling YES
|
||||
have_query_cache YES
|
||||
have_response_time_distribution YES
|
||||
have_rtree_keys YES
|
||||
have_ssl DISABLED
|
||||
have_symlink YES
|
||||
hostname hugmeir
|
||||
ignore_builtin_innodb OFF
|
||||
init_connect
|
||||
init_file
|
||||
init_slave
|
||||
innodb_adaptive_flushing ON
|
||||
innodb_adaptive_flushing_method estimate
|
||||
innodb_adaptive_hash_index ON
|
||||
innodb_adaptive_hash_index_partitions 1
|
||||
innodb_additional_mem_pool_size 8388608
|
||||
innodb_autoextend_increment 8
|
||||
innodb_autoinc_lock_mode 1
|
||||
innodb_blocking_buffer_pool_restore OFF
|
||||
innodb_buffer_pool_instances 1
|
||||
innodb_buffer_pool_restore_at_startup 0
|
||||
innodb_buffer_pool_shm_checksum ON
|
||||
innodb_buffer_pool_shm_key 0
|
||||
innodb_buffer_pool_size 134217728
|
||||
innodb_change_buffering all
|
||||
innodb_checkpoint_age_target 0
|
||||
innodb_checksums ON
|
||||
innodb_commit_concurrency 0
|
||||
innodb_concurrency_tickets 500
|
||||
innodb_corrupt_table_action assert
|
||||
innodb_data_file_path ibdata1:10M:autoextend
|
||||
innodb_data_home_dir
|
||||
innodb_dict_size_limit 0
|
||||
innodb_doublewrite ON
|
||||
innodb_doublewrite_file
|
||||
innodb_fake_changes OFF
|
||||
innodb_fast_checksum OFF
|
||||
innodb_fast_shutdown 1
|
||||
innodb_file_format Antelope
|
||||
innodb_file_format_check ON
|
||||
innodb_file_format_max Antelope
|
||||
innodb_file_per_table OFF
|
||||
innodb_flush_log_at_trx_commit 1
|
||||
innodb_flush_method
|
||||
innodb_flush_neighbor_pages area
|
||||
innodb_force_load_corrupted OFF
|
||||
innodb_force_recovery 0
|
||||
innodb_ibuf_accel_rate 100
|
||||
innodb_ibuf_active_contract 1
|
||||
innodb_ibuf_max_size 67092480
|
||||
innodb_import_table_from_xtrabackup 0
|
||||
innodb_io_capacity 200
|
||||
innodb_kill_idle_transaction 0
|
||||
innodb_large_prefix OFF
|
||||
innodb_lazy_drop_table 0
|
||||
innodb_lock_wait_timeout 50
|
||||
innodb_locks_unsafe_for_binlog OFF
|
||||
innodb_log_block_size 512
|
||||
innodb_log_buffer_size 8388608
|
||||
innodb_log_file_size 5242880
|
||||
innodb_log_files_in_group 2
|
||||
innodb_log_group_home_dir ./
|
||||
innodb_max_dirty_pages_pct 75
|
||||
innodb_max_purge_lag 0
|
||||
innodb_mirrored_log_groups 1
|
||||
innodb_old_blocks_pct 37
|
||||
innodb_old_blocks_time 0
|
||||
innodb_open_files 300
|
||||
innodb_page_size 16384
|
||||
innodb_purge_batch_size 20
|
||||
innodb_purge_threads 1
|
||||
innodb_random_read_ahead OFF
|
||||
innodb_read_ahead linear
|
||||
innodb_read_ahead_threshold 56
|
||||
innodb_read_io_threads 4
|
||||
innodb_recovery_stats OFF
|
||||
innodb_recovery_update_relay_log OFF
|
||||
innodb_replication_delay 0
|
||||
innodb_rollback_on_timeout OFF
|
||||
innodb_rollback_segments 128
|
||||
innodb_show_locks_held 10
|
||||
innodb_show_verbose_locks 0
|
||||
innodb_spin_wait_delay 6
|
||||
innodb_stats_auto_update 1
|
||||
innodb_stats_method nulls_equal
|
||||
innodb_stats_on_metadata ON
|
||||
innodb_stats_sample_pages 8
|
||||
innodb_stats_update_need_lock 1
|
||||
innodb_strict_mode OFF
|
||||
innodb_support_xa ON
|
||||
innodb_sync_spin_loops 30
|
||||
innodb_table_locks ON
|
||||
innodb_thread_concurrency 0
|
||||
innodb_thread_concurrency_timer_based OFF
|
||||
innodb_thread_sleep_delay 10000
|
||||
innodb_use_global_flush_log_at_trx_commit ON
|
||||
innodb_use_native_aio ON
|
||||
innodb_use_sys_malloc ON
|
||||
innodb_use_sys_stats_table OFF
|
||||
innodb_version 1.1.8-rel24.1
|
||||
innodb_write_io_threads 4
|
||||
interactive_timeout 28800
|
||||
join_buffer_size 131072
|
||||
keep_files_on_create OFF
|
||||
key_buffer_size 16777216
|
||||
key_cache_age_threshold 300
|
||||
key_cache_block_size 1024
|
||||
key_cache_division_limit 100
|
||||
large_files_support ON
|
||||
large_page_size 0
|
||||
large_pages OFF
|
||||
lc_messages en_US
|
||||
lc_messages_dir /usr/share/
|
||||
lc_time_names en_US
|
||||
license GPL
|
||||
local_infile ON
|
||||
lock_wait_timeout 31536000
|
||||
locked_in_memory OFF
|
||||
log OFF
|
||||
log_bin OFF
|
||||
log_bin_trust_function_creators OFF
|
||||
log_error /var/log/mysql/error.log
|
||||
log_output FILE
|
||||
log_queries_not_using_indexes OFF
|
||||
log_slave_updates OFF
|
||||
log_slow_admin_statements OFF
|
||||
log_slow_filter
|
||||
log_slow_queries OFF
|
||||
log_slow_rate_limit 1
|
||||
log_slow_slave_statements OFF
|
||||
log_slow_sp_statements ON
|
||||
log_slow_verbosity
|
||||
log_warnings 1
|
||||
log_warnings_suppress
|
||||
long_query_time 10.000000
|
||||
low_priority_updates OFF
|
||||
lower_case_file_system OFF
|
||||
lower_case_table_names 0
|
||||
max_allowed_packet 16777216
|
||||
max_binlog_cache_size 18446744073709547520
|
||||
max_binlog_size 104857600
|
||||
max_binlog_stmt_cache_size 18446744073709547520
|
||||
max_connect_errors 10
|
||||
max_connections 151
|
||||
max_delayed_threads 20
|
||||
max_error_count 64
|
||||
max_heap_table_size 16777216
|
||||
max_insert_delayed_threads 20
|
||||
max_join_size 18446744073709551615
|
||||
max_length_for_sort_data 1024
|
||||
max_long_data_size 16777216
|
||||
max_prepared_stmt_count 16382
|
||||
max_relay_log_size 0
|
||||
max_seeks_for_key 4294967295
|
||||
max_sort_length 1024
|
||||
max_sp_recursion_depth 0
|
||||
max_tmp_tables 32
|
||||
max_user_connections 0
|
||||
max_write_lock_count 4294967295
|
||||
metadata_locks_cache_size 1024
|
||||
min_examined_row_limit 0
|
||||
multi_range_count 256
|
||||
myisam_data_pointer_size 6
|
||||
myisam_max_sort_file_size 2146435072
|
||||
myisam_mmap_size 4294967295
|
||||
myisam_recover_options BACKUP
|
||||
myisam_repair_threads 1
|
||||
myisam_sort_buffer_size 8388608
|
||||
myisam_stats_method nulls_unequal
|
||||
myisam_use_mmap OFF
|
||||
net_buffer_length 16384
|
||||
net_read_timeout 30
|
||||
net_retry_count 10
|
||||
net_write_timeout 60
|
||||
new OFF
|
||||
old OFF
|
||||
old_alter_table OFF
|
||||
old_passwords OFF
|
||||
open_files_limit 1024
|
||||
optimizer_fix ON
|
||||
optimizer_prune_level 1
|
||||
optimizer_search_depth 62
|
||||
optimizer_switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on
|
||||
performance_schema OFF
|
||||
performance_schema_events_waits_history_long_size 10000
|
||||
performance_schema_events_waits_history_size 10
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
performance_schema_max_mutex_classes 200
|
||||
performance_schema_max_mutex_instances 1000000
|
||||
performance_schema_max_rwlock_classes 30
|
||||
performance_schema_max_rwlock_instances 1000000
|
||||
performance_schema_max_table_handles 100000
|
||||
performance_schema_max_table_instances 50000
|
||||
performance_schema_max_thread_classes 50
|
||||
performance_schema_max_thread_instances 1000
|
||||
pid_file /var/lib/mysql/hugmeir.pid
|
||||
plugin_dir /home/hugmeir/mysql5/mysqlbrew/mysqls/Percona-Server-5.5/lib/mysql/plugin
|
||||
port 3306
|
||||
preload_buffer_size 32768
|
||||
profiling OFF
|
||||
profiling_history_size 15
|
||||
protocol_version 10
|
||||
query_alloc_block_size 8192
|
||||
query_cache_limit 1048576
|
||||
query_cache_min_res_unit 4096
|
||||
query_cache_size 16777216
|
||||
query_cache_strip_comments OFF
|
||||
query_cache_type ON
|
||||
query_cache_wlock_invalidate OFF
|
||||
query_prealloc_size 8192
|
||||
query_response_time_range_base 10
|
||||
query_response_time_stats OFF
|
||||
range_alloc_block_size 4096
|
||||
read_buffer_size 131072
|
||||
read_only OFF
|
||||
read_rnd_buffer_size 262144
|
||||
relay_log
|
||||
relay_log_index
|
||||
relay_log_info_file relay-log.info
|
||||
relay_log_purge ON
|
||||
relay_log_recovery OFF
|
||||
relay_log_space_limit 0
|
||||
report_host
|
||||
report_password
|
||||
report_port 3306
|
||||
report_user
|
||||
rpl_recovery_rank 0
|
||||
secure_auth OFF
|
||||
secure_file_priv
|
||||
server_id 0
|
||||
skip_external_locking ON
|
||||
skip_name_resolve OFF
|
||||
skip_networking OFF
|
||||
skip_show_database OFF
|
||||
slave_compressed_protocol OFF
|
||||
slave_exec_mode STRICT
|
||||
slave_load_tmpdir /tmp
|
||||
slave_net_timeout 3600
|
||||
slave_skip_errors OFF
|
||||
slave_transaction_retries 10
|
||||
slave_type_conversions
|
||||
slow_launch_time 2
|
||||
slow_query_log OFF
|
||||
slow_query_log_file /var/lib/mysql/hugmeir-slow.log
|
||||
slow_query_log_timestamp_always OFF
|
||||
slow_query_log_timestamp_precision second
|
||||
slow_query_log_use_global_control
|
||||
socket /var/run/mysqld/mysqld.sock
|
||||
sort_buffer_size 2097152
|
||||
sql_auto_is_null OFF
|
||||
sql_big_selects ON
|
||||
sql_big_tables OFF
|
||||
sql_buffer_result OFF
|
||||
sql_log_bin ON
|
||||
sql_log_off OFF
|
||||
sql_low_priority_updates OFF
|
||||
sql_max_join_size 18446744073709551615
|
||||
sql_mode
|
||||
sql_notes ON
|
||||
sql_quote_show_create ON
|
||||
sql_safe_updates OFF
|
||||
sql_select_limit 18446744073709551615
|
||||
sql_slave_skip_counter 0
|
||||
sql_warnings OFF
|
||||
ssl_ca
|
||||
ssl_capath
|
||||
ssl_cert
|
||||
ssl_cipher
|
||||
ssl_key
|
||||
storage_engine InnoDB
|
||||
sync_binlog 0
|
||||
sync_frm ON
|
||||
sync_master_info 0
|
||||
sync_relay_log 0
|
||||
sync_relay_log_info 0
|
||||
system_time_zone ART
|
||||
table_definition_cache 400
|
||||
table_open_cache 400
|
||||
thread_cache_size 8
|
||||
thread_concurrency 10
|
||||
thread_handling one-thread-per-connection
|
||||
thread_stack 196608
|
||||
thread_statistics OFF
|
||||
time_format %H:%i:%s
|
||||
time_zone SYSTEM
|
||||
timed_mutexes OFF
|
||||
tmp_table_size 16777216
|
||||
tmpdir /tmp
|
||||
transaction_alloc_block_size 8192
|
||||
transaction_prealloc_size 4096
|
||||
tx_isolation REPEATABLE-READ
|
||||
unique_checks ON
|
||||
updatable_views_with_limit YES
|
||||
userstat OFF
|
||||
version 5.5.20-rel24.1
|
||||
version_comment Percona Server with XtraDB (GPL), Release rel24.1, Revision 217
|
||||
version_compile_machine i686
|
||||
version_compile_os Linux
|
||||
wait_timeout 28800
|
||||
pt-summary-internal-current_time 2012-03-22 18:50
|
||||
pt-summary-internal-Config_File_path /etc/mysql/my.cnf
|
||||
pt-summary-internal-now 2012-03-23 21:05:32
|
||||
pt-summary-internal-user hugmeir@localhost
|
||||
pt-summary-internal-FNV_64 Unknown
|
||||
pt-summary-internal-trigger_count 0
|
||||
pt-summary-internal-symbols Yes
|
||||
pt-summary-internal-pid_file_exists
|
4
t/pt-mysql-summary/samples/temp_enc002/mysqld-instances
Normal file
4
t/pt-mysql-summary/samples/temp_enc002/mysqld-instances
Normal file
@@ -0,0 +1,4 @@
|
||||
root 7306 0.0 0.0 5808 1668 pts/1 S+ Mar22 0:00 sudo bin/mysqld_safe
|
||||
root 7307 0.0 0.0 2048 596 pts/1 S+ Mar22 0:00 /bin/sh bin/mysqld_safe
|
||||
mysql 7615 0.1 1.7 333480 36432 pts/1 Sl+ Mar22 1:43 /home/hugmeir/mysql5/mysqlbrew/mysqls/Percona-Server-5.5/bin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/home/hugmeir/mysql5/mysqlbrew/mysqls/Percona-Server-5.5/lib/mysql/plugin --user=mysql --log-error=/var/log/mysql/error.log --pid-file=/var/lib/mysql/hugmeir.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
|
||||
hugmeir 19009 0.0 0.0 4456 776 pts/0 S+ 21:05 0:00 grep mysqld
|
396
t/pt-mysql-summary/samples/temp_enc002/mysqldump
Normal file
396
t/pt-mysql-summary/samples/temp_enc002/mysqldump
Normal file
@@ -0,0 +1,396 @@
|
||||
|
||||
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `bluh` /*!40100 DEFAULT CHARACTER SET latin1 */;
|
||||
|
||||
USE `bluh`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `test` (
|
||||
`id` int(11) DEFAULT NULL,
|
||||
`t_test` text,
|
||||
`bi_test` binary(1) DEFAULT NULL,
|
||||
`blo_test` blob
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `meh` /*!40100 DEFAULT CHARACTER SET latin1 */;
|
||||
|
||||
USE `meh`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `future``me` (
|
||||
`bluh` char(1) DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysql` /*!40100 DEFAULT CHARACTER SET latin1 */;
|
||||
|
||||
USE `mysql`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `columns_priv` (
|
||||
`Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Db` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`User` char(16) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Table_name` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Column_name` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`Column_priv` set('Select','Insert','Update','References') CHARACTER SET utf8 NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`Host`,`Db`,`User`,`Table_name`,`Column_name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Column privileges';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `db` (
|
||||
`Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Db` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`User` char(16) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Select_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Insert_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Update_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Delete_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Create_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Drop_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Grant_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`References_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Index_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Alter_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Create_tmp_table_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Lock_tables_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Create_view_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Show_view_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Create_routine_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Alter_routine_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Execute_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Event_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Trigger_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
PRIMARY KEY (`Host`,`Db`,`User`),
|
||||
KEY `User` (`User`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Database privileges';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `event` (
|
||||
`db` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`name` char(64) NOT NULL DEFAULT '',
|
||||
`body` longblob NOT NULL,
|
||||
`definer` char(77) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`execute_at` datetime DEFAULT NULL,
|
||||
`interval_value` int(11) DEFAULT NULL,
|
||||
`interval_field` enum('YEAR','QUARTER','MONTH','DAY','HOUR','MINUTE','WEEK','SECOND','MICROSECOND','YEAR_MONTH','DAY_HOUR','DAY_MINUTE','DAY_SECOND','HOUR_MINUTE','HOUR_SECOND','MINUTE_SECOND','DAY_MICROSECOND','HOUR_MICROSECOND','MINUTE_MICROSECOND','SECOND_MICROSECOND') DEFAULT NULL,
|
||||
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`modified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`last_executed` datetime DEFAULT NULL,
|
||||
`starts` datetime DEFAULT NULL,
|
||||
`ends` datetime DEFAULT NULL,
|
||||
`status` enum('ENABLED','DISABLED','SLAVESIDE_DISABLED') NOT NULL DEFAULT 'ENABLED',
|
||||
`on_completion` enum('DROP','PRESERVE') NOT NULL DEFAULT 'DROP',
|
||||
`sql_mode` set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH') NOT NULL DEFAULT '',
|
||||
`comment` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`originator` int(10) unsigned NOT NULL,
|
||||
`time_zone` char(64) CHARACTER SET latin1 NOT NULL DEFAULT 'SYSTEM',
|
||||
`character_set_client` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
|
||||
`collation_connection` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
|
||||
`db_collation` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
|
||||
`body_utf8` longblob,
|
||||
PRIMARY KEY (`db`,`name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Events';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `func` (
|
||||
`name` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`ret` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`dl` char(128) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`type` enum('function','aggregate') CHARACTER SET utf8 NOT NULL,
|
||||
PRIMARY KEY (`name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='User defined functions';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `help_category` (
|
||||
`help_category_id` smallint(5) unsigned NOT NULL,
|
||||
`name` char(64) NOT NULL,
|
||||
`parent_category_id` smallint(5) unsigned DEFAULT NULL,
|
||||
`url` char(128) NOT NULL,
|
||||
PRIMARY KEY (`help_category_id`),
|
||||
UNIQUE KEY `name` (`name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='help categories';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `help_keyword` (
|
||||
`help_keyword_id` int(10) unsigned NOT NULL,
|
||||
`name` char(64) NOT NULL,
|
||||
PRIMARY KEY (`help_keyword_id`),
|
||||
UNIQUE KEY `name` (`name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='help keywords';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `help_relation` (
|
||||
`help_topic_id` int(10) unsigned NOT NULL,
|
||||
`help_keyword_id` int(10) unsigned NOT NULL,
|
||||
PRIMARY KEY (`help_keyword_id`,`help_topic_id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='keyword-topic relation';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `help_topic` (
|
||||
`help_topic_id` int(10) unsigned NOT NULL,
|
||||
`name` char(64) NOT NULL,
|
||||
`help_category_id` smallint(5) unsigned NOT NULL,
|
||||
`description` text NOT NULL,
|
||||
`example` text NOT NULL,
|
||||
`url` char(128) NOT NULL,
|
||||
PRIMARY KEY (`help_topic_id`),
|
||||
UNIQUE KEY `name` (`name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='help topics';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `host` (
|
||||
`Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Db` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Select_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Insert_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Update_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Delete_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Create_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Drop_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Grant_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`References_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Index_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Alter_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Create_tmp_table_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Lock_tables_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Create_view_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Show_view_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Create_routine_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Alter_routine_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Execute_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Trigger_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
PRIMARY KEY (`Host`,`Db`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Host privileges; Merged with database privileges';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `ndb_binlog_index` (
|
||||
`Position` bigint(20) unsigned NOT NULL,
|
||||
`File` varchar(255) NOT NULL,
|
||||
`epoch` bigint(20) unsigned NOT NULL,
|
||||
`inserts` bigint(20) unsigned NOT NULL,
|
||||
`updates` bigint(20) unsigned NOT NULL,
|
||||
`deletes` bigint(20) unsigned NOT NULL,
|
||||
`schemaops` bigint(20) unsigned NOT NULL,
|
||||
PRIMARY KEY (`epoch`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `plugin` (
|
||||
`name` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`dl` char(128) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='MySQL plugins';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `proc` (
|
||||
`db` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`name` char(64) NOT NULL DEFAULT '',
|
||||
`type` enum('FUNCTION','PROCEDURE') NOT NULL,
|
||||
`specific_name` char(64) NOT NULL DEFAULT '',
|
||||
`language` enum('SQL') NOT NULL DEFAULT 'SQL',
|
||||
`sql_data_access` enum('CONTAINS_SQL','NO_SQL','READS_SQL_DATA','MODIFIES_SQL_DATA') NOT NULL DEFAULT 'CONTAINS_SQL',
|
||||
`is_deterministic` enum('YES','NO') NOT NULL DEFAULT 'NO',
|
||||
`security_type` enum('INVOKER','DEFINER') NOT NULL DEFAULT 'DEFINER',
|
||||
`param_list` blob NOT NULL,
|
||||
`returns` longblob NOT NULL,
|
||||
`body` longblob NOT NULL,
|
||||
`definer` char(77) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`modified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`sql_mode` set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH') NOT NULL DEFAULT '',
|
||||
`comment` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`character_set_client` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
|
||||
`collation_connection` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
|
||||
`db_collation` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
|
||||
`body_utf8` longblob,
|
||||
PRIMARY KEY (`db`,`name`,`type`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Stored Procedures';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `procs_priv` (
|
||||
`Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Db` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`User` char(16) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Routine_name` char(64) CHARACTER SET utf8 NOT NULL DEFAULT '',
|
||||
`Routine_type` enum('FUNCTION','PROCEDURE') COLLATE utf8_bin NOT NULL,
|
||||
`Grantor` char(77) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Proc_priv` set('Execute','Alter Routine','Grant') CHARACTER SET utf8 NOT NULL DEFAULT '',
|
||||
`Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`Host`,`Db`,`User`,`Routine_name`,`Routine_type`),
|
||||
KEY `Grantor` (`Grantor`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Procedure privileges';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `proxies_priv` (
|
||||
`Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`User` char(16) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Proxied_host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Proxied_user` char(16) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`With_grant` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`Grantor` char(77) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`Host`,`User`,`Proxied_host`,`Proxied_user`),
|
||||
KEY `Grantor` (`Grantor`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='User proxy privileges';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `servers` (
|
||||
`Server_name` char(64) NOT NULL DEFAULT '',
|
||||
`Host` char(64) NOT NULL DEFAULT '',
|
||||
`Db` char(64) NOT NULL DEFAULT '',
|
||||
`Username` char(64) NOT NULL DEFAULT '',
|
||||
`Password` char(64) NOT NULL DEFAULT '',
|
||||
`Port` int(4) NOT NULL DEFAULT '0',
|
||||
`Socket` char(64) NOT NULL DEFAULT '',
|
||||
`Wrapper` char(64) NOT NULL DEFAULT '',
|
||||
`Owner` char(64) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`Server_name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='MySQL Foreign Servers table';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `tables_priv` (
|
||||
`Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Db` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`User` char(16) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Table_name` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Grantor` char(77) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`Table_priv` set('Select','Insert','Update','Delete','Create','Drop','Grant','References','Index','Alter','Create View','Show view','Trigger') CHARACTER SET utf8 NOT NULL DEFAULT '',
|
||||
`Column_priv` set('Select','Insert','Update','References') CHARACTER SET utf8 NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`Host`,`Db`,`User`,`Table_name`),
|
||||
KEY `Grantor` (`Grantor`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Table privileges';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `time_zone` (
|
||||
`Time_zone_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`Use_leap_seconds` enum('Y','N') NOT NULL DEFAULT 'N',
|
||||
PRIMARY KEY (`Time_zone_id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Time zones';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `time_zone_leap_second` (
|
||||
`Transition_time` bigint(20) NOT NULL,
|
||||
`Correction` int(11) NOT NULL,
|
||||
PRIMARY KEY (`Transition_time`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Leap seconds information for time zones';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `time_zone_name` (
|
||||
`Name` char(64) NOT NULL,
|
||||
`Time_zone_id` int(10) unsigned NOT NULL,
|
||||
PRIMARY KEY (`Name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Time zone names';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `time_zone_transition` (
|
||||
`Time_zone_id` int(10) unsigned NOT NULL,
|
||||
`Transition_time` bigint(20) NOT NULL,
|
||||
`Transition_type_id` int(10) unsigned NOT NULL,
|
||||
PRIMARY KEY (`Time_zone_id`,`Transition_time`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Time zone transitions';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `time_zone_transition_type` (
|
||||
`Time_zone_id` int(10) unsigned NOT NULL,
|
||||
`Transition_type_id` int(10) unsigned NOT NULL,
|
||||
`Offset` int(11) NOT NULL DEFAULT '0',
|
||||
`Is_DST` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`Abbreviation` char(8) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`Time_zone_id`,`Transition_type_id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Time zone transition types';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `user` (
|
||||
`Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`User` char(16) COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||
`Password` char(41) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
|
||||
`Select_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Insert_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Update_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Delete_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Create_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Drop_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Reload_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Shutdown_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Process_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`File_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Grant_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`References_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Index_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Alter_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Show_db_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Super_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Create_tmp_table_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Lock_tables_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Execute_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Repl_slave_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Repl_client_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Create_view_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Show_view_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Create_routine_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Alter_routine_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Create_user_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Event_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`Trigger_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
|
||||
`ssl_type` enum('','ANY','X509','SPECIFIED') CHARACTER SET utf8 NOT NULL DEFAULT '',
|
||||
`ssl_cipher` blob NOT NULL,
|
||||
`x509_issuer` blob NOT NULL,
|
||||
`x509_subject` blob NOT NULL,
|
||||
`max_questions` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`max_updates` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`max_connections` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`max_user_connections` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`Host`,`User`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Users and global privileges';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `percona` /*!40100 DEFAULT CHARACTER SET latin1 */;
|
||||
|
||||
USE `percona`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `checksums` (
|
||||
`db` char(64) NOT NULL,
|
||||
`tbl` char(64) NOT NULL,
|
||||
`chunk` int(11) NOT NULL,
|
||||
`chunk_time` float DEFAULT NULL,
|
||||
`chunk_index` varchar(200) DEFAULT NULL,
|
||||
`lower_boundary` text,
|
||||
`upper_boundary` text,
|
||||
`this_crc` char(40) NOT NULL,
|
||||
`this_cnt` int(11) NOT NULL,
|
||||
`master_crc` char(40) DEFAULT NULL,
|
||||
`master_cnt` int(11) DEFAULT NULL,
|
||||
`ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`db`,`tbl`,`chunk`),
|
||||
KEY `ts_db_tbl` (`ts`,`db`,`tbl`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `performance_schema` /*!40100 DEFAULT CHARACTER SET utf8 */;
|
||||
|
||||
USE `performance_schema`;
|
Reference in New Issue
Block a user