s l ave innodb_redo_log_capacity | 104857600 mysql> show variables like '%parallel%'; +------------------------------+---------------+ | Variable_name | Value | +------------------------------+---------------+ | innodb_parallel_read_threads | 4 | | replica_parallel_type | LOGICAL_CLOCK | | replica_parallel_workers | 8 | | slave_parallel_type | LOGICAL_CLOCK | | slave_parallel_workers | 8 | +------------------------------+---------------+ 5 rows in set (0.00 sec) mysql> show variables like '%binlog_group_commit%'; +-----------------------------------------+-------+ | Variable_name | Value | +-----------------------------------------+-------+ | binlog_group_commit_sync_delay | 0 | | binlog_group_commit_sync_no_delay_count | 0 | +-----------------------------------------+-------+ 2 rows in set (0.01 sec) mysql> show variables like '%binlog_transaction_dependency_tracking%'; +----------------------------------------+----------+ | Variable_name | Value | +----------------------------------------+----------+ | binlog_transaction_dependency_tracking | WRITESET | +----------------------------------------+----------+ sql> show slave status\G *************************** 1. row *************************** Slave_IO_State: Queueing source event to the relay log Master_Host: 10.1***20 Master_User: repl Master_Port: 3306 Connect_Retry: 60 Master_Log_File: binlog.021892 Read_Master_Log_Pos: 187617675 Relay_Log_File: gacspcdb03-relay-bin.000064 Relay_Log_Pos: 187607668 Relay_Master_Log_File: binlog.021892 Slave_IO_Running: Yes Slave_SQL_Running: Yes Replicate_Do_DB: Replicate_Ignore_DB: Replicate_Do_Table: Replicate_Ignore_Table: Replicate_Wild_Do_Table: Replicate_Wild_Ignore_Table: Last_Errno: 0 Last_Error: Skip_Counter: 0 Exec_Master_Log_Pos: 187607498 Relay_Log_Space: 187618144 Until_Condition: None Until_Log_File: Until_Log_Pos: 0 Master_SSL_Allowed: No Master_SSL_CA_File: Master_SSL_CA_Path: Master_SSL_Cert: Master_SSL_Cipher: Master_SSL_Key: Seconds_Behind_Master: 67927 Master_SSL_Verify_Server_Cert: No Last_IO_Errno: 0 Last_IO_Error: Last_SQL_Errno: 0 Last_SQL_Error: Replicate_Ignore_Server_Ids: Master_Server_Id: 20 Master_UUID: 2c93e685-afd1-11eb-a93d-005056a35f7a Master_Info_File: mysql.slave_master_info SQL_Delay: 0 SQL_Remaining_Delay: NULL Slave_SQL_Running_State: Replica has read all relay log; waiting for more updates Master_Retry_Count: 86400 Master_Bind: Last_IO_Error_Timestamp: Last_SQL_Error_Timestamp: Master_SSL_Crl: Master_SSL_Crlpath: Retrieved_Gtid_Set: 2c93e685-afd1-11eb-a93d-005056a35f7a:1367742875-1368497434 Executed_Gtid_Set: 2c93e685-afd1-11eb-a93d-005056a35f7a:1-1368497434, 8daf9ffe-afd1-11eb-a9d4-005056a315fe:1-1098484648 Auto_Position: 1 Replicate_Rewrite_DB: Channel_Name: Master_TLS_Version: Master_public_key_path: Get_master_public_key: 0 Network_Namespace: 1 row in set, 1 warning (0.00 sec) mysql> show variables like '%buffer_pool%'; +-------------------------------------+----------------+ | Variable_name | Value | +-------------------------------------+----------------+ | innodb_buffer_pool_chunk_size | 134217728 | | innodb_buffer_pool_dump_at_shutdown | ON | | innodb_buffer_pool_dump_now | OFF | | innodb_buffer_pool_dump_pct | 25 | | innodb_buffer_pool_filename | ib_buffer_pool | | innodb_buffer_pool_in_core_file | ON | | innodb_buffer_pool_instances | 8 | | innodb_buffer_pool_load_abort | OFF | | innodb_buffer_pool_load_at_startup | ON | | innodb_buffer_pool_load_now | OFF | | innodb_buffer_pool_size | 17179869184 | +-------------------------------------+----------------+ 11 rows in set (0.00 sec) 主库 mysql> show variables like '%innodb_redo%'; +------------------------------+-----------+ | Variable_name | Value | +------------------------------+-----------+ | innodb_redo_log_archive_dirs | | | innodb_redo_log_capacity | 104857600 | | innodb_redo_log_encrypt | OFF | +------------------------------+-----------+ ysql> show master status\G *************************** 1. row *************************** File: binlog.021980 Position: 332593495 Binlog_Do_DB: Binlog_Ignore_DB: Executed_Gtid_Set: 2c93e685-afd1-11eb-a93d-005056a35f7a:1-1371476438, 8daf9ffe-afd1-11eb-a9d4-005056a315fe:1-1098484648 1 row in set (0.00 sec) |
770750140
3 天前
| ||
yejr
3 天前
| ||
770750140
3 天前
| ||
770750140
3 天前
| ||
caihe.li
前天 10:30
| ||
合作电话:010-64087828
社区邮箱:greatsql@greatdb.com