Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- 가장 많이 사용되는 파이썬 패키지
- 주상복합용지 분양
- 라이브러리 vs 패키지
- chatgpt 100% 신뢰금지
- bard 100% 신뢰금지
- 오피스텔투자
- 상업시설용지 분양
- Python
- 소형주택 세액감면
- Google vs MicorSoft
- 공개서적
- 주택임대사업자
- 가장 인기있는 파이썬 라이브러리
- 종합소득세
- 다주택임대
- 종합과세
- 나는 어디로?
- chatgpt vs bard
- 가장 인기있는 파이썬 패키지
- 파이썬 TypeError
- Google vs OpenAI
- PostgreSQL
- 2룸 오피스텔 투자
- 가장 많이 사용되는 파이썬 라이브러리
- 전세보증보험
- 데이터 리터러시
- robux
- 갤럭시탭 with Pen
- 임대소득외 추가소득이 있을 경우
- 오라클 데이터베이스 내장함수
Archives
All thing of the world!
오라클 데이터베이스 11g~21c까지의 PGA 구조 정리 본문
오라클 데이터베이스 메모리 관리의 핵심 PGA 구조에 변화가 생겼다.
18c부터 PGA에 있던 "Hash Area"와 "Bitmap Merge Area", "Stack Space"가 Shared Server Environment가 SGA의 Large POOL로 이동한다.
아래 도표와 설명으로 자세히 살펴보자
오라클을 전문적으로 다루는 사람도 잘 알고 있다고 그냥 넘어가지 말고, 이번 기회에 다시 한번 정독하도록 하자.
의외로 모르고 있던 부분이 있을 수 있다.
▶ 오라클 데이터베이스 11g, 12c의 PGA 구조
In a dedicated server session, the UGA consists of the following components:
- SQL work areas: These are private allocations of PGA memory used for memory-intensive SQL operations. The sort area is used by functions that order data, such as ORDER BY and GROUP BY. The hash area is used to perform hash joins of tables. The bitmap merge area is used to merge data retrieved from scans of multiple bitmap indexes.
- Session memory: This user session data storage area is allocated for session variables, such as logon information, and other information required by a database session. The OLAP pool manages OLAP data pages, which are equivalent to data blocks.
- Private SQL area: This area holds information about a parsed SQL statement and other session-specific information for processing. When a server process executes SQL or PL/SQL code, the process uses the private SQL area to store bind variable values, query execution state information, and query execution work areas. Multiple private SQL areas in the same or different sessions can point to a single execution plan in the SGA. The persistent area contains bind variable values. The run-time area contains query execution state information. A cursor is a name or handle to a specific area in the private SQL area. You can think of a cursor as a pointer on the client side and as a state on the server side. Because cursors are closely associated with private SQL areas, the terms are sometimes used interchangeably.
▶ 오라클 데이터베이스 18c, 19c, 21c의 PGA 구조
- In a shared server environment, multiple client users share the server process. The UGA is moved into the large pool, leaving the PGA with only stack space, hash area, and bitmap merge area.
- In a dedicated server session, the PGA consists of the following components:
- SQL work areas: The sort area is used by functions that order data, such as ORDER BY and GROUP BY.
- Session memory: This user session data storage area is allocated for session variables, such as logon information, and other information required by a database session. The OLAP pool manages OLAP data pages, which are equivalent to data blocks.
- Private SQL area: This area holds information about a parsed SQL statement and other session-specific information for processing. When a server process executes SQL or PL/SQL code, the process uses the private SQL area to store bind variable values, query execution state information, and query execution work areas. Multiple private SQL areas in the same or different sessions can point to a single execution plan in the SGA. The persistent area contains bind variable values. The run-time area contains query execution state information. A cursor is a name or handle to a specific area in the private SQL area. You can think of a cursor as a pointer on the client side and as a state on the server side. Because cursors are closely associated with private SQL areas, the terms are sometimes used interchangeably.
- Stack space: Stack space is memory allocated to hold session variables and arrays.
- Hash area: This area is used to perform hash joins of tables.
- Bitmap merge area: This area is used to merge data retrieved from scans of multiple bitmap indexes.
끝.
'IT > Oracle DBMS' 카테고리의 다른 글
Oracle APPROX_COUNT_DISTINCT_DETAIL, APPROX_COUNT_DISTINCT_AGG, TO_APPROX_COUNT_DISTINCT 설명 : 오라클 함수 (0) | 2021.10.12 |
---|---|
Oracle APPROX_COUNT 설명 : 오라클 함수 (0) | 2021.10.07 |
오라클 데이터베이스 11g~21c까지의 SGA 구조 정리 (0) | 2021.10.07 |
Oracle ANY_VALUE 설명 : 오라클 함수 (0) | 2021.06.24 |
Oracle TO_YMINTERVAL 설명 : 오라클 함수 (0) | 2021.05.09 |
Comments