|
Re: high water mark [message #611598 is a reply to message #611597] |
Fri, 04 April 2014 05:43 |
|
rc3d
Messages: 213 Registered: September 2013 Location: Baden-Württemberg
|
Senior Member |
|
|
What is High Water Mark in Oracle?
Answer:
1. High water mark is the maximum amount of database blocks used so far by a segment. This mark cannot be reset by delete operations.
2. Delete Table operation won't reset HWM.
3. TRUNCATE will reset HWM.
4. The high water mark level is just a line separate the used blocks and free blocks.
The blocks above the HWM level is free blocks, they are ready to use.
The blocks below the HWM level is used blocks, they are already used.
I hope now you understand well. see the below example.
for example, if you delete some huge records from the database, that data will delete but the blocks are not ready to used, because that blocks are still below HWM level, so delete command never reset the HWM level,
At the same time you truncate the date, then the data will delete and that used blocks will goto above the HWM level, now its ready to used. now they consider has free blocks.
more
http://asktom.oracle.com/pls/asktomf?p=100:11:0::::P11_QUESTION_ID:492636200346818072
|
|
|
|
|
|