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

Similar documents
Automating Information Lifecycle Management with

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

10/29/2013. Program Agenda. The Database Trifecta: Simplified Management, Less Capacity, Better Performance

Data Warehousing & Big Data at OpenWorld for your smartphone

Insider s Guide on Using ADO with Database In-Memory & Storage-Based Tiering. Andy Rivenes Gregg Christman Oracle Product Management 16 November 2016

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

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

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

Data Warehousing 11g Essentials

Oracle Database 12c: New Features for Administrators (40 hrs.) Prerequisites: Oracle Database 11g: Administration Workshop l

An Oracle White Paper July Oracle Advanced Compression with Oracle Database 12c

An Oracle White Paper February Optimizing Storage for Oracle PeopleSoft Applications

Storage Optimization with Oracle Database 11g

Exadata Implementation Strategy

Oracle Advanced Compression with Oracle Database 12c Release 2 O R A C L E W H I T E P A P E R M A R C H

An Oracle White Paper June Oracle Advanced Compression with Oracle Database 12c

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

Oracle 1Z0-515 Exam Questions & Answers

VLDB. Partitioning Compression

Exadata Implementation Strategy

Automatic Data Optimization with Oracle Database 12c O R A C L E W H I T E P A P E R S E P T E M B E R

Oracle Advanced Compression with Oracle Database 12c Release 2 O R A C L E W H I T E P A P E R S E P T E MB E R

ORACLE DATA SHEET ORACLE PARTITIONING

Oracle 11g Partitioning new features and ILM

Implementing Oracle database12c s Heat Map and Automatic Data Optimization to optimize the database storage cost and performance

Oracle Database In-Memory What s New and What s Coming

Implementing Oracle database12c s Heat Map and Automatic Data Optimization to Optimize the Database Storage Cost and Performance

Oracle Database 12c: New Features for Administrators NEW

Implementing Storage Tiering in Data Warehouse with Oracle Automatic Data Optimization. Kai Yu Oracle Solutions Engineering Dell Inc

Hybrid Columnar Compression (HCC) on Oracle Database 18c O R A C L E W H IT E P A P E R FE B R U A R Y

An Oracle White Paper June Partitioning with Oracle Database 12c

Oracle Enterprise Data Architecture

Implementing Oracle database12c s Heat Map and Automatic Data Optimization to optimize the database storage cost and performance

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

So you think you know everything about Partitioning?

Oracle 12C Administration Course Content:

Oracle Database 12c: New Features For Administrators

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

Implementing Oracle Database 12c s Heat Map and Automatic Data Optimization to optimize the database storage cost and performance

Information Lifecycle Management for Business Data. An Oracle White Paper September 2005

Oracle Database In-Memory

Oracle Database 12c: New Features for Administrators Ed 2 NEW

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

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

Oracle Partitioning in Oracle Database 12c Release 2

Oracle Database 11g: New Features for Administrators DBA Release 2

Was ist dran an einer spezialisierten Data Warehousing platform?

Oracle Database 12c R1: New Features for Administrators Ed 2

Evolving To The Big Data Warehouse

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

ORACLE 11g R2 New Features

<Insert Picture Here> Controlling resources in an Exadata environment

Oracle Database 18c and Autonomous Database

An Oracle White Paper June Exadata Hybrid Columnar Compression (EHCC)

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. reserved. Insert Information Protection Policy Classification from Slide 8

Database In-Memory: A Deep Dive and a Future Preview

Oracle12c Release 1 New Features for Administrators (5 Days)

Oracle Database In-Memory

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

Oracle Database 11g: New Features for Administrators Release 2

Implementing Information Lifecycle Management (ILM) with Oracle Database 18c O R A C L E W H I T E P A P E R F E B R U A R Y

Oracle Exadata X7. Uwe Kirchhoff Oracle ACS - Delivery Senior Principal Service Delivery Engineer

1 Dulcian, Inc., 2001 All rights reserved. Oracle9i Data Warehouse Review. Agenda

D77758GC20 - Oracle Database 12c R1: New Features for Administrators Ed 2

Oracle Exadata: The World s Fastest Database Machine

Table Compression in Oracle9i Release2. An Oracle White Paper May 2002

An Oracle White Paper October Advanced Compression with Oracle Database 11g

An Oracle White Paper April 2010

Focus On: Oracle Database 11g Release 2

Oracle CoreTech Update OASC Opening 17. November 2014

Private Cloud Database Consolidation Name, Title

Partitioning in Oracle 12 c. Bijaya K Adient

Oracle Database 11g: Administer a Data Warehouse

In-Memory Data Management Jens Krueger

Oracle Database 10g: New Features for Administrators Release 2

<Insert Picture Here> Introducing Exadata X3

OpenWorld 2015 Oracle Par22oning

Recent Innovations in Data Storage Technologies Dr Roger MacNicol Software Architect

Data Vault Partitioning Strategies WHITE PAPER

An Oracle White Paper August Advanced Compression Option (ACO) with Oracle Database 11g

<Insert Picture Here> South Fla Oracle Users Group Oracle/Sun Exadata Database Machine June 3, 2010

Key to A Successful Exadata POC

1Z Upgrade to Oracle Database 12cm Exam Summary Syllabus Questions

Oracle 1Z Upgrade to Oracle Database 12c. Download Full Version :

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

E-Guide DATABASE DESIGN HAS EVERYTHING TO DO WITH PERFORMANCE

Oracle 1Z0-053 Exam Questions & Answers

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

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

What is Real Application Testing?

5 Fundamental Strategies for Building a Data-centered Data Center

1Z Oracle Exadata X5 Administration Exam Summary Syllabus Questions

Active Archive and the State of the Industry

Memory Without Bounds: Policy- Based Automation in In-Memory Column Store Content

Be a VDI hero with Nutanix

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

Oracle Advanced Compression Proof-of-Concept (POC) Insights and Best Practices

Oracle: From Client Server to the Grid and beyond

<Insert Picture Here> MySQL Web Reference Architectures Building Massively Scalable Web Infrastructure

ORACLE 12C NEW FEATURE. A Resource Guide NOV 1, 2016 TECHGOEASY.COM

Transcription:

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

Oracle Database 2c Heat Map, Automatic Data Optimization & In-Database Archiving Platform Technology Solutions Oracle Database Server Technologies

Growth in Data Diversity and Usage,8 Exabytes of Data in 2, 2x Growth by 22 Today s Drivers Emerging Growth Factors Enterprise 45% per year growth in database data Cloud 8% of new applications and their data Regulation 3 exabytes in archives by 25 Mobile # Internet access device in 23 Big Data Large customers top 5PB Social Business $3B/year in commerce by 25 4 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Managing Storage Challenges Manage more data without incurring additional cost Compress data, without impacting performance Tier and compress data based on usage 5 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Value at Risk Information Lifecycle Management Managing Data Over its Lifetime High Value Medium Value Low Value $$ $ $$$ Total Cost of Ownership (TCO) The policies, processes, practices, and tools used to align the business value of information with the most appropriate and cost effective IT infrastructure from the time information is conceived through its final disposition. Storage Networking Industry Association (SNIA) Data Management Forum 6 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization Optimize data storage based on usage Smart Compression Heat Map Automated Tiering Network Compression In Database Archiving 7 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Data Compression Reduce storage footprint, read compressed data faster Hot Data 3X Advanced Row Compression Warm Data X Columnar Query Compression Archive Data 5X Columnar Archive Compression 8 Copyright 23, 22, Oracle and/or its affiliates. All rights reserved. Confidential Oracle Restricted

Oracle Advanced Compression Transparent, Smaller, Faster % Application Transparent End-to-end Cost/Performance Benefits across CPU, DRAM, Flash, Disk & Network Runs Faster: OLTP Apps (Transactional & Analytics) & DW Reduces Database Footprint CapEx & OpEx savings Increases Cloud ROI through Database Footprint reduction in DRAM Memory 9 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Oracle Advanced Compression Oracle Advanced Compression New Features, New Feature Names Oracle Database g OLTP Compression Secure Files Compression Secure Files De-duplication Hybrid Columnar Compression NEW NEW NEW Oracle Database 2c Advanced Row Compression Advanced LOB Compression Advanced LOB Deduplication Hybrid Columnar Compression Heat Map (Object and Row Level) Automatic Data Optimization Temporal (Advancements) Copyright 23, Oracle and/or its affiliates. All rights reserved.

Compression New features in Oracle Database 2c Logminer and GoldenGate support Capture side changes completed in. logminer Apply side changes in.2 Faster queries on advanced row (OLTP) compression Wide tables (>255 columns) for advanced row (OLTP) compression Network Compression Copyright 23, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization Simplifying the life cycle of data An in memory heat map tracks access to segments and blocks Data is periodically written to disk Information is accessible by views or stored procedures Po licy Uses can attach policies to tables to compress or tier data based on access to data Tables or Partitions can be moved between compression levels whilst data is still being accessed 2 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Heat Map What it tracks Active Frequent Access Occasional Access Dormant HOT Actively updated Infrequently updated, Frequently Queried Infrequent access for query and updates Long term analytics & compliance COLD Heat Map tracking Database level Heat Map shows which tables and partitions are being used Block level Heat Map shows last modification at the block level Comprehensive Segment level shows both reads and writes Distinguishes index lookups from full scans Automatically excludes stats gathering, DDLs or table redefinitions High Performance Object level at no cost Block level < 5% cost 3 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Heat Map How to enable Active Enabling Heat Map SQL> alter system set heat_map = ON scope=both; Frequent Access Occasional Access Disabling Heat Map SQL> alter system set heat_map = OFF scope=both; Dormant 4 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Understanding Data Usage Patterns Database heat map 5 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Understanding Data Usage Patterns Database heat map 6 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Heat Map for Tables and Partitions segment level tracking ORDER S 7 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Heat Map for Blocks row level tracking ORDER S 8 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Viewing Heat Map Data Data Dictionary Views V$HEAT_MAP_SEGMENTS DBA_HEAT_MAP_SEGMENTS OBJECT_NAME SEGMENT_READ_TIME SEGMENT_WRITE_TIME FULL_SCAN LOOKUP_SCAN -------------------- ---------------------- ---------------------- ---------------------- ---------------------- DEPT 2/MAR/23 :9:3 9/MAR/23 :9:3 2/MAR/23 4:9:3 EMP 2/MAR/23 22::36 2/MAR/23 22:9:3 2/MAR/23 9:49:47 BONUS 2/MAR/23 :9:3 2/MAR/23 :9:3 SALGRADE 2/MAR/23 :9:3 EMPLOYEE 8/FEB/23 9:33:4 2/MAR/23 9:49:47 8/FEB/23 9:33:4 ORDERS 2/MAR/23 5:: 9/MAR/23 ::2 9 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Heat Map Enterprise Manager 2 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization Usage Based Data Compression Hot Data Warm Data Archive Data 3X Advanced Row Compression X Columnar Query Compression 5X Columnar Archive Compression 2 Copyright 23, 22, Oracle and/or its affiliates. All rights reserved. Confidential Oracle Restricted

Automatic Data Optimization Add compression and tiering policies to tables Po licy Po licy 2 POLICY : Compress Partitions with row compression if they haven t been modified in 3 days POLICY 2: Compress Partitions with columnar compression if they haven t been modified in 8 days Oldest Data Most Recent Data 22 Copyright 23, 22, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization A heat map tracks the activity of segments and blocks Po licy Po licy 2 Oldest Data Most Recent Data 23 Copyright 23, 22, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization Policies are automatically applied to tables Po licy Po licy 2 Oldest Data Most Recent Data 24 Copyright 23, 22, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization Policies are automatically applied to tables Po licy Po licy 2 Oldest Data Most Recent Data 25 Copyright 23, 22, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization Policies are automatically applied to tables Po licy Po licy 2 Oldest Data Most Recent Data 26 Copyright 23, 22, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization Reduce storage footprint, read compressed data faster Po licy Po licy 2 Oldest Data Most Recent Data 27 Copyright 23, 22, Oracle and/or its affiliates. All rights reserved. Confidential Oracle Restricted

Automatic Data Optimization Automatically tier data to lower cost storage Po licy Po licy 2 Po licy 3 Oldest Data POLICY 3: If the tablespace is nearly full compress the oldest partition with archive Most compression Recent Data and move it to Tier 2 Storage 28 Copyright 23, 22, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization OLTP Reporting Compliance & Reporting This Quarter This Year Prior Years Row Store for fast OLTP x compressed Compressed Column Store for fast analytics 5x compressed Archive Compressed Column Store for max compression As data cools down, Advanced Data Optimization automatically converts data to columnar compressed Online 29 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Up to 5x Smaller Footprint & Faster Queries Automatic Data Optimization for OLTP Both Columnar & Archive Compression now complement Advanced Row Compression Best Practice: Step : Use Advanced Row Compression for entire DB and then Step 2: ADO automatically converts into columnar compressed once the updates cool down, and is used mainly for reporting => Query speed of Columnar & x smaller footprint Step 3: ADO automatically converts into archive compressed once data cools down further and is no longer frequently queried => 5-5x smaller footprint 3 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Optimizes Data Based on Heat Map Automatic Data Optimization for DW Data generally comes in via Bulk Loading Workload dominated by queries, even during loading Step : Bulk Load directly into Columnar Compressed x smaller footprint, Query speed of Columnar Step 2: ADO automatically converts to Archive Compressed and moves to Lower Cost Storage once its queried infrequently Data remains online, with 5-5x smaller footprint, & lower storage cost 3 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Fast, Flexible Loads & Queries on Columnar Automatic Data Optimization Mixed Use Fastest Load with uncompressed & Fastest Queries with columnar Mixed workloads often use Java app or 3rd party tools to insert and update data that does not use Bulk Loads, so cannot use Columnar Step : Load into uncompressed, conventional inserts & updates Fast loading, & flexibility of using a regular OLTP app for loading Step 2: ADO moves to Row Compressed or Columnar Compressed or Low Cost Storage once updates cool down Faster Queries, 3-x smaller footprint 32 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Powerful Policy Specification Automatic Data Optimization Declarative Policy Specification: Condition Action alter table orders ilm add policy row store compress advanced row after 3 days of no modification; Conditions are time period after creation, no access or no modification of data Actions can be Compression Tiering or Tablespace Tiering Policies are inherited from the tablespace or table New tables inherit from tablespace; can also be applied to existing tables New partitions (including interval partitions) inherit from table 33 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Simple Declarative SQL extension Automatic Data Optimization ALTER TABLE orders Active Frequent Access Occasional Access Dormant OLTP Compressed (2-4x) Affects ONLY Candidate Rows Cached in DRAM & FLASH Warehouse Compressed (x) High Performance Storage Warehouse Compressed (x) Low Cost Storage Archive Compressed (5-5X) Archival Storage ILM add row store compress advanced row after 2 days of no update compress for query low after week of no update tier to SATA Tablespace compress for archive high after 6 months no access 34 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Scheduled Policy Execution Automatic Data Optimization Immediate and background policy execution Row level policies are executed periodically (Users can configure the frequency of execution) Segment level policies are executed in maintenance windows Policies can be extended to incorporate Business Rules Users can add custom conditions to control placement (e.g. 3 months after the ship date of an order) 35 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization Optimized Back up OLTP Reporting Compliance & Reporting Read / Write Tablespace x compressed Read-mostly data is moved to a READONLY Tablespace 5x compressed READONLY TBS As data cools down, Automatic Data Optimization automatically moves it to a READONLY TBS, it s backed up only once after that 36 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization Optimized Backups with Automated READONLY data movement ORDER S. As tables grow in size ILM policies compress data 2. Tablespace containing partitions reaches ILM tiering threshold 3. Partitions are moved to new read only tablespace on lower spec disk group 37 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization Optimized Backups with Automated READONLY data movement SQL> ALTER TABLE ORDERS ILM ADD POLICY TIER TO DATA2 READ ONLY AFTER 8 DAYS OF NO MODIFICATION 38 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization Data Classification Automatic Detection Automatic Action WHAT IF and WHEN Then DO Scope Tablespace level Group level Segment level: Table/Partition/ Subpartition Clustered table Row level: Table If conditions met Which operation to track? Creation Low access No data modification Validity expired When? After 3 days After year Tablespace full Then Actions Compression Types: OLTP Move to other storage Both compress + move 39 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization Why Oracle? Oracle Storage Vendors Disk Saving Extensive Partial Performance Speeds Queries Adds Overhead Integration with Database Deep integration excludes maintenance tasks includes memory access Integrated with RMAN and Active Data Guard Zero integration maintenance tasks considered real access 4 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Automatic Data Optimization Summary Automatic Data Optimization Active Recently inserted, actively updated OLTP compressed (2-4x) Cached in DRAM & Flash Frequent Access Infrequent updates, frequent reports High compression (x) High performance storage Occasional Access Infrequent access High compression (x) Low cost storage Dormant Retained for long-term analytics and compliance with corporate policies Archive compressed (5-5x) Archival storage (database or tape) 4 Copyright 23, Oracle and/or its affiliates. All rights reserved.

In-Database Archiving Speed up upgrade and reports Applications typically work with recent data But often need to retain data for 5 to years In-Database Archiving provides the ability to archive infrequently used data within the database Archived data is invisible by default Works with partition pruning and Exadata storage indexes to eliminate I/O for archived data Archived data remains online for SQL Query & DMLs 42 Copyright 23, Oracle and/or its affiliates. All rights reserved.

In-Database Archiving How to enable Easily enabled for a table: alter table row archival Application can marks rows as archived: update SALES_ORDERS set ORA_ARCHIVE_STATE = Sessions can set default visibility to see all data or active data only (default) alter session set row archival visibility = [all active] 43 Copyright 23, Oracle and/or its affiliates. All rights reserved.

In-Database Archiving Why Oracle? Application Knowledge Cost Oracle Required No cost for functionality (included in EE) Others Supply Knowledge Packs for various Oracle Apps. Supports custom rules. Consultant cost usually required. Typical deal $$$ Schema Changes Minimal Required (typically shadow table) Operational Impact Minimal Access to archive data requires special support, app dev effort 44 Copyright 23, Oracle and/or its affiliates. All rights reserved.

In-Database Archiving Vs Flashback Archive Flashback Data Archive provides the ability to track and store transactional changes to a table over its lifetime. A Flashback Data Archive is useful for compliance with record stage policies and audit reports. It archives previous states of rows, the current state of a record is always visible in the table. In-Database Archiving only keeps the current state of a record but allows the application to hide infrequently used data within the database. 45 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Heat Map, Automatic Data Optimization and In-Database Archiving Summary Heat Map Automatically tracks access Database-aware: maintenance jobs, backups, etc don t affect heat map Automatic Data Optimization Declarative easy-to-use syntax to define data compression & movement policies Extensible with business-specific logic In-Database Archiving Automatically hide archive data from normal users Keep archive data accessible, minimize impact on storage and performance 46 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Oracle Database 2c Partitioning

Oracle Partitioning in Oracle Database 2c Over a decade of development and better than ever before Oracle 8. Oracle 8i Core functionality Performance Manageability Range partitioning Global Range indexes Hash partitioning Composite partitioning (Range-Hash) Static partition pruning Partition-wise joins Dynamic partition pruning Basic maintenance: ADD, DROP, EXCHANGE Expanded maintenance: MERGE Oracle 9i List partitioning Global index maintenance Oracle 9i R2 Range-List partitioning Fast partition SPLIT Oracle g Global Hash indexes Local Index maintenance Oracle g R2 M partitions per table Multi-dimensional pruning Fast DROP TABLE Oracle g Oracle g R2 Virtual column based partitioning More composite choices REF partitioning Hash-Hash partitioning Expanded REF partitioning AND pruning Oracle 2c Interval-REF partitioning - Partition Maintenance on multiple partitions - Partial local and global indexes - Interval partitioning - Partition Advisor - Incremental statistics management Multi-branch execution - Asynchronous global index maintenance for DROP/TRUNCATE - Online partition MOVE - Cascading TRUNCATE/EXCHANGE 48 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Oracle Partitioning in Oracle Database 2c Make a robust and successful feature even better Improved business modeling Interval-Reference Partitioning Advanced partition maintenance for Interval-Reference Partitioning More efficient data maintenance Enhanced partition maintenance operations Asynchronous global index maintenance Partial indexing 49 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Partitioning Improvements Asynchronous Global Index Maintenance for DROP and TRUNCATE partition Cascade Functionality for TRUCATE and EXCHANGE partition Multiple partition operations in a single DDL Online move of a partition (without DBMS_REDEFINITION) Interval + Reference partitioning 5 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Improved Business Modeling Interval-Reference Partitioning New partitions are automatically created when new data arrives All child tables will be automatically maintained Combination of two successful partitioning strategies for better business modeling INSERT INTO orders VALUES ( -APRIL-22,... ); 5 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Improved Business Modeling Interval-Reference Partitioning 52 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Improved Business Modeling Cascading TRUNCATE and EXCHANGE PARTITION Cascading TRUNCATE and EXCHANGE for improved business continuity Single atomic transaction preserves data integrity Simplified and less error prone code development ALTER TABLE orders TRUNCATE PARTITION APRIL_22 CASCADE; 53 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Improved Business Modeling Cascading TRUNCATE PARTITION Parent Parent Child Child2 Child Child2 Grandchild Grandchild 2 Grandchild3 Grandchild Grandchild 2 Grandchild3 Great Grandchild Great Grandchild Proper bottom-up processing required Seven individual truncate operations One truncate operation 54 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Improved Business Modeling Cascading EXCHANGE PARTITION Parent Child Child2 Parent Grandchild Grandchild 2 Grandchild3 Child Great Grandchild Grandchild Exchange (clear) out of target bottom-up Exchange (populate) into target top-down 55 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Improved Business Modeling Cascading EXCHANGE PARTITION Parent Parent Child Child2 Parent Child Child2 Parent Grandchild Grandchild 2 Grandchild3 Child Grandchild Grandchild 2 Grandchild3 Child Great Grandchild Grandchild Great Grandchild Grandchild Exchange (clear) out of target bottom-up Exchange (populate) into target top-down Exchange complete hierarchy tree One exchange operation 56 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Partitioning Improved business modeling Interval-Reference Partitioning Advanced partition maintenance for Interval-Reference Partitioning More efficient data maintenance Enhanced partition maintenance operations Asynchronous global index maintenance Partial indexing 57 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Enhanced Partition Maintenance Operations Online Partition Move Transparent MOVE PARTITION ONLINE operation Concurrent DML and Query Index maintenance for local and global indexes 58 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Enhanced Partition Maintenance Operations Maintenance on Multiple Partitions Partition Maintenance on multiple partitions in a single operation Full parallelism Transparent maintenance of local and global indexes ALTER TABLE orders MERGE PARTITIONS Jan22, Feb22, Mar22 INTO PARTITION Quarter_22 COMPRESS FOR ARCHIVE HIGH; 59 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Enhanced Partition Maintenance Operations Asynchronous Global Index Maintenance DROP and TRUNCATE complete immediately We maintain a list of invalid data object ids and ignore those entries in the index from then on Automatic scheduler job PMO_DEFERRED_GIDX_MAINT_JOB will run to clean up all global indexes Can be run manually Alter index [partition] CLEANUP is another approach DROP and TRUNCATE become fast, metadata-only operations Delayed Global index maintenance 6 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Enhanced Partition Maintenance Operations Asynchronous Global Index Maintenance.2 2. 6 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Enhanced Indexing with Oracle Partitioning Indexing prior to Oracle Database 2c Local indexes Non-partitioned or partitioned global indexes Usable or unusable index segments Non-persistent status of index, no relation to table 62 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Enhanced Indexing with Oracle Partitioning Indexing with Oracle Database 2c Local indexes Non-partitioned or partitioned global indexes Usable or unusable index segments Non-persistent status of index, no relation to table Partial local and global indexes Partial indexing introduces table and [sub]partition level metadata Leverages usable/unusable state for local partitioned indexes Policy for partial indexing can be overwritten 63 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Enhanced Indexing with Oracle Partitioning Partial Local and Global Indexes Global Non-Partitioned Index Partial indexes span only some partitions Full Indexing Global Partitioned Index Applicable to local and global indexes Complementary to full indexing Enhanced business modeling Indexing on Partial Indexes Table Partition Local Partitioned Index Table Partition Table Partition Partial Local Partitioned Index Partial Global Partitioned Index Indexing off No Indexing Partial Global Index 64 Copyright 23, Oracle and/or its affiliates. All rights reserved.

Enhanced Indexing with Oracle Partitioning Partial Local and Global Indexes 65 Copyright 23, Oracle and/or its affiliates. All rights reserved.

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

Graphic Section Divider 67 Copyright 23, Oracle and/or its affiliates. All rights reserved.