Created
July 27, 2016 03:43
-
-
Save c4pt0r/f1eebde798352e60528ac96f2a9b4441 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./pd-server --cluster-id=1 --host=127.0.0.1 --min-capacity-used-ratio 0.01 --name=pd --data-dir=../data/pd --initial-cluster=pd=http://127.0.0.1:2380 | |
./tikv-server -S raftkv --addr 127.0.0.1:5551 --etcd 127.0.0.1:2379 -s ../data/data1 --cluster-id 1 --capacity 1GB -C ../etc/tikv-conf.toml | |
./tikv-server -S raftkv --addr 127.0.0.1:5552 --etcd 127.0.0.1:2379 -s ../data/data2 --cluster-id 1 --capacity 1GB -C ../etc/tikv-conf.toml | |
./tikv-server -S raftkv --addr 127.0.0.1:5553 --etcd 127.0.0.1:2379 -s ../data/data3 --cluster-id 1 --capacity 1GB -C ../etc/tikv-conf.toml | |
./tikv-server -S raftkv --addr 127.0.0.1:5554 --etcd 127.0.0.1:2379 -s ../data/data4 --cluster-id 1 --capacity 1GB -C ../etc/tikv-conf.toml | |
./tidb-server --store=tikv '--path=127.0.0.1:2379/pd?cluster=1' -lease 1 -P 3306 -L info | |
du -h | grep "data[0-9]$" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sysbench --test=./lua-tests/db/oltp.lua --mysql-host=127.0.0.1 --mysql-port=3306 --mysql-user=root --mysql-password="" --oltp-tables-count=1 --oltp-table-size=1000000 --rand-init=on prepare