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: does "truncate table" affect the performace of the associated indexes?

Re: does "truncate table" affect the performace of the associated indexes?

From: Mark D Powell <mark.powell_at_eds.com>
Date: 21 Dec 2001 06:16:53 -0800
Message-ID: <178d2795.0112210616.303aa93e@posting.google.com>


Cantonese Boy <waynewan_at_yahoo.com> wrote in message news:<3C22DFB6.BC06AED_at_yahoo.com>...
> Hi,
>
> I have a table which needed to be truncated and re-import data
> everyday. Do I needed to rebuild the associated indexes to
> get a better perfermance after each "truncate"?
> (Will there any performance problem
> in the indexes tablespace)
>
> Thanks for any help
>
> W.

Wayne, When you truncate the table the indexes are also truncated. When you reload Oracle updates the indexes. As a general rule you are good to go though you might want to consider updating the statistics immediately after the reload.

Received on Fri Dec 21 2001 - 08:16:53 CST

Original text of this message

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