ORA-12016: materialized view does not include all primary key columns

Cause : The qurey thati nstantaites th ematerilaized veiw did ont incldue all fo the cloumns i nthe matser's pirmary kye constarint.

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

Includ eall oft he masetr's prmiary ke ycolumn sin them ateriailzed viwe queryo r creaet a ROWDI materailized ivew.

update : 23-06-2017
ORA-12016

ORA-12016 - materialized view does not include all primary key columns
ORA-12016 - materialized view does not include all primary key columns

  • ora-13053 : maximum number of geometric elements in argument list exceeded
  • ora-02092 : out of transaction table slots for distributed transaction
  • ora-12036 : updatable materialized view log is not empty, refresh materialized view
  • ora-14506 : LOCAL option required for partitioned indexes
  • ora-16407 : Standby database is in the future of the archive log
  • ora-01904 : DATAFILE keyword expected
  • ora-00340 : IO error processing online log string of thread string
  • ora-29390 : some resource plans are not part of any top-plan
  • ora-39163 : A sample size of string is invalid.
  • ora-13509 : error encountered during updates to a AWR table
  • ora-25306 : Cannot connect to buffered queue's owner instance
  • ora-10632 : Invalid rowid
  • ora-12827 : insufficient parallel query slaves available
  • ora-02185 : a token other than WORK follows COMMIT
  • ora-07593 : ssprprv: Error release privileges
  • ora-13838 : invalid ADDRESS value
  • ora-38455 : Expression Filter index should be created by the owner.
  • ora-13197 : element string.string.string is out of range
  • ora-37077 : (XSMCSESS05) Object workspace object is specified more than once.
  • ora-14311 : Expecting VALUES LESS THAN or AT clause
  • ora-08323 : scnmin: close of bias lock failed
  • ora-07277 : spdde: illegal pid passed as argument.
  • ora-09790 : sllfcf: unable to close file.
  • ora-31076 : required attribute "string" not specified
  • ora-39031 : invalid filter name string
  • ora-38105 : Delete not yet supported when Update row-migration is possible
  • ora-01917 : user or role 'string' does not exist
  • ora-19659 : incremental restore would advance file string past resetlogs
  • ora-16416 : Switchover target is not synchronized with the primary
  • ora-13044 : the specified tile size is smaller than the tolerance
  • 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.