materialized view of the site / site of master

Hello

Currently I have an updatable materialized view and a main site.

Whatever the changes bring to emp table of the main site that will be included in the emp materialized view in the view of the site.

Whatever the changes bring to materialized view emp is also included in table emp from the main site.


Right now, in my materialized view site, I have two jobs:
defer_sys.push and dbms_refresh

I would like to know the differences between the 2 posts...


Can someone advise? Do I really need both jobs or only one of them will do?

Range of jobs is important?

Thank you

Yes, you're right.

You use DBMS_REFRESH, which is normally used to refresh the groups. However, a Updatabe Materialized View must be in a group of refreshing (otherwise, it's only a writable MV).

I find this paragraph in the documentation on the update process when using a group of refreshing:

A refresh of an updatable materialized view first pushes the deferred transactions at the materialized view site to its master site or master materialized view site. Then, the data at the master site or master materialized view site is pulled down and applied to the materialized view.

See http://download.oracle.com/docs/cd/B19306_01/server.102/b14226/repmview.htm#i30557

and http://download.oracle.com/docs/cd/B19306_01/server.102/b14226/repmview.htm#i31171

Tags: Database

Similar Questions

  • Cannot create Materialized View using the PL/SQL procedure

    Hello

    I have a question related to the creation of materialized view.
    I have a stored procedure that creates the materialized view. When you try to perform this procedure, I get not enough privileges error: ORA-01031.

    When I run the content of this procedure as a PL/SQL block anonymous their materialized view is created without any complications.
    Can you please advice me on this subject?
    It is even possible to create a materialized view in the stored procedure as I found no info on this subject.

    Thank you
    Petr

    Hi chudapet,

    Whenever you make in procedure, you must have direct subsidies and not through a role.

    Most likely the grant to create a materialized view is available via a role to your username.
    Assign a direct grant to the user:

    grant create materialized view to scott;
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
    
  • Fine views of the site in FF and not in IE (or Chrome)

    Maybe you can see something that is beyond me. My new dog lying to overhaul current http://lyingdognews.net, created in DW CS3 (using the model 'thrColLiqHdr') on a PC, works great in FF 3.0.3 but in Internet Explorer (7.0) and display in Google Chrome (0.2.149.30) are not pages. The home page displays well in IE and Chrome, but when you click on one of the links on the home page, the page loads, but only the background screens. Interestingly, the only exception on the home page is the link in the menu bar, labeled "NDA Feeds, Etc. That, for some reason, works very well.

    A suspicion that I had was that I had initially agreed with a seller of ad (AdBrite) to have ads full page on the site, but I cancelled them because they were too disruptive. Maybe the changes have not taken effect? But then why not FF fine with pages and the IE and Chrome? Etc.

    Thank you for all you can shed some light.

    Thank you, Nancy. I should have posted things first.

  • Constraints foreign key in materialized views can be changed (approx 1-master)

    I have a system which consists of a master database and a bunch of materialized view sites homogeneous. 10.2.0.4 all around. Main server is Windows Server 2003. all remote nodes are Windows XP. All materialized views are editable. There are only 20 or two tables (materialized views). Users enter data in the system at the level of the remote nodes via an application.

    There are data integrity constraints in the database on the main site. In the hunt for replication errors, I discovered that the integrity constraints do not exist in the context of the remote node. Then, sometimes, that users can enter data not valid that main site integrity constraints disallow, producing errors of replication on the master site. For a test I then implemented manually some of the constraints on a remote node using the java Enterprise Manager UI. Constraints have behaved as expected, as far as I can tell.

    My ultimate goal is to implement, on all sites of the materialized view, the current constraints of the integrity of the main site, so that entering data at remote sites is governed by the integrity constraints.

    I looked briefly package DBMS_REPCAT subprograms. Nothing jumped out at me.

    I started to collect the DDL (ALTER TABLE... ADD CONSTRAINT...) I could run each site through SQL * more sheet calculation.

    Then I thought that maybe I could use sqldeveloper to run the DDL but when I open the relevant schema to the level of the remote nodes, the actual tables are not shown, only the USLOG$ _... things. Materialized views are shown - but they do not have a constraints tab.

    After some time in the manuals, I decided that I have a good knowledge of what I see; and that's why I'm not sure I'm running in the right direction.

    I will summarize two questions:

    (1) what is the best way for me to apply constraints of integrity of the master site existing in materialized views can be changed on all nodes?

    (2) why I can see and work on the tables on the remote nodes via the EM java, but don't can't see them via sqldeveloper, logged in with the same account twice?

    P.S. It is possible for me to delete and re-create all databases and the views materialized on all remote nodes. It is not a high volume system, and there are windows of time during which I can do these things if necessary. I don't expect a structural change to the database, so I don't need to be able to spread future changes, just make things sync'd up now.

    Published by: Clark October 10, 2008 11:38

    Hi Clark,.
    you are right THAT FK on mviews can cause many problems during refresh. I mentioned on delete cascade, but delete the null value or remove restricted can cause problem too. You cannot complete with active reftesh FK referencing MV PK.

    Because you cannot control the mviews refresh a refresh Group, that the problems I described before can occur.
    You have to my view of these possibilities:
    1 / move Ref. integrity check from the DB to the logic of the application
    2 / use triggers to maintain ref.integrity check DB
    3 / mutlimaster user instead of mviews replication

    But none of them have their more and less.
    1 / + FK is checked - take some time, any other manipulation of data through the application can break rules FK
    2 / + FK is cheked on DB level - you write triggers, lower performance, changing disorders tables
    3 / + FK is chedked at the DB level, - all the data is replicated on the table plan (for MV, you can define where cluase for replication mutlimaster not), with more than two masters, it is difficult to define the replication conflict resolition method that convert in the last time.

    Last post:
    I my case I use this "thing":
    Because our request has not been managed in environment 24 x 7 I wrote my own routine to refresh.
    This routine that follows:
    1 / disable necessary FK
    2 / call dbms_refresh.refresh to perform the refresh of the refresh Group
    3 / activate FK disabled in step 1 with the novalidate
    Refresh the jobs was launched at night.

  • Create materialized view at the trigger.

    Hello

    I use version below:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    I created a materialized view query below:

    CREATE THE FSG1_FUND000 MATERIALIZED VIEW

    PCTUSED, PCTFREE 5 70

    Users TABLESPACE

    STORAGE (INITIAL 500K NEXT 500K)

    Refresh a start fast with (sysdate) next (sysdate + (1 / 1440))

    WITH rowid

    AS

    SELECT * FROM ABNDEV_T24. FSG1_FUND000@abndev;

    This Mview if any insert or update only (WITHOUT DELETING) are coming which should be copy to another table. But in mView trigger does not work.

    So pls advice me no alternative.

    Querys trigger:

    create or replace trigger trg_dummy

    after insert or update on FSG1_FUND000

    for each line

    Start

    If the insertion

    insert into FSG1_FUND001 (RECID, XMLRECORD) values (: new.) RECID,: new. XMLRECORD);

    elsif update then

    insert into FSG1_FUND001 (RECID, XMLRECORD) values (: new.) RECID,: new. XMLRECORD);

    end if;

    end;

    /

    Kind regards

    Villa

    Hello

    I learned and referred website as much as we can not able to create a trigger in MView (sorry we create trigger but none use of creation because in view no insert and update happened). So I drop completely the materialized view concepts and relaxation.

    Instead of, I have using the procedure to insert records in a table and then I created one by dbms_scheduler job.

    This discussion will be useful for any future reference.

    -procedure-

    create or replace procedure p2

    as

    Start

    INSERT / * + APPEND * / INTO FSG1_FUND000 SELECT * FROM FSG1_FUND000@remote;

    End; BluShadow

    /

    -----------------job--------------------

    Begin

    DBMS_SCHEDULER. () CREATE_JOB

    job_name-online "JOB4."

    job_type-online "PLSQL_BLOCK."

    JOB_ACTION => ' BEGIN p2; END;',

    start_date => SYSDATE,

    repeat_interval => ' FREQ = MINUTELY; INTERVAL = 5;',

    End_date => NULL,

    -Online TRUE, enabled

    comments => "Inserting a record in a table");

    end;

    /

  • Insert the data in materialized views at the Table

    Hello

    We have a problem in which some incorrect data has been loaded for tables.

    Users now are pointing to the materialized views and data access using synonyms.

    Is it possible to insert data from a view, materialized at the tables?

    Kind regards

    VN

    Hello

    As sb92075 has said, we can insert in the table of the materialized view.

    Test below data:

    SQL > select * from t1;

    CITY OF AMOUNT ID COMMENTS

    ---------- -------------------- ---------- --------------------

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    7 selected lines.

    SQL > create mv_t1 view materialized in select * from t1;

    Materialized view created.

    SQL > select * from mv_t1;

    CITY OF AMOUNT ID COMMENTS

    ---------- -------------------- ---------- --------------------

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    7 selected lines.

    SQL > insert into t1 values(8,'BBB',22,'NY');

    1 line of creation.

    SQL > select * from mv_t1;

    CITY OF AMOUNT ID COMMENTS

    ---------- -------------------- ---------- --------------------

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    7 selected lines.

    SQL > select * from t1;

    CITY OF AMOUNT ID COMMENTS

    ---------- -------------------- ---------- --------------------

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    NEW YORK 8 22 BBB

    8 selected lines.

    SQL > commit;

    Validation complete.

    SQL > select * from mv_t1;

    CITY OF AMOUNT ID COMMENTS

    ---------- -------------------- ---------- --------------------

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    7 selected lines.

    SQL > delete from t1;

    8 deleted rows.

    SQL > select * from mv_t1;

    CITY OF AMOUNT ID COMMENTS

    ---------- -------------------- ---------- --------------------

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    7 selected lines.

    SQL > insert into t1 select * from mv_t1;

    7 lines were created.

    SQL > select * from t1;

    CITY OF AMOUNT ID COMMENTS

    ---------- -------------------- ---------- --------------------

    1 XXX 28 Chicago

    2 AAA LAS 25

    3 YYY 25 NY

    4 35 Texas XXX

    5 XXX 55 Arlington

    6 56 Chicago YYY

    7 XXX 66 NY

    7 selected lines.

    SQL >

  • How to stop refreshing materialized views if the source table is null

    any ideas?

    Probably not what you were hoping for, but here's a few ideas.

    Your account shows - 113 (85 pending)
    1. How about helping to keep the forum clean by examining your 85 not resolved previous issues and give credit relatively USEFUL or RESPONDED to those who helped you in the past.

    2. read the FAQ at the top right of the page and view information about your system and your software so that we know what you're working with.

    3 ask your question in the body of the thread. Don't tell "of ideas.

    What is your question? Is this an academic question or you have a real problem that needs to be addressed?

    If you have a problem producing the DDL for the materialized view, and information about the type of discount that has been set up for this. Is there a newspaper view materialized on the underlying tables?

    The simple answer to your quest is to use UPDATE them on REQUEST and check the base tables before making a manual
    a: the best answer depends on what version of Oracle you are using and what is your actual configuration. Are your
    MVs in REFRESH GROUPS? Who can make a difference in the response.

    How can anyone help with this issue if you do not provide the information needed (FAQ)? Why is - someone MUST help if you show you don't appreciate help in marking questions to which answered once you have helped.

  • Moving all the newspapers and Materialized View at the schema level using the data pump in

    Hi Experts,

    Please help me on how I can exp/imp all materialized views andMV logs (as are some MVs) only the full scheme of other databases. I want to exclude everything else.

    Concerning
    -Samar-

    Using DBMS_METADATA. Create the following SQL script:

    SET FEEDBACK OFF
    SET SERVEROUTPUT ON FORMAT WORD_WRAPPED
    SET TERMOUT OFF
    SPOOL C:\TEMP\MVIEW.SQL
    DECLARE
        CURSOR V_MLOG_CUR
          IS
            SELECT  DBMS_METADATA.GET_DDL('MATERIALIZED_VIEW_LOG',LOG_TABLE) DDL
              FROM  USER_MVIEW_LOGS;
        CURSOR V_MVIEW_CUR
          IS
            SELECT  DBMS_METADATA.GET_DDL('MATERIALIZED_VIEW',MVIEW_NAME) DDL
              FROM  USER_MVIEWS;
    BEGIN
        DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SQLTERMINATOR',TRUE);
        FOR V_REC IN V_MLOG_CUR LOOP
          DBMS_OUTPUT.PUT_LINE(V_REC.DDL);
        END LOOP;
        FOR V_REC IN V_MVIEW_CUR LOOP
          DBMS_OUTPUT.PUT_LINE(V_REC.DDL);
        END LOOP;
    END;
    /
    SPOOL OFF
    

    In my case the script is saved as C:\TEMP\MVIEW_GEN. SQL. Now I will create a journal mview and mview in schema SCOTT and run the script above:

    SQL> CREATE MATERIALIZED VIEW LOG ON EMP
      2  /
    
    Materialized view log created.
    
    SQL> CREATE MATERIALIZED VIEW EMP_MV
      2  AS SELECT * FROM EMP
      3  /
    
    Materialized view created.
    
    SQL> @C:\TEMP\MVIEW_GEN
    SQL> 
    

    Run the C:\TEMP\MVIEW_GEN script. SQL generated a C:\TEMP\MVIEW queue. SQL:

      CREATE MATERIALIZED VIEW LOG ON "SCOTT"."EMP"
     PCTFREE 10 PCTUSED 30 INITRANS
    1 MAXTRANS 255 LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1
    MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
    DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "USERS" 
    
    WITH PRIMARY KEY EXCLUDING NEW VALUES;
    
      CREATE MATERIALIZED VIEW "SCOTT"."EMP_MV" ("EMPNO", "ENAME", "JOB", "MGR",
    "HIREDATE", "SAL", "COMM", "DEPTNO")
      ORGANIZATION HEAP PCTFREE 10 PCTUSED 40
    INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576
    MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
    BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE 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 FLASH_CACHE
    DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "USERS"
      REFRESH FORCE ON
    DEMAND
      WITH PRIMARY KEY USING DEFAULT LOCAL ROLLBACK SEGMENT
      USING ENFORCED
    CONSTRAINTS DISABLE QUERY REWRITE
      AS SELECT "EMP"."EMPNO"
    "EMPNO","EMP"."ENAME" "ENAME","EMP"."JOB" "JOB","EMP"."MGR"
    "MGR","EMP"."HIREDATE" "HIREDATE","EMP"."SAL" "SAL","EMP"."COMM"
    "COMM","EMP"."DEPTNO" "DEPTNO" FROM "EMP" "EMP";
                                   
    

    Now, you can run this on the database. You may need to adjust the tablespace and storage clauses. Or you can add more DBMS_METADATA. SET_TRANSFORM_PARAM calls to C:\TEMP\MVIEW_GEN. SQL to force DBMS_METADATA not to include the tablespace or / and the terms of storage.

    SY.

  • Run job/refresh materialized view at the moment!

    Hello

    What is the best use of method you when I want to execute a task that will refresh a materialized view.

    When the user clicks on a button, I want to refresh the materialized view next day at 01:00. Only once.

    Please suggest me the best methods to achieve this. Thanks in advance.


    Kind regards
    Igor

    Create a job.

    DECLARE
    v_job NUMBER;
    BEGIN
    dbms_job. Submit (-online v_job, what => employment ' BEGIN dbms_mvew.refresh (list of-online "schema.mv_name" method => "F");) END;', start_date-online trun (sysdate + 1) + 1/24);
    COMMIT;
    END;
    /

  • Migrate the site and master passwords and logins for Firefox to light

    To expedite my USB mobile browser, I want Firefox v.30 a light v.30.
    Only now I noticed I still signons3.txt instead of key4.db and cert8.db instead of cert9.db in the Firefox profile.
    https://support.Mozilla.org/en-us/KB/recovering%20important%20data%20from%20an%20old%20Profile#w_your-important-data-and-their-files Specifies not how to upgrade these versions, or some other answers, for example https://support.mozilla.org/en-US/questions/767061.

    Copy of signons3.txt, signons.sqlite between profiles has not helped get my password or my master password in light.
    Any thoughts why? Because I signons3.txt instead of key4.db, or because I use the master password?

    Note that you can use a CMD or BAT file to set an environment variable temporarily for this start.

    Set NSS_DEFAULT_DB_TYPE = sql
    Start "" "path to Firefox\firefox.exe" PEI

    I noticed that SQLite files are much larger, because likely Firefox uses a minimum size to avoid problems with fragmentation as is done with all files in SQLite.

    Note that Firefox is actually declining many SQLite files and replace them with the files of JSON type (extensions.json, addons.json, search.json, logins.json) to avoid the problems that SQLite gives in some cases and make it easier to keep the database in memory to boost performance.

  • question on the materialized view unregistered on the main site

    Hello

    you know how one knows, on the main site, on the existence of a materialized view another site referring to other tables to a primary site. It seems registration is not required.

    the site main orcl1: I have a table, and a materialized view log defined on A table.
    another site orcl2: have a link db orcl1 and rapid updatable view SCOTT materialized. A_MVW (create a materialized view A_MVW cool off quickly in select * from A@orcl1)

    on orcl1 I perform: exec DBMS_MVIEW. UNREGISTER_MVIEW (mviewowner = > 'SCOTT', mviewname = > mviewsite, 'A_MVW' = > 'ORCL2');
    so the materialized view seems to be correctly set aside (because it no longer appears in: select * from DBA_REGISTERED_MVIEWS ;))
    But, to my surprise, I can still perform refreshes fast on A_MVW, which also remove rows from the materialized view log. So how is site orcl1 always aware of the existence of the materialized view?

    It seems that, registered or not to the main site, a materialized view has the same... or is not? where is it stored, on the main site, information about materialized views (especially those of quickly updatable) as local tables reffer?

    Thank you

    See DocIDs 258634.1, 67371.1, 1031924.6
    on Oracle's Support website.

    Hemant K Collette

  • Unable to see index to display the site replication group

    Hello

    I added a few tables and their indexes to a group from the site of master materialized view

    I can look in user_repobject to the control of the site and you can see all the tables and indexes

    I created and then some views simple fast refresh materialized view site

    I do not see the clues that I had added on master site when I am connected to the display of the site

    So if I ask materialized views to display the site explain plan does not show that the indexes are available

    Is there a process I need to follow to make available on the site to see the main site index?

    Any help would be thank you very much

    The version of the oracle server is 11.2.0.1
    The customer is 10.2.0.4

    Best regards

    Patrick

    See http://download.oracle.com/docs/cd/E11882_01/server.112/e10706/reptrouble.htm#i9450
    and
    http://download.Oracle.com/docs/CD/E11882_01/server.112/e10707/rarmanage.htm#i25931

    You should have added the Master_RepObject and call Generate_Replication_Support between the INTERRUPTION / RESUMPTION.
    The actual creation could be pushed through the DBMS_DEFER_SYS.

    You have tasks running in the background? You asked DBA_REPCATALOG to see if the request for creation of the index was pushed and executed?

    (BTW: I did it for the MultiMaster replication.) Not sure if index on MVs are treated in the same way or not really need to be created manually).

    Hemant K Collette

  • I get "failed to set the refresh attribute COMMIT for the materialized view" when I try to create a MV using a table and another MV

    Experts,

    I'm trying to create a YOUNG refreshable ON COMMIT MV (xyz) using a table (circuit) and quickly updateable on validation MV (abc), but get an error:

    SQL error: ORA-12054: cannot set the attribute ON COMMIT refresh for the materialized view

    12054 00000 - "cannot set the refresh attribute COMMIT for the materialized view.

    * Cause: The materialized view did not meet the requirements for update to

    moment of validation.

    * Action: Specify only valid options.

    1] MV abc
    = MV abc defined as below =.

    CREATE MATERIALIZED view abc_MV

    Immediate CONSTRUCTION

    REFRESH QUICKLY YOU COMMIT using constraints of trust

    WITH ROWID AS SELECT n.*,.

    n.ROWID noderowid

    node n

    where n.nodetype in (1610000069,1610007267);


    -Above works OK and MV connect you on table node is created successfully

    =====================================================

    [ 2] Circuit Board

    ======================================================

    CREATE MATERIALIZED VIEW LOG ON Cramer.Circuit WITH SEQUENCE, ROWID ( ) -all columns of table ofcircut parentheses

    INCLUDING THE NEW VALUES;

    -More top works OK and MV connect you on table circuit is created successfully

    ======================================================



    [3] trying to create MV xyz

    ======================================================

    CREATE MATERIALIZED VIEW LOG ON cramer.abc_MV WITH SEQUENCE, ROWID ( ) -all columns of abc_MV brackets

    INCLUDING THE NEW VALUES;

    -Above works OK and log on ABC MV MV gets created successfully

    -Problematic step below

    Xyz_MV CREATE MATERIALIZED VIEW

    IMMEDIATE CONSTRUCTION

    REFRESH QUICKLY YOU COMMIT using constraints of trust

    AS

    SELECT c., c.rowid circuit_rowid, n.rowid tr_rowid

    the circuit c, abc_mv n

    where circuit2startnode = n.nodeid

    and c.rpplanId = n.rpplanId;
    ==========================================================

    Clues on how to solve this problem and make quickly updatable ON Commit MV xyz

    Thanks in advance.

    Chanchal,

    If you can read my original post carefully you may have noticed that all these restrictions will not apply in my case.

    All,

    In any case I found the solution to my problem.

    There are a few additional restrictions for materialized views multilayer

    Additional Restrictions for master materialized views

    The following types of materialized views may not be masters of editable materialized views:

    • ROWIDmaterialized views
    • Complex materialized views
    • Read-only materialized views

    I've updated the underlying MV abc below and everything worked like a charm

    CREATE MATERIALIZED view abc_MV

    Immediate CONSTRUCTION

    REFRESH QUICKLY YOU COMMIT using constraints of trust

    IN SELECT

    n.*, n.rowid noderowid, nt.rowid nodetyperowid

    the node n, nodetype_m nt

    where n.node2nodetype = nt.nodetypeid

    and nt.nodetypeid in (1610000069,1610007267);

    Note: To ADD a join without which I was getting error below (although had primary key on the table of the node)

    SQL error: ORA-23415: materialized view log for "NODE" does not save the primary key

    23415 00000 - "view the log for materialized \"%s\".\"%s\"does not save the primary key.

    * Cause: A primary key materialized view is refreshed quickly, but the

    The materialized view log does not record the primary key information.

    * Action: Use CREATING MATERIALIZED VIEW LOG... Command to add a PRIMARY KEY to

    start recording of the primary key information in the materialized view

    Newspaper.

  • The materialized view log and user...

    Hello
    Suppose a user, we will call him A has a table and another user B must create a log of materialized view on the table that a user has.
    While user B have all the privileges of object (direct priv insert, update, delete... not through a role) on the table to the user may not create a log of mv on this table on its schema...
    Thus, the insert/update/delete stmts on < table_name > are run successfully (after having logged on as user B).

    The error message ' ORA-00942: table or view does not exist ' appears when I run the command:
    Connect B/B;
    create log view materialized on table_name with sequence including new values;

    Note: I use ORADB 10.2.0.4 and it stands for table-name to user B (which tries to create the log of mv on)...

    The req. above is possible somehow?

    Thank you
    SIM

    The documentation says the following:

    The materialized view log is created in the same schema as the master of the target.

    HTH!

  • Re: view opaque and the materialized view

    Hi Experts,

    I want some clarification of opaque and view view in the physical layer OBIEE materialized

    -> what is the main difference between the opaque view and materialized in the RPD perspective view, we have to do this at the level of the RPD or DB.

    -> I want the list of opaque opinion and materialized in the RPD view how I should do.

    -> How opaque views will degrade the performance and how a materialized view will improve performance at the level of the report.

    -> In scenarios that we use view opaque and the view materialized (if possible with a scenario for the best permanent basis).

    Thanks in advance.

    I want some clarification of opaque and view view in the physical layer OBIEE materialized

    -> What is the main difference between opaque view and create the materialized view in the RPD point of view, we have to do this at the level of the RPD or DB.

    Opaque views is a SQL statement that is defined in the physical layer, OBIEE will use all in the construction of a SQL query. In a way it's not different from a database view, except it is set in OBIEE only. Alternatively, you can deploy an Opaque view, which pushes its definition in the database. Read more about it here: work with physical tables, Cubes and joins - 11 g Release 1 (11.1.1)

    A materialized view (MV) is a database concept where the results of a SQL statement are physicalised like a table, and therefore as OBIEE is a MV is just another physical array

    -> If I want a list of the opaque views and materialized in the RPD view how I should do.

    To find opaque views, use the function «Repository of applications» administration tool Search physical Tables and set up a filter on the Type = Select

    Screenshot: https://www.evernote.com/shard/s16/sh/5c843e47-bff1-4d4b-b847-be98f3a2ec09/cf060a6cd9805f687fa0b5b46f3f0020

    To find materialized views, you will need to query the catalog in your database (for example select object_name, object_type from user_objects where type_objet = "MATERIALIZED VIEW" ;) and compare it to the list of tables in your SPR)

    -> How opaque views will degrade the performance and how a materialized view will improve performance at the level of the report.

    A materialized view is materialized, in other words, the results are already stored in the database. This means usually there will be more efficient because all the joins and aggregations, etc. will be settled in advance.

Maybe you are looking for

  • WAG320N - today's date and time on the router

    Hello I put restrictions on access to the xbox of my son on my WAG320N. I set the time zone time to GMT and active summer time, but I can't find a screen to actually tell me what the date & time is on the router itself. I had a problem with a previou

  • computer Vista, need to reinstall api.dll conn to get the logitech webcam to work

    I need HELP... VISTA... .somehow uninstall a program, took off my ConnAPI.dll... I need to reinstall, but I don't know how to get it back... Please a hint here...

  • Can't get my facebook login page

    Cannot get my facebook login page. When she's not display page correctly.

  • Windows 7 slow close

    Hi all I have Windows 7 Professional in a domain environment. For the first time in Windows 7, close, he'll wait almost 10 minutes before the session is closed and closing screen out.  And it will have a blue screen. However, if I choose to restart t

  • The unit 3.1 (6) server time zone

    The unit 3.1 (6) server time zone is GMT - 5 Eastern time currently, will change the local Caracas GMT-4, which affect the unity Server? has no problem for the voice message timestamps? Thank you