Leveraging new Oracle 12c features to reduce storage costs Wesley Vaske Kai Yu Oracle Solutions Engineering.

Slides:



Advertisements
Similar presentations
Yukon – What is New Rajesh Gala. Yukon – What is new.NET Framework Programming Data Types Exception Handling Batches Databases Database Engine Administration.
Advertisements

Tag line, tag line Protection Manager 4.0 Customer Strategic Presentation March 2010.
Exadata Distinctives Brown Bag New features for tuning Oracle database applications.
Oracle Universal Content Management and Storage Systems
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
Backup and recovery Basics of Backup and restoration Types of recovery Defining strategy Starting up and shutting down 80/20 rule SLA’s.
Oracle Database Compression with Oracle Database 12c
MIS DATABASE SYSTEMS, DATA WAREHOUSES, AND DATA MARTS MBNA
Oracle Database Administration
Chapter 3 Database Management
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 5: Managing File Access.
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 5 Data Storage.
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
Leveraging new Oracle 12c features to reduce storage costs
Graeme Scott – Technology Solution Professional Reduce Infrastructure Costs & Increase Productivity with SQL Server 2008.
Extreme Performance Data Warehousing
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.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
Week 5 – Chap. 5 Data Transfer DBAs often must transfer data to and from text files, Excel spreadsheets, Access, Oracle or other SQL Server databases This.
1© Copyright 2013 EMC Corporation. All rights reserved. EMC and Microsoft SharePoint Server Performance Name Title Date.
Oracle BIWA SIG Basics Worldwide association of 2000 professionals interested in Oracle Database-centric business intelligence, data warehousing, and analytical.
Module 8: Server Management. Overview Server-level and instance-level resources such as memory and processes Database-level resources such as logical.
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
Module 10 Configuring and Managing Storage Technologies.
MIS DATABASE SYSTEMS, DATA WAREHOUSES, AND DATA MARTS MBNA ebay
Archiving in Baan IVc4 & 5c
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.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
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.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 5: Managing File Access.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
5 Database Features Every DBA Needs to Know About THT11267 Doug Chamberlain - Principal Product Manger, Oracle Copyright © 2014, Oracle and/or its affiliates.
1 Oracle Database 11g – Flashback Data Archive. 2 Data History and Retention Data retention and change control requirements are growing Regulatory oversight.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
September 2011Copyright 2011 Teradata Corporation1 Teradata Columnar.
Extents, segments and blocks in detail. Database structure Database Table spaces Segment Extent Oracle block O/S block Data file logical physical.
Informix IDS Administration with the New Server Studio 4.0 By Lester Knutsen My experience with the beta of Server Studio and the new Informix database.
Week 7 Lecture 1 Database Roles. Learning Objectives  Discover when and why to use roles  Learn how to create, modify, and remove roles  Learn how.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Commercial RDBMSs Access and Oracle. Access DBMS Architchecture  Can be used as a standalone system on a single PC: -JET Engine -Microsoft Data Engine.
37 Copyright © 2007, Oracle. All rights reserved. Module 37: Executing Workflow Processes Siebel 8.0 Essentials.
Chapter 4 Constraints Oracle 10g: SQL. Oracle 10g: SQL 2 Objectives Explain the purpose of constraints in a table Distinguish among PRIMARY KEY, FOREIGN.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Database Security. Multi-user database systems like Oracle include security to control how the database is accessed and used for example security Mechanisms:
Building Dashboards SharePoint and Business Intelligence.
Oracle 10g Database Administrator: Implementation and Administration Chapter 5 Basic Storage Concepts and Settings.
The Self-managing Database: Proactive Space and Schema Object Management Amit Ganesh Director, Data, Space and Transaction Processing Oracle Corporation.
12 Copyright © 2009, Oracle. All rights reserved. Managing Backups, Development Changes, and Security.
A Guide to SQL, Eighth Edition Chapter Six Updating Data.
2 Copyright © 2006, Oracle. All rights reserved. Configuring Recovery Manager.
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
3 Copyright © 2006, Oracle. All rights reserved. Designing and Developing for Performance.
Oracle Announced New In- Memory Database G1 Emre Eftelioglu, Fen Liu [09/27/13] 1 [1]
9 Copyright © 2006, Oracle. All rights reserved. Summary Management.
11 Copyright © 2009, Oracle. All rights reserved. Enhancing ETL Performance.
Controlling User Access
Pure Columnar technology
Monitoring Storage Systems for Oracle Enterprise Manager 12c
Data, Space and Transaction Processing
Table spaces.
Working in the Forms Developer Environment
How To Pass Oracle 1z0-060 Exam In First Attempt?
Monitoring Storage Systems for Oracle Enterprise Manager 12c
Get Verified Oracle 1z0-062 Study Material - Oracle 1z0-062 Exam Dumps PDF Realexamdumps.com
Presentation transcript:

Leveraging new Oracle 12c features to reduce storage costs Wesley Vaske Kai Yu Oracle Solutions Engineering

Dell - Internal Use - Confidential 2 About the authors Wesley Vaske, Systems Engineer, Dell Oracle Solutions Engineering –Things Kai Yu,

Dell - Internal Use - Confidential 3 Agenda Changes in enterprise storage Oracle ILM –Heat Map –Automatic Data Optimization Our Case Study Questions

Dell - Restricted - Confidential Changes in enterprise storage

Dell - Internal Use - Confidential 5 Decreasing cost and increasing capacity Price / gigabyte continues to drop dramatically but is outpaced by increasing demand for storage. This leads to increased spending on storage in spite of decreasing costs. Source: Historical External Disk Storage Data: IDC Worldwide tracking reportHistorical External Disk Storage Data: IDC Worldwide tracking report

Dell - Internal Use - Confidential 6 Storage tiering – Why? It allows small capacities of high speed flash to accelerate much larger workloads. It allows slow, high capacity disks to store cold data for high performance applications. Use the right tool for the job: –SLC Flash for Write Intensive workloads –MLC Flash for Read Intensive workloads –15k SAS for sequential workloads –7.2k SATA/NL-SAS for low performance / archival –Tape for offsite / backup / archival SSD 15k SAS NL SAS / SATA Tape

Dell - Internal Use - Confidential 7 Storage tiering – How? Tiering LayerDescriptionProductsDisadvantagesAdvantages The storage admin moves or assigns storage to applications/servers based on expected performance/cost requirements. Manual All storage productsRequires multiple storage products Application awareness dependent on storage admin Requires multiple storage products Complex configurations Application awareness dependent on storage admin The storage appliance moves blocks or pages of data from one type of disk to another type of disk based on rules or usage. Storage Dell Compellent Dell EqualLogic EMC FAST NetApp Storage snapshots can be utilized Simplest way to implement storage tiering Not application aware Can’t combine different vendors in a full-featured configuration. Application has access to different storages with varying cost and performance and moves data between these storage tiers. Application Oracle ADO VMware vSAN Microsoft Storage Spaces Best theoretical performance Able to define storage tiers based on better data Vendor Agnostic Consistent application of tiering rules Unable to use storage snapshots over entire dataset

Dell - Restricted - Confidential Oracle Information Lifecycle Management (ILM)

Dell - Internal Use - Confidential 9 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

Dell - Internal Use - Confidential 10 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

Dell - Internal Use - Confidential 11 Heat Map Views for interacting with Heat Map: Heat Map can be enabled at the system or session level To support ADO it must be enabled at the system level You can use the DMBS_HEAT_MAP PL/SQL package to get more detail information from Heat Map via a set of procedures. ViewDescription V$HEAT_MAP_SEGMENTDisplays real-time access information, including object name, object number and container ID. DBA_HEAT_MAP_SEGMENT:Displays the latest segment access time for all segments visible to the specified user. (Support ALL or USER in place of DBA) DBA_HEAT_MAP_SEG_HISTOGRAM:Displays access information for all segments visible to the specified user. (Support ALL or USER in place of DBA.) DBA_HEATMAP_TOP_OBJECTSDisplays access information for the top 1,000 objects. DBA_HEATMAP_TOP_TABLESPACES:Displays access information for the top 100 tablespaces.

Dell - Internal Use - Confidential 12 Automatic Data Optimization (ADO) Compression types: 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) Compression algorithmDescription COMPRESS;Basic table compression. The same as “ROW STORE COMRESS BASIC” ROW STORE COMPRESS BASIC:The standard option (see above) ROW STORE COMPRESS ADVANCED:Oracle DB compresses the data during Data Manipulation Language (DML) operations. This is recommended for Online Transaction Processing Applications (OLTP) COLUMNSTORE COMPRESS FOR QUERY: Enables hybrid columnar compression in which the data is transformed into a column- oriented format then compressed. This is useful for Data Warehouses (OLAP) COLUMNSTORE COMPRESS FOR ARCHIVE: Same as above but compressed at a higher level. This is useful for archiving as it has a negative impact on performance. NOCOMPRESS:Disables table compression. The default.

Dell - Internal Use - Confidential 13 Oracle ILM – ADD POLICY ILM policies are created via “CREATE TABLE” or “ALTER TABLE” commands. Policies will indicate compression or tiering, row/segment/table level, rule for execution. Example: Segments in the orders table are compressed as columnar data if 30 days pass with no modifications. –ALTER TABLE orders ILM ADD POLICY –COLUMN STORE COMPRESS FOR QUERY HIGH SEGMENT –AFTER 30 DAYS OF NO MODIFICATION; Example: Data in the orders table will be tiered to the tablespace “archiveTableSpace” based on the parameters set via the DBMS_ILM_ADMIN.customize_ilm procedure. With the default options, this policy would tier partitions when the source tablespace reaches 85% used. Partitions would be tiered based on the frequency and date of table access. –ALTER TABLE orders ILM ADD POLICY –TIER DATA TO archiveTableSpace;

Dell - Internal Use - Confidential 14 Oracle ILM - Administration DBMS_ILM_ADMINProvides an interface to customized Automatic Data Optimization (ADO) policy execution. –customize_ilmAllows you to set parameters for ILM. –disable_ilmProcedure to turn off background ILM –enable_ilmProcedure to turn on background ILM –clear_heat_map_allProcedure to delete all rows except dummy row –set_heat_map_allProcedure to update/insert a row for all tables –set_heat_map_tableProcedure to update/insert a row for this table/segment –clear_heat_map_tableProcedure to clear all/some statistics for table –set_heat_map_startProcedure to set start date of heat map data

Dell - Restricted - Confidential Automatic Data Optimization Examples

Dell - Internal Use - Confidential 16 Automatic Data Optimization Examples Example 1 : Create segment-level ADO policy to automatically compress table after 5 days no modification Create compression policy. Check the policy Display Heat map tracking data

Dell - Internal Use - Confidential 17 Automatic Data Optimization Examples Enforce the ADO policy immediately Check the task status Verify the tables compression

Dell - Internal Use - Confidential 18 Automatic Data Optimization Examples Example 2 : Create ADO policy for storage tiering: move objects from T1DATA to T2DATA Check Tablespaces space usage: Check ADO parameters for ADO data migration threshold T1DATA: PCT_USED: 91.62% > 80% threshold. Create data movement policy:

Dell - Internal Use - Confidential 19 Automatic Data Optimization Examples Check the policy Enforce the ADO policy immediately Check the task status

Dell - Internal Use - Confidential 20 Automatic Data Optimization Examples Check the result T1DATA -- CUSTOMER ---> T2DATA Example 3 : Compress partitions Check partitions and their write time

Dell - Internal Use - Confidential 21 Automatic Data Optimization Examples Create policy Check policy Check execution: Recreate Policy:

Dell - Internal Use - Confidential 22 Automatic Data Optimization Examples Check Policy Check execution: Check the result

Dell - Internal Use - Confidential 23 Automatic Data Optimization Examples Example 4: Move partition: Current tablespace: Create policy: Execute the policy: Why ?? T1DATA’s PCT_USED (84.62%) < 85% threshold

Dell - Internal Use - Confidential 24 Automatic Data Optimization Examples Force the policy to get executed by change T1DATa PCT_used parameter Check the task: Check the result Before :

Dell - Restricted - Confidential Links

Dell - Internal Use - Confidential 26 Sources Historical External Disk Storage Data - notes.blogspot.com/2014/06/historical-external-disk-storage-data.htmlhttp://stevej-lab- notes.blogspot.com/2014/06/historical-external-disk-storage-data.html Heat Map, Automatic Data Optimization and ILM with Oracle Database DMBS_ILM_ADMIN Documentation -

Dell - Restricted - Confidential Questions?