Commit Graph

2391 Commits

Author SHA1 Message Date
dcbb5a162a table: format table error code and error message (#13233) 2019-12-03 19:59:39 +08:00
9bd7a6de90 *: support flashback dropped/truncated table (#13109) 2019-12-03 19:49:48 +08:00
a7d5b98306 *: Move StartTs from DAGRequest to Coprocessor.Request (#13823) 2019-12-03 17:13:12 +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
744c5c1d67 planner, executor: fix error code (#13733) 2019-12-03 13:14:49 +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
8fab2548d0 executor: show operators' disk consumption in results of EXPLAIN ANALYZE (#13764) 2019-12-02 17:04:29 +08:00
cbb248cdf1 executor: fix leak test (#13845) 2019-12-02 16:27:27 +08:00
db535c1049 kv: refactor code to fix type SplittableStore name typo (#13829) 2019-12-02 09:08:51 +08:00
18fbe2d483 infoschema, util: refresh statement summary table periodically (#13680) 2019-11-28 15:39:22 +08:00
6aa9c3f58b executor: make the groupChecker vectorized (#12903) 2019-11-27 07:38:36 -06: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
d811fbb461 util: remove some unused code in admin package (#13742) 2019-11-27 14:37:25 +08:00
6b7e19ab41 extract a LogicalMemTable from DataSource to decouple memory/stored tables (#13741)
Signed-off-by: Lonng <heng@lonng.org>
2019-11-27 10:19:17 +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
a1dc0477a5 types: add error code for package types (#13300) 2019-11-26 19:45:14 +08:00
acfc7be794 infoschema: refine error code for package infoschema (#13646) 2019-11-26 10:21:43 +08:00
8ed87c181e executor, test: copy the index join tests for index hash join and index merge join (#13618) 2019-11-25 21:27:30 +08:00
189d89e00a planner, executor: build ColWithCmpFuncManager.TmpConstant for indexHashJoin.innerWorker individually (#13714) 2019-11-25 14:36:17 +08:00
17fda43487 planner, executor: build ColWithCmpFuncManager.TmpConstant for indexMergeJoin.innerWorker individually (#13713) 2019-11-25 13:57:16 +08:00
518692c14c bindinfo: support evolve plan (#13465) 2019-11-22 17:09:37 +08:00
71e19a7308 Allocate continuous row id for single INSERT statement (#13648) 2019-11-22 16:22:08 +08:00
4b830aa7f6 *: Remove unused code (#13674) 2019-11-22 11:37:07 +08:00
af2a2c5321 bindinfo: support bindings management (#13608) 2019-11-22 11:01:07 +08:00
17ffc8031b executor: do not set priority when tidb_force_priority is set (#13633) 2019-11-22 10:51:38 +08:00
de6277fe2d planner, executor: build ColWithCmpFuncManager.TmpConstant for indexJoin.innerWorker individually (#13669) 2019-11-21 21:31:08 +08:00
da0fe6fd14 infoschema, util: Add more fields to table events_statements_summary_by_digest (#13484) 2019-11-21 15:54:19 +08:00
f98a1077c1 executor: refine the check of onlyFullGroupBy when groupByItem is parenthesesExpr or UnaryPlusExpr (#13655) 2019-11-21 12:39:07 +08:00
275984501f planner: Support assign DEFAULT in ON DUPLICATE KEY UPDATE statement (#13168) 2019-11-21 12:33:37 +08:00
a0ea49c342 expression : fix bug in insert select union select. (#13632) 2019-11-20 20:36:03 +08:00
889ad618cf planner: projection don't new unnecessary column (#13406) 2019-11-20 13:58:38 +08:00
380216ed20 planner: Fixup error when assign DEFAULT in `INSERT/UPDATE/R… (#13211) 2019-11-19 18:23:02 +08:00
1d4ac098db executor: getNewJoinResult after handling a task for orderd IndexHashJoin (#13451) 2019-11-19 14:59:53 +08:00
163132a5ca *: update the forUpdateTS for insert/replace into select statements (#13561) 2019-11-19 14:54:23 +08:00
ebed3d606c executor: pessimistic txn update forUpdateTS for concurrent insert (#13553) 2019-11-19 10:51:53 +08:00
ceee144692 executor: fix unstable fast analyze test (#13546) 2019-11-19 10:44:23 +08:00
ee1ac01282 planner, executor: fix wrong result in index merge join. (#13192) 2019-11-18 13:34:24 +08:00
39a6f7f4cc *: make transaction duration metrics more reasonable (#13444) 2019-11-15 19:17:36 +08:00
40c9f9c6e4 executor: fix a batch get executor bug inside a transaction (#13473)
When the BatchGetExec runs inside a transaction, it should consider the data changes
in the membuffer.
2019-11-15 16:55:05 +08:00
df1baca19f *: support adding/dropping the primary key by a configuration (#13229) 2019-11-15 01:10:51 +08:00
b5bb7fee67 table, executor: fix the data race of the partition table's hashcode (#13421) 2019-11-15 00:08:24 +08:00
2baaf1f048 planner: support hint for IndexHashJoin and IndexMergeJoin (#13238) 2019-11-13 21:21:04 +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
aca3f47292 *: Refactoring reading logic of virtual generate column (#12407) 2019-11-13 17:39:53 +08:00
343bb640a0 bindinfo: support drop specific binding (#13245) 2019-11-13 12:32:24 +08:00
b84c5a73ad executor: implement the execution part of the outer hash join (#12882) 2019-11-12 17:48:30 +08:00
5886055b6b ddl: fix error code and error name (#13329) 2019-11-12 17:23:18 +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