ILM is mean Information Lifecycle Management. It’s practice of applying policies for effective management of information throughout its useful life.

Implementing ILM Using Oracle Database
The offical documentation see here

And mainly four steps:

  • Define the Data Classes
  • Create Storage Tiers for the Data Classes
  • Create Data Access and Migration Policies
  • Define and Enforce Compliance Policies

In fact, in our production, I need to handle a unpartition table to ILM, so I should archive data and create partition and add customize policy.
See the below steps:

Archive Database

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@IBSArch.par
set serveroutput on;
set verify off;

spool IBSArchive.log

prompt
prompt Attempting to create the user used for archived data ....
@@scripts/createarchuser

prompt
prompt Create objects in BD schema
@@scripts/createBDobjects

prompt
prompt Attempting to create private synonyms for BD database objects in the arch schema
@@scripts/createsynonyms

prompt
prompt Attempting to add new DSN for archived data
--create new DSN for archived data
@@scripts/createDSN

prompt
prompt Attempting to create a scheduler job to run the partitioning of Businessdata
--create new DSN for archived data
@@scripts/createPartitionJob

spool off;
exit;

VPD - Virtual Private Database

1
2
3
4
5
6
7
8
9
@IBSArch.par
set serveroutput on;
set verify off;

spool IBSVPD.log

prompt
prompt Attempting to create the VPD profiles
@@scripts/createvpdprofiles

These resource files see here.