Commit Graph

2277 Commits

Author SHA1 Message Date
70a26f8530 planner: fix unique key get wrong row count when to query the NULL value (#56117)
close pingcap/tidb#56116
2024-09-19 04:11:30 +00:00
d99d4451bc planner: add more test cases for instance plan cache (#56110)
ref pingcap/tidb#54057
2024-09-18 15:42:33 +00:00
fd6d5c1cd0 ddl: move partition sql string rewrite out of buildTablePartitionInfo (#56120)
close pingcap/tidb#56119
2024-09-18 10:55:18 +00:00
7ce6ec3333 ddl_notifier: implement serialization and deserialization for SchemaChangeEvent (#56089)
ref pingcap/tidb#55722
2024-09-18 07:31:40 +00:00
8313bbc5c0 ddl: refactor the args for the DDL type of renametable[wip] (#55959)
ref pingcap/tidb#53930
2024-09-18 06:04:05 +00:00
3ae6470ea7 planner: update the variable name related to Instance Plan Cache (#56068)
ref pingcap/tidb#54057
2024-09-18 02:27:15 +00:00
12e5b31731 lighting: replace lightning inner contexts with manged ones (#56038)
ref pingcap/tidb#53388
2024-09-17 07:20:03 +00:00
b895e50adc tests: add more tests for select for update with global index (#56091) 2024-09-14 14:42:51 +00:00
5709ba4357 statistics: add an analysis job factory (#56073)
ref pingcap/tidb#55906
2024-09-14 12:11:25 +00:00
a21d9ea447 *: Change cpu usages related representation format (#56044)
ref pingcap/tidb#55542
2024-09-14 10:58:50 +00:00
3688a2b2b8 statistics: do not depend on table information when calculating the table size (#56036)
ref pingcap/tidb#55906
2024-09-14 09:35:07 +00:00
ae86e046b6 importinto: fix panic when import to a temporary table, disallow import to cached table (#55983)
close pingcap/tidb#55970
2024-09-14 08:49:00 +00:00
b1767ca124 ddl: args v2 for create table/view/sequence, batch create table (#55964)
ref pingcap/tidb#53930
2024-09-14 07:09:37 +00:00
fa8fd91a49 executor,tablecodec: optimize decodeIndexKeyValue function for memIndexReader (#56006)
ref pingcap/tidb#43249
2024-09-14 04:30:24 +00:00
b3914c5d86 expression: fix expression return wrong current time when using StaticEvalContext (#56059)
close pingcap/tidb#56051, close pingcap/tidb#56054
2024-09-14 03:26:57 +00:00
b9a7d35b82 statistics: add for update into write to avoid inaccurate results (#56055)
close pingcap/tidb#56062
2024-09-13 17:48:55 +00:00
22ef99ab51 planner: use intest.AssertFunc instead of intest.Assert when testing function (#56076) 2024-09-13 15:01:27 +00:00
59b1ecd847 ddl_notifier: add publish related API (#56061)
ref pingcap/tidb#55722
2024-09-13 14:20:30 +00:00
1e6cec8b44 *: let planner decide the col refs for non-partition and non-foreignkey table's delete (#54065)
ref pingcap/tidb#38911
2024-09-13 13:28:54 +00:00
f956694b74 ddl: fix admin check table error after rename index with scalar function (#56060)
close pingcap/tidb#56045
2024-09-13 12:32:08 +00:00
162de160ae statistics: remove useless sessionctx (#56069) 2024-09-13 11:13:18 +00:00
0116b99302 planner: add group/memo/groupExpression. (#55825)
ref pingcap/tidb#51664
2024-09-13 10:24:10 +00:00
f0ac8f4aaf test: fix unstable TestAdminShowNextID (#56002)
close pingcap/tidb#55828
2024-09-13 09:21:29 +00:00
e471433601 *: Refactor param.ExecArgs from pkg param to pkg expression. (#55784) 2024-09-13 09:21:19 +00:00
4371a1d485 *: set default shard_row_id_bits and pre_split_regions for all tables (#55717)
close pingcap/tidb#55716
2024-09-13 08:15:42 +00:00
027f01b7ef br: migrate pitr id map to the system table mysql.tidb_pitr_id_map (#55871)
ref pingcap/tidb#55870
2024-09-13 07:28:59 +00:00
2bf89f825f infoschema: unify TypeLonglong display width (#56058)
close pingcap/tidb#48323
2024-09-13 05:10:36 +00:00
1dc385103d pkg/metrics: add panels for heap alloc and heap free (#56050)
ref pingcap/tidb#55390
2024-09-13 04:03:15 +00:00
Hu#
bb3456b076 runaway: Mitigation tidb_runaway_queries flooding (#55664)
ref pingcap/tidb#54434
2024-09-13 03:16:18 +00:00
b3095dc162 Lightning: add retry if transaction failed while fetching task metas (#55670) 2024-09-13 02:02:57 +00:00
d6db1e8102 pkg/metrics: make the golang gc mpanel more readable (#56039)
ref pingcap/tidb#55390
2024-09-12 09:39:11 +00:00
8fb9eed991 ddl: move SchemaChangeEvent related code to a package (#56035)
ref pingcap/tidb#55722
2024-09-12 09:39:02 +00:00
Hu#
1dc045fa1a runaway: change QUERY WATCH time type to UTC (#56015)
close pingcap/tidb#54770
2024-09-12 08:25:14 +00:00
2842fcba4e planner: reuse build batch cop tasks result (#55916)
close pingcap/tidb#55915
2024-09-12 07:38:57 +00:00
00aac17ce0 pkg/metrics: add panels for golang gc rate and GOGC/GOMEMLIMIT (#56033)
ref pingcap/tidb#55390
2024-09-12 06:29:30 +00:00
7aa01056ee executor: support memRowsIter for memIndexLookUpReader (#55922)
ref pingcap/tidb#43249
2024-09-12 05:45:29 +00:00
ebf3146857 statistics: fix the error that init stats might got failure when decoding column bucket (#55685)
close pingcap/tidb#55684
2024-09-11 15:43:27 +00:00
ae8f977a34 domain,infoschema: fix 'show tables' after snapshot read (#55856)
close pingcap/tidb#55835
2024-09-11 13:04:50 +00:00
d82f06b1e6 tablecodec: optimize DecodeIndexHandle to avoid unnecessary allocation (#55987)
ref pingcap/tidb#43249
2024-09-11 11:25:18 +00:00
08bebab4a6 pkg/metrics: add a panel for sync mutex wait (#56022)
ref pingcap/tidb#55390
2024-09-11 10:34:18 +00:00
b0952038a2 pkg/metrics: add a panel for estimated portion of cpu time (#55401)
ref pingcap/tidb#55390
2024-09-11 09:26:21 +00:00
2e457b394f config: change grpc-keepalive-timeout from uint to float64, for support millisecond timeout (#55985)
close pingcap/tidb#55984
2024-09-11 07:43:14 +00:00
2ea3542218 ddl, stat: switch to new struct for remove partition, flash back and remove DDLEvent (#55973)
ref pingcap/tidb#55723
2024-09-11 05:43:58 +00:00
28b7e3f00e pkg/metrics: introduce a more detailed metrics for Go STW Latency (#55982)
ref pingcap/tidb#55390
2024-09-11 04:15:01 +00:00
2c30f865e3 session: set EnableWindowFunction for all SessionVars (#55991)
close pingcap/tidb#55981
2024-09-10 17:40:54 +00:00
76098f5e16 importinto: check column assignment expressions in import into ... (#55968)
close pingcap/tidb#55497
2024-09-10 17:40:45 +00:00
tpp
d2656d2e9d planner: preference range scan for pseudo (#55633)
close pingcap/tidb#55632
2024-09-10 16:56:26 +00:00
e5aad0260c *: apply prefiltering before json.Unmarshal for information_schema.ddl_jobs table (#55748)
ref pingcap/tidb#55725
2024-09-10 12:03:47 +00:00
e0864c6cf1 expression: let cast function supports explicit set charset (#55724)
close pingcap/tidb#55677
2024-09-10 10:25:23 +00:00
aad3f7ad0f statistics: reorder key and value generic parameters of the heap (#55974)
ref pingcap/tidb#55906
2024-09-10 08:30:56 +00:00