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 : 26-06-2017
ORA-01220

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

  • ora-01485 : compile bind length different from execute bind length
  • ora-13225 : specified index table name is too long for a spatial index
  • ora-30434 : refresh method must be one of FC?AN, not 'string'
  • ora-31641 : unable to create dump file "string"
  • ora-12017 : cannot alter primary key mview 'string' to a rowid mview
  • ora-02450 : Invalid hash option - missing keyword IS
  • ora-30475 : feature not enabled: string
  • ora-38902 : errors in array insert exceed string
  • ora-30115 : error when processing an environment variable
  • ora-19212 : no key columns specified before call to DBMS_XMLSTORE.updateXML()
  • ora-22857 : cannot modify columns of object tables
  • ora-19284 : Encoding specification in version declaration not supported
  • ora-25299 : Invalid message delivery_mode
  • ora-09916 : Required password was not specified.
  • ora-00297 : must specify RECOVER DATAFILE LIST before RECOVER DATAFILE START
  • ora-01206 : file is not part of this database - wrong database id
  • ora-00344 : unable to re-create online log 'string'
  • ora-22899 : cannot specify both scope and rowid constraint on ref column
  • ora-01092 : ORACLE instance terminated. Disconnection forced
  • ora-01900 : LOGFILE keyword expected
  • ora-39109 : Unprivileged users may not operate upon other users' schemas
  • ora-02073 : sequence numbers not supported in remote updates
  • ora-09261 : spdcr: error creating detached (background) process
  • ora-29966 : The only binding of an operator cannot be dropped
  • ora-15121 : ASM file name 'string' contains an invalid diskgroup name
  • ora-03222 : average row size and row count must be greater than zero
  • ora-24326 : handle passed in is already initialized
  • ora-28107 : policy was disabled
  • ora-26748 : The one-to-one transformation function string encountered the following error: string
  • ora-19901 : database needs more recovery to create new incarnation
  • 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.