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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Index File Name

RE: Index File Name

From: Koivu, Lisa <lisa.koivu_at_efairfield.com>
Date: Wed, 21 Nov 2001 06:53:13 -0800
Message-ID: <F001.003CA845.20011121055521@fatcity.com>

Alistair I think you'll find that packages don't get stored in a tablespace per se...  like you are describing below.  They are stored in the data dictionary.  So you don't need to allocate specific storage for them (other than the system tablespace) and for the most part this is negligible. 

Lisa Koivu
Oracle Database Monkey
Fairfield Resorts, Inc.
954-935-4117

-----Original Message-----

From:   Alistair Orchard [SMTP:alistair.b.orchard_at_btinternet.com]
Sent:   Tuesday, November 20, 2001 4:24 PM
To:     Multiple recipients of list ORACLE-L
Subject:        Fw: Index File Name

Sorry for the assumption... :o)
I do find it best to specify the tablespace of the index to be different than the table, personally I use have a method of leaving:

DB Object code i.e. packages in the users default tablespace, Tables in one tablespace (i.e. Users_Tables) and indexes in another (User_indexes) over several disks to reduce disk contention. Schemas will require a Temporary Tablespace and you of course will need the rollback tablespace as a non system tablespace cannot use the system rollback... a few public rollback segments, named in the init(SID).ora so they start up automatically with the instance

etc etc.
 
 

Alistair,

The  index will be created in the default tablespace of the user, not in the tablespace of the table.  Try it and check the results. 

If you create the index in the same sql statement as the table (like the primary key) then yes it may end up in the same ts as the table.

Lisa Koivu
Oracle Database Monkey
Fairfield Resorts, Inc.
954-935-4117

-----Original Message-----

From:   Alistair Orchard [SMTP:alistair.b.orchard_at_btinternet.com]
Sent:   Tuesday, November 20, 2001 3:01 PM
To:     Multiple recipients of list ORACLE-L
Subject:        Re: Index File Name

If you don't specify an index tablespace the index will occupy the same tablespace as the Table...
It's probably best to have a tablespace for indexes and one for the tables If you create an index tablespace,  a good name might be 'User_Indexes' ?

I am creating a database from a DDL SQL script.  I have created the primary and temp tablespaces because their names were referenced in the code. However, there is no name reference anywhere that I can find for the "index" tablespace.  Do I need to create one, or will Oracle take care of that for me?  If I have to create on, what name do I give it, or does it matter?

Thanks,
Ken Janusz, CPIM
Database Conversion Lead
Sufficient System, Inc.
Minneapolis, MN

--

Please see the official ORACLE-L FAQ: <http://www.orafaq.com>
--

Author: Ken Janusz
  INET: ken.janusz_at_sufsys.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from).  You may also send the HELP command for other information (like subscribing).

--

Please see the official ORACLE-L FAQ: <http://www.orafaq.com>
--

Author: Alistair Orchard
  INET: alistair.b.orchard_at_btinternet.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from).  You may also send the HELP command for other information (like subscribing). Received on Wed Nov 21 2001 - 08:53:13 CST

Original text of this message

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