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

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

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

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

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

Optimize OLAP & Business Analytics Performance with Oracle 12c In-Memory Database Option

Optimize Oracle Business Intelligence Analytics with Oracle 12c In-Memory Database option

Optimize Oracle Business Intelligence Analytics with Oracle 12c In-Memory Database Option. Kai Yu Oracle Solutions Engineering Dell Inc

Automating Information Lifecycle Management with

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

Design and Architecture of Dell Acceleration Appliances for Database (DAAD): A Practical Approach with High Availability Guaranteed

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

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

Leveraging Oracle Database In- Memory to accelerate Oracle Business Intelligence Analytics Applications

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

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

Interface Trends for the Enterprise I/O Highway

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

Configuring and Managing a Private Cloud with Oracle Enterprise Manager

NAS for Server Virtualization Dennis Chapman Senior Technical Director NetApp

Agenda. AWS Database Services Traditional vs AWS Data services model Amazon RDS Redshift DynamoDB ElastiCache

Increasing Performance of Existing Oracle RAC up to 10X

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

Oracle Exadata: Strategy and Roadmap

Storage Optimization with Oracle Database 11g

High Availability Infrastructure for Cloud Computing

Session 201-B: Accelerating Enterprise Applications with Flash Memory

RAC Performance Monitoring and Diagnosis using Oracle Enterprise Manager. Kai Yu Senior System Engineer Dell Oracle Solutions Engineering

Under the Hood of Oracle Database Appliance. Alex Gorbachev

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

The Oracle Database Appliance I/O and Performance Architecture

EMC VFCache. Performance. Intelligence. Protection. #VFCache. Copyright 2012 EMC Corporation. All rights reserved.

Upgrade to Microsoft SQL Server 2016 with Dell EMC Infrastructure

5 Fundamental Strategies for Building a Data-centered Data Center

Exadata Implementation Strategy

Top Trends in DBMS & DW

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

Achieving Memory Level Performance: Secrets Beyond Shared Flash

Evaluation Report: Improving SQL Server Database Performance with Dot Hill AssuredSAN 4824 Flash Upgrades

Optimize OLAP & Business Analytics Performance with Oracle 12c In-Memory Database Option

Deploy a High-Performance Database Solution: Cisco UCS B420 M4 Blade Server with Fusion iomemory PX600 Using Oracle Database 12c

Microsoft SharePoint Server 2010 on Dell Systems

The Benefits of Solid State in Enterprise Storage Systems. David Dale, NetApp

Exadata X3 in action: Measuring Smart Scan efficiency with AWR. Franck Pachot Senior Consultant

Oracle Exadata. Smart Database Platforms - Dramatic Performance and Cost Advantages. Juan Loaiza Senior Vice President Oracle Database Systems

Oracle 1Z0-515 Exam Questions & Answers

Copyright 2012 EMC Corporation. All rights reserved.

Exadata Implementation Strategy

Copyright 2012 EMC Corporation. All rights reserved.

Accelerate Applications Using EqualLogic Arrays with directcache

VEXATA FOR ORACLE. Digital Business Demands Performance and Scale. Solution Brief

Clouds, Convergence & Consolidation

Leveraging Oracle Database In-Memory to Accelerate Business Analytic Applications

Evolving To The Big Data Warehouse

The Role of Database Aware Flash Technologies in Accelerating Mission- Critical Databases

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

Virtualizing Oracle 11g/R2 RAC Database on Oracle VM: Methods/Tips

Recent Innovations in Data Storage Technologies Dr Roger MacNicol Software Architect

EMC XTREMCACHE ACCELERATES VIRTUALIZED ORACLE

Take control of storage performance

Oracle Exadata: The World s Fastest Database Machine

TITLE. the IT Landscape

Mellanox InfiniBand Solutions Accelerate Oracle s Data Center and Cloud Solutions

SC Series: Performance Best Practices. Brad Spratt Performance Engineering Midrange & Entry Solutions

Verron Martina vspecialist. Copyright 2012 EMC Corporation. All rights reserved.

Solid State Performance Comparisons: SSD Cache Performance

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

TPC-E testing of Microsoft SQL Server 2016 on Dell EMC PowerEdge R830 Server and Dell EMC SC9000 Storage

REFERENCE ARCHITECTURE Microsoft SQL Server 2016 Data Warehouse Fast Track. FlashStack 70TB Solution with Cisco UCS and Pure Storage FlashArray//X

Low Latency Evaluation of Fibre Channel, iscsi and SAS Host Interfaces

All-Flash High-Performance SAN/NAS Solutions for Virtualization & OLTP

IBM s Data Warehouse Appliance Offerings

Warsaw. 11 th September 2018

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into

Hybrid Storage for Data Warehousing. Colin White, BI Research September 2011 Sponsored by Teradata and NetApp

DDN About Us Solving Large Enterprise and Web Scale Challenges

Flash In the Data Center

Drecom Accelerates Anytime, Anywhere Gaming

Storage Best Practices for Microsoft Server Applications

Copyright 2012 EMC Corporation. All rights reserved.

PracticeTorrent. Latest study torrent with verified answers will facilitate your actual test

Isilon: Raising The Bar On Performance & Archive Use Cases. John Har Solutions Product Manager Unstructured Data Storage Team

朱义普. Resolving High Performance Computing and Big Data Application Bottlenecks with Application-Defined Flash Acceleration. Director, North Asia, HPC

Accelerating Microsoft SQL Server 2016 Performance With Dell EMC PowerEdge R740

Next Generation Data Center : Future Trends and Technologies

AN ALTERNATIVE TO ALL- FLASH ARRAYS: PREDICTIVE STORAGE CACHING

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

Delivering flash at the price of disk

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

NST6000 UNIFIED HYBRID STORAGE. Performance, Availability and Scale for Any SAN and NAS Workload in Your Environment

Understanding Oracle RAC ( ) Internals: The Cache Fusion Edition

NetVault Backup Client and Server Sizing Guide 2.1

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

Software-defined Shared Application Acceleration

儲存網路, 與時俱進 JASON LIN SENIOR TECHNICAL CONSULTANT BROCADE, TAIWAN

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

OPTIMIZING YOUR ORACLE DATABASE ENVIRONMENTS

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

Identifying Performance Bottlenecks with Real- World Applications and Flash-Based Storage

Microsoft SQL Server 2012 Fast Track Reference Architecture Using PowerEdge R720 and Compellent SC8000

Executive Brief June 2014

Transcription:

Implementing Oracle database12c s Heat Map and Automatic Data Optimization to optimize the database storage cost and performance Session #267: Prepared by: Kai Yu, Senior Principal Architect, Dell Oracle Solutions Engineering @ky_austin1 REMINDER Check in on the COLLABORATE mobile app

About Author Kai Yu, Senior Principal Architect, Dell Database Engineering 20 years Oracle DBA/Apps DBAS and Solutions Engineering Specializing in Oracle RAC, Storage, Oracle VM,Oracle EBS Oracle ACE Director, Oracle papers author/presenter 2011 OAUG Innovator of Year, 2012 Oracle Excellence Award: Technologist of the Year: Cloud Architect by Oracle Magazine My Oracle Blog: http://kyuoracleblog.wordpress.com/ Co-author Apress Book Expert Oracle RAC 12c

6 7 8 10 11 12 13 15 16 17 6 7 8 10 11 12 13 15 16 17 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 Force10 Force10 4 5 6 4 5 6 750W 750W 0 0 0 0 8 9 10 8 9 10 12 13 14 12 13 14 KMM FPM185 1 1 1 1 750W 750W 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 My Recent Work: Architect of Dell Integrated Systems for Oracle Database -Ready Infrastructure Solution (1 x S60) 1GbE Switch (Management) Management Server (R630) Top of Rack (2 x S6000) 40GbE Switches (Public & Private) Oracle Database 12c (2 x R920) 2 x Brocade 6510 16Gbps Fibre Channel SAN Switches Fibre Channel Network Two Dual Port 16GB HBAs U42 U41 U40 U39 U38 U37 U36 U35 U34 U33 U32 U31 U30 U29 U28 U27 U26 U25 U24 U23 U22 U21 U20 U19 U18 U17 U16 U15 U14 U13 U12 U11 U10 U09 U08 U07 U06 U05 U04 U03 U02 U01 19U 2 x S6000 40GbE TOR Switches (Public & Private) 1 x S55 Mgmt. Switch Database Servers (2 x R920) KMM Management Server (R630) 2 x Brocade 6510 16Gbps FC Switches Dell Acceleration Appliances for Databases (DAAD-HA) Four IODrive2 iomemory Cards Mellanox Connect X3 Dual Port 40GB Network Adapaters Four IODrive2 iomemory Cards

Agenda Database Storage Challenges for IT Organizations Oracle 12c Information Lifecycle Management (ILM) Heat Map Automatic Data Optimization Examples of using Oracle ILM Questions

Database Storage Challenges for IT Organizations This is a subtitle or bulleted list

Database Storage Challenges Exponential data growth posts another Challenge to IT organization. Exposition in online access and contents such as pictures and videos. Mobile, Big Data, Social Medial, etc Compliance with government regulation on data retention Very common that your database performance is blocked by IOs Volumes of data makes the database IO bottleneck worse and worse IT Budgets Challenge Need more hard disks spindles or add SSDs to meet the database IO throughput and low latency requirement. More storage is very costly. Faster storage is even costly even the price is coming down IT budgets are not much increasing in most organization How to improve the performance, how to increase capacity without much growing cost Adapting storage tiering is the way to improve the storage efficience

Database Storage Challenges Storage IOs presents major bottlenecks to database performance As shown the following example, user I/O is the major bottleneck Even the configuration event is related to IO as it was the free buffer wait caused by the slow writing dirty data from the buffer cache to disks

Storage tiering: performance vs cost Pricing of high performance storage such as SSD is still higher. Only small percentage data is frequently accessed transactional data, and majority of data is less frequently accessed. An example of the tiered storage design: Tier1: small set of hot data (frequently accessed read/write intensive), using SLC SSD Tier 2: less frequently accessed or Read Intensive workloads: using MLC SSDs or 15k SAS for sequential workloads Tier 3: large volume of archival data :7.2k SATA/NL-SAS for low performance Tier1 SSD $$$ Tier 2 $$ $$ $$ $$ Tier 3 $ $ $ $ $ $ $ $

Implementation of Storage tiering Methods to implement storage tiering Manual method: manually assign or move the objects to storage tier. Build-in storage tiering in the storage product By Information management feature of database product. Manual method by Storage admin/dbas Manage the tired storage based on the performance, access pattern, sizing and storage cost. Identify IO performance bottleneck and move the objects to different storage tier. Example of two tiers storage with manual method: Tier 1: 4 PCI-SSD, Tier 2: MD3220 SAS with 24 X 15k rpms HDs Tier 3 $ $ $ $ $ $ $ $

Implementation of Storage tiering Performance of four configurations Config1: all objects stored in Tier 2(HDs) Config2: all indexes stored in Tier the rest stored in Tier 2 Config3: all indexes + one active table stored in Tier 1, the rest in Tier2 Config4: all indexes + four active tables stored in Tier 1 the rest stored in Tier 2 Tier 3 $ $ $ $ $ $ $ $

Implementation of Storage tiering Build-in storage tiering feature in the storage product The storage appliance moves blocks or pages of data from one type of disk to another type of disk based on rules or usage. Examples of storage Products: Dell Compellent Dell EqualLogic EMC FAST NetApp Advantages: Fully automated process. The simplest way to implement the storage tiering Disadvantages: Not application aware. Can t combine different vendors. Can t work if the tiered storage on multiple vendors storage Tier 3

Implementation of Storage tiering By Information management feature of applications. Applications keep track of the usage of the data System admin can define the rules for data moving base on the cost Applications moves data between these storage tiers based on the data usages and performance Oracle Information Lifecycle Management provides this feature. Advantages: The data moving process can be automated by setting the rules. Work well storage tiering among multiple storages products Tier 3 Conventional FC SAN Flash based storage

Oracle Information Lifecycle Management (ILM) This is a subtitle or bulleted list

Information Lifecycle Management (ILM) ILM is the practice of applying specific policies for effective information management. With respect to databases, ILM refers to the processes and practices of aligning digital records table rows with the most appropriate and cost effective IT infrastructure at each phase of its useful life. Examples: Moving transaction data to a data warehouse for improved analytics performance Compressing tables or partitions as data ages to reduce storage capacity Moving data for completed transactions to read-only storage Active Less Active Historical Archive

New features in Oracle Database 12c While ILM has been practiced for decades the explosion of new data and the proliferation of storage technologies has lead to innovations in improving management of automated ILM. Heat Map Stores system-generated data usage statistics at the block and segment levels Segment level Heat Map tracks the time of last modification and access of tables and partitions Row level Heat Map tracks modification times for individual rows (aggregated to the block level) Heat Map skips internal access done for system tasks automatically excluding Stats Gathering, DDLs or Table Redefinitions Automatic Data Optimization Allows you to create policies for data compression (Smart Compression) and data movement, to implement storage and compression tiering Smart Compression refers to the ability to utilize Heat Map information to associate compression policies, and compression levels, with actual data usage

Automatic Data Optimization (ADO) Compression types: Compression algorithm COMPRESS; ROW STORE COMPRESS BASIC: ROW STORE COMPRESS ADVANCED: COLUMNSTORE COMPRESS FOR QUERY: COLUMNSTORE COMPRESS FOR ARCHIVE: NOCOMPRESS: Description Basic table compression. The same as ROW STORE COMRESS BASIC The standard option (see above) Oracle DB compresses the data during Data Manipulation Language (DML) operations. This is recommended for Online Transaction Processing Applications (OLTP) Enables hybrid columnar compression in which the data is transformed into a column-oriented format then compressed. This is useful for Data Warehouses (OLAP) Same as above but compressed at a higher level. This is useful for archiving as it has a negative impact on performance. Disables table compression. The default. Data can be compressed at the table, partition/segment, or row level (rows are aggregated to the block level) Data can be tiered at the table or partition level (there is no row-based tiering)

Oracle ILM - Administration DBMS_ILM_ADMIN Provides an interface to customized Automatic Data Optimization (ADO) policy execution. customize_ilm Allows you to set parameters for ILM. disable_ilm Procedure to turn off background ILM enable_ilm Procedure to turn on background ILM clear_heat_map_all Procedure to delete all rows except dummy row set_heat_map_all Procedure to update/insert a row for all tables set_heat_map_table Procedure to update/insert a row for this table/segment clear_heat_map_table Procedure to clear all/some statistics for table set_heat_map_start Procedure to set start date of heat map data

Automatic Data Optimization Examples This is a subtitle or bulleted list

Automatic Data Optimization Examples Heat Map tracks usage information at the row and segment level : Views: V$/All/DBA/USER_HEAT_MAP_SEGMENT Add ADO policy: three parts Ado action: data compression or data movement Level: segment or row level for table or partition Condition: what condition will initiate an ADO action. ADO policy examples:

Automatic Data Optimization Examples Ado policy for data movement Thresholds at which ADO data movement policy will be started/stopped Tablespace percent used Tablespace percent free %used > 85% start %free < 30% stop Tablespaces on tier storage (in this example) T1DATA tablespace is built on 12x SLC SSDs in RAID10 T2DATA tablespace is built on 12x 1TB 7.2k rpm Hard disks in RAID10

Automatic Data Optimization Examples Example 1 : Create segment-level ADO policy to automatically compress table after 10 days no modification Create compression policy Check the policy via USER_ILMDataMovementPolicies Display Heat map tracking data via user_heat_map_segment

Automatic Data Optimization Examples Execute the ADO policy immediately Check the task status: policy_name: P102, task_id: 2146 Verify the tables compression

Automatic Data Optimization Examples Example 2 : Create ADO policy to move objects from T1DATA to T2DATA Current TBS: Check Tablespaces space usage: PCT_FREE, PCT_USED

Automatic Data Optimization Examples Check ADO parameters for ADO data migration threshold T1DATA: PCT_USED: 91.62% > 85% threshold Start migration when pct_used > 85%,stop migration when pct_free < 30% Create data movement policy: Check the policy: policy name: P122

Automatic Data Optimization Examples Execute the ADO policy immediately Check the task status : policy_name: P122, task_id: 2214

Automatic Data Optimization Examples Check the result Tablespace space usage: free space on T1DATA tablespace: T1DATA 8.38% free T1DATA: 15.38% free Before Aftersage:

Automatic Data Optimization Examples Example 3 : Compress partitions Check partitions and their write time Create policy

Automatic Data Optimization Examples Check policy Check execution only 6 days since last update, less than 10 days requirement. Recreate Policy

Automatic Data Optimization Examples Check policy: policy_name: P145, task_id: 2358 Check execution of task Check the result

Automatic Data Optimization Examples Example 4: Move partition to tier 2 storage T2DATA: Current tablespace: Create policy: Execute the policy:

Automatic Data Optimization Examples Why?? T1DATA s PCT_USED (84.62%) < 85% threshold Force the policy to get executed by changing T1DATa PCT_USED parameter Execute the policy again:

Automatic Data Optimization Examples Check the task: Check the result Tablespace before the data movement

References Heat Map, Automatic Data Optimization and ILM with Oracle Database - http://www.oracle.com/technetwork/database/enterprise-edition/index-090321.html DMBS_ILM_ADMIN Documentation - http://docs.oracle.com/database/121/arpls/d_ilm_admin.htm

Contact us at kai_yu@dell.com or visit my Oracle Blog at http://kyuoracleblog.wordpress.com/

Please complete the session evaluation We appreciate your feedback and insight You may complete the session evaluation either on paper or online via the mobile app