Skip to content

PostgreSQL Module 1: SQL 요청의 전체 경로 완성 #2

Description

@hyunbin1

핵심 질문

클라이언트가 보낸 SQL 한 문장은 PostgreSQL 서버의 어떤 단계와 자료구조를 거쳐 결과가 되는가?

할 일

  • 로컬 PostgreSQL 18 환경 실행 및 정확한 버전 기록
  • 두 세션의 backend PID와 pg_stat_activity 관찰
  • EXPLAIN과 EXPLAIN (ANALYZE, BUFFERS)의 범위 비교
  • PostgresMain에서 Executor까지 실제 함수 경로 추적
  • parse tree, query tree, plan tree의 차이 정리
  • 아직 확인하지 못한 경계와 다음 질문 기록

완료 산출물

  • 호출 흐름 한 장
  • 소스 읽기 노트 한 개
  • 재현 가능한 실험 기록 한 개
  • 다음 모듈로 가져갈 질문 한 개

관련 문서: docs/tracks/postgresql/01-query-lifecycle.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions