troubleshooting Question

SQL Tuning

Avatar of pms_reddy1
pms_reddy1Flag for Afghanistan asked on
Oracle Database
7 Comments5 Solutions358 ViewsLast Modified:
If I am using the order by clause in SQL statement and I am trying to fetch all rows in a table,which is having 2000000,Then how optimizer will proceede in the below cases?
Table is having index on the column,on the  same column we are having order by clause.
1.Table is having statistics.
2.Table is not having statistics.
ASKER CERTIFIED SOLUTION
Franck Pachot
Oracle DBA

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 5 Answers and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 5 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros