Commit Graph

1569 Commits

Author SHA1 Message Date
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
03f385de5f planner/core: use constant propagate before predicates push down (#21061) 2020-12-08 16:32:32 +08:00
6e7a15a2d0 planner : fix unsigned_decimal_col=-int_cnst access index (#21198) 2020-12-08 14:37:49 +08:00
fc37586491 *: refactor function ExecRestrictedSQLWithContext to fix a DATA RACE (#21461) 2020-12-04 14:28:38 +08:00
22e5ebd310 *: use the Local TSO to update ForUpdateTS (#21490)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2020-12-04 13:41:47 +08:00
43cccbb72f *: dispatch the local and global transactions (#21353)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2020-12-04 10:34:48 +08:00
c218c58218 *: support select from tablesample (#20883) 2020-12-03 16:46:18 +08:00
567f364f42 ddl: Convert ddl types automatically according to length (#20652) 2020-12-03 12:03:48 +08:00
67f83a4d3a util/hint: fix ineffective index hint for delete / update in SQL Bind (#21104) 2020-11-30 17:29:59 +08:00
29a83c2cd8 executor hptc ycsb-worloade: Make use of AppendRows in all cases (#21163) 2020-11-29 16:21:00 +08:00
b204df7051 executor: Implement AppendRows for Chunk (#21057) 2020-11-28 15:14:59 +08:00
32d19b78e1 *: refine runtime stats display and tiny bug fix for metrics (#21022)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-26 16:35:25 +08:00
ceefbf1591 executor: Add the HashAggExec runtime information (#20577) 2020-11-25 21:56:52 +08:00
4dfb172d9a errno: show column name in redacted duplicate entry error (#21261) 2020-11-25 21:39:23 +08:00
e01f5e41c2 store, session: Introduce system variable to control ratelimit action (#21259) 2020-11-25 20:27:38 +08:00
af58658b63 *: implement priority control for OOM Action (#21170) 2020-11-25 19:44:26 +08:00
06e99582d8 planner: fix incorrect results when using a prefix index with OR condition (#21251) 2020-11-25 14:40:41 +08:00
ceddc106f0 executor,planner/core,util/plancodec: extend executor.ShuffleExec and planner.core.PhysicalShuffle to support multiple data sources (#20942) 2020-11-24 10:59:03 +08:00
2c66371d8b planner, sessionctx : Add 'last_plan_from_binding' to help know whether sql's plan is matched with the hints in the binding (#18017) 2020-11-20 20:43:23 +08:00
92c012c449 log: desensitize of dispatching error and parsing error (#21141) 2020-11-20 15:39:54 +08:00
eca1ce192b util: fix wrong calculation to get memory usage. (#21158) 2020-11-20 11:14:23 +08:00
22feeb4aef executor:Add runtime stat for IndexMergeReaderExecutor (#20653)
Signed-off-by: jyz0309 <45495947@qq.com>
2020-11-19 19:36:54 +08:00
49a1527893 expression: adjust int constant when compare with year type (#21099) 2020-11-19 19:04:53 +08:00
2b363fb80d *: support to modify config server-memory-quota-ratio dynamically (#20927) 2020-11-19 13:40:31 +08:00
f72cec77b6 *: support SQL bind for Update / Delete / Insert / Replace (#20686) 2020-11-17 15:19:04 +08:00
eb8c3d1deb util: avoid to create tmp directory if memory-alarm is closed. (#20851) 2020-11-16 18:02:56 +08:00
dfc3bbdee6 util, executor: parse set value correctly in HashChunkRow (#21048) 2020-11-16 14:51:26 +08:00
a81c89f89b ddl: support column type change from date time type to other types (#20778) 2020-11-12 19:06:42 +08:00
ef57bdbbb0 *: fix somes bugs related to the clustered index and the new collation (#20934) 2020-11-12 15:18:15 +08:00
7ab3649256 executor, types: fix skipped replace when the value is treated as the same in CI collations (#20858) 2020-11-11 19:38:23 +08:00
d184120a99 ddl: use kv.Key as reorg progress marker instead of kv.Handle (#20908) 2020-11-11 18:47:23 +08:00
0c3b17138a util: support getting the environment memory in container. (#20805) 2020-11-11 17:49:26 +08:00
ee77412f54 executor, kv, store/tikv: support cache for point select (#20396) 2020-11-11 10:41:49 +08:00
1702608a6f test: ignore lumberjack.v2.(*Logger).millRun in leaktest (#20935) 2020-11-10 14:41:20 +08:00
8d35f17c17 Update the errors dependence to the latest version (#20917) 2020-11-10 09:50:39 +08:00
8bcbdf0aba planner: fix update statement not blocked by primary (#20842) 2020-11-09 17:06:48 +08:00
386fb465a2 config: add GOGC under performance section (#20872) 2020-11-09 11:55:41 +08:00
1e17c6925a util: redact log for expensive sqls (#20852) 2020-11-09 10:50:07 +08:00
dy
cc0bef82b7 util, types: fix overflow & adjustment for the year type in index ranger (#20338) 2020-11-06 17:14:54 +08:00
abc8f1665f *: optimize for encoding huge plan (#20811) 2020-11-06 10:46:16 +08:00
ae5dc3f69a executor: fix issue of load data statement doesn't record into slow query and statements_summary (#20713)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-04 16:27:01 +08:00
42590965ed *: refactor CompilePattern and DoMatch used by like (#20610) 2020-11-04 13:25:52 +08:00
f1c464a86a collation: add utf8mb4_zh_pinyin_tidb_as_cs collation interface (#20504) 2020-11-03 11:35:39 +08:00
14a31b5c0e charset: improve performance of general_ci Compare and Key function (#19558) 2020-10-29 10:25:32 +08:00
b468a8a4fb distsql, util: adapt scandetailv2 in coprocessor response (#20492) 2020-10-28 15:56:24 +08:00
fd84a91895 ddl, tikv: add delay during AddIndex DDL and remove schema check for async commit (#20550) 2020-10-28 11:48:34 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
f6e148f7fb util: reduce memoryUsageAlarm log (#20562) 2020-10-26 20:29:20 +08:00
0d613a2dfa [executor, store/tikv]: implement a prototype for MPP framework. (#19954) 2020-10-26 14:46:47 +08:00
974c5fa78e planner: explain output convert binary string to hex (#20472) 2020-10-23 20:03:44 +08:00