从V4.2.1 BP7 版本开始,该视图的查询结果中不再展示索引表相关信息。 功能描述 展示数据库中所有的表、视图的所有列。 功能适用性 该视图仅适用于 OceanBase 数据库 Oracle 模式。 字段说明 字段名称类型是否可以为 NULL描述 OWNERVARCHAR2(128)NO表、视图的拥有者 TABLE_NAMEVARCHAR2(128)NO表、视图的名字
where owner in ( -- 非系统模式用户 select username from dba_users where oracle_maintained = 'N'); 其中, OWNER 是表的拥有者; TABLE_NAME 是表名; TABLESPACE_NAME 是表所在的表空间; STATUS 是表的状态,VALID 或者 UNUSABLE; NUM_ROWS 是表中的数据行数,通过表的统计分析获得,可能不准确; AVG_ROW...
column_idNUMERICRelative position of the column within the table or view. data_defaultCHARACTER VARYINGDefault value assigned to the column. ← Prev DBA_SYNONYMS ↑ Up Database Compatibility for Oracle Developers Catalog Views Guide Next → DBA_TAB_PARTITIONS...
However, Oracle Database does not create a histogram with more buckets than the number of rows in the sample. Also, if the sample contains any values that are very repetitious, Oracle Database creates the specified number of buckets, but the value indicated by this column may be smaller ...
oracle DBA_TAB_STATISTICS视图 DBA_TAB_STATISTICS显示数据库中所有表的优化器统计信息。它的列与ALL_TAB_STATISTICS中的列相同。ALL_TAB_STATISTICS显示当前用户可以访问的表的优化器统计信息。USER_TAB_STATISTICS显示当前用户拥有的表的优化器统计信息。此视图不显示所有者 当前用户 数据库 原创 钱若梨花落 ...