Read-only Transportable Tablespaces 11g <> 12c Bodo von Neuhaus

Similar documents
Migrate +230 TB databases in less than 1 day

Roy F Swonger Vice President Database Upgrades & Utilities Oracle Corporation

Hardware and Software Engineered to Work Together

Oracle DB in der Oracle Cloud Überblick und Praxis

Safe Harbor Statement

Oracle Database 12c. Boeblingen Bootcamp February 2014 SIG Washington DC April 2014

Developing Microsoft Azure Solutions MOC 20532

Search Engines Chapter 2 Architecture Felix Naumann

Neuigkeiten aus dem Oracle-Cloud-Portfolio - Fokus auf Infrastructure-as-a-Service

Installing and Configuring Windows 10 MOC

Tablespace Usage By Schema In Oracle 11g Rac

What s New with Oracle Data Pump in Oracle Database 12c. Dean Gagne Consulting Member of Technical Staff

Designing Database Solutions for Microsoft SQL Server 2012 MOC 20465

WebLogic Server für Dummies. Steffen Miller Principal Sales Consultant, Oracle Deutschland

Moving Databases to Oracle Cloud: Performance Best Practices

OVM-Setup DOAG,

Oracle 10g Move Table To Another Schema

<Insert Picture Here> Exadata MAA Best Practices Series Session 6: Migrating to Exadata

Oracle 10g R2 Data Guard. Neue Funktionalitäten

1. Übungsblatt. Vorlesung Embedded System Security SS 2017 Trusted Computing Konzepte. Beispiellösung

Oliver Basarke

Exadata Implementation Strategy

Why 12c How and why upgrade now

Ulrich Stärk

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Under the Hood of Oracle Database Cloud Service for Oracle DBAs 2017 ANZ Webinar Tour by

CHAPTER. Overview of Migration, Transformation, and Upgrade Methodologies

Exadata Implementation Strategy

Reducing Downtime. Using incremental backups and x- platform TTS Martin Bach, Enkitec

Continuous Delivery. für Java Anwendungen. Axel Fontaine Software Development Expert

Turn on the Turbo-Boost! (Speed up your LOB Migration)

Softwareverteilung HotPotatoes

Oracle Exadata Implementation Strategy HHow to Implement Exadata In-house

TI-No. 4002TI05.doc PAGE NO. : 1/1. Settings after Installation of the Firmware Version 74

Hitchhiker's Guide. to upgrade to Oracle Database 12c. Mike Dietrich Senior Principal Technologist Database Upgrades Oracle Corporation

ARROW University 2017

The Speaker. Alain Fuhrer, born in Bachelor in computer science. Working with Oracle databases for about 12 years now

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Oracle Database 18c and Autonomous Database

Lizenzkonforme Nutzung? Wie kann ich das selber prüfen? DOAG Konferenz 2017

SEO Editorial Guidelines , Aperto

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

Neues von Oracle Gut zu wissen

An Oracle White Paper September Methods for Upgrading to Oracle Database 11g Release 2

<Insert Picture Here> Exadata MAA Best Practices Series Session 1: E-Business Suite on Exadata

Oracle Corporation

Seminar Datenbanksysteme

Lotus Connections Architektur und Installation IBM Corporation

Oracle Database 12c: New Features for Administrators Duration: 5 Days

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13

Oracle Database 11g for Experienced 9i Database Administrators

Steps Create Physical Standby Database Oracle 9i

From Dataguard to Sharding High Availibility in the Oracle DB

An Oracle White Paper September Upgrade Methods for Upgrading to Oracle Database 11g Release 2

Donaubauer CRM to Online - EXE

RMAN: Cross-Platform Backup & Restore Oracle Database 12c for SAP

Oracle made it easy: Cloud DB Vergleich

Re-platforming the E-Business Suite Database

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

Technical White Paper August Migrating to Oracle 11g Using Data Replicator Software with Transportable Tablespaces

Key to A Successful Exadata POC

SQL Server What s New with BI & Friends? Sascha Götz Karlsruhe,

Oracle Database 10g: New Features for Administrators Release 2

PDBs in der Praxis Experiences Using PDBs. Ernst Leber Nürnberg 15. November 2016

BUS1216 The Journey to Oracle Exadata and Autonomous Datawarehouse Cloud. 1

What is new on 12c For Backup and Recovery. By: Francisco Munoz Alvarez

Consolidate and Prepare for Cloud Efficiencies Oracle Database 12c Oracle Multitenant Option

Ibm Z/os Dfsmshsm Primer international technical support organization ibm z/os dfsmshsm primer september 2015 sg

W3C XG USDL Kickoff SYSTEMATIC THOUGHT LEADERSHIP FOR INNOVATIVE BUSINESS. Dr. Kay Kadner, SAP AG Dr. Daniel Oberle, SAP AG

CHAPTER. Oracle Database 11g Architecture Options

An Oracle White Paper July Methods for Downgrading from Oracle Database 11g Release 2

Oracle EXAM - 1Z Oracle Exadata Database Machine Administration, Software Release 11.x Exam. Buy Full Product

AUTOMATISIERUNG DER INFRASTRUKTUR

Testing of mobile solutions: Old wine in new skins? SME, 4 Offices 250 Employees, 25 Mio. Euro revenue

Oracle Database 12c: New Features for Administrators NEW

Oracle Advanced Compression: Reduce Storage, Reduce Costs, Increase Performance Bill Hodak Principal Product Manager

Migrating Your Database to Oracle Cloud

USB. USB Sticks in Design und Qualität

Anleitung zur Schnellinstallation TEW-684UB 1.01

<Insert Picture Here> Controlling resources in an Exadata environment

Oracle DBA Course Content

Optimiertes Laden in die F-Fakten-Tabelle SAP Business Warehouse. Jörn Bartels Architect Server Technologies SAP Development 30.

Incrementally Updating Backups Tips and Tricks

Oracle Database 12c R2: Managing Multitenant Architecture Ed 2

Übersicht Port-Liste. Workstation. Liste der in SeMSy III verwendeten Netzwerk-Ports

Expdp Multiple Job Modes Requested Schema And Tables

High Availability Infrastructure for Cloud Computing

Deploying & Managing Windows 10 Using Enterprise Services

Installation, Storage and Compute with Windows Server Online-Training Examen 740. Ausbildungsinhalte. ITKservice

AusweisApp2 Manual Release

Arrow Citrix Monthly. Update. D i e t m a r K o p f B u s i n e s s D e v e l o p m e n t M a n a g e r -

Das Seminar kann zur Vorbereitung auf die Zertifizierung als Microsoft Certified Solutions Developer (MCSD): SharePoint Applications genutzt werden.

BANDSAWS. CNC-controlled machine for sharpening tooth faces and tooth tops on carbide-tipped bandsaw blades CB 200

Ubuntu Server Install Manual Partition Lts

Oracle Database 12C: Advanced Administration - 1Z0-063

An Insider s Guide to Oracle Autonomous Transaction Processing

Download google chrome version 44 Google Chrome Google

SIL Declaration of Conformity

Oracle Database 11g: New Features for Administrators Release 2

Oracle GoldenGate 12.3

Transcription:

Read-only Transportable Tablespaces 11g <> 12c Bodo von Neuhaus Leitender Systemberater ORACLE Deutschland B.V. & Co. KG

Agenda 1 2 3 Transportable Tablespaces Allgemein Unterschiede 11g zu 12c Demo

Agenda 1 2 3 Transportable Tablespaces Allgemein Unterschiede 11g zu 12c Demo

Datentransport bei Oracle Möglichkeiten SQL über DB-Link Data Pump Spool / SQL*Loader Transportable Tablespace Transportable Database Extraktion aus Backup Data Guard Standby Quelle Golden Gate / Streams / Advanced Queuing Ziel

Konzept Transportable Tablespaces expdp "'"sys/sys as sysdba"'" TRANSPORT_TABLESPACES=TS1,TS2 Self Contained? Read Only 75TB 75TB Upgrade, Migrate & Consolidate to Oracle Database 12.2 6

Konzept Transportable Tablespaces impdp "'"sys/sys as sysdba"'" TRANSPORT_DATAFILES= TTS Funktionalität verfügbar seit Oracle 8i Cross Plattform Support seit Oracle 10g Self Contained? Read Only Read Write 75TB 75TB Upgrade, Migrate & Consolidate to Oracle Database 12.2 7

Transportable Tablespaces Varianten Vermeidung von physikalischen Kopien Benutze eine Physical Standby als Transport Quelle PHYS STANDBY TTS Mount von zwei Seiten gleichzeitig Oracle 11g: TSP kann von zwei DBen ge-mounted werden zur gleichen Zeit, solange dieser auf Read-only gesetzt ist Oracle 12c: Dies hat sich geändert - Read-only muss auf OS level realisiert werden! Nur mit original TTS, funktioniert nicht mit Full Transportable Voraussetzungen: Timezone Versionen müssen identisch sein Sonst wird Data Pump den Meta Import blocken STANDBY TTS Upgrade, Migrate & Consolidate to Oracle Database 12.2 8

Anwendungsbeispiel (11g) Täglicher Transport von Daten aus der OLTP Produktion in eine Auswertungsdatenbank 1. TSP Read-only setzen 2. Transportable Tablespace (read-only) 3. Auslesen der Daten aus dem TSP (read-only) 4. Abhängen bzw. Entfernen des TSP aus der Auswertungsumgebung 5. TSP Read-write setzen OLTP Produktiv Auswertung 1 5 2 3 4 Upgrade, Migrate & Consolidate to Oracle Database 12.2 9

Agenda 1 2 3 Transportable Tablespaces Allgemein Unterschiede 11g zu 12c Demo

Transportable TSP read-only 11g <> 12c Upgrade Blog Eintrag Transportable Tablespaces and READ ONLY in Oracle Database 12c What Changed? Starting in 12.1, data pump sets tablespaces read write during the import phase of a transportable tablespace migration. This means that a tablespace cannot be hooked into two different databases at the same time using transportable tablespaces. Oracle Confidential

Transportable TSP read-only 11g <> 12c Upgrade Blog Eintrag Transportable Tablespaces and READ ONLY in Oracle Database 12c Why Was This Change Made? First, as databases have grown, we encountered performance hits when dealing with tablespaces that contain many partitions or subpartitions for either tables or indexes. The reason for this (apologies if this gets too deep) is that we try to ensure that we can reclaim free space in cases where a tablespace is being moved, but where not all tables within that tablespace are part of the operation. For example, you could move a tablespace data file which includes partitions from 5 tables, but you may be interested in only 2 of those tables. The segments used by the other 3 tables would be dead space that we should reclaim. Prior to 12c, we would reclaim this space by first recording all the segments being exported during the export phase, and then those imported during the import phase. This allowed us to free up all the space for segments that were not imported. This worked, but as bigfile tablespaces grew into the tens of terabytes, performance really suffered. We ran into cases where all that accounting for segments took literally days. In 12c we implemented a different technique where we no longer record the segments on export (this is available as a backport to 11g as well), and then upon import we recompute the bitmap for the tablespace. Recomputing the bitmap means calling DBMS_SPACE_ADMIN.TABLESPACE_REBUILD_BITMAPS, and generally takes a matter of seconds compared to the previous method which could take hours. Therefore, this change is a very large performance improvement for both export and import of transportable tablespaces when there are large numbers of data segments involved. Oracle Confidential

Transportable TSP read-only 11g <> 12c Upgrade Blog Eintrag Transportable Tablespaces and READ ONLY in Oracle Database 12c Why Was This Change Made? The second reason for this change was to enable transportable tablespaces to handle import of a tablespace into a database that used a different version of Timestamp with Timezone (TSTZ) data. Prior to 12c, there were many restrictions on moving TSTZ data between databases. We have progressively been able to relax and eliminate these restrictions over time. MOS Note 2094476.1 Workaround: Data File auf OS-Level read-only setzen Oracle Confidential

Transportable TSP read-only 11g <> 12c MOS Note 2094476.1 Workaround: Data File auf OS-Level read-only setzen Oracle Confidential

Agenda 1 2 3 Transportable Tablespaces Allgemein Unterschiede 11g zu 12c Demo

Testen des Workaround in der Oracle Cloud Auf Basis eines Exadata Cloud Service Provisionierung von 2 Datenbanken in der Exadata Cloud Workaround aus MOS Note 2094476.1 testen Oracle Confidential

Testen des Workaround in der Oracle Cloud Auf Basis eines Exadata Cloud Service Provisionierung von 2 Datenbanken in der Exadata Cloud Vorbereitungen Überprüfung der ASM Instanz Datenbank Files Dateisystem auf OS-Ebene / ACFS Bereitstellung der Exadata Cloud Datenbank Service Instanzen Überprüfung nach der Provisionierung Dateisystem auf OS-Ebene / ACFS Datenbank Files Tablespace Encryption Oracle Confidential

Testen des Workaround in der Oracle Cloud Auf Basis eines Exadata Cloud Service Workaround aus MOS Note 2094476.1 testen Erstellen von Testdaten in der neuen DB Export durchführen Datafile auf ASM-Ebene auf read only setzen Import in der Zieldatenbank durchführen Erneuter Zugriff aus der Quelldatenbank Oracle Confidential