Oracle XE and Oracle 11g - oracle

Is it possible to install both Oracle XE and Oracle 11g in my machine? What is the difference between the two? I want to connect to Oracle using Access. Does this require Oracle 11g or can I also use Oracle XE?

You should be able to install as many (vaguely recent) versions of Oracle as you would like so long as you install them in separate Oracle Homes. There can be a bit of complexity in having multiple versions of Oracle installed because each Oracle Home will have a separate client installation with separate configuration files by default (though you can centralize some of that with appropriate environment variables). That can cause a bit of confusion if you're using the "wrong" client where, for example, you haven't configured a connection to a particular database.
Oracle XE is a free product that has various limits that make it sufficient for a smaller system (4 GB of user data, 1 GB of RAM, 1 CPU core if memory serves). Oracle 11g is a family of different database products that Oracle sells (enterprise, standard, and standard edition one). The feature difference between 10g and 11g is incremental-- probably nothing to be terribly concerned with if you're just building a simple system with an Access front end.
You should be able to connect to essentially any version of Oracle using Access by configuring an appropriate ODBC connection. During the installation process, you will want to ensure that the Oracle ODBC driver is installed for whatever database(s) you use-- that's probably not in the default install.

Related

Oracle Version requirements for ORA2PG tool to migrate from Oracle to PostgreSQL

I am trying to figure out what is the minimum and maximum versions or Oracle supported by ORA2PG tool for migrating Oracle database to PostgreSQL. I cannot locate it in their documentation. If someone has a link to this guidance, I will appreciate it.
Thanks.
I never used the tool, but - it seems that all it cares about is Oracle Client (or the Server itself) installed as ORA2PG needs "something" to use to establish connection to the database.
The lowest Oracle database version I found to be used with ORA2PG is 8i, while the highest is 18c. I presume that 19c would work as well as both 18c and 19c actually represent 12c releases (but Oracle decided to change the way it numbers the releases).
Therefore, I'd say that it covers all currently supported (by the Oracle corp.), as well as quite a few unsupported Oracle database versions.

Increase Oracle XE table space [duplicate]

We have oracle express edition 11g i.e. ORACLE XE 64bit. There is 10GB available space in the database. But system tablespace is 98% full, there are 2 system tabalespaces.
When we (our startup team) try to ADD or RESIZE the datafile or tablespace using ALTER command we get following error:
ORA -12953: The request exceed the maximum allowed database size of 11GB
What should be done to add or resize the datafile?
What should be done to add or resize the datafile?
Nothing can be done. The XE version is limited to 11GB of data, see this link
Oracle Database Express Edition Oracle Database Express Edition (Oracle Database XE) is an entry-level edition of Oracle Database that
is quick to download, simple to install and manage, and is free to
develop, deploy, and distribute. Oracle Database XE makes it easy to
upgrade to the other editions of Oracle without costly and complex
migrations. Oracle Database XE can be installed on any size machine
with any number of CPUs, stores up to 11 GB of user data, using up to
1 GB of memory, and using only one CPU on the host machine. Support is
provided by an online forum.
You can purchase Standard or Enterprise edition, which don't have this restriction (but you must pay for it).
You can also register in Oracle's Technology Network and use any of Oracle's product (including Oracle's Standard and Enterprice database editions from their download site) for free, but only for testing and development purposes.
See this licence for details:
License Rights and Restrictions
Oracle grants You a nonexclusive,
nontransferable, limited license to internally use the Programs,
subject to the restrictions stated in this Agreement, only for the
purpose of developing, testing, prototyping, and demonstrating Your
application and only as long as Your application has not been used for
any data processing, business, commercial, or production purposes, and
not for any other purpose.
As krokodilko says, it's a license limit.
Try to find some garbage or old data to delete... maybe some log table or something like that!
select owner||'.'||segment_name,segment_type, trunc(sum(bytes/1024/1024/1024),5) GB
from dba_segments
group by owner,segment_name,segment_type
order by 3 desc;

ORA -12953: The request exceed the maximum allowed database size of 11GB

We have oracle express edition 11g i.e. ORACLE XE 64bit. There is 10GB available space in the database. But system tablespace is 98% full, there are 2 system tabalespaces.
When we (our startup team) try to ADD or RESIZE the datafile or tablespace using ALTER command we get following error:
ORA -12953: The request exceed the maximum allowed database size of 11GB
What should be done to add or resize the datafile?
What should be done to add or resize the datafile?
Nothing can be done. The XE version is limited to 11GB of data, see this link
Oracle Database Express Edition Oracle Database Express Edition (Oracle Database XE) is an entry-level edition of Oracle Database that
is quick to download, simple to install and manage, and is free to
develop, deploy, and distribute. Oracle Database XE makes it easy to
upgrade to the other editions of Oracle without costly and complex
migrations. Oracle Database XE can be installed on any size machine
with any number of CPUs, stores up to 11 GB of user data, using up to
1 GB of memory, and using only one CPU on the host machine. Support is
provided by an online forum.
You can purchase Standard or Enterprise edition, which don't have this restriction (but you must pay for it).
You can also register in Oracle's Technology Network and use any of Oracle's product (including Oracle's Standard and Enterprice database editions from their download site) for free, but only for testing and development purposes.
See this licence for details:
License Rights and Restrictions
Oracle grants You a nonexclusive,
nontransferable, limited license to internally use the Programs,
subject to the restrictions stated in this Agreement, only for the
purpose of developing, testing, prototyping, and demonstrating Your
application and only as long as Your application has not been used for
any data processing, business, commercial, or production purposes, and
not for any other purpose.
As krokodilko says, it's a license limit.
Try to find some garbage or old data to delete... maybe some log table or something like that!
select owner||'.'||segment_name,segment_type, trunc(sum(bytes/1024/1024/1024),5) GB
from dba_segments
group by owner,segment_name,segment_type
order by 3 desc;

Oracle ODBC dns connection

My boss has asked me to set up a connection to our oracle Database (not local).
My first step was to download a oracle ODBC driver to use.
I downloaded and installed "ODBC Driver for Rdb, Release 3.3.2.0 64-bit (odbc3320_64.zip)".
I then decided to set up the DNS as I have done before using ODBC manager in windows 7.
Unfortunatly its not as easy as setting up a connection to a sql server.
Im wondering could some one walk me through the process or has anyone got a video link?
Many thanks
heres TNSPING result
Assuming that you are trying to connect to an Oracle database, not an Oracle RDB database (RDB is a database that Oracle the company acquired from DEC), and assuming that the Oracle database is a reasonably recent version, and assuming that you do not have a version of the Oracle client installed on your machine now, the simplest approach is likely to download and install the 11.2 Oracle client on your machine and to choose to install the Oracle ODBC driver as part of that installation.
If you look at the Oracle Database Software Downloads page, under Oracle Database 11g Release 2, there will be a set of links for both 32- and 64-bit Windows. Choose the "See All" option for whatever version of Windows you have. That should give you an option to download something called the "Oracle Database 11g Release 2 Client" which is going to be a ~600 MB download. Once you have that, run the installer and make sure to include the Oracle ODBC driver as part of the installation (you may need to do a custom install, I don't recall which of the client installation options includes an ODBC driver by default).

Develop on local Oracle instance

I want our team to develop against local instances of an Oracle database. With MS SQL, I can use SQL Express Edition. What are my options?
Oracle has an express edition as well. I believe it is more limited though (IIRC, you can only have one database on an instance)
Oracle XE
I have had a lot of success using Oracle 10g Express Edition. It comes with Oracle Aplication Express which allows the simple admin and creation of software via a web interface. It is limited to 4Gb of Disk Space, 1Gb of Ram and will only use 1 processor.
It's free and in my experience has been 100% reliable. It can easily be hosted within a Virtual machine.
Also Oracle SQL Developer is a cross platform application that can be used with any version of Oracle and is also free. Oracle 10g is superb. Go for it :-)
I'm happy with Oracle XE for development purposes.
I do have this piece of wisdow to share; if you're having problems like ORA-12519: TNS:no appropriate service handler found or ORA-12560: TNS:protocol adapter error from time to time then try to change your PROCESSES parameter, logon to Oracle using sys as sysdba and execute the following:
ALTER SYSTEM SET PROCESSES=150 SCOPE=SPFILE;
After changing the PROCESSES parameter restart your Oracle service.
Oracle allows developers to download and use Oracle for free for the purpose of developing software (at least for the initial prototype, best to read the license terms). Downloads here.
We ended up using Oracle XE. Install client, install express, reboot, it just works.
I don't recommend Oracle XE. My co-workers and I have been doing a project in Oracle and got severely tripped up after trying to use XE for our local development instances. The database worked fine until we started running local stress tests, at which point it started dropping connections.
I don't know whether this is an intentional, documented limitation or if perhaps we each just hit a weird bug, but I strongly recommend that you stay away from XE. When we both switched over to the full version, our problems immediately went away.
Also, Oracle doesn't require any kind of licensing confirmation for the full server; you have to click something to say that you have indeed acquired a license, but it doesn't make you prove it. So if you indeed have a license to use Oracle, there's no reason why you can't just install the full version on your development machines.

Resources