Skip to the content.

binlog_row_image

ROW 방식으로 Binlog 기록 시 로깅할 컬럼 SET 설정

https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_row_image


확인

SHOW VARIABLES WHERE VARIABLE_NAME LIKE 'binlog_row_image';
/*
+------------------+-------+
| Variable_name    | Value |
+------------------+-------+
| binlog_row_image | FULL  |
+------------------+-------+
1 row in set (0.01 sec)
*/


관련 내용

|설정값|설명| |-|-| |FULL|변경 전, 후 이미지 전체를 기록 (기본값)| |MINIMAL|변경될 행을 식별하기 위해 필요한 최소한의 이전 이미지의 열만 기록| |NOBLOB|행을 식별할 필요가 없거나 BLOBTEXT 같은 열을 제외하고 기록|


관련 파라미터