Commit Graph

2411 Commits

Author SHA1 Message Date
ebec6de11f *: rename IndexColName to IndexPartSpecification (#13941) 2019-12-10 14:22:44 +08:00
d439a57566 infoschema, util: add table events_statements_summary_by_digest_history (#13813) 2019-12-09 16:11:49 +08:00
795c630dbc Makefile: Replace Gometalinter to Golangci-lint (#13405) 2019-12-09 15:08:40 +08:00
94481e883d session: if txn invalid do not active it and return an error (#13935) 2019-12-09 13:41:09 +08:00
c50355303b executor: add log for commit work (#13965) 2019-12-09 12:46:11 +08:00
a1b90715ee executor: fix DATA RACE caused by the vecGroupChecker (#13948) 2019-12-06 18:49:18 +08:00
98519eb30b executor: init the final recv channel of hash agg with enough… (#13811) 2019-12-06 17:06:51 +08:00
01a7d00053 executor: change pessimistic lock wait start for one statement (#13922) 2019-12-06 15:17:49 +08:00
0a22034420 executor: add SHOW BUILTINS command (#12941) 2019-12-06 14:13:00 +08:00
ea1662a296 privilege: fix privilege check of GRANT ROLE (#13896) 2019-12-05 19:56:35 +08:00
0730eeca03 *: fix snapshot problem in show table status (#13797) 2019-12-05 13:26:26 +08:00
13400ee89a table, executor: extract two functions for ShowCreateTable/DB (#13907) 2019-12-05 10:47:52 +08:00
78e3c4d885 extract hot system variables from map (#13810) 2019-12-05 10:32:39 +08:00
5c4a9ee101 *: do not start slow-log timer before parsing (#13846) 2019-12-04 15:58:40 +08:00
b45e8b1f9b session: move test and make it stable (#13885) 2019-12-04 15:50:09 +08:00
7ccbdc12b3 tables: remove struct Table (#13877)
* done

* fix typo

* fix typo
2019-12-04 15:19:38 +08:00
cead363ecc executor: apply the vecGroupChecker in window executor (#13852) 2019-12-04 01:18:41 -06:00
527c1aef63 privilege: using system session to execute internal sql of RBAC (#13820) 2019-12-04 14:54:09 +08:00
5b6422df58 *: support read remote TiDB memory table of cluster (#13065) 2019-12-04 13:05:36 +08:00
c5e1302908 planner: support plan digest (#13124) 2019-12-03 21:08:55 +08:00
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