Increase Oracle XE table space [duplicate] - oracle

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;

Related

Oracle XE on AWS License for Test Instance

Can I install Oracle XE on EC2 instance for internal Test Server? I need to setup one web application for internal testing before I deploy to Production RDS instance.
Does license permit to use it on cloud for internal testing? I have already purchased Oracle RDS instance for production.
Here is what I understand is that - it can be used as production but limitation will enforced at XE Database that it will not use more than 1 CPU and 11GB of user data.
Oracle Database XE can be installed on any size host machine with any number of CPUs (one database per machine), but XE will store up to 11GB of user data, use up to 1GB of memory, and use one CPU on the host machine.
In addition to Oracle 11 XE, you can use other versions and use Oracle Technology Network License Agreement.
You can download the following versions Oracle 18c, 12.2.0.1.0 - Standard Edition 2 and Enterprise Edition, 12.1.0.2.0 - Enterprise Edition, 12.1.0.2.0 - Standard Edition (SE2), 11.2.0.1.0 Standard Edition, Standard Edition One, and Enterprise Edition and use it only for the purpose of developing, testing, prototyping, and demonstrating without violating the license.
Oracle Technology Network License Agreement
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. You may allow Your Contractor(s) to use the
Programs, provided they are acting on Your behalf to exercise license
rights granted in this Agreement and further provided that You are
responsible for their compliance with this Agreement in such use. You
will have a written agreement with Your Contractor(s) that strictly
limits their right to use the Programs and that otherwise protects
Oracle’s intellectual property rights to the same extent as this
Agreement. You may make copies of the Programs to the extent
reasonably necessary to exercise the license rights granted in this
Agreement. You may make one copy of the Programs for backup purposes.
Update 1
A feature of the installation in the cloud is the Amazon.
Before installation, you must make a swap.
dd if=/dev/zero of=/swapfile bs=20M count=100
mkswap /swapfile
swapon /swapfile
swapon -s
Filename Type Size Used Priority
/swapfile file 2047996 243300 -1

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 XE and Oracle 11g

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.

How to create a database in Oracle8 Lite with Developer 2000?

I am new in Oracle. I install Oracle 8 Lite with Developer 2000. Now I want to create a database for me. For that I open Oracle8 Navigator and Create a database which user is system. But in Oracle SQL*Plus I can not communicate with the database. Or even after creating a table using Oracle8 Navigator I can't alter the table.
Please tell me how can I alter my table?
Not sure what you are dealing with.
There is an Oracle Lite database for PDAs, mobile devices etc. But that went from version 5 to 9.
There was a standard Oracle 8 database (8 and 8i) which is markedly different, especially when it comes to Developer/2000.
Finally, Oracle 8 and Developer/2000 are pretty long in the tooth. I wouldn't recommend trying to learn off them unless it is for a specific job that uses those technologies. [Similar with Oracle Lite].
I'd recommend looking for Oracle XE (Express Edition) and the Apex development environment as a good way to start to learn Oracle.

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