I created a materialized view in Oracle. I used logs to enable/use fast refresh. Main table contains ~12 billion entries, joining table ~8 million. Materialized view contains 366 million entries. After the creation of the table which took 4h, we can't create a index.
create index Idx_TABLE_USERID
on SCHEMANAME.TABLE(USERID);
We get the error:
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
Why there is a lock on the table? Does he fill the logs?