In MySQL, GIPK stands for generated invisible primary key. A GIPK is created whenever we create an InnoDB
table without explicitly defining a primary key and when we have GIPKs enabled.
To enable GIPKs, we need to set our sql_generate_invisible_primary_key
server system variable to ON
. By default this is set to OFF
, which means GIPKs are disabled by default.