Commit Graph

1232 Commits

Author SHA1 Message Date
324a4686f0 rowcodec: fix use origin default value when decode (#14327) 2020-01-03 13:39:09 +08:00
0bab73adf5 *: use new row-format in tidb (#12634) 2020-01-02 22:34:39 +08:00
4dfbb14c51 *: tidy code && prealloc some slice for performance (#13468) 2020-01-02 17:26:10 +08:00
5d76de903a server: support tag sql in pprof result (#14312) 2020-01-02 15:51:39 +08:00
1437d7e65b expression: open push down switcher for part of CAST functions (#13837)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-02 11:43:43 +08:00
a487748b46 executor: support merge join on disk (#13946) 2019-12-31 18:49:10 +08:00
fe764a97a3 *: only add union scan when dirty table is not empty (#14265) 2019-12-31 13:20:27 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
c1bc9ffe5b *: add memory tracker for InsertExec and ReplaceExec (#14179) 2019-12-30 11:43:01 +08:00
c994eb4802 license: add license for script files (#14252) 2019-12-28 18:38:13 +08:00
0d7edc7ef3 config: add validation for capacity of prepare plan cache (#14232) 2019-12-27 14:29:09 +08:00
8e88825f55 Tidy build constraints in mathutil (#14257)
- Rename *_js.go to *_wasm.go to satisfy both wasm/js and wasm/wasi
- Use +build instruction instead of *_GOOS pattern to reduce file

Signed-off-by: lucklove <gnu.crazier@gmail.com>
2019-12-26 21:11:13 +08:00
86ae838d5a planner/core: disallow using hidden column in insert statement (#14150) 2019-12-26 16:08:55 +08:00
fd3ada61ca infoschema: add plan field to the statement summary tables (#14182) 2019-12-26 15:04:39 +08:00
8ab14c138f executor: add lockkeys duration in slow log (#14210) 2019-12-24 21:52:09 +08:00
1335ffb6b7 *: support read consistency isolation level in the pessimistic transactions (#14087) 2019-12-24 21:24:39 +08:00
85afb8227e util: remove the optimization in CopySelectedJoinRows() to fix a bug in OuterHashJoin (#14010) 2019-12-24 16:58:39 +08:00
e8c198d235 *: implement the INSPECTION_SCHEMA to provide snapshot of inspection tables (#14147)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-24 11:24:14 +08:00
8666a6f038 util: refine expensive query log during bootstrap (#14181) 2019-12-23 16:46:11 +08:00
db97ad9a03 util: fix compile on windows caused by wasm support (#14183) 2019-12-23 16:04:40 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
fce9870208 ddl,executor: add auto_random column option (#13127) 2019-12-23 14:51:51 +08:00
cd07c4550d *: support certificate based authentication (#13955) 2019-12-23 11:37:29 +08:00
4d4678a4dd types: Fix potential timezone related bugs caused by gotime.Local (#13833) 2019-12-20 22:38:25 +08:00
933715f4a2 infoschema: add metric database/table to query cluster metric via SQL. (#13757) 2019-12-20 16:13:28 +08:00
fcc5dba8a7 infoschema: add 3 fields to statement summary table (#14096) 2019-12-19 21:42:39 +08:00
9f5aca7da1 *: Add binlog prewrite time to record binlog prewrite time consume (#14119) 2019-12-19 11:15:46 +08:00
c39317e890 executor: support turn on/off slow-log by variables (#14016) 2019-12-18 10:48:46 +08:00
438d39ebcd *: revert #10124 and remove sql mode PadCharToFullLength (#14007) 2019-12-17 15:25:06 +08:00
7262383c88 infoschema,planner: implement the CLUSTER_LOG memory table predicate push down (#14018)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-16 21:53:45 +08:00
cbf7415873 *: add errcode for structure, tablecodec, admin files (#14054) 2019-12-16 12:07:02 +08:00
b04001b2a5 *: make golint happy #14025 (#14034) 2019-12-12 11:42:58 +08:00
d439a57566 infoschema, util: add table events_statements_summary_by_digest_history (#13813) 2019-12-09 16:11:49 +08:00
b364b89b48 rowcodec: make rowcodec can be used for mocktikv & unistore (#13774) 2019-12-09 14:49:08 +08:00
41c7d7e943 server: set system_time_zone from systemTZ (#13934) 2019-12-09 12:11:19 +08:00
b743208fd7 bindinfo, planner: fix sql bind when sql has symbol list (#13889) 2019-12-07 14:26:08 +08:00
3b3b488a65 *: close tickers properly (#13902) 2019-12-05 13:32:39 +08:00
14e88358f0 planner/cascades: add Implementation for IndexScan and IndexRe… (#13282) 2019-12-04 14:39:48 +08:00
91181d5129 planner: support push predicates down to the memory table (#13821)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-04 14:23:14 +08:00
5b6422df58 *: support read remote TiDB memory table of cluster (#13065) 2019-12-04 13:05:36 +08:00
c5e1302908 planner: support plan digest (#13124) 2019-12-03 21:08:55 +08:00
1de8569bce executor: show back-off details in slow log (#13770) 2019-12-03 06:42:32 -06:00
97a4fae7d2 ddl : support ADMIN REPAIR TABLE to override bad tableInfo in meta & supply a REPAIR MODE for safely restart. (#12046) 2019-12-03 13:50:26 +08:00
5a589c9994 planner: consider disk cost in hashJoin (#13246) 2019-12-03 13:43:19 +08:00
8fab2548d0 executor: show operators' disk consumption in results of EXPLAIN ANALYZE (#13764) 2019-12-02 17:04:29 +08:00
d438c860a6 perfschema: support retrieve CPU/memory/mutex/block/allocs profile from PD via SQL (#13717)
Signed-off-by: Lonng <heng@lonng.org>
2019-11-29 15:35:18 +08:00
18fbe2d483 infoschema, util: refresh statement summary table periodically (#13680) 2019-11-28 15:39:22 +08:00
6d98d8593e perfschema: support retrieve TiKV CPU profile via SQL (#13711) 2019-11-28 15:33:53 +08:00
6a59557500 executor: show operators' concurrency information in results of EXPLAIN ANALYZE (#13539) 2019-11-27 16:46:25 +08:00
e979cff6bb planner: add column mapping in explain result (#13640) 2019-11-27 16:39:19 +08:00