در اوراکل 12c می توان همراه با اجرای دستورات DMLای بر روی رکوردهای یک جدول، دستورات DDLای زیر را به صورت انلاین بر روی جدول یا ابجکتهای مرتبط با آن، انجام داد:
ALTER INDEX UNUSABLE
SET COLUMN UNUSED
DROP INDEX
DROP CONSTRAINT
مثال زیر را ببینید:
in 11g:
delete usef.tbl1;
drop index usef.indx2;
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
in 12c:
delete usef.tbl1;
drop index usef.indx2 ONLINE;
wait….
دستورات زیر، نمونه های دیگری برای استفاده از این قابلیت هستند:
alter index usef.indx4 unusable online;
alter table TBL1 set unused column b online;
alter table TBL1 drop constraint BB online;