Home > Ask the Oracle Experts > Oracle Performance Tuning Questions & Answers > Too many reads on inserts
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Too many reads on inserts

Phillip Bracken EXPERT RESPONSE FROM: Phillip Bracken

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 17 May 2007
Hello, Phillip, and welcome to this wonderful forum! We would really appeciate your help. My question is: I have a third-party C++ app running on Oracle 10.2.0.2 and AIX 5.2 making OCI 9 calls. One of my major problems is that I have a lot of reads on inserts. (The application is heavy OLTP and it is not very well-designed, but I could always make suggestions to the dev team to change it for me.) So, I see a lot of reads on inserts. What I have is: very limited number of indexes, no FK, no triggers or anything that might slow down the inserts. How could I approach this problem and find some type of resolution?

>
EXPERT RESPONSE

That is hard to say without looking at a trace of the session or a statspack report. It could be that the application is doing an 'insert into table_a select ... from table_b'. If auditing is enabled, depending on the level of auditing, that can cause extra I/O as well.

The best way to track this down is to enable a trace on the session in question. The trace will capture any and all SQL that is run during that session. Then use the tkprof utility to format the trace file generated from your session so that it is easier to read. From there you should be able to identify what is causing the problem.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Oracle Performance Tuning
Can I use TKPROF in Oracle 10g?
How to improve performance of column update
Select on Oracle table takes hours
Import of database dump takes 13 hours
Slow query performance for customer with large data volume
ORA-03297 when trying to resize tablespace
Improve performance of SQL query
SMON process consuming 100% CPU
Total Oracle CPU time
See tablespace utilization/database size without DBA privileges

Oracle database performance problems and tuning
Oracle 11g data compression
Varchar or number for better performance?
Do statistics on SYS-owned objects hurt performance in 10g?
Inside the Oracle 11g SQL Performance Advisor, part 1
Inside the Oracle 11g SQL Performance Advisor, part 2
Difference between driving table and driver table in Oracle
Best design for E-Business Suite on hard drive
20GB data dictionary causing performance problems
Using the cost-based optimizer to improve Database 10g performance
Online tablespace reorganization in Oracle 9i

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts