Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL Oracle
Can any one explain how to remove Table Access Full with Oracle Query, query is taking too long to give the results.
Posted 17-Aug-12 4:01am
ashriv942
Comments
Wes Aday at 17-Aug-12 10:07am
   
http://dbaspot.com/oracle-server/8744-table-access-full.html

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

If your query is using a full table scan the reason could be:
- insufficient indexing
- statistics are out of date
- the optimizer isn't able to calculate the correct access path
 
The most likely reason is the first one: insufficient indexing. So based on the information you have provided, have a look at the query and try to create an index that would satisfy at least the most important columns used in your criteria.
 
Another thing is that if the query is returning a lot of rows, consider paging the results instead of getting all of the data at once. This could help with large result sets.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 446
1 OriginalGriff 325
2 Yogesh Kumar Tyagi 304
3 Maciej Los 235
4 Prakriti Goyal 200
0 OriginalGriff 6,417
1 Sergey Alexandrovich Kryukov 5,344
2 Maciej Los 3,434
3 Peter Leow 3,259
4 DamithSL 2,490


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 17 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100