-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Efficient Solution for Real-Time Monitoring of Changes in Oracle Tables Using the oracledb Library #1597
Comments
@technervs Can you explain more about the CQN issue? What are the details of what you tried (versions, options, etc)? |
I have a custom node on n8n using the lib "oracledb": "^6.2.0" I managed to do it, but I have a problem now, when running CQN I can capture the insert update events in a given table as I wanted, but when running a second time it always gives an error. ERROR: Error executing Oracle trigger: Error: internal error in file D:\git_files\node-oracledb\src\njsConnection.c, line 2314 (no error message) here is a part of the trigger function code for my node on n8n:
|
Problem Description:
I'm currently working on a project involving real-time monitoring of changes in Oracle tables. I'm using the
oracledb
library to establish a connection to the Oracle database, and I'm trying to implement a monitoring mechanism similar to Change Data Capture (CDC) or Continuous Query Notification (CQN). However, I'm encountering some limitations in the implementation.Problem Details:
I tried using the CQN feature of
oracledb
to receive real-time notifications about changes in the tables, but this resulted inORA-29976
errors.Additionally, it's not feasible to set up triggers on the tables to capture changes as we don't have permission to modify table settings in the environment.
Request:
I'm curious to know if there's a more effective solution for implementing real-time monitoring of changes in Oracle tables using the
oracledb
library. If anyone has insights into how to improve the current approach or if there are library features that I'm not utilizing correctly, I would greatly appreciate any guidance.Alternative Suggestion:
If anyone has any suggestions for enhancing this implementation, especially regarding how to receive real-time notifications about changes without the need for triggers or table settings modifications, it would be extremely helpful. My goal is to find a solution that is more responsive and efficient for monitoring changes in Oracle tables without altering existing settings.
I'm thankful in advance for any assistance or insights you can provide. This would be highly valuable in refining this functionality and benefiting the community working with the
oracledb
library.The text was updated successfully, but these errors were encountered: