Database Tuning (MOSC)

MOSC Banner

performance issue for inserting into subpartiotioned tables

edited Aug 4, 2011 3:24PM in Database Tuning (MOSC) 2 commentsAnswered ✓
Hi All,

My DB is 11.1
Some SQLs , which look like 'insert into table1 select * from view_name' ran well for tables of which have 10 partitions but no subpartitions.
But yesterday we re-orged these tables to subpartitioned tables for a project. And now they have 10 partitions that in turn have 40 subpartitions respectively.

I noticed that these SQL suddenly ran very slowly today and the following events become predominat waits.

Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn % DB time 
enq: HW - contention 35,148 3 141,014 4012 0.73 15.18 
latch: cache buffers chains 313,714 0 105,737 337 6.54 11.39


I think it may have something to do with too many subpartitions. I just guess whether it will cause more contention on sement headers to allocate spaces for every subpartition?

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