Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: SQL*Plus and PL/SQL >> Indexes

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: Indexes
 parth  Posted: Apr 03, 2007 09:50:07 AM

 Total Post: 17
 Joined: Apr, 2007






 hi, i have an issue with Indexes cause my client is generating report (For all the employees and data is of Payroll ) so it is taking very much time and i have tried out monitoring index and it is working correctly, but it is still taking time, i have also tried driving table and driven table funda everything is in Order but i am not able to figure out that why it is taking so much of time ...? can any one help me

 Jayanta
Posted: Apr 03, 2007 01:28:31 PM  

 Total Post: 479
 Joined: Feb, 2006






 
u may try rebuilding the index!
cheers!

 bigPapas
Posted: Apr 03, 2007 05:49:44 PM  

 Total Post: 14
 Joined: Apr, 2007






 
have you looked at your statistics? Make sure they are current on index and table. If so, generate explain plan and verify that the query is doing what it should.

best regards

 snehalatha
Posted: Apr 04, 2007 12:32:24 AM  

 Total Post: 169
 Joined: Apr, 2006






 
Hi,
1. Check the index is Composite or not.
2. Check the joins
3. check the table order you have given in FROM statement.
4. take the explain plan and see the statistics. check any full table scan going .


 Sabdar Syed
Posted: Apr 04, 2007 03:36:50 AM  

 Total Post: 39
 Joined: Mar, 2007






 
When was the last time that the tables were analyzed?. If you find very long back, and many insertions occur during these periods, I request you to gather statistics on those tables.

Regards,
Sabdar Syed.
http://sabdarsyed.blogspot.com/



 bigPapas
Posted: Apr 04, 2007 09:15:34 AM  

 Total Post: 14
 Joined: Apr, 2007






 
Don't be fooled by full table scans. Sometimes a full table scan is faster, depending on the number of rows in querried table. If a small table is getting a full table scan, it is quite possible that it is faster to do the full, than look at index.

Once again, I would look at statistics. If there have been large inserts, or deletes, stats need to be run again.

Best regards,
Gabe

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi333
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software