Commit Graph

500 Commits

Author SHA1 Message Date
10c9872c78 planner: Allow prepared and non-prepared queries with set_var and resource_group hints to be cached. (#62367)
close pingcap/tidb#60920
2025-07-14 11:33:06 +00:00
db81dee5ed crossks: forbid cross ks session to access user tables and run DDL (#62270)
ref pingcap/tidb#61702
2025-07-11 06:39:39 +00:00
a712249d45 planner: move physical selection related logic into physical op (#62339)
ref pingcap/tidb#52714
2025-07-10 09:55:21 +00:00
0cd280bbd2 meta: unify definition of system or memory DB name (#62247)
ref pingcap/tidb#61702
2025-07-07 19:17:48 +00:00
d87ec2b188 planner: RegardNULLAsPoint should be true as default (#62194)
close pingcap/tidb#62196
2025-07-07 11:09:00 +00:00
cc90d3780e resource_control: support collecting cross AZ traffic in ru consumption (#62003)
close pingcap/tidb#62001
2025-07-04 10:27:00 +00:00
15fe8f1be9 telemetry: add telemetry related code back (#61753)
close pingcap/tidb#61766
2025-07-04 05:19:57 +00:00
063fa72687 planner: lift the can-push-to-cop check of aggregation/proj (#62068)
ref pingcap/tidb#62006
2025-07-03 13:35:00 +00:00
91dcec40fd codec: should also return the value even with error because the error may be ignored in the future (#62175)
close pingcap/tidb#61735
2025-07-03 06:55:06 +00:00
7487af5b9b fix: reflect.SliceHeader is deprecated: Use slice instead. (#62039)
close pingcap/tidb#62129
2025-07-02 04:47:33 +00:00
1c612763c8 planner: Simplify plan cache code.gi (#61906)
close pingcap/tidb#61876
2025-07-02 03:16:54 +00:00
bd29228a42 util: fix panic when processing invalid utf8 runes (#61972)
close pingcap/tidb#47521
2025-07-01 07:50:52 +00:00
ae70341a13 disttask, util: remove useless code (#62056) 2025-06-30 07:05:18 +00:00
a061683438 stmtsummary: add binding_digest and binding_digest_text columns (#61950)
ref pingcap/tidb#60148
2025-06-27 20:09:45 +00:00
352394661f domain: abstract cross keyspace manager and sql server interface (#62007)
ref pingcap/tidb#61702
2025-06-26 12:02:42 +00:00
679facdc8b *: add log for bootstrap part and init USR1 single handler early to help diagnose (#61997)
ref pingcap/tidb#61702
2025-06-26 05:20:00 +00:00
a268223774 domain: load system keyspace info schema (#61939)
ref pingcap/tidb#61702
2025-06-25 10:41:57 +00:00
f701e5ae3d dxfservice: create store for SYSTEM keyspace (#61752)
ref pingcap/tidb#61702
2025-06-24 07:10:15 +00:00
dfc0a21a9c workload-learning: Extract metrics from cluster statements stats (#61378)
close pingcap/tidb#58131
2025-06-23 12:05:00 +00:00
1abbbf02de session: rename GetDomainInfoSchema to GetLatestInfoSchema (#61894)
ref pingcap/tidb#61702
2025-06-23 10:09:21 +00:00
c597cb5e0a expression,planner: reuse the PropConstSolver to improve performance (#61838)
close pingcap/tidb#61837
2025-06-20 07:35:06 +00:00
de884c1382 printer: fix printed kernel type (#61711)
ref pingcap/tidb#60418
2025-06-12 12:41:10 +00:00
c893db633f kerneltype: add sanity check for kernel type and keyspace (#61697)
ref pingcap/tidb#60418
2025-06-12 10:53:52 +00:00
6da55fc2b4 Planner: fix panic when getting Top SQL without runtime stats (#61698)
close pingcap/tidb#61693
2025-06-12 09:00:28 +00:00
5ea7f4eb95 gc_worker: Adapt to new GC API and support keyspace level GC (#60632)
ref pingcap/tidb#58720
2025-06-10 12:21:52 +00:00
e70afd2a44 planner: Support brief format for explain for connection (#61230)
close pingcap/tidb#60965
2025-06-10 08:20:43 +00:00
1ef4c269cd planner: set the default of the tidb_cost_model_version correctly (#61608)
close pingcap/tidb#61565
2025-06-10 05:22:28 +00:00
96161fce85 *: Unify the promethus metrics creation process (#61527)
ref pingcap/tidb#60864, close pingcap/tidb#61526
2025-06-06 10:24:49 +00:00
9f38fcae00 planner,executor: improve the convenience of functions (#61546)
ref pingcap/tidb#36764
2025-06-06 08:57:06 +00:00
f4989a6925 *: Set keyspace_name const labels for client-go related metrics (#61405)
ref pingcap/tidb#60864
2025-06-05 02:41:56 +00:00
ac6ea64b37 *: support TopSQL keyspace info (next-gen) using KeyspaceName instead of KeyspaceID (#61319)
close pingcap/tidb#61287
2025-06-04 13:56:47 +00:00
b159f56cd4 planner,range: simple the code for sorting the pointers (#61456)
close pingcap/tidb#61458
2025-06-04 12:05:26 +00:00
029c0a90d0 *: inject random error for global sort & injest (#60582)
close pingcap/tidb#60277
2025-06-04 11:29:23 +00:00
2bd14176d4 build: fix build tags for some make target (#61481)
ref pingcap/tidb#60418
2025-06-04 06:53:08 +00:00
c77c36baf7 domain: must load repair table (#61451)
close pingcap/tidb#61424
2025-06-03 17:10:44 +00:00
609805c5f9 executor, sqlexec: add a function to let DrainRecordSet also close the RecordSet (#61448)
close pingcap/tidb#61408
2025-06-03 07:20:29 +00:00
e7b038b991 expression: deduplicate the args of IN function (#61249)
close pingcap/tidb#61246
2025-05-31 02:22:14 +00:00
684010c999 external: fix the dead loop in readNBytes (#61309)
close pingcap/tidb#61177
2025-05-29 11:16:19 +00:00
a761430f2c cgmon: fix the issue that CPU quota is 0 if it's not limited by cgroup (#61322)
close pingcap/tidb#61223
2025-05-27 07:02:01 +00:00
d1ea58f909 *: ensure keyspace name is set for nextgen (#61317)
ref pingcap/tidb#60418
2025-05-27 04:18:13 +00:00
6d7cb93499 config: add check to keyspace name (#61295)
ref pingcap/tidb#60418
2025-05-26 05:14:22 +00:00
62abfe6000 *: support TopSQL with keyspace info for next-gen (#60884)
close pingcap/tidb#60877
2025-05-24 12:15:07 +00:00
f1dd16a86d metrics: fix connect issue when tls enabled (#61122)
close pingcap/tidb#61121
2025-05-24 04:21:13 +00:00
9f0b4b781f *: Update metrics and slow log keyspace info for next gen (#61284)
ref pingcap/tidb#60864
2025-05-23 11:11:25 +00:00
7419112ef7 planner: inherit the index join info and stats bottom-up for index join inner side (#61148)
ref pingcap/tidb#60106
2025-05-16 18:21:19 +00:00
2b87000a11 planner: add task based warning handling and collection (#61077)
ref pingcap/tidb#60106
2025-05-14 09:17:24 +00:00
tpp
61e061e08c planner: selectivity estimate not to go below 1 (#61045)
ref pingcap/tidb#47400
2025-05-13 01:42:12 +00:00
b25074f843 *: remove EncodeResourceGroupTag (#61050) 2025-05-12 08:19:22 +00:00
ba770fc43d *: add exptostd linter (#61014)
close pingcap/tidb#61013
2025-05-08 12:51:50 +00:00
c1576410ac util: Fixed the issues when using the same log files for different log types (#61012)
close pingcap/tidb#61007
2025-05-08 07:51:32 +00:00