Commit Graph

9781 Commits

Author SHA1 Message Date
236f5efcf8 store: refactor code to refine some static check issue (#13828) 2019-12-03 17:02:39 +08:00
093b27aea8 session: fix show variable result of tidb_enable_window_function after upgrade (#13866) 2019-12-03 15:54:39 +08:00
97a4fae7d2 ddl : support ADMIN REPAIR TABLE to override bad tableInfo in meta & supply a REPAIR MODE for safely restart. (#12046) 2019-12-03 13:50:26 +08:00
5a589c9994 planner: consider disk cost in hashJoin (#13246) 2019-12-03 13:43:19 +08:00
744c5c1d67 planner, executor: fix error code (#13733) 2019-12-03 13:14:49 +08:00
5fb669b68b session: fix CI data race in TestSchemaCheckerSQL (#13859) 2019-12-03 13:09:25 +08:00
a4af0ae709 .github: add codeowner rules for planner related packages (#13863) 2019-12-03 13:03:24 +08:00
a1adfb8c1b store/tikv: fix lockTTL too large if local time is behind timestamp. (#13865) 2019-12-03 12:25:55 +08:00
d587c63062 *: some tiny improvements for the large transaction (#13815)
1. Set the default txn size limit to 1G
2. Reduce memory footprint during insert for the large txn
3. Recycle the session buffer memory to avoid leak
4. Set rate limit to avoid 2PC prewrite overloads the TiKV
5. Start ttlManager for the large txn
2019-12-03 00:40:40 +08:00
179b2f85aa planner/core: fix cannot record test of plan suite (#13854) 2019-12-02 21:01:58 +08:00
8fab2548d0 executor: show operators' disk consumption in results of EXPLAIN ANALYZE (#13764) 2019-12-02 17:04:29 +08:00
f686039802 planner/cascades: add ImplementationRule for UnionAll 2019-12-02 02:54:22 -06:00
cbb248cdf1 executor: fix leak test (#13845) 2019-12-02 16:27:27 +08:00
997233f5f8 expression: implement vectorized evaluation for builtinTimeSig (#13814) 2019-12-02 15:59:28 +08:00
ffcc0fb234 expression: implement vectorized evaluation for builtinCastRealAsDurationSig (#13787) 2019-12-02 01:47:27 -06:00
de862fc620 planner: do not push keep descending order to tiflash (#13572) 2019-12-02 13:44:28 +08:00
4b5ae3a34c session: refactor code to remove useless filed and return (#13841) 2019-12-01 23:01:53 -06:00
4da9239439 expression: implement vectorized evaluation for builtinCastStringAsDecimalSig (#13778) 2019-12-01 22:41:46 -06:00
5d186eac4b expression: implement vectorized evaluation for builtinLeastTimeSig (#13781) 2019-12-02 11:46:31 +08:00
230b0379cc statistics: refactor the code (#13788) 2019-12-02 10:53:22 +08:00
26beb1ceb0 tidb-server: refactor code replace deprecated function (#13761) 2019-12-02 09:14:21 +08:00
db535c1049 kv: refactor code to fix type SplittableStore name typo (#13829) 2019-12-02 09:08:51 +08:00
3d66e9b2e2 Disable automaxprocs log (#13800) 2019-11-29 20:15:55 +08:00
e0f5f22590 Makefile: make test parallel value configurable via command line argument (#13817)
make test P=4
2019-11-29 20:07:26 +08:00
3d3580e2a0 server: improve test coverage for /mvcc/key API (#13818) 2019-11-29 19:17:51 +08:00
dd78dbf27c infoschema: fix a goroutine leak in the test (#13782) 2019-11-29 18:10:52 +08:00
9dbd475c73 types: refactor the code (#13783)
fix struct variable judgement issue.
remove useless value.
use make function default values.
2019-11-29 18:04:45 +08:00
d438c860a6 perfschema: support retrieve CPU/memory/mutex/block/allocs profile from PD via SQL (#13717)
Signed-off-by: Lonng <heng@lonng.org>
2019-11-29 15:35:18 +08:00
6358a633dc expression: implement vectorized evaluation for builtinCastDecimalAsDurationSig (#13790) 2019-11-29 15:28:51 +08:00
1c65ab936f expression: implement vectorized evaluation for builtinStrToDateDurationSig (#13505) 2019-11-28 06:12:27 -06:00
18fbe2d483 infoschema, util: refresh statement summary table periodically (#13680) 2019-11-28 15:39:22 +08:00
6d98d8593e perfschema: support retrieve TiKV CPU profile via SQL (#13711) 2019-11-28 15:33:53 +08:00
b1ffba6031 table: refactor the code to check the err (#13780) 2019-11-28 14:58:22 +08:00
08f0072a5f proposal: tidb built-in sql diagnostics (#13481)
Signed-off-by: Lonng <heng@lonng.org>
2019-11-28 14:45:01 +08:00
870ac75efa structure: refactor the code to add explicit type for const (#13789) 2019-11-28 14:06:01 +08:00
b0e8e0764d *: fix staticcheck errors in folder statistics (#13776) 2019-11-28 12:31:21 +08:00
0b9059162c types: Fix potential timezone related bugs caused by gotime.Local (#13752) 2019-11-28 09:45:21 +08:00
6aa9c3f58b executor: make the groupChecker vectorized (#12903) 2019-11-27 07:38:36 -06:00
1c59a53762 planner/core: raise 'No database selected' error for grant statement (#13745) 2019-11-27 20:41:41 +08:00
755fd1924b ddl: fix index length calculation (#13727) 2019-11-27 19:51:17 +08:00
c10c576cab store: implement non-block reading for Get and BatchGet under the large transaction protocol (#13599) 2019-11-27 18:54:58 +08:00
2082b68a41 test: optimize session&planner/core unit test (#13580) 2019-11-27 17:25:55 +08:00
134b80cdf4 distsql: Unify endian for Chunk encode format (#13349) 2019-11-27 17:15:25 +08:00
17fe696d8d Makefile: move the success message from explaintest to test (#13748) 2019-11-27 17:08:42 +08:00
37ea7d44a5 table: refactor code simplify string comparison (#13762) 2019-11-27 17:03:23 +08:00
6a59557500 executor: show operators' concurrency information in results of EXPLAIN ANALYZE (#13539) 2019-11-27 16:46:25 +08:00
e979cff6bb planner: add column mapping in explain result (#13640) 2019-11-27 16:39:19 +08:00
596fb64233 planner: support a hint to force using a IndexMerge path (#12843) 2019-11-27 15:44:25 +08:00
e4bdb7b229 executor: show max-proc-keys and p95-proc-keys in results of explain analyze (#13692) 2019-11-27 15:00:26 +08:00
d811fbb461 util: remove some unused code in admin package (#13742) 2019-11-27 14:37:25 +08:00