Which sys view has whether a mat. view is logging or nologging

I am looking for the view that contains information about whether a materialized view is set as logging or nologging. I would like most replication to bypass redo logs.

If you are on 9i onwards you can use DBMS_METADATA. Here an example :
SCOTT@db102 SQL> select dbms_metadata.get_ddl('MATERIALIZED_VIEW','TEST_EMP','SCOTT') from dual;
DBMS_METADATA.GET_DDL('MATERIALIZED_VIEW','TEST_EMP','SCOTT')
  CREATE MATERIALIZED VIEW "SCOTT"."TEST_EMP"
  ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOG
GING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
  TABLESPACE "USERS"
  BUILD IMMEDIATE
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
  TABLESPACE "USERS"
  REFRESH FORCE ON DEMAND
  WITH ROWID USING DEFAULT LOCAL ROLLBACK SEGMENT
  DISABLE QUERY REWRITE
  AS SELECT "NEWEMP"."EMPNO" "EMPNO","NEWEMP"."ENAME" "ENAME","NEWEMP"."JOB" "JO
B","NEWEMP"."MGR" "MGR","NEWEMP"."HIREDATE" "HIREDATE","NEWEMP"."SAL" "SAL","NEW
EMP"."COMM" "COMM","NEWEMP"."DEPTNO" "DEPTNO" FROM "NEWEMP"@ORCL "NEWEMP"
SCOTT@db102 SQL>                                                                                     

Similar Messages

  • 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

  • Please Help: create a procedure that needs a sys view

    Hi gurus,
    I am trying to create a stored procedure that opens a cursor for a select on a view owned by sys, but the errors says table or view does not exist. I can select * from the view (sys.mgw_gateway) from SQL*Plus or any other tool. Anyone have an idea why I get the ORA-00942: table or view does not exist error when I try to create a procedure? Here is the simple SQL statement for the procedure (I just want the users to see if the messaging gateway is running) and that's all in it.
    open p_MGWStatus for
         select AGENT_STATUS, AGENT_PING, to_char(LAST_ERROR_DATE, 'mm/dd/yyyy hh24:mi') as LastErrorDate,
         LAST_ERROR_MSG
         from sys.mgw_gateway;
    Thanks a lot.
    Ben

    Hi
    To allow the view owned by sys in a procedure, you have to grant select on that particular view to the owner of that procedure.
    Suggestion: may or may not be acceptable: create your own view in system schema (if it has the privilege to select that view else in sys schema) with the required column of the sys view and grant this newly created view to the owner of the procedure.
    Regards
    Opps! Very late reply
    Message was edited by:
    Anurag Tibrewal

  • 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

  • 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.

  • Unable to extend table SYS.VIEW$ by 256 in tablespace

    Hi,
    I am getting the error
    "unable to extend table SYS.VIEW$ by 256 in tablespace "
    and
    "ORA-00604: error occurred at recursive SQL level 1
    ORA-01654: unable to extend index SYS.I_DEPENDENCY1 by 256".
    while upgrading.
    My database contains only 600 MB free.
    Is this the problem bcoz of the database size or ant other. i am unable to understand
    If it is bcause of database,please let me know how to confirm.
    Thanks.

    ORA-01654: unable to extend index string.string by string in tablespace string
    Cause: Failed to allocate an extent of the required number of blocks for an index segment in the tablespace indicated.
    Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the tablespace indicated.

  • Discoverer 4i into 9i database which contains view into 10g database

    Hello,
    Would it work if I use Discoverer 4i into a 9i database which contains views to tables in 10g database? Thank you.

    Hi,
    Yes, if you have a database link from your 9i database to your 10g database then you will be able to view data from the 10g database. If you SQL that will work in SQLplus then it will also work in Discoverer.
    Rod West

  • Satellite Pro U200 - Which image viewer is preinstalled on Vista?

    hi
    Which Image Viewer will be preinstalled on Vista Business from Satellite Pro U200 PLUA1E-02802QS4?

    Hi
    Im not Satellite Pro U200 owner but I assume the normal Windows image viewer is installed.
    But I dont understand the reason of your question. You can install and uninstall what you want so doesnt be worry about this! ;)

  • OTA/OLM 11.5.10 : which tables/views hold info for Ext, Int Training , Certifications.

    Hello,
    which tables/views stores information about .
    Internal Training history
    External Training History
    Certifications
    in R 11.5.10 ?
    I found the following tables
    OTA_NOTRNG_HISTORIES_V  -- supposedly stores external training history, is this the right one for external training ?
    OTA_CTRNG_HISTORIES_V  -- stores combined training history , how to pick 'Internal' history from this view , if this is the right one ?
    OTFV_COMBINED_TRAINING_HISTORY -- stores combined training history , how to pick 'Internal' history from this view , if this is the right one?
    could not find any table in 11.5.10 for certifications.
    Thanks

    FSKB     G/L Account Posting
    this transaction is not working

  • Is there dvd software out there that allows you to create a dvd menu in which the viewer can choose to play different sequences of the videos offered?

    Is there dvd software out there that allows you to create a dvd menu in which the viewer can choose to play different sequences of the videos offered? It was described to me as a dvd matrix menu but I can't find anything like it for mac. The idea is that there are multiple videos on the dvd menu and you can choose to play "video A, then B, then C" or "video B, then C, then A", etc, in different orders each time. And it would play the sequence that you choose.

    meghanica wrote:
    I think that's on the right track but I'm wanting something that allows the viewer to choose the sequence when they're looking at the DVD menu. I only see how the creator of the DVD can make different sequences. It's a yoga tutorial DVD and we are wanting the viewer to be able to pick a sequence from the menu items as such: pick one of the 3 warm-up videos, then pick one of the 2 yoga practices and then pick 1 of the 3 cool-down videos and then the dvd will play the sequence of selected warm up, practice, then cool down. And it can be differently chosen every time the viewer uses the menu.
    You can do this on a DVD with DVD Studio Pro.
    DVD's have some very basic storage called SPRM/GPRM scripting IIRC.
    There are a few tutorials around for DVDSP…
    http://www.kenstone.net/fcp_homepage/dvd_language_nattress.html
    http://www.digitalproducer.com/article/DVD-Studio-Pro-Scripting-Part-4-28784
    You use scripts to set values that are stored in a tiny amount of memory on the player & then have to use additional scripts to respond to the values set, so that at the end of a sequence it will jump to the one a user previously chosen.
    Some things to consider…
    DVD's have limits on the number of chapters & titles, you need to plan around that.
    Some DVD players are terrible to navigate, the settings that a user selects will be forgotten when the player is powered off. Users will need to make the choices over & over, every time they use the DVD (computers may remember it - I haven't tested this in years).
    You will also need to setup many variations of menus to be able to indicate what selections they chose.
    It is not a trivial task, you may want to hire a programmer to set it all up.
    Testing is also a lot of work - too many combinations can quickly cause issues for testing, different players can also do odd things too.
    I have used scripting for basic, 'play all' or 'play chapter' menus where the video is encoded once on the DVD & the scripts will either play through, or simply play a chapter & return to the same menu.
    You may find that it would be better to invest in setting up a website with this. On a custom site it would be possible for users to save a playlist or several, they can also share playlists etc, it would be more flexible & usable IMO.
    See roaring apps for info on others who have used DVD Studio Pro with various OS's…
    http://roaringapps.com/app/dvd-studio-pro …it looks like 10.8 may be the last OS to work correctly with DVDSP.
    Other DVD authoring apps may be able to do GPRM scripting too, but you will have to search for them.
    I think the registers are part of the DVD spec, so devices should support them, https://en.wikipedia.org/wiki/DVD-Video

  • Cannot view workflow log via Services for Object Workflow Overview

    We recently had an upgrade of R3/ECC and discovered a new issue.  For some reason we can no longer view workflow log via Services for Object > Workflow Overview for Material Master (transaction MM03).  We get the message "There are no workflows that have already worked with this object".  However, we have confirmed via SWEL and other t-codes that the workflow and log do exist.  This seems to be the only object we have this issue for after the upgrade.
    Anyone know what issue is and how to fix?   Or at least path to config in SPRO for "generic object services" where we can see if anything changed via upgrade for this object?
    Thanks,
    Matt
    Edited by: Matthew Huth on Apr 22, 2008 9:23 PM

    Found the solution.  See OSS note 553246.  This has been tested and works for us.   -Matt
    Note 553246
    Summary
    Symptom
    In the material master, the system no longer displays the attachments for the material or workflow items in the Generic Object Services.
    Other terms
    MM01, MM02, MM03
    Reason and Prerequisites
    As of Release 4.6B, business object BUS1001006 is valid for the material master. Until you have implemented Note 452424, the Generic Object Services is still published for the old BUS1001 business object. After implementing the note, all attachments, relationships, notes and workflow items that are assigned to business object BUS1001 are no longer displayed.
    Instead, all new attachments are assigned to business object BUS1001006. As a result, attachments cannot exist for both systems.
    For workflow items, the assignment to the business object occurs in the respective tasks. It may be very time consuming to convert the business object, depending on whether an individual subtype (assigned to BUS1001) is created.
    In other words, after you implement the note, the workflow items for business object BUS1001 can no longer be displayed in the material master.
    Solution
    With the following correction you can call the Generic Object Services for both business objects. When it is called, the system displays a dialog box in which you can choose the required business object, that is, BUS1001 ('Material') or BUS1001006 ('Standard material').
    This correction is delivered as a modification supported by SAP only. This is because the additional option means that attachments can be maintained as required in either of the business objects and users may therefore require extra training.
    However, the corrections enable you to display attachments and workflow items for both business objects without the need for a major conversion; this means that you do not get the impression that these have been lost.
    Alternatively, as of Release 4.70 (or Basis 6.20) you can, without making a modification, implement method ADD_OBJECTS of BAdI GOS_MULT_PUBLISH for filter attribute WF_OVERVIEW ('Workflow overview'), SRELATIONS ('Relationships') and VIEW_ATTA ('Attachment list'). The implementation should be similar to the following:
    METHOD if_ex_gos_mult_publish~add_objects .
      DATA:
        ls_lporb TYPE sibflporb.
      READ TABLE ct_lporb INTO ls_lporb INDEX 1.
      if ls_lporb-typeid = 'BUS1001006'.
        ls_lporb-typeid = 'BUS1001'.
        append ls_lporb to ct_lporb.
      endif.
    endmethod.

  • How to find Responsibility through which the user has logged in to Disco.

    Hi All,
    I have got a requirement to create a "Usage Report Summary by Responsibility" for all Oracle user having an Access to Oracle Disco Viewer.
    In the report, I need to show the list of Oracle Users and the Responsibilities through which an User has logged in to Disco Viewer.
    Kindly help me in finding the corresponding Disco tables to full-fill this requirement.
    Available Information/queries in my Hand:
    1. Query to find the list of Workbook and its shared Responsibilities
    2. Query to find number of times an Oracle Disco Report has been run.
    Thanks a ton in Advance
    Arun

    Hi Arun
    The first place to look is to try running one of the pre-built workbooks created by Oracle for this purpose.
    I see you are working in Apps mode. Therefore, you'll need to run both of these scripts when logged in as the owner of the EUL:
    1. EUL5.SQL
    2. EUL5_APPS.SQL
    You will find both scripts in the $ORACLE_HOME/Discoverer/Util folder where your Discoverer Administrator tool is located.
    Next, you will need to log into the Administrator tool and import this EEX file: EUL5.EEX
    You will find the EEX file located in $ORACLE_HOME/Discoverer, again on the PC where Discoverer Administrator tool is located.
    After you have imported the EUL, log into Desktop or Plus and open up the EUL5 workbook that you will now see in the list and work through the various worksheets. You should find one or two that will give you what you want.
    Let us know how you get on
    Best wishes
    Michael
    http://ascbi.com

  • Unable to view Administrator Logs

    Hello,
    I am trying to view the Netweaver Administrator Logs to Troubleshoot a Runtime Error on Production Portal. But when I goto http:<host>:<port>/nwa -> Monitoring -> Logs And Traces , then I select Default Trace Option or Last 24 Hours Option in the Dropdown, it displays the Message : ' No records to display '. The same when I do for QA Portal it displays the Logs fine. What is missing for Prod. Portal which is not allowing to view the Logs.?
    Any help would be highly Appreciated.
    Thanks.

    Pls check with your basis team whether the configuration to write the logs and traces were configured. It will be st by default but there might be a chance to set it to "OFF". In that case you will not get any traces or logs.
    Thanks,
    Mahe

  • Export failed with error ORA-04063: package body "SYS.DBMS_CUBE_EXP" has er

    Hi
    We are having 11.2.0.2 database on Linux 5. From last two days the export backup is getting failed with the below error.
    . exporting post-schema procedural objects and actions
    EXP-00008: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_i
    . exporting statistics
    Export terminated successfully with warnings.
    When I checked the status of this package DBMS_CUBE_EXP its showing invalid. I tried to compile the body of the package. But it was throwing below error.
    SQL> show errors
    Errors for PACKAGE BODY DBMS_CUBE_EXP:
    LINE/COL ERROR
    53/5 PL/SQL: SQL Statement ignored
    54/10 PL/SQL: ORA-04045: errors during recompilation/revalidation of
    SYS.DBA_XDS_INSTANCE_SETS
    ORA-01422: exact fetch returns more than requested number of rows
    I tried to query this view or describe the above view. But it was throwing the same error.
    ERROR at line 1:
    ORA-04045: errors during recompilation/revalidation of
    SYS.DBA_XDS_INSTANCE_SETS
    ORA-01422: exact fetch returns more than requested number of rows
    I couldnt get a proper solution from google regarding this view or to compile the above package.
    Now we are stcuked without the backups. It would be great if you guys look into it.
    Thanks
    SHIYAS M

    Yes I tried with take the export with SYS user. This time it thrown the error in the first and last too same as before.
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_info_exp
    . exporting foreign function library names for user U_20102
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user U_20102
    About to export U_20102's objects ...
    I ran below scripts as per u provided the link
    @$ORACLE_HOME/rdbms/admin/catdpb.sql and utlrp.sql
    Still it didnt get compiled.
    One more thing I tried running expdp. It totally got failed by throwing the similar error. It didnt even export the tables too.
    ===============================================================================
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []
    ORA-31642: the following SQL statement fails:
    BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_METADATA", line 1245
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPW$WORKER", line 8353
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x1a3257060 19208 package body SYS.KUPW$WORKER
    0x1a3257060 8385 package body SYS.KUPW$WORKER
    0x1a3257060 12748 package body SYS.KUPW$WORKER
    0x1a3257060 2546 package body SYS.KUPW$WORKER
    0x1a3257060 9054 package body SYS.KUPW$WORKER
    0x1a3257060 1688 package body SYS.KUPW$WORKER
    0x1a8bc1630 2 anonymous block
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []
    ORA-31642: the following SQL statement fails:
    BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_METADATA", line 1245
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPW$WORKER", line 8353
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x1a3257060 19208 package body SYS.KUPW$WORKER
    0x1a3257060 8385 package body SYS.KUPW$WORKER
    0x1a3257060 12748 package body SYS.KUPW$WORKER
    0x1a3257060 2546 package body SYS.KUPW$WORKER
    0x1a3257060 9054 package body SYS.KUPW$WORKER
    0x1a3257060 1688 package body SYS.KUPW$WORKER
    0x1a8bc1630 2 anonymous block
    Job "SYS"."SYS_EXPORT_SCHEMA_01" stopped due to fatal error at 17:58:34
    =========================================================================

Maybe you are looking for