본문 바로가기

Database

[HANA] HANA DB Startup

DB Startup overview

 

HDB daemon startup overview

 

  • Runlevel 1-2

 

  • Runlevel 3-5

 

 

Indexserver Startup Overview

 

  1. Core/CPU Information Collection



  2. Persistency Initialization




  3. Row Store



  4. Log Replay





  5. DTX (Distributed Transaction) Consistency Check / How it work?
    • DTX Consistency Check : 분산 트랜잭션을 위한 트랜잭션의 정합성 체크
    • Terminology
      • LSN (Log Sequence Number)
        • Log 위치를 가리킴
        • DTX Consistency에서 LSN은 Log Position 대신 사용
      • Master & Slave Volumes : 모든 volume이 분산 트랜잭션과 관련됨
        • Vaious Combination
          • 1node (Master: Master indexserver, Slave: xsengine)
          • 2nodes (Master indexserver, Slave: indexserver, xsengine)
    • How it works?
      • Both Master & Slave sides get LSNs of the slave individually
      • The master compare them
        • Match : Savepoint
        • Mis-Match : Crash








  6. RS Consistency Check


  7. HANA DB is ready - DONE



Ananlysis Tip