ilm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ilm [2016/02/08 16:45] – z0hpvk | ilm [2025/03/08 22:24] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
It can be changed at the session and system level. | It can be changed at the session and system level. | ||
< | < | ||
- | V$HEAT_MAP_SEGMENT | + | |
- | DBA_HEAT_MAP_SEGMENT | + | Causes the database to track read and write access of all segments.\\ |
- | DBA_HEAT_MAP_TOP_OBJECTS | + | The activities are not tracked for objects in SYSTEM and SYSAUX tablespaces.\\ |
- | DBA_HEAT_MAP_TOP_TABLESPACES | + | === Views === |
+ | V$HEAT_MAP_SEGMENT\\ | ||
+ | DBA_HEAT_MAP_SEGMENT\\ | ||
+ | DBA_HEAT_MAP_TOP_OBJECTS\\ | ||
+ | DBA_HEAT_MAP_TOP_TABLESPACES\\ | ||
==== Automatic Data Optimisation ==== | ==== Automatic Data Optimisation ==== | ||
+ | ADO policies can be set at row, segment or tablespace level.\\ | ||
+ | These policies will be evaluated automatically during the weekend maintenance window. | ||
+ | |||
+ | The commands are used in conjunction with the CREATE and ALTER TABLE commands | ||
+ | |||
+ | Compress Rows if they haven' | ||
+ | < | ||
+ | ROW STORE COMPRESS ADVANCED | ||
+ | SEGMENT AFTER 60 DAYS OF NO ACCESS;</ | ||
+ | |||
+ | Compress Rows 1 year after they have been created | ||
+ | < | ||
+ | ROW STORE COMPRESS ADVANCED | ||
+ | SEGMENT AFTER 1 YEARS OF CREATION;</ | ||
+ | |||
+ | Compress Rows if they haven' | ||
+ | < | ||
+ | ROW STORE COMPRESS ADVANCED | ||
+ | SEGMENT AFTER 45 DAYS OF NO MODIFICATION;</ | ||
+ | |||
+ | There can only be one row level policy for a segment.\\ | ||
+ | The view USER_ILMPOLICIES shows details of all existing ADO policies.\\ | ||
+ | |||
+ | Disable all ADO policies for the whole database | ||
+ | < | ||
+ | DBMS_ILM_ADMIN.DISABLE_ILM; | ||
+ | END;</ | ||
+ | |||
+ | Disable a single policy on a table | ||
+ | < | ||
+ | ALTER TABLE t1 ILM disable < | ||
ilm.1454949905.txt.gz · Last modified: 2025/03/08 22:23 (external edit)