Skip to content

docs(decisions): #276 ㄷ(자연키 PK) 비용 측정 착수 — 설계 §5 - #841

Merged
Khyojae merged 1 commit into
mainfrom
docs/r276-natural-pk-cost-design
Nov 7, 2026
Merged

Khyojae merged 1 commit into
mainfrom
docs/r276-natural-pk-cost-design

Conversation

@Khyojae

@Khyojae Khyojae commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

docs/decisions/r276-lock-root-cause-fix.md §4-2 를 닫고 §5 측정 설계를 추가한다(사용자 confirm 2026-11-08).

  • 팔: A(지금 · RC) · B(자연키 PK + KEY(id)) · B′(B − idx_session_timestamp)
  • ① 삽입 처리량 — 메모리 안 · 버퍼풀 초과 × 동시 세션 68·675(피크 동시 가정에서), c7i.xlarge(08-23 uk-bufferpool 과 나란히)
  • ② PK 재구성 — 1,000만 행, INPLACE 가능 여부 사전 확인 → INPLACE/COPY vs pt-osc, m6i.xlarge(08-12 online-ddl 과 나란히)
  • ③ 세션 단위 읽기 — ② 무대 재사용, 차가운/데운 버퍼풀

rig 는 아직 없다 — 다음 PR.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • 문서
    • 자연키 비용 측정의 착수 상태를 완료로 변경하고, 측정 범위와 장비·규모 등 설계를 문서화했습니다.
    • 설계 확정 내용과 후속 작업을 결정 로그에 반영했습니다.

팔 A(지금)·B(자연키 PK)·B′(B − idx_session_timestamp). ① 삽입 처리량(메모리 안 · 버퍼풀 초과 × 동시 세션 68·675,
c7i.xlarge — 08-23 흩어진 삽입과 나란히) ② PK 재구성(1,000만 행, INPLACE 가능 여부부터, m6i.xlarge — 08-12 와 나란히)
③ 세션 단위 읽기(② 무대 재사용). 사용자 confirm 2026-11-08.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

결정 문서에서 ㄷ 비용 측정의 착수 상태를 갱신하고, 비교할 스키마와 측정 항목, 환경 및 확정된 범위를 기록했습니다.

Changes

ㄷ 비용 측정

Layer / File(s) Summary
측정 상태 및 설계 기록
docs/decisions/r276-lock-root-cause-fix.md
측정 착수를 완료로 기록하고 A, B, B′의 비교 설계와 측정 항목 및 장비를 명시했습니다. 결정 로그에 §5 설계 범위의 확정 내용과 다음 단계를 추가했습니다.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

  • Shadowfit/init#819: 같은 결정 문서의 선행 변경입니다. 해당 PR에서 기록한 natural_pk 및 natural_pk_keep_id 실험 팔이 이 문서의 비교 설계로 이어집니다.
Merge Risk: Low · up to a73f8

This documentation-only change is mergeable with bounded follow-up. Clarify the confirmed status and measurement prerequisites before implementing the rig, so invalid probes or uncontrolled conditions do not compromise the comparison.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Khyojae

Khyojae commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Action not completed

Pull request is closed.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@Khyojae
Khyojae merged commit 43095bb into main Nov 7, 2026
1 of 2 checks passed
@Khyojae
Khyojae deleted the docs/r276-natural-pk-cost-design branch November 7, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant