xelabs / go-mydumper

A multi-threaded MySQL backup and restore tool, faster than mysqldump
GNU General Public License v3.0
346 stars 100 forks source link

Does it support where condition? #25

Closed jmbkeyes closed 4 years ago

jmbkeyes commented 4 years ago

for large tables(more than 10 million records), can it only dump records which meets expected condition?

BohuTANG commented 4 years ago

See https://github.com/xelabs/go-mydumper/blob/master/conf/mydumper.ini.sample#L20

jmbkeyes commented 4 years ago

ok, it supports via reading config files. does it support in shell command directly (e.g. /bin/mydumper -where)?

BohuTANG commented 4 years ago

No

jmbkeyes commented 4 years ago

It still requires go runtime after making build, right?

BohuTANG commented 4 years ago

It still requires go runtime after making build, right?

After make build, can be run anywhere, it's golang.

jmbkeyes commented 4 years ago

Oh, I meens that it can be run on the machine which does not install golang runtime?

BohuTANG commented 4 years ago

Yes, golang is a statically typed, compiled programming language

jmbkeyes commented 4 years ago

thanks for quick response.