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: truncate hangs for a long time

Re: truncate hangs for a long time

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Thu, 09 Jun 2005 19:59:18 +0200
Message-ID: <1r0ha1djsjongaro9pi7824f75148cdirl@4ax.com>


On 9 Jun 2005 09:46:19 -0700, "Tom76" <rbhuma_at_ford.com> wrote:

>DB version:9.2.0.4
>OS: Linux
>
>i am truncating a table but it hangs for a long time.
>sid=40(for example)
>for sid=40, in the waits view, "row cache lock" is the wait.
>in the locked object view, this sid=40 is locking two objects, one I am
>truncating and the other is sys.MLOG$.
>i queried the row cache lock and the parameter for the cache_id is
>"dc_object_ids".
>select also hangs. i estimate more than million rows in the table.
>
>can somebody tell what is going on here and why is the truncate take
>long time. thanks in advance.

Becasue the object is in use by a different session.

--
Sybrand Bakker, Senior Oracle DBA
Received on Thu Jun 09 2005 - 12:59:18 CDT

Original text of this message

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