Drop Tablespace Command Hangs even if Fix 9841075 Applied
(Doc ID 1997786.1)
Last updated on FEBRUARY 25, 2019
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.4 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
Trying to drop tablespace but the command hangs every time, Applied patch 9841075 but the issue still occurring.
When get error stack dump it stopped in the below statement:
----- Current SQL Statement for this session (sql_id=cgcsnk9j6cuha) -----
select NULL from (select obj# objnum# from tab$ where ts#=:1 and bitand(property, 32) = 0 union all select bo# objnum# from tabpart$ where ts#=:1 union all select tcp.bo# objnum
# from tabcompart$ tcp,tabsubpart$ tsp where tsp.ts#=:1 and tsp.pobj#=tcp.obj# union all select t.obj# objnum# from tab$ t, ind$ i where i.ts#=:1 and i.type#=4 and i.bo#=t.obj# an
d bitand(t.property, 32) = 0 union all select t.obj# objnum# from indpart$ ip,ind$ i,tab$ t where ip.ts#=:1 and i.type#=4 and i.bo#=t.obj# and ip.bo#=i.obj# union all sele
ct t.obj# objnum# from indcompart$ icp,indsubpart$ isp,ind$ i,tab$ t where isp.ts#=:1 and isp.pobj#=icp.obj# and i.type#=4 and i.bo#=t.obj# and icp.bo#=i.obj# ) tin, cdef$ cdef where tin.o
bjnum# = cdef.robj# and cdef.obj# in (select obj# objnum# from tab$ where ts#<>:1 and bitand(property, 32) = 0 union all select distinct bo# objnum# from tabpart$ where ts#<>:1 un
ion all select distinct tcp.bo# objnum# from tabcompart$ tcp,tabsubpart$ tsp where tsp.ts#<>:1 and tsp.pobj#=tcp.obj# union all select t.obj# objnum# from tab$ t,ind$ i where i.ts#<>:1
and i.type#=4 and i.bo#=t.obj# and bitand(t.property, 32) = 0 union all select distinct t.obj# objnum# from indpart$ ip,ind$ i,tab$ t where ip.ts#<>:1 and i.type#=4 and
i.bo#=t.obj# and ip.bo#=i.obj# union all select distinct t.obj# objnum# from indcompart$ icp,indsubpart$ isp,ind$ i,tab$ t where isp.ts#<>:1 and isp.pobj#=icp.obj# and i.type
#=4 and i.bo#=t.obj# and icp.bo#=i.obj# )
select NULL from (select obj# objnum# from tab$ where ts#=:1 and bitand(property, 32) = 0 union all select bo# objnum# from tabpart$ where ts#=:1 union all select tcp.bo# objnum
# from tabcompart$ tcp,tabsubpart$ tsp where tsp.ts#=:1 and tsp.pobj#=tcp.obj# union all select t.obj# objnum# from tab$ t, ind$ i where i.ts#=:1 and i.type#=4 and i.bo#=t.obj# an
d bitand(t.property, 32) = 0 union all select t.obj# objnum# from indpart$ ip,ind$ i,tab$ t where ip.ts#=:1 and i.type#=4 and i.bo#=t.obj# and ip.bo#=i.obj# union all sele
ct t.obj# objnum# from indcompart$ icp,indsubpart$ isp,ind$ i,tab$ t where isp.ts#=:1 and isp.pobj#=icp.obj# and i.type#=4 and i.bo#=t.obj# and icp.bo#=i.obj# ) tin, cdef$ cdef where tin.o
bjnum# = cdef.robj# and cdef.obj# in (select obj# objnum# from tab$ where ts#<>:1 and bitand(property, 32) = 0 union all select distinct bo# objnum# from tabpart$ where ts#<>:1 un
ion all select distinct tcp.bo# objnum# from tabcompart$ tcp,tabsubpart$ tsp where tsp.ts#<>:1 and tsp.pobj#=tcp.obj# union all select t.obj# objnum# from tab$ t,ind$ i where i.ts#<>:1
and i.type#=4 and i.bo#=t.obj# and bitand(t.property, 32) = 0 union all select distinct t.obj# objnum# from indpart$ ip,ind$ i,tab$ t where ip.ts#<>:1 and i.type#=4 and
i.bo#=t.obj# and ip.bo#=i.obj# union all select distinct t.obj# objnum# from indcompart$ icp,indsubpart$ isp,ind$ i,tab$ t where isp.ts#<>:1 and isp.pobj#=icp.obj# and i.type
#=4 and i.bo#=t.obj# and icp.bo#=i.obj# )
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |