TiDB is a distributed NewSQL database compatible with MySQL protocol
Go Yacc Other
Latest commit 0d97442 Jan 21, 2017 @coocood coocood committed with shenli *: slow log and metrics includes execute prepared statement. (#2512)
Execute prepared statement was ignored in slow query log and query metrics.
Permalink
Failed to load latest commit information.
.github *: update ISSUE_TEMPLATE (#2131) Nov 29, 2016
LICENSES *: Tiny cleanup (#1145) Apr 23, 2016
_vendor/src store/tikv: handle RaftEntryTooLarge error. (#2425) Jan 9, 2017
ast *: slow log and metrics includes execute prepared statement. (#2512) Jan 21, 2017
cmd benchdb: support specify a sql query to run. (#2395) Jan 5, 2017
context *: concurrently begin a transaction and compile (#2393) Jan 5, 2017
ddl ddl: Fix error format and clean up error trace. (#2500) Jan 18, 2017
distsql distsql, store/tikv: refine metrics. (#2460) Jan 15, 2017
docs Remove unmaintained storage engine (#2372) Jan 3, 2017
domain tidb: session retry metrics (#2419) Jan 9, 2017
executor *: slow log and metrics includes execute prepared statement. (#2512) Jan 21, 2017
expression *: fixed a mistake whileing adding sqrt math func (#2513) Jan 19, 2017
infoschema *: Support the statement of `rename table` (#2444) Jan 14, 2017
inspectkv *: refactor `context.Context` (#2298) Dec 23, 2016
kv *: Clean up error trace (#2475) Jan 16, 2017
meta *: remove a useless argument (#2319) Dec 25, 2016
model *: Support the statement of `rename table` (#2444) Jan 14, 2017
mysql *: Fix the wrong error message and fix missing type (#2431) Jan 10, 2017
parser parser: tiny clean up (#2504) Jan 20, 2017
perfschema Revert "*: run a bootstrap session before store is ready" (#2490) Jan 17, 2017
plan plan: change distinct to aggregation. (#2515) Jan 20, 2017
privilege Revert "*: run a bootstrap session before store is ready" (#2490) Jan 17, 2017
server *: slow log and metrics includes execute prepared statement. (#2512) Jan 21, 2017
sessionctx Revert "*: run a bootstrap session before store is ready" (#2490) Jan 17, 2017
store Revert "*: run a bootstrap session before store is ready" (#2490) Jan 17, 2017
structure *: Set custom verbose flag to true (#1956) Nov 5, 2016
table Revert "*: run a bootstrap session before store is ready" (#2490) Jan 17, 2017
tablecodec util/time: ToPackedUint would return error for invalid timestamp (#2190) Dec 12, 2016
terror *: Add a function GenByArgs for Error (#2033) Nov 27, 2016
tidb-server Revert "*: run a bootstrap session before store is ready" (#2490) Jan 17, 2017
util util/filesort: sort rows using file sort. (#2377) Jan 14, 2017
.dockerignore Dockerfile: Fix error while running `make server` (#1361) Jun 30, 2016
.gitignore *: Set custom verbose flag to true (#1956) Nov 5, 2016
.travis.yml Remove go 1.6 from CI (#1884) Oct 27, 2016
CONTRIBUTING.md update the link inside CONTRIBUTING Jan 15, 2016
Dockerfile Makefile: Change make server to make, Change make to make dev (#1517) Jul 29, 2016
LICENSE *: Tiny cleanup (#1145) Apr 23, 2016
Makefile Makefile: avoid generate parser.go everytime (#2281) Dec 20, 2016
README.md Update README.md (#2392) Jan 4, 2017
bench_test.go plan: cut unuseful search branch to improve performence. (#2124) Nov 29, 2016
bootstrap.go sessionctx/varsutil: refactor system variable (#2359) Jan 3, 2017
bootstrap_test.go Revert "*: run a bootstrap session before store is ready" (#2490) Jan 17, 2017
circle.yml ci: Add circleci (#2154) Dec 2, 2016
gitcookie.sh server: Add metrics (#1729) Sep 17, 2016
glide.lock store/tikv: handle RaftEntryTooLarge error. (#2425) Jan 9, 2017
glide.yaml store/tikv: handle RaftEntryTooLarge error. (#2425) Jan 9, 2017
make.cmd parser: address comment. Nov 5, 2015
metrics.go tidb: session retry metrics (#2419) Jan 9, 2017
session.go session: fix output format (#2514) Jan 20, 2017
session_test.go Revert "*: run a bootstrap session before store is ready" (#2490) Jan 17, 2017
tidb.go executor: optimize delete statement. (#2421) Jan 10, 2017
tidb_test.go Revert "*: run a bootstrap session before store is ready" (#2490) Jan 17, 2017

README.md

Build Status Go Report Card Project Status CircleCI Status

What is TiDB?

TiDB (The pronunciation is: /'taɪdiːbi:/ tai-D-B, etymology: titanium) is a distributed SQL database. Inspired by the design of Google F1, TiDB supports the best features of both traditional RDBMS and NoSQL.

  • Horizontal scalability
    Grow TiDB as your business grows. You can increase the capacity simply by adding more machines.

  • Asynchronous schema changes
    Evolve TiDB schemas as your requirement evolves. You can add new columns and indices without stopping or affecting the on-going operations.

  • Consistent distributed transactions
    Think of TiDB as a single-machine RDBMS. You can start a transaction that crosses multiple machines without worrying about consistency. TiDB makes your application code simple and robust.

  • Compatible with MySQL protocol
    Use TiDB as MySQL. You can replace MySQL with TiDB to power your application without changing a single line of code in most cases.

  • Written in Go
    Enjoy TiDB as much as we love Go. We believe Go code is both easy and enjoyable to work with. Go makes us improve TiDB fast and makes it easy to dive into the codebase.

  • NewSQL over TiKV
    Turn TiKV into NewSQL database.

  • Multiple storage engine support
    Power TiDB with your most favorite engines. TiDB supports many popular storage engines in single-machine mode. You can choose from GolevelDB, LevelDB, RocksDB, LMDB, BoltDB and even more to come.

For more details, read our blog How we build TiDB

Roadmap

Read the Roadmap.

Quick start

Read the Quick Start.

Documentation

Architecture

architecture

Contributing

Contributions are welcomed and greatly appreciated. See CONTRIBUTING.md for details on submitting patches and the contribution workflow.

Follow us

Twitter

@PingCAP

Mailing list

tidb-user@googlegroups.com

Google Group

License

TiDB is under the Apache 2.0 license. See the LICENSE file for details.

Acknowledgments