Commit Graph

520 Commits

Author SHA1 Message Date
2f0bafe98b util/etcd: remove useless code (#62833)
ref pingcap/tidb#59737
2025-08-05 09:52:27 +00:00
c77bc05c46 fix: close issue #62782 make mac os start happy again (#62787)
close pingcap/tidb#62782
2025-08-02 05:39:57 +00:00
f1445dc6c4 server: support standbyController to control startup process (#53955)
close pingcap/tidb#53954
2025-08-01 12:08:42 +00:00
511ac9ae5d memoryusagealarm: optimize recording goroutine profile in oom record (#62207)
close pingcap/tidb#62080
2025-07-30 15:55:13 +00:00
c7003d8d65 planner: Implement ignore_plan_cache hint for non-prepared statements. (#62641)
close pingcap/tidb#62634
2025-07-30 05:50:37 +00:00
a53894aae0 slowlog, stmtsummary: include the storage engine(s) a query read from (#61737)
close pingcap/tidb#61736
2025-07-29 21:38:16 +00:00
102ffeccba mdl/sessionmanager: some refactor of MDL loop and move sessionmanager from util to session pkg (#62671)
ref pingcap/tidb#61702
2025-07-29 12:55:28 +00:00
8c6dbedb30 filter: no need to always convert dbname to lowercase in IsSystemSchema (#62657)
close pingcap/tidb#62658
2025-07-28 12:20:27 +00:00
4852c06c52 sem: add tidb_service_scope to SEM hidden variable list (#62584)
close pingcap/tidb#62583
2025-07-28 04:42:09 +00:00
1ea1db40cd infosync: move server info sync part of structs out to a separate pkg (#62609)
ref pingcap/tidb#61702
2025-07-25 07:46:59 +00:00
3404d7476d planner: Remove InPreparedPlanBuilding member from RangerContext (#62603)
ref pingcap/tidb#61876
2025-07-24 11:13:04 +00:00
5f624c01d8 execdetails: move logic from execdetails.go to runtime_stats.go, tiflash_stats.go, and util.go by feature (#62581)
close pingcap/tidb#62580
2025-07-23 11:56:11 +00:00
749e1cc4ec util/topsql: make TestProcessProfCPUProfile stable (#62582)
close pingcap/tidb#62576
2025-07-23 10:48:08 +00:00
be5bc77b73 planner: Remove InPreparedPlanBuilding member from StatementContext. (#62542)
ref pingcap/tidb#61876
2025-07-23 09:43:20 +00:00
c3722d72ad planner: move physical projection related logic into physical op dir (#62533)
ref pingcap/tidb#52714
2025-07-23 02:31:21 +00:00
095ab56023 *: the TaskTimeStats structure is extracted to record time-related statistics in CopTasksDetails, including dimensions such as average, percentage, and maximum. (#62516)
close pingcap/tidb#62515
2025-07-22 10:59:53 +00:00
5ae6ad63c2 session: rename and unify location of interfaces, and some refactor (#62498)
ref pingcap/tidb#61702
2025-07-22 07:43:38 +00:00
b778b88220 *: refactor slow log handling by moving relevant logic to a dedicated file and removing unused code paths from MergeExecDetails (#62501) 2025-07-21 14:00:06 +00:00
3606de5c43 backend: add log fields for local and external pkg (#62476)
ref pingcap/tidb#61702
2025-07-18 05:49:42 +00:00
6ec48101ca *: refactor LogSlowQuery by extracting two reusable functions and simplifying logic (#62425) 2025-07-16 10:51:18 +00:00
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