Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Delete rows is slow
Hi,
If you are really trying to delete *ALL* the rows in the table try TRUNCATE TABLE my_table;
Be careful, you can't rollback this command (DDL).
Niall.
In article <01be13ab$08801660$6d6464c3_at_kom>, loyhutz_at_dinx.de says...
> Hello everybody !
>
> I am new in Oracle world and have this problem:
>
> My test server (NT4.0 Server - Oracle 8.0.4-Server with Pentium 200 and
> only 64 MB RAM) needs very long for deleting rows.
>
> e.g.: Delete * from Tab1 (30000 rows, 200 Cols) needs arround 15 minutes.
>
> all that time the server has disk access.
>
> is it a ram problem ? is the server always swapping pages ? Task manager
> says 90MB RAM in use.
>
> Thanks
>
> Sven
>
>
--
Note: remove [nospam] from e-mail address for correct address
Tel: +41 (22) 341.5001 Fax: +41 (22) 341.5004