Commit Graph

4575 Commits

Author SHA1 Message Date
4cfe17854e executor: support show create sequence (#14674) 2020-02-10 18:47:04 +08:00
56438a04cd executor: implement disk/cpu/memory/load diagnosis rules (#14668)
Signed-off-by: Lonng <heng@lonng.org>
2020-02-10 15:36:20 +08:00
c7b43f3c75 executor: fix executor tests for TestFlushPrivilegesPanic and TestSortSpillDisk (#14681) 2020-02-08 01:20:26 +08:00
17da140f15 executor: Improve the performance of WindowExec by using sliding window (#14294) 2020-02-07 18:38:54 +08:00
5c76f58c2e *: remove until timestamp syntax in flashback statement since we not support this (#14604) 2020-02-07 17:58:40 +08:00
87bbe7dcbe types: Fix duration parser (#14588)
Signed-off-by: Iosmanthus Teng <myosmanthustree@gmail.com>
2020-02-07 14:30:44 +08:00
13bf6cc196 executor: implement disk-based sort (Part 2) (#14279) 2020-02-07 09:39:53 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
128ec02a9f test: fix a bug for leak check (#14592) 2020-02-05 14:15:23 +08:00
f2d0e90740 executor: Count the number of hash table collisions and build elapse during Hash Join. (#14423) 2020-02-05 13:37:23 +08:00
72b1f0e7b8 executor: correctly handle panic for hashjoin build phase (#14056) 2020-02-05 12:23:23 +08:00
d20195a3a5 server: add counter for keys locking numbers (#14625) 2020-02-05 10:24:53 +08:00
099782898e rowcodec: fix lose decimal precision during decode new row format to datum (#14631) 2020-02-05 10:10:24 +08:00
ebc6a2d39d *: add builtin aggregate function json_objectagg (#11154) 2020-02-04 21:41:55 +08:00
2192448e50 infoschema/metric_schema: add tikv metric tables (#14498) 2020-02-04 19:11:49 +08:00
7ba002e836 executor, util: improve concurrency of statement summary (#14490) 2020-02-04 17:32:24 +08:00
83ab488481 expression: fix implement of rand (#14565) 2020-02-04 16:38:53 +08:00
cfe0c2025f executor: vectorize the merge join executor by vecGroupChecker (#14458) 2020-02-04 15:41:24 +08:00
e79b71dc97 infoschema: add metric_summary table to query all summary metrics. (#14520) 2020-02-04 14:37:53 +08:00
c562ab4734 metrics: add statement pessimistic retry count (#14527) 2020-02-04 14:19:23 +08:00
b53d253802 executor: merge overlapped ranges when build key ranges for indexJoin (#14596) 2020-02-03 17:55:53 +08:00
9e97091de4 executor: add privilege check for show bindings (#14443) 2020-02-03 15:16:54 +08:00
9d38c5467a *: use 8 byte MysqlTime format (#14278) 2020-01-31 14:49:06 +08:00
e4eb58c86d executor: grant table level privilege should check table exist (#14540) 2020-01-30 11:57:23 +08:00
c2da4eafd7 planner: Fix SMJ hint, support SMJ with descending order. (#14505) 2020-01-25 10:10:10 +08:00
b25c82452f ddl: support drop sequence in TiDB (#14442) 2020-01-20 15:49:04 +08:00
501757951d test: speed up TestVectorizedMergeJoin by removing some test cases (#14535) 2020-01-19 16:18:03 +08:00
cf77e5f83f executor: add vectorized merge join test (#14519) 2020-01-18 20:54:08 -06:00
00ef8b6b92 expression, executor: correct the funcName for wrapWithIsTrue (#14515) 2020-01-17 17:12:50 +08:00
4cf5e7dd42 executor: fix error when set names default (#14511) 2020-01-17 16:24:20 +08:00
74bc00dfa9 Improve the performance of WindowExec by using multi-thread hash grouping (#14238) 2020-01-16 21:04:16 +08:00
3fa7b927fd test: fix shard row id bits test (#14489) 2020-01-16 20:03:20 +08:00
1f997a5528 metrics: add statement deadlock detect duration (#14444) 2020-01-15 17:41:21 +08:00
1e9f90853f executor: add check data visibility for point get (#14459)
* fix misinformation of `inconsistent extra index ...` on point-get.
2020-01-15 10:39:55 +08:00
562a448b7d session,executor: fix transaction lazy initialization in pessimistic mode (#14446) 2020-01-14 16:48:05 +08:00
2dcc032bc3 Makefile: add staticcheck (#14420) 2020-01-10 14:59:43 +08:00
b6aca51d52 plan, partition: support point get plan on hash partition table (#14318) 2020-01-10 10:23:29 +08:00
4ed347cff8 planner,session: add Reload and File privilege, check Reload for the flush statement (#14319) 2020-01-09 19:59:12 +08:00
ff096ee2cf ddl : support create sequence in TiDB. (#14112) 2020-01-09 19:38:14 +08:00
3f7df9702f *: support stream when read cluster memory table. (#14344) 2020-01-09 15:54:58 +08:00
5daff78c2d executor: optimize unit test by unset some serial test suites (#14354) 2020-01-09 15:42:53 +08:00
5a9f2fa5ab server, tikv: enable unit test run parallel and add parallel f… (#14296) 2020-01-09 15:12:45 +08:00
c48d5635f9 *: replace conf item pprof_sql_cpu with srv var tidb_pprof_sql_cpu (#14385) 2020-01-09 13:23:09 +08:00
7881e4a75c information: refactor metric schema and add more metric table. (#14255) 2020-01-08 11:05:11 +08:00
870d4b19c8 *: support auto_increment_increment & auto_increment_offset. (#14301) 2020-01-08 10:18:39 +08:00
86ff21b076 *: add builtin aggregate function VAR_POP (#14101) 2020-01-07 20:55:29 +08:00
40a6be1a82 bindinfo: handle statement hints in bindings (#14248) 2020-01-07 14:18:46 +08:00
9bf17e6c9e executor: fix wrong behavior when ENUM column meet Aggregati… (#14035) 2020-01-07 11:26:26 +08:00
f036eecc9d ddl: support create/drop expression index (#14117) 2020-01-07 10:29:39 +08:00
39ed9f326a executor: Speed up unit tests (#14357) 2020-01-06 21:20:09 +08:00