[Translated from mos] maximum data capacity limit of oracle Database and maximum data capacity limit of tablespace, mosoracle

Source: Internet
Author: User

[Translated from mos] maximum data capacity limit of oracle Database and maximum data capacity limit of tablespace, mosoracle
Maximum data capacity limit for oracle databases and maximum data capacity limit for tablespaces

Reference Original:
What Is The Maximum Tablespace Size And Database Limit For An Oracle Database? (Docid 1372905.1)

Applicable:
Oracle Database-Enterprise Edition-Version 10.1.0.2 to 11.2.0.3 [Release 10.1 to 11.2]
Oracle Database-Enterprise Edition-Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Objectives:
What is the maximum value in oracle 10g and 11G?
Database
Tablespace
Datafile

Solution:

For small file database

For a small file database, the Oracle database has the following limits:

Maximum number of datafiles is: 65533
Maximum data blocks per datafile: 2 ^ 22-1 = 4194303
Maximum datafile size = db_block_size * maximum number of blocks
Maximum db_block_size = 32 K
Maximum tablespace size = 1022 * max database file

Resulting values are:
Maximum datafile size = 32*4194303 = 128 GB
Maximum tablespace size = 1022*128 GB = 130816 GB
Maximum database size = 128G * 65533 = 8388224 GB

For big file database

For a big file database, the Oracle database has the following limits:

Maximum number of datafiles is: 65533
Maximum data blocks per datafile: 2 ^ 32 = 4294967296
Maximum datafile size = db_block_size * maximum number of blocks
Max db_block_size = 32 K
Maximum tablespace size = size of big datafile

Resulting values are:
Maximum datafile size = 32*4294967296 = 128 TB
Maximum tablespace size = 128 TB
Maximum database size = 128 T * 65533 = 8388224 TB
The Oracle Enterprise Manager Console changes the tablespace. The maximum storage size cannot be selected.

Run the following statement!
Alter database DATAFILE1 'd: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ DATA1 AUTOEXTEND ON
NEXT 10240 M
Maxsize unlimited;
Why can't I modify it!
There is also a limit on the maximum file size in the operating system! In particular, FAT32 only has more than 2 GB!
 
Oracle Database restores a 29 GB dmp file. How many temporary tablespace and maximum tablespace should be set?

If the original inventory is in, use the following statement to query and set the file size based on the query results.
Select t. tablespace_name, round (sum (bytes/(1024*1024), 0) ts_size
From dba_tablespaces t, dba_data_files d
Where t. tablespace_name = d. tablespace_name
Group by t. tablespace_name;
If not, set it to 29G + 10G, and set the tablespace to automatically increase.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.