RATATOSK
← 전체 릴리스

TiKVv8.5.4

호환성 변경 5폐기 예정 1중요 수정 42기능·개선 11의존성 갱신 1기타 50

TiKV 알림 받기

확인할 변경이 있을 때만 주 1회, critical 보안 공지는 즉시 발송

업그레이드 전 확인

전제 조건2
새로 생성한 v8.5.3 클러스터의 원활한 업그레이드

이번 릴리스에서는 시스템 변수와 설정 매개변수의 기본값과 동작을 변경합니다.

Newly created v8.5.3 clusters can be smoothly upgraded to v8.5.4. However, v8.5.4 introduces several default value changes and behavior adjustments for system variables and configuration parameters. Before upgrading, pay attention to the following:
docs.pingcap.com/tidb/stable/release-8.5.4
사용자 지정 TiFlash 및 TiKV 컴팩션 설정을 위한 업그레이드 안내

대부분의 변경 사항은 일반적인 업그레이드에 안전하지만, 이러한 사용자 지정 설정을 사용하는 클러스터는 주의 깊게 검토해야 합니다.

- Most changes are safe for routine upgrades. However, if your cluster has undergone performance tuning, such as customized TiFlash and TiKV compaction configurations, read this section carefully.
docs.pingcap.com/tidb/stable/release-8.5.4

호환성 변경5

tidb_replica_read 읽기 전용 SQL에만 적용

영향 대상tidb_replica_read를 사용하는 SQL 문(추정)
원문 보기
tidb_replica_read Modified Starting from v8.5.4, this variable only takes effect on read-only SQL statements. This improves data read safety and reduces overlaps with other features. #62856 @you06
docs.pingcap.com/tidb/stable/release-8.5.4

CPU 코어 수 기반 server.grpc-raft-conn-num 기본값

영향 대상server.grpc-raft-conn-num의 기본값을 사용하는 TiKV 구성

이전 기본값은 1이었지만, 이제 CPU 코어 수에 따라 MAX(1, MIN(4, CPU cores / 8))을 적용해 연결 수를 조정합니다.

원문 보기
TiKV server.grpc-raft-conn-num Modified Changes the default value from 1 to MAX(1, MIN(4, CPU cores / 8)) , which enables gRPC-related thread settings to adapt to the number of CPU cores. When the number of CPU cores equals or exceeds 32, the maximum default number of connections is 4. #18806 @LykxSassinator
docs.pingcap.com/tidb/stable/release-8.5.4

TiKV의 server.grpc-concurrency 기본값 변경

영향 대상server.grpc-concurrency의 기본값을 사용하는 TiKV 구성

기본값은 5였지만, 해당 기본값을 계속 사용하는 구성에는 이제 grpc-raft-conn-num * 3 + 2가 적용됩니다. 이에 따라 gRPC 관련 스레드 설정이 CPU 코어 수에 맞춰 조정됩니다.

원문 보기
TiKV server.grpc-concurrency Modified Changes the default value from 5 to grpc-raft-conn-num * 3 + 2 , which enables gRPC-related thread settings to adapt to the number of CPU cores. #18806 @LykxSassinator
docs.pingcap.com/tidb/stable/release-8.5.4

SELECT FOR UPDATE 문에서 max_execution_time 적용 수정

영향 대상SELECT FOR UPDATE 문에 max_execution_time을 설정한 환경

이 수정 전에는 SELECT FOR UPDATE 문을 실행할 때 max_execution_time이 적용되지 않았습니다.

원문 보기
- Fix the issue that max_execution_time does not take effect for SELECT FOR UPDATE statements #62960 @ ekexium
docs.pingcap.com/tidb/stable/release-8.5.4

버킷 보고 비활성화 시 버킷 분할 중단

영향 대상버킷 보고를 비활성화하고 버킷 분할을 사용하는 구성(추정)

이 수정 전에는 버킷 보고를 비활성화해도 버킷 분할이 계속 동작했습니다.

원문 보기
- Fix the issue that splitting buckets still works even after bucket reporting is disabled #9726 @ bufferflies
docs.pingcap.com/tidb/stable/release-8.5.4

폐기 예정1

TiKV 자동 컴팩션 설정을 gc.auto-compaction으로 대체

영향 대상region-compact-* 항목 또는 gc.auto-compaction 설정을 사용하는 TiKV 구성(추정)
제거 시점미상

기존에는 region-compact-* 항목이 이 동작을 설정했습니다. 새 설정 그룹이 자동 컴팩션을 제어합니다.

원문 보기
TiKV - region-compact-check-interval
- region-compact-check-step
- region-compact-min-tombstones
- region-compact-tombstones-percent
- region-compact-min-redundant-rows
- region-compact-redundant-rows-percent
Deprecated These configuration items are replaced by the gc.auto-compaction configuration group, which controls the automatic compaction behavior. #18727 @v01dstar
TiKV gc.auto-compaction configuration group: - gc.auto-compaction.check-interval
- gc.auto-compaction.tombstone-num-threshold
- gc.auto-compaction.tombstone-percent-threshold
- gc.auto-compaction.redundant-rows-threshold
- gc.auto-compaction.redundant-rows-percent-threshold
- gc.auto-compaction.bottommost-level-force
Newly added This configuration group controls the automatic compaction behavior. #18727 @v01dstar
docs.pingcap.com/tidb/stable/release-8.5.4

중요 수정42드러나지 않던 결함4

  • 긴 구간의 행 수 과대 추정 수정
    영향 대상수개월 또는 수년에 걸친 행 수 추정치

    이러한 추정치가 실제보다 상당히 높게 나올 수 있었습니다.

    - Fix the issue that row count estimates across months or years can be significantly overestimated #50080 @ terry1purcell
    docs.pingcap.com/tidb/stable/release-8.5.4
  • INFORMATION_SCHEMA 정규식 쿼리 결과 오류 수정
    영향 대상INFORMATION_SCHEMA 쿼리

    정규식을 사용해 INFORMATION_SCHEMA 테이블을 조회하면 잘못된 결과가 반환될 수 있습니다.

    - Fix the issue that queries using regular expressions against INFORMATION_SCHEMA tables might return incorrect results #62347 @ River2000i
    docs.pingcap.com/tidb/stable/release-8.5.4
  • ADMIN ALTER DDL JOBS 매개변수 표시 수정
    영향 대상매개변수를 동적으로 수정하고 ADMIN ALTER DDL JOBS 문을 사용하는 환경

    매개변수를 동적으로 수정한 뒤 ADMIN ALTER DDL JOBS 문에 잘못된 매개변수 값이 표시되는 문제가 있었습니다.

    - Fix the issue that ADMIN ALTER DDL JOBS statements display incorrect parameter values after dynamically modifying parameters #63201 @ fzzf678
    docs.pingcap.com/tidb/stable/release-8.5.4
  • ATAN2 결과 오류 수정
    영향 대상ATAN2 함수를 사용하는 쿼리

    ATAN2를 사용하면 잘못된 결과가 나올 수 있었으며, 이번 릴리스에서 이 동작을 수정했습니다.

    - Fix the issue that using the ATAN2 function might produce incorrect results #60093 @ guo-shaoge
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 바인딩과 함께 set_var 힌트 사용 시 변수 복원 문제 수정
    영향 대상바인딩에서 set_var 힌트를 사용하는 경우

    바인딩과 함께 set_var 힌트를 사용하면 변수가 복원되지 않아 원래 값과 다른 설정을 유지할 수 있었습니다. 이제 이 경우에도 변수가 원래 설정으로 복원됩니다.

    - Fix the issue that using the set_var hint with bindings prevents variables from being restored to their original settings #59822 @ wddevries
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 외부 조인을 내부 조인으로 재작성할 때 발생하는 잘못된 결과 수정드러나지 않던 결함
    영향 대상외부 조인을 내부 조인으로 재작성하는 쿼리

    외부 조인을 내부 조인으로 재작성할 때 잘못된 결과가 나올 수 있었습니다. 이번 릴리스에서 이 문제가 수정되었습니다.

    - Fix the issue that rewriting an outer join to an inner join might produce incorrect results #61327 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 글로벌 인덱스의 잘못된 결과 수정드러나지 않던 결함
    영향 대상글로벌 인덱스를 사용하는 구성

    일부 경우 글로벌 인덱스에서 잘못된 결과가 반환될 수 있었습니다. 이번 릴리스에서 이 문제가 수정되었습니다.

    - Fix the issue that the global index might return incorrect results in some cases #61083 @ Defined2014
    docs.pingcap.com/tidb/stable/release-8.5.4
  • character_set_results 문자 대체 수정드러나지 않던 결함
    영향 대상character_set_results를 사용하는 설정

    이전에는 영향을 받는 문자가 대체되지 않고 잘렸습니다. 이제는 잘리는 대신 대체됩니다.

    - Fix the issue that character_set_results truncates incorrect characters instead of replacing them #61085 @ xhebox
    docs.pingcap.com/tidb/stable/release-8.5.4
  • TSO HTTP API의 잘못된 결과 수정
    영향 대상TSO HTTP API의 /config 또는 /members 엔드포인트를 사용하는 환경

    이 릴리스 이전에는 해당 엔드포인트가 잘못된 결과를 반환했습니다.

    - Fix the issue that the TSO HTTP API /config and /members return incorrect results #9797 @ lhy1024
    docs.pingcap.com/tidb/stable/release-8.5.4
  • TiFlash RU 사용량 통계 과대 집계 수정
    영향 대상RU 사용량 통계를 생성하는 TiFlash 환경(추정)

    TiFlash가 RU 사용량 통계를 생성할 때 보고된 값이 실제보다 높게 나왔습니다.

    - Fix the issue that TiFlash generates inflated statistics for RU consumption #10380 @ JinheLin
    docs.pingcap.com/tidb/stable/release-8.5.4
  • FLOOR() 및 CEIL()의 DECIMAL 결과 수정드러나지 않던 결함
    영향 대상DECIMAL 매개변수로 FLOOR() 또는 CEIL()을 사용하는 TiFlash 구성

    DECIMAL 매개변수로 호출하면 이 함수들이 잘못된 결과를 반환할 수 있었습니다. 이제 올바른 결과를 반환합니다.

    - Fix the issue that the FLOOR() and CEIL() functions might return incorrect results when their parameters are of the DECIMAL type #10365 @ ChangRui-Ryan
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 복원 후 mysql.stats_meta의 count 값이 0이 되는 문제 수정
    영향 대상--checksum을 false로 설정해 만든 백업

    복원 후 mysql.stats_meta의 count 컬럼 값이 0이 될 수 있었습니다. 이번 릴리스에서 이 문제가 수정되었습니다.

    - Fix the issue that setting --checksum to false during backup might cause the count column in the mysql.stats_meta table to become 0 after restore #60978 @ Leavrth
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 로그 백업의 zstd 압축 복구
    영향 대상기본 zstd fastest 설정으로 로그 백업을 사용하는 TiKV 구성

    로그 백업에서 기본 알고리즘으로 zstd fastest를 사용할 때, async-compression v0.4.12의 음수 기본 레벨로 인해 zstd 압축이 비활성화되거나 효과가 없었습니다.

    - tikv/tikv#18836
    - Fix the issue that zstd compression in log backup does not take effect, causing the output to remain uncompressed #18836 @ 3pointer
    github.com/tikv/tikv/releases/tag/v8.5.4
  • Azure Blob 백업 플러시 지연 수정
    영향 대상업로드 데이터가 메모리가 아닌 소스에서 읽히는 Azure Blob Storage 백업 구성

    Azure Blob Storage에 백업하는 동안 400 MiB 플러시에 약 17분이 걸리고 CPU 코어 하나를 전부 사용할 수 있었습니다.

    - tikv/tikv#18410
    - Fix the issue that the flush operation occasionally becomes slow when backing up data to Azure Blob Storage #18410 @ YuJuncen
    github.com/tikv/tikv/releases/tag/v8.5.4
  • GC 세이프 포인트를 사용하는 컴팩션 점수 산정
    영향 대상GC 세이프 포인트와 관련해 컴팩션 점수를 계산하는 TiKV 구성(추정)

    MVCC 중복도는 GC 세이프 포인트와 RocksDB 통계를 사용해 계산되므로 컴팩션 점수 산정의 효율성과 정확성이 개선됩니다.

    - tikv/tikv#18697
    - Calculate MVCC redundancy based on GC safe points and RocksDB statistics to improve the efficiency and accuracy of compaction #18697 @ v01dstar
    github.com/tikv/tikv/releases/tag/v8.5.4
  • 로그 백업 리전 관측 누락 수정
    영향 대상로그 백업 설정

    새 로그 백업 작업을 초기화하는 동안 리전이 리더가 되면, Start와 Stop observe 메시지의 순서가 바뀌어 해당 리전에 대한 관측이 누락될 수 있었습니다. 이로 인해 오래된 observe ID 오류가 발생하고 진행 상황이 더는 갱신되지 않았습니다. 이제 옵저버는 이 상황에서도 해당 리전을 계속 관측합니다.

    - tikv/tikv#18243
    - Fix the issue that log backup observer might lose the observation on a Region, causing the log backup progress to fail to advance #18243 @ Leavrth
    github.com/tikv/tikv/releases/tag/v8.5.4
  • TiKV CDC 어설션 패닉 수정
    영향 대상TiKV CDC를 사용하는 구성

    TiKV v8.5.1에서는 CDC 처리 경로에서 타임스탬프가 일치하지 않을 때 어설션이 발생할 수 있었고, 이로 인해 TiCDC가 패닉할 수 있었습니다.

    - tikv/tikv#18498
    - Fix the issue that assertion errors in TiKV might cause TiCDC to panic #18498 @ tharanga
    github.com/tikv/tikv/releases/tag/v8.5.4
  • CDC 리전 구독 패닉 수정
    영향 대상CDC를 사용하는 구성

    키 롤백과 prewrite 항목 사이에 리전을 구독하면 CDC에서 이론적으로 패닉이 발생할 수 있었습니다. 이슈 보고서에 따르면 실제로는 발생하지 않았습니다.

    - tikv/tikv#19048
    - Fix the issue that TiCDC might panic when encountering rollback and prewrite entries during Region subscription #19048 @ 3AceShowHand
    github.com/tikv/tikv/releases/tag/v8.5.4
  • 인덱스 관련 DDL의 ANALYZE 지원
    영향 대상tidb_stats_update_during_ddl을 활성화한 TiDB 환경

    새 인덱스가 표시되거나 재구성된 인덱스가 다시 표시되기 전에 TiDB가 ANALYZE를 실행합니다. 이를 통해 통계를 사용할 수 없는 동안 옵티마이저 추정치가 부정확해지거나 실행 계획이 바뀌는 일을 줄입니다. 이 변수는 기본적으로 OFF이며, 활성화하면 대형 테이블에서 ADD INDEX 실행 시간이 늘어날 수 있습니다.

    - Support ANALYZE embedded in DDL statements #57948 @ terry1purcell @ AilinKid
    This feature applies to the following types of DDL statements:
    - DDL statements that create new indexes: ADD INDEX
    - DDL statements that reorganize existing indexes: MODIFY COLUMN and CHANGE COLUMN
    When this feature is enabled, TiDB automatically runs an ANALYZE (statistics collection) operation before the new or reorganized index becomes visible to users. This prevents inaccurate optimizer estimates and potential plan changes caused by temporarily unavailable statistics after index creation or reorganization.
    For more information, see documentation .
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 자동 복구 가능한 BR 백업 오류의 WARN 기록
    영향 대상BR 백업 작업

    backup snapshot failed 및 backup writer failed 같은 상황에서 자동으로 복구할 수 있는 오류가 이전에는 ERROR 수준으로 기록됐습니다. 이런 상황은 오류 수준으로 처리할 사안이 아니며 수동 조작도 필요하지 않습니다.

    - Change the log level of certain automatically recoverable errors in the BR module from ERROR to WARN to reduce unnecessary alerts #18493 @ YuJuncen
    - tikv/tikv#18493
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 일부 TiKV 오류의 로그 수준을 WARN으로 조정
    영향 대상영향을 받는 오류를 출력하는 TiKV 구성

    해당 오류가 발생하면 이전에는 ERROR 수준으로 기록했지만, 이제 WARN 수준으로 기록해 불필요한 알림을 줄입니다.

    - Change the log level of certain TiKV errors from ERROR to WARN to reduce unnecessary alerts #18745 @ exit-code-1
    docs.pingcap.com/tidb/stable/release-8.5.4
  • TRUNCATE() short path 처리 오류 수정
    영향 대상TRUNCATE()에서 short path를 사용하는 쿼리(추정)
    - Fix the issue that the short path in the TRUNCATE() function is incorrectly processed #57608 @ xzhangxian1008
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 로컬 임시 공간 할당량 초과 오류 발생 시 스필 파일 정리 수정
    영향 대상파일을 스필하는 환경

    로컬 임시 공간 할당량 초과 오류가 발생하면 스필 파일이 완전히 삭제되지 않을 수 있었습니다.

    - Fix the issue that spilled files might not be fully deleted when the Out Of Quota For Local Temporary Space error is triggered #63216 @ xzhangxian1008
    docs.pingcap.com/tidb/stable/release-8.5.4
  • PD 타임스탬프 조회 실패 시 TiDB 오류 보고 수정
    영향 대상PD에서 타임스탬프를 가져오는 TiDB 구성

    이전에는 TiDB가 PD에서 타임스탬프를 가져오지 못해도 오류를 반환하지 않았습니다.

    - Fix the issue that TiDB does not return an error when it fails to get a timestamp from PD #58871 @ joechenrh
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 오너와 비오너 TiDB 인스턴스 간 쿼리 결과 불일치 수정
    영향 대상오너 및 비오너 TiDB 인스턴스에서 실행하는 MODIFY COLUMN 문

    MODIFY COLUMN 문을 실행할 때 오너 TiDB 인스턴스와 비오너 TiDB 인스턴스 간 쿼리 결과가 달랐습니다.

    - Fix the issue that query results differ between the owner TiDB and non-owner TiDB instances during executing MODIFY COLUMN statements #60264 @ tangenta
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 트랜잭션에서 인덱스 추가 시 GC safe point 전진 문제 수정
    영향 대상인덱스를 추가하는 트랜잭션

    트랜잭션 내에서 인덱스를 추가해도 GC safe point가 앞으로 이동하지 않았습니다.

    - Fix the issue that the GC safe point does not advance when adding an index within a transaction #62424 @ wjhuang2016
    docs.pingcap.com/tidb/stable/release-8.5.4
  • DXF 작업 취소 시 종료 실패 수정
    영향 대상DXF를 사용하는 구성

    DXF 작업이 취소되었을 때 다른 작업이 실행 중이면 해당 작업들이 종료되지 않는 문제가 있었습니다.

    - Fix the issue that after the DXF task is canceled, other tasks fail to exit #63927 @ D3Hunter
    docs.pingcap.com/tidb/stable/release-8.5.4
  • Apply 오퍼레이터 계획 생성 실패 수정
    영향 대상Apply 오퍼레이터 동시성을 켜고 tidb_enable_parallel_apply = on으로 설정한 환경

    tidb_enable_parallel_apply = on으로 설정하면 Apply 오퍼레이터의 동시성 경로에 clone 구현이 없어 계획 생성에 실패했습니다.

    - Fix the issue that enabling the Apply operator concurrency ( tidb_enable_parallel_apply = on ) causes plan generation failure due to a missing clone implementation #59863 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-8.5.4
  • ONLY_FULL_GROUP_BY 검사의 대소문자 비구분 동작 수정
    영향 대상ONLY_FULL_GROUP_BY 검사(추정)

    검사가 입력의 대소문자에 따라 동작이 달라지는 경우에도 대소문자를 구분하지 않았습니다. 이 동작은 수정됐지만, 노트에는 변경 후 동작이 명시되어 있지 않습니다.

    - Fix the issue that the ONLY_FULL_GROUP_BY check is case-insensitive #62672 @ AilinKid
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 일부 쿼리 실행 시 내부 패닉 발생 문제 수정
    영향 대상영향을 받는 쿼리를 실행하는 환경

    일부 쿼리를 실행하면 내부 패닉이 발생할 수 있었습니다. 릴리스 노트에는 어떤 쿼리인지 나와 있지 않습니다.

    - Fix the issue that executing certain queries might cause an internal panic #58600 @ Defined2014
    docs.pingcap.com/tidb/stable/release-8.5.4
  • ALTER PARTITION 중 글로벌 인덱스 조회 오류 수정
    영향 대상글로벌 인덱스를 사용하고 ALTER PARTITION 작업을 수행하는 환경

    일부 ALTER PARTITION 작업 중 글로벌 인덱스가 잘못된 데이터를 반환할 수 있었습니다. 이번 릴리스에서 해당 조회 문제가 수정되었습니다.

    - Fix the issue that the global index might read incorrect data during certain ALTER PARTITION operations #64084 @ mjonss
    docs.pingcap.com/tidb/stable/release-8.5.4
  • Resource Manager 토큰 할당 수정
    영향 대상Resource Manager를 사용하는 구성(추정)

    Resource Manager가 토큰을 잘못 할당하면 쿼리가 멈출 수 있었습니다.

    - Fix the issue that the Resource Manager incorrectly allocates tokens, causing queries to be stuck #9455 @ JmPotato
    docs.pingcap.com/tidb/stable/release-8.5.4
  • PD 리더 전환 후 Placement Rules 미적용 문제 수정
    영향 대상Placement Rules를 사용하는 구성

    PD 리더가 전환될 때 Placement Rules가 적용되지 않던 문제를 수정했습니다.

    - Fix the issue that Placement Rules do not take effect after PD leader switches #9602 @ okJiang
    docs.pingcap.com/tidb/stable/release-8.5.4
  • PD의 큰 과학적 표기법 숫자 파싱 오류 수정
    영향 대상과학적 표기법으로 표기된 큰 숫자 값이 포함된 TTL 관련 설정

    PD가 과학적 표기법으로 표시된 큰 숫자 값을 파싱하지 못해 TTL 관련 설정 일부가 적용되지 않을 수 있었습니다.

    - Fix the issue that PD might fail to parse large numeric values in scientific notation, which consequently causes some TTL-related configurations to not take effect #9343 @ lhy1024
    docs.pingcap.com/tidb/stable/release-8.5.4
  • TiFlash 메모리 부족 문제 수정
    영향 대상스토리지와 컴퓨트가 분리된 TiFlash

    느린 쿼리가 있으면 TiFlash에서 메모리가 부족해질 수 있었습니다. 이번 릴리스에서 이 문제가 수정되었습니다.

    - Fix the issue that TiFlash might encounter OOM when slow queries exist under the disaggregated storage and compute architecture #10278 @ JaySon-Huang
    docs.pingcap.com/tidb/stable/release-8.5.4
  • S3 사용 시 TiFlash 무한 재시도 수정
    영향 대상S3를 사용하는 스토리지·컴퓨팅 분리형 구성의 TiFlash 배포

    TiFlash와 S3 사이에 네트워크 분할이 발생하면 TiFlash가 무한정 재시도할 수 있었습니다. 이 무한 재시도 동작을 수정했습니다.

    - Fix the issue that TiFlash might retry indefinitely when a network partition occurs between TiFlash and S3 under the disaggregated storage and compute architecture #10424 @ JaySon-Huang
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 파일 삭제 실패 시 로그 절단 문제 수정
    영향 대상파일 삭제가 포함된 로그 작업(추정)

    파일 삭제에 실패하면 로그가 잘릴 수 있었습니다.

    - Fix the issue that log truncate might occur when file deletion fails #63358 @ YuJuncen
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 대역폭 제한 S3 호환 스토리지의 BR 복원 실패 위험 감소
    영향 대상대역폭 제한이 활성화된 S3 호환 스토리지 서비스

    스트림 정체 보호 기능이 다운로드 요청을 종료할 수 있었고, 이로 인해 다운로드가 처음부터 다시 시작된 뒤 “streaming error”로 실패할 수 있었습니다. 이번 릴리스에서는 이러한 복원 실패 가능성을 낮추지만 완전히 없애지는 않습니다.

    - Reduce the possibility of BR failing to restore data from S3-compatible storage services when the bandwidth limits on these services are enabled #18846 @ kennytm
    - tikv/tikv#18846
    docs.pingcap.com/tidb/stable/release-8.5.4
  • TiCDC 컬럼 타입 파티션 디스패처 패닉 수정
    영향 대상가상 컬럼을 사용하는 TiCDC 컬럼 타입 파티션 디스패처
    - Fix a panic that could occur when configuring a column-type partition dispatcher that includes virtual columns #12241 @ wk989898
    docs.pingcap.com/tidb/stable/release-8.5.4
  • DDL puller 종료 시 패닉 수정
    영향 대상DDL puller를 닫는 TiCDC 환경

    DDL puller를 닫을 때 패닉이 발생할 수 있었습니다. 이번 릴리스부터는 닫아도 패닉이 발생하지 않습니다.

    - Fix a panic that could occur when closing the DDL puller #12244 @ wk989898
    docs.pingcap.com/tidb/stable/release-8.5.4
  • Azure Blob Storage 체인지피드 태스크 정체 문제 수정
    영향 대상Azure Blob Storage를 다운스트림으로 사용하는 TiCDC 체인지피드

    이 구성에서는 태스크가 멈출 수 있었으며, 이번 릴리스에서 해당 문제를 해결합니다.

    - Fix the issue that changefeed tasks might get stuck when using Azure Blob Storage as the downstream #12277 @ zurakutsia
    docs.pingcap.com/tidb/stable/release-8.5.4
  • TiCDC의 DROP FOREIGN KEY DDL 복제 수정
    영향 대상TiCDC를 사용해 다운스트림으로 DDL을 복제하는 환경(추정)

    DROP FOREIGN KEY DDL을 다운스트림으로 복제할 때 해당 DDL이 전송되지 않았습니다. 이제 복제됩니다.

    - Fix the issue that DROP FOREIGN KEY DDL is not replicated to the downstream #12328 @ 3AceShowHand
    docs.pingcap.com/tidb/stable/release-8.5.4

기능·개선11

  • gRPC 과부하 대기 시간 메트릭
  • 테이블별 분포 점검 및 재분배

    사용 조건 v8.5.4 이상

    - Support redistributing data of a specific table (experimental) #63260 @ bufferflies
    PD automatically schedules data to be distributed as evenly as possible across all TiKV nodes in a cluster. However, this automatic scheduling focuses on the cluster as a whole. In some cases, even if the cluster-wide data distribution is balanced, the data of a specific table might still be unevenly distributed across TiKV nodes.
    Starting from v8.5.4, you can use the SHOW TABLE DISTRIBUTION statement to check how the data of a specific table is distributed across all TiKV nodes. If the data distribution is unbalanced, you can use the DISTRIBUTE TABLE statement to redistribute the table's data (experimental) to improve load balancing.
    Note that redistributing the data of a specific table is a one-time task with a timeout limit. If the distribution task is not completed before the timeout, it will automatically exit.
    docs.pingcap.com/tidb/stable/release-8.5.4
  • TiDB, 파티션 테이블의 비고유 컬럼에 글로벌 인덱스 지원 추가

    사용 조건 TiDB v8.5.4 이상

    - Support creating global indexes on non-unique columns of partitioned tables #58650 @ Defined2014 @ mjonss
    Starting from v8.3.0, you can create global indexes on unique columns of partitioned tables in TiDB to improve query performance. However, creating global indexes on non-unique columns was not supported. Starting from v8.5.4, TiDB removes this restriction, enabling you to create global indexes on non-unique columns of partitioned tables, which enhances the usability of global indexes.
    For more information, see documentation .
    docs.pingcap.com/tidb/stable/release-8.5.4
  • 선택적으로 사용할 수 있는 재설계된 TiCDC 아키텍처

    사용 조건 TiCDC 설정 항목 newarch를 true로 설정

    - Introduce a new TiCDC architecture option for improved performance, scalability, and stability #442 @ CharlesCheung96
    This new architecture redesigns TiCDC core components and optimizes its data processing workflows, while maintaining compatibility with the configuration, usage, and APIs of the classic TiCDC architecture .
    When configured to use this new architecture, TiCDC achieves near-linear scalability and can replicate millions of tables with lower resource consumption. It also reduces changefeed latency and delivers more stable performance in scenarios with high write workloads, frequent DDL operations, and cluster scaling. Note that the new architecture currently has some initial limitations .
    To use the new architecture, set the TiCDC configuration item newarch to true .
    For more information, see documentation .
    docs.pingcap.com/tidb/stable/release-8.5.4
  • SELECT 목록 서브쿼리 비상관화 제어 변수 추가
    tidb_opt_enable_no_decorrelate_in_select Newly added Controls whether to decorrelate subqueries in the SELECT list. The default value is OFF . #51116 @terry1purcell
    docs.pingcap.com/tidb/stable/release-8.5.4
  • EXISTS 서브쿼리 재작성 제어 시스템 변수 추가
    tidb_opt_enable_semi_join_rewrite Newly added Controls whether to rewrite EXISTS subqueries. The default value is OFF . #44850 @terry1purcell
    docs.pingcap.com/tidb/stable/release-8.5.4
  • ADD INDEX 중 내장 ANALYZE
    tidb_stats_update_during_ddl Newly added Controls whether to enable ANALYZE Embedded in DDL Statements . The default value is OFF . When it is enabled, the ADD INDEX DDL statement collects statistics for the new index during execution, allowing the optimizer to use the index immediately after it is added. Note that enabling this variable might increase DDL execution time when adding indexes to large tables. #57948 @terry1purcell @AilinKid
    docs.pingcap.com/tidb/stable/release-8.5.4
  • IN 서브쿼리 세미 조인에서 semi_join_rewrite 지원

    사용 조건 semi_join_rewrite 힌트를 IN 서브쿼리의 세미 조인에 적용

    - Support applying the semi_join_rewrite hint to Semi Joins in IN subqueries #58829 @ qw4990
    docs.pingcap.com/tidb/stable/release-8.5.4
  • Grafana SQL Execute Time Overview 패널에 백오프 메트릭 추가
    - Add the backoff metric to the Performance Overview > SQL Execute Time Overview panel in Grafana to facilitate debugging #61441 @ dbsid
    docs.pingcap.com/tidb/stable/release-8.5.4
  • scatter-role 및 엔진 차원에서의 PD 테이블 단위 Region 분산
    - Support scattering Regions at the table level to achieve balanced distribution across scatter-role and engine dimensions #8986 @ bufferflies
    docs.pingcap.com/tidb/stable/release-8.5.4
  • TiCDC의 지원되지 않는 DDL 유형 필터링 지원

    사용 조건 필터 설정의 ignore-txn-start-ts 매개변수

    - Support filtering unsupported DDL types through the ignore-txn-start-ts parameter in the filter configuration #12286 @ asddongmen
    docs.pingcap.com/tidb/stable/release-8.5.4

의존성 갱신1

    그 외 1건 · 보안 언급 없음
    • - Upgrade the Golang version from 1.23.0 to 1.23.12 and update related dependencies #9788 @ JmPotato
    기타50
    • cleanup_worker에 중복 컴팩션 작업 큐잉
    • SST 수집 호환성 가드 동작
    • Titan 리전 크기 추정 문제 안내
    • IMPORT INTO 정리 실패 문제 기록
    • 느린 Tick(CompactCheck) 처리 사례
    • 리소스 컨트롤 자동 우선순위 제한기의 읽기 지연
    • SST 파일 수 증가에 따른 비동기 스냅샷 테일 레이턴시
      - tikv/tikv#18743
      - Optimize the tail latency of async snapshot and write operations in environments with a large number of SST files #18743 @ Connor1996
      github.com/tikv/tikv/releases/tag/v8.5.4
    • BR 복원 다운로드 실패 로그 문제
    • RocksDB 기본 매니페스트 크기 상향 제안
    • 스토어 크기 보고의 잦은 실행 문제 기록
    • SST 임포터 캐시 데드락 문제 보고
    • tikv-cdc 어설션 실패로 패닉 발생
    • RawRecords top-N 집계 제안
    • TiKV RocksDB 쓰기 크래시 문제 보고
    • TiFlash MPP 태스크의 graceful shutdown
      - Support gracefully shutting down TiFlash #10266 @ gengliqi
      When shutting down a TiFlash server, TiFlash now lets currently running MPP tasks continue for a configurable timeout duration, while rejecting new MPP task requests. The default timeout duration is 600 seconds, and you can adjust it using the flash.graceful_wait_shutdown_timeout configuration item.
      - If all running MPP tasks finish before the timeout duration expires, TiFlash shuts down immediately.
      - If there are still unfinished MPP tasks when the timeout duration expires, TiFlash shuts down forcibly.
      For more information, see documentation .
      TiFlash flash.graceful_wait_shutdown_timeout Newly added Controls the maximum wait time (in seconds) for a graceful TiFlash shutdown. The default value is 600 . When shutting down TiFlash, it continues executing unfinished MPP tasks but no longer accepts new MPP tasks. If all MPP tasks finish before the timeout, TiFlash shuts down immediately; otherwise, it is forcibly shut down after the timeout expires. #10266 @gengliqi
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiDB의 새 TiFlash 노드 쿼리 전 기본 대기 제거
      tidb_mpp_store_fail_ttl Modified Changes the default value from 60s to 0s . This means TiDB no longer needs to wait before sending queries to newly started TiFlash nodes, as delays are no longer necessary to prevent query failures. #61826 @gengliqi
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiKV의 rocksdb.max-manifest-file-size 기본값 상향
      TiKV rocksdb.max-manifest-file-size Modified Changes the default value from 128MiB to 256MiB to avoid frequent manifest file compactions that could affect overall performance when a single TiKV node contains a large number of SST files. #18889 @glorv
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiCDC에 scheduler.region-count-per-span 테이블 분할 설정 추가
      TiCDC scheduler.region-count-per-span Newly added Introduced in the TiCDC new architecture . During changefeed initialization, TiCDC splits tables that meet the split conditions according to this parameter. Each split sub-table contains at most region-count-per-span Regions. The default value is 100 .
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiDB의 초과 자릿수 DECIMAL 삽입 허용 및 절삭
      Starting from v8.5.4, TiDB aligns its behavior with MySQL when inserting data into a DECIMAL column: if the number of decimal places exceeds the column's defined scale, TiDB automatically truncates the extra digits and inserts the truncated data successfully, regardless of how many extra decimal places there are. In earlier TiDB versions, if the number of decimal places in the inserted DECIMAL value exceeded 72, the insertion fails and returns an error. For more information, see Connect to TiDB using JDBC .
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiDB 추정 전략 최적화
      - Optimize the estimation strategy when the tidb_opt_ordering_index_selectivity_ratio system variable takes effect #62817 @ terry1purcell
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiDB 옵티마이저의 인덱스 선택 로직 조정
      - Adjust the optimizer selection logic to make newly created indexes more likely to be chosen in certain scenarios #57948 @ terry1purcell
      docs.pingcap.com/tidb/stable/release-8.5.4
    • 고유 값 수가 적은 컬럼의 TiDB 쿼리 추정 최적화
      - Optimize the query estimation logic for columns with a small number of distinct values (NDV) #61792 @ terry1purcell
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiDB Index Join 쿼리의 LIMIT OFFSET 추정치 최적화
      - Optimize the estimation strategy for Index Join queries that include LIMIT OFFSET #45077 @ qw4990
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiDB 범위 밖 추정 최적화
      - Optimize the out-of-range estimation strategy when statistics are not collected in time #58068 @ terry1purcell
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiDB 감사 로그에 statement ID 정보 추가
      - Add statement ID information to the audit log plugin #63525 @ YangKeao
      docs.pingcap.com/tidb/stable/release-8.5.4
    • Raft GC 검사 2단계 분리
      - Split the GC check process in the Raft module into two phases to improve the efficiency of garbage collection for redundant MVCC versions in Regions #18695 @ v01dstar
      - tikv/tikv#18695
      docs.pingcap.com/tidb/stable/release-8.5.4
    • Region MVCC GC 처리 경로를 GC 워커 스레드로 이전
      - Change the GC handling logic for Region MVCC to be executed by GC worker threads, unifying the overall GC processing logic #18727 @ v01dstar
      docs.pingcap.com/tidb/stable/release-8.5.4
    • 기본 gRPC 스레드 풀 크기의 CPU 할당량 연동
      - Optimize the calculation method of the default gRPC thread pool size by making it dynamically calculated based on total CPU quota instead of a fixed value, avoiding performance bottlenecks caused by insufficient gRPC threads #18613 @ LykxSassinator
      docs.pingcap.com/tidb/stable/release-8.5.4
    • PD의 불필요한 오류 로그 출력 감소
      - Reduce unnecessary error logs #9370 @ bufferflies
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiFlash의 TableScan에서 불필요한 읽기 생략
      - Skip unnecessary data reads to improve TableScan performance #9875 @ gengliqi
      docs.pingcap.com/tidb/stable/release-8.5.4
    • 열이 많고 데이터가 희소한 테이블의 TiFlash TableScan 성능 최적화
      - Optimize TableScan performance on wide tables with many columns and sparse data (that is, lots of NULL or empty values) in TiFlash #10361 @ JaySon-Huang
      docs.pingcap.com/tidb/stable/release-8.5.4
    • 벡터 인덱스 추가 시 TiFlash CPU 오버헤드 감소
      - Reduce TiFlash CPU overhead caused by adding vector indexes in clusters with many tables #10357 @ Lloyd-Pottiger
      docs.pingcap.com/tidb/stable/release-8.5.4
    • 불필요한 Raft 명령으로 인한 TiFlash 로그 감소
      - Minimize unnecessary log output when processing useless Raft commands to reduce log volume #10467 @ JaySon-Huang
      docs.pingcap.com/tidb/stable/release-8.5.4
    • 규모가 작은 파티션 테이블의 TiFlash TableScan 성능 개선
      - Improve TableScan performance on small partitioned tables in TiFlash #10487 @ JaySon-Huang
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiDB Data Migration의 대소문자 구분 없는 업스트림 GTID_MODE 매칭
      - Support case-insensitive matching when retrieving the upstream GTID_MODE #12167 @ OliverS929
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiFlash 격리 읽기에서 USE INDEX 힌트가 적용되지 않던 문제 수정
      - Fix the issue that the use index hint does not take effect when tidb_isolation_read_engines is set to tiflash #60869 @ Lloyd-Pottiger
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiDB prepared statement의 Decimal 처리 수정
      - Fix the issue that the handling of Decimal types in prepared statements is inconsistent with MySQL #62602 @ ChangRui-Ryan
      docs.pingcap.com/tidb/stable/release-8.5.4
    • L0에 지나치게 큰 SST 파일을 ingest할 때 발생하는 플로 컨트롤 수정
      - Fix the issue that ingesting excessively large SST files into L0 triggers flow control #63466 @ CbcWestwolf
      docs.pingcap.com/tidb/stable/release-8.5.4
    • CPU 대 메모리 비율이 1:2일 때 글로벌 정렬 수정
      - Fix the issue that global sorting is blocked when the CPU-to-memory ratio is 1:2 #60951 @ wjhuang2016
      docs.pingcap.com/tidb/stable/release-8.5.4
    • 대기 중인 DXF 작업 취소 수정
      - Fix the issue that pending Distributed eXecution Framework (DXF) tasks cannot be canceled when the number of tasks exceeds 16 #63896 @ D3Hunter
      docs.pingcap.com/tidb/stable/release-8.5.4
    • select 1 from dual에 인스턴스 수준 플랜 캐시 활성화
      - Fix the issue that select 1 from dual cannot use the instance-level plan cache #63075 @ time-and-fate
      docs.pingcap.com/tidb/stable/release-8.5.4
    • 쿼리 조인 순서 변경 시 발생하던 플래너 오류 수정
      - Fix the issue that changing the join order might cause the planner to fail #61715 @ hawkingrei
      docs.pingcap.com/tidb/stable/release-8.5.4
    • ONLY_FULL_GROUP_BY 음수 값 검증 실패 수정
      - Fix the issue that setting ONLY_FULL_GROUP_BY to a negative value causes validation failure #62617 @ AilinKid
      docs.pingcap.com/tidb/stable/release-8.5.4
    • DP 조인 순서 알고리즘의 잘못된 실행 계획 수정
      - Fix the issue that the DP join order algorithm might generate an incorrect plan #63353 @ winoros
      docs.pingcap.com/tidb/stable/release-8.5.4
    • 동시 ADD COLUMN 및 UPDATE 실행 시 발생하는 오류 수정
      - Fix the issue that running ADD COLUMN and UPDATE statements concurrently might cause errors #60047 @ L-maple
      docs.pingcap.com/tidb/stable/release-8.5.4
    • Merge Join의 필터 조건 비용 계산 수정
      - Fix the issue that Merge Join might omit filter conditions when calculating costs #62917 @ qw4990
      docs.pingcap.com/tidb/stable/release-8.5.4
    • PD Client 재시도 전략 초기화 수정
      - Fix the issue that the PD Client retry strategy is not initialized correctly #9013 @ rleungx
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TSO Follower Proxy 오류 처리 수정
      - Fix the incorrect error handling logic of TSO Follower Proxy #9188 @ Tema
      docs.pingcap.com/tidb/stable/release-8.5.4
    • TiFlash 쿼리 실패 수정
      - Fix the issue that queries might fail when queried columns contain a large number of NULL values #10340 @ Lloyd-Pottiger
      docs.pingcap.com/tidb/stable/release-8.5.4
    • 특수 스키마가 포함된 경우 복원 지점 생성 실패 수정
      - Fix the issue that causes restore point creation to fail when backed-up tables include certain special schemas #63663 @ RidRisR
      docs.pingcap.com/tidb/stable/release-8.5.4

    정리 내용은 AI가 작성하므로 틀릴 수 있으며, 보증 없이 제공합니다.