What is “Reset High Water Mark for the following tables…” in Oracle?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The High Water Mark is the maximum number of blocks which have ever contained data. Deleting records from a table frees up the space but does not move the HWM. In order to reset the High Water Mark we have to drop and recreate the table, or just truncate it.
Normally we wouldn’t bother. However, the High Water Mark defines the range of a full table scan. So if we have a table which once contained a lot of records but no longer does so and also is subject to frequent full table scans then perhaps reseting the HWM would be a good use of our time.