-
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
6.6.0 and Later is Supports TAC setup config? #1717
Comments
It depends on if you are connecting using node-oracledb's Thick mode or not. Thick mode calls Oracle Client libraries and if your Oracle Client library versions supports these features, then Thick mode supports them. Please go through these blogs for more clarity on node-oracledb's Thin and Thick modes: The latest version 6.7.1 just released today btw :) |
Thank you for your reply! I have some follow-up questions about setting up specific configurations with node-oracledb.
|
AC or TAC are enabled on the DB service. As long as node-oracledb is in Thick mode, then you just need to follow the AC/TAC best practices given in the DB doc. (By the way, there is currently a project to update that doc, and update driver doc too.) Here's a very, very high level slide. It mentions python-oracledb but you can map the names to the equivalent node-oracledb names. |
Thank you for your reply and sharing @cjbj . So I can understand that in node-oracledb, as long as
It can achieve a configuration that complies with TAC best practices? Because currently there are some test scenarios: whether effective synchronous writes to Oracle instances can be performed under insert or update situations in the Node.js application, and whether it meets the aforementioned equivalent settings? For example: Fast Connection Failover and validate connection on borrow (such as a config setting with universal connection pool, UCP) These two parameters can be found in JDBC development documentation, but I couldn't find similar phrases or detailed configuration examples in the node-oracledb documentation. Once again, thank you for your valuable time and assistance. Wishing you a Merry Christmas! |
Hello, thank you for maintaining the node-oracledb project.
I am using Transparent Application Continuity (TAC) in my Oracle Database setup and have the following questions regarding the compatibility of node-oracledb. Your guidance on this matter would be greatly appreciated.
What versions are you using?
• Database Version: Oracle Database 19.20+
• Node-oracledb Version: 6.6.0
• Node.js Version: 18.18.2
• Platform: darwin
• Architecture: arm64
Describe the problem
Currently, the database has Transparent Application Continuity (TAC) enabled.
I would like to confirm if node-oracledb 6.6.0 or later supports the following features:
• fastConnectionFailoverEnabled=true
• validateConnectionOnBorrow=true
Thanks!
The text was updated successfully, but these errors were encountered: