My Oracle Support Banner

ORA-12801 and ORA-04021 Errors Reported While Creating IOT as CTAS With Parallel degree (Doc ID 2441057.1)

Last updated on NOVEMBER 07, 2023

Applies to:

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


NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner. 

DDL SQL statement for Creating an Index Organized Table as CTAS generating this error, when executed using parallelism - the error is thrown exactly after 15min:


In trace file:

ERROR: KGL Lock timeout. Handle=0x6134a630

LibraryObjectLock:  Address=0x618a0710 Handle=0x6134a630 RequestMode=X
  CanBeBrokenCount=1 Incarnation=1 ExecutionCount=0

  User=0x7a931d10 Session=0x7a931d10 ReferenceCount=0
  Flags=[0000] SavepointNum=40
LibraryHandle:  Address=0x6134a630 Hash=262ef6d7 LockMode=S PinMode=S LoadLockMode=0 Status=VALD
  ObjectName:  Name=SYS.SYS_TEMP_0FD9D665E_174D6E




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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.