Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DBA_TABLES.TABLESPACE_NAME null for partitioned tables, yet DBMS_METADATA.GET_DDL shows a name...

1007321Feb 13 2014 — edited Feb 13 2014

Hi,

Where does the tablespace name come from when you do a

~ select DBMS_METATDATA.GET_DDL('TABLE', 'tname', 'owner')...

on a table partitioned, where you see things like:

~ CREATE TABLE...

~ ...

~ STORAGE(INITIAL 134217728 NEXT 134217728 MINEXTENTS 1 MAXEXTENTS 2147483645

~ BUFFER_POOL DEFAULT)

~ TABLESPACE "ABCD_LOGD2"

before all the blocks related to the different partitions of this table, where a

~ select tablespace_name from dba_tables where table_name = 'TNAME'...

returns a null ??

Where does dbms_metatdata goes pick up this ABCD_LOGD2 value ?? (in which dictionary ?,

DBA_SEGMENTS/EXTENTS only show the partitions information...)

Thanks...

Seb

This post has been answered by Baris Yildirim on Feb 13 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 13 2014
Added on Feb 13 2014
5 comments
4,253 views