File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to compare two queries based on efficiency

 
raj malhotra
Ranch Hand
Posts: 288
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
If i have given two queries with same purpose,How can i find out which is more efficient?
Thanks
Raj
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Databases include query analysis tools for this purpose. Which database are you using?
 
raj malhotra
Ranch Hand
Posts: 288
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oracle 10g
quick googling result in Oracle Query Analyser 2.0.3. I hope you are talking about it.

thanks
Raj
[ December 18, 2008: Message edited by: raj malhotra ]
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by raj malhotra:
Oracle 10g
quick googling result in Oracle Query Analyser 2.0.3. I hope you are talking about it.

thanks
Raj

[ December 18, 2008: Message edited by: raj malhotra ]


Nope. Oracle has its own tools to do this. Have a read through your Oracle documentation for "explain plans".
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic