Formatting html file for an explain plan.

Hi,
I would like to create a formatting html file for an explain plan.
Oracle 11.2.0.3 on Linux.
I can't use DBMS_XPLAN.DISPLAY_PLAN beacuse I get the info from the memory cursor and and I can't set the statement_id.
How can I do that?

user10931224 wrote:
Hi,
I would like to create a formatting html file for an explain plan.
Oracle 11.2.0.3 on Linux.
I can't use DBMS_XPLAN.DISPLAY_PLAN beacuse I get the info from the memory cursor and and I can't set the statement_id.
How can I do that?
does SQL_ID reside within AWR repository?

Similar Messages

  • How do I Open an HTML file for iOS?

    How do I open an HTML file for iOS using acrobat?

    This is a forum for Adobe Reader for iOS. Acrobat doesn't run on iOS. You need to run it on a Mac or Windows computer. In Acrobat, you can choose File > Create > PDF from Web Page to do what you want. You cannot do that in iOS.

  • What privileges needed for producing explain plan for other user's object ?

    Hi there,
    What privileges needed for producing explain plan for other user's object (tables) ?
    Cheers
    Soheil

    Experiment: (public plan table exists)
    create user bob identified by bob;
    grant create session to bob;
    connect bob/bob
    start sample_plan
    If will error off on the table being read in the plan
    connect dba_or_privileged_user
    grant select on the referenced_table(s) to bob;
    connect bob/bob
    start sample_plan
    It will now work providing a public plan table exists or you give bob create table and create a bob.plan_table
    I ran the experiment on Oracle version 9.2.0.6 running on AIX 5.3. Select privilege on all referenced tables in the explained SQL must exist
    HTH -- Mark D Powell --

  • Can't send a html file for review

    I am a beginner with Dreamweaver. I have created an index home page and wanted other people to review and critique the page, but when i e-mail the index.html file it opens incompletely and without content in their browsers. Seems it will only open correctly on my computer on which the file was created. Dropbox will not work or Google Cloud. Please help.
    Thank you
    As an add on to my question, when i try to share the page within my browser, i get an error message saying the page is secure or is not accessible by the public.

    Ultimately, you'll need to purchase a domain name *yourName.com* and obtain commercial web hosting for your site.  Once you have a domain name & web hosting in place, you upload your page(s) and dependant files to that web space for the world to see.  
    If you don't have web hosting yet, you can obtain a temporary free space below.
    http://www.000webhost.com/
    Also, many ISPs offer a small, free web space with their plans (Earthlink, AT&T, Verizon, etc...)
    Nancy O.

  • Is plan_table necessary for an explain plan?

    Hi, I've noticed that an explain plan for a query can be obtained by setting autotrace on. However, when I get a result from the autotrace, it shows no records in the plan_table table. I just want to check with others to make sure it's clear that a plan_table table isn't necessary to obtain an explain plan for a query. I've also noticed that when I hit the explain plan button in sql developer, there's no records in the plan_table table.

    Girish Sharma wrote:
    arizona9952 wrote:
    Hi, I've noticed that an explain plan for a query can be obtained by setting autotrace on. However, when I get a result from the autotrace, it shows no records in the plan_table table. I just want to check with others to make sure it's clear that a plan_table table isn't necessary to obtain an explain plan for a query. I've also noticed that when I hit the explain plan button in sql developer, there's no records in the plan_table table.What is your sql developer version ? If it is 3.0 then sql developer rollbacks the rows after fetching the plan for display. So you must rely on the Autotrace or Explain Plan result tabs.
    Similar discussion in below thread:
    Choose specific plan_table in SQL Developer 2+?
    Regards
    Girish SharmaThanks Girish. I'm running SQL developer version 3.1, so that explains why the plan_table table shows empty after I run an explain plan in SQL developer.

  • Tuning needed for sql:EXPLAIN PLAN attached

    DB Version:10gR2
    The below sql was running slow, so i took an explain plan
    SQL> explain plan for
      2  SELECT COUNT(1) FROM SHIP_DTL WHERE
      3  SHIP_DTL.PLT_ID = 'AM834'
      4  AND SHIP_DTL.WHSE = '34' AND
      5  SHIP_DTL.STAT_CODE != '845'
      6  ORDER BY SHIP_DTL.LOAD_SEQ ASC;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    | Id  | Operation                    |  Name             | Rows  | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT             |                   |     1 |    18 |     5  (20)|
    |   1 |  SORT AGGREGATE              |                   |     1 |    18 |            |
    |*  2 |   TABLE ACCESS BY INDEX ROWID| SHIP_DTL        |   200 |  3600 |     5  (20)|
    |*  3 |    INDEX RANGE SCAN          | SHIP_DTL_IND_4  |   203 |       |     3   (0)|
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
       2 - filter("SHIP_DTL"."WHSE"='34' AND "SHIP_DTL"."STAT_CODE"<>845)
       3 - access("SHIP_DTL"."PLT_ID"='AM834')Why is there an INDEX RANGE scan where there is no BETWEEN operator in the query? What are various options(indexes, rewriting query) in tuning this query?

    james_p wrote:
    DB Version:10gR2
    The below sql was running slow, so i took an explain planCheck your plan, the optimizer estimates that the following query:
    select count(*)
    from SHIP_DTL
    where "SHIP_DTL"."PLT_ID"='AM834';only returns 200 records. Is this correct? Please post the result of above query.
    It probably isn't the case, because retrieving 200 records per index range scan and single row random table access shouldn't take long, at maximum a couple of seconds if you need to read each block actually from disk rather than from the cache.
    If the estimate is wrong you need to check the statistics on the table and index that were used by the optimizer to come to that conclusion.
    Are you sure that this plan is the actual plan used at execution time? You can check for the actual plans used to execute by using the DBMS_XPLAN.DISPLAY_CURSOR function in 10g if the SQL is still cached in the Shared Pool. You need to pass the SQL_ID and SQL_CHILD_NUMBER which you can retrieve from V$SESSION while the statement is executing.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Deployment of static html files (for the documentation of the application)

    I'm developing with forms 11g for windows and deploying on linux.
    I want to deploy the help docs of my application, which I've already migrated from hlp to html / css.
    Now, I would like to know where can I deploy that html files to invoke them with web.showdocument (for example).
    To what path is relative the url in the web.showdocument built in?
    Can I jar them as I did with the icons?

    ok, thanks anyway,
    Maybe the problem is with my weblogic configuration, as it is a windows developer workstation.
    I'll send instructions to the sysadmin and try to do it in the linux deployment server.
    I've tried also with WLExcludePathOrMimeType , as read in the manual this
    Note:
    When including any user-defined aliasMatch with the prefix /forms/ in forms.conf, add the directiveWLExcludePathOrMimeType. For example, in Linux, when defining the aliasMatch for /forms/usericons in forms.conf, the directive WLExcludePathOrMimeType is defined as following:
    AliasMatch /forms/usericons/(..*) "/home/userx/myicons/$1" WLExcludePathOrMimeType /forms/usericons/

  • Modifying the HTML files for a service

    Hi All:
    We are in SAP R/3 4.6c and EP 6.0.  We will be using the standalone ITS for our ESS Services.
    We would like to modify the standard delivered service for edit skills - PZ31_EWT.
    What is the procedure for modifying the HTML files.  Where can we see the HTML files associated with a service ?
    Is it on the ITS side or via SE80?
    Thanks
    Rachel

    Hi Rachel,
    You've just about reached the limits of what I know about changing ESS ITS services I'm afraid.
    I didn't see PZ31_EWT listed under Internet services either so Im guessing the ITS service PZ31 name remains unchanged. If you double click on the top level folder in the tree, called PZ31, the details of the ITS service are displayed. Its not obvious that you can do this as it just looks like a folder, but if you do and select the Parameters tab you can see if lists TRANSACTION=pz31 and WEBTRANSACTIONTYPE =EWT which sounds suspiciously similar to what you were expecting.
    You could test this by putting some text in the PZ31 HTML template, publishing, and checking it is displayed.
    You can (copy and) modify the templates with straight HTML and the Business HTML macro language, which is a bit of a black art but you can access the help via the 'Business HTML overview' button on the toolbar.
    I found a sentence in my handover notes from an ESS guru that reads 'Customization to ESS page layout are not easily done. You need to copy and modify the ITS service and edit the business HTML templates'.
    The only other way I know to modify ESS is through the SPRO transaction.
    Thats about all I can tell you about ESS Im afraid!
    Cheers,
    Steve

  • Converting an HTML file for use in browsers

    Hi Guys and gals,
    I am new to creating java programs to run within a Web environment - thus my reason for asking this question. I hope this is the apropriate forum to point this question to.
    I have created an applet which is invoked inside an HTML file. The HTML is fairly simple, although it does pass a number of parameters for use within the applet.
    I have run the HTML file within Sun's Appletviewer and it works fine. Now I need to convert the HTML for use in Browsers supporting Java 2.
    What is the best resource to use to perform this conversion ? I understand some type of Converter or Plug in is available to perform this task. Can anyone help me out ?

    The easiest way is to use SUNs HTML convertre program.
    You can find the information about the JAVA plugin and how to create the HTML code at
    http://java.sun.com/products/plugin/1.3/docs/html_converter.html
    and
    http://java.sun.com/products/plugin/1.3/docs/tags.html
    Oliver

  • I have been asked to supply a HTML file for a newsletter. I have created the newsletter in muse CC. How do I export it to HTML or show client befroe going live?

    How do I share work created in muse with my client? How do I supply a HTML file?

    Hello,
    Either you can Export it as HTML and Share the exported folder with client or you can Publish a temporary site using Publish option with Business catalyst.
    1. Export as HTML:
    Go to File > Export as HTML , Select the location where you want to export the file and click OK.
    This will give you HTML and all other related files to view the newsletter.
    2. Publish a Temporary Site:
    Go to File > Publish or Publish to Business Catalyst,
    This will generate a temporary link as example.businesscatalyst.com and you can share that link with your client.
    Regards
    Vivek

  • Parsing error in html file for xml

    Can anyone tell me why this code doesn't work?<br /><br /><HitMenus><br /><format bar_color="FFFFFF" bar_alpha="20" divider_color="FFFFFF" mouse_over_color="CCCCCC" text_color="000000" text_hover_color="000000" menu_box_color="FFFFFF" menu_box_alpha="100" header_images="yes"/><br /><link name="About Us" location="http://www.circletfarms.org/../images/" img="toms farm2jpg" mode="url" target="-main"><br /><sublink name="Tom's Story" location="http://www.circletfarms.org/../Promise.html"  mode="url" target="-main"><br /><sublink name="Our Mission" location="http://www.circletfarms.org/../Our Mission.html" mode="url" target="-main"/><br /><sublink name="Tom's Mission" location="http://www.circletfarms.org/../Toms Mission.html" mode="url" target="-main"/><br /><sublink name="Contact Us" location="http://www.circletfarms.org/../Contact Us.html" mode="url" target="-main"/><br /><br /><link><br /><link name="Our Programs" location="http://www.circletfarms.org/../images/programs.jpg" mode="url" target="-main"><br /><sublink name="Overview" location="http://www.circletfarms.org/../Our Programs.html" mode="url" target="-main"/><br /><sublink name="Weaving" location="http://www.circletfarms.org/../art and weaving.html#Weaving" mode="url" target="-main"><br /><sublink name="Art Lessons" location="http://www.circletfarms.org/../art and weaving.html" mode="url" target="-main"/><br /><sublink name="Cooking Classes" location="http://www.circletfarms.org/../cooking and bakery.html" mode="url" target="-main"/><br /><sublink name="Gardening" location="http://www.circletfarms.org/../veggies and herbs.html"  mode="url" target="-main"><br /><sublink name="Bakery" location="http://www.circletfarms.org/../cooking and baking.html#Bakery" mode="url" target="-main"><br /><sublink name="Pottery and Sculpting" location="http://www.circletfarms.org/../pottery shop.html" mode="url" target="-main"/><br /><sublink name="Woodshop" location="http://www.circletfarms.org/../pottery shop.html#Woodshop" mode="url" target="-main"><br /></sublink><br /><link><br /><link name="Important Information" location="http://www.circletfarms.org/../" img="stats.jpg" mode="url" target="-main"><br /><sublink name="Statistics" location="http://www.circletfarms.org/../stats.html" mode="url" target="-main"/><br /><sublink name="Residential Services" location="http://www.circletfarms.org/../stats.html#Growth" mode="url" target="-main"/><br /><sublink name="Aging Caregivers" location="http://www.circletfarms.org/../stats.html#Aging" mode="url" target="-main"/><br /><sublink name="The 317 Plan" location="http://www.circletfarms.org/../stats.html#Plan" mode="url" target="-main"/><br /><br /><link><br /><link name="The Application Process" location="http://www.circletfarms.org/../images/" img="flowers2.jpg" mode="url" target="-main"><br /><sublink name="Application Process" location="app process.html#Application" mode="url" target="-main"/><br /><sublink name="Who Qualifies?" location="http://www.circletfarms.org/../app process.html" mode="url" target="-main"/><br /><sublink name="Who Pays?" location="http://www.circletfarms.org/../app process#WhoPays" mode="url" target="-main"/><br /><br /><link><br /><link name="Our Partners" location="http://www.circletfarms.org/../images/" img="partners.jpg" mode="url" target="-main"><br /><sublink name="Training For Life" location="http://www.circletfarms.org/../training4life.org" mode="url" target="-main"/><br /><sublink name="La Mesa RV" location="http://www.circletfarms.org/../La Mesa RV.html" mode="url" target="-main"/><br /><sublink name="Beaudry RV" location="http://www.circletfarms.org/../Beaudry.html" mode="url" target="-main"/><br /><sublink name="Skedaddle Fundraisers" location="http://www.circletfarms.org/../skedaddle.html" mode="url" target="-main"/><br /><sublink name="Hot Monkey Graphics" location="http://www.circletfarms.org/../hot monkey.html" mode="url" target="-main"/><br /><br /><link><br /><link name="How You Can Help" location="http://www.circletfarms.org/../Images" img="flower1.jpg" mode="url" target="-main"><br /><sublink name="Volunteering" location="http://www.circletfarms.org/../help.html" mode

    Hi, Ranjan.
      First of all, let's look at the meaning of the error.
    > ...Exception: ERROR converting document line no. 2 according to
    > structure 'GL_FileUpload_SAPECC_Header_DT1':java.lang.Exception:
    > ERROR in configuration: more elements in file csv structure than
    > field names specified!
      It seems that XI interpreted 2nd line as
    Header_DT1 not as Item_DT1 that you meant.
    >  GL,GLI,4011,3011,,,,,,AU,600,7000,8000,9000,5000,RK,,,,,,,,,,,,,,,,,,,,
      That's why it says this line has more elements than the structure
    defined(Header_DT1)
      And the reason why XI misinterpreted the above as Header is that
    you used keyFieldValue with the same value.
    > ...Header_DT1.keyFieldValue: GL
    > ...Item_DT1.keyFieldValue: GL
      According to the following help,
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    it says like the following.
    Key Field Name
    If you specified a variable number of substructures for Recordset
    Structure, in other words, at least one substructure has the value
    ‘*’, then the substructures must be identified by the parser from
    their content. This means that a key field must be set with different
    constants for the substructures. In this case, you must specify a key
    field and the field name must occur in all substructures.
    How about using different constants for header and item if possible?
    Good luck.

  • Format of files for calendar, tasks and address book to export/sync

    My idea is to sync the files that are used by TB/Lightning, to manage my calendar, tasks and the address book.
    My question is, in which files calendar, tasks, address book are saved and which format do these have?
    Do I NEED to export each of them, before managing them with another software? (Icedove and possibly Android)

    When you export your calendar, it is in an .ics file, both events and tasks. The ics file is a text file which can be edited. RFC-5545 defines the format.
    When you export your address book, there are two formats: CSV is comma separated variables, and can be input to a spreadsheet. LDIF is also a text file and is better for importing into another computer.
    As far as syncing, I'm not sure what you have in mind, but Google is one way to share that data between devices.

  • How to format .m3u files for import? Or is there a spec. for .zpl playlis

    I currently create all my playlists through SlimServer (www.slimdevices.com). The result is .m3u playlists. I'd like to use these same playlists on my Vision M without having to recreate all of them. Writing a script to tweak what the structure of the .m3u is no problem. I've tried the method described here: http://forums.creative.com/creativelabs/board/message?board.id=dap&message.id=0837
    with no luck. Within MediaSource Organizer, I drag my imported playlist into an existing playlist on my Zen, but I always get "Error" or "Rejected" for each entry in the playlist. I think I may not be formatting the paths correctly in the .m3u. The styles of entries I've used include (folder structure below matches what is on the player):
    /Ben Allison/2006 Cowboy Justice/07 Weazy.mp3
    Ben Allison/2006 Cowboy Justice/07 Weazy.mp3
    /Music/Ben Allison/2006 Cowboy Justice/07 Weazy.mp3
    Music/Ben Allison/2006 Cowboy Justice/07 Weazy.mp3
    No luck with any of them. Am I missing something?
    Also, I was wondering if I could just write a script to create a .zpl (apparently creative's own style of playlist file?) file from an .m3u file. But I'd have to know the format of the .zpl file, and if I was able to create one, would I be able to drag-and-drop it into my playlists in Creative Media Explorer? Any ideas here?
    Thanks!

    Just tested an .m3u playlist that looks exactly like this:
    (start file)
    C:\Ben Allison\2006 Cowboy Justice\0 Tricky **bleep**.mp3
    (end file)
    That mp3 exists on C. The same file exists on my ZVM with the same directory structure underneath "Music." I copy the m3u playlist to my device using MediaSource Organizer--the playlist is transferred, but the file is copied to my player again! So now I have two copies of "Tricky **bleep**.mp3" on my player. The new one is copied to the ZVM in a different directory based on its tags (artist\album\track). This is definitely not what I want.
    All I want is to copy over the miniscule playlist files, nothing else. Is this at all possible? And if so, what should the playlist files look like? I was hoping that I'd be able to easily synchronize my home player's playlists (Squeezebox) with the playlists on my ZVM, but this is not looking promising...

  • Keeping Temporary Files Around? Need properly formatted .ali file for a CHM help.

    As part of our localization process, I need to access the .ali file that is in the temporary folder. Back in RH 7, I could just copy the .ali file from the RH project, but in RH 9 it's now in an XML format and isn't in a format directly usable with CHM files. However, when RH compiles the CHM file, the .ali is changed into a format I need. Unfortunately, if I decompile the CHM file, the .ali file isn't there. So my only route is to grab it from the temporary build folder. If I'm compiling a large file, it's not a big deal because I have time to make a copy of the .h file in the temporary folder and paste it somewhere outside of the folder but for smaller projects the temporary folder is around for just a little while before it is removed.
    Does anyone know of a way to keep the temporary build folder around after compilation of a CHM file finishes so I can access this file?
    Thanks,
    Jared
    RH 9.02

    Use the Disk Utility in the /Applications/Utilities/ folder to create a disk image and use the disk image to store the Mac files; they will keep their date and other Mac specific information. The disk image's contents cannot normally be used on a PC.
    There are other ways of doing this if the disk image method doesn't work for some reason; these include using this method of creating partitions, and installing MacDrive on the PCs.
    (16843)

  • Using a URL parameter by the JSP to pull in an html file for dynamic content ??

    I would like to have a simple jsp which could be called from an URL
              with a parameter. I'd like the parameter to be used by the JSP to form
              a filename of a second file. This second will be a chunk of HTML
              which is sucked in to the JSP to form some content in a particular
              HTML table cell.
              The ASP is this :
              <%
              targetPath = Server.MapPath(Request.QueryString("Content")+".txt")
              // makes a variable called targetpath which is a filename called
              something.txt
              Dim filesys, myloadedfile, line
              Set filesys = CreateObject("Scripting.FileSystemObject")
              Set myloadedfile = _
                   filesys.OpenTextFile(targetPath,1,0)
              Do
              // loops round each line of the something.txt file putting them in the
              JSP
                   line = myloadedfile.Readline
              %>
              <%=line%>
              <%
              Loop Until myloadedfile.AtEndOfStream
              myloadedfile.Close
              %>
              Please can someone help me out with some info on the JSP equivalent
              please?
              Thanks Heaps
              Rob
              

              See Content tag on http://www.servletsuite.com/jsp.htm
              This custom tag lets to add any file (even the outisde
              of your web application).
              [email protected] (rob) wrote:
              >I would like to have a simple jsp which could be called from an URL
              >with a parameter. I'd like the parameter to be used by the JSP to form
              > a filename of a second file. This second will be a chunk of HTML
              >which is sucked in to the JSP to form some content in a particular
              >HTML table cell.
              >
              >The ASP is this :
              >
              ><%
              >targetPath = Server.MapPath(Request.QueryString("Content")+".txt")
              >// makes a variable called targetpath which is a filename called
              >something.txt
              >
              >Dim filesys, myloadedfile, line
              >Set filesys = CreateObject("Scripting.FileSystemObject")
              >Set myloadedfile = _
              >     filesys.OpenTextFile(targetPath,1,0)
              >Do
              >// loops round each line of the something.txt file putting them in the
              >JSP
              >     line = myloadedfile.Readline
              >%>
              ><%=line%>
              ><%
              >Loop Until myloadedfile.AtEndOfStream
              >myloadedfile.Close
              >%>
              >
              >Please can someone help me out with some info on the JSP equivalent
              >please?
              >
              >Thanks Heaps
              >
              >Rob
              

Maybe you are looking for