Adjust oracle memory parameters to reduce database memory usage

Source: Internet
Author: User

How can we optimize the memory usage of oracle? For the convenience of development, we want to reduce the memory occupied by oracle at ordinary times. The following describes how to reduce memory usage by adjusting oracle memory parameters.

Solution:

 
 
  1. sqlplus “/ as sysdba"  
  2.  
  3. create pfile='d:/cj.ora' from spfile;  

Go to your oracle Installation Directory

Find an init database named. ora.

Reduce several oracle memory Parameters
A 2 GB memory is configured as follows:
*. Sga_max_size = 712 M
*. Large_pool_size = 8 M
*. Shared_pool_size = 250 M
*. Sort_area_size = 0.5 M
*. Db_cache_size = 350 M

Then shutdown the database

 
 
  1. shutdown immediate;  
  2.  
  3. create spfile from pfile='d:/cj2.ora';  
  4.  
  5. startup;  

And then start.

The preceding describes how to adjust the oracle memory parameters to reduce the memory usage of the database.

Oracle memory structure-SGA

Learn about the ORACLE resource role

Oracle data export and import Permissions

Differences between Oracle users and Models

View oracle user permissions

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.