Oracle memory structure-SGA

Source: Internet
Author: User

The Oracle memory structure is an important part of the Oracle database system. The following describes the SGA memory structure in the Oracle memory structure, which is helpful to you.

SGA is a group of shared memory structures allocated to the system. It can contain data or control information of a database instance. If multiple users connect to the same database instance, data in the instance's SGA can be shared by multiple users. When the database instance is started, the SGA memory is automatically allocated. When the database instance is closed, the SGA memory is recycled. SGA is the region with the largest memory usage and an important factor affecting database performance.

The SGA area can be read and written. All users logging on to the instance can read the information in SGA. When oracle performs an operation, the service process writes the modified information to SGA.

SGA mainly includes the following data structures:

Buffer Cache)

Redo Log Buffer)

Shared Pool)

Java Pool)

Large Pool)

Stream Pool Streams Pool --- 10 Gb later)

Data Dictionary Cache)

Other information, such as database and instance status information)

 
 
  1. SQL> show sga  
  2.  
  3. Total System Global Area 612368384 bytes  
  4.  
  5. Fixed Size 1250428 bytes  
  6.  
  7. Variable Size 192940932 bytes  
  8.  
  9. Database Buffers 411041792 bytes  
  10.  
  11. Redo Buffers 7135232 bytes  

The data dictionary cache and other information in SGA will be accessed by the background process of the instance. They will be fixed in SGA after the instance is started and will not change, so this part is also called fixed SGAFixed SGA ). The size of these regions is generally less than 100 kb.

The size of the Shared Pool, Java Pool, Large Pool, and Streams Pool is changed based on the corresponding system parameter settings. Therefore, it is called the variable SGAVariable SGA ).
 

Oracle connect role permission changes

Learn about the ORACLE resource role

Oracle data export and import Permissions

Oracle read-only user role creation

Oracle system permissions and role Permissions

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.