Database
[HANA] HANA DB Startup
이반&핫버드
2019. 4. 27. 19:06
DB Startup overview
HDB daemon startup overview
- Runlevel 1-2
- Runlevel 3-5
Indexserver Startup Overview
- Core/CPU Information Collection
- Persistency Initialization
- Row Store
- Log Replay
- 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)
- Vaious Combination
- LSN (Log Sequence Number)
- How it works?
- Both Master & Slave sides get LSNs of the slave individually
- The master compare them
- Match : Savepoint
- Mis-Match : Crash
- RS Consistency Check
- HANA DB is ready - DONE