Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Why Dropping Tables are Slow?
Hi:
As for the "why", I don't know. I had a similar problem and generally use truncate now. Give it a shot.
Mike
Julia Cristina Varela de Montoya wrote:
> When I run a script to drop many tables and even views, it takes a very long
> time using the Cost optimizer - up to 90 seconds each! However when we
> switch to Rule mode, it speeds up to a "normal" amount of time. Does
> someone can tell me why the difference? We have analyzed the tables, but we
> did not create any histograms. We only write scripts to "analyze table xxx
> compute statistics".
>
> We use version 7.3.4.
>
> Thank you very much.
--