How to view Execution Plain stored in statspack repository?

Hi everyone!
I would like to know how see the execute plain of a query that is stored in statspack repository. My oracle is 8i (8.1.7).
In the oracle 9i there is an script called SPREPSQL that recover it, but in the oracle 8i it does not exist.
Any idea for my problem?
Marcelo Barleta

Sure,
The data in Oracle 9i is derived from v$sql_plan.
V$sql_plan is a new addition in Oracle 9i, so this is not possible in 8i.
Apart from that, Oracle 8i is in sustained support, so Oracle is not going to do anything.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • HT4910 How to view my photos stored in icloud and manage those

    HI,
    How to view my photos stored in icloud and manage those

    Use the PhotoStream tab of the iOS photos app.

  • How to view execution history for any date in oracle SQL developer tool ?

    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.

    sb92075 wrote:
    943838 wrote:
    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.it will never occurWhy not? Are you a member of the product team that develops SQL Developer?
    To the OP, there is a forum for SQL Developer
    SQL Developer
    And there's also a sticky on the forum for product enhancement requests
    "Feature Requests, Extensions and General Collateral "
    Cheers,

  • How to embed a Video stored in KM repository on html page

    Hi All,
    I have a requirement to embed a video stored in KM repository on html page.
    My html page and related file referred in html code below (highlighted) are stored at following path in KM “root>documents>test” with the same name as mentioned in code.
    Code which I got from net for embedding an .flv file on html is mentioned below but how should I modify it to take files stored in KM.
    <html>
    <head>
    <title>Flash Test</title>
    </head>
    <body>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="Jacksonville" name="movie" width="425" height="305" align="center" id="movie">
                               <param name="allowScriptAccess" value="sameDomain" >
                               <param name="movie" value="<b>player.swf</b>?file=<b>Radvan_001MEDWHI.flv</b>" >
                               <param name="menu" value="false" >
                               <param name="quality" value="high" >
                               <param name="scale" value="noborder" >
                               <param name="salign" value="lt" >
                               <param name="wmode" value="transparent" >
                               <param name="bgcolor" value="#000000" >
                               <embed src="<b>player.swf</b>" menu="false" quality="high" scale="noborder" salign="lt" wmode="transparent" bgcolor="#000000" width="425" height="305" swliveconnect=true id="movie" name="movie" align="left" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="<b>install_flash_player_active_x.msi</b>" >
                             </object>
    </body>
    </html>
    Please guide me for the same.
    Regards,
    Madhvika

    Hi,
    I have stored all the files referred in code ( player.swf, install_flash_player_active_x.msi and Radvan_001MEDWHI.flv ) at root>documents >test folder in KM repository
    <u><i>Julian</i></u>
    My requirement is to know, what path i should give for the files highlighted with bold in my code as they are stored in KM .
    <i><u>
    Praveen</u></i>
    Can you please tell me how should I modify these lines in code (name of video file is Radvan_001MEDWHI.flv)
    <param name="movie" value="player.swf?file=Radvan_001MEDWHI.flv" >
    embed src="player.swf"
    pluginspage="install_flash_player_active_x.msi" >
    Regards,
    Madhvika

  • How to view all files stored in iCloud

    How do I view all my files stored on iCloud?
    I purchased additional iCloud memory space , backed up my iPhone then deleted videos from my iPhone to free up space.
    Now I would like to retrieve a home video. Where/how do I see what's saved in my iCloud account?

    You can't use iCloud to free up space on your phone like that.  Videos are only stored in the iCloud backup, and can only be accessed by restoring the backup to your phone.  However, if you delete the videos from your phone and continue to back up, the backup containing the deleted videos will be overwritten by one that doesn't and they will be lost.  Hopefully haven't backed up your phone since you deleted these videos.  If not, restore the backup to your phone to recover them.
    In the future, import your camera roll photos and videos to you computer using your usb cable as explained here: http://support.apple.com/kb/HT4083.  Then you can delete them from your phone and sync them back later if you ever want to.

  • How to view the messages stored in my memory card

    hey..
    i have just bought the c6-01..and my prev memory card has my messages which are imp ..is there a way frm which i can view those messages 
    thank u

    Symbian^3 currently has no way of looking at stored messages in the memory card. If you would like to access them, load the memory card back to your old phone and sync them to your PC via Ovi suite where these messages can be read on the program. You can move these to the C6-01 via Ovi Suite should you desire to do so.
    If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • How to view WiFi password, stored in the Microsoft cloud?

    For a time I used Windows 8.1 on my laptop, i found my WiFi pass automatic synced. But as I installed Windows 10 Technical Preview, I found that my pass wasn't synced. Is there a way to extract it from the cloud somehow? The point is I have no access to
    my router now, and there is no other way. Thanks.

    Hi altproject,
    I agree with ZigZag. From the information of the sync settings, there is no option to indicates it would sync the password of WiFi. It only sync the passwords you saved in Windows apps, the ones you used to access other computers on your network and the
    HomeGroup and the passwords used to access websites in Internet Explorer.
    Thus if you cannot get the router and you don't remember to the password of the wifi, you cannot access the wifi network. And If you are not in the proper distance, you cannot receive the Wifi signal.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • HOW TO VIEW SPATIAL DATA

    I don4t know how to view spatial data stored in an oracle database with a graphic representation.
    Are any ORACLE product to do this? Or any third party product?
    Thanks

    In Oracle 8.1.6, OEM ships with a simple
    Java viewer to help you tune your data.
    At the command line, type:
    oemapp sdoadvisor
    In Oracle's next release (8.1.7) the JDBC
    access to Oracle Spatial types is
    much faster (more comperable to OCI access).
    You will see the improved performance
    in the OEM tool.
    =====
    There is also an unsupported Motif visualizer
    (written in PRO*C and OCI).
    You can download the motif viewer at:
    http://technet.oracle.com/products/spatial/
    under "sample code".
    It is compiled for Solaris, but you
    can compile it for any UNIX platform.
    Hope this helps. Thanks.
    Dan

  • Hi i am using oracle 10g how to view the content of the stored procedure or trigger ?

    Hi i am using oracle 10g .How to edit  the content of the stored procedure or trigger ?

    jklopkjl wrote:
    Hi i am using oracle 10g .How to view the content of the stored procedure or trigger ?
    query ALL_SOURCE
    SQL> desc all_source
    Name                                      Null?    Type
    OWNER                                              VARCHAR2(30)
    NAME                                               VARCHAR2(30)
    TYPE                                               VARCHAR2(12)
    LINE                                               NUMBER
    TEXT                                               VARCHAR2(4000)

  • How to view stored procedure using SQLPlus

    I have created the following stored procedure in Oracle, I would like to know how to view this stored procedure using SQLPlus:
    CREATE PROCEDURE get_product_code(prod_no IN VARCHAR2) IS
         CURSOR Getno IS
              <my_query_goes_here>
         BEGIN
              For Getno_cur IN Getno LOOP
              DBMS_OUTPUT.PUT_LINEGetno_cur.name);
              END LOOP;
         END;
    run;

    Hi,
    You can also use USER_SOURCE in place of ALL_SOURCE, for getting your own procedure code (or any pl/sql schema object).
    Regards

  • Executions Plans stored on CACHE

    Hello Friends and Oracle Gurus...
    I'm not much expert on Execution Plan but I have a select on Oracle 9.2.0.1.0 Windows 2003 server that takes too long since a few days ago...
    When I look on E.Manager, Session Details... its doing a full table scan in one of my tables....
    But just above the Execution Plan is a message saying..
    EXECUTION PLAN STORED ON CACHE: MODE: ALL_ROWS
    However, my OPTIMIZER_MODE is CHOOSE and all tables on select have statistics up to date...
    How Did Oracle use this plan and how eliminate it and use another one? that would accept CHOOSE because the statistics?
    Tks for everyone

    Guys..
    here is the select I was talking about
    SELECT SUM(NOTAS_ITENS.QUANTIDADE),NOTAS_ITENS.CHAVE_NOTA, NOTAS_ITENS.NUMPED,SUM(NOTAS_ITENS.PESO_BRUTO),NOTAS_ITENS.CHAVE_ALMOXARIFADO,
    NOTAS_ITENS.VALOR_TOTAL, NOTAS_ITENS.CHAVE,
    PRODUTOS.CPROD, PRODUTOS.CODIGO, PRODUTOS.DESCRICAO, PRODUTOS.LOCACAO, PRODUTOS.VASILHAME,PRODUTOS.PESO_LIQUIDO,
    UNIDADES.UNIDADE,
    PERICULOSIDADE.DESCRICAO
    FROM NOTAS_ITENS, PRODUTOS, UNIDADES, PERICULOSIDADE
    WHERE (NOTAS_ITENS.CHAVE_PRODUTO = PRODUTOS.CPROD)
    AND (NOTAS_ITENS.QUANTIDADE > 0)
    AND (PRODUTOS.CHAVE_UNIDADE = UNIDADES.CHAVE)
    AND (PRODUTOS.CHAVE_PERICULOSIDADE = PERICULOSIDADE.CHAVE(+))
    AND ( CHAVE_NOTA IN
    (SELECT CHAVE FROM NOTAS WHERE CHAVE = CHAVE AND (NOTAS.ATIVA = 'SIM') AND (NOTAS.IMPRESSO_ROMANEIO = 'NAO')))
    GROUP BY PRODUTOS.CPROD, PRODUTOS.CODIGO, PRODUTOS.DESCRICAO, PRODUTOS.LOCACAO, PRODUTOS.VASILHAME, PRODUTOS.PESO_LIQUIDO,
    UNIDADES.UNIDADE,
    PERICULOSIDADE.DESCRICAO,
    NOTAS_ITENS.CHAVE_NOTA, NOTAS_ITENS.NUMPED, NOTAS_ITENS.CHAVE_ALMOXARIFADO, NOTAS_ITENS.CHAVE, NOTAS_ITENS.VALOR_TOTAL
    ORDER BY NOTAS_ITENS.CHAVE;
    and here is the execution plan for him..
    0 SELECT STATEMENT Optimizer=CHOOSE (Cost=10615 Card=66372 Byt
    es=11747844)
    1 0 SORT (GROUP BY) (Cost=10615 Card=66372 Bytes=11747844)
    2 1 HASH JOIN (Cost=8855 Card=66372 Bytes=11747844)
    3 2 TABLE ACCESS (FULL) OF 'UNIDADES' (Cost=2 Card=30 Byte
    s=240)
    4 2 HASH JOIN (OUTER) (Cost=8851 Card=66372 Bytes=11216868
    5 4 HASH JOIN (Cost=8696 Card=66372 Bytes=9225708)
    6 5 TABLE ACCESS (FULL) OF 'PRODUTOS' (Cost=98 Card=19
    01 Bytes=171090)
    7 5 HASH JOIN (Cost=8584 Card=66387 Bytes=3252963)
    8 7 VIEW OF 'index$_join$_005' (Cost=347 Card=13193
    Bytes=171509)
    9 8 HASH JOIN
    10 9 HASH JOIN
    11 10 INDEX (RANGE SCAN) OF 'NOTAS_ATIVA_IDX' (N
    ON-UNIQUE) (Cost=140 Card=13193 Bytes=171509)
    12 10 INDEX (RANGE SCAN) OF 'NOTAS_IMPRESSO_ROMA
    NEIO' (NON-UNIQUE) (Cost=140 Card=13193 Bytes=171509)
    13 9 INDEX (FAST FULL SCAN) OF 'NOTAS_PK' (UNIQUE
    ) (Cost=140 Card=13193 Bytes=171509)
    14 7 TABLE ACCESS (FULL) OF 'NOTAS_ITENS' (Cost=8170
    Card=265547 Bytes=9559692)
    15 4 TABLE ACCESS (FULL) OF 'PERICULOSIDADE' (Cost=2 Card
    =1 Bytes=30)
    Estatística
    0 recursive calls
    0 db block gets
    855476 consistent gets
    83917 physical reads
    0 redo size
    1064 bytes sent via SQL*Net to client
    368 bytes received via SQL*Net from client
    1 SQL*Net roundtrips to/from client
    1 sorts (memory)
    0 sorts (disk)
    0 rows processed
    Note that the cost for the HASH JOIN is high-- Is there anyway to get it lower ?
    Note that Oracle performs FTS on NOTAS_ITENS table which is quite big for ue... I tryied a lot of hints but none of them avoid FTS ...
    Any tips ?

  • How can I Use a Stored Procedure from Microsoft SQL Server?

    Hi All,
    Would like to use stored procedure as my data service in Visual Composer.
    Our version is VC7.0 SP20.
    Is stored procedure feasible? What is the system that i need to create  in Enterprise Portal? Currently i have BI JDBC System which only allows me to search for tables from SQL Server.
    Much appreciate your help.
    Thanks & Regards,
    Sarah

    Hi Skif,
    Referring to my post: JDBC System Connection VS BI JDBC System Connection
    I do not even able to view list of stored procedure. I need help too..maybe you can show me how do you set the connection? What are the mandatory connection properties? I have filled up:
    - Connection URL
    - Driver class name
    - User Administration: User, Admin (I did user mapping too)
    The error message that i got is:
    com.sap.guimachine.portalconnector.commandhandler.CommandException: Failed to connect to backend system. Check your system definition and user privileges.#
    I had assigned full control to the DB user, and map my portal user to that DB user.
    Many Thanks,
    Sarah

  • How to view cursor values while in DEBUG mode

    I am using SQL developer 1.5.1 and I am debugging my Stored Procedure.
    I cannot find how to view the contents of variables as I step through the code.
    For example, I have the following IF:
    IF NVL(rat_rec.rat_css_agency_cd, -1) != NVL(lclcssagencycd, -1) THEN
    lclupdate := TRUE;
    END IF;
    I want to be able to see what is the value of rat_rec.rat_css_agency_cd and also lclcssagencycd, to see why it is evaluating this IF statement to be true.
    In other words it is saying rat_rec.rat_css_agency_cd is NOT the same as lclcssagencycd, but I want to see what the differences are and need to be able to 'look' at the value of each variable.
    It is NOT showing on SMART DATA or DATA.
    I have not used SQL Developer much before, so must be missing something.
    (In VB, I can debug a routine and then stop on a variable and press SHIFT+F9 to see the contents of the fields. I want to do the same thing in SQL DEVELOPER).

    Yes, I do.
    I am able to step through the code and if I stop on a particular line of code, I want to be able to evaluate the variables or cursor fields that I am on to see what their contents are.
    Sean

  • Using VIEW inside a stored procedure

    Hi,
    So I have a View designed in one file that validates someone who is authorized.
    Then I have a stored procedure to display authorized stationeries created before a given date. Its takes a parameter @CreatedOn.
    How can I use VIEW in my stored procedure so I can display all the authorized which are set 1 before a given date?
    My VIEW:
    ALTER VIEW vw_AuthorizedStationeries AS
    SELECT Authorized
    FROM dbo.Stationeries
    WHERE Authorized = 1
    And my stored procedure:
    CREATE PROCEDURE usp_stationeries (@CreatedOn datetime)ASBEGINSELECTFROMENDGO
    Thanks!

    Try something like below, You need to replace CreatedDate column with appropriate date column in your table.
    1. Alter the view to get the required date:
    ALTER VIEW vw_AuthorizedStationeries AS
    SELECT Authorized, CreatedDate
    FROM dbo.Stationeries
    WHERE Authorized = 1
    2. Alter SP:
    CREATE PROCEDURE usp_stationeries (@CreatedOn datetime)
    AS
    BEGIN
    SELECT Authorized
    FROM vw_AuthorizedStationeries
    WHERE CreatedDate <= @CreatedOn
    END
    GO
    OR
    You can pull required information directly from your table:
    CREATE PROCEDURE usp_stationeries (@CreatedOn datetime)
    AS
    BEGIN
    SELECT Authorized
    FROM dbo.Stationeries
    WHERE CreatedDate <= @CreatedOn and Authorized = 1
    END
    GO
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

  • How to convert SQL server stored procedures to Oracle 11g

    Hi Experts,
    In SQL server 30 stored procedures are there how to convert all the stored procedure
    from SQL server to Oracle 11g.
    Please help me,
    Thanks.

    ramya_162 wrote:
    In SQL server 30 stored procedures are there how to convert all the stored procedure
    from SQL server to Oracle 11g.
    The single most fundamental concept you need to understand (grok in its fullness) is:
    ORACLE IS NOT SQL-SERVER
    There is very little, to NOTHING, in common between T-SQL (a language extension to SQL) and PL/SQL (integration of SQL with the language Ada, part of ALGOL family of languages that includes Pascal and C++).
    So taking a T-SQL procedure and porting it as is to PL/SQL is plain stupid.
    Why?
    Oracle sucks at trying to be SQL-Server.
    So how do you migrate from SQL-Server to Oracle?
    By taking the REQUIREMENTS that the T-SQL procedures address, and addressing these requirements using Oracle SQL and PL/SQL.

Maybe you are looking for

  • Do I need a 64 bit processor on my Mac Pro to run CS6 and Lightroom 4?

    I would like to install Adobe CS6 and Lightroom 4 on my 2008 Mac Pro but may not have the right processor to run it.  I know I will have to upgrade my OS X 10.5.8 to at least OS X 10.6.8.  The system requirements specify a Multicore Intel processor w

  • How to print an envelope

    is there some way to print an envelope with a macbook pro?  searched for envelope but help never heard of the term.

  • How to find out which renderer is lagging

    When submitting an AE render, it appears that one node (of seven) is not processing frames as quickly as the others. In fact several minutes goes by before the entire job finishes in the batch window, though all the frames have been written out to th

  • 11.5.10 : Modifying read only property of columns

    Hi All, I am having an advanced table with 4 columns and all of them are editable [value is entered through an LOV]. My requirement is that if user enters value in one column then all other columns should become read only [in that row only]. Can some

  • IPhoto library won't display, "Loading Photos" endlessly

    Iphoto won't display the library, it shows the loading photos graphic endlessly. Tried deleting all relevant metadata (files in iphoto library folder and library>preferences) and repairing disk permissions, to no effect. Did not move or rename iphoto