DBAsupport.com Forums - Powered by vBulletin
Results 1 to 9 of 9

Thread: index size

  1. #1
    Join Date
    May 2001
    Posts
    285
    I found my tablespace for index is full since I got error message 'Unable to create initial extent for segment in tablespace user_indx'. How can I find out how much space each index occupies?

    Shall I check the user_indexes view? Which column should I look at? And what's the easiest way for me to find out which objects are sit in this tablespace?

  2. #2
    Join Date
    Oct 2000
    Location
    Germany
    Posts
    1,185
    Look at DBA_SEGMENTS. It has the tablespace_name, the segment_type (INDEX) and the bytes.

    Good luck.
    David Knight
    OCP DBA 8i, 9i, 10g

  3. #3
    Join Date
    May 2001
    Posts
    285
    Thanks dknight!

    However, I tried to describe dba_segments and Oracle said it's not a valid object! Could it be under a different name?

  4. #4
    Join Date
    Nov 2000
    Posts
    21
    are you sure !!!!

    SQL> desc dba_segments

    Name Null? Type
    ----------------------------------------- -------- ----------------------------
    OWNER VARCHAR2(30)
    SEGMENT_NAME VARCHAR2(81)
    PARTITION_NAME VARCHAR2(30)
    SEGMENT_TYPE VARCHAR2(18)

    regards Giddy

  5. #5
    Join Date
    Oct 2000
    Location
    Germany
    Posts
    1,185
    Check to see if you are logged in with DBA privileges.

    Good luck.
    David Knight
    OCP DBA 8i, 9i, 10g

  6. #6
    Join Date
    May 2001
    Posts
    285
    I did log in as SYS, and what's interesting is that I can see this view does exist by selecting from dictionary, and I can even select from dba_segments. However, when I tried to describe dba_segments, I got:

    ORA-24372: invalid object for describe

    Any idea why?

  7. #7
    Join Date
    May 2001
    Posts
    285
    dknight,

    By query against DBA_SEGMENTS, I got all info I needed. Thanks so much for your help!

    Giddy -- Thank you too! Although I still can't describe this view for some reason...

  8. #8
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    There was some bug in earlier releases of 8i preventing dictionary views to be described by SQL*Plus. I suppose you are using 8.1.5, no?
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  9. #9
    Join Date
    May 2001
    Posts
    285
    No --- I am using Oracle 8.1.7. And I can describe most of the dictionary views, although I didn't try all of them. And I can even describe this view on a different oracle instance on the same server!

    Let's just assume this is a *random* oracle bug :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width