[oracle]11g Memory footprint Adjustment steps

Source: Internet
Author: User

Follow the steps below to adjust the memory

1. Sqlplus/nolog
2. Conn/as SYSDBA

3. Show parameter target

4. Show Parameter SGA
Alter system set SGA_MAX_SIZE=512M Scope=spfile;
Alter system set SGA_TARGET=512M Scope=spfile;

5. Show parameter memory
alter system Set Memory_target = 2048M scope=spfile;
Alter system set Memory_max_target =2048m scope=spfile;

6. Shutdown immediate
7. Startup

If a startup failure occurs, you can start with the default Init.ora file, and the repair process is as follows

1. Use this pfile (Init.ora) file to start Oracle
Startup pfile= ' E:\app\Administrator\product\11.2.0\dbhome_1\dbs\init.ora ';

2. Delete the original spfile and create a new SPFile
Create SPFile from memory;

3. Restart Oracle in the normal way.

sql> Shutdown Abort
Sql> Startup

[oracle]11g Memory footprint Adjustment steps

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.