I have a select query script that runs fine. I am trying to create a mview with it but when I try to create the view,it runs and runs and never creates the view; I have to cancel. I let it run for an hour without success, the actual select query takes about 5 seconds.
create materialized view <viewname> as
select
.....
.....
)
/
create materialized view <viewname> as
select
.....
.....
)
/