My Oracle Support Banner

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

Last updated on JULY 20, 2024

Applies to:

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

Symptoms

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 */
FROM "MDSYS"."SDO_TXN_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:

 

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


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