Skip to main content
QUICK REVIEW

[논문 리뷰] Cross-Layer Decision Timing Orchestration in Cost-Based Database Systems: Resolving Structural Temporal Misalignment

Ilsun Chang|arXiv (Cornell University)|2026. 02. 27.
Advanced Database Systems and QueriesComputer Science인용 수 0
한 줄 요약

이 논문은 Unified Risk Signal을 통해 옵티마이저에서 실행기로 최종 의사 결정 권한을 이동시키는 런타임 중심의 크로스-레이어 오케스트레이션을 제안하여 불확실성 하에서 꼬리 지연을 개선한다.

ABSTRACT

This paper analyzes execution instability in traditional cost-based database management systems (DBMS) and identifies a structural timing misalignment between optimization and execution stages that contributes to tail-latency amplification. Beyond estimation accuracy and raw execution throughput, we argue that decision timing and the availability of runtime signals materially affect robustness under uncertainty. In conventional DBMS architectures, the optimizer relies on historical statistics, the executor observes runtime data distributions and resource states, and accelerators impose up-front transfer costs and amortization constraints. This temporal asynchrony can lead to rigid early-bound decisions that fail under input-scale shifts or stale statistics. We propose a cross-layer decision timing orchestration framework that shifts final decision authority from the compile-time optimizer to the runtime executor via selective late binding of operator-level choices. A Unified Risk Signal (URS) integrates optimizer uncertainty, execution-time observations, and accelerator cost signals without collapsing them into a single static cost model. Experiments on a modified PostgreSQL prototype evaluate (i) input-scale shift, (ii) stale-statistics drift, and (iii) GPU offload break-even regimes using controlled microbenchmarks. The proposed orchestration improves execution stability, reducing P99 latency by up to 20x under severe estimation drift while maintaining comparable median latency.

연구 동기 및 목표

  • 전통적인 비용 기반 DBMS 아키텍처에서 구조적 시간적 불일치를 식별한다.
  • 옵티마이저에서 실행기로 최종 의사 결정 권한을 재배치하는 크로스-레이어 프레임워크를 제안한다.
  • 런타임 의사 결정을 안내하기 위해 옵티마이저, 실행기, 가속기 관점을 통합하는 Unified Risk Signal을 정의한다.
  • 드리프트, 스케일 시프트, 가속기 상쇄 제약 하에서 실행의 안정성과 꼬리 지연에 대한 접근 방식의 영향을 평가한다.

제안 방법

  • 실행 시점에 소수의 연산자 수준 선택을 선택적으로 최종 확정하기 위한 Late Binding을 도입한다.
  • 다른 시점에서 관찰된 크로스-레이어 위험 신호를 통합하기 위해 Unified Risk Signal R = (R_opt, R_exec, R_acc)을 정의한다.
  • 연산자 경계에서 미리 열거된 전략 버전 간에 전환하는 가벼운 런타임 훅을 구현한다.
  • 입력 크기의 변화, 통계치 드리프트, 가속기 비용에 따른 런타임 변경 임계값을 보정하기 위해 제어된 마이크로벤치마크를 사용한다.
  • 개선된 PostgreSQL 프로토타입에서 Baseline(옵티마이저 중심)과 Independent Gates를 제시된 Cross-Layer Orchestration과 비교한다.

실험 결과

연구 질문

  • RQ1최종 의사 결정 권한을 실행기로 이동시키는 것이 추정 드리프트 및 입력 규모 변화에 대해 꼬리 지연을 줄이고 안정성을 개선할 수 있는가?
  • RQ2Unified Risk Signal이 옵티마이저, 실행기, 가속기 관점에 걸친 런타임 의사 결정을 얼마나 효과적으로 안내할 수 있는가?
  • RQ3연산자 수준 선택으로 한정된 Late-binding이 오버헤드와 실행 로컬성에 어떤 영향을 미치는가?
  • RQ4CPU와 GPU 실행 간의 런타임 파손점이 경험적 비용 모델과 얼마나 근접하게 일치하는가?
  • RQ5도전적인 작업부하에서 중앙값 지연을 보존하면서 P99/P95 꼬리 지연을 감소시키는가?

주요 결과

  • 연산자 수준 선택의 Late binding은 중앙값 지연을 저하시키지 않고도 꼬리 지연을 개선할 수 있다.
  • 오케스트레이션된 시스템은 심각한 추정 드리프트 및 입력 규모 변화 하에서 P99 지연을 최대 20배까지 감소시킨다.
  • 오래된 통계치 하에서 Unified Risk Signal은 더 안정적인 실행 경로를 유도하고 계획 불안정을 완화한다.
  • CPU 대 GPU 오프로드의 손익분기점은 URS에 의해 근접하게 추적되며 차이는 단 2.7%이다.
  • 가속기 인식 결정은 고정된 선불 비용이 아닌 런타임 제약으로 효과적으로 통합된다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.