using batch for unlocking & renaming tables;
rename is better than 2 alter coz its atomic, so there won't be the case that org table changed to archive but copy is blocked to change to org, coz of the table metadata lock holds by concurrent DML/Select.
Need to add timeout for waiting for rename table.