Commit Graph

1190 Commits

Author SHA1 Message Date
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
8fab2548d0 executor: show operators' disk consumption in results of EXPLAIN ANALYZE (#13764) 2019-12-02 17:04:29 +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
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
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
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
9acb0a37f0 util: refactor the code (#13760) 2019-11-27 12:02:14 +08:00
04fc7cca98 util/printer: get GoVersion from runtime variable instead of shell (#13763) 2019-11-27 11:56:43 +08:00
3a48a48630 *: remove the assertion proto (#13732)
The assertion proto was introduced to verify the data consistency, but I find
it's complex and hard to achieve that goal. Adding additional assertions just
makes more memory occupation, especially in the large transaction.
So it's better to remove it.
2019-11-26 22:58:49 +08:00
d8f806f1d4 stringutil: improve DoMatch performance (#13407) 2019-11-26 20:30:13 +08:00
b0f534bf32 timeutil: do not use system files to verify timezone (#13593) 2019-11-25 15:52:46 +08:00
bc21efebf5 executor: print the number of cop-tasks in results of explain analyze (#13686) 2019-11-23 10:26:37 +08:00
760d27c51f util: fix staticcheck errors (#13456) (#13651) 2019-11-22 17:20:25 +08:00
518692c14c bindinfo: support evolve plan (#13465) 2019-11-22 17:09:37 +08:00
4b830aa7f6 *: Remove unused code (#13674) 2019-11-22 11:37:07 +08:00
49ad436156 util: format error code for memory package (#13540) 2019-11-22 11:12:37 +08:00
da0fe6fd14 infoschema, util: Add more fields to table events_statements_summary_by_digest (#13484) 2019-11-21 15:54:19 +08:00
ebe8b0989d *: limit a single test function timeout to 4s (#13573) 2019-11-21 13:44:08 +08:00
0e0faeeb30 *: use filepath instead of path for file operations (#13590) 2019-11-21 13:20:37 +08:00
889ad618cf planner: projection don't new unnecessary column (#13406) 2019-11-20 13:58:38 +08:00
9a7e382bc5 *: remove unused code (#13547) 2019-11-19 00:36:23 +08:00
f73cd98cce expression: add an argument EvalType to method Column.Reset to make it safer (#13488) 2019-11-18 12:36:53 +08:00
df1baca19f *: support adding/dropping the primary key by a configuration (#13229) 2019-11-15 01:10:51 +08:00
ec95f91c13 util/profile: remove github.com/lonng/pprof replacement (#13318) 2019-11-14 16:21:06 +08:00
4283263b13 store : add store limit to restrain bad store from occupying too much token limit. (#12779) 2019-11-13 18:49:24 +08:00
4efb32b01a *: run tests in the package name with "test" when doing make test (#13301) 2019-11-13 13:09:06 +08:00
b84c5a73ad executor: implement the execution part of the outer hash join (#12882) 2019-11-12 17:48:30 +08:00
5c521c8e43 executor: vectorized calculation the key for the group by items in hash aggregation (#12729) 2019-11-12 17:00:00 +08:00
2dfaf55410 sysvars: error code package for sysvar.go (#13366) 2019-11-12 13:01:29 +08:00
60bfdf5ba4 Revert "executor, util: rename original List to ListInMemory and add a new interface List (#13353)" (#13363)
This reverts commit 2b5f81add11497b5b5595b3ba16ac88cddf33a65.
2019-11-11 18:30:34 +08:00
2b5f81add1 executor, util: rename original List to ListInMemory and add a new interface List (#13353) 2019-11-11 15:50:43 +08:00
f2bbc5619f expression: implement vectorized evaluation for builtinAesEncryptSig (#13219) 2019-11-11 11:26:12 +08:00
03e1510ccd executor: set column data to zero value when calling ResizeXXX (#13260) 2019-11-09 11:52:12 +08:00
3696bc5097 infoschema: add TIDB_CLUSTER_CONFIG virtual table to retrieve all instance config (#13063) 2019-11-07 10:55:11 +08:00
538077ff75 *: rename Arrow to Chunk (#13060) 2019-11-06 14:51:10 +08:00
1b9568726d perfschema: rename TIDB_GOROUTINES to TIDB_PROFILE_GOROUTINES (#13178)
Signed-off-by: Lonng <heng@lonng.org>
2019-11-06 13:52:37 +08:00
ab03df55ed expression: implement vectorized evaluation for builtinTiDBIsDDLOwnerSig (#13162) 2019-11-06 09:22:42 +08:00
b697fac4ba expression: vectorize hash calculation during probing (#12048) (#12669) 2019-11-05 21:42:34 +08:00
e43444265b *: Support required rows rows for arrow decode format. (#12613) 2019-11-05 18:12:09 +08:00
6dfe2f2118 infoschema: add information_schema.tidb_cluster_info to retrieve cluster topology. (#13035) 2019-11-04 14:22:58 +08:00
aac4971f1f infoschema/slow_query: add more field in slow_query table (#13007) 2019-11-01 17:01:34 +08:00
953c0a618a perfschema: support query cpu/memory/mutex/block/allocs/goroutines flamegraph by SQL (#12986)
Signed-off-by: Lonng <heng@lonng.org>
2019-10-30 07:50:02 +08:00
9ed376ada2 util/admin: support admin check table on partition table (#12796) 2019-10-29 20:16:37 +08:00
43202b1383 expression, ranger: three optimizations to speedup some specific query's opt time (#12687) 2019-10-29 18:00:45 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
b3ad90e596 util: increase column's nullBitmap's capacity (#12470) 2019-10-28 19:24:00 +08:00