Commit Graph

3254 Commits

Author SHA1 Message Date
81fa1b37e8 *: refactor GetSnapshot (#20475)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-10-16 11:30:43 +08:00
afd223c32b ddl: support create list partition table (#20279) 2020-10-15 20:24:24 +08:00
cd16de894b *: introduce LRUCache with limited memory for statistics (#18788) 2020-10-15 17:36:21 +08:00
50f5ddc70e executor,distsql: support multiple physical tables in one table reader (#20404) 2020-10-14 20:05:26 +08:00
5996c5681c *: Support query backoff detail in SLOW_QUERY and add runtime stats columns to STATEMENTS_SUMMARY、SLOW_QUERY (#20300) 2020-10-14 17:27:07 +08:00
79711ad6b8 ddl: support alter sequence (#20405) 2020-10-14 17:06:11 +08:00
3d4016fe46 *: change file mode to 0644 (#20443)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-10-14 16:35:31 +08:00
dcefa58035 *: use global stats & make ddl/feedback/show/export works(part III) (#20271) 2020-10-14 16:11:33 +08:00
Ion
877fa6320b executor: support memory trace for group_concat (#20153) 2020-10-14 14:36:37 +08:00
98f5ca4a8d txn: support Oracle-like serializable isolation (#20265)
Signed-off-by: Tina Fritz <tina77fritz@gmail.com>
2020-10-14 13:46:24 +08:00
bcdb63b258 executor: fix MAX_EXECUTION_TIME doesn't take effect when query INSPECTION_RESULT table (#20375)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-10-13 21:44:31 +08:00
0dd98ea470 executor: fix wrong outer join result when filter outer side using index merge join (#20407) 2020-10-13 17:13:24 +08:00
0ed9f4d050 executor: tiny optimize slow_query performance and add related runtime stats (#20200) 2020-10-13 14:06:09 +08:00
38ecab6a7c *: add gc duration in metric profile (#20379) 2020-10-12 20:48:16 +08:00
875cf6dfbb executor: fix analyze update panic cause by duplicate call analyze executor Close method (#20390) 2020-10-12 20:25:18 +08:00
a8c5532df0 expression: fix schema may change when execute DML statement (#20331) 2020-10-12 12:09:12 +08:00
c704b9756e executor: add runtime information for DML statement in explain analyze (#19106) 2020-10-10 13:34:53 +08:00
789581bf29 parser: disallow subquery without table alias (#19102) 2020-10-09 15:53:40 +08:00
5ad75fd215 ddl, executor: add error for functional index cannot refer to an auto-increment column (#20336)
Signed-off-by: lihaowei <haoweili35@gmail.com>
2020-10-09 08:14:40 +08:00
01fdea7b6c executor: show varchar instead of var_string (#19921) 2020-10-04 17:34:03 +08:00
247a26ec70 util: reset the unused bytes in writeTime (#20284) 2020-10-04 13:36:12 +08:00
170e2fec92 *: collect multiple partitions and store in tidb (part II) (#19899) 2020-09-29 21:25:56 +08:00
c8221fab81 ddl: support column type change between decimal && SQL mode warnings (#20012) 2020-09-29 15:56:35 +08:00
f2d4e47247 distsql: add metrics for coprocessor cache (#19979) 2020-09-29 14:39:23 +08:00
fa81ec51b4 *: refactor sysvars to allow component registration (#20289) 2020-09-29 14:04:24 +08:00
132d9817d7 executor: support partition pruning for IndexJoin inner table (#19990) 2020-09-29 11:08:53 +08:00
17b7b5e815 *: add executor runtime info for explain for connection statement (#19183) 2020-09-27 20:44:11 +08:00
fd0a18a90c types: fix FLOAT data overflow check (#20067) (#20158) 2020-09-27 18:57:42 +08:00
0017a1717e *: fix the bug about the insertRuntimeStat.String() (#20190)
Signed-off-by: jyz0309 <45495947@qq.com>
2020-09-27 18:48:43 +08:00
7e534d98ae executor: fix unstable TestCoprocessorOOMAction (#20238) 2020-09-27 18:43:27 +08:00
486e473a86 session: fix panic when storing outdated plans from plan cache (#19296) 2020-09-27 14:56:02 +08:00
713c2378f6 planner: let SQL BINDING support UNION ALL/INTERSECT/EXCEPT (#20010) 2020-09-27 13:58:37 +08:00
4ff2f926e2 executor, expression: set the evalType of hybrid type as ETInt in VecEvalBool (#20221) 2020-09-27 11:31:16 +08:00
32d86e26c2 *: fix message for duplicate entry error (#20203)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-25 16:10:56 +08:00
47a182f76a executor: fix a bug that the generated column doesn't handle bad null value (#20193)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-09-25 15:57:36 +08:00
10fd834463 executor: fix sort result for batch-point-get by unsigned pk (#20108) 2020-09-24 22:00:08 +08:00
0b7c7167d1 planner,executor: support global index for IndexScan and IndexLookUpReader (#19821) 2020-09-24 20:50:28 +08:00
aceecf0732 executor: support new aggregate funtion APPROX_PERCENTILE (#19799)
Signed-off-by: leiysky <leiysky@outlook.com>
2020-09-24 15:59:38 +08:00
bb354b0c30 *:Record the time consuming of memory operation of Insert Executor in Runtime Information (#19574) 2020-09-23 20:57:40 +08:00
92a04ef024 trace: tee logs to runtime/trace output (#19994) 2020-09-23 18:45:38 +08:00
6271bd472e expression: fix inaccurate error info for year column out of range (#18871) 2020-09-23 15:52:30 +08:00
fd0299f58e *: remove simple rewriter (#19828) 2020-09-23 12:17:53 +08:00
640cb42f54 executor: do not reorder handles when building requests for IndexMergeJoin (#20138) 2020-09-22 15:11:59 +08:00
650515a420 executor: fix data race in test (#20142) 2020-09-22 14:58:38 +08:00
205f02125f executor: add an OOMAction for copIterator to adaptive control the memory usage (#19246) 2020-09-22 14:27:55 +08:00
1d5b724e82 executor: implement meldata for jsonobjectagg funcs to track memUsage (#19819) 2020-09-22 10:42:08 +08:00
91b6d9eedc executor: fix unexpected 'invalid auto-id' error in pessimistic txn retry (#20123) 2020-09-22 10:21:41 +08:00
4ec101d7e3 planner: support parentheses change precedence for set operators (#18968) 2020-09-21 13:06:10 +08:00
0e4b809cad *: remove expression index out of the experiment feature (#19998)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-09-18 13:25:37 +08:00
0684dba6c8 util/ranger: extract multi-column DNF conditions as access conditions (#19211) 2020-09-17 20:08:34 +08:00