Skip to content

[CBRD-27040] Document that WITH FULLSCAN falls back to sampling above the heap page limit - #771

Open
Hamkua wants to merge 3 commits into
CUBRID:release/11.4from
Hamkua:CBRD-27040_manual
Open

[CBRD-27040] Document that WITH FULLSCAN falls back to sampling above the heap page limit#771
Hamkua wants to merge 3 commits into
CUBRID:release/11.4from
Hamkua:CBRD-27040_manual

Conversation

@Hamkua

@Hamkua Hamkua commented Sep 3, 2026

Copy link
Copy Markdown

http://jira.cubrid.org/browse/CBRD-27040

CBRD-27040에서 UPDATE STATISTICS ... WITH FULLSCAN이 테이블의 힙 페이지 개수가 stats_fullscan_max_pages(기본 10,000)를 초과하면 칼럼 통계를 샘플링으로 수집하도록 변경되었습니다.

사용자 입장에서는 WITH FULLSCAN을 지정했는데도 Number of Distinct Values가 추정치로 수집되고, 그 사실이 문서에 없으면 통계 값을 전수 집계 결과로 오해할 수 있어 매뉴얼(ko/en)에 반영합니다.

추가한 내용은 다음과 같습니다.

  • 테이블의 힙 페이지 개수가 stats_fullscan_max_pages를 초과하면 WITH FULLSCAN을 지정해도 칼럼 통계가 샘플링한 데이터로 수집되어 Number of Distinct Values가 추정치가 된다는 점
  • 인덱스(B+tree) 통계는 전환 대상이 아니라는 점
  • stats_fullscan_max_pages로 상한을 조정하거나 해제하는 방법
  • 전환 시 클라이언트 에러 로그에 NOTIFICATION 메시지가 기록된다는 점

@greptile-apps

greptile-apps Bot commented Sep 3, 2026

Copy link
Copy Markdown

Reviews (1): Last reviewed commit: "[CBRD-27040] Document that WITH FULLSCAN..." | Re-trigger Greptile

Comment thread en/sql/tuning.rst Outdated
@Hamkua
Hamkua requested a review from shparkcubrid September 3, 2026 05:04
Comment thread ko/sql/tuning.rst Outdated
Comment thread ko/sql/tuning.rst Outdated
@shparkcubrid

Copy link
Copy Markdown
Contributor

11.4 patch 6에만 반영되기 때문에 내용을 수정하기 보다는 알림창등으로 '11.4 patch6 부터는 ~~~' 이런식으로 작성하는게 좋을 것 같습니다.

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

CUBRID Manual Preview is Ready!

All docs (KO/EN) are successfully built and deployed.

Type 🇰🇷 Korean (KO) 🇺🇸 English (EN)
🌐 Web View Docs View Docs
📄 PDF Download Download

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.

4 participants