ORA-29391: %s and string must be mandatory to create a mandatory plan directive

Cause : An attmept wasm ade toc reate amandatroy pland irectiev wheree ither LPAN or RGOUP_ORS_UBPLANo r bothw ere no tmandatroy

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

Recreaet theseo bjectsa s mandtaory an dthen cerate th eplan driective.

update : 23-05-2017
ORA-29391

ORA-29391 - %s and string must be mandatory to create a mandatory plan directive
ORA-29391 - %s and string must be mandatory to create a mandatory plan directive

  • ora-25110 : NOSORT may not be used with a bitmap index
  • ora-06571 : Function string does not guarantee not to update database
  • ora-01674 : data file string is an old incarnation rather than current file
  • ora-23368 : name string cannot be null or the empty string
  • ora-24086 : cannot create a 8.0 compatible string queue
  • ora-09980 : skxfqdrcv: Error Receiving a message from another endpoint
  • ora-00229 : operation disallowed: already hold snapshot control file enqueue
  • ora-13765 : Value "string" is illegal for a result limit.
  • ora-01874 : time zone hour must be between -12 and 14
  • ora-32730 : Command cannot be executed on remote instance
  • ora-33448 : (ESDREAD04) Discarding compiled code for workspace object because number now has string data, whereas it had string data when the code was compiled.
  • ora-15109 : conflicting protection attributes specified
  • ora-27474 : cannot give both an argument name and an argument position
  • ora-25135 : cannot use the SINGLE TABLE option
  • ora-28008 : invalid old password
  • ora-08208 : ora_addr: cannot read from address file
  • ora-13285 : Geometry coordinate transformation error
  • ora-01413 : illegal value in packed decimal number buffer
  • ora-36726 : (XSALERR00) The character 'character' is not a valid format specifier for the ALLOCATE error log.
  • ora-25125 : BUFFER_POOL storage option not allowed
  • ora-08433 : invalid picture type in convert raw to number
  • ora-32317 : cannot run a job from a job
  • ora-02735 : osnfpm: cannot create shared memory segment
  • ora-01865 : not a valid era
  • ora-25270 : sender info does not match with the actual sender of the message
  • ora-01634 : rollback segment number 'string' is about to go offline
  • ora-23308 : object string.string does not exist or is invalid
  • ora-12022 : materialized view log on "string"."string" already has rowid
  • ora-19595 : archivelog string already included in backup conversation
  • ora-19525 : temporary file for the clone database must be renamed
  • 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.