Commit Graph

1422 Commits

Author SHA1 Message Date
f0e5876353 util/execdetails: refactor execdetails information of runtime collect (#18530) 2020-07-15 20:05:29 +08:00
761a961ba0 kv: refactor MemBuffer and reduce the memory usage (#18372) 2020-07-15 15:26:25 +08:00
8a6554a21f telemetry: disable telemetry by default for non-community edition (#18524)
Signed-off-by: Zheng Xiangsheng <hundundm@gmail.com>
2020-07-15 11:37:36 +08:00
b12f94b967 executor: fix mislead inconsistent log after Context.Cancel (#18537) 2020-07-14 20:21:41 +08:00
a6971dd685 *: support 'admin check table' on clustered index table (#18346) 2020-07-14 15:59:37 +08:00
009c11254d expression: add header for tidb_decode_plan result (#18440) 2020-07-13 13:57:37 +08:00
b13fdb7bce *: make test more TestSortInDisk stable (#18424) 2020-07-13 11:51:55 +08:00
b178de06ad executor: Trace the memory usage of AggFunc in HashAggExec (#18257) 2020-07-06 20:48:41 +08:00
a9177fe846 util/memory: avoid potential deadlock for Consume in remove (#16987) 2020-07-06 19:28:12 +08:00
a5829ae5e6 coprocessor: Exceed action for copiterator (#17324) 2020-07-06 18:57:29 +08:00
906f18f7bf util: make one SortedRowContainer is spilling at the same time. (#18307)
* fix

* fix

* fix

* fix

* fix

* fix

* add comments

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-06 15:00:38 +08:00
cc60ac6bef tests: fix several stability issues (#18286)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-03 10:33:30 +08:00
daad2699dd *: support clustered index for index join (#18204) 2020-07-01 16:15:51 +08:00
9d9f330a4b executor, util: fix spilling disk when oom. (#16895) 2020-06-30 16:32:14 +08:00
3f6f36f742 *: refactor table.IterRecord and extract some methods (#18214)
* *: refactor table.IterRecord and extract some methods

* fix ci test

* fix ci test

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-06-29 09:24:34 +08:00
127ad504b2 table: optimize add record used in lightning (#18102) 2020-06-24 15:18:01 +08:00
7daa4a7f88 *: fix bugs that creating index on clustered index table or table with the virtual generated column (#18114) 2020-06-19 19:58:37 +08:00
63c0ef8e5d planner: save explain result of plan in session for `explai ... (#17687) 2020-06-19 14:07:53 +08:00
c2c02cde4b *: support record kv/pd time for a SQL statement (#17591) 2020-06-18 21:17:48 +08:00
7c4904903d planner: fix plan cache statistic result. (#18067) 2020-06-18 14:08:17 +08:00
ad598e431a executor: add the cache for apply executor (#17039) 2020-06-17 21:24:12 +08:00
b59cb1a94d planner, session, util: support Insert hint (#16966) 2020-06-17 15:56:01 +08:00
fa551115e6 *: fix update bug in cluster index (#18045) 2020-06-16 17:06:26 +08:00
6c305e2a49 ddl: apply common handle to index reorganization (#17906) 2020-06-16 09:52:39 +08:00
a8da23c254 test: fix data race caused by update global config (#17964)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-12 13:05:27 +08:00
a689df0416 planner, util: new unfixed mutrow for TypeNull (#17893)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
2020-06-11 10:50:48 +08:00
f12cdc4201 config: remove allow-auto-random config option (#16596) 2020-06-10 14:09:12 +08:00
f82bd008d4 ddl: correct the usage of json.Unmarshal in job.DecodeArgs (#17857)
* ddl: correct the usage of json.Unmarshal in job.DecodeArgs

* update parser

Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-10 11:00:54 +08:00
05b2e2bdcc *: refactor Execute() and clean up code (#17678)
- implement Execute using ExecuteStmt
- Execute is only for internal usage and accept only one statement
- clean up the old execute function
2020-06-09 13:58:39 +08:00
36ea109b83 *: record execute runtime information in slow log (#17573) 2020-06-09 12:16:47 +08:00
f9189cfa93 util/chunk: Remove outdated comment about Time (#17822) 2020-06-07 22:56:13 +08:00
d66d5028da *: support plain insert on cluster index table (#17674) 2020-06-05 13:23:43 +08:00
9e16c59ef0 privileges: support require SAN (#17539) 2020-06-05 11:24:43 +08:00
3a4e733af6 test: fix testleak in TestIntegration (#17667)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-06-04 17:34:49 +08:00
1758f86de6 util: support clustered index for table scan (#17616) 2020-06-03 20:17:13 +08:00
552e7709de *: refactor decoder to avoid useless fieldType convert (#17632) 2020-06-03 18:13:56 +08:00
f030db5111 plancodec: add test for plan id to avoid change the plan id. (#17385) 2020-06-02 18:56:57 +08:00
709691607d expensivequery: fix the issue that max_exec_time hint doesn't work if it exceeds the expensive-threshold (#17359) 2020-05-29 19:07:34 +08:00
777907bcee planner: push agg below partition union all by default (#17262) 2020-05-28 18:11:13 +08:00
b5bb0090e7 *: fix LIKE expressions with _ following % (#17418) 2020-05-28 15:05:10 +08:00
572bba0499 *: Update Apache Arrow memory layout document link (#17047) 2020-05-27 11:04:57 +08:00
55d9d6ca1e sessionctx,infoschema,executor,util: Show disk usage of a query in slow query and statement summary (#17132) 2020-05-26 22:03:40 +08:00
72a789a247 planner, infoschema : add columns about plan cache in 'performance_schema.events_statements_summary_by_digest' (#16476) 2020-05-26 13:10:02 +08:00
0d95b09e8a executor: Remove unnecessary information in explain analyze output (#16248) 2020-05-21 19:26:00 +08:00
3176b00c02 executor: fix the issue that UNIQUE constraint on boolean column results in an incorrect result in a comparison (#17245) 2020-05-20 13:55:18 +08:00
4a67c3a43c *: fix setHeapProfileTracker panic on Windows (#17226) 2020-05-18 22:16:45 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00
51015c1c21 *: fix the way to use recover in ddl, and unify using recover in domain and ddl (#16798) 2020-05-18 13:23:47 +08:00
1417ba2288 *: fix a bug that don't handle truncate properly for virtual generated column (#17217) 2020-05-14 20:57:55 +08:00
5f867c5b44 test: fix profile recorder test (#17199) 2020-05-14 16:56:52 +08:00