DBA가 되고 싶은 병아리

About the Database Buffer Cache 본문

Oracle Study/Performance Tuning

About the Database Buffer Cache

미스틱스 2016. 6. 24. 14:06

For many types of operations, Oracle Database uses the buffer cache to store data blocks read from disk. Oracle Database bypasses the buffer cache for particular operations, such as sorting and parallel reads.

To use the database buffer cache effectively, tune SQL statements for the application to avoid unnecessary resource consumption. To meet this goal, verify that frequently executed SQL statements and SQL statements that perform many buffer gets are well-tuned.

When using parallel query, consider configuring the database to use the database buffer cache instead of performing direct reads into the Program Global Area (PGA). This configuration may be appropriate when the system has a large amount of memory.

작업의 많은 종류 내용은 Oracle Database는 디스크에서 읽은 저장소 데이터 블록 버퍼 캐시를 사용하고 있습니다. Oracle Database는 정렬과 병렬 읽기 등 특정 작업에 대한 버퍼 캐시를 우회합니다.

효과적으로 데이터베이스 버퍼 캐시를 사용하려면 응용 프로그램의 SQL 문 튜닝은 불필요한 자원의 소비를 피하기 위해. 이 목표를 달성하기 위해 많은 버퍼는 잘 조정되어 있습니다 실행하는 자주 실행되는 SQL 문 및 SQL 문을 확인하십시오.

병렬 쿼리를 사용하려면 대신 직접 실행하는 데이터베이스 버퍼 캐시를 사용하는 프로그램 글로벌 영역 (PGA)에로드하는 데이터베이스를 설정하는 것이 좋습니다. 시스템은 많은 양의 메모리를 갖는 경우,이 구성은 적절하며 얻습니다.

https://docs.oracle.com/database/121/TGDBA/tune_buffer_cache.htm#TGDBA295

http://perfopy.ashisuto.co.jp/oracle_performance_educ/15db_buffer_thuning.html

데이터를 임시저장하는 공간으로 점검 중에는 60~ 70% 이상 이면된다고 하지만 되도록이면 높은 수치가 좋은 거 같다는 생각이 든다.