row header format (157)
Each row piece, chained or unchained, contains a row header and data for all or some
of the row’s columns. Individual columns can also span row pieces and, consequently,
data blocks.
The row header precedes the data and contains information about:
■ Row pieces
■ Chaining (for chained row pieces only)
■ Columns in the row piece
■ Cluster keys (for clustered data only)
A row fully contained in one block has at least 3 bytes of row header. After the row
header information, each row contains column length and data. The column length
requires 1 byte for columns that store 250 bytes or less, or 3 bytes for columns that
store more than 250 bytes, and precedes the column data. Space required for column
data depends on the datatype. If the datatype of a column is variable length, then the
space required to hold a value can grow and shrink with updates to the data.
To conserve space, a null in a column only stores the column length (zero). Oracle does
not store data for the null column. Also, for trailing null columns, Oracle does not even
store the column length.
Clustered rows contain the same information as nonclustered rows. In addition, they
contain information that references the cluster key to which they belong.
行頭格式
1. 行頭位於行資料之前,包含以下資訊:
a. 行管理開銷
b. 行片斷連結的ROWID(如果有連結)
c. 列數
d. 簇鍵ID(如果是簇表)
2. 如果一行能被儲存於一個資料塊中,那麼其行頭所需容量將不少於 3 位元組.
在行頭資訊之後儲存的是各列的列長及列值. 列長儲存於列值之前,如列值不超過 250 位元組,
那麼 Oracle 使用 1 位元組儲存其列長;如列值超過 250 位元組,則使用 3 位元組儲存其列長.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-981074/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【MySQL】你所不知道的行復制(binlog_format=row)MySqlORM
- Format and un-format money/currency in JavaScriptORMJavaScript
- Row Migration和row chainedAI
- Error format not a string literal and no format arguments解決方案ErrorORM
- Mysql date_format 與 Oracle to_char(date,’format’)MySqlORMOracle
- 'format' 詳解ORM
- SUN format命令ORM
- set excel formatExcelORM
- Json formatJSONORM
- 求助:TypeError: unsupported format string passed to NoneType.__format__ErrorORMNone
- jQuery :headerjQueryHeader
- HTTP headerHTTPHeader
- MySQL裡的found_row()與row_count()MySql
- How to Match a Row Cache Object Child Latch to its Row CacheObject
- MYSQL Space id in fsp header,but in the page header錯誤MySqlHeader
- oracle工具 awr formatOracleORM
- vim Google style formatGoORM
- MYSQLDUMP TABLE IN SQL FORMATMySqlORM
- [Ruby]format xml with RubyORMXML
- ORACLE ROW MOVEMENTOracle
- list chained rowAI
- A. Arrow a Row
- oracle效能診斷例項-row migration and row chainOracleAI
- [ERROR]Space id in fsp header but in the page header一列ErrorHeader
- 問題解決:TypeError: unsupported format string passed to NoneType.__format__ErrorORMNone
- Metlink:How to Match a Row Cache Object Child Latch to its Row CacheObject
- Row Migration and Row Chaining(行遷移和行連結)AI
- http設定headerHTTPHeader
- HTML <header> 標籤HTMLHeader
- HTTP Header 詳解HTTPHeader
- HTTP header介紹HTTPHeader
- Oracle ASM Disk HeaderOracleASMHeader
- 新建分支 header區Header
- jQuery Validate的format()用法jQueryORM
- mysql DATE_FORMAT函式MySqlORM函式
- C# String.FormatC#ORM
- C# string Format示例C#ORM
- Microsoft Windows Bitmap File Format SummaryROSWindowsORM