Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Insert statements are running slow in Oracle

user3351545Sep 22 2015 — edited Sep 22 2015

Hi All,

We are facing problems in lots of insert statement in oracle. Actually the scenario is like that :

1. The application is DW application.

2. We are using Informatica 9 as ETL tool.

3. The Oracle version : Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi

4. There are lot of tables in which we are facing the slow performance of insert statement.

5. We are loading the data by Informatica into Oracle.

6. In Oracle we can see the simple select statement like  :

INSERT INTO <<table>>(C1,C2...etc)  values (:1,:2, etc);

7. We got the below plan statistics from DBA: This is for one table only. We have approx same plan statistics for all tables.

Stat NameStatement TotalPer Execution% Snap Total
Elapsed Time (ms)733,52956.6910.68
CPU Time (ms)120,1999.299.41
Executions12,940
Buffer Gets6,492,400501.7315.38
Disk Reads158,73412.277.17
Parse Calls00.000.00
Rows362,32028.00
User I/O Wait Time (ms)599,986
Cluster Wait Time (ms)27,783
Application Wait Time (ms)0
Concurrency Wait Time (ms)28
Invalidations0
Version Count1
Sharable Mem(KB)56

8. All tables are huge tables.

I have verified few things before :

1. There is no CLOB/BLOB columns in tables.

2. We can not disable the indexes on the tables as we don't have permission to do this.

3. Tables are not partition.

Now I have few questions :

1. Can we do the insert statement tuning in Oracle or we need to target in Informatica tuning only?

2. As we can see the huge buffer gets and USER I/O wait time in Plan stats so Can we do something to improve the things in Oracle side?

I am looking for your guidance to come out for this kind of scenario..

Thanks in advance for your help and suggestion...

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 20 2015
Added on Sep 22 2015
5 comments
2,922 views