RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague

Size: px
Start display at page:

Download "RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague"

Transcription

1 seminář: Administrace Oracle (NDBI013) LS2017/18 RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague

2 Database structure Database structure Database files Memory structure Process structure Data access SQL execution SQL optimization Indexes

3 1. Data stored in files and/or disc partitions 2. Data accessed by the database instance set of processes communicating via the shared memory.

4 1. Each file consists of 1. Header 2. Used space 3. Free space

5 select file_id, file_name, status, blocks, maxblocks, user_blocks from dba_data_files; FILE_ID FILE_NAME STATUS BLOCKS MAXBLOCKS USER_BLOCKS 4 /mnt/data/oradata/jedenact/users01.dbf AVAILABLE /mnt/data/oradata/jedenact/undotbs01.dbf AVAILABLE /mnt/data/oradata/jedenact/sysaux01.dbf AVAILABLE /mnt/data/oradata/jedenact/system01.dbf AVAILABLE from dba_temp_files; FILE_ID FILE_NAME STATUS BLOCKS MAXBLOCKS USER_BLOCKS 1 /mnt/data/oradata/jedenact/temp01.dbf ONLINE

6 1. Data (tables and indexes) stored each in its own segment a linked list of extents. 2. Extent logically continuous set of database blocks 3. Database block the I/O unit. Fixed size for whole tablespace (usually for whole database).

7

8 select tablespace_name, status from dba_tablespaces; TABLESPACE_NAME STATUS SYSTEM ONLINE SYSAUX ONLINE UNDOTBS1 ONLINE TEMP ONLINE USERS ONLINE

9 1. Data stored in so called tablespaces logical database volumes. 2. Inidividually managed 1. Quotas 2. Offline/Online 3. Back up/restore 4. Recover

10 1. Dictionary managed obsolete information about free and used space in data dictionary

11 1. Dictionary managed obsolete information about free and used space in data dictionary 2. Locally managed bitmap of free/used space in the tablespace itself 1. Automatic space management

12

13 select owner, segment_name, segment_type, tablespace_name, extents, blocks from dba_segments where owner='dbapl2'; OWNER SEGMENT_NAME SG_TYPE TS_NAME EXTENTS BLOCKS DBAPL2 DRUH TABLE USERS 1 8 DBAPL2 ZVIRE TABLE USERS 1 8 DBAPL2 KATEGORIE TABLE USERS 1 8 DBAPL2 VYBEH TABLE USERS 1 8 DBAPL2 POBYT TABLE USERS 1 8 DBAPL2 DRUH_PK INDEX USERS 1 8 DBAPL2 ZVIRE_PK INDEX USERS 1 8 DBAPL2 DRUH_IDKAT_INX INDEX USERS 1 8 DBAPL2 ZVIRE_NAZEV_INX INDEX USERS 1 8 DBAPL2 KATEGORIE_PK INDEX USERS 1 8 DBAPL2 KATEGORIE_U_NAZKAT INDEX USERS 1 8 DBAPL2 VYBEH_PK INDEX USERS 1 8 DBAPL2 SYS_C INDEX USERS 1 8 DBAPL2 POBYT_IDVYBEH_INX INDEX USERS 1 8

14

15 select owner, segment_name, segment_type, extent_id, tablespace_name, file_id, block_id, blocks from dba_extents where owner='dbapl2'; OWNER SEGMENT_NAME SG_TYPE EXT_ID TS_NAME FILE_ID BLK_ID BLOCKS DBAPL2 POBYT_IDVYBEH_INX INDEX 0 USERS DBAPL2 SYS_C INDEX 0 USERS DBAPL2 VYBEH_PK INDEX 0 USERS DBAPL2 KATEGORIE_U_NAZKAT INDEX 0 USERS DBAPL2 KATEGORIE_PK INDEX 0 USERS DBAPL2 ZVIRE_NAZEV_INX INDEX 0 USERS DBAPL2 DRUH_IDKAT_INX INDEX 0 USERS DBAPL2 ZVIRE_PK INDEX 0 USERS DBAPL2 DRUH_PK INDEX 0 USERS DBAPL2 POBYT TABLE 0 USERS DBAPL2 VYBEH TABLE 0 USERS DBAPL2 KATEGORIE TABLE 0 USERS DBAPL2 ZVIRE TABLE 0 USERS DBAPL2 DRUH TABLE 0 USERS

16 1. One DB Block (4KiB, 8KiB, ) consists of a sequence of OS blocks

17

18 1. Each column stored as tuple (length,data) 2. Trailing NULLs not stored

19 1. PCTFREE=x If free space drops under x%, block is removed from blocks available for INSERTs 2. PCTUSED=y If free space drops below y%, block becomes available for INSERTs

20

21 1. SGA stores all data, that can be shared by all running sessions 1. Database buffer cache 2. Redo log buffer 3. Shared pool 4. Large pool Program Global Area (PGA) stores data belonging to given process

22 1. Default pool stores copies of DB blocks in external memory (disc) 2. Keep pool stores (all) blocks of small frequently used tables 3. Recycle pool stores blocks of large infrequently used tables to avoid consuming lot of space in default pool 4. Blocks of non-default sizes have their own pool

23 1. Circular buffer that stores redolog entries. When necessary (COMMIT, checkpoint, buffer full, ) are written to online redo-log file

24 1. Client processes 1. Runs client code 2. Server processes 1. Runs Oracle code 3. Background Processes 1. Manipulates with data (bottom of the figure) 2. Check the database (right side of the figure)

25 ps ef grep jedenact oracle :14? 00:00:00 oraclejedenact (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq))) oracle ? 01:02:19 ora_dbw0_jedenact oracle ? 00:46:17 ora_lgwr_jedenact oracle ? 00:29:11 ora_d000_jedenact oracle ? 06:37:07 ora_s000_jedenact oracle ? 01:41:36 ora_s001_jedenact oracle ? 00:10:18 ora_s007_jedenact oracle :31? 00:00:00 ora_w000_jedenact oracle ? 01:30:35 ora_pmon_jedenact oracle ? 00:21:12 ora_mman_jedenact oracle ? 02:34:20 ora_ckpt_jedenact oracle ? 00:38:43 ora_smon_jedenact oracle ? 00:08:16 ora_reco_jedenact oracle ? 01:59:18 ora_mmon_jedenact oracle ? 03:05:12 ora_mmnl_jedenact oracle ? 00:10:50 ora_qmnc_jedenact oracle ? 01:58:20 ora_cjq0_jedenact oracle ? 00:08:30 ora_q000_jedenact oracle ? 00:12:00 ora_q001_jedenact oracle ? 00:25:41 ora_smco_jedenact

26 1. Individual Server processes access shared data in the SGA and private data in PGA

27 1. Each client process has its own server process 1. Optimal for batch processing with intensive process usage (without or with less idle time)

28 1. More clients share one server process through dispatcher process 1. Optimal for less intensive clients with much idle time

29 1. Log Writer Process (LGWR) writes data from the buffer to online redo log file. 2. When file is full, the redo log switch occurs, checkpoint forced 1. All dirty data blocks written to the database files

30

31 1. Row too long for the block stored partially in the block and partially in another block(s). Linked via pointers.

32 1. Row updated so it doesn t fit to the block is migrated to another block. Remains only pointer to keep original ROWID. 2. Two block reads instead of one.

33

34 1. SQL statement parsing 1. Syntax checking 2. Semantic checking 2. Check existence of query plan in Shared Pool 3. If plan doesn t exist, generate as much of available plans as possible and choose the best (with lowest cost) 4. If plan doesn t exist, plan row source execution 5. Execute the query

35 1. Query can be reformulated (IN operator can be replaced by OR and vice versa, ) 2. For each plan is estimated number of processed rows in nodes, number of bytes, number of read blocks, CPU usage, etc. 3. The cost of the plan is computed as the weighted sum according to internal statistics

36 Each execution plan is stored. According to the CURSOR_SHARING settins can be used repeatedly EXACT cursor sharing The plan can be used for the exactly same SQL statement SIMILAR cursor sharing The plan can be used for similar SQL statement with the same structure, but different constant Each constant is replaced by placeholder SELECT * FROM Emp WHERE ID=1 SELECT * FROM Emp WHERE ID=:x1 Values are bound to placeholders in time of execution PROS: less number of statement parsing CONS: optimization without knowledge of exact value may be ineffective in case of non-uniform distribution of values

37 EXPLAIN PLAN FOR select * from Zvire Z natural join Druh D natural join Kategorie K where K.NazKat='Kockovite ; PLAN_TABLE_OUTPUT Plan hash value: Id Operation Name Rows Bytes Cost (%CPU) Time SELECT STATEMENT (0) 00:00:01 1 NESTED LOOPS 2 NESTED LOOPS (0) 00:00:01 3 NESTED LOOPS (0) 00:00:01 4 TABLE ACCESS BY INDEX ROWID KATEGORIE (0) 00:00:01 * 5 INDEX UNIQUE SCAN KATEGORIE_U_NAZKAT 1 0 (0) 00:00:01 6 TABLE ACCESS FULL ZVIRE (0) 00:00:01 * 7 INDEX UNIQUE SCAN DRUH_PK 1 0 (0) 00:00:01 * 8 TABLE ACCESS BY INDEX ROWID DRUH (0) 00:00: Predicate Information (identified by operation id): access("k"."nazkat"='kockovite') 7 - access("z"."nazev"="d"."nazev") 8 - filter("d"."idkat"="k"."idkat")

38 B-Tree For columns with high selectivity Bitmap For columns with low selectivity Can be combined using AND, OR to achieve higher selectivity Index organized Tables Clustered index on primary key Data physically ordered by primary key, i.e. rows have no stable physical location in segment / file B*-tree indexes store key value and estimated position

39 create index Zvire_Nazev_Inx on Zvire(Nazev); EXPLAIN PLAN FOR select * from Zvire Z natural join Druh D natural join Kategorie K where K.NazKat='Kockovite ; PLAN_TABLE_OUTPUT Plan hash value: Id Operation Name Rows Bytes Cost (%CPU) Time SELECT STATEMENT (0) 00:00:01 1 NESTED LOOPS 2 NESTED LOOPS (0) 00:00:01 3 NESTED LOOPS (0) 00:00:01 4 TABLE ACCESS BY INDEX ROWID KATEGORIE (0) 00:00:01 * 5 INDEX UNIQUE SCAN KATEGORIE_U_NAZKAT 1 0 (0) 00:00:01 6 TABLE ACCESS BY INDEX ROWID DRUH (0) 00:00:01 * 7 INDEX RANGE SCAN DRUH_IDKAT_INX 1 0 (0) 00:00:01 * 8 INDEX RANGE SCAN ZVIRE_NAZEV_INX 1 0 (0) 00:00:01 9 TABLE ACCESS BY INDEX ROWID ZVIRE (0) 00:00: Predicate Information (identified by operation id): access("k"."nazkat"='kockovite') 7 - access("d"."idkat"="k"."idkat") 8 - access("z"."nazev"="d"."nazev")

40

41

Data Organization and Processing I

Data Organization and Processing I Data Organization and Processing I Data Organization in Oracle Server 11g R2 (NDBI007) RNDr. Michal Kopecký, Ph.D. http://www.ms.mff.cuni.cz/~kopecky Database structure o Database structure o Database

More information

1-2 Copyright Ó Oracle Corporation, All rights reserved.

1-2 Copyright Ó Oracle Corporation, All rights reserved. 1-1 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any

More information

Course Contents of ORACLE 9i

Course Contents of ORACLE 9i Overview of Oracle9i Server Architecture Course Contents of ORACLE 9i Responsibilities of a DBA Changing DBA Environments What is an Oracle Server? Oracle Versioning Server Architectural Overview Operating

More information

Implementation of Database Systems David Konopnicki Taub 715 Spring Sources

Implementation of Database Systems David Konopnicki Taub 715 Spring Sources Implementation of Database Systems 236510 David Konopnicki Taub 715 Spring 2000 1 2 Sources Oracle 7 Server Concepts - Oracle8i Server Concepts. Oracle Corp. Available on the course Web Site: http://www.cs.technion.ac.il/~cs236510

More information

Oracle Database 11g: SQL Tuning Workshop

Oracle Database 11g: SQL Tuning Workshop Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Oracle Database 11g: SQL Tuning Workshop Duration: 3 Days What you will learn This Oracle Database 11g: SQL Tuning Workshop Release

More information

Interpreting Explain Plan Output. John Mullins

Interpreting Explain Plan Output. John Mullins Interpreting Explain Plan Output John Mullins jmullins@themisinc.com www.themisinc.com www.themisinc.com/webinars Presenter John Mullins Themis Inc. (jmullins@themisinc.com) 30+ years of Oracle experience

More information

Oracle Architectural Components

Oracle Architectural Components Oracle Architectural Components Date: 14.10.2009 Instructor: Sl. Dr. Ing. Ciprian Dobre 1 Overview of Primary Components User process Shared Pool Instance SGA Server process PGA Library Cache Data Dictionary

More information

Things to remember when working with Oracle... (for UDB specialists)

Things to remember when working with Oracle... (for UDB specialists) TRAINING & CONSULTING Things to remember when working with Oracle... (for UDB specialists) Kris Van Thillo, ABIS ABIS Training & Consulting www.abis.be training@abis.be 2013 Document number: DB2LUWUserMeeting2013Front.fm

More information

Oracle Tuning. Ashok Kapur Hawkeye Technology, Inc.

Oracle Tuning. Ashok Kapur Hawkeye Technology, Inc. Oracle Tuning Ashok Kapur Hawkeye Technology, Inc. Agenda Oracle Database Structure Oracle Database Access Tuning Considerations Oracle Database Tuning Oracle Tuning Tools 06/14/2002 Hawkeye Technology,

More information

DumpsKing. Latest exam dumps & reliable dumps VCE & valid certification king

DumpsKing.   Latest exam dumps & reliable dumps VCE & valid certification king DumpsKing http://www.dumpsking.com Latest exam dumps & reliable dumps VCE & valid certification king Exam : 1z1-062 Title : Oracle Database 12c: Installation and Administration Vendor : Oracle Version

More information

DBA_VIEWS DBA_SEQUENCES

DBA_VIEWS DBA_SEQUENCES Findexesontosabb táblák, nézetek DBA_OBJECTS/ALL_OBJECT OWNER (char) OBJECT_NAME (char) OBJECT_ID (number) OBJECT_TYPE (char) TABLE/INDEX/TRIGGER/VIEW CREATED létrehozva (dátum) LAST_DDL_TIME módosítva

More information

RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague

RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague course: Database Applications (NDBI026) WS2015/16 RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague Transactions Transactional

More information

Oracle Database 11g: SQL Tuning Workshop. Student Guide

Oracle Database 11g: SQL Tuning Workshop. Student Guide Oracle Database 11g: SQL Tuning Workshop Student Guide D52163GC10 Edition 1.0 June 2008 Author Jean-François Verrier Technical Contributors and Reviewers Muriel Fry (Special thanks) Joel Goodman Harald

More information

Ensuring Optimal Performance. Vivek Sharma. 3 rd November 2012 Sangam 2012

Ensuring Optimal Performance. Vivek Sharma. 3 rd November 2012 Sangam 2012 Ensuring Optimal Performance Vivek Sharma 3 rd November 2012 Sangam 2012 Who am I? Around 12 Years using Oracle Products Certified DBA versions 8i Specializes in Performance Optimization COE Lead with

More information

INFSCI 2711 Database Analysis and Design Example I for Final Exam: Solutions

INFSCI 2711 Database Analysis and Design Example I for Final Exam: Solutions Dr. Stefan Brass July 26, 2001 School of Information Sciences University of Pittsburgh INFSCI 2711 Database Analysis and Design Example I for Final Exam: Solutions General Remarks The average was 22.2

More information

Oracle Database 12c R2: New Features for Administrators Part 2 Ed 1

Oracle Database 12c R2: New Features for Administrators Part 2 Ed 1 Oracle Database 12c R2: New Features for Administrators Part 2 Ed 1 Duration 5 Days What you will learn Throughout the lessons of the Oracle Database 12c R2: New Features for Administrators Part 2 course

More information

Oracle Database 12c R2: New Features for Administrators Part 2 Ed 1 -

Oracle Database 12c R2: New Features for Administrators Part 2 Ed 1 - Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Oracle Database 12c R2: New Features for Administrators Part 2 Ed 1 - Duration: 5 Days What you will learn Throughout the lessons

More information

The Oracle DBMS Architecture: A Technical Introduction

The Oracle DBMS Architecture: A Technical Introduction BY DANIEL D. KITAY The Oracle DBMS Architecture: A Technical Introduction As more and more database and system administrators support multiple DBMSes, it s important to understand the architecture of the

More information

ENHANCING DATABASE PERFORMANCE

ENHANCING DATABASE PERFORMANCE ENHANCING DATABASE PERFORMANCE Performance Topics Monitoring Load Balancing Defragmenting Free Space Striping Tables Using Clusters Using Efficient Table Structures Using Indexing Optimizing Queries Supplying

More information

Tuning Considerations for Different Applications Lesson 4

Tuning Considerations for Different Applications Lesson 4 4 Tuning Considerations for Different Applications Lesson 4 Objectives After completing this lesson, you should be able to do the following: Use the available data access methods to tune the logical design

More information

Basics of SQL Transactions

Basics of SQL Transactions www.dbtechnet.org Basics of SQL Transactions Big Picture for understanding COMMIT and ROLLBACK of SQL transactions Files, Buffers,, Service Threads, and Transactions (Flat) SQL Transaction [BEGIN TRANSACTION]

More information

Oracle Notes Part-5. Two Types of Cursor : 1)Implicit Cursor

Oracle Notes Part-5. Two Types of Cursor : 1)Implicit Cursor Oracle Notes Part-5 CURSOR: A cursor is a temporary work area created in the system memory when a SQL statement is executed. A cursor contains information on a select statement and the rows of data accessed

More information

IT-Tage Dezember 2016 Frankfurt am Main Maritim Hotel

IT-Tage Dezember 2016 Frankfurt am Main Maritim Hotel www.it-tage.org IT-Tage 2016 12.-15.Dezember 2016 Frankfurt am Main Maritim Hotel The Bad One Into Your Crop - SQL Tuning Analysis for DBAs Die Schlechten ins Kröpfchen - SQL Analyse für DBAs Martin Klier

More information

Using Oracle STATSPACK to assist with Application Performance Tuning

Using Oracle STATSPACK to assist with Application Performance Tuning Using Oracle STATSPACK to assist with Application Performance Tuning Scenario You are experiencing periodic performance problems with an application that uses a back-end Oracle database. Solution Introduction

More information

Safe Harbor Statement

Safe Harbor Statement Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment

More information

RAC for Beginners. Arup Nanda Longtime Oracle DBA (and a beginner, always)

RAC for Beginners. Arup Nanda Longtime Oracle DBA (and a beginner, always) Arup Nanda Longtime Oracle DBA (and a beginner, always) This image cannot currently be displayed. Continue Your Education Communities Knowledge April 7-11, 2013 Saring Colorado Convention Center Education

More information

Oracle Technical Questions. 1. What are the components of Physical database structure of Oracle Database?.

Oracle Technical Questions. 1. What are the components of Physical database structure of Oracle Database?. Oracle Technical Questions Oracle 7 Concepts and Architecture Database Structures. 1. What are the components of Physical database structure of Oracle Database?. ORACLE database is comprised of three types

More information

Datenbanksysteme II: Caching and File Structures. Ulf Leser

Datenbanksysteme II: Caching and File Structures. Ulf Leser Datenbanksysteme II: Caching and File Structures Ulf Leser Content of this Lecture Caching Overview Accessing data Cache replacement strategies Prefetching File structure Index Files Ulf Leser: Implementation

More information

Oracle Database 12c Performance Management and Tuning

Oracle Database 12c Performance Management and Tuning Course Code: OC12CPMT Vendor: Oracle Course Overview Duration: 5 RRP: POA Oracle Database 12c Performance Management and Tuning Overview In the Oracle Database 12c: Performance Management and Tuning course,

More information

7. Query Processing and Optimization

7. Query Processing and Optimization 7. Query Processing and Optimization Processing a Query 103 Indexing for Performance Simple (individual) index B + -tree index Matching index scan vs nonmatching index scan Unique index one entry and one

More information

Tuesday, April 6, Inside SQL Server

Tuesday, April 6, Inside SQL Server Inside SQL Server Thank you Goals What happens when a query runs? What each component does How to observe what s going on Delicious SQL Cake Delicious SQL Cake Delicious SQL Cake Delicious SQL Cake Delicious

More information

"Charting the Course... Oracle Database 12c: Architecture & Internals. Course Summary

Charting the Course... Oracle Database 12c: Architecture & Internals. Course Summary Course Summary Description This is a core curriculum course applicable to most learning paths within the Oracle course series. We begin with a discussion of the broad systems infrastructure where one finds

More information

Real-World Performance Training Exadata and Database In-Memory

Real-World Performance Training Exadata and Database In-Memory Real-World Performance Training Exadata and Database In-Memory Real-World Performance Team Agenda 1 2 3 4 5 The DW/BI Death Spiral Parallel Execution Loading Data Exadata and Database In-Memory Dimensional

More information

Advanced indexing methods Usage and Abusage. Riyaj Shamsudeen Ora!nternals

Advanced indexing methods Usage and Abusage. Riyaj Shamsudeen Ora!nternals Advanced indexing methods Usage and Abusage Riyaj Shamsudeen Ora!nternals Introduction Who am I? Various indexing features Use and abuse of index types Questions Riyaj Shamsudeen @Orainternals 2 Who am

More information

Oracle 1Z Oracle Database 10g: Administration II. Download Full Version :

Oracle 1Z Oracle Database 10g: Administration II. Download Full Version : Oracle 1Z0-043 Oracle Database 10g: Administration II Download Full Version : https://killexams.com/pass4sure/exam-detail/1z0-043 QUESTION: 172 You lost the index tablespace in your database. You decided

More information

Oracle Exam 1z0-062 Oracle Database 12c: Installation and Administration Version: 6.0 [ Total Questions: 166 ]

Oracle Exam 1z0-062 Oracle Database 12c: Installation and Administration Version: 6.0 [ Total Questions: 166 ] s@lm@n Oracle Exam 1z0-062 Oracle Database 12c: Installation and Administration Version: 6.0 [ Total Questions: 166 ] Question No : 1 Examine the parameters for your database instance: NAMETYPE VALUE --------------------------

More information

IT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including:

IT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including: IT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including: 1. IT Cost Containment 84 topics 2. Cloud Computing Readiness 225

More information

Architettura Database Oracle

Architettura Database Oracle Architettura Database Oracle Shared Pool La shared pool consiste di: Data dictionary: cache che contiene informazioni relative agli oggetti del databse, lo storage ed i privilegi Library cache: contiene

More information

Full Throttle: SQL Tuning & Ressource Consumption Appr.

Full Throttle: SQL Tuning & Ressource Consumption Appr. Full Throttle: Oracle SQL Tuning & the Ressource Consumption Approach Volle Kanne: Oracle SQL Tuning mit dem Ressourcenansatz Martin Klier Performing Databases GmbH Mitterteich / Germany 2/43 The Self-Driving

More information

ORACLE 8 OBJECT ORIENTED TECHNOLOGY ORACLE SOFTWARE STRUCTURES SERVER SIDE BACKGROUND PROCESSES DATABASE SERVER AND DATABASE INSTANCE

ORACLE 8 OBJECT ORIENTED TECHNOLOGY ORACLE SOFTWARE STRUCTURES SERVER SIDE BACKGROUND PROCESSES DATABASE SERVER AND DATABASE INSTANCE ORACLE 8 IS ORDBMS HANDLES VLDB - GIGABYTES/TERABYTES 10,000 CONCURRENT USERS PARTITIONED TABLES AND INDEXES SINGLE DATA BLOCK IS INACCESSSIBLE CAN ACCESS MULTIPLE PARTITION IN PARALLEL FOR CONCURRENT

More information

Oracle.ActualTests.1Z0-023.v by.Ramon.151q

Oracle.ActualTests.1Z0-023.v by.Ramon.151q Oracle.ActualTests.1Z0-023.v2009-03-18.by.Ramon.151q Number: 1Z0-023 Passing Score: 800 Time Limit: 120 min File Version: 33.4 http://www.gratisexam.com/ Oracle 1z0-023 Exam Exam Name: Architecture and

More information

Oracle FLEXCUBE Private Banking May 2011

Oracle FLEXCUBE Private Banking May 2011 Oracle FLEXCUBE Private Banking May 2011 Database configuration parameters and Recommended Schedule Maintenance Oracle Part Number E51529-01 Document Control Date Version Description Author 30 th November

More information

Independent consultant. Oracle ACE Director. Member of OakTable Network. Available for consulting In-house workshops. Performance Troubleshooting

Independent consultant. Oracle ACE Director. Member of OakTable Network. Available for consulting In-house workshops. Performance Troubleshooting Independent consultant Available for consulting In-house workshops Cost-Based Optimizer Performance By Design Performance Troubleshooting Oracle ACE Director Member of OakTable Network Optimizer Basics

More information

Oracle database overview. OpenLab Student lecture 13 July 2006 Eric Grancher

Oracle database overview. OpenLab Student lecture 13 July 2006 Eric Grancher Oracle database overview OpenLab Student lecture 13 July 2006 Eric Grancher Outline Who am I? What is a database server? Key characteristics of Oracle database server Instrumentation Clustering Optimiser

More information

CHAPTER. Oracle Database 11g Architecture Options

CHAPTER. Oracle Database 11g Architecture Options CHAPTER 1 Oracle Database 11g Architecture Options 3 4 Part I: Critical Database Concepts Oracle Database 11g is a significant upgrade from prior releases of Oracle. New features give developers, database

More information

Oracle Database 10g: New Features for Administrators Release 2

Oracle Database 10g: New Features for Administrators Release 2 Oracle University Contact Us: +27 (0)11 319-4111 Oracle Database 10g: New Features for Administrators Release 2 Duration: 5 Days What you will learn This course introduces students to the new features

More information

Introduction. Assessment Test. Chapter 1 Introduction to Performance Tuning 1. Chapter 2 Sources of Tuning Information 33

Introduction. Assessment Test. Chapter 1 Introduction to Performance Tuning 1. Chapter 2 Sources of Tuning Information 33 Contents at a Glance Introduction Assessment Test xvii xxvii Chapter 1 Introduction to Performance Tuning 1 Chapter 2 Sources of Tuning Information 33 Chapter 3 SQL Application Tuning and Design 85 Chapter

More information

Independent consultant. Oracle ACE Director. Member of OakTable Network. Available for consulting In-house workshops. Performance Troubleshooting

Independent consultant. Oracle ACE Director. Member of OakTable Network. Available for consulting In-house workshops. Performance Troubleshooting Independent consultant Available for consulting In-house workshops Cost-Based Optimizer Performance By Design Performance Troubleshooting Oracle ACE Director Member of OakTable Network Optimizer Basics

More information

Oracle. Exam Questions 1Z Oracle Database 11g: Administration I. Version:Demo

Oracle. Exam Questions 1Z Oracle Database 11g: Administration I. Version:Demo Oracle Exam Questions 1Z0-052 Oracle Database 11g: Administration I Version:Demo 1. You notice that the performance of the database has degraded because of frequent checkpoints. Which two actions resolve

More information

Applied Biosystems SQL*LIMS Technical Support Technical Note

Applied Biosystems SQL*LIMS Technical Support Technical Note Applied Biosystems SQL*LIMS Technical Support Technical Note Document Number: DBA003 Last Revised: 5//2003 Software Versions: SQL*LIMS v4.0.6 and v4. Author: Deborah Man Subject: How to check storage space

More information

Oracle SQL Tuning for Developers Workshop Student Guide - Volume I

Oracle SQL Tuning for Developers Workshop Student Guide - Volume I Oracle SQL Tuning for Developers Workshop Student Guide - Volume I D73549GC10 Edition 1.0 October 2012 D78799 Authors Sean Kim Dimpi Rani Sarmah Technical Contributors and Reviewers Nancy Greenberg Swarnapriya

More information

Exam: 1Z Title : Oracle9i: Performance Tuning. Ver :

Exam: 1Z Title : Oracle9i: Performance Tuning. Ver : Exam: Title : Oracle9i: Performance Tuning Ver : 01.22.04 Section A contains 226 questions. Section B contains 60 questions. The total number of questions is 286. Answers to the unanswered questions will

More information

Oracle Database 12c. The Best Oracle Database 12c Tuning Features for Developers and DBAs. Presented by: Alex Zaballa, Oracle DBA

Oracle Database 12c. The Best Oracle Database 12c Tuning Features for Developers and DBAs. Presented by: Alex Zaballa, Oracle DBA Oracle Database 12c The Best Oracle Database 12c Tuning Features for Developers and DBAs Presented by: Alex Zaballa, Oracle DBA Alex Zaballa http://alexzaballa.blogspot.com/ 147 and counting @alexzaballa

More information

<Insert Picture Here> DBA Best Practices: A Primer on Managing Oracle Databases

<Insert Picture Here> DBA Best Practices: A Primer on Managing Oracle Databases DBA Best Practices: A Primer on Managing Oracle Databases Mughees A. Minhas Sr. Director of Product Management Database and Systems Management The following is intended to outline

More information

Seminar: Presenter: Oracle Database Objects Internals. Oren Nakdimon.

Seminar: Presenter: Oracle Database Objects Internals. Oren Nakdimon. Seminar: Oracle Database Objects Internals Presenter: Oren Nakdimon www.db-oriented.com oren@db-oriented.com 054-4393763 @DBoriented 1 Oren Nakdimon Who Am I? Chronology by Oracle years When What Where

More information

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE ORACLE 11gR2 DBA by Mr. Akal Singh ( Oracle Certified Master ) INTRODUCTION to ORACLE COURSE CONTENT Exploring the Oracle Database Architecture List the major architectural components of Oracle Database

More information

Configuring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved.

Configuring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved. Configuring the Oracle Network Environment Objectives After completing this lesson, you should be able to: Use Enterprise Manager to: Create additional listeners Create Oracle Net Service aliases Configure

More information

IT100: Oracle Administration

IT100: Oracle Administration IT100: Oracle Administration IT100 Rev.001 CMCT COURSE OUTLINE Page 1 of 8 Training Description: Introduction to Oracle Administration and Management is a five-day course designed to provide Oracle professionals

More information

1z Oracle9i Performance Tuning. Version 19.0

1z Oracle9i Performance Tuning. Version 19.0 1z0-033 Oracle9i Performance Tuning Version 19.0 Important Note Please Read Carefully Study Tips This product will provide you questions and answers along with detailed explanations carefully compiled

More information

Anthony AWR report INTERPRETATION PART I

Anthony AWR report INTERPRETATION PART I Anthony AWR report INTERPRETATION PART I What is AWR? AWR stands for Automatically workload repository, Though there could be many types of database performance issues, but when whole database is slow,

More information

Analyzing a Statspack Report

Analyzing a Statspack Report Analyzing a Statspack Report A guide to the detail sections of the Statspack report Wait Events Quick Reference Guide Introduction Executing Snapshots Load Profile Section Top 5 Timed Events Section Resolving

More information

Performance Tuning with Statspack, Part II. An Oracle Technical White Paper July 2000

Performance Tuning with Statspack, Part II. An Oracle Technical White Paper July 2000 An Oracle Technical White Paper July 2000 Performance Tuning with Statspack Performance tuning with Statspack is part 2 of a two part article. Part 1 described Statspack s features, and how to install

More information

11gR2 Performance. Tuning Cookbook. Oracle Database. 1 enterprise J. performance from Oracle Database applications. achieve better

11gR2 Performance. Tuning Cookbook. Oracle Database. 1 enterprise J. performance from Oracle Database applications. achieve better Oracle Database 11gR2 Performance Tuning Cookbook Over 80 recipes to help beginners achieve better performance from Oracle Database applications Ciro Fiorillo PUBLISHING 1 enterprise J professional expertise

More information

Kathleen Durant PhD Northeastern University CS Indexes

Kathleen Durant PhD Northeastern University CS Indexes Kathleen Durant PhD Northeastern University CS 3200 Indexes Outline for the day Index definition Types of indexes B+ trees ISAM Hash index Choosing indexed fields Indexes in InnoDB 2 Indexes A typical

More information

Oracle. 1z Oracle Database 11g- New Features for Administrators.

Oracle. 1z Oracle Database 11g- New Features for Administrators. Oracle 1z1-050 Oracle Database 11g- New Features for Administrators http://killexams.com/exam-detail/1z1-050 DEMO Find some pages taken from full version Following pages are for demo purpose only. Demo

More information

Projects. Corporate Trainer s Profile. CMM (Capability Maturity Model) level Project Standard:- TECHNOLOGIES

Projects. Corporate Trainer s Profile. CMM (Capability Maturity Model) level Project Standard:- TECHNOLOGIES Corporate Trainer s Profile Corporate Trainers are having the experience of 4 to 12 years in development, working with TOP CMM level 5 comapnies (Project Leader /Project Manager ) qualified from NIT/IIT/IIM

More information

MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9)

MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9) Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 6 Professional Program: Data Administration and Management MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9) AGENDA

More information

Tablespace Usage By Schema In Oracle 11g Query To Check Temp

Tablespace Usage By Schema In Oracle 11g Query To Check Temp Tablespace Usage By Schema In Oracle 11g Query To Check Temp The APPS schema has access to the complete Oracle E-Business Suite data model. E-Business Suite Release 12.2 requires an Oracle database block

More information

Oracle Database Performance Tuning, Benchmarks & Replication

Oracle Database Performance Tuning, Benchmarks & Replication Oracle Database Performance Tuning, Benchmarks & Replication Kapil Malhotra kapil.malhotra@software.dell.com Solutions Architect, Information Management Dell Software 2 11/29/2013 Software Database Tuning

More information

Oracle Database 11g: Administration I

Oracle Database 11g: Administration I Oracle 1z0-052 Oracle Database 11g: Administration I Version: 7.0 Topic 1, Volume A Oracle 1z0-052 Exam QUESTION NO: 1 You notice that the performance of the database has degraded because of frequent checkpoints.

More information

Oracle Tables TECHGOEASY.COM

Oracle Tables TECHGOEASY.COM Oracle Tables TECHGOEASY.COM 1 Oracle Tables WHAT IS ORACLE DATABASE TABLE? -Tables are the basic unit of data storage in an Oracle Database. Data is stored in rows and columns. -A table holds all the

More information

Oracle Database 12c Administration I

Oracle Database 12c Administration I Course Overview In this course, students will focus on configuration on supported systems. Also how the database fits in with other systems. Who Should Attend View Course Dates & Register Today This is

More information

Oracle DB-Tuning Essentials

Oracle DB-Tuning Essentials Infrastructure at your Service. Oracle DB-Tuning Essentials Agenda 1. The DB server and the tuning environment 2. Objective, Tuning versus Troubleshooting, Cost Based Optimizer 3. Object statistics 4.

More information

Change Default Temporary Tablespace Usage Oracle 10g

Change Default Temporary Tablespace Usage Oracle 10g Change Default Temporary Tablespace Usage Oracle 10g alter tablespace temp add tempfile '+data' size 10G, thing: If 'Segment Space management' is set to MANUAL for the default TEMP tablespace, does this

More information

RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague

RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague course: Database Applications (NDBI026) WS2015/16 RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague Triggers Triggers Overview

More information

Oracle Tuning Pack. Table Of Contents. 1 Introduction. 2 Installation and Configuration. 3 Documentation and Help. 4 Oracle SQL Analyze

Oracle Tuning Pack. Table Of Contents. 1 Introduction. 2 Installation and Configuration. 3 Documentation and Help. 4 Oracle SQL Analyze Oracle Tuning Pack Readme Release 2.1.0.0.0 for Windows February 2000 Part No. A76921-01 Table Of Contents 1 Introduction 2 Installation and Configuration 3 Documentation and Help 4 Oracle SQL Analyze

More information

SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability

SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability Oracle Enterprise Manager Top-Down, Integrated Application Management Complete, Open,

More information

20 Essential Oracle SQL and PL/SQL Tuning Tips. John Mullins

20 Essential Oracle SQL and PL/SQL Tuning Tips. John Mullins 20 Essential Oracle SQL and PL/SQL Tuning Tips John Mullins jmullins@themisinc.com www.themisinc.com www.themisinc.com/webinars Presenter John Mullins Themis Inc. (jmullins@themisinc.com) 30+ years of

More information

These copies should be placed on different disks, if possible. Disk 1 Disk 2 Disk 3

These copies should be placed on different disks, if possible. Disk 1 Disk 2 Disk 3 DATABASE CONFIGURATIONS Configuration Topics Simple Databases with Mirroring Multiplexing Control Files and REDO Logs Disk Shadowing Database Links and Snapshots Optimal Flexible Architecture 1 Stand Alone

More information

Question No : 1 Which three statements are true regarding persistent lightweight jobs? (Choose three.)

Question No : 1 Which three statements are true regarding persistent lightweight jobs? (Choose three.) Volume: 183 Questions Question No : 1 Which three statements are true regarding persistent lightweight jobs? (Choose three.) A. The user cannot set privileges on persistent lightweight jobs. B. The use

More information

Oracle Database 12c: SQL Tuning for Developers

Oracle Database 12c: SQL Tuning for Developers Oracle Database 12c: SQL Tuning for Developers Student Guide Volume I D79995GC10 Edition 1.0 December 2016 D84109 Learn more from Oracle University at education.oracle.com Author Dimpi Rani Sarmah Technical

More information

ROLLBACK SEGMENTS. In this chapter, you will learn about: Rollback Segment Management Page 272

ROLLBACK SEGMENTS. In this chapter, you will learn about: Rollback Segment Management Page 272 C H A P T E R 1 2 ROLLBACK SEGMENTS CHAPTER OBJECTIVES In this chapter, you will learn about: Rollback Segment Management Page 272 The information in a rollback segment is used for query read consistency,

More information

RECO CKPT SMON ARCH PMON RMAN DBWR

RECO CKPT SMON ARCH PMON RMAN DBWR Database Architecture t Architecture Topics Memory Structure Background Processes Database Accessing Database Information Starting the Database SMON PMON DBWR LGWR Parameter Database Architecture SNPn

More information

Query optimization. Elena Baralis, Silvia Chiusano Politecnico di Torino. DBMS Architecture D B M G. Database Management Systems. Pag.

Query optimization. Elena Baralis, Silvia Chiusano Politecnico di Torino. DBMS Architecture D B M G. Database Management Systems. Pag. Database Management Systems DBMS Architecture SQL INSTRUCTION OPTIMIZER MANAGEMENT OF ACCESS METHODS CONCURRENCY CONTROL BUFFER MANAGER RELIABILITY MANAGEMENT Index Files Data Files System Catalog DATABASE

More information

Oracle Performance Tuning. Overview of performance tuning strategies

Oracle Performance Tuning. Overview of performance tuning strategies Oracle Performance Tuning Overview of performance tuning strategies Allan Young June 2008 What is tuning? Group of activities used to optimize and homogenize the performance of a database Maximize use

More information

Internals of Active Dataguard. Saibabu Devabhaktuni

Internals of Active Dataguard. Saibabu Devabhaktuni Internals of Active Dataguard Saibabu Devabhaktuni PayPal DB Engineering team Sehmuz Bayhan Our visionary director Saibabu Devabhaktuni Sr manager of DB engineering team http://sai-oracle.blogspot.com

More information

ITExamDownload. Provide the latest exam dumps for you. Download the free reference for study

ITExamDownload.  Provide the latest exam dumps for you. Download the free reference for study ITExamDownload Provide the latest exam dumps for you. Download the free reference for study Exam : 1Z0-020 Title : Oracle8l:new features for administrators Vendors : Oracle Version : DEMO Get Latest &

More information

Oracle Database 10g : Administration Workshop II (Release 2) Course 36 Contact Hours

Oracle Database 10g : Administration Workshop II (Release 2) Course 36 Contact Hours Oracle Database 10g : Administration Workshop II (Release 2) Course 36 Contact Hours What you will learn This course advances your success as an Oracle professional in the area of database administration.

More information

doc. RNDr. Tomáš Skopal, Ph.D. RNDr. Michal Kopecký, Ph.D.

doc. RNDr. Tomáš Skopal, Ph.D. RNDr. Michal Kopecký, Ph.D. course: Database Systems (NDBI025) SS2017/18 doc. RNDr. Tomáš Skopal, Ph.D. RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague

More information

Correctexams.com. Exam :1Z0-031 Title:Oracle9i: DBA Fundamentals I Version Number:Version Last Verified and Updated on Jan 4, 2003

Correctexams.com. Exam :1Z0-031 Title:Oracle9i: DBA Fundamentals I Version Number:Version Last Verified and Updated on Jan 4, 2003 Correctexams.com Exam :1Z0-031 Title:Oracle9i: DBA Fundamentals I Version Number:Version 1-2003 Last Verified and Updated on Jan 4, 2003 Fast Way to get your Certification Real Level Practice Questions

More information

RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague

RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague course: Database Applications (NDBI026) WS2015/16 RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague Schema modification Adding

More information

Understanding and Leveraging the Oracle9i Advisories. Azeem Mohamed Product Marketing Manager Quest Software

Understanding and Leveraging the Oracle9i Advisories. Azeem Mohamed Product Marketing Manager Quest Software Understanding and Leveraging the Oracle9i Advisories Azeem Mohamed Product Marketing Manager Quest Software Agenda Overview of the Oracle9i advisories Buffer cache advisory Shared Pool advisory PGA advisory

More information

Oracle Database In-Memory

Oracle Database In-Memory Oracle Database In-Memory Mark Weber Principal Sales Consultant November 12, 2014 Row Format Databases vs. Column Format Databases Row SALES Transactions run faster on row format Example: Insert or query

More information

October 3, 2017 Vit Spinka Chief Architect

October 3, 2017 Vit Spinka Chief Architect Reading the execution plan deep dive into SGA memory October 3, 2017 Vit Spinka Chief Architect Explain plan, dbms_xplan How to read the SGA and PGA Find the plan for a SQL Rows of a plan Column projections,

More information

Why is my Oracle10g Database SLOWER than my Oracle9i Database? Dan Hotka Author/Speaker/Oracle Expert

Why is my Oracle10g Database SLOWER than my Oracle9i Database? Dan Hotka Author/Speaker/Oracle Expert Why is my Oracle10g Database SLOWER than my Oracle9i Database? Dan Hotka Author/Speaker/Oracle Expert www.danhotka.com, LLC (c) www.danhotka.com LLC. Any reproduction or copying of this manual without

More information

File Structures and Indexing

File Structures and Indexing File Structures and Indexing CPS352: Database Systems Simon Miner Gordon College Last Revised: 10/11/12 Agenda Check-in Database File Structures Indexing Database Design Tips Check-in Database File Structures

More information

Technical Paper Yet Another Performance Profiling Method (Or YAPP-Method)

Technical Paper Yet Another Performance Profiling Method (Or YAPP-Method) Technical Paper Yet Another Performance Profiling Method (Or YAPP-Method) Anjo Kolk, Shari Yamaguchi Data Server Applied Technologies Jim Viscusi -- Oracle Support Services Centers of Expertise Oracle

More information

Top 7 Plan Stability Pitfalls & How to Avoid Them. Neil Chandler Chandler Systems Ltd UK

Top 7 Plan Stability Pitfalls & How to Avoid Them. Neil Chandler Chandler Systems Ltd UK Top 7 Plan Stability Pitfalls & How to Avoid Them Neil Chandler Chandler Systems Ltd UK Keywords: SQL Optimizer Plan Change Stability Outlines Baselines Plan Directives Introduction When you write some

More information

D B M G Data Base and Data Mining Group of Politecnico di Torino

D B M G Data Base and Data Mining Group of Politecnico di Torino Database Management Data Base and Data Mining Group of tania.cerquitelli@polito.it A.A. 2014-2015 Optimizer operations Operation Evaluation of expressions and conditions Statement transformation Description

More information

1z z0-060 Upgrade to Oracle Database 12c

1z z0-060 Upgrade to Oracle Database 12c 1z0-060 Number: 1z0-060 Passing Score: 800 Time Limit: 120 min File Version: 7.1 1z0-060 Upgrade to Oracle Database 12c Exam A QUESTION 1 Your multitenant container (CDB) contains two pluggable databases

More information