-1

I have an old program which uses cx_Oracle with Oracle 11g. This program is not portable as the user need to download Oracle 11g in order to use it. Is it possible to use Oracle database in my script but without downloading it, may be by using any online database?

1

2 Answers 2

1

Oracle software can be downloaded from the Oracle Technology Network, here.

If you want to use an online database, Oracle offers Oracle Cloud Free Tier, but I don't think it offers 11g as it is quite old (will be desupported soon). Also, I don't know whether you can (or can not) connect your Python application to it; you'll have to contact Oracle or wait for someone else who knows that info.

Maybe someone hosts 11g, but I doubt that it is for free so - maybe your best option is to download and install free Oracle 11g Express Edition (XE).

Sign up to request clarification or add additional context in comments.

7 Comments

It's not a problem, I can modify my code manually. I just want to keep using SQL queries no matter what database I am using. Any suggestions will be appreciated. Eg I can use sqlite3 easily but I doubt how much data it can hold.
Then it is 11g XE. Simple to install, in a few NEXT-NEXT clicks.
Why use XE 11g when XE 18c is available ? ! oracle.com/database/technologies/xe-downloads.html
Two reasons I can think of, @Christopher: because the OP says they use(d) 11g with Python, and because it is somewhat simpler than later database versions (PDB? CDB? Huh?).
@Littlefoot I didn't mean that. The program is still not portable. IF I use sqlite3, I don't need any additional software and it will be local. If I can get a remote database, it will be better.
|
0

After reading your problem, What I understood is that you need a portable database. Since your scripts are connected to Oracle 11g with cx_Oracle , I guess you used SQL queries everywhere. I suggest you to use SQLite instead of cx_Oracle if you are in a hurry. Both have kinda similar syntax for executing queries though you may need to modify some keyword. To start quickly refer https://docs.python.org/3/library/sqlite3.html

1 Comment

Thanks, I will try this and get back to you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.