My Oracle Support Banner

HOW sql_generate_invisible_primary_key Variable Impacts Replica Database (Doc ID 2979878.1)

Last updated on JANUARY 05, 2024

Applies to:

MySQL Server - Version 8.0 and later
Information in this document applies to any platform.


Clarification of the questions below:

  1. If both servers are configured identically with set sql_generate_invisible_primary_key = 1, will DDL changes also
    generate a CREATE TABLE on the replica with the same configuration (e.g. generated primary key) on the secondary?
  2. How do any DML changes get replicated if binary log is minimal (binlog_row_image=minimal) and sql_generate_invisible_primary_key = 1?



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.