TiDB v5.4 Documentationfiles requires approximately 3GB of disk space. To download all files for years 2010-2017 using a bash script: mkdir -p bikeshare-data && cd bikeshare-data curl -L --remote-name-all https://s3.amazonaws import files individually using the example LOAD DATA command here, or import all files using the bash loop below: SET tidb_dml_batch_size = 20000; LOAD DATA LOCAL INFILE '2017Q1-capitalbikeshare-tripdata start the MySQL client, use the --local-infile=1 option. To import all *.csv files into TiDB in a bash loop: for FILE in *.csv; do echo "== $FILE ==" 112 mysql bikeshare --local-infile=1 -e "SET tidb_dml_batch_size0 码力 | 3650 页 | 52.72 MB | 1 年前3
TiDB v6.1 Documentationfiles requires approximately 3GB of disk space. To download all files for years 2010-2017 using a bash script: mkdir -p bikeshare-data && cd bikeshare-data curl -L --remote-name-all https://s3.amazonaws import files individually using the example LOAD DATA command here, or import all files using the bash loop below: SET tidb_dml_batch_size = 20000; LOAD DATA LOCAL INFILE '2017Q1-capitalbikeshare-tripdata start the MySQL client, use the --local-infile=1 option. To import all *.csv files into TiDB in a bash loop: for FILE in *.csv; do echo "== $FILE ==" mysql bikeshare --local-infile=1 -e "SET tidb_dml_batch_size0 码力 | 4487 页 | 84.44 MB | 1 年前3
TiDB v7.6 Documentationfiles requires approximately 3GB of disk space. To download all files for years 2010-2017 using a bash script: mkdir -p bikeshare-data && cd bikeshare-data curl -L --remote-name-all https://s3.amazonaws import files individually using the example LOAD DATA command here, or import all files using the bash loop below: 124 LOAD DATA LOCAL INFILE '2017Q1-capitalbikeshare-tripdata.csv' INTO TABLE �→ trips start the MySQL client, use the --local-infile=1 option. To import all *.csv files into TiDB in a bash loop: for FILE in *.csv; do echo "== $FILE ==" mysql bikeshare --local-infile=1 -e "LOAD DATA LOCAL0 码力 | 6123 页 | 107.24 MB | 1 年前3
TiDB v7.5 Documentationfiles requires approximately 3GB of disk space. To download all files for years 2010-2017 using a bash script: mkdir -p bikeshare-data && cd bikeshare-data curl -L --remote-name-all https://s3.amazonaws import files individually using the example LOAD DATA command here, or import all files using the bash loop below: LOAD DATA LOCAL INFILE '2017Q1-capitalbikeshare-tripdata.csv' INTO TABLE �→ trips FIELDS start the MySQL client, use the --local-infile=1 option. To import all *.csv files into TiDB in a bash loop: for FILE in *.csv; do echo "== $FILE ==" 112 mysql bikeshare --local-infile=1 -e "LOAD DATA0 码力 | 6020 页 | 106.82 MB | 1 年前3
TiDB v6.5 Documentationfiles requires approximately 3GB of disk space. To download all files for years 2010-2017 using a bash script: mkdir -p bikeshare-data && cd bikeshare-data curl -L --remote-name-all https://s3.amazonaws import files individually using the example LOAD DATA command here, or import all files using the bash loop below: SET tidb_dml_batch_size = 20000; LOAD DATA LOCAL INFILE '2017Q1-capitalbikeshare-tripdata start the MySQL client, use the --local-infile=1 option. To import all *.csv files into TiDB in a bash loop: for FILE in *.csv; do echo "== $FILE ==" mysql bikeshare --local-infile=1 -e "SET tidb_dml_batch_size0 码力 | 5282 页 | 99.69 MB | 1 年前3
TiDB v5.4 中文手册| sh 安装完成后会提示如下信息: Successfully set mirror to https://tiup-mirrors.pingcap.com Detected shell: bash Shell profile: /home/user/.bashrc /home/user/.bashrc has been modified to add tiup to PATH open https://tiup-mirrors.pingcap.com/install.sh | sh 2. 按如下步骤设置 TiUP 环境变量: 1. 重新声明全局环境变量: shell source .bash_profile 2. 确认 TiUP 工具是否安装: which tiup 3. 安装 TiUP cluster 组件: tiup cluster 4. 如果已经安装,则更新 TiUP '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh 2. 重新声明全局环境变量: source .bash_profile 3. 确认 TiUP 工具是否安装: which tiup 2. 使用 TiUP 制作离线镜像 1. 在一台和外网相通的机器上拉取需要的组件: tiup mirror clone0 码力 | 2852 页 | 52.59 MB | 1 年前3
TiDB v7.1 Documentationfiles requires approximately 3GB of disk space. To download all files for years 2010-2017 using a bash script: mkdir -p bikeshare-data && cd bikeshare-data curl -L --remote-name-all https://s3.amazonaws import files individually using the example LOAD DATA command here, or import all files using the bash loop below: LOAD DATA LOCAL INFILE '2017Q1-capitalbikeshare-tripdata.csv' INTO TABLE �→ trips FIELDS start the MySQL client, use the --local-infile=1 option. To import all *.csv files into TiDB in a bash loop: for FILE in *.csv; do echo "== $FILE ==" 132 mysql bikeshare --local-infile=1 -e "LOAD DATA0 码力 | 5716 页 | 104.74 MB | 1 年前3
TiDB v6.1 中文手册| sh 安装完成后会提示如下信息: Successfully set mirror to https://tiup-mirrors.pingcap.com Detected shell: bash Shell profile: /home/user/.bashrc /home/user/.bashrc has been modified to add tiup to PATH open mysql-client: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install. �→ sh)" brew install python mysql-client curl -fsSL https://get.docker.com | bash -s docker yum 文件夹中找到 mysql.exe。你需要将该 bin 文件夹的路径添加到系统变量中, 并在 Git Bash 中将其设置到 PATH 变量中。 echo 'export PATH="(your bin folder)":$PATH' >>~/.bash_profile source ~/.bash_profile 例如: echo 'export PATH="/c/Program Files0 码力 | 3572 页 | 84.36 MB | 1 年前3
TiDB v8.1 Documentationfiles requires approximately 3GB of disk space. To download all files for years 2010-2017 using a bash script: mkdir -p bikeshare-data && cd bikeshare-data curl -L --remote-name-all https://s3.amazonaws import files individually using the example LOAD DATA command here, or import all files using the bash loop below: LOAD DATA LOCAL INFILE '2017Q1-capitalbikeshare-tripdata.csv' INTO TABLE �→ trips FIELDS start the MySQL client, use the --local-infile=1 option. To import all *.csv files into TiDB in a bash loop: for FILE in *.csv; do echo "== $FILE ==" 111 mysql bikeshare --local-infile=1 -e "LOAD DATA0 码力 | 6321 页 | 107.46 MB | 1 年前3
TiDB v8.0 Documentationfiles requires approximately 3GB of disk space. To download all files for years 2010-2017 using a bash script: mkdir -p bikeshare-data && cd bikeshare-data curl -L --remote-name-all https://s3.amazonaws import files individually using the example LOAD DATA command here, or import all files using the bash loop below: LOAD DATA LOCAL INFILE '2017Q1-capitalbikeshare-tripdata.csv' INTO TABLE �→ trips FIELDS start the MySQL client, use the --local-infile=1 option. To import all *.csv files into TiDB in a bash loop: for FILE in *.csv; do echo "== $FILE ==" 140 mysql bikeshare --local-infile=1 -e "LOAD DATA0 码力 | 6327 页 | 107.55 MB | 1 年前3
共 32 条
- 1
- 2
- 3
- 4













