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
- Json formatJSONORM
- 求助:TypeError: unsupported format string passed to NoneType.__format__ErrorORMNone
- MySQL裡的found_row()與row_count()MySql
- ORACLE ROW MOVEMENTOracle
- A. Arrow a Row
- set excel formatExcelORM
- MySQL Binlogging Fails With Writing One Row To The Row-based Binary Log FailedMySqlAI
- 問題解決:TypeError: unsupported format string passed to NoneType.__format__ErrorORMNone
- vim Google style formatGoORM
- [Ruby]format xml with RubyORMXML
- oracle工具 awr formatOracleORM
- 新建分支 header區Header
- HTTP Header 詳解HTTPHeader
- HTML <header> 標籤HTMLHeader
- StreamCorruptedException: invalid stream headerExceptionHeader
- http設定headerHTTPHeader
- #1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs
- Solution - Atcoder ARC157E XXYX Binary Tree
- enq: TX - row lock contentionENQ
- jQuery Validate的format()用法jQueryORM
- 8.4.2. bytea Escape FormatORM
- Refused to set unsafe header "cookie"HeaderCookie
- header的安全配置指南Header
- PostgreSQL DBA(157) - pgAdmin(OOM & max_locks_per_transaction )SQLOOM
- Nginx的client_header_buffer_size和large_client_header_buffers學習NginxclientHeader
- flutter佈局-2-rowFlutter
- 623-Add One Row to Tree
- Flutter 之 Row、Column詳解Flutter
- JAVA中String format的用法JavaORM
- [#181024][PAT Practice] A+B FormatORM
- 針對python錯誤 format()PythonORM
- HTTP header 欄位解釋HTTPHeader
- proxy_set _header Host $host;Header
- nginx配置proxy_set_headerNginxHeader
- java 如何暴露header給前端JavaHeader前端
- No ‘Access-Control-Allow-Origin’ headerHeader
- Oracle vs PostgreSQL Develop(19) - PIPE ROWOracleSQLdev