27.10.2013 Views

Page Inventory Page - Type 0x02 - Firebird

Page Inventory Page - Type 0x02 - Firebird

Page Inventory Page - Type 0x02 - Firebird

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table of Contents<br />

Introduction ........................................................................................................................................... 3<br />

Database Structure ................................................................................................................................. 3<br />

Single File Databases ..................................................................................................................... 3<br />

Multiple File Databases .................................................................................................................. 4<br />

Shadow Files ................................................................................................................................. 4<br />

Standard Database <strong>Page</strong> Header .............................................................................................................. 4<br />

Database Header <strong>Page</strong> - <strong>Type</strong> 0x01 ........................................................................................................ 5<br />

<strong>Page</strong> <strong>Inventory</strong> <strong>Page</strong> - <strong>Type</strong> <strong>0x02</strong> ......................................................................................................... 11<br />

Transaction <strong>Inventory</strong> <strong>Page</strong> - <strong>Type</strong> 0x03 ............................................................................................... 12<br />

Pointer <strong>Page</strong> - <strong>Type</strong> 0x04 ..................................................................................................................... 13<br />

Data <strong>Page</strong> - <strong>Type</strong> 0x05 ........................................................................................................................ 15<br />

Record Header ............................................................................................................................. 16<br />

Record Data ................................................................................................................................. 17<br />

A Worked Example ...................................................................................................................... 18<br />

Examining The Data .................................................................................................................... 21<br />

Index Root <strong>Page</strong> - <strong>Type</strong> 0x06 ............................................................................................................... 26<br />

Index B-Tree <strong>Page</strong> - <strong>Type</strong> 0x07 - YOU ARE HERE. ............................................................................. 30<br />

B-Tree Header ............................................................................................................................. 30<br />

Index Jump Info ........................................................................................................................... 31<br />

Index Jump Nodes ....................................................................................................................... 32<br />

Index Nodes ................................................................................................................................. 32<br />

Index Data ................................................................................................................................... 32<br />

Blob Data <strong>Page</strong> - <strong>Type</strong> 0x08 - TODO ................................................................................................... 33<br />

Generator <strong>Page</strong> - <strong>Type</strong> 0x09 ................................................................................................................. 34<br />

Creating Lots Of Sequences .......................................................................................................... 39<br />

Write Ahead Log <strong>Page</strong> - <strong>Type</strong> 0x0a ...................................................................................................... 43<br />

Appendix A: Fbdump ........................................................................................................................... 45<br />

Appendix B: Document history ............................................................................................................. 46<br />

Appendix C: License notice .................................................................................................................. 47<br />

2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!