B Automatic and Manual Locking Mechanisms During SQL Operations
This appendix describes mechanisms that lock data either automatically or as specified by the user during SQL statements. For a general discussion of locking mechanisms in the context of data concurrency and consistency, see Oracle Database Concepts.
This appendix contains the following sections:
List of Nonblocking DDLs
Release 23
The following nonblocking DDLs are added in Release 23.3:
-
alter table add column
-
alter table set column unused
-
alter table add constraint enable novalidate
-
alter table drop constraint
Release 21
The following nonblocking DDLs are added in Release 21c:
-
alter table modify default attributes tablespace
-
alter table modify default attributes lob tablespace
-
alter index modify default attributes tablespace
-
alter table modify default attributes for partition tablespace
-
alter table modify default attributes for partition lob tablespace
-
alter index modify default attributes for partition tablespace
Release 12.2.0.2
List of Nonblocking DDLs Added in 12.2.0.2
-
Alter table merge partition online
-
alter table modify partition by .. online (to change the partitioning schema of a table)
Release 12.2.0.1
List of Nonblocking DDLs Added in 12.2.0.1
-
alter table split partition [subpartition] online
-
alter table move online (move of a non-partitioned table)
-
alter table modify partition by .. online (to convert a non-partitioned table to partitioned state)
Release 12.1
The following nonblocking DDLs are added as of Release 12.1. Some nonblocking DDLs are downgraded to blocking in the presence of supplemental logging.
List of Nonblocking DDLs Added in 12.1
-
drop index online
-
alter index unusable online
-
alter table move partition online
-
alter table move subpartition online
List of Nonblocking DDLs Added in 12.1 that Downgrade to Blocking During Supplemental Logging
-
alter table set unused column online
-
alter table drop constraint online
-
alter table modify column visible / invisible
-
alter table add nullable column with default value
Release 11.2
The following nonblocking DDLs are added as of Release 11.2. Some nonblocking DDLs are downgraded to blocking in the presence of supplemental logging.
-
create index online
-
alter index rebuild online
-
alter index rebuild partition online
-
alter index rebuild subpartition online
-
alter index visible / novisible
-
alter table add column not null with default value
-
alter table add constraint enable novalidate
-
alter table modify constraint validate
-
alter table add column (without any default)