TiDB-Lightning is a tool used for importing data at TB scale to TiDB clusters.
Import Into Statement is used to import data files or result from select statement into an empty table in TiDB via the Physical Import Mode of TiDB Lightning.
To build binary:
$ cd ../tidb
$ make build_lightning
Notice TiDB-Lightning supports building with Go version Go >= 1.16
When TiDB-Lightning is built successfully, you can find binary in the bin
directory.
See this document for how to run integration tests.
See Quick Start for TiDB Lightning.
Contributions are welcomed and greatly appreciated. See CONTRIBUTING for details on submitting patches and the contribution workflow.
TiDB-Lightning is under the Apache 2.0 license. See the LICENSE file for details.