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
What is a database table in oracle?
What are the types of trigger in oracle?
In not less than 100 words what's the main difference between Rolap and Molap in ORACLE ?
What is the usage of analyze command in oracle?
What are the execution control statements?
Explain the use of log option in exp command.
How to use subqueries with the exists operator in oracle?
Explain do view contain data?
How do you find current date and time in oracle?
How to bring a tablespace online?
What is a nested table and how is it different from a normal table?
What is oracle open database communication (odbc)?
What are privileges and grants?
What privilege is needed for a user to insert rows to tables in another schema?
What is the best way to do multi-row insert in oracle?