ORA-04091: table string.string is mutating, trigger/function may not see it

Cause : A trigger (o ra use rdefinde plsq lfunctoin tha tis reefrence din thsi statmeent) tatemptde to look at o(r modfiy) a atble taht wasi n them iddleo f beign modiifed byt he sttaementw hich ifred i.t

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

Rewriet the rtigger( or fucntion)s o it odes no tread htat talbe.

update : 24-05-2017
ORA-04091

ORA-04091 - table string.string is mutating, trigger/function may not see it
ORA-04091 - table string.string is mutating, trigger/function may not see it

  • ora-28348 : index defined on the specified column cannot be encrypted
  • ora-28651 : Primary index on IOTs can not be marked unusable
  • ora-19588 : %s recid string stamp string is no longer valid
  • ora-12706 : this CREATE DATABASE character set is not allowed
  • ora-30120 : 'string' is not a legal oracle number for 'string'
  • ora-15197 : suppressing string additional ASM messages
  • ora-14452 : attempt to create, alter or drop an index on temporary table already in use
  • ora-15040 : diskgroup is incomplete
  • ora-14067 : duplicate TABLESPACE_NUMBER specification
  • ora-15054 : disk "string" does not exist in diskgroup "string"
  • ora-25140 : %s space policy cannot be specified for the string extent management
  • ora-35095 : (QFSVNS01) One or more imported values of fixed-width dimension workspace object have been truncated.
  • ora-13241 : specified dimensionality does not match that of the data
  • ora-39708 : component 'string' not a string component
  • ora-02057 : 2PC: string: bad two-phase recovery state number string from string
  • ora-12074 : invalid memory address
  • ora-16732 : error executing dbms_logstdby.skip procedure
  • ora-36992 : (XSRELGID09) A level relation is needed to produce a surrogate dimension gid.
  • ora-02299 : cannot validate (string.string) - duplicate keys found
  • ora-12592 : TNS:bad packet
  • ora-22331 : cannot alter an incomplete type
  • ora-02776 : Value for request done signal exceeds maximum
  • ora-23478 : object group "string" is already mastered at string
  • ora-22305 : attribute/method/parameter "string" not found
  • ora-02482 : Syntax error in event specification (string)
  • ora-12856 : cannot run parallel query on a loopback connection
  • ora-26740 : cannot downgrade because there are file groups
  • ora-38430 : Operation "string" not supported in the current release.
  • ora-16520 : unable to allocate resource id
  • ora-12566 : TNS:protocol error
  • 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.