My Oracle Support Banner

Delete From MDSYS.SDO_TXN_JOURNAL_REG Causing Poor DML Performance (Doc ID 2817546.1)

Last updated on NOVEMBER 03, 2021

Applies to:

Oracle Spatial and Graph - Version and later
Information in this document applies to any platform.


An INSERT into a table with a spatial index initiated from a REMOTE database via database link is causing poor performance in the LOCAL database.  The AWR report shows that for every INSERT, a DELETE from an internal spatial table is taking a long time to complete causing the INSERT to hang:

DELETE /* trunc_journal_reg */
WHERE sdo_txn_idx_id = :1 AND indexptniden = :2

The latest Spatial MERGE patch have been applied in the LOCAL database and SPATIAL_VECTOR_ACCELERATION = TRUE.

All spatial data in the table are POINT type, and the DDL of the index shows:





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.