Airflow with oracle backend - oracle

In my company we are evaluating the use of Airflow mainly to run ML model.
In the documentation they suggest to use Postgres or MySQL, but we prefer to stick with our tools, in this particular scenario we'd like to give to Airflow a dedicated schema in Oracle Database Enteprise Edition 19.
Is it possible to have oracle as a backend db? Are there any drawback?

It seams that Oracle is not supported as a backend for Airflow corresponding to the Jira ticket: AIRFLOW-3994

From this link, it seems that you can use Oracle with airflow.

Airflow can run with any DB supported by SqlAlchemy. For example:
PostgreSQL
MySQL
SQLite
Oracle
Microsoft SQL Server
List of supported dialects: https://docs.sqlalchemy.org/en/13/dialects/
Although from my experience I recommend using Postgres from my experience and for performance reasons.

Related

Connect to Oracle with TOAD

Is there any way to connect to Oracle using TOAD without installing an Oracle client?
If you check Installation Guide, Database requirements specify:
An Oracle client must be installed and configured on the system where you are running Toad (...)
Therefore, I'd say no is the answer to your question.

Need to migrate Oracle transaction data to Azure SQL

There is one scenario where in our target is to migrate oracle database to Azure SQL DB.
Currently I am evaluating multiple options to migrate the existing Oracle Db to the Azure SQL DB, for the same reason I could not decide how to handle this situation where in the source DB i.e. Oracle is having transaction data which is a kind of incremental load.
Should this can be handled with mere replication of DB? or performing some data migration steps would help me ? Here i can think of earlier approach as easier approach where in i need not to worry about the transaction updates happening inside the data.
Considering this which utility i should use to perform this kind of activity?
You can replicate your Oracle database to Azure using Oracle Golden Gate as a way to migrate your Oracle database to Azure SQL. Striim seems to be another good tools to move your database to Azure SQL.
I think you may use the SQL Server Migration Assistant (SSMA) for Oracle.
SQL Server Migration Assistant (SSMA) for Oracle consists of a client application that you use to perform a migration from Oracle to SQL Server and Azure SQL DB. It also contains an extension pack that supports data migration and the use of Oracle system functions in your migrated databases.
SSMA can converts the transaction processing:
For more details, you can see:SQL Server Migration Assistant (SSMA) for Oracle
Hope this helps!

How do I access Mongo DB via Oracle SQL Developer

Does anyone know how do I connect to MongoDB via SQL Developer?
I Have tried to install the third Party JDBC Drivers in SQL Developer for MongoDB but after restarting the SQL Developer I cannot see any options available.
Thanks in advance,
Vassilis
Sorry, MongoDB is not a supported migration platform, so we do not support connections to it. We offer connections to 3rd party databases to allow for migrations to Oracle Database.
It's not designed to be a poly-DBMS IDE/GUI.

PostgreSQL to Oracle Database with Oracle GoldenGate 11.2.1

I've spent 2 days to sync postgresql database to oracle. Read few books, googled many times..
1. I have setup PostgreSQL on CentOS 6.5 (A) also installed oracle database on this VPS. copied GoldenGate to it.
2. I have already setup 2 oracle VPS using Goldengate and setup as Source (B) and Target (C). I'm trying to sync PostgreSQL to Target VPS.
3. GoldenGate runs on A server without error.
The problem is when I setting up it requires ODBC config (page 14). I'm new to PostgreSQL so little confusing for this..
Also when I google i find only to postgresql from oracle.
Main doc I'm following is http://docs.oracle.com/cd/E35209_01/doc.1121/e29642.pdf
Actually I have found Oracle Golden Gate new features https://blogs.oracle.com/dataintegration/resource/2013-DIFamily/OGG_WinUnix_Rel_Notes_11.2.1.0.7.pdf
Oracle Golden Gate don't support what I want to do.
They say:
Oracle GoldenGate introduces support for PostgreSQL. This support includes the mapping, manipulation,
filtering, and delivery of data from other types of databases to a PostgreSQL database. Oracle GoldenGate
does not support the capture of data from PostgreSQL to other PostgreSQL databases or to other kinds of
databases.
GoldenGate does not support Postgres as a source - only target.
Check out Attunity for what you are trying to do.
Postgres support was only for delivery in Oracle GoldenGate 12.2. Oracle is working on a full capture/delivery support for Postgres. It will be out in a later release post 19c. Please check the OTN website for versions.

How to connect an oracle 11g database and php

I'm working on a university assignment where I am trying to work with PHP and Oracle 11g database. I've downloaded Oracle 11g in to my PC, and I'm actually accessing the databases I made at university I am also able to use the service name, hostname and SID set by my university.
However, what I'm slightly puzzled by is how can I work with Oracle database and PHP? I have XAMP installed in my PC which enables me to work with MySQL and PHP, but was wondering If I can also use this with oracle.
Thanks
Try the underground PHP and Oracle manual here
http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html
From the "Who should read this book" section
This book is designed to bridge the gap between the many PHP and the
many Oracle texts available. It shows how to use the PHP scripting
language with the Oracle database, from installation to using them
efficiently.
The installation and database discussion in this book highlights the
Oracle Database 10g Express Edition, but everything covered in this
book also applies to the other editions of the Oracle database,
including Oracle Database 11g. The PHP you write for Oracle Database
10g Express Edition can be run, without change, against all editions
of the Oracle database as well.
The book contains much unique material on PHP's Oracle OCI8 and
PDO_OCI extensions. It also incorporates several updated installation
guides previously published on the Oracle Technology Network web site.
There is also an tutorial of connecting PHP with Oracle here http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/oow10/php_db/php_db.htm
and some further tutorials in the Oracle+PHP cookbook here
http://www.oracle.com/technetwork/articles/index-091900.html

Resources