Which performance view ddl locate?

SQL> create table houyichong(hello varchar2(100));
SQL> insert into houyichong values('hello oracle');
SQL> commit;
SQL> select sql_text from v$sqlarea where sql_text like '%houyichong%';
SQL_TEXT
insert into houyichong values('hello oracle')
select sql_text from v$sqlarea where sql_text like '%houyichong%'
not find dd:l create table houyichong(hello varchar2(100));
why?and where i can find the ddl just executed?

938261 wrote:
SQL> create table houyichong(hello varchar2(100));
SQL> insert into houyichong values('hello oracle');
SQL> commit;
SQL> select sql_text from v$sqlarea where sql_text like '%houyichong%';
SQL_TEXT
insert into houyichong values('hello oracle')
select sql_text from v$sqlarea where sql_text like '%houyichong%'
not find dd:l create table houyichong(hello varchar2(100));
why?and where i can find the ddl just executed?TABLE_NAME defaults to be UPPERCASE?

Similar Messages

  • WMI Performance counters not shown in SCOM Performance view

    Hi,
    We're unable to see %CPU usage, avg cpu queue length and many other WMI counters on a Performance View for one of our servers.
    - The agent is displayed as healthy.
    - We are getting data from counters generated by script.
    - WMI counters are shown as enabled.
    - We're able to see the counters locally on server manager, on performance counters.
    - we have run lodctr /R, without success.
    - no alerts on the scom agent or server.
    - no overrides for these counters exist.
    So definitely it looks like the WMI infrastructure is working ok but somehow data is not being sent to the server. Any hints on debugging this issue?
    Thanks in advance

    Ops Manager, Ops DW, or both?  If performance collection is ENABLED for this server, and it's a W2K8 box, and you can see the perf in perf monitor on the server, then you should look to see if other performance is missing.  If there are no performance
    counters being collected, then you can do a few things, but before doing that, do some spot checking.
    Is this rule enabled?  Did someone override disable it?  If enabled, and no overrides, then create a view (my views or whatever that custom workspace is) targetting the generic class of "said" target for the collection rule.  Do you see any
    computers listed?  How many computers are listed?  Jot that down.  Go to discovered inventory in the monitoring pane, and change scope to the targeted class for the collection rule.  Count what is returned, do the number of servers returned
    match?
    If you have the same number of green healthy objects in both the custom view and the discovered inventory scope, then you are good, if there are a few missing, you need to troubleshoot those agents.
    If you are missing all of them, you probably have a problem with your RMS/SQL, which means you have to start traces on SQL and or at the very least look at the ops manager event log on the rms.
    So, back to the "missing a few" scenario.  You could start to do logging, etc, but instead of that, reinstall the agent on one of the machines not showing up in both views.  Wait a few hours.  Check the views again, and keep an eye on the
    ops manager event log on that sick agent.  Increase the size of the log file, if you have too, so you don't over right events.
    After a few hours if it's not showing up, you can either start down the path of enabling tracing on the agent (there are kbs on how to turn this on, and the logs are not hard to go through), or you can uninstall the agent.  Run cleanmom on the box.
     Reinstall the agent.
    I would perform the repair, clean mom, before I troubleshoot the agent, but that's just me.  Keep in mind, any data that is collected and or queued will be lost when you do the clean mom.  But since you have no data as it is, no real loss.
    While the agent is showing up in the console, and before you start down the previous steps, I would verify that you have events collected as well (another query) and stop a service on the box that is supposed to be monitored, see if it triggers and alert
    and a state change.  Also peek at the RMS ops manager event log, you might have some SQL problems.
    Good luck.
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/ If my response was helpful, please mark it as so, if it answered your question, then please also mark it accordingly. Thank you.

  • Bad performance view on views

    we have two views with equal key fields which perform very good (order less than 1 second).
    Both views give extra fields from data sets.
    I want to combine those extra fields in one record with equal key values. Because some key combinations can miss in either one of both sets, I make an extra view with a union only on the keyfields of both views and use this view as driver for the combination, so I join both original views open with this driver. When I now query the resultview the performance is bad (order 3.5 minutes).
    (This is independent of the number of result records)
    Explain plan shows no full table scans.
    Any suggestions to improve this construction??

    I have split the two parts of the union query, and analysed both parts separately, see below.
    The subviews perform as follows:
    c_contr_opb_CD with restriction on contract_no 7 rows in 0:02 seconds
    without restrictions 2216 records in 3:34 minutes
    c_contr_opb_B with restriction on contract_no 5 rows in 0:01 seconds
    without restrictions 1567 records in 0:05 minutes
    (in both views are 1332 records with common keys)
    When I make the view over an open join of both views and I use the
    c_contr_opb_B as driver then it performs with and without restriction
    on contract_no the same, suggesting it performs the 'group by'-clause in
    the view c_contr_opb_CD before applying the restriction.
    When, on the other hand I use the view c_contr_opb_CD as driver it seems to
    apply the restriction before the 'group by'-clause in the view.
    Is there a way to always apply the restriction berore the 'group by' clause
    select tB.Contract_no
    , tB.agc
    , tB.salesgroup
    , tB.B_pricing
    , tB.B_No_of_elements
    , tB.B_m3_elements
    , tB.C_complete
    , tCD.C_pricing
    , tCD.C_No_of_elements
    , tCD.C_m3_elements
    , tCD.D_pricing
    , tCD.D_No_of_elements
    , tCD.D_m3_elements
    from c_contr_opb_CD tCD
    , c_contr_opb_B tB
    where (tCD.Contract_no(+) = tB.Contract_no
    and tCD.agc(+) = tB.agc
    and tCD.salesgroup(+) = tB.salesgroup)
    and tB.contract_no=lpad('20042002',20);
    query in 3:40 minutes, result 5 records
    Options Object Operation
    SELECT STATEMENT
    OUTER MERGE JOIN
    JOIN SORT
    C_CONTR_OPB_B VIEW
    GROUP BY SORT
    VIEW
    UNION-ALL
    NESTED LOOPS
    UNIQUE SCAN PK_CMHD INDEX
    BY INDEX ROWID CMMT TABLE ACCESS
    RANGE SCAN PK_CMMT INDEX
    NESTED LOOPS
    UNIQUE SCAN PK_CMHD INDEX
    BY INDEX ROWID CMSV TABLE ACCESS
    RANGE SCAN PK_CMSV INDEX
    JOIN SORT
    C_CONTR_OPB_CD VIEW
    GROUP BY SORT
    VIEW
    UNION-ALL
    NESTED LOOPS
    RANGE SCAN X_SHP_CM INDEX
    BY INDEX ROWID CMMT TABLE ACCESS
    RANGE SCAN PK_CMMT INDEX
    NESTED LOOPS
    RANGE SCAN X_SHP_CM INDEX
    BY INDEX ROWID CMSV TABLE ACCESS
    RANGE SCAN PK_CMSV INDEX
    28 rows selected.
    select tCD.Contract_no
    , tCD.agc
    , tCD.salesgroup
    , tB.B_pricing
    , tB.B_No_of_elements
    , tB.B_m3_elements
    , tB.C_complete
    , tCD.C_pricing
    , tCD.C_No_of_elements
    , tCD.C_m3_elements
    , tCD.D_pricing
    , tCD.D_No_of_elements
    , tCD.D_m3_elements
    from c_contr_opb_B tB
    , c_contr_opb_CD tCD
    where (tB.Contract_no(+) = tCD.Contract_no
    and tB.agc(+) = tCD.agc
    and tB.salesgroup(+) = tCD.salesgroup)
    and tCD.contract_no=lpad('20042002',20);
    query in 0:05 minutes, result 7 rows
    Options Object Operation
    SELECT STATEMENT
    OUTER MERGE JOIN
    JOIN SORT
    C_CONTR_OPB_CD VIEW
    GROUP BY SORT
    VIEW
    UNION-ALL
    NESTED LOOPS
    UNIQUE SCAN PK_CMHD INDEX
    BY INDEX ROWID CMMT TABLE ACCESS
    RANGE SCAN PK_CMMT INDEX
    NESTED LOOPS
    UNIQUE SCAN PK_CMHD INDEX
    BY INDEX ROWID CMSV TABLE ACCESS
    RANGE SCAN PK_CMSV INDEX
    JOIN SORT
    C_CONTR_OPB_B VIEW
    GROUP BY SORT
    VIEW
    UNION-ALL
    NESTED LOOPS
    RANGE SCAN X_SHP_CM INDEX
    BY INDEX ROWID CMMT TABLE ACCESS
    RANGE SCAN PK_CMMT INDEX
    NESTED LOOPS
    RANGE SCAN X_SHP_CM INDEX
    BY INDEX ROWID CMSV TABLE ACCESS
    RANGE SCAN PK_CMSV INDEX
    create or replace view c_contr_opb_B as
    select     Contract_no
         ,     agc
         ,     salesgroup
         ,     min(C_complete)          C_complete
         ,     sum(B_pricing)          B_pricing
         ,     sum(B_No_of_elements)     B_No_of_elements
         ,     sum(B_m3_elements)     B_m3_elements
         from (     select     h.cm_num               Contract_no
              ,     ms.agc
              ,     ms.sales_group               salesgroup
              ,     decode(ms.closed_reason,'C001','*',' ')     C_complete
              ,     ms.unit_price*ms.ord_qty     B_pricing
              ,      decode(ms.agc,'PROJ',fnc_struct_m3(ms.ccn,ms.structure_id,ms.structure_rev)
                        ,0)*ms.ord_qty          B_m3_elements
              ,     ms.ord_qty                B_No_of_elements
              from     cmmt     ms
              ,     cmhd     h
              where     ms.ccn          = h.ccn
              and     ms.cm_num     = h.cm_num
              and     ms.price_bucket     = 'B'
              and     ms.closed_reason in ('C001',' ')
              and     h.ccn          = 'SPAN'
              UNION ALL
              select     h.cm_num               Contract_no
              ,     ms.agc
              ,     ms.sales_group               salesgroup
              ,     decode(ms.closed_reason,'C001','*',' ')     C_complete
              ,     ms.unit_price*ms.ord_qty     B_pricing
              ,      0                    B_m3_elememts
              ,     ms.ord_qty                B_No_of_elements
              from     cmsv     ms
              ,     cmhd     h
              where     ms.ccn          = h.ccn
              and     ms.cm_num     = h.cm_num
              and     ms.price_bucket     = 'B'
              and     ms.closed_reason in ('C001',' ')
              and     h.ccn          = 'SPAN'
         ) group by Contract_no
         ,     agc
         ,     salesgroup
    create or replace view c_contr_opb_CD as
    select     Contract_no
         ,     agc
         ,     salesgroup
         ,     sum(C_pricing)          C_pricing
         ,     sum(C_No_of_elements)     C_No_of_elements
         ,     sum(C_m3_elements)     C_m3_elements
         ,     sum(D_pricing)          D_pricing
         ,     sum(D_No_of_elements)     D_No_of_elements
         ,     sum(D_m3_elements)     D_m3_elements
         from (     select     h.cm_num               Contract_no
              ,     ms.agc
              ,     ms.sales_group               salesgroup
              ,     ms.unit_price*ms.ord_qty     C_pricing
              ,     ms.ord_qty                C_No_of_elements
              ,      decode(ms.agc,'PROJ',fnc_item_m3(ms.ccn,ms.item,ms.revision),0)
                        *ms.ord_qty          C_m3_elements
              ,     ms.unit_price*ms.ord_qty     D_pricing
              ,     decode(ms.agc,'PROJ',fnc_item_aantal_D(ms.ccn,ms.item,ms.revision),0)
                                       D_No_of_elements
              ,      decode(ms.agc,'PROJ',fnc_item_m3_D(ms.ccn,ms.item,ms.revision),0)
                   * decode(ms.agc,'PROJ',fnc_item_aantal_D(ms.ccn,ms.item,ms.revision),0)
                                       D_m3_elements
              from     cmmt     ms
              ,     cmhd     h
              where     ms.ccn          = h.ccn
              and     ms.cm_num     = h.cm_num
              and     ms.price_bucket     = 'C'
              and     ms.closed_reason in ('F001','F003',' ')
              and     h.ccn          = 'SPAN'
              UNION ALL
              select     h.cm_num               Contract_no
              ,     ms.agc
              ,     ms.sales_group               salesgroup
              ,     ms.unit_price*ms.ord_qty     C_pricing
              ,     ms.ord_qty                C_No_of_elements
              ,      0                    C_m3_elememts
              ,     ms.unit_price*ms.ord_qty     D_pricing
              ,     0                    D_No_of_elements
              ,      0                    D_m3_elements
              from     cmsv     ms
              ,     cmhd     h
              where     ms.ccn          = h.ccn
              and     ms.cm_num     = h.cm_num
              and     ms.price_bucket     = 'C'
              and     ms.closed_reason in ('F001','F003',' ')
              and     h.ccn          = 'SPAN'
         ) group by Contract_no
         ,     agc
         ,     salesgroup

  • Dynamic Performance View question

    So, Oracle maintains dynamic performance tables. Views are created off of them, and then public synonyms are created off of those views and they begin with V$. Very good. But something doesn't make sense to me.
    V$DATAFILE is a synonym that references a view named V_$DATAFILE:
    SQL> select dbms_metadata.get_ddl('SYNONYM', 'V$DATAFILE', 'PUBLIC') from dual;
    DBMS_METADATA.GET_DDL('SYNONYM','V$DATAFILE','PUBLIC')
    CREATE OR REPLACE PUBLIC SYNONYM "V$DATAFILE" FOR "SYS"."V_$DATAFILE"
    SQL> select object_type from dba_objects where object_name='V_$DATAFILE';
    OBJECT_TYPE
    VIEW
    But the definition of the view references the.... synonym itself?
    SQL> select dbms_metadata.get_ddl('VIEW', 'V_$DATAFILE', 'SYS') from dual;
    DBMS_METADATA.GET_DDL('VIEW','V_$DATAFILE','SYS')
    CREATE OR REPLACE FORCE VIEW "SYS"."V_$DATAFILE" ("FILE#", "CREATION_CHANGE#",
    "CREATION_TIME", "TS#", "RFILE#", "STATUS", "ENABLED", "CHECKPOINT_CHANGE#", "C
    HECKPOINT_TIME", "UNRECOVERABLE_CHANGE#", "UNRECOVERABLE_TIME", "LAST_CHANGE#",
    "LAST_TIME", "OFFLINE_CHANGE#", "ONLINE_CHANGE#", "ONLINE_TIME", "BYTES", "BLOCK
    S", "CREATE_BYTES", "BLOCK_SIZE", "NAME", "PLUGGED_IN", "BLOCK1_OFFSET", "AUX_NA
    ME", "FIRST_NONLOGGED_SCN", "FIRST_NONLOGGED_TIME", "FOREIGN_DBID", "FOREIGN_CRE
    ATION_CHANGE#", "FOREIGN_CREATION_TIME", "PLUGGED_READONLY", "PLUGIN_CHANGE#", "
    PLUGIN_RESETLOGS_CHANGE#", "PLUGIN_RESETLOGS_TIME") AS
    select "FILE#","CREATION_CHANGE#","CREATION_TIME","TS#","RFILE#","STATUS","ENA
    BLED","CHECKPOINT_CHANGE#","CHECKPOINT_TIME","UNRECOVERABLE_CHANGE#","UNRECOVERA
    BLE_TIME","LAST_CHANGE#","LAST_TIME","OFFLINE_CHANGE#","ONLINE_CHANGE#","ONLINE_
    TIME","BYTES","BLOCKS","CREATE_BYTES","BLOCK_SIZE","NAME","PLUGGED_IN","BLOCK1_O
    FFSET","AUX_NAME","FIRST_NONLOGGED_SCN","FIRST_NONLOGGED_TIME","FOREIGN_DBID","F
    OREIGN_CREATION_CHANGE#","FOREIGN_CREATION_TIME","PLUGGED_READONLY","PLUGIN_CHAN
    GE#","PLUGIN_RESETLOGS_CHANGE#","PLUGIN_RESETLOGS_TIME" from v$datafile
    So the view definition references a synonym, and the synonym references the same view... seems circular. Is this Oracle Corp's way of telling me to bugger off? I just wanted to look up the name of the dynamic performance table out of curiosity.

    DBjanitor_old wrote:
    So, Oracle maintains dynamic performance tables. Views are created off of them, and then public synonyms are created off of those views and they begin with V$. Very good. But something doesn't make sense to me.
    The synonyms is owned by PUBLIC, not by SYS - so when SYS references v$XXX they access the underlying object, when anyone else references v$XXX they access the synomym, which points to the view owned by SYS, and the view accesses the underlying object owned by SYS.
    The point of this is that SYS is the only schema allowed to use the code that interprets the dynamic performance views properly, so any end user that wants to access them has to go through an object owned by sys, which then accesses them with the privileges of sys (i.e. the equivalent of authid owner). The apparent loop in the chain simply means that SYS, SYSTEM, DBSNMP etc. can all use the same queries to access the dynamic performance views, but only one of them is accessing the special code directly.
    See what happens if you try to grant access to the raw objects to non-SYS schemas (logged on as SYS)
    SQL> grant select on v$session to test_user;
    grant select on v$session to test_user
    ERROR at line 1:
    ORA-02030: can only select from fixed tables/viewsReagrds
    Jonathan Lewis

  • One performance view for two classes, possible?

    Hi there,
    My system is still running 2007 R2. I am writing a MP now which contains two classes. There are few performance collection rules targeting those two classes. I want to create one performance view to display performance data for BOTH classes. Is it possible?
    I already created an instance group and added both classes as member of the group. By using the group, I can created one alert view to display alerts from either class. Can I use the same trick for the performance view? Thanks!

    In addition, we also can add a dashboard view with two columns for the two classes, and add performance widget for each column.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Performance View with data from Custom Rule

    Hello again everybody,
    so we created a vbscript which measures time needed for a specific process inside a program.
    Now we made a rule for getting this data inside SCOM. Alerting and Health-Monitoring works fine.
    For example, we made "if TimeNeeded>5" critical Health state, works like a charm.
    But now, we want to view the data (the script runs every 30 seconds) inside a Performance view.
    - We checked if the rule works as intended. Check
    - Set the rule to "Performance Collection". Check
    - Set the right target group. Check
    - Override for specific target. Check
    - Created a perf.monitor "collected by specific rules" (added our rule) with right targeting. Check
    But the performance-view keeps unpopulated.
    What now?

    I exported the MP as XML file but the rule is not in there, only references.
    But thats not the point anyway, the rule is working.
    The only thing missing is to grab the data the script returns (via oAPI propertybag) and show it in a view. Thats all
    Maybe the question was not clear enough:
    Our script returns a value every 30 seconds, for example 6, then 4, then 8, then 10 and so on...
    All we want now is to show these values in a Performance-View.
    Graphical example:
    10|                            X
    08|                     X
    06|         X
    04|               X                              X
    02|                                    X
    00|
    I guess you now know what I mean.
    This Article
    corelan.be/index.php/2008/04/16/using-customnon-performance-counter-data-to-build-graphs-in-operations-manager-2007
    is EXACTLY what I want and what I did.
    But my Performance-View refuses to show
    ANYTHING...
    Whats the problem?

  • SCOM web console - Performance View Time Range

    Hi, 
    I am trying to change the default time range from 24hrs to 48hrs. I have searched for solution, however, all of them are same as this, and it didn't work for me.
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/bae50efb-7de3-4e60-bb07-13019fb3f432/web-console-performance-view?forum=operationsmanagergeneral
    Has this solution worked for anyone using SCOM 2012 SP1? I made the change to 48hrs, after a iisreset, it is still showing 24hrs.
    Any ideas?
    Thanks.

    I want to know which web.config file , you are modify.
    There are two web.config
    1) c:\program files\Microsoft System Center 2012 R2\Operations Manager\WebConsole\webhost: not working by adding <add key="PerformanceHourBefre" value="48" />
    2) c:\program files\Microsoft System Center 2012 R2\Operations Manager\WebConsole\MonitoringView: it is working by adding <add key="PerformanceHourBefre" value="48" />
    Roger

  • My laptop was stolen, and came online. i have an email telling me i can view that location for 24 hours, but i don't know how. when i go to find my iphone it says offline. can i see where it came online and how?

    Hey guys. My macbook pro was stolen and i checked the box for icloud to email me when it came online. It did, and says I have 24 hours to vew the location. How do i do this? when i go to find my iphone, it simply says offline again.

    Hi,
    I would report this to the police and they will help you track down your MacBook Pro and catch the theft.
    They will know what to do.
    I would go to http://icloud.com to view the location of your laptop.
    Hope this helps.

  • How could I find which i-views/pages are being used

    Hello
    I am pritty new in portal area. I have to administrate an ESS/MSS portal during hollydays. I am trying to find everywhere the way.
    How could I find which i-views/pages are being used. Let say I can see which group I belong and which roles are behind.
    How could I know in which PCD folder they are taken into account (to e.g give permission to someone not in the group)

    HI,
    the user administration (UME) gives you the information about the user <-> group <-> role assignment.
    When you know the role, search in the PCS for it, open the role and you will see all the pages / iviews assigned to the role.
    SAP Help: Role Assignment: http://help.sap.com/saphelp_nw04s/helpdata/en/59/bf2287b3cb5e48af94f99929ad15b9/content.htm
    SAP Help: Content Administration: http://help.sap.com/saphelp_nw04s/helpdata/en/5a/0339000c0b11d7b84800047582c9f7/content.htm
    br,
    Tobias

  • I want to reinstall our Adobe Acrobat XI Pro because we have begun to get error messages. I followed the initial instructions but when I logged in I couldn't find "My Orders" page which is required to locate my order and install.  Any ideas?

    I want to reinstall our Adobe Acrobat XI Pro because we have begun to get error messages. I followed the initial instructions but when I logged in I couldn't find "My Orders" page which is required to locate my order and install.  Any ideas?

    Barbara,
    If you are looking for your  serial number, sign in to your Adobe account. On the Manage Accounts page that appears, all of your registered products and their serial numbers are listed in the Plans & Products section. For more information on locating serial numbers,please see Find a serial number
    Here is the link to download and install the software:
    Acrobat XI, X
    Pattie

  • Which table/view has the schema details?

    Hi All,
    In which table/view I can view the different schemas present in the database? Should I sign-in as SYS or any user can read from that table?
    Please help...
    Thanks in advance...

    DBA_USERS will tell you the users that have been created in the database. Some or all of those users may have objects in their schemas, which you can see via DBA_OBJECTS.
    You don't need to be a DBA to query those views, but you do need appropriate privileges. Depending on your Oracle version, you'd need either the SELECT_CATALOG_ROLE role, the SELECT ANY DICTIONARY privilege, or a direct privilege grant on the particular views you're interested in.
    Justin

  • Which table/view storing the page information?

    Can someone tell me which table/view I can query to get the page name, id, and authorization scheme assigned to it?
    Thank you kindly
    Jean drouin

    desc flows_020100.wwv_flow_steps
    Name Null Type
    ID NOT NULL NUMBER
    FLOW_ID NOT NULL NUMBER
    TAB_SET VARCHAR2(255)
    NAME NOT NULL VARCHAR2(255)
    ALIAS VARCHAR2(255)
    PAGE_COMPONENT_MAP VARCHAR2(255)
    STEP_TITLE VARCHAR2(255)
    STEP_SUB_TITLE VARCHAR2(255)
    STEP_SUB_TITLE_TYPE VARCHAR2(30)
    FIRST_ITEM VARCHAR2(255)
    WELCOME_TEXT VARCHAR2(4000)
    BOX_WELCOME_TEXT VARCHAR2(4000)
    BOX_FOOTER_TEXT VARCHAR2(4000)
    FOOTER_TEXT VARCHAR2(4000)
    HELP_TEXT CLOB()
    STEP_TEMPLATE NUMBER
    BOX_IMAGE VARCHAR2(255)
    REQUIRED_ROLE VARCHAR2(255)
    REQUIRED_PATCH NUMBER
    HTML_PAGE_HEADER CLOB()
    HTML_PAGE_ONLOAD VARCHAR2(4000)
    ALLOW_DUPLICATE_SUBMISSIONS VARCHAR2(1)
    ON_DUP_SUBMISSION_GOTO_URL VARCHAR2(4000)
    PAGE_IS_PUBLIC_Y_N VARCHAR2(1)
    PROTECTION_LEVEL VARCHAR2(1)
    SECURITY_GROUP_ID NOT NULL NUMBER
    ERROR_NOTIFICATION_TEXT VARCHAR2(4000)
    ID2 NUMBER
    LAST_UPDATED_BY VARCHAR2(255)
    LAST_UPDATED_ON DATE
    GROUP_ID NUMBER
    PAGE_COMMENT VARCHAR2(4000)

  • Which table/view stores information on APEX user groups?

    Hi All,
    I need to list all the APEX users, their roles(i.e. IS_ADMIN or IS_DEVELOPER) and the user groups they belong to.
    Can some one kindly share the information on which tables/views will have all this information?
    I am aware of apex_workspace_users which tells me about the roles (i.e. IS_ADMIN or IS_DEVELOPER).
    Thanks in advance.
    Annie

    Thanks jari for your help.
    I did manage to get the information on user groups by using APEX_UTIL.get_groups_user_belongs_to function.
    However there are two issues in that:
    Firstly, the requirement is that i should be able to retrieve this details by executing queries in SQLPPlus and not APEX WS. However, executing APEX_UTIL.get_groups_user_belongs_to function in sqlplus returns no data. That means there are certain permission issues on the underlying tables.
    Secondly, the user groups are listed in a single row and I'd like the result in the multiple rows.

  • How do I know which is the correct location of the JRE?

    How do I know which is the correct location of the JRE / JVM? What do I add to my PATH environment variable? I'm trying to install Sybase ASE on my Sun Fire v480 SPARC box, but keep getting the below error...
    "A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>"
    So I did the following...
    STEP 01) To confirm that Java is installed, I ran the java -version command. I received the following output...
    bash-3.00# java -version
    java version "1.5.0_17"
    Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed mode)
    STEP 02) Then I tried to locate the location of where Java was installed...
    bash-3.00# which java
    /usr/bin/java
    STEP 03) Then I tried to confirm if it was a symbolic link or not...
    bash-3.00# ls -al /usr/bin/java
    lrwxrwxrwx 1 root other 16 Jun 24 01:54 /usr/bin/java -> ../java/bin/java
    STEP 04) The symbolic link doesn't seem to match any of the output below. Which is the correct location / path of Java (JVM / JRE)?
    bash-3.00# find / -name java -print;
    /usr/share/lib/java
    /usr/share/java
    /usr/bin/java
    /usr/sfw/include/mozilla/java
    /usr/include/firefox/java
    /usr/jdk/instances/jdk1.5.0/bin/java
    /usr/jdk/instances/jdk1.5.0/bin/sparcv9/java
    /usr/jdk/instances/jdk1.5.0/jre/bin/java
    /usr/jdk/instances/jdk1.5.0/jre/bin/sparcv9/java
    /usr/jdk/packages/javax.help-2.0/doc/api/com/sun/java
    /usr/java
    /usr/apache/tomcat/webapps/tomcat-docs/catalina/docs/api/org/apache/naming/java
    /usr/apache/tomcat55/classes/org/apache/naming/java
    /usr/apache/jserv/docs/api/org/apache/java
    /usr/j2se/bin/java
    /usr/j2se/bin/sparcv9/java
    /usr/j2se/jre/bin/java
    /usr/j2se/jre/bin/sparcv9/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/activitysupplier/activitysupplier-ejb/src/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/airlinesupplier/airlinesupplier-ejb/src/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/bank/bank-ejb/src/java
    /usr/appserver/samples/webservices/security/web/apps/clientCert/clientCert-share/src/java
    /usr/appserver/samples/webservices/security/web/apps/clientCert/clientCert-war/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-client/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-share/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-war/src/java
    /usr/appserver/samples/xml/apps/dom/src/java
    /usr/appserver/samples/xml/apps/sax/src/java
    /usr/appserver/samples/xml/apps/xslt/src/java
    /opt/staroffice8/share/Scripts/java

    I've been racking my head against the wall, but can't seem to find the solution... I've even installed the latest JRE (in a new location), but still seem to have the same problem. Please see the notes below...
    I installed the latest JRE in /export/home/jvm/jre1.6.0_17/
    bash-3.00# /export/home/jvm/jre1.6.0_17/bin/java -version
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)
    bash-3.00# PATH=/export/home/jvm/jre1.6.0_17/bin:$PATH
    bash-3.00# export PATH
    bash-3.00# echo $PATH
    /export/home/jvm/jre1.6.0_17/bin:/usr/sbin:/usr/bin
    bash-3.00# JAVA_HOME=/export/home/jvm/jre1.6.0_17/bin
    bash-3.00# export JAVA_HOME
    bash-3.00# echo $JAVA_HOME
    /export/home/jvm/jre1.6.0_17/bin
    bash-3.00# env
    HZ=100
    LC_MONETARY=en_CA.UTF-8
    TERM=xterms
    SHELL=/sbin/sh
    LC_NUMERIC=en_CA.UTF-8
    OLDPWD=/export/home/jvm/jre1.6.0_17
    PATH=/export/home/jvm/jre1.6.0_17/bin:/usr/sbin:/usr/bin
    MAIL=/var/mail/root
    LC_MESSAGES=C
    LC_COLLATE=en_CA.UTF-8
    PWD=/export/home/jvm/jre1.6.0_17/bin
    JAVA_HOME=/export/home/jvm/jre1.6.0_17/bin
    EDITOR=vi
    TZ=Japan
    SHLVL=1
    HOME=/
    LOGNAME=root
    LC_CTYPE=en_CA.UTF-8
    LC_TIME=en_CA.UTF-8
    _=/usr/bin/env
    bash-3.00# cd /cdrom/disc1050709/
    bash-3.00# ./setup -console
    InstallShield Wizard
    Initializing InstallShield Wizard...
    Searching for Java(tm) Virtual Machine...
    .........................A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>
    Is there something I'm missing?
    Thank you

  • How do I know which is the correct location of the JVM?

    How do I know which is the correct location of the JVM? What do I add to my PATH environment variable? I'm trying to install Sybase ASE on my Sun Fire v480 SPARC box, but keep getting the below error...
    *"A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>"*
    So I did the following...
    STEP 01) To confirm that Java is installed, I ran the java -version command. I received the following output...
    bash-3.00# java -version
    java version "1.5.0_17"
    Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed mode)
    STEP 02) Then I tried to locate the location of where Java was installed...
    bash-3.00# which java
    /usr/bin/java
    STEP 03) Then I tried to confirm if it was a symbolic link or not...
    bash-3.00# ls -al /usr/bin/java
    lrwxrwxrwx 1 root other 16 Jun 24 01:54 /usr/bin/java -> ../java/bin/java
    STEP 04) The symbolic link doesn't seem to match any of the output below. Which is the correct location / path of Java (JVM / JRE)?
    bash-3.00# find / -name java -print;
    /usr/share/lib/java
    /usr/share/java
    /usr/bin/java
    /usr/sfw/include/mozilla/java
    /usr/include/firefox/java
    /usr/jdk/instances/jdk1.5.0/bin/java
    /usr/jdk/instances/jdk1.5.0/bin/sparcv9/java
    /usr/jdk/instances/jdk1.5.0/jre/bin/java
    /usr/jdk/instances/jdk1.5.0/jre/bin/sparcv9/java
    /usr/jdk/packages/javax.help-2.0/doc/api/com/sun/java
    /usr/java
    /usr/apache/tomcat/webapps/tomcat-docs/catalina/docs/api/org/apache/naming/java
    /usr/apache/tomcat55/classes/org/apache/naming/java
    /usr/apache/jserv/docs/api/org/apache/java
    /usr/j2se/bin/java
    /usr/j2se/bin/sparcv9/java
    /usr/j2se/jre/bin/java
    /usr/j2se/jre/bin/sparcv9/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/activitysupplier/activitysupplier-ejb/src/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/airlinesupplier/airlinesupplier-ejb/src/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/bank/bank-ejb/src/java
    /usr/appserver/samples/webservices/security/web/apps/clientCert/clientCert-share/src/java
    /usr/appserver/samples/webservices/security/web/apps/clientCert/clientCert-war/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-client/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-share/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-war/src/java
    /usr/appserver/samples/xml/apps/dom/src/java
    /usr/appserver/samples/xml/apps/sax/src/java
    /usr/appserver/samples/xml/apps/xslt/src/java
    /opt/staroffice8/share/Scripts/java

    I've been racking my head against the wall, but can't seem to find the solution... I've even installed the latest JRE (in a new location), but still seem to have the same problem. Please see the notes below...
    I installed the latest JRE in /export/home/jvm/jre1.6.0_17/
    bash-3.00# /export/home/jvm/jre1.6.0_17/bin/java -version
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)
    bash-3.00# PATH=/export/home/jvm/jre1.6.0_17/bin:$PATH
    bash-3.00# export PATH
    bash-3.00# echo $PATH
    /export/home/jvm/jre1.6.0_17/bin:/usr/sbin:/usr/bin
    bash-3.00# JAVA_HOME=/export/home/jvm/jre1.6.0_17/bin
    bash-3.00# export JAVA_HOME
    bash-3.00# echo $JAVA_HOME
    /export/home/jvm/jre1.6.0_17/bin
    bash-3.00# env
    HZ=100
    LC_MONETARY=en_CA.UTF-8
    TERM=xterms
    SHELL=/sbin/sh
    LC_NUMERIC=en_CA.UTF-8
    OLDPWD=/export/home/jvm/jre1.6.0_17
    PATH=/export/home/jvm/jre1.6.0_17/bin:/usr/sbin:/usr/bin
    MAIL=/var/mail/root
    LC_MESSAGES=C
    LC_COLLATE=en_CA.UTF-8
    PWD=/export/home/jvm/jre1.6.0_17/bin
    JAVA_HOME=/export/home/jvm/jre1.6.0_17/bin
    EDITOR=vi
    TZ=Japan
    SHLVL=1
    HOME=/
    LOGNAME=root
    LC_CTYPE=en_CA.UTF-8
    LC_TIME=en_CA.UTF-8
    _=/usr/bin/env
    bash-3.00# cd /cdrom/disc1050709/
    bash-3.00# ./setup -console
    InstallShield Wizard
    Initializing InstallShield Wizard...
    Searching for Java(tm) Virtual Machine...
    .........................A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>
    Is there something I'm missing?
    Thank you

Maybe you are looking for