Answer Posted / bikash khuntia
High watermark means, the largest amouth of data
that was placed in a table. for example, Let's say
you created a table and inserted 100 records, and then
added 1000 records more. Now the table highwater mark is
the 1000 record. Now let's say you deleted all the
records in that table using the 'delete' command. Now
your highwater mark for the table still sits at the 1000
record . Though after the delete you have no records
in the table, when a query is performed on this empty
table, it will still scan upto the 1000 highwater mark,
So even with no records, the query will still take
sometime returning because it scans up to the high
watermark.
Now, instead of deleating the records with delete command,
You trucate the tabel, Truncate will remove the high
watermark for the table, and now on an empty table the
query is faster due to the high watermark being gone
| Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
Why does for update in oracle 8 cause an ora-01002 error?
What are the system predefined user roles?
What are the components of logical database structure in oracle database?
What is the difference between translate and replace in oracle?
What is a dead lock in oracle?
How to return top 5 rows in oracle?
How to use like conditions in oracle?
What would you do with an in-doubt distributed transaction?
What are ddl statements in oracle?
How is it different from a normal table?
Is there any function in oracle similar like group_concat of mysql?
What is ADDM Advisor in Oracle?
How to count groups returned with the group by clause in oracle?
What is a table index?
What are the differences between lov and list item?