Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > SQL Language
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 21st, 2006, 12:52 AM
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to use v$sqlarea to see explain plan

Hi,
   Can any one tell me how to see the explain plan or any related features (for example whether it is going thro all created indexes or not) by using view v$sqlarea and its column sql_text.
   Please give me any other suggestions.


Regards,
ramanadyv



Reply With Quote
  #2 (permalink)  
Old April 5th, 2006, 08:14 AM
Authorized User
 
Join Date: Mar 2006
Location: , , India.
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi
to use explan plan.. u should have right to create table plan table
Then run the script utlxplan (generally located at folowing location)
ORACLE_HOME\rdbms\admin\utlxplan.sql

execute one of the statement..

set autotrace on explain -- generally used (shows data of select stmt followed by plan)
set autotrace on statistics
set autotrace on explain statistics

set autotrace traceonly explain
set autotrace traceonly statistics
set autotrace traceonly explain statistics

set autotrace off explain
set autotrace off statistics
set autotrace off explain statistics


Regards
Milind

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Execution Plan of a Query asuni SQL Server 2005 0 August 6th, 2008 03:42 AM
How to delete a wizard plan... RinoDM SQL Server 2005 0 July 18th, 2007 10:13 AM
explain plan with bind variable ramanadyv SQL Language 0 March 2nd, 2006 05:06 AM
Maint Plan Optimization Failing dhay1999 SQL Server 2000 2 July 21st, 2004 02:24 AM



All times are GMT -4. The time now is 06:26 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.