gh-ost/go/logic
twotwotwo afa108f8fa
inspect: remove redundant join conditions
The TABLE_SCHEMA and TABLE_NAME are already guaranteed to have the same value in COLUMNS and UNIQUES because of the WHEREs in each query. Dropping it from the ON clause makes it complete much faster.

On (at least) MySQL 5.6 installs with thousands of tables, this query completes in a few seconds without the additional join conditions, but takes more than a minute with it.
2019-01-22 12:26:55 -08:00
..
applier.go Support for GCP (Google Cloud Platform) 2018-09-02 09:51:40 +03:00
hooks.go Populate the env with dry run status 2018-09-18 14:41:26 +10:00
inspect.go inspect: remove redundant join conditions 2019-01-22 12:26:55 -08:00
migrator.go Fix to retry logic in row copy 2018-09-20 10:49:21 +03:00
server.go support quoted values in interactive commands 2018-02-25 19:17:37 +02:00
streamer.go Refactor the code and remove the global variable of 2018-03-29 12:20:41 +08:00
throttler.go Pass in a migrationContext UUID for a migration specific connections cache 2017-12-14 15:53:29 -08:00