Migrating oracle 11g to 19c using Jooq 3.7.1 version degrades performance(insertion) on database significantly - oracle11g

Currently we are using jooq 3.7.1 pro version and oracle 11g database in our application. Now we need to upgrade database from 11g to 19c, So we used ojdbc8.jar to connect to oracle 19c and passing ORACLE12C dialect as Jooq 3.7.1 provides dialect until 12C only.
After upgrading to 19C, While running the performance test, Insertion in database is very slow.
My question is, is it because of ORACLE12C dialect in jooq 3.7.1?
Do we really need to upgrade the jooq version as well to overcome this performance degradation?

Related

Using Oracle 19C driver to 11G database

Is there any harm or issue using the Oracle 19C JDBC [ojdbc8-19.3.0.0.jar] drivers to work with 11G database? We are in mid of migration but due to internal complex mechanism there will be case during which this scenario can happen in the Prod environment.
Check out JDBC FAQ. Latest JDBC drivers are backward compatible but, if the support period ends then, we cannot guarantee support for the older versions.
You can check out the Lifetime Support Policy for Oracle Database. The Oracle Database 11.2.0.4 extended support ended on Dec 2020.
You can take a look at oracle doc for more info:
https://docs.oracle.com/en/database/oracle/oracle-database/19/jjdbc/JDBC-getting-started.html#GUID-926E5324-D89A-4A00-B1AE-975C1089F0EA
I think it can work but not sure how compatible it is. Also depend on your java version. if u want to integration between java version 8+ and Oracle database version 11G.
In the best, it should be ojdbc6.jar with JDK 6, JDK 7, JDK 8 or ojdbc5.jar with JDK 5 for 11G database.

Upgrading from oracle 11g to 12c

i have a project to do a migration from oracle 11g to 12c but I do not know where I should start please how can I do this migration?
You should start this large task by reading the manual. In this case, read the Database Upgrade Guide.

What's the latest version of berkeley-db-je?

What's the latest version of berkeley-db-je?
From oracle, it is 7.5.
But from maven repository, it is 18.3.12.
It there anyone know more details?
The latest version of Berkeley DB Java Edition is 7.5.11
https://www.oracle.com/technetwork/database/berkeleydb/overview/index-093405.html
The 18.x versions you are seeing in maven are Oracle NoSQL Database Community Edition (CE).
Some info on the database can be found here: https://docs.oracle.com/en/database/other-databases/nosql-database/19.5/concepts/introduction.html
Oracle NoSQL Database uses Oracle Berkeley DB Java Edition as its underlying storage engine.

How to connect Oracle DB with phalcon 3.0

I have a project with Phalcon 2.0 and Oracle 11g database and running successfully. I tried to upgrade to Phalcon 3.0 but it is not working.
As of Phalcon version 3.0 Oracle support has been dropped from the project. Quoting from the 3.0 Blog announcement:
Dropped support of Oracle #12008, #12009 Support of Oracle has been
dropped from the Phalcon Core for the following reasons:
The lack of Oracle maintainer
The lack of relevant experience among the Phalcon Core Team
Weak support or interest from the community
Incomplete implementation that creates only the illusion of support
for Oracle
Some issues hampering for the support of PHP 7 in Phalcon
Oracle components will be ported to the Phalcon Incubator. If the
adapter receives support and enhancements from the community, we will
consider making it part of the core again.
More info and patch notes in the blog: https://blog.phalconphp.com/
I think they already dropped support with OracleDB in 3.0.x, check it here https://blog.phalconphp.com/post/phalcon-3-0-0-released

Install Oracle Database Extensions for .NET into VS2013

How to install Oracle Database Extensions for .NET into VS2013.
32-bit Oracle Data Access Components (ODAC)
with Oracle Developer Tools for Visual Studio
Everytime I run this installer, it is always exclude Oracle Database Extensions for .NET. There is a reminder of for upgrade only in the description of the package installer.
Oracle Database Extensions for .NET 4 12.1.0.1.0 -- for upgrade only
Oracle Database Extensions for .NET 2.0 12.1.0.1.0 -- for upgrade only
So where should I get the installer for Oracle Database Extensions? Currently I using VS2013 Professional and Oracle database server 11g 64 bits.
I need that because of Developing and Deploying a .NET Stored Procedure using Oracle Deployment Wizard.
Developing and Deploying a .NET Stored Procedure
Inside this website, you can see the tutorial for VS2010 version.
Additional: I have to use Oracle 12c client 32bits because of VS2013 and Entity Framework.
Additional: I have ttied 64 bits, but my VS2013 still doesn't have Deploy option
Well, this is guesswork:
Try installing Oracle 10g ODAC and Oracle Developer Tools for Visual Studio .NET (very bottom of the downloads page) first, and then install the latest for upgrade only distribution.
Okay, here's an excerpt from Oracle Database Extensions for .NET:
This product is included with the Oracle Database on Windows installation. Further upgrades are installed as part of the Oracle Database Access Components (ODAC) releases, however Oracle Database Extensions for .NET must first be installed and configured before it can be upgraded.
Also, I found Oracle® Database Extensions for .NET Developer's Guide 12c Release 1 (12.1) for Microsoft Windows. In it's Installation and Configuration > Installation section:
Before the first use of Oracle Database Extensions for .NET, do the following:
Install Oracle Database 12c and either allow the installer to create the database for you, or install the database software only and use Database Configuration Assistant to create a database afterwards.
After installation and database creation, execute the following to enable Oracle Database Extensions for .NET.
chopt enable ode_net
Execute the following to create the Oracle Database Extensions for .NET windows service.
oraclrctl -new
Bottom line: You have to install Oracle Database 12c to enjoy Oracle Database Extensions for .NET. It is meant to be a service running along with the database server, not in the client.

Resources