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
HI, Please let me know the syllabus for Oracle OCA and OCP Certification
What are the different types of trigger and explain its various uses and functions?
How would you edit your CRONTAB to schedule the running of /test/test.sh to run every other day at 2PM?
Explain integrity constraints?
Can we insert data in view oracle?
What is the best way to do multi-row insert in oracle?
What is a proxy class?
Explain index?
What are the various oracle database objects?
What is Undo Management Advisor in Oracle?
How do I spool in oracle?
What is memory advisor in Oracle?
List out the components of logical database structure of oracle database.
I have a table called 'test' on source and target with same name, structure and data type but in a different column order. How can you setup replication for this table?
How to start a specific oracle instance?