Merge pull request #852 from pingcap/shenli/hbase-dsn

docs: Update hbase docs
This commit is contained in:
Shen Li
2016-01-18 17:19:59 +08:00

View File

@ -62,3 +62,18 @@ tidb> select * from t1;
+----+-------+
2 rows in set (0.00 sec)
tidb>
```
Run TiDB server:
```
make server
cd tidb-server
./tidb-server -store=hbase -path="zkaddrs/hbaseTbl?tso=tsoType" -P=4000
DSN parameters:
zkaddrs is the address of zookeeper.
hbaseTbl is the table in hbase to store TiDB data.
tsoaddr is the type of tso sever. Its value could be zk or local.
Here is an example of dsn:
./tidb-server -store=hbase -path="zk1,zk2/test?tso=zk" -P=5000
```