Setting Up Storage Tiering Policy for Automatic Data Optimization
Overview
- Ensure that you have enough disk space to create additional
tablespaces.
- Oracle Database 12c should be installed.
- ORACLE_HOME: /u01/app/oracle/product/12.1.0
- TNS Listener port: 1521
- Container databases:
- SID: cdb1
- SID: cdb2
- Pluggable databases (in cdb1):
- pdb1
- pdb2
- Non-CDB SID: noncdb
Purpose
This tutorial covers how to setup information lifecycle
management policies so that less frequently accessed tables are
automatically moved to lower-cost storage.
Time to Complete
Approximately 20 minutes
Introduction
You can use automatic data optimization to automate the
compression and movement of data between different tiers of
storage within the database. The functionality includes the
ability to create ILM policies that specify different
compression levels for each tier, and to control when the data
movement takes place. Automatic data optimization requires that
heat map tracking be enabled for the database instance. Also,
automatic data optimization can only be implemented in a
non-container database.
Scenario
In this tutorial, you will create and enable an information
lifecycle management tiering policy on the SCOTT.employee table.
The policy uses automatic data optimization to move a table to
another tablespace when the tablespace where the table resides
on is less than 95% free.
Prerequisites
Before starting this tutorial, you should:
The environment used in the development of this tutorial is as follows:
Creating Tablespaces, Enabling Accounts, and Enabling Heat Map
Tracking
Creating and Updating a Table in the ILMTBS Tablespace
Verifying Heat Map Tracking Collected Statistics for the
Table
Creating a Storage Tiering Policy on the Table
Triggering the Table to Move to Low Cost Storage
Resetting Your Environment
Perform the following steps to reset your environment prior to repeating the activities covered in this OBE or starting another OBE.
Summary
- Enable heat map tracking statistics
- View heat map statistics
- Create storage tiering policies
- Triggering the storage tiering policy and verifying the
automatic optimization of data storage
- To learn more about Oracle Database 12c refer to additional OBEs in the Oracle Learning Library.
- Lead Curriculum Developer: Dominique Jeunot, Jean-Francois
Verrier
- Other Contributors: ILM PM Team
In this tutorial, you have learned how to:
Resources
Credits
To help navigate this Oracle by Example, note the following:
- Hiding Header Buttons:
- Click the Title to hide the buttons in the header. To show the buttons again, simply click the Title again.
- Topic List Button:
- A list of all the topics. Click one of the topics to navigate to that section.
- Expand/Collapse All Topics:
- To show/hide all the detail for all the sections. By default, all topics are collapsed
- Show/Hide All Images:
- To show/hide all the screenshots. By default, all images are displayed.
- Print:
- To print the content. The content currently displayed or hidden will be printed.
To navigate to a particular section in this tutorial, select the topic from the list.