Oracle 10g automatic SGA management operations

Source: Internet
Author: User

If you are confused about Oracle 10g automatic SGA Management in actual operations of Oracle 10g automatic SGA management, you can use the following articles to learn about its practical application and functions. The following is a detailed introduction of the article.

Java code

Java code

Sample configuration of Automatic Memory Sharing in Oracle 10g automatic SGA Management

  1. SGA_TARGET controls the total size of SGA) is set to a non-zero value
  2. SGA
  3. Shared_pool_size = 0
  4. Large_pool_size = 0
  5. Java_pool_size = 0
  6. Db_cache_size = 0

Sample Configuration

SGA_TARGET controls the total size of SGA) is set to a non-zero value
SGA

Shared_pool_size = 0
Large_pool_size = 0
Java_pool_size = 0
Db_cache_size = 0

Java code

 
 
  1. SQL> select pool, sum(bytes)/1024/1024 Mbytes from 
    v$sgastat group by pool;   
  2. POOL MBYTES   
  3. ------------ ----------   
  4. 303.996315   
  5. java pool 4   
  6. shared pool 102.490440   
  7. large pool 12   
  8. DB_CACHE_SIZE   
  9. SQL> select current_size from v$buffer_pool;   
  10. CURRENT_SIZE   
  11. ------------   
  12. 296   
  13. SQL> select pool, sum(bytes)/1024/1024 Mbytes from 
    v$sgastat group by pool;  
  14. POOL MBYTES  
  15. ------------ ----------  
  16. 303.996315  
  17. java pool 4  
  18. shared pool 102.490440  
  19. large pool 12  
  20. DB_CACHE_SIZE  
  21. SQL> select current_size from v$buffer_pool;  
  22. CURRENT_SIZE  
  23. ------------  
  24. 296    

Java code

Disable Automatic size adjustment

 
 
  1. SGA_TARGET = 0 

The above content is an introduction to Oracle 10g automatic SGA management. I hope you will have some gains.

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.