Relations between Views  v$sqlarea,v$sqltext

Hi
What relations between the views v$sqlarea,v$sqltext , v$session
tia
using oracle 9.2.02

Hello,
You'll find below a few links about these dynamics views.
v$sqlarea:
http://download.oracle.com/docs/cd/B10501_01/server.920/a96536/ch3204.htm#1126299
v$sqltext:
http://download.oracle.com/docs/cd/B10501_01/server.920/a96536/ch3205.htm#1126509
v$session:
http://download.oracle.com/docs/cd/B10501_01/server.920/a96536/ch3171.htm#1122127
You can join v$sqlarea and v$sqltext with the columns ADDRESS and HASH_VALUE.
You can also use the columns SQL_ADDRESS and SQL_HASH_VALUE to join with v$session.
Hope this help.
Best regards,
Jean-Valentin

Similar Messages

  • Tool for viewing the relation between tables.

    Hi,
    I imported the schema dump in Oracle 10g R2 DB, there are about 800 plus tables in that schema. I would like to know the relataion between tables.So,What tools are available for viewing the relation between tables?. I have TOAD, and Oracles SQL Developer tolls, if there are any free tools for the same, please let me know the URLs.
    Regards,
    Sabdar Syed.

    Hmmm, for free, except what gave Eric earlier, not easy...
    Here already discuss about that :
    Re: Table Dependencies
    Nicolas.

  • Creating a master-detail relation between a view and a table

    Hi all,
    I have a problem with creating a master-detail relation between a database-view with lots of customer data and a small table with per customer a list of entities of our companies who may work for that customer.
    Somehow I seem to be unable to create a relation between these two. I can't find where I can make a foreign key using Toplink to implement the relationship. And neither can I get a Viewlink object doing the job using ADF Business Components.
    Somebody any suggestions on this problems?
    Regards,
    Birgit

    There is a key relationship between two fields which form the primary key in the main table of the view and two fields in the second table.
    I created a viewlink manually, but I still couldn't get the data correct i.e. a form with one record of a customer from the main view and a small table with all entities of our company who can make performances for that customer.
    I tried to find a manual or a how-to on this topic but I didn't find anything helpfull yet.
    Regards,
    Birgit
    After a couple more tries, I got the master-detail working. With all the fiddling I am not sure what caused the problem but I think the finally action was checking which fields of the view were marked as primary keys.
    Now everthing is up and running.
    Birgit
    Message was edited by:
    user492355

  • Relation between two View

    Hello,
    I have many blocks that based on some views. first every thing is ok when i insert record on them, but when i do an execute query i'm able to navigate between blocks in on way like (next, next) but when do previous i missed the sync between the blocks. So i decided to make some relations between these blocks. i have a main block that i take for my master and i constructed the relations master-details between my main block and others.
    now when i run form i received that error ''FRM-30415 the details block of the relation is a control block'', and it give me the relation's name. I have to mention that the QUERY_DATA_SOURCE_NAME is from clause for every blocks.
    as i said the blocks are based on views.
    could someone help me?

    Is the "Database Data Block" property of the detail block "Yes"?

  • Relation between sales order and purchase requisition in MTO senario

    Hi:
    guru,In MTO sinarnio,for example strategy group is 20 or 50,how to get the raw material requisition according to every sales order item,semi-finished production orders should be exploded to raw material purchase requisition.In other words, how to beulid the relation between them and which tables data can be retrieved?your advice will be appreciated.

    Hi Wang,
    To view Sales Order Itemwise status, use MD4C.
    Keep patience becuase in first go through it may look bit confusing.
    Secondly, to generate Component requirements there are two ways.
    1) Use MD41 - Run it on FERT code. It will generate requirements upto last level of BOM
    or
    2) Use MD02
    2nd option would not work if MRP type 'M0' or equivalent is used in FERT Material master. In that case only 1st option would work.
    Hope your question is answered.

  • Using built-in function in the definition of relation between two blocks...

    Hi ,
    Is it possible to define a relation between two form blocks(db based) ....
    I have a master table such as:
    table : strdet (cols: ms varchar2(10) , det varchar2(10))
    materialized view : mv (cols : det varchar2(10) , sum_a number(5), sum_b number(5))
    and data:
    strdet
    ms                   det
    1                     1.1
    1                     1.2
    1.1                  1.1.1
    1.1                  1.1.2
    1.1.1               1.1.1.1
    e.t.c.
    and for the mv
    det               sum_a     sum_b
    1                   500        300
    1.1                100        200
    1.2                540        150
    e.t.c.
    I have tried some versions of relations so as to create a master-detail relation(in reality , the two blocks are connected via ms.det
    ->mv.det...  but the relation is one-to-one....) . I want a result such as:
    Master block
    1.1
    Detail Block
    1.1.1
    1.1.2
    e.t.c.Is it possible somehow...????
    Note: I use Dev6i and Dev10g ...
    Thanks ,,,
    Sim

    I think you'll have to use a from-clause-query for the detail block. If you join the master table and the mv on the DET column then you can give each row in the detail block a MS column (from the master table) which you can use in the relation.

  • What are the Relations between Journalizing and IKM?

    What is the best method to use in the following scenario:
    I have about 20 source tables with large amount of data.
    I need to create interfaces that join the source tables into target tables.
    The source tables are inserted every few secondes with about hundreds to thousands rows.
    There can be a gap of few seconds between the insert of different tables that sould be joined.
    The source and target tables are on the same Oracle instance and schema.
    I want to understand the role of: 'Journalizing CDC' and 'IKM - Incremental Update' and
    how can i use it in my scenario?
    In general What are the relations between 'Journalizing' and 'IKM'?
    Should i use both of them? Or maybe it is better to deelte and insert to the target tables?
    I want to understand what is the role of 'Journalizing CDC'?
    Can 'IKM - Incremental Update' work without 'Journalizing'?
    Does 'Journalizing' need to have PK on the tables?
    What should i do if i can't put PK (there can be multiple identical rows)?
    Thanks in advance Yael

    Hi Yael,
    I will try and answer as many of your points as I can in one post :-)
    Journalizing is way of tracking only changed data in your source system, if your source tables had a date_modified you could always use this as a filter when scanning for changes rather than CDC, Log based CDC (Asynchronous in ODI, Logminer/Streams or Goldengate for example) removes the overhead of of placing a trigger on the source table to track changes but be aware that it doesnt fully remove the need to scan the source tables, in answer to you question about Primary keys, Oracle CDC with ODI will create an unconditional log group on the columns that you have defined in ODI as your PK, the PK columns are tracked by the database and presented in a Journal table (J$<source_table_name>) this Journal table is joined back to source table via a journalizing view (JV$<source_table_name>) to get the rest of the row (ie none PK columns) - So be aware that when ODI comes around to get all data in the Journalizing view (ie Inserts, Updates and Deletes) the source database performs a join back to the source table. You can negate this by specifying ALL source table columns in your PK in ODI - This forces all columns into the unconditional log group, the journal table etc. - You will need to tweak the JKM to then change the syntax sent to the database when starting the journal - I have done this in the past, using a flexfield in the datastore to toggle 'Full Column' / 'Primary Key Cols' to go into the JKM set up (there are a few Ebusiness suite tables with no primary key so we had to do this) - The only problem with this approach is that with no PK , you need to make sure you only get the 'last' update and in the right order to apply to your target tables, without so , you might process the update before the insert for example, and be out of sync.
    So JKM's provide a mechanism for 'Change data only' to be provided to ODI, if you want to handle deletes in your source table CDC is usefull (otherwise you dont capture the delete with a normal LKM / IKM set up)
    IKM Incremental update can be used with or without JKM's, its for integrating data into your target table, typically it will do a NOT EXISTS or a Minus when loading the integration table (I$<target_table_name>) to ensure you only get 'Changed' rows on the load into the target.
    user604062 wrote:
    I want to understand the role of: 'Journalizing CDC' and 'IKM - Incremental Update' and
    how can i use it in my scenario?Hopefully I have explained it above, its the type of thing you really need to play around with, and throroughly review the operator logs to see what is actually going on (I think this is a very good guide to setting it up : http://soainfrastructure.blogspot.ie/2009/02/setting-up-oracle-data-integrator-odi.html)
    In general What are the relations between 'Journalizing' and 'IKM'?JKM simply presents (only) changed data to ODI, it removes the need for you to decide 'how' to get the updates and removes the need for costly scans on the source table (full source to target table comparisons, scanning for updates based on last update date etc)
    Should i use both of them? Or maybe it is better to deelte and insert to the target tables?Delete and insert into target is fine , but ask yourself how do you identify which rows to process, inserts and updates are generally OK , to spot a delete you need to compare the table in full, target table minus source table = deleted rows , do you want to copy the whole source table every time to perform this ? Are they in the same database ?
    I want to understand what is the role of 'Journalizing CDC'?Its the ODI mechanism for configuring, starting, stopping the change data capture process in the source systems , there are different KM's for seperate technologies and a few to choose for Oracle (Triggers (Synchronous), Streams / Logminer (Asynchronous), Goldengate etc)
    Can 'IKM - Incremental Update' work without 'Journalizing'?Yes of course, Without CDC your process would look something like :
    Source target ----< LKM >---- Collection table (C$) ----<IKM>---- Integration table (I$) -----< IKM >---- Target table
    With CDC your process looks like :
    Source Journal (J$ table with JV$ view) ----< LKM >---- Collection table (C$) ----<IKM>---- Integration table (I$) -----< IKM >---- Target table
    as you can see its the same process after the source table (there is an option in the interface to enable the J$ source , the IKM step changes with CDC as you can use 'Synchronise Journal Deletes'
    Does 'Journalizing' need to have PK on the tables?Yes - at least a logical PK in the datastore, see my reply at the top for reasons why (Log Groups, joining back the J$ table to the source table etc)
    What should i do if i can't put PK (there can be multiple identical rows)? Either talk to the source system people about adding one, or be prepared to change the JKM (and maybe LKM, IKM's) , you can try putting all columns in the PK in ODI. Ask yourself this , if you have 10 identical rows in your source and target tables, and one row gets updated - how can you identify which row in the target table to update ?
    >
    Thanks in advance YaelA lot to take in, as I advised I would reccomend you get a little test area set up and also read the Oracle database documentation on CDC as it covers a lot of the theory that ODI is simply implementing.
    Hope this helps!
    Alastair

  • Find relation between tables

    Hi experts,
    How can I find the relation between tables? I mean, I can go to se 11 and compare each field of 2 tables manually, but it's very time consuming. Is there any possibilty to compare tables and find all the fields that can be found in both table?

    Go to SQVI transaction... Create a qucik view.. ztest.. give desc..etc
    Select data source as table join.... enter
    now one screen will come with blank data (blue scrren)
    in that application toolbar second button .. click that.. enter VBAK..
    click that again.. enter VBAP.. now an image will come with links b/w vbak and vbap.. you can use any no. of tables there....

  • Relation between data blocks

    i want to join two tables with one to one relation between them using oracle form developer 10g but the problem is that using the oracle developer you can only display only one record from the second table at the same time related with current record from the first table,but what i need is to display all the records from the first table with their related records from the second table.( i can make a view joining the two tables, but i want to know if there is a way to do it using the form developer).

    Hi!
    I don't think it's possible to implement using Forms relations. What you can try to do is to create KEY-EXEQRY trigger on your 'master' block with the following content:
    EXECUTE_QUERY;
    GO_BLOCK( 'detail' );
    EXECUTE_QUERY;
    GO_BLOCK( 'master' );
    On block 'detail' create PRE-QUERY trigger. Use :SYSTEM.LAST_QUERY to get WHERE clause from 'master' block to get set of PK or whatever which can be used in 'detail' block to query correspondent set of records, and modify 'detail' block 'WHERE clause' property.
    Another approach whould be to have your 'detail' block PK as a VARCHAR2 field and do something like this:
    :detail.PK := '# IN (' || your_where_clause || ')';
    It's just a rough idea without too much implementation details.
    Regards,
    Andrew Velitchko
    BrainBench MVP for Developer/2000
    http://www.brainbench.com

  • What is the Relation between Inspection Lot, Physical Sample .....

    Hi All,
    I want to know the unique relation between Inpection Lot Number, Physical sample Number, Material Number and Warehouse Number(from LQUA ).
    I have Inspection Lot Number and Physical Sample Number on my selection screen.
    Based on this I have to fetch the details from LQUA.
    I got combination of Lot and sample from the View QAPP_QALS. There is material also in it.
    But I am not understanding how to get the details from LQUA.
    Thanks,
    Bhupal

    Hi Bhupal,
    Just a suggestion, you might consider moving your qns to MM forum, Mr. Jurgen should be able to provide the exact inputs your looking for.
    Regards,
    Vivek

  • What is the relation between FetchSize and Range Size

    Hi
    What is the relation between FetchSize ("in batches of" field) and Range Size in view object tuning section? What would happen if, for example, I set the fetch size to 10 and range size to 5?
    Ferez

    Timo,
    From oracle’s documentation we learn that RangeSize attribute of the Iterator “controls the number of records ADFm requests from the BC layer simultaneously”
    RangeSize Tuning
    This parameter controls the number of records ADFm requests from the BC layer
    simultaneously. The default RangeSize is 25 records. Consider setting this value to
    the number of records to be displayed in the UI simultaneously for the View Object so
    that the number of round-trips between the model and BC layers is reduced to one.
    This is configured in the Iterator attribute of the corresponding page's page
    definition XML.
    and the purpose of FetchSize  is now clear for me but let me ask another question about VO’s rangeSize which you told is used when we use range paging. You mean that when we use range paging so the rangeSize of VO is used to fetch data from database and the FetchSize is ignored in this case? Please correct me if I am wrong.
    Ferez

  • What is the relation between adobe forms and web dynpro

    hi
    what is the relation between adobe forms and web dynpro

    Hi Jyothsna,
    Adobe forms are advanced to smartforms and scripts.
    Adobe forms are much easier than smartforms they are online forms.
    they can be developed online.
    Adobe forms : This is another SAP tool designed to create your own forms. The transaction for this is SFP.
    How to use them: You can create a sales order form in adobe form and send to the sales reps. Sales reps can fill this form when they are not connected to internet / SAP system. Once they connect to SAP just send an e-mail to a specific user id in outlook. You got to customize and code how do you want to process once you receive this form. This enables you to create orders even when you are not connected to the system. Hence no data loss. This is not how i used though :-). This is just my idea.
    What is the difference between Adobe forms and smart forms / scripts.
    Smart forms / scripts are used to show the data in SAP. Most likely you will use these to print / display some kind of reciepts / forms. Many companies must be using this for hard copies / ALE / EDI or to transfer data from SAP to others.
    Adobe forms are used to post data into SAP from SAP too.  So this has an additional feature compared to smartforms.
    Please check this link
    http://www.erpgenie.com/index.php?option=com_content&task=view&id=600&Itemid=77
    Web dynpro in one of the component in NETWEAVER.
    Web Dynpro is the SAP NetWeaver programming model for user interfaces and provides support when developing the Web representation of business applications. The Web Dynpro model is based on the Model View Controller paradigm, and has the following features that build on the classic dynpro model:
    ·        Clear separation of business logic and display logic
    ·        Uniform metamodel for all types of user interfaces
    ·        Execution on a number of client platforms.
    ·        Extensive platform independence of interfaces
    please check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    Best regards,
    raam

  • Relation between AA & ps

    hi experts,
    can anybody explain what is the relation between asset accounting and project systems modules? why do we implement project system module? what is the use?
    thanks & regards
    jay jay

    Hi Jay,
    Both large scale projects, such as building a factory, and small-scale projects, such as organizing a trade fair, require precise planning of the many detailed activities involved. The project manager has the job of ensuring that the project is executed efficiently, on time, and within budget - which he or she achieves by ensuring that the required resources and funds are available as and when needed.
    Projects are generally part of the internal processes of a company. To be able to control all tasks in project execution, you need an organizational form that is specific to the project and which is shared by all departments involved. Before you can carry out a project in its entirety, the project goals must be precisely described and the project activities to be carried out must be structured. A clear, unambiguous project structure is the basis for successful project planning, monitoring, and control.
    You structure your project per the following points of view:
    By structures, using a work breakdown structure (WBS)
    By process, using individual activities (work packages)
    Project managers usually distinguish between two types of project:
    Externally financed projects
    Customer projects
    Internally financed projects
    Overhead cost projects
    Capital investment projects
    The common  understanding between the PS and AA is that an asset is created once a project is completed successfully.
    The high degree of integration between the Project System (PS) and other R/3 application components means that you can plan, execute, and account for projects as part of your normal commercial procedures. This means the Project System has constant access to data in all the departments involved in the project.
    Hope this helps.
    Rgds
    Manish

  • Relation between the BP on EBP and BP on ROS

    Where is can i see relation between the BP on EBP and BP on ROS besides Supplier Monitor?
    What's table?
    I saw BP ROS number in BP on EBP (u201CVendor Datau201D tab, "Link to Backend System" view), but it disappear.

    Hi
    For BP on EBP
    Go to SE16 : Enter BUT* Press F4 ..
    All the BP related tables will appear
    Regards
    G.Ganesh Kumar

  • Relation between URL and content in JSF navigation

    Hello,
    I've tried lots of JSF examples and there always occoured a strange kind of navigation to me:
    The URL you see in the browser's address bar has nothing to do with the actually displayed JSP. Instead of that, the URL is always pointing to the previously called JSP - where the call to the current JSP comes from.
    I know where this comes from:
    If the form tags don't define an action, they are pointing to the current page itself.
    And the actually called navigation case is chosen by a (hidden) post parameter.
    So the JSF controller servlet doesn't actually care, which URL is called - it just regards the mentioned parameter.
    This kind of navigation seems quite confusing, especcially since JSF claims to make navigation clearer.
    One of the basic demands of the web applications we are developing is, to have a clear relation between URL and page content.
    E.g. it must be possible to index the pages with search engines. Or to simply bookmark distinct pages in the browsers favourites.
    Another problem about this navigation concept is, that it always works with forms and with post method (you can't choose get method), even if you just have simple links - e.g. detail view of a single item after selecting it from a list of items. That way it's not possible to ever use the back button of your browser.
    I'm new to JSF, so my question:
    Is this the (one-and-only) navigation concept of JSF, or are there alternative concepts as well?
    I would be surprised, since the mentioned demands are basic web standard - although I didn't find any alternatives so far.
    Thanks,
    Chily

    Thanks for the answer!
    I'm not sure, if using a redirect on every single call is very achieveable and in the purpose of the JSF design.
    E.g. it is generating a lot of traffic overhead.
    (Identifying the navigation case by the page name instead of a hidden parameter would help a lot.)
    Or the history of the browser doesn't work with it, so you can't identify visited links.
    But anyways, there are also internal problems with it in most cases: I've inserted the <redirect/> tag in the navigation cases of a few examples. This just causes a call of the <to-view-id> page, without any parameters. So I probably have to add some non-standard-processing around the call to make it work:
    If e.g. I have the standard case of a list of items (let's say in a dataTable), which are identified by an id. And each item uses a commandLink to call it's detail view.
    * How do I get the identifier (id) as a parameter into the redirect URL?
    * And how do I access this parameter in the destination form bean to choose the item to be displayed? (see also http://forum.java.sun.com/thread.jspa?threadID=607505)
    Thanks for help,
    Chily

Maybe you are looking for