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

Thread: indexes

  1. #1
    Join Date
    Feb 2000
    Location
    New York,U.S.A.
    Posts
    245
    Hi, all
    I have question here,
    I am using oracle 8.1.5 right now. when I create a user say Scott, and use user Scott to create schemas. When the schemas are created, the indexes are created on the colunms which are primary keys and they are in the format of 'SYS.xxxxxxxx'. Now my question is where this index resides on? on the table SYSTEM? or on the user Scott's default tablespace? If it is in SYSTEM tablespace, is it possible to rebuild it on another tablespace INDEX? Thanks for help.

  2. #2
    Join Date
    May 2000
    Location
    Portsmouth, NH, USA
    Posts
    378

    You can rebuild any index onto any schema/tablespace/datafile you like. However, be aware that you need to add permissions and quota for the current owner to rebuild onto the separate schema.

    You can look up the owner of any index using the dba_indexes table. This table can give you a good deal of data.

    If you have more questions, let me know.

    - Magnus

  3. #3
    Join Date
    Feb 2001
    Posts
    100
    Hi,

    The indexes are created on the user Scott's default tablespace.
    You can move the indexes to an other tablespace by issuying the following statement.
    ALTER INDEX <index name> REBUILD TABLESPACE <tablespace name>.


    Hope this help.

  4. #4
    Join Date
    Feb 2000
    Location
    New York,U.S.A.
    Posts
    245
    Thanks very much.

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