Skip to Main Content

Breadcrumb

Question and Answer

Chris Saxon

Thanks for the question, oracle.

Asked: September 28, 2016 - 9:30 am UTC

Last updated: September 29, 2016 - 10:53 am UTC

Version: 11.2.0

Viewed 1000+ times

You Asked

Hi tom,

AS i have seen we are getting buffer busy waits and insertion is very slow then i increase the table ini_trans from 1 to 50 and
continuous showing index lock for that i have increase index ini trans from 2 to 10 Now i have seen the insertion is ok So, Can you pls let me know how to release the index lock ?

2. An number of insertion into the single table so how to increase this insertion fast ?
3. And many bulk update on the single table so how to improve this update because when update going it became table lock no insertion happen when i kill the update process then insertion start and then update done ?

So, pls suggest to overcome from

index lock ?
bulk insertion improve ?
bulk update improve ?

Thanks

and Connor said...

Thanks to look at

a) make sure your segments are in ASSM tablespaces
b) look at hash partitioning the index
c) look at application design - why do you have such high concurrency - perhaps connection pooling etc will assist
d) check server resources, if the machine is at maximum CPU then processes will hold onto buffers longer than normal whilst waiting for cpu

Rating

  (2 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

A reader, September 29, 2016 - 3:56 am UTC

Hi

Thanks for reply

1. How to check segment are in assm tablespace and if they are there then what is the solution?
2. How to create normal index to partition index ?
3. How to check and do connection pool ?
4. How to check server process because as my observations when it happens the cpu utilisation reach more than 100 sometimes?

Thanks
Connor McDonald
September 29, 2016 - 10:53 am UTC

I think you need to do some reading.... start here

http://docs.oracle.com/database/121/CNCPT/toc.htm

because if you are looking after a system which needs initrans of 50, then all of these things should be pretty familiar to you.

(I'm not trying to be rude here...just saying you need to skill up)

A reader, September 29, 2016 - 5:04 pm UTC

Thanks for reply

I know about the dba. I have worked and till working as a dba.

I m asking all this due to performance tuning that's it nothing else.

Thanks for sharing sach a link.

More to Explore

VLDB

If you are new to partitioning, check out Connor McDonald's introduction series here.

VLDB

Documentation set on VLDB and Partitioning.