You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/bash
host="172.16.5.113"
user="root"
port="4000"
db="cdc_bench"
table="sbtest1"
N=20
start=0
for i in $(seq 1 $N); do
end=$(( 1100000 + start))
mysql -h$host -u$user -P$port -e "split table $db.$table between ($start) and ($end) regions 1000"
start=$end
done