High Water Mark
1. Dropping user/schema would cause any system priveleges user has to disappear and the import would not restore them. The import will import data structure, data, constraints,trigger,procedure and so on.
2. How to move table from one tablespace to another one?
Refer to: http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:47812348053
Also in local Oracle Articles.
3. How to Calculate the value of High Water Mark?
SELECT BLOCKS
FROM DBA_SEGMENTS
WHERE OWNER=UPPER(owner) AND SEGMENT_NAME = UPPER(table);
ANALYZE TABLE owner.table ESTIMATE STATISTICS;
SELECT EMPTY_BLOCKS
FROM DBA_TABLES
WHERE OWNER=UPPER(owner) AND TABLE_NAME = UPPER(table);
Thus, the tables’ HWM = (query result 1) - (query result 2) - 1
NOTE: You can also use the DBMS_SPACE package and calculate the
HWM =TOTAL_BLOCKS - UNUSED_BLOCKS - 1.
4. Truncate table
A truncate moves the High Water Mark of the table back to zero. No row-level locks are taken, no redo or rollback is generated. All extents bar the initial are de-allocated from the table
Popularity: 2% [?]
Tags:none















