Inside The PBXT Storage Engine Presentation
Inside The PBXT Storage Engine Presentation
Storage Engine
Paul McCullagh
PrimeBase Technologies GmbH
www.primebase.org
Previous version:
Oldest version:
Writer
Sweeper
Compactor
Checkpointer
Xaction
Record
Index File Log Data Log
Cache
Record x ..
Sweeper Thread
dlog-24.xt dlog-31.xt
Compactor
Thread
..
.
Checkpointer
1 2 3 Thread
restart-1/2.xt
Restart File
Data Log
• Operation ID's
! Modifications normally require simultaneous update of cache
and transaction log
! Writer Thread uses the operations ID to sort changes
• Update clustering
! New records are grouped so that they can be written
together by the Writer
• Update consolidation
! The Writer sorts updates from the log
Transaction Log
on HD
HD
Writer
Thread Compactor
Thread
Data Log
on SSD
SSD
3.3
Slave Thread
Master Thread
Master
System Slave System
Shared
Data Logs
http://www.primebase.org
http://sourceforge.net/projects/pbxt
http://pbxt.blogspot.com