Example 1: Add a column (col4) to a replicate table.
示例1:向副本表添加一个列(col4)。
In the first example, you add a column (col4) into replicate table testtab in the testdb database.
在第一个示例中,您将一个列(col4)添加到数据库testdb中的复制表testtab中。
But be careful with this tactic; you do not want to replicate a table in an index by including all of the table's columns in the index key.
但是要小心使用这一策略;您并不想以在索引键中包含数据表所有列的方式在索引中复制一个表。
应用推荐