A Hitchhikers View Of The Oracle Underground Raghav Vinjamuri.

Slides:



Advertisements
Similar presentations
18 Copyright © Oracle Corporation, All rights reserved. Transporting Data Between Databases.
Advertisements

INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
Diagnostics and Verification of Oracle Real Application Clusters 10g Jack Cai Principal Product Manager Oracle Corporation
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
1 Chapter 17 Troubleshooting RMAN. 2 Background Authors thought this topic was often glazed over or not covered well Knew that every topic can’t be covered,
Backup and recovery Basics of Backup and restoration Types of recovery Defining strategy Starting up and shutting down 80/20 rule SLA’s.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Track the changes in your Apex application between releases: Yes you can Plsql.
Harvard University Oracle Database Administration Session 10 Database Backups.
5 Copyright © 2006, Oracle. All rights reserved. Database Recovery.
RMAN Restore and Recovery
Backup and Recovery Part 1.
Chapter 12 Performing Incomplete Recovery. Background Viewed as one of the more difficult chapters to write Thought it was important to put in material.
Configuring Recovery Manager
4 Copyright © 2008, Oracle. All rights reserved. Configuring Backup Specifications.
Chapter 5 Configuring the RMAN Environment. Objectives Show command to see existing settings Configure command to change settings Backing up the controlfile.
9 Copyright © Oracle Corporation, All rights reserved. Oracle Recovery Manager Overview and Configuration.
CHAPTER 17 Configuring RMAN. Introduction to RMAN RMAN was introduced in Oracle 8.0. RMAN is Oracle’s tool for backup and recovery. RMAN is much more.
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
Oracle backup and recovery strategy
Introduction to Oracle Backup and Recovery
Oracle Database High Availability Brandon Kuschel Jian Liu Source: Oracle Database 11g Release 2 High Availability An Oracle White Paper November 2010.
Backup & Recovery Concepts for Oracle Database
Oracle Recovery Manager (RMAN) 10g : Reloaded
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
Oracle Recovery Manager (RMAN) 10g : Reloaded Tammy Bednar Sr. Product Manager Oracle Corporation Session id:
7 Copyright © 2006, Oracle. All rights reserved. Dealing with Database Corruption.
Recovery Manager Overview Target Database Recovery Catalog Database Enterprise Manager Recovery Manager (RMAN) Media Options Server Session.
SRUTHI NAGULAVANCHA CIS 764, FALL 2008 Department of Computing and Information Sciences (CIS) Kansas State University -1- Back up & Recovery Strategies.
5 Copyright © 2008, Oracle. All rights reserved. Using RMAN to Create Backups.
Chapter 7 Making Backups with RMAN. Objectives Explain backup sets and image copies RMAN Backup modes’ Types of files backed up Backup destinations Specifying.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
Backup & Recovery Backup and Recovery Strategies on Windows Server 2003.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
11g(R1/R2) Data guard Enhancements Suresh Gandhi
15 Copyright © 2007, Oracle. All rights reserved. Performing Database Backups.
9 Copyright © 2004, Oracle. All rights reserved. Flashback Database.
Oracle Database 10 g Time Navigation: Human-Error Correction Magnus Lubeck DBA/Systems Analyst CERN, IT-DB Group Session id: Tammy Bednar Sr. Product.
Week 3 Lecture 1 The Redo Log Files and Diagnostic Files.
Dave Muirhead Director of Electronic Customer Self-Service Oracle Corporation.
1. When things go wrong: how to find SQL error Sveta Smirnova Principle Technical Support Engineer, Oracle.
11 Copyright © 2004, Oracle. All rights reserved. Dealing with Database Corruption.
Advanced Databases DBA: Security and Backups Guide to Oracle 10g 1.
© 2006 Northgate Information Solutions plc and its associated companies. All rights reserved. Slide 1.
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
2 Copyright © 2007, Oracle. All rights reserved. Configuring for Recoverability.
2 Copyright © 2006, Oracle. All rights reserved. Configuring Recovery Manager.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
3 Copyright © 2007, Oracle. All rights reserved. Using the RMAN Recovery Catalog.
Introduction to SQL Server  Working with MS SQL Server and SQL Server Management Studio.
10 Copyright © 2007, Oracle. All rights reserved. Using RMAN Enhancements.
19 Copyright © 2004, Oracle. All rights reserved. Database Backups.
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
9 Copyright © 2004, Oracle. All rights reserved. Incomplete Recovery.
What is the Flashback Database? Improves a database’s availability Useful alternative to traditional restoration methods Contains Flashback logs Archived.
What is Flashback? Technology that allows you to revert the database to a point in time in the past Several versions of flashback available Different types.
SQL Server DBA Online TrainingSQL Server DBA Online Training.
SQL Database Management
Oracle Database High Availability
Sharing experience on RMAN backups ...
Database recovery contd…
Backup and Recovery.
How To Pass Oracle 1z0-060 Exam In First Attempt?
Recovery Catalog Creation and Maintenance
Errorstack –Shortstack
Antonio Abalos Castillo
Installation and database instance essentials
Oracle Database High Availability
Understanding and Handling Database Corruption
Performing Database Recovery
Presentation transcript:

A Hitchhikers View Of The Oracle Underground Raghav Vinjamuri

2 About This Presentation  Purpose Given a vast repertoire of tools and techniques for Proactive Oracle Maintenance - everyone has their own favorite tools, keywords and.. buzzwords. This presentation provides a view for a selection of tools and techniques that are uncommon or “in various stages of implementation”.. in an Oracle DB env.

Raghav Vinjamuri3 7 Counting down from..

Raghav Vinjamuri4 #7 – Speed Up Backups.. 1 Question: Name some options for speeding up backups using RMAN? Thoughts: Get faster CPU, disk.. Faster everything. Seriously ?

Raghav Vinjamuri5 #7 - Speed Up Backups.. 2 Thoughts: Incremental backup strategy RMAN Block Change Tracking Block change tracking causes only the changed database blocks to be flagged in a special file. Mostly everyone uses a Incremental Strategy Yet not many use BCT – why? Use ASM

Raghav Vinjamuri6 #7 - Speed Up Backups.. 3 Considerations: Needs a Block Change Tracking file – that can be created dynamically at any time. Even when the db is open.

Raghav Vinjamuri7 6

8 #6 – Speed Up Recovery/Restore.. 1 Question: How to speed up recovery and restore? Thoughts: Get a superfast IO subsystem

Raghav Vinjamuri9 #6 – Speed Up Recovery/Restore.. 2 Answer: Use Restore points and Flash Recovery Logs Provides a feature wherein a reset can be performed to the same restore points. (see demo). Vastly speeds up qa refresh times (and, mitigates operational errors).

Raghav Vinjamuri10 5

Raghav Vinjamuri11 #5 – Recover a small table.. 1 Question: How do you recover a small ‘mostly static data’ table? Given that, - a backup + all archivelogs available - however, no export dmp file

Raghav Vinjamuri12 #5 – Recover a small table.. 2 Thoughts: Hmm – restore to another instance. Ok – what next? Option: Use Log Miner Capability

Raghav Vinjamuri13 #5 – Restore a small table.. 3 Remember: Take an export !!

Raghav Vinjamuri14 4

Raghav Vinjamuri15 #4 – samples of prod table for qa.. 1 Question: How to create a sample of prod table? Option: Use “exp” with “where clause”

Raghav Vinjamuri16 3

Raghav Vinjamuri17 #3 – Audit & Forensics.. 1 Question: How to track changes for a transaction? Thoughts: Triggers.. Ok. What else?

Raghav Vinjamuri18 #3 – Audit & Forensics.. 2 Option: Flashback Versions Query and Flashback Transactions Query Considerations: db_flashback_retention_target defaults to 1440 minutes

Raghav Vinjamuri19 2

Raghav Vinjamuri20 #2 – ORADEBUG.. 1 Thoughts: Useful for diagnosing performance and hanging issues. Primarily for Oracle Support  Serves debug and tracing issues.  Take dumps of internal structures and file headers

Raghav Vinjamuri21 #2 – ORADEBUG.. 2 Thoughts: In sqlplus as sysdba attach process run ORADEBUG commands detach process ORADEBUG HELP prints ORADEBUG command

Raghav Vinjamuri22 1

Raghav Vinjamuri23 #1 – Oracle RDA.. 1 Oracle RDA (Remote Diagnostics Agent) is primarily used by Oracle Support. Instead of discussing everything about RDA, here is the RDA report generated. Download it from MetaLink - Doc ID

Raghav Vinjamuri24 BONUS

Raghav Vinjamuri25 #BONUS – Undocumented Parameter _fix_control Syntax: _fix_control=“ :ON” Or_fix_control=“ :OFF” Current Favorite!!

Raghav Vinjamuri26 #BONUS – _fix_control.. 2 Thoughts: Bug Fixes need to be enabled to use this feature Check beforehand, if the particular bug fix is registered or not! V$SYSTEM_FIX_CONTROL is a view of bug fixes that can be turned off. :-) Currently has 229 (as in 11gR1)

Raghav Vinjamuri27 Presentation Roundup  Summary This presentation touched upon  Backups, and getting more from RMAN backups  Restores, and setting restore points for quick qa refresh  Restore small table using Log Miner capability  Using Flashback Versions and Flashback Transactions  ORADEBUG and rda Tools and Options for making everyday work simpler and easier!

Raghav Vinjamuri28 Fin! Q&A All the best for the future! Thank You!