Ordinary Table
* Rowid uniquely identifies a row. Primary key can be optionally specified
* Physical rowid in ROWID pseudocolumn allows building secondary indexes
* Access is based on rowid
* Sequential scan returns all rows
* Can be stored in a cluster with other tables
* Can contain a column of the LONG datatype and columns of LOB datatypes
Index-Organized Table
* Primary key uniquely identifies a row.Primary key must be specified
* Logical rowid in ROWID pseudocolumn allows building secondary indexes
* Access is based on logical rowid
* Full-index scan returns all rows
* Cannot be stored in a cluster
* Can contain LOB columns but not LONG columns
索引组织表与常规表的区别
常规表
* 使用 rowid 唯一地确定一行,主键是可选的
* ROWID 虚拟列中存储的是物理 rowid,可以建立secondary 索引
* 对表的访问依据物理 rowid
* 使用顺序扫描返回所有行
* 可与其他表存储在簇中
* 表中可以包含LONG,LOB列
索引组织表
* 使用主键唯一地确定一行,主键是必须的
* ROWID 虚拟列中存储的是逻辑 rowid,可以建立secondary 索引
* 对表的访问依据逻辑 rowid
* 使用全索引扫描可以返回所有行
* 不能存储在簇中
* 可包含LOG列 ,不允许包含LONG列