Converting a Table's Engine to ReplicatedMergeTree
Adding replication support to a table
To support replication, you can convert a table’s engine from MergeTree
to ReplicatedMergeTree
. (A table with a MergeTree
engine can’t be replicated.)
To get started, click the EXPLORE button in the Clusters view:
Figure 1 – The EXPLORE button
In the Explorer view, switch to the Schema tab:
Figure 2 – The Schema tab
Click the vertical dots icon next to the table whose engine you want to change and select Convert to ReplicatedMergeTree:
Figure 3 – The Convert to ReplicatedMergeTree menu item
As you would expect, this menu item is only available if a table’s engine is MergeTree
.
When you click the menu item, you’ll see a confirmation message:
Figure 4 - ReplicatedMergeTree conversion confirmation dialog
Click OK to start the conversion.