I'm working on a migration project from ORACLE to POSTGRES, and I need to find an equivalent of UTL_TCP for postgres , Is there any extension I should add or something like this ?
Thank you
There is no equivalent for that in PostgreSQL.
What I would do is write a function in PL/PerlU or PL/PythonU that accesses the network.
Related
In my project, I should receive data from the oracle and after processing it, write it to postgres, in my case, I need to use mybatis to communicate with the database. Can I connect to different databases in one project?(Postgres, Oracle) Have you faced such a situation?
If so, how do configure the datasourse? I need advice, thanks in advance. It will be great to see code examples
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.
I use a MySQL DB with jdbc and have select statement that looks like:
'SELECT id, name, INET_ATON(user_ip) AS user_ip_long FROM my_table;'
witch works perfectly, but for testing purpose I would like to use a derby DB aswell.
Since derby doesn't support inet_aton() I would like to know if ther is any workaround to use an inet_aton() function with derby?
You can write user-defined functions in Derby. Here's a nice blog with lots of step-by-step information: http://www.danvega.org/blog/2010/2/17/Creating-Apache-Derby-Custom-Functions-Part-2
And here's the Derby reference manual docs for the subject: http://db.apache.org/derby/docs/10.10/ref/rrefcreatefunctionstatement.html
I would like to migrate the Stored Procedure from PostgreSQL to Oracle, can someone suggest me a free tool for doing it ?
Well, SQLDeveloper is free.
But really, if you are moving code from postgresql to oracle, more than likely it's not a simple matter for exporting and importing; you will need to do some coding.
I'd like to use Oracle's SQLdeveloper to visualize my HSQLDB tables.
An instruction on how to use it with MySQL can be found on https://web.archive.org/web/1/http://blogs.techrepublic%2ecom%2ecom/programming-and-development/?p=564 ... and I know that Oracle points to a location where to download all JDBC drivers.
With MySQL this worked, however, including the JAR file from HSQLDB (here: hsqldb-1.8.0.10.jar) did not make a new tab show up (as is the case with MySQL).
Is there a way to "convince" SQLdeveloper working with HSQLDB and JDBC?
FYI, I am using Squirrel too but it's not as comfortable to work with compared to SQLdeveloper.
I was looking for the same thing, then found this:
http://forums.oracle.com/forums/thread.jspa?messageID=4241526�
So basically Oracle doesn't support it, and you can't add a new TAB on your own, even if you have the JDBC driver.
You can try other tool like ExecuteQuery (executequery dot org)