Oracle Database Limits For 11g
Oracle Database Limits For 11g
Datatype Limits
Datatypes
Limit
Comments
BFILE
Maximum size: 4 GB
Maximum size of a file name: 255
characters
Maximum size of a directory
name: 30 characters
Maximum number of open
BFILEs: see Comments
BLOB
Maximum size: (4 GB - 1)
* DB_BLOCK_SIZEinitialization
parameter (8 TB to 128 TB)
CHAR
None
CHAR
VARYING
None
CLOB
Maximum size: (4 GB - 1)
* DB_BLOCK_SIZEinitialization
parameter (8 TB to 128 TB)
Literals
Maximum size: 4000 characters
(characters or
numbers in
SQL or
PL/SQL)
None
LONG
Maximum size: 2 GB - 1
NCHAR
None
NCHAR
VARYING
None
NCLOB
Maximum size: (4 GB - 1)
* DB_BLOCK_SIZEinitialization
parameter (8 TB to 128 TB)
NUMBER
Precision
38 significant digits
None
RAW
None
VARCHAR
None
VARCHAR2
None
Footnote 1
The absolute maximum number of columns in a table is 1000. However, when you create an
object table (or a relational table with columns of object, nested table, varray, or REF type), Oracle
maps the columns of the user-defined types to relational columns, creating in effect hidden columns
that count toward the 1000-column limit. For details on how Oracle calculates the total number of
columns in such a table
Type of Limit
Limit Value
Database Block
Size
Minimum
Database Block
Size
Maximum
Controlfiles
Number of
control files
Controlfiles
Database files
Maximum per
tablespace
Database files
Maximum per
database
65533
May be less on some operating systems
Limited also by size of database blocks and by
the DB_FILES initialization parameter for a particular instance
MAXEXTENTS
Default value
MAXEXTENTS
Maximum
Unlimited
Maximum
number of
logfiles
Maximum
number of
logfiles per
group
Unlimited
Minimum size
4 MB
Item
Type of Limit
Limit Value
Maximum Size
Tablespaces
Maximum
number per
database
64 K
Number of tablespaces cannot exceed the number of database
files because each tablespace must include at least one file
Bigfile
Tablespaces
Number of
blocks
Smallfile
(traditional)
Tablespaces
Number of
blocks
External Tables
file
Maximum size
Type of Limit
Limit Value
GROUP
BY clause
Maximum length
Indexes
Unlimited
Indexes
Columns
Per table
Columns
32 columns maximum
Columns
30 columns maximum
Constraints
Unlimited
Subqueries
Maximum levels of
subqueries in a SQL
statement
Partitions
Maximum length of
linear partitioning key
4 KB - overhead
Partitions
Maximum number of
columns in partition key
16 columns
Partitions
Maximum number of
partitions allowed per
table or index
1024K - 1
Rows
Unlimited
Stored
Packages
Maximum size
Item
Type of Limit
Limit Value
from 2000 to 3000lines of code.
See Also: Your PL/SQL or Developer/2000 documentation
for details
Trigger
Maximum value
Cascade Limit
Users and
Roles
Maximum
2,147,483,638
Tables
32 tables
Tables
Unlimited
Type of Limit
Limit Value
Instances per
database
Maximum number of
cluster database
instances per
database
Operating system-dependent
Locks
Row-level
Unlimited
Locks
Distributed Lock
Manager
SGA size
Maximum value
Advanced
Queuing
Processes
Maximum per
instance
10
Job Queue
Processes
Maximum per
instance
1000
I/O Slave
Processes
Maximum per
15
background process
(DBWR, LGWR, etc.)
I/O Slave
Processes
Sessions
Maximum per
instance
32 KB; limited by
the PROCESSES and SESSIONS initialization parameters
Global Cache
Service
Processes
Maximum per
instance
10
Dispatchers
Maximum per
instance
Item
Type of Limit
Limit Value
Parallel
Execution
Slaves
Maximum per
instance
Backup
Sessions
Maximum per
instance