SQL*Net & Other Waits. #.2 Copyright 2006 Kyle Hailey SQL*Net Waits Session Shadow Log Buffer Buffer Cache Log Buffer Buffer Cache SGA Library Cache Host.

Slides:



Advertisements
Similar presentations
Office of the Accountant General (A&E) Andhra Pradesh Hyderabad
Advertisements

IO Waits Kyle Hailey #.2 Copyright 2006 Kyle Hailey Waits Covered in this Section  db file sequential read  db file scattered.
Enqueue Waits : Locks. #.2 Copyright 2006 Kyle Hailey Wait Tree - Locks Waits Disk I/O Library Cache Enqueue Undo TX 6 Row Lock TX 4 ITL Lock HW Lock.
Enqueue Waits : Locks. #.2 Copyright 2006 Kyle Hailey Locks REDO Lib Cache Buffer Cache IO Locks Network.
Buffer Cache Waits. #.2 Copyright 2006 Kyle Hailey Buffer Cache Waits Waits Disk I/O Buffer Busy Library Cache Enqueue SQL*Net Free Buffer Hot Blocks.
Acknowledgments Byron Bush, Scott S. Hilpert and Lee, JeongKyu
Oracle Architecture. Instances and Databases (1/2)
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Performance And Tuning – Lecture 7 Copyright System Managers LLC 2007 all rights reserved.
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
INTRODUCTION TO ORACLE DATABASE ADMINISTRATION Lynnwood Brown System Managers LLC Introduction – Lecture 1 Copyright System Managers LLC 2007 all rights.
#.1 SQL*Net Kyle Hailey http//ashmasters.com/
1 - Oracle Server Architecture Overview
Harvard University Oracle Database Administration Session 2 System Level.
Oracle Architectural Components
10 Copyright © 2009, Oracle. All rights reserved. Managing Undo Data.
Oracle Architecture. Database instance When a database is started the current state of the database is given by the data files, a set of background (BG)
Redo Waits Kyle Hailey #.2 Copyright 2006 Kyle Hailey Log File Waits  Redo is written to disk when  User commits  Log Buffer.
Redo Waits Kyle Hailey #.2 Copyright 2006 Kyle Hailey Redo REDO Lib Cache Buffer Cache Locks Network I/O.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
Waits Events and the Geeks who love them Kyle Hailey
Waits Defined Kyle Hailey #.2 Copyright 2006 Kyle Hailey Top 36 Foreground Waits write complete waits library cache.
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
OTHER DATABASE MODELS OTHER DATABASE MODELS The relational database is not the only database model in use today. Two other common models are distributed.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
Basic Oracle Architecture
CSE 781 – DATABASE MANAGEMENT SYSTEMS Introduction To Oracle 10g Rajika Tandon.
Part II : Waits Events Kyle Hailey
4 Copyright © 2006, Oracle. All rights reserved. Recovering from Noncritical Losses.
Buffer Cache Waits. In This Section 1.latch: cache buffers chains 2.latch: cache buffers lru chain 3.Free Buffer Wait 4.Buffer Busy Wait 5.Write Complete.
1 Oracle Architectural Components. 1-2 Objectives Listing the structures involved in connecting a user to an Oracle server Listing the stages in processing.
Copyright  Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
Oracle Tuning Ashok Kapur Hawkeye Technology, Inc.
Copyright © Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
An Oracle server:  Is a database management system that provides an open, comprehensive, integrated approach to information management.  Consists.
SQL*Net & Other Waits. #.2 Copyright 2006 Kyle Hailey Network Redo Lib Cache Buffer Cache IO Locks Network.
© Dennis Shasha, Philippe Bonnet 2001 Log Tuning.
1 06/05/08 Statspack Kyle Hailey
Introduction to Oracle. Oracle History 1979 Oracle Release client/server relational database 1989 Oracle Oracle 8 (object relational) 1999.
Database structure and space Management. Segments The level of logical database storage above an extent is called a segment. A segment is a set of extents.
1 Chapter 17 Shared Memory Contention. 2 Overview Specifically talking about SGA – Buffer Cache – Redo Log Buffer Contention in these areas of SGA – Can.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
#.6 Sampling Kyle Hailey
INTRODUCTION TO ORACLE DATABASE ADMINISTRATION Lynnwood Brown President System Managers LLC Introduction – Lecture 1 Copyright System Managers LLC 2003.
Instance and Media Recovery Structures Supinfo Oracle Lab. 7.
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
Preface 1Performance Tuning Methodology: A Review Course Structure 1-2 Lesson Objective 1-3 Concepts 1-4 Determining the Worst Bottleneck 1-5 Understanding.
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
7 Copyright © Oracle Corporation, All rights reserved. Instance and Media Recovery Structures.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
OEM 10g Performance and Tuning. #.2 Copyright 2006 Kyle Hailey Performance SQL Diagnostics SQLTuning Performance Session DB HOME.
3 Copyright © 2004, Oracle. All rights reserved. Database Architecture Comparison.
What is Oracle ? Oracle is a relational database management system. It is a management system which uses the relational data model. In the relational data.
6 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
Oracle Database Architectural Components
1 PVSS Oracle scalability Target = changes per second (tested with 160k) changes per client 5 nodes RAC NAS 3040, each with one.
10 Copyright © 2007, Oracle. All rights reserved. Managing Undo Data.
Chapter 21 SGA Architecture and Wait Event Summarized & Presented by Yeon JongHeum IDS Lab., Seoul National University.
3 Copyright © Oracle Corporation, All rights reserved. 管理数据库事例.
Kyle Hailey Redo Waits Kyle Hailey
Oracle Memory Internals
Oracle Architectural Components
Index Index.
CS347 Spring 2017 – Quiz 5 Preparation - Solutions UTEID _________
PL/SQL Dynamic SQL and Oracle Architecture.
Database administration
Presentation transcript:

SQL*Net & Other Waits

#.2 Copyright 2006 Kyle Hailey SQL*Net Waits Session Shadow Log Buffer Buffer Cache Log Buffer Buffer Cache SGA Library Cache Host Machine SQL*PlusOCISQL*Formsetc

#.3 Copyright 2006 Kyle Hailey SQL*Net Waits REDO Log Files Data Files DBWR LGWR User2 User1 User3 Log Buffer Buffer Cache Log Buffer Buffer Cache SGA Library Cache

#.4 Copyright 2006 Kyle Hailey SQL*Net more data from client  # 6 Top Wait  Client sends information that spans packets  Shadow recieves first packet  Responds  Waits for more data from client Session Shadow Waiting

#.5 Copyright 2006 Kyle Hailey SQL*Net more data to client  Shadow is sending data to client that spans packets  Sends first packet then waits for shadow to respond, so it can send more Session Shadow Waiting

#.6 Copyright 2006 Kyle Hailey SQL*Net more data from dblink  #21 Session Shadow Waiting dblink Shadow

#.7 Copyright 2006 Kyle Hailey SQL*Net break/reset to client  #14  Error in sql statement  Control C  Usually highlights and error in application Session Shadow Waiting Error

#.8 Copyright 2006 Kyle Hailey SQL*Net break/reset to dblink  #32  Error in sql statement  Control C  Usually highlights and error in application Session Shadow Waiting dblink Shadow error

#.9 Copyright 2006 Kyle Hailey UNDO/RBS WAITS

#.10 Copyright 2006 Kyle Hailey Wait for a undo record  #34  First in 9i

#.11 Copyright 2006 Kyle Hailey undo segment extension  #36  Waiting for a RBS to extend  RBS too small ?

#.12 Copyright 2006 Kyle Hailey undo segment tx slot  #37  Waiting for the RBS Header TX slot  Not enough RBS?

#.13 Copyright 2006 Kyle Hailey Other Waits

#.14 Copyright 2006 Kyle Hailey sort segment request  #26  SMON allocates sort space in Temp Tablespace  If SMON is busy this can cause waits for sort space  SMON may be stuck rolling back

#.15 Copyright 2006 Kyle Hailey io done  #15 IO slave processes (oracleIXXX) Non-Idle: Wait for a I/O completion Idle : Waiting for work

#.16 Copyright 2006 Kyle Hailey unread message  #28  & only

#.17 Copyright 2006 Kyle Hailey process startup  #27

#.18 Copyright 2006 Kyle Hailey pipe put  #30

#.19 Copyright 2006 Kyle Hailey summary  sort segment request : SMON occupied?