Skip to content

Commit 7d31346

Browse files
author
Gillian Gunson
authored
unified spacing of notes through page
1 parent 6c0d7d1 commit 7d31346

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

doc/requirements-and-limitations.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,29 @@ The `SUPER` privilege is required for `STOP SLAVE`, `START SLAVE` operations. Th
1717

1818
- Switching your `binlog_format` to `ROW`, in the case where it is _not_ `ROW` and you explicitly specified `--switch-to-rbr`
1919
- If your replication is already in RBR (`binlog_format=ROW`) you can specify `--assume-rbr` to avoid the `STOP SLAVE/START SLAVE` operations, hence no need for `SUPER`.
20+
2021
- Running `--test-on-replica`: before the cut-over phase, `gh-ost` stops replication so that you can compare the two tables and satisfy that the migration is sound.
2122

2223
### Limitations
2324

2425
- Foreign keys not supported. They may be supported in the future, to some extent.
26+
2527
- Triggers are not supported. They may be supported in the future.
28+
2629
- MySQL 5.7 generated columns are not supported. They may be supported in the future.
30+
2731
- The two _before_ & _after_ tables must share some `UNIQUE KEY`. Such key would be used by `gh-ost` to iterate the table.
2832
- As an example, if your table has a single `UNIQUE KEY` and no `PRIMARY KEY`, and you wish to replace it with a `PRIMARY KEY`, you will need two migrations: one to add the `PRIMARY KEY` (this migration will use the existing `UNIQUE KEY`), another to drop the now redundant `UNIQUE KEY` (this migration will use the `PRIMARY KEY`).
33+
2934
- The chosen migration key must not include columns with `NULL` values.
3035
- `gh-ost` will do its best to pick a migration key with non-nullable columns. It will by default refuse a migration where the only possible `UNIQUE KEY` includes nullable-columns. You may override this refusal via `--allow-nullable-unique-key` but **you must** be sure there are no actual `NULL` values in those columns. Such `NULL` values would cause a data integrity problem and potentially a corrupted migration.
36+
3137
- It is not allowed to migrate a table where another table exists with same name and different upper/lower case.
3238
- For example, you may not migrate `MyTable` if another table called `MYtable` exists in the same schema.
39+
3340
- Amazon RDS and Google Cloud SQL are currently not supported
3441
- We began working towards removing this limitation. See tracking issue: https://github.com/github/gh-ost/issues/163
42+
3543
- Multisource is not supported when migrating via replica. It _should_ work (but never tested) when connecting directly to master (`--allow-on-master`)
44+
3645
- Master-master setup is only supported in active-passive setup. Active-active (where table is being written to on both masters concurrently) is unsupported. It may be supported in the future.

0 commit comments

Comments
 (0)