Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> Re: RE: should you seperate indexes from tables in seperate datafiles

Re: RE: should you seperate indexes from tables in seperate datafiles

From: <>
Date: Tue, 15 Jul 2003 10:56:58 -0400
Message-Id: <>

if you keep a repository of all your indexes or have the create index statements on files in the file system.. that would solve the memory problem.

oracle designer and erwin have these capabilities.

in some cases would it be better to recovery without indexes first so the users will have some access to data, then build the indexes while the instance is online?
> From: "Mercadante, Thomas F" <>
> Date: 2003/07/15 Tue AM 11:39:32 EDT
> To: Multiple recipients of list ORACLE-L <>
> Subject: RE: should you seperate indexes from tables in seperate datafiles
> I disagree with the concept of recovery not including some indexes because
> "they can be rebuilt later". To me, that's like going to a gas station and
> only filling the tank half-way because "I can get more gas later". You are
> saving small amounts of time up front, but will pay for it later on.
> I prefer to restore a totally whole database (when needed), and not having
> to rely on my memory to rebuild some indexes that we purposly chose not to
> back up. Just seems silly to me.
> Tom Mercadante
> Oracle Certified Professional
> -----Original Message-----
> Sent: Tuesday, July 15, 2003 11:24 AM
> To: Multiple recipients of list ORACLE-L
> datafiles?
> I'll agree with Rachel's methodology and add another consideration.
> Look at separating constraint indexes (primary keys, unique, perhaps even
> foreign keys) from performance indexes. If you find resource constraints on
> backups (time/disk), you can safely ignore the performance indexes. The
> recovery impact is that the application/sql may run slower without the
> indexes, but the data and constraints are intact. AFter the system is up and
> running, you can rebuild the indexes.
> Rachel Carmichael wrote:
> >
> > I separate indexes and tables into different tablespaces for
> > maintenance purposes, not for performance, as there really is no
> > performance benefit if you are on a system with multiple users. At any
> > given time, many users will be doing queries that read the indexes and
> > many users will be doing queries that read the tables. Besides, I don't
> > get to control how my disks are set up (part of that "now now little
> > girl, don't you worry your pretty little head about how the disks are
> > set up, you just leave that sort of stuff to us big <male> data center
> > operations people" crap I get)
> >
> > Maintenance: if I lose an index tablespace datafile, I can just
> > offline/drop the tablespace and recreate it and the indexes within it
> > rather than do recovery. My indexes and my tables tend to have
> > different extent size requirements (most of my indexes are NOT
> > comprised of all columns in the table) so I separate them for extent
> > size purposes as well.
> --
> Please see the official ORACLE-L FAQ:
> --
> Author: Mercadante, Thomas F
> Fat City Network Services -- 858-538-5051
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: (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 Tue Jul 15 2003 - 09:56:58 CDT

Original text of this message