ORA-12066: invalid CREATE MATERIALIZED VIEW command

Cause : The Replication API does not support the following options and types of materialized view: o ROWID materialized views o REFRESH ON COMMIT o ON PREBUILT TABLE o BUILD DEFERRED o NEVER REFRESH o ENABLE QUERY REWRITE

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Create a PRIMARY KEY materialized view using REFRESH WITH PRIMARY KEY and/or remove the invalid options.

update : 19-08-2017

ORA-12066 - invalid CREATE MATERIALIZED VIEW command
ORA-12066 - invalid CREATE MATERIALIZED VIEW command

  • ora-30726 : cannot specify referenced column list here
  • ora-15200 : initialization parameter string (string) is not a power of two
  • ora-02462 : Duplicate INDEX option specified
  • ora-16083 : LogMiner session has not been created
  • ora-04083 : invalid trigger variable 'string'
  • ora-06113 : NETTCP: Too many connections
  • ora-07254 : spdcr: translation error while expanding ?/bin/oracle.
  • ora-31012 : Given XPATH expression not supported
  • ora-37112 : OLAP API requires Oracle 9.2 or later
  • ora-22926 : specified trim length is greater than current LOB value's length
  • ora-22627 : tc [string] must be that of object/varray/nested table
  • ora-39031 : invalid filter name string
  • ora-06515 : PL/SQL: unhandled exception string
  • ora-02772 : Invalid maximum server idle time
  • ora-07704 : error in archive text: need ':' after device name
  • ora-37070 : You may not execute OLAP DML programs in a parallel query session.
  • ora-16216 : Log stream sequence error
  • ora-29535 : source requires recompilation
  • ora-25438 : invalid variable name: string
  • ora-01332 : internal Logminer Dictionary error
  • ora-06126 : NETTCP: ORASRV unable to open network connection
  • ora-06794 : TLI Driver: shadow process could not retrieve protocol info
  • ora-02731 : osnrnf: malloc of buffer failed
  • ora-02836 : Unable to create temporary key file
  • ora-06402 : NETCMN: error receiving break message
  • ora-33213 : (CINSERT06) The target position for MAINTAIN ADD or MAINTAIN MOVE cannot fall in the range of session-only values.
  • ora-16044 : destination string attribute cannot be specified at session level
  • ora-29261 : bad argument
  • ora-01772 : Must specify a value for LEVEL
  • ora-06302 : IPA: Cannot connect to remote host
  • Oracle Database Error Messages

    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.