You need sufficient privileges to create a materialized view in the particular DB.
At first I tried with an user name and password to create a materialized view. The particular User name doesn’t have privileges to create a materialized view.
CREATE MATERIALIZED MV_TEST
AS
SELECT * FROM EMPLOYEE;
I got the following error when I try to create a materialized view.
ORA-01031: insufficient privileges
So I need a Role to be granted to create materialized view.
GRANT CREATE MATERIALIZED VIEW TO USER_NAME;
GRANT SUCEEDED.
Then I tried with the above create statement with the corresponding user name. I can able to create Materialized view