[mysql] InnoDB数据页结构Page Header
博客首页 » mysql InnoDB数据页结构Page Header
发布于 02 Mar 2015 08:17标签 blog
Fields
Bytes | Name | |
2 | PAGE_N_DIR_SLOTS | number of slots in page directory |
2 | PAGE_HEAP_TOP | pointer to record heap top |
2 | PAGE_N_HEAP | number of records in the heap |
2 | PAGE_FREE | pointer to start of page free record list |
2 | PAGE_GARBAGE | number of bytes in deleted records (delete flag 1) |
2 | PAGE_LAST_INSERT | pointer to the last inserted record |
2 | PAGE_DIRECTION | last insert direction: PAGE_LEFT, … |
2 | PAGE_N_DIRECTION | number of consecutive inserts to the direction |
2 | PAGE_N_RECS | number of user records on the page |
//8 | PAGE_MAX_TRX_ID | highest id of a trx which may have modified |
//0 | PAGE_HEADER_PRIV_END | end of private data structure of the page |
2 | PAGE_LEVEL | level of the node in an index tree, 0 means leaf |
8 | PAGE_INDEX_ID | index id where the page belongs. |
10 | PAGE_BTR_SEG_LEAF | only when root page, segment begin pointer |
10 | PAGE_BTR_SEG_TOP | only when root page, segment begin pointer |
//10 | PAGE_BTR_IBUF_FREE_LIST | |
//10 | PAGE_BTR_IBUF_FREE_LIST_NODE |
Page Direction
1 | PAGE_LEFT |
2 | PAGE_RIGHT |
3 | PAGE_SAME_REC |
4 | PAGE_SAME_PAGE |
5 | PAGE_NO_DIRECTION |
本页面的文字允许在知识共享 署名-相同方式共享 3.0协议和GNU自由文档许可证下修改和再使用,仅有一个特殊要求,请用链接方式注明文章引用出处及作者。请协助维护作者合法权益。
系列文章
文章列表
- mysql InnoDB数据页结构Page Header
这篇文章对你有帮助吗,投个票吧?
page revision: 4, last edited: 06 Jul 2015 16:50
留下你的评论