Commit Graph

187 Commits

Author SHA1 Message Date
e048e9e32f *: support time function for calibrate resource (#44965)
close pingcap/tidb#44908
2023-07-11 05:27:42 +00:00
beccd05f12 import into: redact sensitive info & check active job before create (#44674)
ref pingcap/tidb#42930
2023-06-15 11:21:09 +00:00
ce174c65f2 Import into: add job management statement (#44453)
ref pingcap/tidb#42930
2023-06-12 13:47:07 +00:00
7caffd9ba4 privilege, server: support LDAP authentication (#43582)
close pingcap/tidb#43580
2023-05-10 14:51:21 +00:00
d95ce849f0 ddl, parser, planner: admin Pause/Resume on DDL jobs (#43081)
close pingcap/tidb#18015, ref pingcap/tidb#40041
2023-04-28 03:29:53 +00:00
268901f308 resource_control: support dynamic calibrate resource (#43098)
ref pingcap/tidb#38825
2023-04-19 22:31:20 +08:00
Hu#
15ce8090e8 resource_control: calibrate resource support sysbench (#42695)
ref pingcap/tidb#38825
2023-04-14 18:32:47 +08:00
08085bc158 parser: add parser support to PiTR (#42826)
close pingcap/tidb#42825
2023-04-10 15:03:00 +08:00
a6093c70eb planner: skip non-prep plan cache if query has under-score charsets (#42723)
ref pingcap/tidb#36598
2023-03-31 18:00:55 +08:00
9632aa6b49 resource_control: support calibrate resource (#42165)
ref pingcap/tidb#38825
2023-03-17 17:38:41 +08:00
d8595f536c parser: add LOAD DATA related operation SQL (#41980)
ref pingcap/tidb#40499
2023-03-10 10:49:13 +08:00
7cd2029773 session: support set current session's resource group name (#41722)
ref pingcap/tidb#38825
2023-03-06 23:29:11 +08:00
17bbc2961b *: support resource_group sql hint (#41678)
* *: support resource_group sql hint

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: refine case

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: make case stable

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: code format

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: relocate the cases

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: fix bazel attribute

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: fix bazel

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: code fmt

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: code format

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: address comments

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: address comments for 2nd round

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: polish check logic

Signed-off-by: BornChanger <dawn_catcher@126.com>

---------

Signed-off-by: BornChanger <dawn_catcher@126.com>
2023-03-06 18:34:13 +08:00
484aa036f9 domain: support extract plan task handle (#41600)
* Revert "parser: support plan change capture collect stmt (#41478)"

This reverts commit 301a024ebca317e54124eb71b0afbfb399149e79.

* support extract worker

support extract worker

support extract worker

fix lint

fix lint

add test

add test

* add test

add test

* add test

* add test

* address the comment
2023-02-22 11:59:49 +08:00
301a024ebc parser: support plan change capture collect stmt (#41478)
ref pingcap/tidb#41130
2023-02-20 10:31:05 +08:00
48bc046fe1 executor: support plan replayer capture remove task (#41258)
close pingcap/tidb#41262
2023-02-11 12:04:02 +08:00
975d177286 *: add resource group name into information_schema.processlist (#40739)
close pingcap/tidb#40724
2023-02-03 22:23:56 +08:00
774913c768 planner: rename keep_order hint to order_index hint for mysql compatibility (#40945) 2023-02-01 22:03:56 +08:00
cbe228fe50 hint: fix the problem that set var hint is invalid when create binding (#40569)
close pingcap/tidb#40570
2023-01-13 18:29:47 +08:00
df019ae5ba parser: use identifier as user's resource group name (#40479)
* parser: use identifier as user's resource group name and also fix a drop resource group bug

Signed-off-by: BornChanger <dawn_catcher@126.com>

* executor: fix case

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: format parser.y

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: fix store function of resource group

Signed-off-by: BornChanger <dawn_catcher@126.com>

Signed-off-by: BornChanger <dawn_catcher@126.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-12 15:50:34 +08:00
5327d07afc planner: refactor plan-cache UseCache flag (#40256)
ref pingcap/tidb#36598
2023-01-03 17:30:20 +08:00
fc3f04b7b6 parser: support keep_order and no_keep_order hint (#39965)
ref pingcap/tidb#39964
2022-12-21 22:16:55 +08:00
62a80014bd parser: support syntax set binding status by sql digest (#39515)
ref pingcap/tidb#39199
2022-12-14 22:42:52 +08:00
59cda14a4e *: Support Failed-Login Tracking and Temporary Account Locking (#39322)
close pingcap/tidb#38938
2022-12-10 07:45:44 +08:00
8e3cbac057 *: bind user to some resource group (#39561)
ref pingcap/tidb#38825
2022-12-07 19:26:04 +08:00
824ef608c7 *: support password expiration policy (#39035)
ref pingcap/tidb#9709, close pingcap/tidb#38936
2022-12-02 16:36:02 +08:00
40d1ddb364 *: support password reuse policy (#39162)
ref pingcap/tidb#38937
2022-12-02 09:58:01 +08:00
202f72389a planner: support create binding from history (#39436)
ref pingcap/tidb#39199
2022-12-01 19:50:03 +08:00
adcacd8d89 planner: support drop binding by sql digest (#39399)
ref pingcap/tidb#39199
2022-11-30 21:02:01 +08:00
9c48480180 parser, executor: implement plan replayer capture statement (#39181)
ref pingcap/tidb#38779
2022-11-17 23:09:56 +08:00
c39506486a planner: add more test cases for view hint (#39126)
ref pingcap/tidb#37887
2022-11-15 14:13:54 +08:00
0e23da6e7c *: create a user using tidb_auth_token authentication (#38585)
ref pingcap/tidb#38504
2022-10-31 11:47:59 +08:00
9d606cd4fe parser, execution: support kill connection_id() (#37650)
close pingcap/tidb#37261
2022-10-21 16:01:54 +08:00
431a9d8b66 planner: remove two useless hints mpp_tidb_agg and mpp_scalar_agg (#38574) 2022-10-20 17:31:55 +08:00
4699c7d896 *: support ATTRIBUTE and COMMENT in CREATE USER and ALTER USER statements (#38201)
close pingcap/tidb#38172
2022-10-20 14:35:54 +08:00
7a9ed6f8c4 planner: introduce some new hints for MPP plans (#38516) 2022-10-19 15:49:54 +08:00
415d03f956 executor: ALTER TABLE COMPACT support partition (#36173)
ref pingcap/tiflash#5315, close pingcap/tidb#36175
2022-09-28 13:41:44 +08:00
df8226339f parser, planner: add query block level no_decorrelate hint (#37633)
close pingcap/tidb#37789
2022-09-20 14:57:04 +08:00
26f4604e45 parser: support plan replayer dump explain file (#37807)
ref pingcap/tidb#37798
2022-09-15 11:52:59 +08:00
1d482db4dd *: Support for tidb_sm3_password authentication (#36193)
close pingcap/tidb#36192
2022-09-08 12:00:57 +08:00
1ffbfcc346 parser: support hash_join_build and hash_join_probe (#37308) 2022-08-29 12:00:22 +08:00
5dc3e58485 planner: introduce the general plan cache (#37150)
ref pingcap/tidb#36598
2022-08-16 20:24:51 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
7d744b18e2 planner: remove execID in ExecuteStmt (#36967)
ref pingcap/tidb#36598
2022-08-09 14:10:47 +08:00
42ee03f654 parser: support the hash_build and hash_probe hints (#36615)
ref pingcap/tidb#35439
2022-08-08 12:40:46 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
eaead0238e parser: add support of 'ADMIN SHOW DDL JOB QUERIES LIMIT m OFFSET n' transferring to AST (#36285)
ref pingcap/tidb#36198
2022-07-22 16:09:09 +08:00
a6b3f3d454 compact: Add syntax for COMPACT command without specifying the replica (#36368)
ref pingcap/tidb#34749
2022-07-20 16:53:09 +08:00
a57dd37640 planner: add a hint for CTE (#34574)
close pingcap/tidb#17472
2022-07-19 14:31:07 +08:00
911e7cc360 *: enable revive (#35970)
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00