Home > Ask the Oracle Database / Applications Experts > Data Warehousing, ETL, and business intelligence Questions & Answers > Speed of low-cost query
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Speed of low-cost query

Ian Abramson EXPERT RESPONSE FROM: Ian Abramson

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


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


>
QUESTION POSED ON: 11 January 2008
The cost of my query is low (around 300), but it takes 30 seconds for the result. Why?

>
This is the type of question that can have a million answers. If all we look at is the cost we would assume that Oracle has optimized the cost, but there are many factors that will affect performance. I would ask you, what type of data are you selecting? Are indexes being used? How is the data being selected? Are there filters? What is the state of the data in the database? Are you having network issues? Where is your data located? I can continue, but I am sure you get the point.

What you need to do instead is look at what is happening. It might be time for you to run Statspack or AWR and analyze what is happening to your statement. Are there waits? Is there a large disk read? So I would say that there is no silver bullet on this one. It will be necessary for you to investigate the symptoms and make a diagnosis.


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



RELATED CONTENT
Oracle database administration
How to rebuild a built-in Oracle package body
How to use a wrapper script with cold backups in Oracle
Understanding Oracle cost-based optimizer (CBO) and rule-based optimizer (RBO)
Can we use a single database update trigger for an Oracle database upgrade?
How to rebuild a database to change Oracle block size
The top 10 Eye on Oracle blog posts of 2008
The top advice from Oracle experts in 2008
Web 2.0 users, community and participation in the enterprise
Enterprise search and links for Web 2.0
Tips for Web 2.0 success and setting Web 2.0 goals in the enterprise
Oracle database administration Research

Data Warehousing, ETL, and business intelligence
Analyzing an index after rebuild
Data warehouse based on operational data model
Method other than DB link for large data transfer
Data migration with ETL
Basic steps for implementing a DBMS
Importing 8i dump file to 9i
Using export/import process to clone to data warehouse
Areas of impact while migrating database from 8i to 9i/10g
External tables explained
Can ETL tools handle complicated business logic?

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



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

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




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