Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: quick way to get freelist group id (but not from dba_segments)

Re: quick way to get freelist group id (but not from dba_segments)

From: Daniel Morgan <dmorgan_at_exesolutions.com>
Date: Tue, 21 May 2002 16:59:40 GMT
Message-ID: <3CEA7CF1.89692ED2@exesolutions.com>


Frank Zaum wrote:

> Hello again,
>
> I wonder if theres a quick method to get the freelist_group_id for a
> segment.
> but i dont want to:
>
> select freelist_group_id
> from dba_segments
> where segment_name = xxx
> and owner = xxx
> and partition_name
> and tablespace_name = xxx
>
> because this is pretty slow.i need this information for indexes,
> tables, table/index partitions so i cannot just select xxx from
> dba_tables or dba_indexes and so on.
>
> is there a better way?
>
> tia, Frank Zaum, Salzgitter

Get the DDL for dba_segments.

Reverse engineer a query directly to the underlying data dictionary tables.

I doubt you'll save a millisecond but that's your choice.

Daniel Morgan Received on Tue May 21 2002 - 11:59:40 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US