Tags: instruction class update variable content private Area LOB permissionsPga-program Global AreaThe PGA memory area is private and not shared, and any operations initiated by the user against the database, whether queries or updates, are preprocessed in the region before entering the instance area (which is done by the SGA and the system daemon process).What are the main pretreatment?First, save the user's connection information, such as session pr
2011-05-10 14:57:53Category: LinuxFirst, the memory structureSGA (System Global area): Shared by all service processes and background processes;The PGA (Program Global Area): is proprietary to each service process, background process, and each process has a PGA.Second, SGAcontains the data and control information for the instance, including the following memory structure: 1) database buffer cache: Blocks of data retrieved from disk are cached.2) Redo
局区 (PGA) memory
Show Parameter Pga_aggregate_target
Show parameter SGA;
#除了SGA_MAX_SIZE, all others are dynamic parameters, that is, parameters that can be modified dynamically during database operation using the ALTER SYSTEM statement
Show Parameter Sga_max_size
#sga颗粒查询
#所有的SAG (each pool) with a minimum of memory unit particles (granule, also called the District Group)
sql> Select Component,granule_size fromv$sga_dynamic_components;
This co
Basic information:
Database Version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-64bit Production
Operating system version: CentOS release 5.6
To speed up index creation, consider the following:
Use nologging Parameters
Use parallel Parameters
Use manual pga at the session level and manually adjust sort_area_size
Modify other parameters
Note: hash_area_size is not adjusted manually here. By default, hash_area_size is automatically
Basic information Situation:DB version: Oracle database 11g Enterprise Edition Release 11.2.0.1.0-64bit ProductionOperating system version: CentOS release 5.6Speed up index creation the main consideration is from the point of view:
Using the nologging parameter
Using parallel parallel parameters
Use the manual PGA at the session level to manually adjust the Sort_area_size
Modify other parameters
Note : We do not manually adju
The following articles mainly describe the actual application of Process Memory in the Oracle storage structure. We all know the actual application processes of Oracle except for the SGA (System Global Area, the following three global zones are also frequently used:
The Process Global Area (PGA );
The User Global Area (UGA );
The Call Global Area (CGA ).
Many people do not know the difference between PGA
The following articles mainly introduce the Process Memory in the Oracle Memory structure. This article describes the Process Memory in the Oracle Memory structure. If you are an Oracle enthusiast. The following article will be meaningful to you.
Process Memory in Oracle Memory Structure
The Process Memory, in addition to The SGA (System Global Area), The Oracle Process also uses The following three Global zones:
The Process Global Area (PGA );
The
Oracle
The Process Memory:
In addition to the SGA (System Global area), the Oracle process also uses the following three global zones:
The Process Global area (PGA)
The User Global area (UGA)
The call Global area (CGA)
A lot of people don't know the difference between PGA and UGA, in fact, the difference between the two is similar to the difference between a process and a session. Although it is genera
Welcome to the Oracle community forum and interact with 2 million technical staff to enter the PGA (ProcessGlobalArea), a private memory zone of serverprocess, which contains global variables, data structures, and some control information. In Oracle8i, PGA adjustment is very complex. You need to adjust SORT_AREA_SIZE, HASH_AREA_SIZE, BITMAP_MERGE_A
Welcome to the Oracle Community Forum, interact with 2 mill
. The SGA database activity in each zone can be monitored independently, and resources can be allocated and retrieved according to the pattern used in the Oracle database.
Let's first look at some of the differences between the following Oracle9i database and the Oracle8i database. One of the most important oracle9i is that there is no need to have a separate PGA space for all the dedicated connections to the Oracle database. In Oracle8i, for a dedic
or linux32-bit operating system, you must set the shmmax parameter of the operating system level. The space of SGA can be larger than shmmax. For details, refer to the Oracle Installation manual and operating system manual;
NOTE 2: operations listed in this section (below) may require certain permissions. In actual work, if you find problems with related permissions, authorize the relevant user in time or operate as a user with a higher permission.
Shows the overall Oracle memory structure:
The
Oracle Architecture Diagram 1Oracle Architecture Diagram 2
User process (The generic name of the client that accesses Oracle)Use of tools: sqlplus, PL/SQL developerHow to access the database:This machine is accessed directly via sock (IPC Access-UDP Protocol) (Sqlplus/as SYSDBA).Establish a server connected to Oracle via TCP (Sqlplus Sys/[email protected] as SYSDBA) (Sqlplus sys/[email protected]:[email Protected]_name as sysdba--access to this method requires that the Listener.o
Automatic Memory Management type
Automatic Memory Management: New Features of Oracle 11g, allowing the database to fully automatically manage memory SGA and PGA Components
Automatic shared memory management: If this option is selected, SGA can be automatically managed, but PGA cannot be automatically managed.
Automatic PGA memory management: This option can o
Oracle mass data accelerates index creation. database version: OracleDatabase11gEnterpriseEditionRelease11.2.0.1.0
Oracle mass data accelerates index creation. Database version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-64bit Production
Basic information:
Database Version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-64bit Production
Operating system version: CentOS release 5.6
To speed up index creation, consider the following:
Use nologging Parameters
Use para
************----Sum 4194304
Shared Pool 1: kngisga 16044X $ ksmfs table 12X $ rule_set 16804
......Xscalc 3528Xslongops 4040Xsoqmehift 4168Xsoqojhift 3272Xsoqophift 4168Xsoqsehift 2376Xssinfo 5532************----Sum 113250900
Buffer_cached 46137344Fixed_sga 1260696Log_buffer 2932736************----Sum 50330776
1.2 SGA features
1) in Unix systems, SGA represents an independent physical entity in the operating system, that is, an independent shared memory segment, you can use IPCS-M | grep Ora to
.
Select event, total_waits, time_waited, average_wait from v $ system_event where event like 'Log file switch (arch % ';
If there is a wait, check whether the storage device that saves the archived logs is full. Add a log file group and adjust log_archiver_max_processes.
F. DB_block_checksum = true, which increases the performance burden. (To ensure data consistency, add a checksum to the block when writing data in oracle, and verify the checksum when reading data)
2. java pool
For large a
Oracle memory management (one)
[In-depth analysis of oracle-eygle] Study Notes
1. Memory Management
The memory used by the ORACLE database mainly involves two aspects: PGA and SGA.1.1 PGA Management
PGA refers to the Program Global Area, which is a memory Area used by the Server Process to contain data and control information.
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.