Oracle Initial parameter setting error causes the database to fail to start the ORA-00821 solution

Source: Internet
Author: User
Today in order to modify the database configuration, the sga_max_size set to 20G, but Sga_target did not change, still for 10G results after the restart of the database will not start, reported ORA-00821 error ora-00821:specified value of Sga_target * * are too small, needs to being at least * * and directly alter system set SGA_TARGET=20800M is not possible, because the database has not been started, there is no way to directly modify the database parameters, So you can only manually modify the SPFile file to modify the startup parameters, the workaround is as follows: 1. Go to $oracle_home\bin directory CD D:\Oracle\App\product\11.2.0\dbhome_1\BIN 2. Execute Sqlplus/as SYSDBA 3. Execute create Pfile from SPFile, generate Pfile file according to SPFile file, here is D:\Oracle\App\product\11.2.0\dbhome_1\database\ Initc2.ora 4. Edit the Initc2.ora file to change the Sga_target assignment to the same as Sga_max_size 5. Execute create SPFile from Pfile, and turn the modified file back to 6. Start the database with startup and get it done

Oracle Initial parameter setting error causes the database to fail to start the ORA-00821 solution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.