ORA-01220: file based sort illegal before database is open

Cause : A query issued against a fixed table or view required a temporary segment for sorting before the database was open. Only in-memory sorts are supported before the database is open.

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

Re-phrase the query to avoid a large sort, increase the values of the SORT_AREA_SIZE and/or SORT_AREA_RETAINED_SIZE initialization parameters to enable the sort to be done in memory.

update : 25-05-2017
ORA-01220

ORA-01220 - file based sort illegal before database is open
ORA-01220 - file based sort illegal before database is open

  • ora-09857 : smprset: vm_protect error while protecting pga.
  • ora-19583 : conversation terminated due to error
  • ora-29910 : invalid callback operation
  • ora-12728 : invalid range in regular expression
  • ora-30063 : Internal Event to Test NTP
  • ora-01269 : Destination parameter string is too long
  • ora-03242 : Tablespace migration retried 500 times
  • ora-25313 : a queue may not subscribe to itself for propagation
  • ora-09981 : skxfqdreg: Error Adding a page to the SDI buffer pool
  • ora-07681 : sou2os: An error occurred while initializing Oracle
  • ora-16818 : Fast-Start Failover suspended
  • ora-22282 : non-contiguous append to a buffering enabled LOB not allowed
  • ora-33215 : (CINSERT07) You cannot add session-only values to the workspace object dimension.
  • ora-07514 : scgcan: $deq unexpected return while canceling lock
  • ora-26041 : DATETIME/INTERVAL datatype conversion error
  • ora-07582 : spstp: ORA_SID has illegal value
  • ora-01229 : data file string is inconsistent with logs
  • ora-29379 : resource plan string is involved in a loop in top-plan string
  • ora-19277 : XP0005 - XPath step specifies an item type matching no node: (string)
  • ora-13022 : polygon crosses itself
  • ora-23373 : object group "string"."string" does not exist
  • ora-12645 : Parameter does not exist.
  • ora-29803 : missing ANCILLARY keyword
  • ora-02825 : Request on free list was not free
  • ora-03235 : max # extents (string) reached in table string.string subpartition string
  • ora-24172 : rule set string.string has errors
  • ora-09850 : soacon: Archmon unable to lock named pipe.
  • ora-02879 : sou2o: Could not gain access to protected memory
  • ora-14631 : the partition bounds do not match the subpartition bounds of the partition
  • ora-23348 : cannot replicate procedure string; only IN parameters supported
  • 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.