Commit Graph

2538 Commits

Author SHA1 Message Date
2f926df501 executor: add diagnosis rule to detect cluster critical errors (#14743) 2020-02-13 19:34:04 +08:00
a4e8341add executor: fix offset of outerMatchStatus for outer hash join (#14773) 2020-02-13 18:57:04 +08:00
007c0e6656 *: support default expression value for sequence (#14589) 2020-02-13 18:50:33 +08:00
114405e114 executor: inline projection for hash join (#14682) 2020-02-13 18:44:33 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
5c4f457580 executor: remove dead code about Cacheable function call (#14740) 2020-02-12 22:05:11 +08:00
fa04a3218d *: add privilege check for slow_query and cluster memory table (#14451) 2020-02-12 18:28:44 +08:00
23ce3b29c9 rowcodec: make TypeYear's decodeDatum result consist with insert datum (#14717) 2020-02-12 14:56:59 +08:00
be434ba101 executor: fix admin show ddl jobs end time bug when job is not finished (#14738) 2020-02-12 11:27:33 +08:00
74c6095670 infoschema: add metrics_tables that contain all metrics tables definition (#14721) 2020-02-12 01:18:09 +08:00
7ecb7e6f48 infoschema: add metrics_summary_by_label table to query all detail metrics (#14663) 2020-02-11 14:08:11 +08:00
0f7a3e838c executor: fix hash join panic after killing (#14712) 2020-02-11 10:15:34 +08:00
750583c665 *: use iterator in show ddl jobs to avoid oom when there is too many history ddl jobs. (#12472) 2020-02-10 22:56:05 +08:00
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