goInception extension of the usage of Inception, to specify the remote server by adding annotations before the SQL review, and for distinguishing SQL and review adding special comments at the beginning and the end of SQL.
How many DML operations can be included in each transaction. >1 means turn on transaction.
fingerprint v0.6.2
FALSE
bool
SQL fingerprint for similar DML. reuses the explanation, decreases explain operations, speed review.
masking v1.2.5
FALSE
bool
The new version of print SQL syntax tree, return JSON format result。More(opens new window)
query-print v0.7.1
FALSE
bool
Print the SQL syntax map
split v0.9.1
FALSE
bool
Split DDL and DML on the same table. But other option unavailable such as review, execute,backup,print sql syntax map. Normally, no need to split, GoInception records table structure snapshot which can be used for binlog translation.
sleep v1.0-rc3
0
int
For decrease the impact to DB service, set sleep time by sleep_rows. Default 0 millisecond, max value is 100000 millisecond, equally 100 second.
sleep_rows v1.0-rc3
1
int
Sleep after how many SQL execute. Default 1.
real_row_count v1.0.3
FALSE
bool
If get real DML effect rows by count(*), default false, if ture, ignore fingerprintSQL, accurately first.
# use ssl=verify_ca setting CA identify# need to put the CA with goInception service on the same server
sql ='''/*--user=test;--password=xxx;--host=127.0.0.1;--port=3333;--check=1;\
--ignore-warnings=1;--ssl=verify_ca;\
--ssl-ca=/data/mysql/data/ca.pem;\
--ssl-cert=/data/mysql/data/client-cert.pem;\
--ssl-key=/data/mysql/data/client-key.pem;*/
inception_magic_start;
use test_inc;...
inception_magic_commit;