To set Oralce automatic memory management execution Steps _oracle

Source: Internet
Author: User
Setting up Oralce automatic memory management

Enabling Oracle Automatic memory management requires shutdown, restart

1. Determine the SGA PGA memory size:
Copy Code code as follows:

Show PARAMETER TARGET

2. Determine the maximum use size of PGA since database startup:
Copy Code code as follows:

Select value from V$pgastat where name= ' maximum PGA allocated ';

3. Calculate Memory_target Size:
Copy Code code as follows:

Memory_target = Sga_target + max (Pga_aggregate_target, maximum PGA
Allocated)

4. Set Memory_target
Copy Code code as follows:

ALTER SYSTEM SET memory_max_target = NM SCOPE = SPFILE;
Memory_max_target is not a dynamic initialization parameter.

If you are using the text initialization parameter file, you need to edit the following two parameters:
Copy Code code as follows:

Memory_max_target = NM
Memory_target = MM

5.Shut down and restart the database.

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.