Welcome Guest ( Log In | Register )


 
 
 
 
 
 

 
Oracle performance tuning 

software
 
Oracle 

performance Tuning 10g reference poster
 
Oracle training in Linux 

commands
 
Oracle training 

Excel
 
Easy Oracle Jumpstart
 
Oracle training & performance tuning books
 
Burleson Consulting Remote DB Administration
 
 
> MERGE statement and APPEND hint
Starikovsky
post Nov 13 2007, 12:40 PM
Post #1


Advanced Member
***

Group: Members
Posts: 119
Joined: 13-November 07
Member No.: 13,939



From the functional point of view it is clear to me how the MERGE statement works.
It is also clear to me APPEND hint will allocate space beyond HWM each time an INSERT statement is issued.

> What I'm Wondering Is
How does MERGE statement works with an APPEND hint?

> Scenario
Assume a large partitioned table populated/updated from a staging area via MERGE statement.
MERGE statement will UPDATE when PK match and will INSERT when PK doesn't match.
Assuming insertable and updateable rows are scatered in staging area MERGE will issue either INSERT or UPDATE statements as needed.

> Question
If this is the case, it's safe to say MERGE/Insert will push HWM a little higher each time a new row is inserted? If it works this way process will be allocating a lot of space and leaving huge amounts of unused space under the HWM, is that correct?


Thank you in advance.
Go to the top of the page
 
+Quote Post



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 8th September 2010 - 03:30 PM