View Issue Details

IDProjectCategoryView StatusLast Update
0006883SymmetricDSNew Featurepublic2025-05-09 18:41
Reporterpbelov Assigned Topbelov  
Prioritynormal 
Status confirmedResolutionopen 
Product Version3.16.0 
Target Version3.16.3 
Summary0006883: Capture TRUNCATE table events in Oracle database
DescriptionThe Oracle database supports triggers for TRUNCATE table events and reports it as a schema-level event.
Currently these events are not being captured by the existing DDL trigger feature.

The TRUNCATE table event in Oracle is:
* A schema-level event (not a row-level or table-level event).
* Could be added to the existing DDL trigger feature.

Consider: "create or replace trigger $(triggerName) after ddl OR truncate on schema\n"
Steps To ReproduceSet up a node with Oracle database as a source.
Set the parameter
trigger.capture.ddl.changes=true

Create a test table :
   CREATE TABLE demo_small(id int);

Configure new SymmetricDS trigger for the demo_small table.

Execute truncate statement:
   TRUNCATE TABLE demo_small;

Observe: No new sym_data records.
Additional InformationOracle docs:
Create Trigger https://docs.oracle.com/en/database/oracle/oracle-database/19/lnpls/CREATE-TRIGGER-statement.html
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-05-09 18:40 pbelov New Issue
2025-05-09 18:40 pbelov Status new => assigned
2025-05-09 18:40 pbelov Assigned To => pbelov
2025-05-09 18:41 pbelov Status assigned => confirmed