|
|
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Всем форумчанам привет! Мучаюсь, не хватает скилов, прошу помощи в правильной настройке. Суть: 1 мастер, 2 слэйва. Один слэйв внезапно рухнул и не захотел подниматься. После полного восстановления из пофайлового бэкапа завелся, репликация пошла, догнала масттер и опять упала. Попыток было много, но все безуспешные. Падала либо через 2 часа, либо через день. База на мастере MySQL 5.6 на слэйвах Percona 5.6. База весит ~250Гб. Первый слэйв который не падает отличается только количеством оперативы (на первом 50гб, на втором 35гб). Конфиг слэйва: # Percona Server template configuration [mysqld] innodb_buffer_pool_size = 15G max_connections=50 max_heap_table_size = 4G collation-server = utf8_general_ci init-connect = 'SET NAMES utf8' character-set-server = utf8 max_allowed_packet=64M datadir=/data-drive/mysql socket=/data-drive/mysql/mysql.sock tmpdir=/data-drive/mysql_tmp # Replication server-id = 11 relay-log = /data-drive/replication_logs/mysql-relaylogs relay-log-index = /data-drive/replication_logs/mysql-relaylogs.index replicate-do-db = db replicate-wild-ignore-table=tmp.% symbolic-links=0 sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [client] socket=/data-drive/mysql/mysql.sock default-character-set = utf8 [mysql] default-character-set = utf8 Логи: 2015-09-07 13:43:42 7586 [Note] Slave I/O thread: connected to master 'replication@10.77.77.21:3306',replication started in log 'mysql-binlogs.000540' at position 709451180 2015-09-09 01:17:09 7f1fcc11d700 InnoDB: Assertion failure in thread 139774544434944 in file btr0cur.cc line 356 InnoDB: Failing assertion: btr_page_get_next(get_block->frame, mtr) == page_get_page_no(page) InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html InnoDB: about forcing recovery. 22:17:09 UTC - mysqld got signal 6 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. Please help us make Percona Server better by reporting any bugs at http://bugs.percona.com/ key_buffer_size=8388608 read_buffer_size=131072 max_used_connections=1 max_threads=52 thread_count=2 connection_count=0 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 28864 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f1ba8000990 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 7f1fcc11c8c0 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x3b)[0x8dbfcb] /usr/sbin/mysqld(handle_fatal_signal+0x471)[0x659b31] /lib64/libpthread.so.0(+0xf130)[0x7f1fea514130] /lib64/libc.so.6(gsignal+0x37)[0x7f1fe8ac15d7] /lib64/libc.so.6(abort+0x148)[0x7f1fe8ac2cc8] /usr/sbin/mysqld[0xa5375e] /usr/sbin/mysqld[0xa54f4e] /usr/sbin/mysqld[0x96873d] /usr/sbin/mysqld[0x96de66] /usr/sbin/mysqld[0xa54e33] /usr/sbin/mysqld[0x9d6ffd] /usr/sbin/mysqld[0x9d96bb] /usr/sbin/mysqld[0x9d9a81] /usr/sbin/mysqld[0x9e5527] /usr/sbin/mysqld[0x94da20] /usr/sbin/mysqld(_ZN7handler12ha_write_rowEPh+0xaa)[0x5a195a] /usr/sbin/mysqld(_Z12write_recordP3THDP5TABLEP9COPY_INFOS4_+0x85)[0x6c4d35] /usr/sbin/mysqld(_Z12mysql_insertP3THDP10TABLE_LISTR4ListI4ItemERS3_IS5_ES6_S6_15enum_duplicatesb+0x10a1)[0x6ca911] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1d70)[0x6dda70] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x5b8)[0x6e2dd8] /usr/sbin/mysqld(_ZN15Query_log_event14do_apply_eventEPK14Relay_log_infoPKcj+0x65d)[0x86b90d] /usr/sbin/mysqld(_ZN9Log_event11apply_eventEP14Relay_log_info+0x6a)[0x869caa] /usr/sbin/mysqld(_Z26apply_event_and_update_posPP9Log_eventP3THDP14Relay_log_info+0x25e)[0x8a1dfe] /usr/sbin/mysqld(handle_slave_sql+0x124b)[0x8a596b] /usr/sbin/mysqld(pfs_spawn_thread+0x143)[0x914343] /lib64/libpthread.so.0(+0x7df5)[0x7f1fea50cdf5] /lib64/libc.so.6(clone+0x6d)[0x7f1fe8b821ad] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (7f1ba8008d40): is an invalid pointer Connection ID (thread ID): 4 Status: NOT_KILLED You may download the Percona Server operations manual by visiting http://www.percona.com/software/percona-server/. You may find information in the manual which will help you identify the cause of the crash. 150909 01:17:11 mysqld_safe Number of processes running now: 0 150909 01:17:11 mysqld_safe mysqld restarted 2015-09-09 01:17:11 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2015-09-09 01:17:11 0 [Note] /usr/sbin/mysqld (mysqld 5.6.25-73.1) starting as process 13382 ... 2015-09-09 01:17:11 13382 [Note] Plugin 'FEDERATED' is disabled. 2015-09-09 01:17:11 13382 [Note] InnoDB: Using atomics to ref count buffer pool pages 2015-09-09 01:17:11 13382 [Note] InnoDB: The InnoDB memory heap is disabled 2015-09-09 01:17:11 13382 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2015-09-09 01:17:11 13382 [Note] InnoDB: Memory barrier is not used 2015-09-09 01:17:11 13382 [Note] InnoDB: Compressed tables use zlib 1.2.3 2015-09-09 01:17:11 13382 [Note] InnoDB: Using Linux native AIO 2015-09-09 01:17:11 13382 [Note] InnoDB: Using CPU crc32 instructions 2015-09-09 01:17:11 13382 [Note] InnoDB: Initializing buffer pool, size = 15.0G 2015-09-09 01:17:12 13382 [Note] InnoDB: Completed initialization of buffer pool 2015-09-09 01:17:12 13382 [Note] InnoDB: Highest supported file format is Barracuda. 2015-09-09 01:17:12 13382 [Note] InnoDB: Log scan progressed past the checkpoint lsn 883285591069 2015-09-09 01:17:12 13382 [Note] InnoDB: Database was not shutdown normally! 2015-09-09 01:17:12 13382 [Note] InnoDB: Starting crash recovery. 2015-09-09 01:17:12 13382 [Note] InnoDB: Reading tablespace information from the .ibd files... 2015-09-09 01:17:14 13382 [Note] InnoDB: Restoring possible half-written data pages 2015-09-09 01:17:14 13382 [Note] InnoDB: from the doublewrite buffer... InnoDB: Doing recovery: scanned up to log sequence number 883290833920 InnoDB: Doing recovery: scanned up to log sequence number 883296076800 InnoDB: Doing recovery: scanned up to log sequence number 883301319680 InnoDB: Doing recovery: scanned up to log sequence number 883306562560 InnoDB: Doing recovery: scanned up to log sequence number 883307713424 2015-09-09 01:17:16 13382 [Note] InnoDB: Starting an apply batch of log records to the database... InnoDB: Progress in percent: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 InnoDB: Apply batch completed InnoDB: Last MySQL binlog file position 0 709451180, file name mysql-binlogs.000540 2015-09-09 01:17:26 13382 [Note] InnoDB: 128 rollback segment(s) are active. 2015-09-09 01:17:26 13382 [Note] InnoDB: Waiting for purge to start 2015-09-09 01:17:26 13382 [Note] InnoDB: Percona XtraDB ( http://www.percona.com) 5.6.25-73.1 started; log sequence number 883307713424 2015-09-09 01:17:26 13382 [Note] RSA private key file not found: /data-drive/mysql//private_key.pem. Some authentication plugins will not work. 2015-09-09 01:17:26 13382 [Note] RSA public key file not found: /data-drive/mysql//public_key.pem. Some authentication plugins will not work. 2015-09-09 01:17:26 13382 [Note] Server hostname (bind-address): '*'; port: 3306 2015-09-09 01:17:26 13382 [Note] IPv6 is available. 2015-09-09 01:17:26 13382 [Note] - '::' resolves to '::'; 2015-09-09 01:17:26 13382 [Note] Server socket created on IP: '::'. 2015-09-09 01:17:26 13382 [Warning] Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. 2015-09-09 01:17:26 13382 [Warning] Slave SQL: If a crash happens this configuration does not guarantee that the relay log info will be consistent, Error_code: 0 2015-09-09 01:17:26 13382 [Note] Slave SQL thread initialized, starting replication in log 'mysql-binlogs.000544' at position 88582324, relay log '/data-drive/replication_logs/mysql-relaylogs.000014' position: 88582487 2015-09-09 01:17:26 13382 [Note] Slave I/O thread: connected to master 'replication@10.77.77.21:3306',replication started in log 'mysql-binlogs.000544' at position 88600974 2015-09-09 01:17:26 7f3184d42700 InnoDB: Assertion failure in thread 139850658621184 in file btr0cur.cc line 356 InnoDB: Failing assertion: btr_page_get_next(get_block->frame, mtr) == page_get_page_no(page) InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html InnoDB: about forcing recovery. 22:17:26 UTC - mysqld got signal 6 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. Please help us make Percona Server better by reporting any bugs at http://bugs.percona.com/ Помогите советом добрым. Спасибо. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.09.2015, 09:32:10 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
что посоветовать... 1. проверьте диски, память, может все-таки железо хандрит 2. уменьшите key_buffer_size 3. уменьшите innodb_buffer_pool_size (допустим 10G) авторkey_buffer_size=8388608 read_buffer_size=131072 max_used_connections=1 max_threads=52 thread_count=2 connection_count=0 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 28864 K bytes of memoryэто на одну сессию, да + innodb_buffer_pool_size общий, может у вас все критично. Подсчитайте и оставьте с запасом. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.09.2015, 10:17:25 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Alex_Ustinovэто на одну сессию, да + innodb_buffer_pool_size общий, может у вас все критично. Подсчитайте и оставьте с запасом. смотрите значения SHOW STATUS. На двух слейвах совершенно одинаковые конфиги? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.09.2015, 10:33:26 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
да, покажите лучше SHOW STATUS падающего слейва через 1-2 часа работы (под спойлером) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.09.2015, 10:39:27 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Спасибо. SHOW STATUS выложу чуть позже. Сейчас накатываю дамп, чтобы запуститься. автор1. проверьте диски, память, может все-таки железо хандрит Здесь все должно быть нормально. На этой ноде несколько виртуалок и все работают хорошо. Плюс, на всякий случай, переустановили систему и на чистой заного подняли БД. автор2. уменьшите key_buffer_size 3. уменьшите innodb_buffer_pool_size (допустим 10G) Это попробую. авторНа двух слейвах совершенно одинаковые конфиги? Вот конфиг первого слэйва: [mysqld] innodb_buffer_pool_size = 20G max_connections=220 max_heap_table_size = 4G innodb_flush_log_at_trx_commit = 2 collation-server = utf8_general_ci init-connect = 'SET NAMES utf8' character-set-server = utf8 innodb_lock_wait_timeout = 300 datadir=/data-drive/mysql socket=/data-drive/mysql/mysql.sock tmpdir=/data-drive/mysql_tmp # Replication server-id = 10 relay-log = /data-drive/mysql-relaylogs relay-log-index = /data-drive/mysql-relaylogs.index replicate-do-db = db replicate-wild-ignore-table=tmp.% symbolic-links=0 sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [client] default-character-set = utf8 [mysql] default-character-set = utf8 Это строка из логов: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 28864 K Правильно ли я понимаю, что на 1 connection тратится 28864 K оперативы? Если да, то в конфигах разрешено 50 connections. Собственно 50 * 29 M = 1,5 G 1.5G + 15G (innodb_buffer_pool_size) = 16.5G (16.5G < 35G) == true Либо я не понимаю этот момент. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.09.2015, 11:34:23 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
авторПравильно ли я понимаю, что на 1 connection тратится 28864 K оперативы? Если да, то в конфигах разрешено 50 connectionsнет, я зачеркнул выше это. Я бы привел в конфигах все как на первом слейве, убрал бы innodb_flush_log_at_trx_commit = 2 чтобы разница была только в innodb_buffer_pool_size = max_connections= Интересно значение thread_handling в SHOW VARIABLES; если pool-of-threads то может выставить "на сессию" как вариант похоже на метод научного тыка, но большее может сказать только SHOW STATUS ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.09.2015, 12:34:50 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
SHOW STATUS: ~Старт: mysql> SHOW STATUS; +-----------------------------------------------+--------------+ | Variable_name | Value | +-----------------------------------------------+--------------+ | Aborted_clients | 0 | | Aborted_connects | 1 | | Binlog_snapshot_file | | | Binlog_snapshot_position | 0 | | Binlog_cache_disk_use | 0 | | Binlog_cache_use | 0 | | Binlog_stmt_cache_disk_use | 0 | | Binlog_stmt_cache_use | 0 | | Bytes_received | 354 | | Bytes_sent | 13611 | | 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_alter_user | 0 | | Com_analyze | 0 | | Com_begin | 0 | | Com_binlog | 0 | | Com_call_procedure | 0 | | Com_change_db | 0 | | 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_get_diagnostics | 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 | 0 | | Com_kill | 0 | | Com_load | 0 | | Com_lock_tables | 0 | | Com_lock_tables_for_backup | 0 | | Com_lock_binlog_for_backup | 0 | | Com_optimize | 0 | | Com_preload_keys | 0 | | Com_prepare_sql | 0 | | Com_purge | 0 | | Com_purge_before_date | 0 | | Com_purge_archived | 0 | | Com_purge_archived_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 | 1 | | Com_set_option | 0 | | Com_signal | 0 | | Com_show_binlog_events | 0 | | Com_show_binlogs | 0 | | Com_show_charsets | 0 | | Com_show_client_statistics | 0 | | Com_show_collations | 0 | | Com_show_create_db | 0 | | Com_show_create_event | 0 | | Com_show_create_func | 0 | | Com_show_create_proc | 0 | | Com_show_create_table | 0 | | Com_show_create_trigger | 0 | | Com_show_databases | 0 | | Com_show_engine_logs | 0 | | Com_show_engine_mutex | 0 | | Com_show_engine_status | 0 | | Com_show_events | 0 | | Com_show_errors | 0 | | Com_show_fields | 0 | | Com_show_function_code | 0 | | Com_show_function_status | 0 | | Com_show_grants | 0 | | Com_show_index_statistics | 0 | | Com_show_keys | 0 | | Com_show_master_status | 0 | | Com_show_open_tables | 0 | | Com_show_plugins | 0 | | Com_show_privileges | 0 | | Com_show_procedure_code | 0 | | Com_show_procedure_status | 0 | | Com_show_processlist | 0 | | Com_show_profile | 0 | | Com_show_profiles | 0 | | Com_show_relaylog_events | 0 | | Com_show_slave_hosts | 0 | | Com_show_slave_status | 5 | | Com_show_slave_status_nolock | 0 | | Com_show_status | 1 | | Com_show_storage_engines | 0 | | Com_show_table_statistics | 0 | | Com_show_table_status | 0 | | Com_show_tables | 0 | | Com_show_thread_statistics | 0 | | Com_show_triggers | 0 | | Com_show_user_statistics | 0 | | Com_show_variables | 0 | | 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_binlog | 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 | | Connection_errors_accept | 0 | | Connection_errors_internal | 0 | | Connection_errors_max_connections | 0 | | Connection_errors_peer_address | 0 | | Connection_errors_select | 0 | | Connection_errors_tcpwrap | 0 | | Connections | 5 | | Created_tmp_disk_tables | 0 | | Created_tmp_files | 6 | | Created_tmp_tables | 0 | | Delayed_errors | 0 | | Delayed_insert_threads | 0 | | Delayed_writes | 0 | | Flush_commands | 1 | | Handler_commit | 0 | | Handler_delete | 0 | | Handler_discover | 0 | | Handler_external_lock | 0 | | Handler_mrr_init | 0 | | Handler_prepare | 0 | | Handler_read_first | 0 | | Handler_read_key | 0 | | Handler_read_last | 0 | | Handler_read_next | 0 | | Handler_read_prev | 0 | | Handler_read_rnd | 0 | | Handler_read_rnd_next | 0 | | Handler_rollback | 0 | | Handler_savepoint | 0 | | Handler_savepoint_rollback | 0 | | Handler_update | 0 | | Handler_write | 0 | | Innodb_buffer_pool_dump_status | not started | | Innodb_buffer_pool_load_status | not started | | Innodb_background_log_sync | 230 | | Innodb_buffer_pool_pages_data | 193627 | | Innodb_buffer_pool_bytes_data | 3172384768 | | Innodb_buffer_pool_pages_dirty | 6939 | | Innodb_buffer_pool_bytes_dirty | 113688576 | | Innodb_buffer_pool_pages_flushed | 13904 | | Innodb_buffer_pool_pages_LRU_flushed | 0 | | Innodb_buffer_pool_pages_free | 789327 | | Innodb_buffer_pool_pages_made_not_young | 0 | | Innodb_buffer_pool_pages_made_young | 802 | | Innodb_buffer_pool_pages_misc | 78 | | Innodb_buffer_pool_pages_old | 71631 | | Innodb_buffer_pool_pages_total | 983032 | | Innodb_buffer_pool_read_ahead_rnd | 0 | | Innodb_buffer_pool_read_ahead | 28497 | | Innodb_buffer_pool_read_ahead_evicted | 0 | | Innodb_buffer_pool_read_requests | 71931463 | | Innodb_buffer_pool_reads | 159409 | | Innodb_buffer_pool_wait_free | 0 | | Innodb_buffer_pool_write_requests | 716314 | | Innodb_checkpoint_age | 20831364 | | Innodb_checkpoint_max_age | 80826164 | | Innodb_data_fsyncs | 62181 | | Innodb_data_pending_fsyncs | 0 | | Innodb_data_pending_reads | 1 | | Innodb_data_pending_writes | 0 | | Innodb_data_read | 3139653632 | | Innodb_data_reads | 191767 | | Innodb_data_writes | 72656 | | Innodb_data_written | 539192320 | | Innodb_dblwr_pages_written | 13904 | | Innodb_dblwr_writes | 763 | | Innodb_deadlocks | 0 | | Innodb_have_atomic_builtins | ON | | Innodb_history_list_length | 2381 | | Innodb_ibuf_discarded_delete_marks | 0 | | Innodb_ibuf_discarded_deletes | 0 | | Innodb_ibuf_discarded_inserts | 0 | | Innodb_ibuf_free_list | 6429 | | Innodb_ibuf_merged_delete_marks | 2869 | | Innodb_ibuf_merged_deletes | 427 | | Innodb_ibuf_merged_inserts | 22474 | | Innodb_ibuf_merges | 6381 | | Innodb_ibuf_segment_size | 6985 | | Innodb_ibuf_size | 555 | | Innodb_log_waits | 0 | | Innodb_log_write_requests | 129999 | | Innodb_log_writes | 57912 | | Innodb_lsn_current | 885245430358 | | Innodb_lsn_flushed | 885245429916 | | Innodb_lsn_last_checkpoint | 885224598994 | | Innodb_master_thread_active_loops | 230 | | Innodb_master_thread_idle_loops | 0 | | Innodb_max_trx_id | 68492364850 | | Innodb_mem_adaptive_hash | 256278176 | | Innodb_mem_dictionary | 65268400 | | Innodb_mem_total | 16483614720 | | Innodb_mutex_os_waits | 14267 | | Innodb_mutex_spin_rounds | 432155 | | Innodb_mutex_spin_waits | 2472 | | Innodb_oldest_view_low_limit_trx_id | 0 | | Innodb_os_log_fsyncs | 57941 | | Innodb_os_log_pending_fsyncs | 0 | | Innodb_os_log_pending_writes | 0 | | Innodb_os_log_written | 83572224 | | Innodb_page_size | 16384 | | Innodb_pages_created | 2003 | | Innodb_pages_read | 191623 | | Innodb_pages_written | 13904 | | Innodb_purge_trx_id | 68492364849 | | Innodb_purge_undo_no | 0 | | Innodb_row_lock_current_waits | 0 | | Innodb_current_row_locks | 1 | | 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 | 1677 | | Innodb_rows_inserted | 27116 | | Innodb_rows_read | 51250890 | | Innodb_rows_updated | 37788 | | Innodb_num_open_files | 135 | | Innodb_read_views_memory | 96 | | Innodb_descriptors_memory | 8000 | | Innodb_s_lock_os_waits | 7998 | | Innodb_s_lock_spin_rounds | 461965 | | Innodb_s_lock_spin_waits | 17386 | | Innodb_truncated_status_writes | 0 | | Innodb_available_undo_logs | 128 | | Innodb_x_lock_os_waits | 39 | | Innodb_x_lock_spin_rounds | 2550 | | Innodb_x_lock_spin_waits | 114 | | Key_blocks_not_flushed | 0 | | Key_blocks_unused | 6695 | | Key_blocks_used | 3 | | Key_read_requests | 6 | | Key_reads | 3 | | Key_write_requests | 0 | | Key_writes | 0 | | Last_query_cost | 0.000000 | | Last_query_partial_plans | 0 | | Max_statement_time_exceeded | 0 | | Max_statement_time_set | 0 | | Max_statement_time_set_failed | 0 | | Max_used_connections | 1 | | Not_flushed_delayed_rows | 0 | | Open_files | 22 | | Open_streams | 0 | | Open_table_definitions | 188 | | Open_tables | 181 | | Opened_files | 259 | | Opened_table_definitions | 0 | | Opened_tables | 0 | | Performance_schema_accounts_lost | 0 | | Performance_schema_cond_classes_lost | 0 | | Performance_schema_cond_instances_lost | 0 | | Performance_schema_digest_lost | 0 | | Performance_schema_file_classes_lost | 0 | | Performance_schema_file_handles_lost | 0 | | Performance_schema_file_instances_lost | 0 | | Performance_schema_hosts_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_session_connect_attrs_lost | 0 | | Performance_schema_socket_classes_lost | 0 | | Performance_schema_socket_instances_lost | 0 | | Performance_schema_stage_classes_lost | 0 | | Performance_schema_statement_classes_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 | | Performance_schema_users_lost | 0 | | Prepared_stmt_count | 0 | | Qcache_free_blocks | 1 | | Qcache_free_memory | 1031320 | | Qcache_hits | 0 | | Qcache_inserts | 0 | | Qcache_lowmem_prunes | 0 | | Qcache_not_cached | 1 | | Qcache_queries_in_cache | 0 | | Qcache_total_blocks | 1 | | Queries | 126109 | | Questions | 7 | | Rsa_public_key | | | Select_full_join | 0 | | Select_full_range_join | 0 | | Select_range | 0 | | Select_range_check | 0 | | Select_scan | 0 | | Slave_heartbeat_period | 1800.000 | | Slave_last_heartbeat | | | Slave_open_temp_tables | 0 | | Slave_received_heartbeats | 0 | | Slave_retried_transactions | 0 | | Slave_running | ON | | Slow_launch_threads | 0 | | Slow_queries | 0 | | Sort_merge_passes | 0 | | Sort_range | 0 | | Sort_rows | 0 | | Sort_scan | 0 | | 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_server_not_after | | | Ssl_server_not_before | | | 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 | 68366 | | Table_locks_waited | 0 | | Table_open_cache_hits | 0 | | Table_open_cache_misses | 0 | | Table_open_cache_overflows | 0 | | Tc_log_max_pages_used | 0 | | Tc_log_page_size | 0 | | Tc_log_page_waits | 0 | | Threadpool_idle_threads | 0 | | Threadpool_threads | 0 | | Threads_cached | 0 | | Threads_connected | 1 | | Threads_created | 1 | | Threads_running | 1 | | Uptime | 249 | | Uptime_since_flush_status | 249 | +-----------------------------------------------+--------------+ 403 rows in set (0.00 sec) 30 min mysql> SHOW STATUS; +-----------------------------------------------+--------------+ | Variable_name | Value | +-----------------------------------------------+--------------+ | Aborted_clients | 0 | | Aborted_connects | 1 | | Binlog_snapshot_file | | | Binlog_snapshot_position | 0 | | Binlog_cache_disk_use | 0 | | Binlog_cache_use | 0 | | Binlog_stmt_cache_disk_use | 0 | | Binlog_stmt_cache_use | 0 | | Bytes_received | 370 | | Bytes_sent | 25067 | | 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_alter_user | 0 | | Com_analyze | 0 | | Com_begin | 0 | | Com_binlog | 0 | | Com_call_procedure | 0 | | Com_change_db | 0 | | 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_get_diagnostics | 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 | 0 | | Com_kill | 0 | | Com_load | 0 | | Com_lock_tables | 0 | | Com_lock_tables_for_backup | 0 | | Com_lock_binlog_for_backup | 0 | | Com_optimize | 0 | | Com_preload_keys | 0 | | Com_prepare_sql | 0 | | Com_purge | 0 | | Com_purge_before_date | 0 | | Com_purge_archived | 0 | | Com_purge_archived_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 | 1 | | Com_set_option | 0 | | Com_signal | 0 | | Com_show_binlog_events | 0 | | Com_show_binlogs | 0 | | Com_show_charsets | 0 | | Com_show_client_statistics | 0 | | Com_show_collations | 0 | | Com_show_create_db | 0 | | Com_show_create_event | 0 | | Com_show_create_func | 0 | | Com_show_create_proc | 0 | | Com_show_create_table | 0 | | Com_show_create_trigger | 0 | | Com_show_databases | 0 | | Com_show_engine_logs | 0 | | Com_show_engine_mutex | 0 | | Com_show_engine_status | 0 | | Com_show_events | 0 | | Com_show_errors | 0 | | Com_show_fields | 0 | | Com_show_function_code | 0 | | Com_show_function_status | 0 | | Com_show_grants | 0 | | Com_show_index_statistics | 0 | | Com_show_keys | 0 | | Com_show_master_status | 0 | | Com_show_open_tables | 0 | | Com_show_plugins | 0 | | Com_show_privileges | 0 | | Com_show_procedure_code | 0 | | Com_show_procedure_status | 0 | | Com_show_processlist | 0 | | Com_show_profile | 0 | | Com_show_profiles | 0 | | Com_show_relaylog_events | 0 | | Com_show_slave_hosts | 0 | | Com_show_slave_status | 5 | | Com_show_slave_status_nolock | 0 | | Com_show_status | 2 | | Com_show_storage_engines | 0 | | Com_show_table_statistics | 0 | | Com_show_table_status | 0 | | Com_show_tables | 0 | | Com_show_thread_statistics | 0 | | Com_show_triggers | 0 | | Com_show_user_statistics | 0 | | Com_show_variables | 0 | | 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_binlog | 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 | | Connection_errors_accept | 0 | | Connection_errors_internal | 0 | | Connection_errors_max_connections | 0 | | Connection_errors_peer_address | 0 | | Connection_errors_select | 0 | | Connection_errors_tcpwrap | 0 | | Connections | 5 | | Created_tmp_disk_tables | 0 | | Created_tmp_files | 6 | | Created_tmp_tables | 0 | | Delayed_errors | 0 | | Delayed_insert_threads | 0 | | Delayed_writes | 0 | | Flush_commands | 1 | | Handler_commit | 0 | | Handler_delete | 0 | | Handler_discover | 0 | | Handler_external_lock | 0 | | Handler_mrr_init | 0 | | Handler_prepare | 0 | | Handler_read_first | 0 | | Handler_read_key | 0 | | Handler_read_last | 0 | | Handler_read_next | 0 | | Handler_read_prev | 0 | | Handler_read_rnd | 0 | | Handler_read_rnd_next | 0 | | Handler_rollback | 0 | | Handler_savepoint | 0 | | Handler_savepoint_rollback | 0 | | Handler_update | 0 | | Handler_write | 0 | | Innodb_buffer_pool_dump_status | not started | | Innodb_buffer_pool_load_status | not started | | Innodb_background_log_sync | 1266 | | Innodb_buffer_pool_pages_data | 240667 | | Innodb_buffer_pool_bytes_data | 3943088128 | | Innodb_buffer_pool_pages_dirty | 10747 | | Innodb_buffer_pool_bytes_dirty | 176078848 | | Innodb_buffer_pool_pages_flushed | 119912 | | Innodb_buffer_pool_pages_LRU_flushed | 0 | | Innodb_buffer_pool_pages_free | 742085 | | Innodb_buffer_pool_pages_made_not_young | 0 | | Innodb_buffer_pool_pages_made_young | 2039 | | Innodb_buffer_pool_pages_misc | 280 | | Innodb_buffer_pool_pages_old | 88995 | | Innodb_buffer_pool_pages_total | 983032 | | Innodb_buffer_pool_read_ahead_rnd | 0 | | Innodb_buffer_pool_read_ahead | 28497 | | Innodb_buffer_pool_read_ahead_evicted | 0 | | Innodb_buffer_pool_read_requests | 457187814 | | Innodb_buffer_pool_reads | 185551 | | Innodb_buffer_pool_wait_free | 0 | | Innodb_buffer_pool_write_requests | 3980415 | | Innodb_checkpoint_age | 25698750 | | Innodb_checkpoint_max_age | 80826164 | | Innodb_data_fsyncs | 366487 | | Innodb_data_pending_fsyncs | 0 | | Innodb_data_pending_reads | 0 | | Innodb_data_pending_writes | 0 | | Innodb_data_read | 3793702912 | | Innodb_data_reads | 231696 | | Innodb_data_writes | 462672 | | Innodb_data_written | 4410672640 | | Innodb_dblwr_pages_written | 119912 | | Innodb_dblwr_writes | 4578 | | Innodb_deadlocks | 0 | | Innodb_have_atomic_builtins | ON | | Innodb_history_list_length | 2673 | | Innodb_ibuf_discarded_delete_marks | 0 | | Innodb_ibuf_discarded_deletes | 0 | | Innodb_ibuf_discarded_inserts | 0 | | Innodb_ibuf_free_list | 5756 | | Innodb_ibuf_merged_delete_marks | 11903 | | Innodb_ibuf_merged_deletes | 2809 | | Innodb_ibuf_merged_inserts | 83276 | | Innodb_ibuf_merges | 27682 | | Innodb_ibuf_segment_size | 6985 | | Innodb_ibuf_size | 1228 | | Innodb_log_waits | 0 | | Innodb_log_write_requests | 734462 | | Innodb_log_writes | 337322 | | Innodb_lsn_current | 885500125709 | | Innodb_lsn_flushed | 885500125709 | | Innodb_lsn_last_checkpoint | 885474426959 | | Innodb_master_thread_active_loops | 1266 | | Innodb_master_thread_idle_loops | 0 | | Innodb_max_trx_id | 68492820365 | | Innodb_mem_adaptive_hash | 259522208 | | Innodb_mem_dictionary | 65297147 | | Innodb_mem_total | 16483614720 | | Innodb_mutex_os_waits | 92319 | | Innodb_mutex_spin_rounds | 2795694 | | Innodb_mutex_spin_waits | 14381 | | Innodb_oldest_view_low_limit_trx_id | 0 | | Innodb_os_log_fsyncs | 337538 | | Innodb_os_log_pending_fsyncs | 0 | | Innodb_os_log_pending_writes | 0 | | Innodb_os_log_written | 481323520 | | Innodb_page_size | 16384 | | Innodb_pages_created | 9123 | | Innodb_pages_read | 231544 | | Innodb_pages_written | 119912 | | Innodb_purge_trx_id | 68492820364 | | Innodb_purge_undo_no | 0 | | Innodb_row_lock_current_waits | 0 | | Innodb_current_row_locks | 880 | | 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 | 11157 | | Innodb_rows_inserted | 166489 | | Innodb_rows_read | 329259356 | | Innodb_rows_updated | 218883 | | Innodb_num_open_files | 144 | | Innodb_read_views_memory | 96 | | Innodb_descriptors_memory | 8000 | | Innodb_s_lock_os_waits | 9130 | | Innodb_s_lock_spin_rounds | 499334 | | Innodb_s_lock_spin_waits | 18819 | | Innodb_truncated_status_writes | 0 | | Innodb_available_undo_logs | 128 | | Innodb_x_lock_os_waits | 179 | | Innodb_x_lock_spin_rounds | 9853 | | Innodb_x_lock_spin_waits | 252 | | Key_blocks_not_flushed | 0 | | Key_blocks_unused | 6695 | | Key_blocks_used | 3 | | Key_read_requests | 6 | | Key_reads | 3 | | Key_write_requests | 0 | | Key_writes | 0 | | Last_query_cost | 0.000000 | | Last_query_partial_plans | 0 | | Max_statement_time_exceeded | 0 | | Max_statement_time_set | 0 | | Max_statement_time_set_failed | 0 | | Max_used_connections | 1 | | Not_flushed_delayed_rows | 0 | | Open_files | 22 | | Open_streams | 0 | | Open_table_definitions | 195 | | Open_tables | 188 | | Opened_files | 266 | | Opened_table_definitions | 0 | | Opened_tables | 0 | | Performance_schema_accounts_lost | 0 | | Performance_schema_cond_classes_lost | 0 | | Performance_schema_cond_instances_lost | 0 | | Performance_schema_digest_lost | 0 | | Performance_schema_file_classes_lost | 0 | | Performance_schema_file_handles_lost | 0 | | Performance_schema_file_instances_lost | 0 | | Performance_schema_hosts_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_session_connect_attrs_lost | 0 | | Performance_schema_socket_classes_lost | 0 | | Performance_schema_socket_instances_lost | 0 | | Performance_schema_stage_classes_lost | 0 | | Performance_schema_statement_classes_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 | | Performance_schema_users_lost | 0 | | Prepared_stmt_count | 0 | | Qcache_free_blocks | 1 | | Qcache_free_memory | 1031320 | | Qcache_hits | 0 | | Qcache_inserts | 0 | | Qcache_lowmem_prunes | 0 | | Qcache_not_cached | 1 | | Qcache_queries_in_cache | 0 | | Qcache_total_blocks | 1 | | Queries | 743728 | | Questions | 8 | | Rsa_public_key | | | Select_full_join | 0 | | Select_full_range_join | 0 | | Select_range | 0 | | Select_range_check | 0 | | Select_scan | 0 | | Slave_heartbeat_period | 1800.000 | | Slave_last_heartbeat | | | Slave_open_temp_tables | 0 | | Slave_received_heartbeats | 0 | | Slave_retried_transactions | 0 | | Slave_running | ON | | Slow_launch_threads | 0 | | Slow_queries | 0 | | Sort_merge_passes | 0 | | Sort_range | 0 | | Sort_rows | 0 | | Sort_scan | 0 | | 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_server_not_after | | | Ssl_server_not_before | | | 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 | 406930 | | Table_locks_waited | 0 | | Table_open_cache_hits | 0 | | Table_open_cache_misses | 0 | | Table_open_cache_overflows | 0 | | Tc_log_max_pages_used | 0 | | Tc_log_page_size | 0 | | Tc_log_page_waits | 0 | | Threadpool_idle_threads | 0 | | Threadpool_threads | 0 | | Threads_cached | 0 | | Threads_connected | 1 | | Threads_created | 1 | | Threads_running | 1 | | Uptime | 1379 | | Uptime_since_flush_status | 1379 | +-----------------------------------------------+--------------+ 403 rows in set (0.00 sec) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.09.2015, 12:24:29 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
~ Через час: mysql> SHOW STATUS; +-----------------------------------------------+--------------+ | Variable_name | Value | +-----------------------------------------------+--------------+ | Aborted_clients | 0 | | Aborted_connects | 1 | | Binlog_snapshot_file | | | Binlog_snapshot_position | 0 | | Binlog_cache_disk_use | 0 | | Binlog_cache_use | 0 | | Binlog_stmt_cache_disk_use | 0 | | Binlog_stmt_cache_use | 0 | | Bytes_received | 402 | | Bytes_sent | 48046 | | 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_alter_user | 0 | | Com_analyze | 0 | | Com_begin | 0 | | Com_binlog | 0 | | Com_call_procedure | 0 | | Com_change_db | 0 | | 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_get_diagnostics | 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 | 0 | | Com_kill | 0 | | Com_load | 0 | | Com_lock_tables | 0 | | Com_lock_tables_for_backup | 0 | | Com_lock_binlog_for_backup | 0 | | Com_optimize | 0 | | Com_preload_keys | 0 | | Com_prepare_sql | 0 | | Com_purge | 0 | | Com_purge_before_date | 0 | | Com_purge_archived | 0 | | Com_purge_archived_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 | 1 | | Com_set_option | 0 | | Com_signal | 0 | | Com_show_binlog_events | 0 | | Com_show_binlogs | 0 | | Com_show_charsets | 0 | | Com_show_client_statistics | 0 | | Com_show_collations | 0 | | Com_show_create_db | 0 | | Com_show_create_event | 0 | | Com_show_create_func | 0 | | Com_show_create_proc | 0 | | Com_show_create_table | 0 | | Com_show_create_trigger | 0 | | Com_show_databases | 0 | | Com_show_engine_logs | 0 | | Com_show_engine_mutex | 0 | | Com_show_engine_status | 0 | | Com_show_events | 0 | | Com_show_errors | 0 | | Com_show_fields | 0 | | Com_show_function_code | 0 | | Com_show_function_status | 0 | | Com_show_grants | 0 | | Com_show_index_statistics | 0 | | Com_show_keys | 0 | | Com_show_master_status | 0 | | Com_show_open_tables | 0 | | Com_show_plugins | 0 | | Com_show_privileges | 0 | | Com_show_procedure_code | 0 | | Com_show_procedure_status | 0 | | Com_show_processlist | 0 | | Com_show_profile | 0 | | Com_show_profiles | 0 | | Com_show_relaylog_events | 0 | | Com_show_slave_hosts | 0 | | Com_show_slave_status | 5 | | Com_show_slave_status_nolock | 0 | | Com_show_status | 4 | | Com_show_storage_engines | 0 | | Com_show_table_statistics | 0 | | Com_show_table_status | 0 | | Com_show_tables | 0 | | Com_show_thread_statistics | 0 | | Com_show_triggers | 0 | | Com_show_user_statistics | 0 | | Com_show_variables | 0 | | 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_binlog | 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 | | Connection_errors_accept | 0 | | Connection_errors_internal | 0 | | Connection_errors_max_connections | 0 | | Connection_errors_peer_address | 0 | | Connection_errors_select | 0 | | Connection_errors_tcpwrap | 0 | | Connections | 5 | | Created_tmp_disk_tables | 0 | | Created_tmp_files | 6 | | Created_tmp_tables | 0 | | Delayed_errors | 0 | | Delayed_insert_threads | 0 | | Delayed_writes | 0 | | Flush_commands | 1 | | Handler_commit | 0 | | Handler_delete | 0 | | Handler_discover | 0 | | Handler_external_lock | 0 | | Handler_mrr_init | 0 | | Handler_prepare | 0 | | Handler_read_first | 0 | | Handler_read_key | 0 | | Handler_read_last | 0 | | Handler_read_next | 0 | | Handler_read_prev | 0 | | Handler_read_rnd | 0 | | Handler_read_rnd_next | 0 | | Handler_rollback | 0 | | Handler_savepoint | 0 | | Handler_savepoint_rollback | 0 | | Handler_update | 0 | | Handler_write | 0 | | Innodb_buffer_pool_dump_status | not started | | Innodb_buffer_pool_load_status | not started | | Innodb_background_log_sync | 3175 | | Innodb_buffer_pool_pages_data | 304140 | | Innodb_buffer_pool_bytes_data | 4983029760 | | Innodb_buffer_pool_pages_dirty | 7332 | | Innodb_buffer_pool_bytes_dirty | 120127488 | | Innodb_buffer_pool_pages_flushed | 375277 | | Innodb_buffer_pool_pages_LRU_flushed | 0 | | Innodb_buffer_pool_pages_free | 678079 | | Innodb_buffer_pool_pages_made_not_young | 0 | | Innodb_buffer_pool_pages_made_young | 3301 | | Innodb_buffer_pool_pages_misc | 813 | | Innodb_buffer_pool_pages_old | 112420 | | Innodb_buffer_pool_pages_total | 983032 | | Innodb_buffer_pool_read_ahead_rnd | 0 | | Innodb_buffer_pool_read_ahead | 28497 | | Innodb_buffer_pool_read_ahead_evicted | 0 | | Innodb_buffer_pool_read_requests | 1225774716 | | Innodb_buffer_pool_reads | 215075 | | Innodb_buffer_pool_wait_free | 0 | | Innodb_buffer_pool_write_requests | 9725924 | | Innodb_checkpoint_age | 24841455 | | Innodb_checkpoint_max_age | 80826164 | | Innodb_data_fsyncs | 891947 | | Innodb_data_pending_fsyncs | 0 | | Innodb_data_pending_reads | 0 | | Innodb_data_pending_writes | 0 | | Innodb_data_read | 4673245184 | | Innodb_data_reads | 285384 | | Innodb_data_writes | 1206635 | | Innodb_data_written | 13465390592 | | Innodb_dblwr_pages_written | 375277 | | Innodb_dblwr_writes | 10869 | | Innodb_deadlocks | 0 | | Innodb_have_atomic_builtins | ON | | Innodb_history_list_length | 1798 | | Innodb_ibuf_discarded_delete_marks | 0 | | Innodb_ibuf_discarded_deletes | 0 | | Innodb_ibuf_discarded_inserts | 0 | | Innodb_ibuf_free_list | 5492 | | Innodb_ibuf_merged_delete_marks | 24901 | | Innodb_ibuf_merged_deletes | 9599 | | Innodb_ibuf_merged_inserts | 209347 | | Innodb_ibuf_merges | 59101 | | Innodb_ibuf_segment_size | 6985 | | Innodb_ibuf_size | 1492 | | Innodb_log_waits | 0 | | Innodb_log_write_requests | 1767375 | | Innodb_log_writes | 817700 | | Innodb_lsn_current | 885940968611 | | Innodb_lsn_flushed | 885940968482 | | Innodb_lsn_last_checkpoint | 885916127156 | | Innodb_master_thread_active_loops | 3175 | | Innodb_master_thread_idle_loops | 0 | | Innodb_max_trx_id | 68493597252 | | Innodb_mem_adaptive_hash | 264224416 | | Innodb_mem_dictionary | 65301058 | | Innodb_mem_total | 16483614720 | | Innodb_mutex_os_waits | 246474 | | Innodb_mutex_spin_rounds | 7464580 | | Innodb_mutex_spin_waits | 39268 | | Innodb_oldest_view_low_limit_trx_id | 0 | | Innodb_os_log_fsyncs | 818258 | | Innodb_os_log_pending_fsyncs | 0 | | Innodb_os_log_pending_writes | 0 | | Innodb_os_log_written | 1168115712 | | Innodb_page_size | 16384 | | Innodb_pages_created | 18913 | | Innodb_pages_read | 285227 | | Innodb_pages_written | 375277 | | Innodb_purge_trx_id | 68493597251 | | Innodb_purge_undo_no | 0 | | Innodb_row_lock_current_waits | 0 | | Innodb_current_row_locks | 46300 | | 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 | 36677 | | Innodb_rows_inserted | 412494 | | Innodb_rows_read | 889283211 | | Innodb_rows_updated | 523812 | | Innodb_num_open_files | 149 | | Innodb_read_views_memory | 96 | | Innodb_descriptors_memory | 8000 | | Innodb_s_lock_os_waits | 11030 | | Innodb_s_lock_spin_rounds | 563912 | | Innodb_s_lock_spin_waits | 21409 | | Innodb_truncated_status_writes | 0 | | Innodb_available_undo_logs | 128 | | Innodb_x_lock_os_waits | 472 | | Innodb_x_lock_spin_rounds | 24827 | | Innodb_x_lock_spin_waits | 376 | | Key_blocks_not_flushed | 0 | | Key_blocks_unused | 6695 | | Key_blocks_used | 3 | | Key_read_requests | 6 | | Key_reads | 3 | | Key_write_requests | 0 | | Key_writes | 0 | | Last_query_cost | 0.000000 | | Last_query_partial_plans | 0 | | Max_statement_time_exceeded | 0 | | Max_statement_time_set | 0 | | Max_statement_time_set_failed | 0 | | Max_used_connections | 1 | | Not_flushed_delayed_rows | 0 | | Open_files | 22 | | Open_streams | 0 | | Open_table_definitions | 201 | | Open_tables | 194 | | Opened_files | 272 | | Opened_table_definitions | 0 | | Opened_tables | 0 | | Performance_schema_accounts_lost | 0 | | Performance_schema_cond_classes_lost | 0 | | Performance_schema_cond_instances_lost | 0 | | Performance_schema_digest_lost | 0 | | Performance_schema_file_classes_lost | 0 | | Performance_schema_file_handles_lost | 0 | | Performance_schema_file_instances_lost | 0 | | Performance_schema_hosts_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_session_connect_attrs_lost | 0 | | Performance_schema_socket_classes_lost | 0 | | Performance_schema_socket_instances_lost | 0 | | Performance_schema_stage_classes_lost | 0 | | Performance_schema_statement_classes_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 | | Performance_schema_users_lost | 0 | | Prepared_stmt_count | 0 | | Qcache_free_blocks | 1 | | Qcache_free_memory | 1031320 | | Qcache_hits | 0 | | Qcache_inserts | 0 | | Qcache_lowmem_prunes | 0 | | Qcache_not_cached | 1 | | Qcache_queries_in_cache | 0 | | Qcache_total_blocks | 1 | | Queries | 1817380 | | Questions | 10 | | Rsa_public_key | | | Select_full_join | 0 | | Select_full_range_join | 0 | | Select_range | 0 | | Select_range_check | 0 | | Select_scan | 0 | | Slave_heartbeat_period | 1800.000 | | Slave_last_heartbeat | | | Slave_open_temp_tables | 0 | | Slave_received_heartbeats | 0 | | Slave_retried_transactions | 0 | | Slave_running | ON | | Slow_launch_threads | 0 | | Slow_queries | 0 | | Sort_merge_passes | 0 | | Sort_range | 0 | | Sort_rows | 0 | | Sort_scan | 0 | | 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_server_not_after | | | Ssl_server_not_before | | | 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 | 1000966 | | Table_locks_waited | 0 | | Table_open_cache_hits | 0 | | Table_open_cache_misses | 0 | | Table_open_cache_overflows | 0 | | Tc_log_max_pages_used | 0 | | Tc_log_page_size | 0 | | Tc_log_page_waits | 0 | | Threadpool_idle_threads | 0 | | Threadpool_threads | 0 | | Threads_cached | 0 | | Threads_connected | 1 | | Threads_created | 1 | | Threads_running | 1 | | Uptime | 3433 | | Uptime_since_flush_status | 3433 | +-----------------------------------------------+--------------+ 403 rows in set (0.00 sec) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.09.2015, 12:24:47 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
~Через 2 часа: mysql> SHOW STATUS; +-----------------------------------------------+--------------+ | Variable_name | Value | +-----------------------------------------------+--------------+ | Aborted_clients | 0 | | Aborted_connects | 1 | | Binlog_snapshot_file | | | Binlog_snapshot_position | 0 | | Binlog_cache_disk_use | 0 | | Binlog_cache_use | 0 | | Binlog_stmt_cache_disk_use | 0 | | Binlog_stmt_cache_use | 0 | | Bytes_received | 500 | | Bytes_sent | 79069 | | 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_alter_user | 0 | | Com_analyze | 0 | | Com_begin | 0 | | Com_binlog | 0 | | Com_call_procedure | 0 | | Com_change_db | 0 | | 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_get_diagnostics | 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 | 0 | | Com_kill | 0 | | Com_load | 0 | | Com_lock_tables | 0 | | Com_lock_tables_for_backup | 0 | | Com_lock_binlog_for_backup | 0 | | Com_optimize | 0 | | Com_preload_keys | 0 | | Com_prepare_sql | 0 | | Com_purge | 0 | | Com_purge_before_date | 0 | | Com_purge_archived | 0 | | Com_purge_archived_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 | 1 | | Com_set_option | 0 | | Com_signal | 0 | | Com_show_binlog_events | 0 | | Com_show_binlogs | 0 | | Com_show_charsets | 0 | | Com_show_client_statistics | 0 | | Com_show_collations | 0 | | Com_show_create_db | 0 | | Com_show_create_event | 0 | | Com_show_create_func | 0 | | Com_show_create_proc | 0 | | Com_show_create_table | 0 | | Com_show_create_trigger | 0 | | Com_show_databases | 0 | | Com_show_engine_logs | 0 | | Com_show_engine_mutex | 0 | | Com_show_engine_status | 0 | | Com_show_events | 0 | | Com_show_errors | 0 | | Com_show_fields | 0 | | Com_show_function_code | 0 | | Com_show_function_status | 0 | | Com_show_grants | 0 | | Com_show_index_statistics | 0 | | Com_show_keys | 0 | | Com_show_master_status | 0 | | Com_show_open_tables | 0 | | Com_show_plugins | 0 | | Com_show_privileges | 0 | | Com_show_procedure_code | 0 | | Com_show_procedure_status | 0 | | Com_show_processlist | 0 | | Com_show_profile | 0 | | Com_show_profiles | 0 | | Com_show_relaylog_events | 0 | | Com_show_slave_hosts | 0 | | Com_show_slave_status | 8 | | Com_show_slave_status_nolock | 0 | | Com_show_status | 6 | | Com_show_storage_engines | 0 | | Com_show_table_statistics | 0 | | Com_show_table_status | 0 | | Com_show_tables | 0 | | Com_show_thread_statistics | 0 | | Com_show_triggers | 0 | | Com_show_user_statistics | 0 | | Com_show_variables | 0 | | 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_binlog | 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 | | Connection_errors_accept | 0 | | Connection_errors_internal | 0 | | Connection_errors_max_connections | 0 | | Connection_errors_peer_address | 0 | | Connection_errors_select | 0 | | Connection_errors_tcpwrap | 0 | | Connections | 5 | | Created_tmp_disk_tables | 0 | | Created_tmp_files | 9 | | Created_tmp_tables | 0 | | Delayed_errors | 0 | | Delayed_insert_threads | 0 | | Delayed_writes | 0 | | Flush_commands | 1 | | Handler_commit | 0 | | Handler_delete | 0 | | Handler_discover | 0 | | Handler_external_lock | 0 | | Handler_mrr_init | 0 | | Handler_prepare | 0 | | Handler_read_first | 0 | | Handler_read_key | 0 | | Handler_read_last | 0 | | Handler_read_next | 0 | | Handler_read_prev | 0 | | Handler_read_rnd | 0 | | Handler_read_rnd_next | 0 | | Handler_rollback | 0 | | Handler_savepoint | 0 | | Handler_savepoint_rollback | 0 | | Handler_update | 0 | | Handler_write | 0 | | Innodb_buffer_pool_dump_status | not started | | Innodb_buffer_pool_load_status | not started | | Innodb_background_log_sync | 6270 | | Innodb_buffer_pool_pages_data | 447114 | | Innodb_buffer_pool_bytes_data | 7325515776 | | Innodb_buffer_pool_pages_dirty | 11363 | | Innodb_buffer_pool_bytes_dirty | 186171392 | | Innodb_buffer_pool_pages_flushed | 754258 | | Innodb_buffer_pool_pages_LRU_flushed | 0 | | Innodb_buffer_pool_pages_free | 532876 | | Innodb_buffer_pool_pages_made_not_young | 0 | | Innodb_buffer_pool_pages_made_young | 16673 | | Innodb_buffer_pool_pages_misc | 3042 | | Innodb_buffer_pool_pages_old | 165199 | | Innodb_buffer_pool_pages_total | 983032 | | Innodb_buffer_pool_read_ahead_rnd | 0 | | Innodb_buffer_pool_read_ahead | 28497 | | Innodb_buffer_pool_read_ahead_evicted | 0 | | Innodb_buffer_pool_read_requests | 2400659911 | | Innodb_buffer_pool_reads | 271763 | | Innodb_buffer_pool_wait_free | 0 | | Innodb_buffer_pool_write_requests | 25709282 | | Innodb_checkpoint_age | 20126382 | | Innodb_checkpoint_max_age | 80826164 | | Innodb_data_fsyncs | 1716644 | | Innodb_data_pending_fsyncs | 0 | | Innodb_data_pending_reads | 0 | | Innodb_data_pending_writes | 0 | | Innodb_data_read | 6485512192 | | Innodb_data_reads | 396014 | | Innodb_data_writes | 2355633 | | Innodb_data_written | 27193395200 | | Innodb_dblwr_pages_written | 754258 | | Innodb_dblwr_writes | 22678 | | Innodb_deadlocks | 0 | | Innodb_have_atomic_builtins | ON | | Innodb_history_list_length | 2703 | | Innodb_ibuf_discarded_delete_marks | 0 | | Innodb_ibuf_discarded_deletes | 0 | | Innodb_ibuf_discarded_inserts | 0 | | Innodb_ibuf_free_list | 6545 | | Innodb_ibuf_merged_delete_marks | 30445 | | Innodb_ibuf_merged_deletes | 12558 | | Innodb_ibuf_merged_inserts | 432302 | | Innodb_ibuf_merges | 118741 | | Innodb_ibuf_segment_size | 16199 | | Innodb_ibuf_size | 9653 | | Innodb_log_waits | 0 | | Innodb_log_write_requests | 3943583 | | Innodb_log_writes | 1572780 | | Innodb_lsn_current | 886863821837 | | Innodb_lsn_flushed | 886863820262 | | Innodb_lsn_last_checkpoint | 886843695455 | | Innodb_master_thread_active_loops | 6271 | | Innodb_master_thread_idle_loops | 0 | | Innodb_max_trx_id | 68494809339 | | Innodb_mem_adaptive_hash | 294649504 | | Innodb_mem_dictionary | 65341588 | | Innodb_mem_total | 16483614720 | | Innodb_mutex_os_waits | 479245 | | Innodb_mutex_spin_rounds | 14516507 | | Innodb_mutex_spin_waits | 78337 | | Innodb_oldest_view_low_limit_trx_id | 0 | | Innodb_os_log_fsyncs | 1573884 | | Innodb_os_log_pending_fsyncs | 0 | | Innodb_os_log_pending_writes | 0 | | Innodb_os_log_written | 2477558272 | | Innodb_page_size | 16384 | | Innodb_pages_created | 51275 | | Innodb_pages_read | 395838 | | Innodb_pages_written | 754258 | | Innodb_purge_trx_id | 68494809339 | | Innodb_purge_undo_no | 0 | | Innodb_row_lock_current_waits | 0 | | Innodb_current_row_locks | 115089 | | 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 | 69282 | | Innodb_rows_inserted | 1399496 | | Innodb_rows_read | 1723239028 | | Innodb_rows_updated | 1033364 | | Innodb_num_open_files | 166 | | Innodb_read_views_memory | 304 | | Innodb_descriptors_memory | 8000 | | Innodb_s_lock_os_waits | 13512 | | Innodb_s_lock_spin_rounds | 647270 | | Innodb_s_lock_spin_waits | 24575 | | Innodb_truncated_status_writes | 0 | | Innodb_available_undo_logs | 128 | | Innodb_x_lock_os_waits | 1098 | | Innodb_x_lock_spin_rounds | 49778 | | Innodb_x_lock_spin_waits | 682 | | Key_blocks_not_flushed | 0 | | Key_blocks_unused | 6695 | | Key_blocks_used | 3 | | Key_read_requests | 6 | | Key_reads | 3 | | Key_write_requests | 0 | | Key_writes | 0 | | Last_query_cost | 0.000000 | | Last_query_partial_plans | 0 | | Max_statement_time_exceeded | 0 | | Max_statement_time_set | 0 | | Max_statement_time_set_failed | 0 | | Max_used_connections | 1 | | Not_flushed_delayed_rows | 0 | | Open_files | 22 | | Open_streams | 0 | | Open_table_definitions | 214 | | Open_tables | 207 | | Opened_files | 300 | | Opened_table_definitions | 0 | | Opened_tables | 0 | | Performance_schema_accounts_lost | 0 | | Performance_schema_cond_classes_lost | 0 | | Performance_schema_cond_instances_lost | 0 | | Performance_schema_digest_lost | 0 | | Performance_schema_file_classes_lost | 0 | | Performance_schema_file_handles_lost | 0 | | Performance_schema_file_instances_lost | 0 | | Performance_schema_hosts_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_session_connect_attrs_lost | 0 | | Performance_schema_socket_classes_lost | 0 | | Performance_schema_socket_instances_lost | 0 | | Performance_schema_stage_classes_lost | 0 | | Performance_schema_statement_classes_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 | | Performance_schema_users_lost | 0 | | Prepared_stmt_count | 0 | | Qcache_free_blocks | 1 | | Qcache_free_memory | 1031320 | | Qcache_hits | 0 | | Qcache_inserts | 0 | | Qcache_lowmem_prunes | 0 | | Qcache_not_cached | 1 | | Qcache_queries_in_cache | 0 | | Qcache_total_blocks | 1 | | Queries | 4610752 | | Questions | 15 | | Rsa_public_key | | | Select_full_join | 0 | | Select_full_range_join | 0 | | Select_range | 0 | | Select_range_check | 0 | | Select_scan | 0 | | Slave_heartbeat_period | 1800.000 | | Slave_last_heartbeat | | | Slave_open_temp_tables | 0 | | Slave_received_heartbeats | 0 | | Slave_retried_transactions | 0 | | Slave_running | ON | | Slow_launch_threads | 0 | | Slow_queries | 0 | | Sort_merge_passes | 0 | | Sort_range | 0 | | Sort_rows | 0 | | Sort_scan | 0 | | 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_server_not_after | | | Ssl_server_not_before | | | 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 | 2727850 | | Table_locks_waited | 0 | | Table_open_cache_hits | 0 | | Table_open_cache_misses | 0 | | Table_open_cache_overflows | 0 | | Tc_log_max_pages_used | 0 | | Tc_log_page_size | 0 | | Tc_log_page_waits | 0 | | Threadpool_idle_threads | 0 | | Threadpool_threads | 0 | | Threads_cached | 0 | | Threads_connected | 1 | | Threads_created | 1 | | Threads_running | 1 | | Uptime | 6855 | | Uptime_since_flush_status | 6855 | +-----------------------------------------------+--------------+ 403 rows in set (0.00 sec) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.09.2015, 12:25:01 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
SHOW STATUS через 3 часа (репликация догнала мастер): mysql> SHOW STATUS; +-----------------------------------------------+--------------+ | Variable_name | Value | +-----------------------------------------------+--------------+ | Aborted_clients | 0 | | Aborted_connects | 1 | | Binlog_snapshot_file | | | Binlog_snapshot_position | 0 | | Binlog_cache_disk_use | 0 | | Binlog_cache_use | 0 | | Binlog_stmt_cache_disk_use | 0 | | Binlog_stmt_cache_use | 0 | | Bytes_received | 310 | | Bytes_sent | 8294 | | 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_alter_user | 0 | | Com_analyze | 0 | | Com_begin | 0 | | Com_binlog | 0 | | Com_call_procedure | 0 | | Com_change_db | 0 | | 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_get_diagnostics | 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 | 0 | | Com_kill | 0 | | Com_load | 0 | | Com_lock_tables | 0 | | Com_lock_tables_for_backup | 0 | | Com_lock_binlog_for_backup | 0 | | Com_optimize | 0 | | Com_preload_keys | 0 | | Com_prepare_sql | 0 | | Com_purge | 0 | | Com_purge_before_date | 0 | | Com_purge_archived | 0 | | Com_purge_archived_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 | 1 | | Com_set_option | 0 | | Com_signal | 0 | | Com_show_binlog_events | 0 | | Com_show_binlogs | 0 | | Com_show_charsets | 0 | | Com_show_client_statistics | 0 | | Com_show_collations | 0 | | Com_show_create_db | 0 | | Com_show_create_event | 0 | | Com_show_create_func | 0 | | Com_show_create_proc | 0 | | Com_show_create_table | 0 | | Com_show_create_trigger | 0 | | Com_show_databases | 0 | | Com_show_engine_logs | 0 | | Com_show_engine_mutex | 0 | | Com_show_engine_status | 0 | | Com_show_events | 0 | | Com_show_errors | 0 | | Com_show_fields | 0 | | Com_show_function_code | 0 | | Com_show_function_status | 0 | | Com_show_grants | 0 | | Com_show_index_statistics | 0 | | Com_show_keys | 0 | | Com_show_master_status | 0 | | Com_show_open_tables | 0 | | Com_show_plugins | 0 | | Com_show_privileges | 0 | | Com_show_procedure_code | 0 | | Com_show_procedure_status | 0 | | Com_show_processlist | 0 | | Com_show_profile | 0 | | Com_show_profiles | 0 | | Com_show_relaylog_events | 0 | | Com_show_slave_hosts | 0 | | Com_show_slave_status | 3 | | Com_show_slave_status_nolock | 0 | | Com_show_status | 1 | | Com_show_storage_engines | 0 | | Com_show_table_statistics | 0 | | Com_show_table_status | 0 | | Com_show_tables | 0 | | Com_show_thread_statistics | 0 | | Com_show_triggers | 0 | | Com_show_user_statistics | 0 | | Com_show_variables | 0 | | 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_binlog | 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 | | Connection_errors_accept | 0 | | Connection_errors_internal | 0 | | Connection_errors_max_connections | 0 | | Connection_errors_peer_address | 0 | | Connection_errors_select | 0 | | Connection_errors_tcpwrap | 0 | | Connections | 7 | | Created_tmp_disk_tables | 0 | | Created_tmp_files | 9 | | Created_tmp_tables | 0 | | Delayed_errors | 0 | | Delayed_insert_threads | 0 | | Delayed_writes | 0 | | Flush_commands | 1 | | Handler_commit | 0 | | Handler_delete | 0 | | Handler_discover | 0 | | Handler_external_lock | 0 | | Handler_mrr_init | 0 | | Handler_prepare | 0 | | Handler_read_first | 0 | | Handler_read_key | 0 | | Handler_read_last | 0 | | Handler_read_next | 0 | | Handler_read_prev | 0 | | Handler_read_rnd | 0 | | Handler_read_rnd_next | 0 | | Handler_rollback | 0 | | Handler_savepoint | 0 | | Handler_savepoint_rollback | 0 | | Handler_update | 0 | | Handler_write | 0 | | Innodb_buffer_pool_dump_status | not started | | Innodb_buffer_pool_load_status | not started | | Innodb_background_log_sync | 9909 | | Innodb_buffer_pool_pages_data | 538071 | | Innodb_buffer_pool_bytes_data | 8815755264 | | Innodb_buffer_pool_pages_dirty | 12260 | | Innodb_buffer_pool_bytes_dirty | 200867840 | | Innodb_buffer_pool_pages_flushed | 1121300 | | Innodb_buffer_pool_pages_LRU_flushed | 0 | | Innodb_buffer_pool_pages_free | 442311 | | Innodb_buffer_pool_pages_made_not_young | 0 | | Innodb_buffer_pool_pages_made_young | 17565 | | Innodb_buffer_pool_pages_misc | 2650 | | Innodb_buffer_pool_pages_old | 198778 | | Innodb_buffer_pool_pages_total | 983032 | | Innodb_buffer_pool_read_ahead_rnd | 0 | | Innodb_buffer_pool_read_ahead | 28497 | | Innodb_buffer_pool_read_ahead_evicted | 0 | | Innodb_buffer_pool_read_requests | 3352892933 | | Innodb_buffer_pool_reads | 302192 | | Innodb_buffer_pool_wait_free | 0 | | Innodb_buffer_pool_write_requests | 32013724 | | Innodb_checkpoint_age | 12056250 | | Innodb_checkpoint_max_age | 80826164 | | Innodb_data_fsyncs | 2361741 | | Innodb_data_pending_fsyncs | 0 | | Innodb_data_pending_reads | 0 | | Innodb_data_pending_writes | 0 | | Innodb_data_read | 7770558464 | | Innodb_data_reads | 474457 | | Innodb_data_writes | 3294603 | | Innodb_data_written | 40019871744 | | Innodb_dblwr_pages_written | 1121300 | | Innodb_dblwr_writes | 41532 | | Innodb_deadlocks | 0 | | Innodb_have_atomic_builtins | ON | | Innodb_history_list_length | 2414 | | Innodb_ibuf_discarded_delete_marks | 0 | | Innodb_ibuf_discarded_deletes | 0 | | Innodb_ibuf_discarded_inserts | 0 | | Innodb_ibuf_free_list | 7852 | | Innodb_ibuf_merged_delete_marks | 36133 | | Innodb_ibuf_merged_deletes | 14923 | | Innodb_ibuf_merged_inserts | 649901 | | Innodb_ibuf_merges | 170621 | | Innodb_ibuf_segment_size | 16199 | | Innodb_ibuf_size | 8346 | | Innodb_log_waits | 0 | | Innodb_log_write_requests | 5164143 | | Innodb_log_writes | 2123464 | | Innodb_lsn_current | 887380883205 | | Innodb_lsn_flushed | 887380883205 | | Innodb_lsn_last_checkpoint | 887368826955 | | Innodb_master_thread_active_loops | 9910 | | Innodb_master_thread_idle_loops | 0 | | Innodb_max_trx_id | 68495694697 | | Innodb_mem_adaptive_hash | 298417824 | | Innodb_mem_dictionary | 65360981 | | Innodb_mem_total | 16483614720 | | Innodb_mutex_os_waits | 679761 | | Innodb_mutex_spin_rounds | 20586853 | | Innodb_mutex_spin_waits | 115991 | | Innodb_oldest_view_low_limit_trx_id | 0 | | Innodb_os_log_fsyncs | 2125192 | | Innodb_os_log_pending_fsyncs | 0 | | Innodb_os_log_pending_writes | 0 | | Innodb_os_log_written | 3276566528 | | Innodb_page_size | 16384 | | Innodb_pages_created | 63799 | | Innodb_pages_read | 474271 | | Innodb_pages_written | 1121300 | | Innodb_purge_trx_id | 68495694696 | | 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 | 88956 | | Innodb_rows_inserted | 1697298 | | Innodb_rows_read | 2421745478 | | Innodb_rows_updated | 1394085 | | Innodb_num_open_files | 176 | | Innodb_read_views_memory | 304 | | Innodb_descriptors_memory | 8000 | | Innodb_s_lock_os_waits | 15750 | | Innodb_s_lock_spin_rounds | 719002 | | Innodb_s_lock_spin_waits | 27279 | | Innodb_truncated_status_writes | 0 | | Innodb_available_undo_logs | 128 | | Innodb_x_lock_os_waits | 1433 | | Innodb_x_lock_spin_rounds | 68501 | | Innodb_x_lock_spin_waits | 774 | | Key_blocks_not_flushed | 0 | | Key_blocks_unused | 6695 | | Key_blocks_used | 3 | | Key_read_requests | 6 | | Key_reads | 3 | | Key_write_requests | 0 | | Key_writes | 0 | | Last_query_cost | 0.000000 | | Last_query_partial_plans | 0 | | Max_statement_time_exceeded | 0 | | Max_statement_time_set | 0 | | Max_statement_time_set_failed | 0 | | Max_used_connections | 2 | | Not_flushed_delayed_rows | 0 | | Open_files | 21 | | Open_streams | 0 | | Open_table_definitions | 218 | | Open_tables | 211 | | Opened_files | 319 | | Opened_table_definitions | 0 | | Opened_tables | 0 | | Performance_schema_accounts_lost | 0 | | Performance_schema_cond_classes_lost | 0 | | Performance_schema_cond_instances_lost | 0 | | Performance_schema_digest_lost | 0 | | Performance_schema_file_classes_lost | 0 | | Performance_schema_file_handles_lost | 0 | | Performance_schema_file_instances_lost | 0 | | Performance_schema_hosts_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_session_connect_attrs_lost | 0 | | Performance_schema_socket_classes_lost | 0 | | Performance_schema_socket_instances_lost | 0 | | Performance_schema_stage_classes_lost | 0 | | Performance_schema_statement_classes_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 | | Performance_schema_users_lost | 0 | | Prepared_stmt_count | 0 | | Qcache_free_blocks | 1 | | Qcache_free_memory | 1031320 | | Qcache_hits | 0 | | Qcache_inserts | 0 | | Qcache_lowmem_prunes | 0 | | Qcache_not_cached | 3 | | Qcache_queries_in_cache | 0 | | Qcache_total_blocks | 1 | | Queries | 5840320 | | Questions | 5 | | Rsa_public_key | | | Select_full_join | 0 | | Select_full_range_join | 0 | | Select_range | 0 | | Select_range_check | 0 | | Select_scan | 0 | | Slave_heartbeat_period | 1800.000 | | Slave_last_heartbeat | | | Slave_open_temp_tables | 0 | | Slave_received_heartbeats | 0 | | Slave_retried_transactions | 0 | | Slave_running | ON | | Slow_launch_threads | 0 | | Slow_queries | 0 | | Sort_merge_passes | 0 | | Sort_range | 0 | | Sort_rows | 0 | | Sort_scan | 0 | | 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_server_not_after | | | Ssl_server_not_before | | | 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 | 3407462 | | Table_locks_waited | 0 | | Table_open_cache_hits | 0 | | Table_open_cache_misses | 0 | | Table_open_cache_overflows | 0 | | Tc_log_max_pages_used | 0 | | Tc_log_page_size | 0 | | Tc_log_page_waits | 0 | | Threadpool_idle_threads | 0 | | Threadpool_threads | 0 | | Threads_cached | 0 | | Threads_connected | 2 | | Threads_created | 2 | | Threads_running | 1 | | Uptime | 10809 | | Uptime_since_flush_status | 10809 | +-----------------------------------------------+--------------+ 403 rows in set (0.01 sec) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.09.2015, 13:28:34 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
ничего критичного не вижу, также по часовым изменениям ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.09.2015, 15:31:03 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
SHOW STATUS После 7,5 часов работы: mysql> SHOW STATUS; +-----------------------------------------------+--------------+ | Variable_name | Value | +-----------------------------------------------+--------------+ | Aborted_clients | 0 | | Aborted_connects | 1 | | Binlog_snapshot_file | | | Binlog_snapshot_position | 0 | | Binlog_cache_disk_use | 0 | | Binlog_cache_use | 0 | | Binlog_stmt_cache_disk_use | 0 | | Binlog_stmt_cache_use | 0 | | Bytes_received | 267 | | Bytes_sent | 2946 | | 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_alter_user | 0 | | Com_analyze | 0 | | Com_begin | 0 | | Com_binlog | 0 | | Com_call_procedure | 0 | | Com_change_db | 0 | | 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_get_diagnostics | 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 | 0 | | Com_kill | 0 | | Com_load | 0 | | Com_lock_tables | 0 | | Com_lock_tables_for_backup | 0 | | Com_lock_binlog_for_backup | 0 | | Com_optimize | 0 | | Com_preload_keys | 0 | | Com_prepare_sql | 0 | | Com_purge | 0 | | Com_purge_before_date | 0 | | Com_purge_archived | 0 | | Com_purge_archived_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 | 1 | | Com_set_option | 0 | | Com_signal | 0 | | Com_show_binlog_events | 0 | | Com_show_binlogs | 0 | | Com_show_charsets | 0 | | Com_show_client_statistics | 0 | | Com_show_collations | 0 | | Com_show_create_db | 0 | | Com_show_create_event | 0 | | Com_show_create_func | 0 | | Com_show_create_proc | 0 | | Com_show_create_table | 0 | | Com_show_create_trigger | 0 | | Com_show_databases | 0 | | Com_show_engine_logs | 0 | | Com_show_engine_mutex | 0 | | Com_show_engine_status | 0 | | Com_show_events | 0 | | Com_show_errors | 0 | | Com_show_fields | 0 | | Com_show_function_code | 0 | | Com_show_function_status | 0 | | Com_show_grants | 0 | | Com_show_index_statistics | 0 | | Com_show_keys | 0 | | Com_show_master_status | 0 | | Com_show_open_tables | 0 | | Com_show_plugins | 0 | | Com_show_privileges | 0 | | Com_show_procedure_code | 0 | | Com_show_procedure_status | 0 | | Com_show_processlist | 0 | | Com_show_profile | 0 | | Com_show_profiles | 0 | | Com_show_relaylog_events | 0 | | Com_show_slave_hosts | 0 | | Com_show_slave_status | 1 | | Com_show_slave_status_nolock | 0 | | Com_show_status | 1 | | Com_show_storage_engines | 0 | | Com_show_table_statistics | 0 | | Com_show_table_status | 0 | | Com_show_tables | 0 | | Com_show_thread_statistics | 0 | | Com_show_triggers | 0 | | Com_show_user_statistics | 0 | | Com_show_variables | 0 | | 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_binlog | 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 | | Connection_errors_accept | 0 | | Connection_errors_internal | 0 | | Connection_errors_max_connections | 0 | | Connection_errors_peer_address | 0 | | Connection_errors_select | 0 | | Connection_errors_tcpwrap | 0 | | Connections | 7 | | Created_tmp_disk_tables | 0 | | Created_tmp_files | 6 | | Created_tmp_tables | 0 | | Delayed_errors | 0 | | Delayed_insert_threads | 0 | | Delayed_writes | 0 | | Flush_commands | 1 | | Handler_commit | 0 | | Handler_delete | 0 | | Handler_discover | 0 | | Handler_external_lock | 0 | | Handler_mrr_init | 0 | | Handler_prepare | 0 | | Handler_read_first | 0 | | Handler_read_key | 0 | | Handler_read_last | 0 | | Handler_read_next | 0 | | Handler_read_prev | 0 | | Handler_read_rnd | 0 | | Handler_read_rnd_next | 0 | | Handler_rollback | 0 | | Handler_savepoint | 0 | | Handler_savepoint_rollback | 0 | | Handler_update | 0 | | Handler_write | 0 | | Innodb_buffer_pool_dump_status | not started | | Innodb_buffer_pool_load_status | not started | | Innodb_background_log_sync | 24570 | | Innodb_buffer_pool_pages_data | 590861 | | Innodb_buffer_pool_bytes_data | 9680666624 | | Innodb_buffer_pool_pages_dirty | 11327 | | Innodb_buffer_pool_bytes_dirty | 185581568 | | Innodb_buffer_pool_pages_flushed | 718341 | | Innodb_buffer_pool_pages_LRU_flushed | 0 | | Innodb_buffer_pool_pages_free | 63993 | | Innodb_buffer_pool_pages_made_not_young | 0 | | Innodb_buffer_pool_pages_made_young | 2961 | | Innodb_buffer_pool_pages_misc | 498 | | Innodb_buffer_pool_pages_old | 218266 | | Innodb_buffer_pool_pages_total | 655352 | | Innodb_buffer_pool_read_ahead_rnd | 0 | | Innodb_buffer_pool_read_ahead | 28507 | | Innodb_buffer_pool_read_ahead_evicted | 0 | | Innodb_buffer_pool_read_requests | 1360824310 | | Innodb_buffer_pool_reads | 226854 | | Innodb_buffer_pool_wait_free | 0 | | Innodb_buffer_pool_write_requests | 10717828 | | Innodb_checkpoint_age | 9526729 | | Innodb_checkpoint_max_age | 80826164 | | Innodb_data_fsyncs | 1071031 | | Innodb_data_pending_fsyncs | 0 | | Innodb_data_pending_reads | 0 | | Innodb_data_pending_writes | 0 | | Innodb_data_read | 9367736320 | | Innodb_data_reads | 571921 | | Innodb_data_writes | 1494900 | | Innodb_data_written | 24668607488 | | Innodb_dblwr_pages_written | 718341 | | Innodb_dblwr_writes | 129474 | | Innodb_deadlocks | 0 | | Innodb_have_atomic_builtins | ON | | Innodb_history_list_length | 1507 | | Innodb_ibuf_discarded_delete_marks | 0 | | Innodb_ibuf_discarded_deletes | 0 | | Innodb_ibuf_discarded_inserts | 0 | | Innodb_ibuf_free_list | 12751 | | Innodb_ibuf_merged_delete_marks | 28831 | | Innodb_ibuf_merged_deletes | 15421 | | Innodb_ibuf_merged_inserts | 1055257 | | Innodb_ibuf_merges | 331075 | | Innodb_ibuf_segment_size | 16199 | | Innodb_ibuf_size | 3447 | | Innodb_log_waits | 0 | | Innodb_log_write_requests | 1900025 | | Innodb_log_writes | 641999 | | Innodb_lsn_current | 888300799180 | | Innodb_lsn_flushed | 888300799180 | | Innodb_lsn_last_checkpoint | 888291272451 | | Innodb_master_thread_active_loops | 24570 | | Innodb_master_thread_idle_loops | 0 | | Innodb_max_trx_id | 68496903228 | | Innodb_mem_adaptive_hash | 178160416 | | Innodb_mem_dictionary | 44057186 | | Innodb_mem_total | 10989076480 | | Innodb_mutex_os_waits | 317876 | | Innodb_mutex_spin_rounds | 9689745 | | Innodb_mutex_spin_waits | 131763 | | Innodb_oldest_view_low_limit_trx_id | 0 | | Innodb_os_log_fsyncs | 645752 | | Innodb_os_log_pending_fsyncs | 0 | | Innodb_os_log_pending_writes | 0 | | Innodb_os_log_written | 1128230400 | | Innodb_page_size | 16384 | | Innodb_pages_created | 19105 | | Innodb_pages_read | 571756 | | Innodb_pages_written | 718341 | | Innodb_purge_trx_id | 68496903228 | | 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 | 39681 | | Innodb_rows_inserted | 421235 | | Innodb_rows_read | 1003357889 | | Innodb_rows_updated | 425677 | | Innodb_num_open_files | 157 | | Innodb_read_views_memory | 96 | | Innodb_descriptors_memory | 8000 | | Innodb_s_lock_os_waits | 16415 | | Innodb_s_lock_spin_rounds | 715408 | | Innodb_s_lock_spin_waits | 28298 | | Innodb_truncated_status_writes | 0 | | Innodb_available_undo_logs | 128 | | Innodb_x_lock_os_waits | 924 | | Innodb_x_lock_spin_rounds | 58951 | | Innodb_x_lock_spin_waits | 557 | | Key_blocks_not_flushed | 0 | | Key_blocks_unused | 6695 | | Key_blocks_used | 3 | | Key_read_requests | 6 | | Key_reads | 3 | | Key_write_requests | 0 | | Key_writes | 0 | | Last_query_cost | 0.000000 | | Last_query_partial_plans | 0 | | Max_statement_time_exceeded | 0 | | Max_statement_time_set | 0 | | Max_statement_time_set_failed | 0 | | Max_used_connections | 1 | | Not_flushed_delayed_rows | 0 | | Open_files | 21 | | Open_streams | 0 | | Open_table_definitions | 204 | | Open_tables | 197 | | Opened_files | 278 | | Opened_table_definitions | 0 | | Opened_tables | 0 | | Performance_schema_accounts_lost | 0 | | Performance_schema_cond_classes_lost | 0 | | Performance_schema_cond_instances_lost | 0 | | Performance_schema_digest_lost | 0 | | Performance_schema_file_classes_lost | 0 | | Performance_schema_file_handles_lost | 0 | | Performance_schema_file_instances_lost | 0 | | Performance_schema_hosts_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_session_connect_attrs_lost | 0 | | Performance_schema_socket_classes_lost | 0 | | Performance_schema_socket_instances_lost | 0 | | Performance_schema_stage_classes_lost | 0 | | Performance_schema_statement_classes_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 | | Performance_schema_users_lost | 0 | | Prepared_stmt_count | 0 | | Qcache_free_blocks | 1 | | Qcache_free_memory | 1031320 | | Qcache_hits | 0 | | Qcache_inserts | 0 | | Qcache_lowmem_prunes | 0 | | Qcache_not_cached | 3 | | Qcache_queries_in_cache | 0 | | Qcache_total_blocks | 1 | | Queries | 1526493 | | Questions | 3 | | Rsa_public_key | | | Select_full_join | 0 | | Select_full_range_join | 0 | | Select_range | 0 | | Select_range_check | 0 | | Select_scan | 0 | | Slave_heartbeat_period | 1800.000 | | Slave_last_heartbeat | | | Slave_open_temp_tables | 0 | | Slave_received_heartbeats | 0 | | Slave_retried_transactions | 0 | | Slave_running | ON | | Slow_launch_threads | 0 | | Slow_queries | 0 | | Sort_merge_passes | 0 | | Sort_range | 0 | | Sort_rows | 0 | | Sort_scan | 0 | | 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_server_not_after | | | Ssl_server_not_before | | | 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 | 911368 | | Table_locks_waited | 0 | | Table_open_cache_hits | 0 | | Table_open_cache_misses | 0 | | Table_open_cache_overflows | 0 | | Tc_log_max_pages_used | 0 | | Tc_log_page_size | 0 | | Tc_log_page_waits | 0 | | Threadpool_idle_threads | 0 | | Threadpool_threads | 0 | | Threads_cached | 0 | | Threads_connected | 1 | | Threads_created | 1 | | Threads_running | 1 | | Uptime | 26337 | | Uptime_since_flush_status | 26337 | +-----------------------------------------------+--------------+ 403 rows in set (0.00 sec) А на какие параметры смотреть, чтобы выявить анамальное поведение? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.09.2015, 21:39:21 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
serj0333, на всякий, в отдельных окнах включите htop mytop iotop mysqladmin -u user -p pass -i 5 processlist ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.09.2015, 04:51:52 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
serj0333, открывайте ваш вывод в Ексель по столбцам отфильтруйте ненулевые , сделайте разностные столбцы, смотрите изменения по часам. У вас они просто стабильны. Смотреть там особо нечего MyISAM таблиц нет, key_buffer_size используется только под темповые таблицы, его можно и увеличить хоть до 64-128M InnoDB блоки высвобождаются достаточно, чтения больше чем записи Проблема была не в БД. смотрите за процессами, javajdbc показал как а какие у вас изначально ibdata файлы? дефолтные с инкрементом? судя по конфигу..... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.09.2015, 08:37:16 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Спасибо за советы. Mysql упал. =) Last_SQL_Error: Error 'Index StatisticPickUpPhone is corrupted' on query. Default database: ... Самое интересное, что на боевом сервере запрос прошел, на боевой реплике прошел. А на технической реплике сломал индекс или что-то подобное. ibdata скорее всего дефолтные, с ними никто ничего не делал. Если подскажите как уточнить, какие они, то я вам скажу. Какие идеи? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.09.2015, 10:34:10 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
у меня мысль "тупо в лоб" только одна - индекс "не дописался" вовремя.... "медленные" диски... сделайте ibdata1 сразу 500G, инркементное выделение не приносит пользы при больших нагрузках, должно проработать дольше, это для экперимента уберите innodb_flush_log_at_trx_commit = 2 вообще-то можно только догадываться... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.09.2015, 10:52:28 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
авторНа этой ноде несколько виртуалок и все работают хорошобоевой слейв тоже с кучей виртуалок? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.09.2015, 11:11:53 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
serj0333, Диски на целостность - проверяли? потери производительности "периодически" не возникает? Я бы первым делом убедился в целостности мех. части. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.09.2015, 11:57:44 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Если идет речь о виртуальном сервере, то вполне могут быть виртуальные проблемы - мы их достаточно наелись, когда дисковая полка помирала, но еще не померла окончательно. Такие проблемы на репликационном сервере видны только из графиков нагрузки. Поэтому крайне рекомендую вам установить либо взрослый комплекс(munin, nagios,...) для наблюдения за параметрами мускл в графическом виде(кол-во подключений, записей, селектов, ожидающих блокировок и тд) либо какуюнить мелкую прогу которая покажет графики. Далее проверьте виртуальные диски на виртуальные повреждения:) Такое встречается, fsck поможет. И укажите ОС на которой оно работает. Если это фрибсд с её любимой уфс2, то бежать оттуда надо - при сбое может и файл потерять. По логу ошибка происходит какая то непонятная в ядре мускл, значит это не корявый запрос приходит, а что то другое. дайте больше информации о системе. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.09.2015, 12:23:56 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Система Centos 7 Файловая система ext4 Всё это дело крутится на vmware. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2015, 11:20:27 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Диски проверил с помощью sudo badblocks -v -s /dev/sdb1 > badblocks.log бэдов не было. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2015, 11:22:25 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Сейчас попробую поставить просто mysql, а не percona и посмотрю повторится ли проблема. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2015, 11:30:19 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
serj0333Система Centos 7 Файловая система ext4 Всё это дело крутится на vmware. надеюсь Диск под систему физически отдельный ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2015, 13:40:18 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Не совсем понял. Ты имеешь в виду то, что на физ диске только эта машина крутится, а не несколько? Если честно, то хз. Эти тачки админят другие ребята, но можно выяснить. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2015, 13:42:49 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
у вмвари есть консоль и админы могут дать к ней доступ только к графикам производительности(у меня такая же ситуация). Среди всего прочего будет загрузка процессора, нагрузка на сеть, нагрузка на винт, задержки дисковой подсистемы(!!!). Графики не то чтобы сильно полезные, но иногда помогают. Во вкладке performance есть не помню какая вторая подвкладка - там можно выбрать дисковую подсистему и посмотреть "write latency". Не знаю сколько нужно, но у меня работает идеально на 0-10, мелкие проблемы на 15-30, заметные подтормаживания на 70-100. Если есть прослойка в виде вмвари то говорить о физических дисках глупо, скорее всего всему кластеру виртуальных машин выдана большая дисковая полка на которой задержки не сильно большие. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2015, 14:57:05 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Поставил MySql 5.6 всё работает уже второй день. Странно... =) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.09.2015, 13:17:36 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Mysql пропработал почти 3 дня и упал. Мониторинг Vmware пока недоступен. Скоро будет, гляну туда Вот немного логов. Ребят, помогайте. InnoDB: error in sec index entry update in InnoDB: index `FK4BE7532292C5D482` of table `db`.`Posting` InnoDB: tuple DATA TUPLE: 2 fields; 0: len 8; hex 80000000009a8603; asc ;; 1: len 8; hex 8000000003c76526; asc e&;; InnoDB: record PHYSICAL RECORD: n_fields 2; compact format; info bits 0 0: len 8; hex 80000000009a8602; asc ;; 1: len 8; hex 8000000003b81c23; asc #;; TRANSACTION 68607054847, ACTIVE 0 sec updating or deleting mysql tables in use 1, locked 1 4 lock struct(s), heap size 1184, 2 row lock(s), undo log entries 1 MySQL thread id 2, OS thread handle 0x7fe464169700, query id 5104216 updating delete from Posting where ID=63399206 InnoDB: Submit a detailed bug report to http://bugs.mysql.com InnoDB: error in sec index entry update in InnoDB: index `FK4BE7532292C5D482` of table `db`.`Posting` InnoDB: tuple DATA TUPLE: 2 fields; 0: len 8; hex 80000000009a8605; asc ;; 1: len 8; hex 8000000003c76527; asc e';; InnoDB: record PHYSICAL RECORD: n_fields 2; compact format; info bits 0 0: len 8; hex 80000000009a8602; asc ;; 1: len 8; hex 8000000003b81c23; asc #;; TRANSACTION 68607054852, ACTIVE 0 sec updating or deleting mysql tables in use 1, locked 1 4 lock struct(s), heap size 1184, 2 row lock(s), undo log entries 1 MySQL thread id 2, OS thread handle 0x7fe464169700, query id 5104223 updating delete from Posting where ID=63399207 InnoDB: Submit a detailed bug report to http://bugs.mysql.com 2015-09-16 05:24:57 7fe4659ee700 InnoDB: unable to find a record to delete-mark InnoDB: tuple DATA TUPLE: 2 fields; 0: len 64; hex 62393162373537653339353438303338383064323736336538356533643163633666666362336632316566623666656463613636333561663836643537656438; asc b91b757e3954803880d2763e85e3d1cc6ffcb3f21efb6fedca6635af8 6d57ed8;; 1: len 8; hex 800000007739dd0e; asc w9 ;; InnoDB: record PHYSICAL RECORD: n_fields 2; compact format; info bits 0 0: len 30; hex 373636313264633034626163373935663564333032396563393835636531; asc 76612dc04bac795f5d3029ec985ce1; (total 64 bytes); 1: len 8; hex 8000000000050ae2; asc ;; space 967 offset 206473 (106 records, index id 3427) InnoDB: Submit a detailed bug report to http://bugs.mysql.com 2015-09-16 09:36:55 7fe46a9f8700 InnoDB: Error: Insert buffer insert fails; page free 6, dtuple size 79 InnoDB: Cannot insert index record DATA TUPLE: 2 fields; 0: len 64; hex 62393137366234616332303930376330326464653465636466323333643430316435613938303534386132323063313435663034356237343432386137323166; asc b9176b4ac20907c02dde4ecdf233d401d5a980548a220c145f045b74428a721f;; 1: len 8; hex 8000000077380e24; asc w8 $;; InnoDB: The table where this index record belongs InnoDB: is now probably corrupt. Please run CHECK TABLE on InnoDB: that table. InnoDB: space 967, page 206523, zip_size 0, bitmap bits 3 InnoDB: Submit a detailed bug report to http://bugs.mysql.com 2015-09-16 10:42:43 7fe4659ee700 InnoDB: unable to find a record to delete-mark InnoDB: tuple DATA TUPLE: 2 fields; 0: len 8; hex 800000007736faeb; asc w6 ;; 1: len 8; hex 800000000799d64d; asc M;; InnoDB: record PHYSICAL RECORD: n_fields 2; compact format; info bits 0 0: len 8; hex 800000007736faeb; asc w6 ;; 1: len 8; hex 8000000007921870; asc p;; space 162 offset 1170649 (431 records, index id 431) InnoDB: Submit a detailed bug report to http://bugs.mysql.com InnoDB: error in sec index entry update in InnoDB: index `FKE30A7ABE382D11BC` of table `db`.`Transaction` InnoDB: tuple DATA TUPLE: 2 fields; 0: len 8; hex 800000007736faeb; asc w6 ;; 1: len 8; hex 800000000799d64e; asc N;; InnoDB: record PHYSICAL RECORD: n_fields 2; compact format; info bits 0 0: len 8; hex 800000007736faeb; asc w6 ;; 1: len 8; hex 8000000007921870; asc p;; TRANSACTION 68610175062, ACTIVE 0 sec updating or deleting mysql tables in use 1, locked 1 2 lock struct(s), heap size 360, 1 row lock(s), undo log entries 1 MySQL thread id 2, OS thread handle 0x7fe464169700, query id 10618780 updating delete from Transaction where ID=127522382 InnoDB: Submit a detailed bug report to http://bugs.mysql.com InnoDB: error in sec index entry update in InnoDB: index `FKE30A7ABE382D11BC` of table `db`.`Transaction` InnoDB: tuple DATA TUPLE: 2 fields; 0: len 8; hex 800000007736faeb; asc w6 ;; 1: len 8; hex 800000000799d64f; asc O;; InnoDB: record PHYSICAL RECORD: n_fields 2; compact format; info bits 0 0: len 8; hex 800000007736faeb; asc w6 ;; 1: len 8; hex 8000000007921870; asc p;; TRANSACTION 68610175139, ACTIVE 0 sec updating or deleting mysql tables in use 1, locked 1 2 lock struct(s), heap size 360, 1 row lock(s), undo log entries 1 MySQL thread id 2, OS thread handle 0x7fe464169700, query id 10618880 updating delete from Transaction where ID=127522383 InnoDB: Submit a detailed bug report to http://bugs.mysql.com InnoDB: error in sec index entry update in InnoDB: index `FKE30A7ABE382D11BC` of table `db`.`Transaction` InnoDB: tuple DATA TUPLE: 2 fields; 0: len 8; hex 800000007736faeb; asc w6 ;; 1: len 8; hex 800000000799d650; asc P;; InnoDB: record PHYSICAL RECORD: n_fields 2; compact format; info bits 0 0: len 8; hex 800000007736faeb; asc w6 ;; 1: len 8; hex 8000000007921870; asc p;; TRANSACTION 68610175144, ACTIVE 0 sec updating or deleting mysql tables in use 1, locked 1 2 lock struct(s), heap size 360, 1 row lock(s), undo log entries 1 MySQL thread id 2, OS thread handle 0x7fe464169700, query id 10618886 updating delete from Transaction where ID=127522384 InnoDB: Submit a detailed bug report to http://bugs.mysql.com 2015-09-16 11:27:05 7fe4659ee700 InnoDB: unable to find a record to delete-mark InnoDB: tuple DATA TUPLE: 2 fields; 0: len 8; hex 8000000000518027; asc Q ';; 1: len 8; hex 8000000003c76fb8; asc o ;; InnoDB: record PHYSICAL RECORD: n_fields 2; compact format; info bits 0 0: len 8; hex 8000000000518027; asc Q ';; 1: len 8; hex 8000000003c39022; asc ";; space 121 offset 634817 (462 records, index id 323) InnoDB: Submit a detailed bug report to http://bugs.mysql.com 2015-09-16 11:28:39 7fe464169700 InnoDB: Assertion failure in thread 140618908473088 in file btr0cur.cc line 295 InnoDB: Failing assertion: page_is_comp(get_block->frame) == page_is_comp(page) InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html InnoDB: about forcing recovery. 08:28:39 UTC - mysqld got signal 6 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=8388608 read_buffer_size=131072 max_used_connections=2 max_threads=50 thread_count=2 connection_count=0 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 28031 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.09.2015, 15:36:29 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
serj0333, может файловой систему таки протестировать? можно взять fio и вот такую типовую конфигурацию для fio : http://git.kernel.dk/?p=fio.git;a=blob;f=examples/surface-scan.fio;h=dc3373a2ea48f495cdc03ccf4dc2e1ed23e3e434;hb=HEAD Ну и те кто вам vmware предоставляют узнаю наконец какую лажу они купили вместо дисков. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.09.2015, 23:31:56 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
и dmesg вы не проверили. или файл куда эти dmesg пишутся. Там могут быть важные сообщения о проблемах с дисками. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.09.2015, 23:38:40 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
serj0333, serj0333, 1. у вас точно в гостевой системе ОЗУ 35Г ??? (может на деле 4Г) 2. все же попросите установить гостяОС на отдельный физический диск, пусть даже просто SATA, оградите тем самым себя от поползновений от других "гостей", может их там 10 крутится на одной болванке подозрение что там просто перегрев... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.09.2015, 10:35:26 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
действительно, нужно почитать системные журналы, что там творится в это время. Там может быть что то интересное. Логи очень похожи на то что мускл не понимает что с ним случилось и свалился. А с вмварей может быть все хорошо, но когда из за какой то нагрузки виртуальная машина мигрирует с хоста на хост возникают проблемы. Такие вещи тестами проверять очень сложно, ведь случаются они не всегда и не обязательно будут во время тестов. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.09.2015, 20:15:51 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Вот самое простое средство которое может показать что происходит с сервером прям сейчас. Как раз тогда когда нет возможности настроить Cacti/Nagios/Zabbix/... http://sourceforge.net/projects/mysqlmt/ Внутри в файлах конфига можно поправить переменные. У меня на 2м мониторе висит всегда когда я сомневаюсь в надежности сервера. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.09.2015, 08:19:23 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Мало ли кто зайдет, может кому полезно будет. Проблема решилась увеличением ресурсов. Если кто-то накидает статей на тему как рассчитать необходимую мощность для серверов БД и прочих, буду признателен. Всем спасибо за советы. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.10.2015, 15:18:01 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
serj0333Мало ли кто зайдет, может кому полезно будет. Проблема решилась увеличением ресурсов. Если кто-то накидает статей на тему как рассчитать необходимую мощность для серверов БД и прочих, буду признателен. Всем спасибо за советы. Да нет таких статей и быть не может. На типовых коробочных приложения в схожих условиях еще как-то можно оценивать, но статьи они не удостоятся. mysqltuner считает память "по максимуму" исходя из размеров буферов * max_connections, но будет ли достигнуто max_connections он не знает и все равно некоторые буферы не суммируются. То есть, все равно это оценка весьма натянутая. С производительностью дисков все еще хуже. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.10.2015, 15:27:38 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
Мне кажется что увеличением ресурсов вы вылечили что то другое. Mysql не должен как то падать если ему не хватает памяти, диска, процессора. У меня была ситуация когда пришлось перейти с мощного сервера (16CPU 24G Ram + внешний дисковый массив с кешем на батарейке) на слабый сервер (4CPU+4GB + локальный рейд из 4х винтов). Так вот Percona Server 5.5 не справлялся с нагрузкой, захлебывался, но как только их выполнял становился опять достаточно отзывчивым. Никаких нестабильностей замечено не было - просто очень медленная работа на никаких ресурсах. Репликация в условиях недостаточных ресурсов говорит что отставания от мастера 0, но в реальности там пропасть. Так что похоже что проблему вы не нашли, готовьтесь к тому, что она вернется. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.10.2015, 05:28:50 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
LiveMan, в vmware виртуальный контроллер вместо обычного поведения с бесконечным ожиданием, может и ошибки выдать. А как себя поведет Корпоративная Система Хранения - вообще никому не известно. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.10.2015, 11:32:19 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
netwind, но ведь тогда будет проблема только с сетью, если сетевой контроллер как то неадекватно работает. А по логам- сервер упал в ошибку самой субд. ТС, посмотрите наличие этих параметров параметры для реплики: my.cnf sync_master_info = 1 sync_relay_log = 1 sync_relay_log_info = 1 На диске, где лежит база и журналы нужно изменить.добавить параметр монтирования раздела в fstab data=journal Эти параметры снизят скорость, но увеличат надежность диска в случае сбоя. Возможно, если сервер каким то чудом рестартнется - дальше сам поднимется и продолжит репликацию. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.10.2015, 06:13:16 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
LiveMan, виртуальный контроллер диска я имел ввиду. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.10.2015, 08:01:52 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
netwind, это какая то жесть получается. Вряд ли виртуальная машина с такими косяками в виртуальной среде смогла бы долго проработать. да и остальные машины бы с косяками падали. ТС-у: тогда эти опции должны помочь, + errors=remount-ro в таком случае при возникновении ошибки раздел перемонтируется в read-only и не испортит уже записанные данные. В реальности скорее всего - встанет колом и будет ждать рестарта, но пустит админа на консоль и покажет что случилось. И, кстати, забыл упомянуть, что эти опции в fstab легко запихнуть если раздел под базу отдельный. Если раздел единственный или корневой тогда способ не работает. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.10.2015, 08:14:20 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
LiveMannetwind, это какая то жесть получается. Вряд ли виртуальная машина с такими косяками в виртуальной среде смогла бы долго проработать. да и остальные машины бы с косяками падали. почему ? это же Энтерпрайз. Пацаны откатили - а пользователи терпят. Нормальная тема. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.10.2015, 08:16:08 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
вот тут есть инструкции как правильно терпеть : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009465 или там баги всякие. http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1030265 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.10.2015, 08:19:45 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
netwind, большое спасибо за ссылки. Я так понимаю что баги есть и будут, с ними вряд ли что то можно ЛЕГКО сделать. А вот чтобы правильно терпеть нужно обязательно ставить утилиты виртуализации для гостевой системы. И именно эти утилиты подтянут за собой скрипты и настройки для правильного терпения. а вы как терпите, настраиваете как-то гостевую систему дополнительно ? :) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.10.2015, 05:26:58 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
LiveMan, не уверен, что дело в этом баге. Это я скорее привожу примеры как виртуальная среда влияет на ввод-вывод. вот еще, например, из старенькой ubuntu https://bugs.launchpad.net/ubuntu/ source/linux/ bug/140032 и https://bugs.launchpad.net/ubuntu/ source/linux-source-2.6.22/ bug/137585 так и не закрытые. В принципе никто в linux не предполагал возникновения такой ситуации. Это ж надо очень сильно нагрузить, чтобы за 60 секунд не было ответов и случился таймаут. Но, допустим, интенсивный бекап других машин такое может вызвать даже без переноса между серверами. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.10.2015, 11:12:01 |
|
||
|
Проблема с репликацией.
|
|||
|---|---|---|---|
|
#18+
netwind, LiveMan.... а вы как терпите, настраиваете как-то гостевую систему дополнительно ? :) Все же хочется увидеть ответ на вопрос. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.11.2015, 10:55:14 |
|
||
|
|

start [/forum/topic.php?all=1&fid=47&tid=1832549]: |
0ms |
get settings: |
7ms |
get forum list: |
16ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
39ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
78ms |
get tp. blocked users: |
1ms |
| others: | 221ms |
| total: | 376ms |

| 0 / 0 |
