SQL Performance (MOSC)

MOSC Banner

11gR2: APPEND on partition and table level lock ?

edited Jan 13, 2014 7:00PM in SQL Performance (MOSC) 2 commentsAnswered
Hi ,

I have 2 partitioned tables : PRODUCTS and PRODUCTS_2  , partition key = PROD_TYPE
Is it true that the following insert with append hint performed on only one partition locks all the table ?

If Yes , what is the trick to avoid this lock on table level ?

INSERT /*+ APPEND */ INTO PRODUCTS
SELECT ... FROM PRODUCTS_2 P2
WHERE P2.PROD_TYPE='AC'
AND ...

Best regards.
GD.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center