[root@mysql-master ~]# mysql -u root -p mysql> show variables like '%binlog%'; +--------------------------------------------+----------------------+ | Variable_name | Value | +--------------------------------------------+----------------------+ | binlog_cache_size | 32768 | | binlog_checksum | CRC32 | | binlog_direct_non_transactional_updates | OFF | | binlog_error_action | ABORT_SERVER | | binlog_expire_logs_seconds | 2592000 | | binlog_format | ROW | | binlog_group_commit_sync_delay | 0 | | binlog_group_commit_sync_no_delay_count | 0 | | binlog_gtid_simple_recovery | ON | | binlog_max_flush_queue_time | 0 | | binlog_order_commits | ON | | binlog_row_image | FULL | | binlog_row_metadata | MINIMAL | | binlog_row_value_options | | | binlog_rows_query_log_events | OFF | | binlog_stmt_cache_size | 32768 | | binlog_transaction_dependency_history_size | 25000 | | binlog_transaction_dependency_tracking | COMMIT_ORDER | | innodb_api_enable_binlog | OFF | | log_statements_unsafe_for_binlog | ON | | max_binlog_cache_size | 18446744073709547520 | | max_binlog_size | 1073741824 | | max_binlog_stmt_cache_size | 18446744073709547520 | | sync_binlog | 1 | +--------------------------------------------+----------------------+ 24 rows in set (0.03 sec) mysql> select 2592000/3600; +--------------+ | 2592000/3600 | +--------------+ | 720.0000 | +--------------+ 1 row in set (0.00 sec) mysql> select 2592000/3600/24; +-----------------+ | 2592000/3600/24 | +-----------------+ | 30.00000000 | +-----------------+ 1 row in set (0.00 sec)
MySQL 主从复制(三)
猜你喜欢
转载自www.cnblogs.com/dinghailong128/p/12903961.html
今日推荐
周排行