Put  a table into read-only  mode,which prevents DDL or DML changes during table maintenance

Put the table back into read/write mode 

alter table XX READ ONLY;

alter table XX READ WRITE;

 

We only live once, and time just goes by.