11g The Perfection of a Masterpiece A presentation about new features of 11g you may not have noticed Christo Kutrovsky The Pythian Group 2007 October.

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
Advertisements

Chris Ruel * Image used without permission.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Oracle High Availability Solutions RAC and Standby Database Copyright System Managers LLC 2008.
Oracle Architecture. Instances and Databases (1/2)
The New Data Pump Caleb Small Next generation Import / Export New features Better performance Improved security Versatile interfaces.
1 Chapter 15 Duplicating Databases and Transporting Data.
Harvard University Oracle Database Administration Session 10 Database Backups.
Backup The flip side of recovery. Types of Failures Transaction failure –Transaction must be aborted System failure –Hardware or software problem resulting.
Harvard University Oracle Database Administration Session 2 System Level.
RMAN Restore and Recovery
Backup and Recovery (2) Oracle 10g CAP364 1 Hebah ElGibreen.
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.
Oracle’s Backup and Recovery Tool
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.
CHAPTER 18 RMAN Backups and Reporting. Introduction to RMAN Backups and Reporting The focus of this chapter is backups of: Datafiles Control files Archived.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
Introduction to Oracle Backup and Recovery
Using RMAN to Perform Recovery
Oracle Recovery Manager (RMAN) 10g : Reloaded
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
Recovery Manager Overview Target Database Recovery Catalog Database Enterprise Manager Recovery Manager (RMAN) Media Options Server Session.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
Basic Oracle Architecture
5 Copyright © 2004, Oracle. All rights reserved. Using Recovery Manager.
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.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
■ Decide on the local database name, and which domain will contain this database. These names are set in the initialization parameters DB_NAME and DB_DOMAIN.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
1Introduction Objectives 1-2 Course Objectives 1-3 Oracle Products 1-4 Relational Database Systems 1-5 How the Data Is Organized 1-6 Integrity Constraints.
Backup & Recovery Backup and Recovery Strategies on Windows Server 2003.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
By Lecturer / Aisha Dawood 1.  You can control the number of dispatcher processes in the instance. Unlike the number of shared servers, the number of.
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.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
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.
A Guide to Oracle9i1 Database Instance startup and shutdown.
Backup and Recovery Overview Supinfo Oracle Lab. 6.
3 Copyright © 2006, Oracle. All rights reserved. Using Recovery Manager.
10 Copyright © Oracle Corporation, All rights reserved. User-Managed Backups.
© 2006 Northgate Information Solutions plc and its associated companies. All rights reserved. Slide 1.
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
12 Copyright © Oracle Corporation, All rights reserved. User-Managed Complete Recovery.
6 Copyright © 2007, Oracle. All rights reserved. Performing User-Managed Backup and Recovery.
2 Copyright © 2007, Oracle. All rights reserved. Configuring for Recoverability.
CERN IT Department CH-1211 Genève 23 Switzerland 1 Active Data Guard Svetozár Kapusta Distributed Database Operations Workshop November.
2 Copyright © 2006, Oracle. All rights reserved. Configuring Recovery Manager.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
C Copyright © 2007, Oracle. All rights reserved. Security New Features.
6 Copyright © Oracle Corporation, All rights reserved. Backup and Recovery Overview.
10 Copyright © 2007, Oracle. All rights reserved. Using RMAN Enhancements.
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
9 Copyright © 2004, Oracle. All rights reserved. Incomplete Recovery.
How To Pass Oracle 1z0-060 Exam In First Attempt?
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Duplicating a Database
Index Index.
Performing Database Recovery
Presentation transcript:

11g The Perfection of a Masterpiece A presentation about new features of 11g you may not have noticed Christo Kutrovsky The Pythian Group 2007 October

Who Am I Joined Pythian in 2003 Became team lead for one of Pythian's service delivery teams in 2006 Notable clients: Palm Coast Data, Freshdirect.com Presented at Collaborate '06, '07, RMOUG Special interest in 11g, RAC, Disk IO performance, and memory Pythian's delegate to the 11g beta, participated at the camp level (two visits)

Who is Pythian Provides turnkey global data architecture and operations teams on a linear-cost-to-effort basis Founded in 1997, headquartered in Ottawa, Canada, with offices in India and Australia Supporting almost 100 clients worldwide and more than 600 production databases Almost 50 production engineers engaged in client service delivery Broad data infrastructure expertise primarily focused on Oracle, Microsoft SQL Server, and MySQL on enterprise hardware

Agenda 11g – an Evolution ASM – the missing pieces RMAN – easier then ever Standby DBs – more usable SQL & PL/SQL – improvements out of the box Security – out of the box

An Evolution A lots of areas have been polished User feedback taken into account DBA feedback taken into account  for the first time?

ASM in 11g

ASM – Rolling updates Can upgrade or patch ASM RAC instances without shutting down all nodes  ALTER SYSTEM START ROLLING MIGRATION TO ; Limited “services” from ASM  only mount/open

ASM – Variable AU The allocation units are variable size, like LMT tablespaces Data sits closer together and can be read in bigger chunks Reduces SGA memory for metadata for large files

ASM - asmcmd “cp” command  including from ASM to OS  including support for remote instances find command  essential for cleanup remap – repairs blocks  for non-raid disks asmcmd -p – current directory

RMAN in 11g

RMAN – configure CONFIGURE COMPRESSION ALGORITHM ‘type’;  zlib – less cpu (faster)  Bzip2 – more compression Archivelog deletion policy  applied/shipped on standby DB_UNIQUE_NAME  configure for another db

RMAN - backup section size  can split big files into “sections” keep until  restore point parameter  can keep only logs needed to make backup consistent

RMAN – repair failure RMAN> list failure;  missing files  corrupted files or blocks RMAN> advise failure; RMAN> repair failure;

RMAN – list failure RMAN> LIST FAILURE; List of Database Failures ========================= Failure ID Priority Status Time Detected Summary HIGH OPEN 23-APR-07 One or more non-system datafiles are missing 101 HIGH OPEN 23-APR-07 Datafile 1: '/disk1/oradata/prod/system01.dbf' contains one or more corrupt blocks

RMAN - duplicate from active database  no need for backup to restore point  for ease of use password file, spfile  for completeness, a single command tablespace  allows for only 1 tablespace to be duplicated

RMAN – duplicate standby Can use “backup controlfile” instead of “standby controlfile”

RMAN - list list failure; list restore point all; list recoverable to restore point;

RMAN - other recover …exclude flashback log backup optimization  committed undo is not backed up  option available for enforcing UNDO_RETENTION backup of read only tablespaces now possible

Standby

Standby – running backups Can have persistent configuration Can have block change tracking Can be associated with production database On the fly compression for archived redo  only for gap resolution – need to verify

Standby – more uses Can be open read only and updated in real time Can be open read write, while still accepting logs from production  ALTER DATABASE CONVERT TO SNAPSHOT STANDBY  ALTER DATABASE CONVERT TO PHYSICAL STANDBY;

Standby – more uses 2 RMAN aware network copies from standby to production  rman target auxiliary  BACKUP AS COPY DATAFILE 2 AUXILIARY FORMAT ‘/prod_disk/file.dbf’

SQL & PL/SQL

Read Only table Read only tables now available  alter table X read only;  alter table X read write; Simple, insignificant, but needed

Invisible indexes alter index SHOULD_I_DROP invisible; alternative to dropping can be used for testing  alter session set optimizer_use_invisible_indexes = true;

Default columns Default columns with not null maintained in data dictionary  takes no space  instant add

DDL can now wait All DDLs can wait  ddl_lock_timeout This is the new default  default set to wait 0 seconds alter session set ddl_lock_timeout=5;  create index on small_but_busy_table…

Virtual Columns create table users ( display_name varchar2(30), name as (upper(display_name)) ); insert into users (display_name) values (‘test’); Amongts other things, IOTs not supported

PL/SQL – sequence in variable declare v number := a_sequence.nextval; begin … end;

Statistics gathering Can gather without applying  DBMS_STATS.SET_SCHEMA_PREFS (‘schema’,’publish’,’false’);  alter session set optimizer_pending_statistics = TRUE;

Statistics gathering Automatically maintains history Can automatically roll back to a point in time  dbms_stats.restore*

Real Time SQL Monitor Much, much better then session_long_ops v$sql_monitor  For queries running for more then 1 sec  Real time v$sql_plan_monitor  includes stats for each step, real time

Security

Security – password complexity Built in password check function  in UTLPWDMG.SQL  allows “standard” functionality Built in default profile for password expiration

Tablespace encryption alter tablespace payroll encrypt; alternative to file system encryption  puts some vendors out of business

DataPump Export/Import

DataPump use function to modify table data  to hide sensitive data compress both metadata and data  requires “advanced compression option” encrypt exports  including passwordless from wallet

The End Thank you, Questions? Visit my blog at