Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do i increase database size from 11GB to above 20Gb

Every time i get below error when ever i try to import new dump into the data base. How do i increase db size? Any ways to resolve this, without deleting data from database?

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

like image 430
Charan Avatar asked Sep 25 '22 06:09

Charan


People also ask

How do I increase the size of my SQL Server database?

Expand Databases, right-click the database to increase, and then click Properties. In Database Properties, select the Files page. To increase the size of an existing file, increase the value in the Initial Size (MB) column for the file. You must increase the size of the database by at least 1 megabyte.

How do I increase the size of my Oracle database?

ALTER TABLESPACE users ADD DATAFILE '/u02/oracle/rbdb1/users03. dbf' SIZE 10M AUTOEXTEND ON NEXT 512K MAXSIZE 250M; The value of NEXT is the minimum size of the increments added to the file when it extends. The value of MAXSIZE is the maximum size to which the file can automatically extend.

How do I add more space to a tablespace in Oracle?

Increase the size of the tablespace If you haven't turned on the autoextend feature and want to resize the tablespace, then do the following: For bigfile tablespaces: Resize the tablespace using the ALTER TABLESPACE command. You can specify the size in kilobytes (K), megabytes (M), gigabytes (G), or terabytes (T).

How do I change Max datafile size in Oracle?

SQL> alter database datafile '/whackenhut/smackdoodle/endoplasm/flurst01. dbf' autoextend on maxsize 2200M; Database altered. and, voila!, it will now extend to 2200 M instead of the 2000 M we originally set as its limit.


1 Answers

I just ran into the same problem and found a good answer on this page: http://petesdbablog.wordpress.com/2013/04/07/oracle-11g-xe-and-the-11-gigabyte-limit/

It states that all data files (excluding the undo and temp file, which is generated by Oracle) together are allowed a maximum size of 11 GB.

You can check the current data file sizes with SQLPLUS by executing:

select file_name, bytes from dba_data_files;

One possible way to resolve the problem is to manually decrease the size of a data file that is rather big. You can do this with the following command in SQLPLUS (use one of the file names returned by the command above):

alter database datafile '/u01/app/oracle/oradata/XE/YOUR_OWN_FILENAME.dbf' RESIZE 5G;

If this doesn't work: try a larger value for the new file size.

like image 114
Marcell Avatar answered Oct 20 '22 02:10

Marcell