Commit Graph

776 Commits

Author SHA1 Message Date
fd73942112 executor, planner, util: optimize query statements summary table by conditional pushdown (#27563) 2021-09-29 00:30:46 +08:00
c103310663 executor: fix wrong index hash join when hash col is enum (#28032) 2021-09-16 12:00:42 +08:00
193b74ecbb executor: rename txnScope as readReplicaScope instead (#27987) 2021-09-14 12:54:40 +08:00
8125b0a3f3 *: Introduce TemporaryTableDDL to provide unified APIs for temporary table ddl operations (#27776) 2021-09-06 11:24:57 +08:00
684057f484 privilege: fix show grants output for active roles + dynamic privs (#27218) 2021-08-25 03:04:03 +08:00
203b3b2d04 session: do not allow historical read in local temporary tables (#27363) 2021-08-20 11:44:00 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
f8564e3177 *: add infoschema.referential_constraints (#26450) 2021-08-10 12:17:15 +08:00
7f5c0fa2e8 ddl: support showing label rule through information schema table (#26637) 2021-08-09 12:39:14 +08:00
cc1f990bac planner: fix update panic when update in prepare and execute (#26759) 2021-08-05 23:41:13 +08:00
03e25c3087 *: Add plan recreator executor framework (#26700) 2021-08-05 02:19:06 +08:00
c3f92c28bb infoschema, executor: Add SQL Text to INFORMATION_SCHEMA.(CLUSTER_)DEADLOCKS table (#26711) 2021-08-04 18:19:07 +08:00
de3bc62d54 infoschema, executor: Add SQL text column to DATA_LOCK_WAITS table (#26632) 2021-08-03 14:55:06 +08:00
5c5f344b24 executor: fix virtual columns in index join (#26720) 2021-08-02 11:21:05 +08:00
89e5ce0686 infoschema, executor: Support getting current executing SQL text in TIDB_TRX table (#26357) 2021-07-28 16:08:17 +08:00
06a0ad373c executor: avoid unnecessary string EqualFold() comparisons (#25822) 2021-07-23 14:46:15 +08:00
35e19eff7f executor: ingore locks of temporary table for point_get/batch_point_get/select_lock (#26267) 2021-07-15 18:05:33 +08:00
9abf9d0bb4 *: reduce NewRuntimeStatsColl() object allocation (#26164) 2021-07-13 18:33:32 +08:00
7ee78d1e35 executor: fix a bug that cte.iterOutTbl did not close correctly (#26129) 2021-07-12 18:31:32 +08:00
8885b70bfe types, expression: fix gotime.local problem (#25510) 2021-07-08 14:59:29 +08:00
a8d23fda41 *: optimize query statements summary table by avoid decode plan for each row (#25892) 2021-07-06 12:51:28 +08:00
420e27ebfa *: update count / modify_count of mysql.stats_meta incrementally (#24720) 2021-07-02 19:05:26 +08:00
0376dc0c54 executor: fix prepared stale read statement not work (#25746) 2021-06-28 17:55:25 +08:00
ec7240edba planner: Rename ExplicitStaleness to IsStaleness (#25791) 2021-06-28 16:15:25 +08:00
149e86ac4b *: introduce snapshot into analyze (#24575) 2021-06-25 15:17:24 +08:00
e23e3f814f executor: tablesample for temporary table should always return empty (#25752) 2021-06-24 22:39:24 +08:00
362ede5a0d executor: Modify temporary table behavior for history read (#25747) 2021-06-24 21:57:24 +08:00
8c33190dd7 linter: fix linter error when make dev locally (#25661) 2021-06-23 11:19:22 +08:00
xhe
5794e8ccd0 executor: forbid stale read table with tiflash (#25561) 2021-06-18 18:02:38 +08:00
799591a06f session: read local dc replicas automatically for stale read (#25525)
* fix select

Signed-off-by: yisaer <disxiaofei@163.com>
2021-06-18 17:13:38 +08:00
03847a8ded executor, infoschema: Add cluster_statements_summary_evicted table to TiDB (#25418) 2021-06-17 21:02:38 +08:00
0490590b01 planner,executor: fix 'select ...(join on partition table) for update' panic (#21148) 2021-06-16 23:00:37 +08:00
fc48db9743 executor: check the length of lookUpContent in prunePartitionForInnerExecutor (#25426) 2021-06-15 18:16:36 +08:00
xhe
9189ec66ac *: stale reads compatible with prepare (#25156) 2021-06-11 19:32:35 +08:00
0ed8eafa9b executor: add tablesample compatibility for temporary table (#25288) 2021-06-09 21:14:29 +08:00
d5a0d176db executor: add history read compatibility for temporary table (#25237) 2021-06-09 13:18:29 +08:00
f81ef55795 planner: solve an incompatible issue about dynamic-mode and TiFlash and enable dynamic mode by default (#25255) 2021-06-08 20:08:28 +08:00
811253785c planner, executor: add stale read compatibility for temporary table (#25206) 2021-06-07 21:06:28 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
2e083b40e5 statistics: support indexes containing virtual column for full sampling (#24999) 2021-06-04 16:18:28 +08:00
50b6da0f89 executor: add limit implementation for CTEExec (#24870) 2021-06-03 16:26:27 +08:00
dbb753fd02 executor: create PipelinedWindowExec (#23022) 2021-06-03 15:38:27 +08:00
0f151af7c5 *: add telemetry support for CTE (#25022) 2021-06-03 14:46:27 +08:00
f966a3d9fb executor: fix the wrong KVRange for partition tables in TableReader (#25047) 2021-06-02 17:30:43 +08:00
ccaefa2a3d executor: add CTEExec and CTETableReaderExec (#24809) 2021-06-01 11:59:37 +08:00
ac04473227 planner, executor: support batchget for range and list partition table (#24856) 2021-05-28 21:01:35 +08:00
0367c54698 inforschema, executor, util/kvcache, util/statement_summary : Add STATEMENTS_SUMMARY_EVICTED into information_schema (#24513) 2021-05-28 15:19:35 +08:00
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00
e87d035937 infoschema, executor, txn: implement DATA_LOCK_WAITS table (#24750) 2021-05-27 17:57:36 +08:00
66ad36ee10 planner, executor, statistics: support correlation calc for new sampling method (#24458) 2021-05-25 23:57:34 +08:00