ibd

package
v0.0.0-...-d224df5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IBD_File

type IBD_File struct {
	// contains filtered or unexported fields
}

***

当我们需要打开一张表时,需要从ibdata的数据词典表中load元数据信息, 其中SYS_INDEXES系统表中记录了表,索引,及索引根页对应的page no(DICT_FLD__SYS_INDEXES__PAGE_NO) ,进而找到btree根page,就可以对整个用户数据btree进行操作。 **

func NewIBDFile

func NewIBDFile(tableName string, dataBaseName string, spaceId uint32, filePath string, fileName string, fileSize int64) *IBD_File

理论上初始化256MB

type SysIBData

type SysIBData struct {
	FspHrdPage *pages.FspHrdBinaryPage //0

	IBufBitMapPage *pages.IBufBitMapPage //1

	FilePageINode *pages.INodePage //2

}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL