SQL튜닝을 위한 도구중 하나인 "오라클의 10053 이벤트" 간단히 소개하고 오라클 함수를 만들어 간단히 테스트 후 옵티마이저의 Query Transformation, Optimization 과정(조인방법 결정, 드라이빙테이블 선정), 실행계획 생성등을 Trace 파일을 만들어 확인하는 PPT 강좌 입니다.
SQL튜닝을 위한 도구중 하나인 "오라클의 10053 이벤트" 간단히 소개하고 오라클 함수를 만들어 간단히 테스트 후 옵티마이저의 Query Transformation, Optimization 과정(조인방법 결정, 드라이빙테이블 선정), 실행계획 생성등을 Trace 파일을 만들어 확인하는 PPT 강좌 입니다.
탑크리에듀교육센터(topcredu.co.kr)에서 제공하는 자료입니다.
SQL초보에서 Schema Objects까지 25번째 자료입니다.
단일/복합(결합) 인덱스(Single Column/Composite Index),고유/비고유 인덱스(Unique/Non Unique Index), Descending Index, 함수기반 인덱스(Function Based Index), 인덱스 재구성 및 삭제, 인덱스 숨기기(Index Invisible)에 대하여 설명한 자료이오니 확인 후 많은 도움 되셨길 바랍니다^^.
Vectorized Processing in a Nutshell. (in Korean)
Presented by Hyoungjun Kim, Gruter CTO and Apache Tajo committer, at DeView 2014, Sep. 30 Seoul Korea.
The document provides information about Amazon Aurora including:
- An overview of Amazon Aurora describing its high performance, scalability, availability and security features compared to other databases.
- Details on Amazon Aurora's architecture which uses a multi-tenant storage layer and integrates with other AWS services for backups, replication and high availability across Availability Zones.
- Descriptions of new Aurora capabilities like Multi-Master which allows applications to read and write to multiple database instances for increased availability without downtime.
This technical report discusses configuration of the Performance Schema in MySQL 5.6. It describes configuration tables for setting monitoring targets, consumers, instruments, and objects. It shows commands for checking default settings and updating configurations. Benchmarks with different Performance Schema settings show throughput decreased when instruments were enabled but wait events only configuration had less impact than fully enabling instruments.
This document discusses transaction slot before-image chaining in Oracle databases. It begins with questions about cleanout, undo storage, and commit SCNs. It then describes the architecture of before-image chaining, where commit SCNs and other metadata are stored in undo blocks and transaction control blocks to link a transaction's multiple before-images together. Diagrams show how before-images are chained across multiple undo blocks using these references.
1. The document describes how Oracle allocates CU blocks and CR blocks in the buffer cache when updating column values from A to I through consecutive commits.
2. It shows the expected outcome of 6 CR blocks being allocated for the 6 updates before a new CU block is needed.
3. Using a tool to view the internal Oracle buffer cache, it demonstrates this expected behavior, showing the CR blocks and CU blocks allocated for updates from A to I.
1. The document describes how Oracle allocates CU blocks and CR blocks in the buffer cache when updating column values from A to I through consecutive commits.
2. It shows the expected outcome of 6 CR blocks being allocated for the 6 updates before a new CU block is needed.
3. An analysis using ODI Analyzer on an Oracle database shows this expected behavior occurring, with CR blocks 1-6 being allocated and reused for each update before a new CU block is created on the 7th update.
The document describes the Oracle undo segment and how it tracks changes to data in transactions.
1) It shows the initial state when a value of "A" is entered into a table column.
2) It then shows an update transaction that changes the value from "A" to "B", with the undo segment recording the before image of "A".
3) A second update transaction is shown, changing the value from "B" to "C", with the undo segment recording the before images of "B" and "A".
The document outlines the agenda for the 8th demand seminar held by EXEM, including presentations on PostgreSQL Vacuum and MySQL locks. The PostgreSQL presentation covers the details of Vacuum including its behavior during updates, deletes, and different Vacuum commands. The MySQL presentation covers different types of locks in MySQL including global read locks, table locks, and string locks.
This document summarizes the results of comparing standard Vacuum and Vacuum Full operations in PostgreSQL. Standard Vacuum deletes just deleted tuple identifiers, while Vacuum Full rewrites the entire table. The summary describes how inserting, deleting, and vacuuming data affects the table size and contents as seen in the data files.
[ODI] chapter3 What is Max CR DBA(Max length)? EXEM
The document discusses how Oracle's buffer cache allocates consistent read (CR) blocks and current (CU) blocks when updating a single column value in a table multiple times with commits. It finds that with the parameter _db_block_max_cr_dba set to 6, Oracle allocates a new CU block for each update while reusing the first 6 CR blocks, allocating a new one for the 7th update. Screenshots from an internal tool show the state of blocks in the buffer cache after each update.
[ODI] chapter2 what is "undo record chaining"?EXEM
- Undo record chaining allows Oracle to rollback multiple transactions by linking undo records together in a chain.
- When an update is made, an undo record is generated and added to the undo block. A new record contains the before image of the update.
- Undo records for a transaction are chained together by transaction ID and sequence number. This allows Oracle to efficiently rollback a whole transaction by traversing the undo record chain.
[ODI] chapter1 When Update statement is executed, How does oracle undo work?EXEM
When an update statement is executed in Oracle, the undo mechanism works as follows:
1. Oracle generates a new change undo (CU) block in the buffer cache to track the before image of the updated row.
2. The original data block is copied to the new CU block, and the original block is marked as a change redo (CR) block.
3. Oracle allocates memory and assigns a transaction ID (XID) to the transaction in the V$TRANSACTION view, tracking the undo information for the update.
엑셈 편집부, 『그림으로 명쾌하게 풀어쓴 Practical OWI in Oracle 10g』, 엑셈(2007)
실제 Practical OWI 세미나에서 사용됐던 다양하고 상세한 그림을 그대로 사용하면서 시각적인 효과를 높이고, 상세한 설명을 통해 최대한 그림에 대한 이해를 돕도록 했습니다.
----------------------------------------------------------------------------------------------------------------------
EXEM
- 네이버 블로그: http://blog.naver.com/playexem
- Youtube 엑셈 tv: https://www.youtube.com/channel/UC5wKR_-A0eL_Pn_EMzoauJg
- Maxgauge facebook: https://www.facebook.com/yourmaxgauge/