Materialized View Creation Hangs On "Asynch Descriptor Resize" Wait Event (Doc ID 1326110.1)

Last updated on JULY 09, 2013

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Create Materialized view statement hangs and never completes. It seems to wait a long time on "asynch descriptor resize" event. The same statement when run by itself or inside a create table as select statement finishes in less than a minute.

This wait event "asynch descriptor resize" indicates that the OS kernel is waiting for asynchronous IO to complete before it can re-size parameters to handle IO better.

Problem statement:

create materialized view ROI.test
as
select * from
(select /*+ noparallel(VM) */ V.FIRST_DAY_OF_MO_DT,
VM.VENDOR_VNAME as LAWSON_VNDR_NM,
V.VNDR_ID,
sum(V.SPEND_AMT) as SPEND_AMT
from ROI.MV_VNDR_SPEND_DENSE_MO V
left outer join ROI.SRC_APVENMAST_LAWSON VM on trim(VM.VENDOR)=V.VNDR_ID
where V.VNDR_ID Not Like '%9042' --Remove CSC data
and (V.FIRST_DAY_OF_MO_DT, V.VNDR_ID) not in
(select/*+ hash_aj */
M.FIRST_DAY_OF_MO_DT,
M.vndr_id
from roi.MV_MANUF_MINUS_VNDR_MO M
)
group by VM.VENDOR_VNAME,V.VNDR_ID,V.FIRST_DAY_OF_MO_DT
) where SPEND_AMT is not null or SPEND_AMT <> 0;

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms