ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello Everyone!
I want to know that can I use Oracle in Programming on Linux Plateform in C or C++ or QT or GTK whatever? If yes then how? Will anybody tell me in which file the oracle saves the database we create and how can we see that?
There is a free version of Oracle.
If you look around in the Oracle web page you can find it, sadly the oracle web page is not as user friendly as this one (Jeremy have you thought of a new job ?).
One place to start would be by looking at the OCI API. It's a connector for c/c++ to oracle. I'm sure there are others out there, but I've never really done much c++.
Oracle saves data in datafiles usually name "tablespace_name".ORA.
Originally posted by davholla There is a free version of Oracle.
If you look around in the Oracle web page you can find it, sadly the oracle web page is not as user friendly as this one (Jeremy have you thought of a new job ?).
Can someone please explain the different options to get oracle?
There is an option to buy a license for $40 000 per processor or $800 per named user. However, if you carry on looking, there is a downloadable version of the same software.
What exactly is the license of the downloadable version or is it completely free? Whats the point of buying oracle at such a high price then?
I could be wrong, but I seem to recall that Oracle was free for development and learning usage only. If you intend to use it as a final product, you are supposed to pay.
It's been awhile since I downloaded Oracle, so you'll want to read their licence agreement to be sure, though.
Don't mess with OCI unless you want to do php programming - in which case use php.
Pro*C is a C precompiler that lets you embed sql calls directly into C code. It a lot more efficient coding-wise than using OCI.
An Oracle instance (database) is a group of files and processes. Some files are for data, others for read consistency, etc. A pure data file can exist, but you could never read it, because it is probably one or more tablespaces.
you can use Pro*C which is already included when you install Oracle. I know its free for personal use. If you want to use C++, you can download OCL (Oracle Class Library) which is much easier than Pro*C++.
you cannot access the datafiles directly. you can only access the logical process that writes into the database. also all the changes is written first into the redo log before flushing it into the datafiles...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.