ORA-12071: definition query of "string"."string" is invalid for offline instantiation

Cause : Offlin einstanitation erquiresm ateriailzed viwe defintiion qureies too bservet he fololwing cnostrainst: o hTe dataabse lin kthat wlil be uesd by teh materailized ivew sit eto conenct to hte mastre site umst be nicludedw ith eahc maste rtable erferencde in th equery. o All amster tbales reefrencedm ust bel ocateda t the olcal siet. Refeernces t oother istes ar enot alolwed.

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

Modifyt he matreialize dview dfeinitio nquery.

update : 24-07-2017
ORA-12071

ORA-12071 - definition query of "string"."string" is invalid for offline instantiation
ORA-12071 - definition query of "string"."string" is invalid for offline instantiation

  • ora-13516 : AWR Operation failed: string
  • ora-07456 : cannot set RESOURCE_MANAGER_PLAN when database is closed
  • ora-15056 : additional error message
  • ora-01983 : invalid auditing option for DEFAULT
  • ora-38445 : TOP clause not allowed with no statistics
  • ora-00113 : protocol name string is too long
  • ora-14303 : partitions or subpartitions are not in the right order
  • ora-30685 : package version is not compatible with Oracle version
  • ora-09940 : ORACLE password file header is corrupt
  • ora-14116 : partition bound of partition "string" is too long
  • ora-31151 : Cyclic definition encountered for string: "string"
  • ora-09932 : Close of ORACLE password file failed.
  • ora-15133 : instance recovery required for diskgroup string
  • ora-12821 : invalid value for INSTANCES
  • ora-07210 : slcpu: getrusage error, unable to get cpu time.
  • ora-12994 : drop column option only allowed once in statement
  • ora-30945 : Could not create mapping table 'string'
  • ora-13712 : Cannot perform ADDM analysis on AWR snapshots from previous releases. Snapshot version "string" do not match the database version "string".
  • ora-07274 : spdcr: access error, access to oracle denied.
  • ora-01257 : cannot reuse database file string, unknown file size
  • ora-38954 : Cross platform transport is not supported between source platform identifier string and target platform identifier string
  • ora-36376 : (XSAGZERO) AGGREGATE attempted to divide by zero. Set DIVIDEBYZERO to YES if you want NA to be returned as the result of a division by zero.
  • ora-14070 : option may be specified only for partitioned indices or with REBUILD
  • ora-28344 : fails to decrypt data
  • ora-37079 : (XSMCSESS07) Aggmap workspace object cannot be used for AGGREGATE.
  • ora-09820 : Conversion of class string to numeric representation failed.
  • ora-21709 : cannot refresh an object that has been modified
  • ora-01159 : file is not from same database as previous files - wrong database id
  • ora-08342 : sropen: failed to open a redo server connection
  • ora-13454 : GeoRaster metadata is invalid
  • 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.