Commit Graph

78 Commits

Author SHA1 Message Date
cb8e65abcb bindinfo: fix inconsistent comments (#32223)
ref pingcap/tidb#32224
2022-02-10 12:37:36 +08:00
2e1cff73f3 *: add ExecRestrictedSQL() func for RestrictedSQLExecutor interface (#31618)
ref pingcap/tidb#30918
2022-01-24 21:30:11 +08:00
bb3e90915d bindinfo: update lastUpdateTime with invalid bind (#31775)
close pingcap/tidb#31703
2022-01-22 01:29:46 +08:00
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
22418cd8c4 bindinfo: fix the comment typo (#30616) 2021-12-15 12:02:34 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
75ac1edad0 bindinfo: fix affected row in drop sql binding so that we can avoid clear cache if affected rows is 0 (#27759) 2021-09-24 17:24:45 +08:00
5c1081f669 *: support user defined filters for baseline capture (#26294) 2021-08-18 15:44:00 +08:00
eb418f3b5a bindinfo: fix SPM doesn't work for CTE (#25583) 2021-08-16 20:47:59 +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
300f15959d planner: logically delete the bindinfo when create the new binding (#26015) 2021-08-06 11:17:13 +08:00
072cf2791e *: fix some audit log error (#26767) 2021-08-05 19:39:12 +08:00
3db4ab60d3 bindinfo: garbage collect deleted bind records (#26206) 2021-08-04 16:59:07 +08:00
ec8351ca9a bindinfo: add status vars for 'last_plan_binding_update_time' (#26340) 2021-08-03 16:47:07 +08:00
2580240dde *: pass sql, plan digest down to KV request (#24854) 2021-05-25 15:47:33 +08:00
2bea06ed23 util, types: don't let SPM be affected by charset (#23161) 2021-03-12 22:39:10 +08:00
276dd0e69e util: optimize the performance of restore with db (#22910) 2021-03-12 16:46:56 +08:00
745729fd91 bindinfo: use new sql apis (#22653) 2021-02-04 18:31:15 +08:00
7ca1629d1a *: refactor ExecuteInternal to return single resultset (#22546) 2021-02-01 14:05:27 +08:00
0a4ec0da2b bindinfo: avoid duplicate bindings caused by concurrent baseline capture (#22182) 2021-01-08 14:18:27 +08:00
51794e9d30 *: rewrite origin SQL with default DB for SQL bindings (#21275) 2021-01-06 16:28:29 +08:00
c843da98b7 bindinfo: enforce default_db to lower case for SQL bind operations (#21861) 2020-12-22 19:16:56 +08:00
7b76edcfe1 *: support baseline capture for prepared statements (#21271) 2020-12-22 16:21:59 +08:00
31673c8e92 bindinfo: sync concurrent ops on mysql.bind_info from multiple tidb instances (#21629) 2020-12-18 03:51:35 +08:00
77d17073a5 bindinfo: refine logs of SQL bind (#21351)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-12-15 11:28:20 +08:00
3b8642663a bindinfo: physically delete previous binding when recreating a binding (#21349) 2020-12-03 15:12:04 +08:00
5723034c06 bindinfo: dbname check for bindings should be case insensitive (#21143) 2020-12-03 11:02:17 +08:00
f72cec77b6 *: support SQL bind for Update / Delete / Insert / Replace (#20686) 2020-11-17 15:19:04 +08:00
e5a9e4690f bindinfo: add debugging to plan evolve (#20523) 2020-10-20 13:11:06 +08:00
03003538d1 *: fix a lot of typos (#18917) 2020-08-03 11:03:33 +08:00
7ca3d9cadc bindinfo, record how bindings are created in SQL bindings. (#17254) 2020-05-27 09:56:40 +08:00
26e946d25e plannercore: ignore invisible indexes in optimizer (#15421) 2020-05-07 11:00:40 +08:00
2619f02ddd *: move hint and block hint processor to util directory (#15897) 2020-03-31 16:37:45 +08:00
cc72a37d05 bindinfo: admin evolve baseline should not check the evolving time window (#15830) 2020-03-30 22:02:11 +08:00
71cf7e92f1 bindinfo: build ID of BindRecord from Hint instead of explain query (#15781) 2020-03-30 14:40:43 +08:00
22a585cfec bindinfo, session: mute internal logs during capture bindings (#15802) 2020-03-30 12:57:05 +08:00
7223e7f8c9 bindinfo, planner: fix TiFlash compatibility with binding and SQL plan management (#15719) 2020-03-27 15:44:15 +08:00
b60991e29c *: support ADMIN RELOAD BINDINGS to refresh binding cache (#15732) 2020-03-27 12:21:14 +08:00
5cf0c3e2d4 bindinfo: clear all bindings when create bind for one normalized SQL (#15669) 2020-03-26 14:07:08 +08:00
11bfea6f45 bindinfo: set correct default_db for captured bindings (#15367) 2020-03-24 17:35:46 +08:00
df6f378267 stmtsummary: add a switch to decide whether capture internal q… (#15461) 2020-03-20 17:39:11 +08:00
4112f1c25b planner/bindinfo: fix occasional panic of baseline evolution (#15233) 2020-03-19 21:10:53 +08:00
cdf1430260 bindinfo: do not capture bindings for internal sqls (#14372) 2020-01-09 16:12:52 +08:00
a6d26ac882 bindinfo: fix create time for duplicate bindings (#14155) 2020-01-07 13:24:38 +08:00
174ff27943 *: fix static check issues (#14286) 2020-01-06 16:07:15 +08:00
e755459788 bindinfo: change the way of generate hints from sql (#14095) 2020-01-02 14:31:39 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
447cfbd067 bindinfo: fix bugs when capture and evolve plans (#14206) 2019-12-28 20:35:39 +08:00