/
Index Organised Table(IOT) DDL

Index Organised Table(IOT) DDL

Problem Description

Does IOT(Index Organised Table) DDL replicate?  ie. if we have DDL enabled in Replicate and create an IOT on source whether this should also be expected to be created as an IOT on target

Solution

If you run CREATE TABLE IOT_table(col1, col2, …) organization index - then we will replicate the whole DDL and you get it all. 

However, if you run CREATE TABLE AS SELECT(CTAS), then we conjure up new DDL for it (a non-CTAS one), and that’s when you don’t get any of the indexes, etc..

Related content

Prevent Create Index from Replication when DDL Replication Is Enabled
Prevent Create Index from Replication when DDL Replication Is Enabled
More like this
Allow DDL DROP and CREATE for Individual Tables Which Are Replicated on Table Level (not Schema Level)
Allow DDL DROP and CREATE for Individual Tables Which Are Replicated on Table Level (not Schema Level)
More like this
Replicate ver 2.8 enhancement: Make dropped tables stay 'prepared'
Replicate ver 2.8 enhancement: Make dropped tables stay 'prepared'
More like this