View hardware slow refresh less 10.2.0.4?

I have several views material which refreshed in minutes under 9.2.0.6, but take today for hours in 10.2.0.4. I think it's in my initialization settings. I remember the process to upgrade at least one of the HASH making obsolete parameters.

Can someone point me in a direction quickly?

A little more info... If I delete and recreate the view materialized from scratch it take a few minutes to build.

Thank you.

Published by: golflover1 on January 3, 2009 07:32

Published by: golflover1 on January 3, 2009 07:33

What type of discount allows you to refresh materialized views? (FULL, QUICK, FORCE)

Given that you migrated to 10g there is a slight difference in Oracle how the update.

Before 10 g, when a materialized view is completely refreshed the base table has been truncated and then filled with data.

From 10 g, the default behavior is changed and truncated is replaced with delete which translates with longer times of refreshing.

This behavior is expected, even if there was a bug that are associated with Bug #4132133, which was closed is NOT A BUG.

However, if you still want to do a truncation instead of delete, you must set atomic_refresh-online FALSE in your DBMS_MVIEW. REFRESH the order. This will make a truncation and refreshment will complete faster.

You should be careful about this, because there will come a time where the MV will contain no data.

golflover1 wrote:

A little more info... If I delete and recreate the view materialized from scratch it take a few minutes to build.

This confirms that what I wrote above. When you delete and re-create the MV, it don't DELETE it so it ends sooner.

I would say, go ahead and try to refresh the view with atomic_refresh-FALSE online and compare the run times.

begin
         dbms_mview.refresh(list=>'your mv name',method=>'C',atomic_refresh=>FALSE);
end;

For more info on DBMS_MVIEW. REFRESH check this link reference documentation.

See you soon,.

Tags: Database

Similar Questions

  • Slow refresh rate using a D3100 connect two monitors U2311H

    Hello

    I have a macbook pro 2016 and bought the Dell D3100 triple display USB adapter to use with it. The two monitors are connected to DVI using adapters connected to the displayport and hdmi ports. I installed the latest drivers from displaylink for El Capitan on the computer and plugged the dock on USB 3.0. The two monitors work. However, they all seem to have some considerable delay. Testufo indicates that they are both running at 60 Hz (as well as the display settings), but movement seems choppy and fuzzy, akin to 30 hz, but maybe a little better.

    I read that it would be able to run monitors 1080 at 60 Hz with little trouble. Is there something I am doing wrong?

    Thank you

    We didn't test the D3100 on Apple hardware or software is a big unknown.


    The slow refresh rate tells us that they're not really running at 60 Hz.

    The U2311H has the following ports video =.
    DP 1920 x 1080 60 Hz
    DVI 1920 x 1080 60 Hz
    VGA 1920 x 1080 60 Hz

    The D3100's video next ports =.
    Display Port 1.1 = 3840 x 2160 30 Hz, 1920 x 1080 60 Hz
    HDMI 1.4 = 2560 x 1440-50 Hz

    So the U2311H using DP 1. 1 a/DVI should be 60 Hz. The other at 50 Hz. But how the Apple operating system is to see these is unknown. You must post on the Apple Forum of Discussions and see if they can offer an overview or troubleshooting steps.

  • MV slow refresh

    I had to accept the MV with table of turf and it rebuilt after modification of the table materalized. Before you remove the metadata materialized view was.
     CREATE MATERIALIZED VIEW "DM_TGT_SHARED"."EA_MERGED_DATA_MV"
      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)
      TABLESPACE "DM_TGT_SHARED" 
      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 "DM_TGT_SHARED" 
      REFRESH FORCE ON DEMAND START WITH sysdate+0 NEXT SYSDATE + 1
      WITH ROWID USING DEFAULT LOCAL ROLLBACK SEGMENT<-----------------
      DISABLE QUERY REWRITE
      AS SELECT ACTIVITY_NO ,
        SR_NUMBER ,
        SR_ID ,
        SOURCE_SYSTEM ,
        BATCH_ID ,
        EA_ACT_TYPE ,
        EA_ACT_OWNER ,
        EA_OWNER_FULL_NAME ,
        EA_OWNER_BUS_UNIT ,
        EA_STATUS ,
        EA_DISPLAY_IN ,
        EA_EMPLOYEES ,
        EA_CREATOR_FULL_NAME ,
        EA_CREATOR_BUS_UNIT ,
        EA_CREATED,
        EA_CREATED_BY_USER ,
        EA_LAST_UPDATE,
        EA_LAST_UPD_BY_USER ,
        EA_DESCRIPTION ,
        EA_COMMENTS ,
        EA_DUE,
        EA_ACTUAL_END,
        EA_PLANNED_START,
        EA_PLANNED_COMPLETION,
        EA_PRIVATE ,
        EA_ALARM ,
        EA_PRIORITY ,
        EA_DURATION_MINS ,
        EA_DONE ,
        EA_BILL_ACCT_NO ,
        EA_BILLABLE ,
        EA_REPEAT_TYPE ,
        EA_REPEAT_FREQUENCY ,
        EA_REPEAT_UNTIL,
        EA_SCENARIO_ID ,
        EA_TREATMENT_LVL ,
        EA_QUEUE_NAME ,
        EA_ACCT_MIG_STATUS ,
        LATEST_UPDATE,
        EA_ROWID,
        SR_ROWID
      from "DM_TGT_TIO"[email protected];
     
    
      CREATE INDEX "DM_TGT_SHARED"."EA_MERGED_DATA_MV_STATUS" ON "DM_TGT_SHARED"."EA_MERGED_DATA_MV" ("EA_STATUS") 
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "DM_TGT_SHARED" ;
     
      CREATE INDEX "DM_TGT_SHARED"."EA_MERGED_DATA_MV_TYPE" ON "DM_TGT_SHARED"."EA_MERGED_DATA_MV" ("EA_ACT_TYPE") 
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "DM_TGT_SHARED" ;
     
      CREATE UNIQUE INDEX "DM_TGT_SHARED"."I_SNAP$_EA_MERGED_DATA_MV" ON "DM_TGT_SHARED"."EA_MERGED_DATA_MV" ("M_ROW$$") 
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "DM_TGT_SHARED" ;
     
    
       COMMENT ON MATERIALIZED VIEW "DM_TGT_SHARED"."EA_MERGED_DATA_MV"  IS 'snapshot table for snapshot DM_TGT_SHARED.EA_MERGED_DATA_MV';
    After the reconstruction of the view materialzed fell as above with predefined table.
    CREATE MATERIALIZED VIEW "DM_TGT_SHARED"."EA_MERGED_DATA_MV" ON PREBUILT TABLE WITHOUT REDUCED PRECISION USING INDEX REFRESH FORCE ON DEMAND START WITH sysdate+0 NEXT SYSDATE+1 USING DEFAULT LOCAL ROLLBACK SEGMENT DISABLE QUERY REWRITE
    AS
      SELECT ACTIVITY_NO ,
        SR_NUMBER ,
        SR_ID ,
        SOURCE_SYSTEM ,
        BATCH_ID ,
        EA_ACT_TYPE ,
        EA_ACT_OWNER ,
        EA_OWNER_FULL_NAME ,
        EA_OWNER_BUS_UNIT ,
        EA_STATUS ,
        EA_DISPLAY_IN ,
        EA_EMPLOYEES ,
        EA_CREATOR_FULL_NAME ,
        EA_CREATOR_BUS_UNIT ,
        EA_CREATED,
        EA_CREATED_BY_USER ,
        EA_LAST_UPDATE,
        EA_LAST_UPD_BY_USER ,
        EA_DESCRIPTION ,
        EA_COMMENTS ,
        EA_DUE,
        EA_ACTUAL_END,
        EA_PLANNED_START,
        EA_PLANNED_COMPLETION,
        EA_PRIVATE ,
        EA_ALARM ,
        EA_PRIORITY ,
        EA_DURATION_MINS ,
        EA_DONE ,
        EA_BILL_ACCT_NO ,
        EA_BILLABLE ,
        EA_REPEAT_TYPE ,
        EA_REPEAT_FREQUENCY ,
        EA_REPEAT_UNTIL,
        EA_SCENARIO_ID ,
        EA_TREATMENT_LVL ,
        EA_QUEUE_NAME ,
        EA_ACCT_MIG_STATUS ,
        LATEST_UPDATE,
        EA_ROWID,
        SR_ROWID
      FROM [email protected];
      CREATE INDEX "DM_TGT_SHARED"."EA_MERGED_DATA_MV_STATUS" ON "DM_TGT_SHARED"."EA_MERGED_DATA_MV"
        (
          "EA_STATUS"
        )
        PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE
        (
          INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
        )
        TABLESPACE "DM_TGT_SHARED" ;
      CREATE INDEX "DM_TGT_SHARED"."EA_MERGED_DATA_MV_TYPE" ON "DM_TGT_SHARED"."EA_MERGED_DATA_MV"
        (
          "EA_ACT_TYPE"
        )
        PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE
        (
          INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
        )
        TABLESPACE "DM_TGT_SHARED" ;
      COMMENT ON MATERIALIZED VIEW "DM_TGT_SHARED"."EA_MERGED_DATA_MV"
    IS
      'snapshot table for snapshot DM_TGT_SHARED.EA_MERGED_DATA_MV';
    now that point of view taking an age to refresh as before, there is a newspaper of MV, I suspect that I have not used "with rowid" clause during the reconstruction of the materliazed view, how do I add with rowid clause which I think will improve the refreshment of MV.

    Published by: user13653962 on 01/06/2013 15:46

    >
    I forgot to use the following clause, wonder can I change the MV for adherent ROWID clause? What worries me is if I do not include the ROWID clause in this MV by all means, this causes delayed refresh MV?
    >
    Re-read your previous answer.

    Just rebuilt the MV by adding the WITH ROWID clause. The reason that you have built the MV on the predefined table is because it built quickly so just build it again.

  • The thick, horizontal lines appear in source and program Viewer footage set to less than 100%...

    Can anyone help?

    This suddenly started across all projects, including those that I worked on for centuries without any problem.  Everything else seems to be exactly the same in other applications than ever before, PP only is affected.  The film is all progressive (I rarely encounter interlaced nowadays), prores HQ 25 fps, usually 1080, but also 720.  Output to the screen, through MXO2 mini is fine and has not changed at all.  I can't think of updates recently, certainly not in the last week, when it started.

    It's really weird and obviously wrong, but I can't begin to find how to solve this problem, after exhausting all my standard corrections (settings in the application hardware, OS, etc. all checked and rechecked.  Made restarts - without result).

    My system is:

    MacPro 5.1 6 hearts 3.33 GHz

    12 GB OF RAM

    GTX285 Mac GPU - CUDA 5.0.45, GPU driver 1.3.4.0 (295.00.05f03)

    OSX 10.7.5

    PP CS 6.0.2

    MXO2 mini - latest drivers etc.

    All thoughts, much appreciated!

    Thank you

    Dominic

    Well, I think I have fixed it but any the wiser for why I got this problem.

    Fixed by upgrading my OS to OSX 10.8.3 (always experience trembling nerve), after my startup etc. disk cloning.  Then I updated to the latest CUDA, reinstalled my Matrox drivers and crossed my fingers!  Fortunately, everything seems fine now.  I can only think that the problem was, perhaps, something to do with CUDA, because the only time where I never had a problem has been using PP and reading less than 100% scale.

  • OBIEE - new view just created. Instant results in 'view data' - slow responses

    Hello

    I created a view of a table with a long data type, so a function has been used to convert to varchar type. When I execute a select statement with this in Toad or query tool results come back instantly, and when I press 'View data' in obiee they show in 3 seconds. Then I created an answer and put the two columns in the view of the report and he ran so he comes to see the columns. There are 30 000 REB. It takes five minutes to list them. Is it possible to get it to run faster please?

    I'm actually just simply wanting to calculate the sum on them, but this takes 5 minutes also. I expected to just list people instantly well.

    Any ideas please?

    Kind regards
    Hilary.

    Hi hilary,

    Have you used this datbase opinion that has been created in RPD in the physical layer by accessing the properties of the table and use SQL and write your review.

    Apply a guest on one of the attributes of your report, so you can filter the data in it and you will get less data out of it that gets you in no time.

    If the answer scores points for all your discussions. Its label of forum and it would be useful to others.

    See you soon,.
    KK

    Published by: Kranthi.K on April 19, 2011 05:15

  • Ali g 11, view is not refreshed when model

    Hello
    Really miss me something adf faces (jdev 11.1.1.3.0).

    I have a web app with jspx, tabpanels and pojo data controls.

    Since there is no complex logic to open new pages/tabs, sometimes I have to open new pages/tabs programmatically, and I also sometimes
    to refresh the model behind pages/tabs programmatically.

    When I say "programmatically" I mean that the updating of the model is not started by an action of the user on the Web page, but it is started by logic in the model layer
    (say, for example, you receive a JMS message and you want to reload the entire page content).

    I can correctly update the model, using debug println I can see that the template is updated, but there is no way that I can update the view.

    I tried with the code "addPartialTarget" and so on, but it does not work.


    I have also bought and read "Oracle JDeveloper 11g Handbook" and "Oracle Fusion Developer Guide", but I can't find anything that can help me.


    Can someone explain to me: what don't understand me? I don't know there's some notion in ADF Faces I missed: this framework is too
    big not to offer what I need, so I missed something for you.

    I hope to have an answer, I hope Shay reads this too.


    Thank you all.

    Hello

    Active Data Services (Chapter 20 of the book) is what allows you to synchronize the screen with changes made to the model. The problem you face is because the data that you see is what is stored in the link layer iterators. An alternative to the use of the ADS is to use an af:poll component that updates the display component when the model has changed. To do this, your model exposes a method that returns a timestamp which changes each time the data has changed. On the expiry of af: poll, he calls a managed bean method, which - through the ADF link layer - checks the timestamp and compares it to a local saved copy (whenever the timestamp has changed, the client side he wrote for example to the viewScope or pageFlowScope). If the timestamp has changed, the managed bean reruns the method of the iterator for the user interface components and then issues a partial refresh of the components. "Instead of PPR'ing each element in turn, you can try setting the property ChangeEventPolicy of the ppr iterators.

    This should solve the problem. The last example is also explained in the chapter 20, but ADF in British Colombia

    Frank

  • Materialized view takes to refresh

    On Oracle 11 g 2, I created a fast refresh materialized on the validation view
    CREATE MATERIALIZED VIEW mv_case
    PARALLEL BUILD IMMEDIATE REFRESH FAST ON COMMIT ENABLE QUERY REWRITE AS
    SELECT p.jperson_id,offense_id,CASE_SENTENCE_DATE,court_ref,CASE_COURT_ORI,
      c.CASE_VERDICT_DATE,CASE_DOCKET,c.CASE_EXPUNGED,c.jcase_id,cc.CYCLEID_ID,
      p.rowid p_rowid,xc.rowid xc_rowid,c.rowid c_rowid,cxo.rowid cxo_rowid,cc.rowid cc_row_id
    FROM jperson p,jperson_x_jcase xc,jcase c,jcase_x_offense cxo,jcase_x_cycleid cc
    where p.jperson_id = xc.jperson_id(+) and xc.jcase_id = c.jcase_id(+) 
      and c.jcase_id = cxo.jcase_id(+) and c.jcase_id=cc.jcase_id;
    create index idx_mv_case_pid on mv_case(jperson_id);
    ALTER TABLE mv_case ADD (CONSTRAINT PK_MV_CASE PRIMARY KEY(jcase_id,offense_id)) ;
    create index idx_mv_case_p_rowid on mv_case(p_rowid);
    create index idx_mv_case_xc_rowid on mv_case(xc_rowid);
    create index idx_mv_case_c_rowid on mv_case(c_rowid);
    create index idx_mv_case_cxo_rowid on mv_case(cxo_rowid);
    create index idx_mv_case_cc_rowid on mv_case(cc_row_id);
    I inserted a single line into one of the main table
    insert into jcase_x_offense (offense_id,jcase_id) values ('test_row3','test_row3');
    commit;
    The tooks to commit a fairly long. I looked in the trace file and the actual insertion took 0.01 seconds but the internel DML took most of the time. I copy the TKPROF output that is relevant for the internal DML below
    INSERT INTO QAPF.MV_CASE SELECT /*+ NO_MERGE(JV$) */ 
      MAS$4.JPERSON_ID,JV$.OFFENSE_ID,MAS$2.CASE_SENTENCE_DATE,
      MAS$2.COURT_REF,MAS$2.CASE_COURT_ORI,MAS$2.CASE_VERDICT_DATE,
      MAS$2.CASE_DOCKET,MAS$2.CASE_EXPUNGED,MAS$2.JCASE_ID,
      MAS$0.CYCLEID_ID,MAS$4.ROWID,MAS$3.ROWID,MAS$2.ROWID,JV$.RID$,
      MAS$0.ROWID 
      FROM ( SELECT MAS$.ROWID RID$  ,  MAS$.*  FROM  QAPF.JCASE_X_OFFENSE MAS$ WHERE ROWID IN 
              (SELECT  /*+ HASH_SJ */ CHARTOROWID(MAS$.M_ROW$$) RID$ 
               FROM QAPF.MLOG$_JCASE_X_OFFENSE MAS$ WHERE MAS$.XID$$ = :1 )) JV$,
      JCASE_X_CYCLEID AS OF SNAPSHOT(:B_SCN)  MAS$0, JCASE AS OF SNAPSHOT(:B_SCN)  MAS$2, 
      JPERSON_X_JCASE AS OF SNAPSHOT(:B_SCN)  MAS$3, JPERSON AS OF SNAPSHOT(:B_SCN)  MAS$4 
      WHERE (MAS$4.JPERSON_ID=MAS$3.JPERSON_ID(+) 
      AND MAS$3.JCASE_ID=MAS$2.JCASE_ID(+) 
      AND MAS$2.JCASE_ID=JV$.JCASE_ID(+) 
      AND MAS$2.JCASE_ID=MAS$0.JCASE_ID) 
      AND NOT EXISTS ( 
        SELECT 1 FROM QAPF.MV_CASE SNA2$ 
        WHERE (SNA2$.P_ROWID = MAS$4.ROWID) 
        AND (SNA2$.XC_ROWID = MAS$3.ROWID OR MAS$3.ROWID IS NULL ) 
        AND (SNA2$.C_ROWID = MAS$2.ROWID OR MAS$2.ROWID IS NULL ) 
        AND (SNA2$.CC_ROW_ID = MAS$0.ROWID OR MAS$0.ROWID IS NULL ) 
        AND JV$.RID$ IS NULL) 
      AND NOT EXISTS ( 
        SELECT 1  FROM JCASE_X_OFFENSE MAS_INNER$, JCASE AS OF SNAPSHOT(:B_SCN)  MAS_OUTER$ 
        WHERE MAS$2.ROWID = MAS_OUTER$.ROWID AND JV$.RID$ IS NULL 
        AND MAS_OUTER$.JCASE_ID=MAS_INNER$.JCASE_ID)
    
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1     99.51     364.87     377012   17412972          1           0
    Fetch        0      0.00       0.00          0          0          0           0
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total        2     99.51     364.87     377012   17412972          1           0
    
    Rows     Row Source Operation
    -------  ---------------------------------------------------
          0  LOAD TABLE CONVENTIONAL  (cr=17412968 pr=377012 pw=120527 time=0 us)
          0   FILTER  (cr=17412968 pr=377012 pw=120527 time=0 us)
    3363837    HASH JOIN RIGHT OUTER (cr=264914 pr=280254 pw=120527 time=35845080 us cost=299444 size=1029332286 card=3363831)
          1     VIEW  (cr=112490 pr=180864 pw=119722 time=0 us cost=30743 size=78 card=1)
          1      HASH JOIN SEMI (cr=112490 pr=180864 pw=119722 time=0 us cost=72627 size=208 card=1)
    11354346       TABLE ACCESS FULL JCASE_X_OFFENSE (cr=112488 pr=112447 pw=0 time=4814838 us cost=30703 size=749386770 card=11354345)
          1       TABLE ACCESS BY INDEX ROWID MLOG$_JCASE_X_OFFENSE (cr=2 pr=0 pw=0 time=0 us cost=1 size=142 card=1)
          1        INDEX RANGE SCAN IDX_MLOG$_XID_JCASE_X_OFFENSE (cr=1 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 98375)
    3363837     HASH JOIN  (cr=152424 pr=99390 pw=805 time=29973970 us cost=268690 size=766953468 card=3363831)
    2994042      INDEX FAST FULL SCAN JPERSON_I0 (cr=18134 pr=0 pw=0 time=772990 us cost=17450 size=134731845 card=2994041)(object id 83738)
    3363837      HASH JOIN  (cr=134290 pr=99390 pw=805 time=25292580 us cost=212128 size=615581073 card=3363831)
    3363837       HASH JOIN  (cr=69008 pr=34127 pw=805 time=4750330 us cost=101637 size=393568929 card=3363837)
    3363837        TABLE ACCESS FULL JCASE_X_CYCLEID (cr=33337 pr=33322 pw=0 time=2942460 us cost=33569 size=222013242 card=3363837)
    6586646        TABLE ACCESS FULL JCASE (cr=35671 pr=0 pw=0 time=1584102 us cost=35988 size=335918895 card=6586645)
    6586635       TABLE ACCESS FULL JPERSON_X_JCASE (cr=65282 pr=65263 pw=0 time=5446686 us cost=65632 size=434717844 card=6586634)
    3363837    FILTER  (cr=17148054 pr=96758 pw=0 time=0 us)
    3363837     MAT_VIEW ACCESS BY INDEX ROWID MV_CASE (cr=17148054 pr=96758 pw=0 time=0 us cost=7 size=40 card=1)
    32464070      INDEX RANGE SCAN IDX_MV_CASE_P_ROWID (cr=4489770 pr=15250 pw=0 time=19576798 us cost=3 size=0 card=7)(object id 98467)
          0    FILTER  (cr=0 pr=0 pw=0 time=0 us)
          0     NESTED LOOPS  (cr=0 pr=0 pw=0 time=0 us cost=4 size=78 card=1)
          0      TABLE ACCESS BY USER ROWID JCASE (cr=0 pr=0 pw=0 time=0 us cost=1 size=45 card=1)
          0      INDEX RANGE SCAN JCASE_X_OFFENSE_I0 (cr=0 pr=0 pw=0 time=0 us cost=3 size=33 card=1)(object id 83623)
    Issues related to the:
    (1) what are the objects as JCASE OF SNAPSHOT(:B_SCN)? Can I index? I tried to access it, but received the error
    Select * from SNAPSHOT(:B_SCN) JCASE;
    ORA-08187: snapshot expression not allowed here
    08187 00000 - "expression of unauthorized snapshot here.
    * Cause: An expression that uses snapshot AS of a specified when not allowed.
    * Action: Do not use the ACE OF the clause

    (2) in the inline view more trees, he used ROWID in where clause. I tried to create an index on the ROWID and error
    create index idx_jcase_offense_rid on JCASE_X_OFFENSE (rowid)
    *
    ERROR on line 1:
    ORA-00904: invalid identifier

    Note: I checked that I have the index of all the areas in which all the clauses contained in the DML except rowid.

    Thanks for help.

    1 apparently Oracle Flashback technology is used when no newspaper materialized view have been implemented

    2 rowid is the external representation of the physical location of a line. The rowid points to a file and a block and a rowid in this block.
    The nodes of an index comprised of a key and the corresponding rowid.
    As a rowid is never stored, you also can't index.

    Your performance issue is the result of outerjoining all tables.
    It is a design error. Outer joins always lead to table scan complete and joins of hash for obvious reasons.

    As your MV is a MV complex is not a candidate for FAST REFRESH ON COMMIT.

    ---------------
    Sybrand Bakker
    Senior Oracle DBA

  • materialized view don't refresh

    I'm new on materialized views and I have successfully created the view:

    CREATE A MATERIALIZED VIEW 'SYSCLI '. "" MV_CIRCS ".
    ORGANIZATION HEAP PCTFREE 0 PCTUSED 99 INITRANS 1 MAXTRANS 255 NOCOMPRESS SLAUGHTER
    STORAGE (INITIAL 524288 NEXT 524288 MINEXTENTS 1 MAXEXTENTS 2147483645)
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 DEFAULT USER_TABLES)
    TABLESPACE 'USERS '.
    IMMEDIATE CONSTRUCTION
    USING INDEX
    COMPLETE REFRESH
    DEFAULT LOCAL ROLLBACK SEGMENT USING
    START BY SYSDATE
    NEXT ROUND (SYSDATE + 1) + 7/24
    DISABLE THE QUERY REWRITING
    SELECT location_id, count (*) as cried, to_char (circ_transaction_log.transaction_date, 'yyyy') as circ_year,
    TO_CHAR (circ_transaction_log.transaction_date, 'mm') as circ_month,
    TO_CHAR (circ_transaction_log.transaction_date, 'dd') as circ_day,
    TO_CHAR (circ_transaction_log.transaction_date, 'hh24') as circ_hour
    of CIRC_TRANSACTION_LOG
    where (circ_transaction_log.transaction_type In ('1', '2', '3', '4' ', 5',' 6 ', ' 9')) and (circ_transaction_log.patron_type_id not in ('SP', 'IP', 'HE'))
    Group of circ_transaction_log.location_id, to_char(circ_transaction_log.transaction_date,'yyyy'), to_char(circ_transaction_log.transaction_date,'mm'), to_char(circ_transaction_log.transaction_date,'dd'), to_char (circ_transaction_log.transaction_date, 'hh24');

    I can see via dba_jobs it as the next refresh (next_date-> 14 January 10, next_sec--> 07:00:00. Everything seemed fine, but labour does not automatically run this morning. I can (and have) run the job manually using:
    Run DBMS_JOB. RUN (109);

    Some tips on how I can know what is the problem? I guess I think it's maybe a permissions thing? Thank you.

    SELECT name, value of the parameter $ v whose name like '% % '.

    What is the result of the above query

  • Why is the Event Viewer so slow?

    This question runs through the back of my mind for years, so I give him another chance. Since Windows is using newly designed event viewer (from Windows 7 / Windows Server 2008), it takes an unusual amount of time to display the list of events when you first click on a certain event log. I'm talking about 5 to 20 seconds and I can observe this behavior on every machine we have. I guess that the MMC load all alone before display event log chosen and therefore takes this huge amount of time. It's always annoying if you open Event Viewer, several times a day and I'd love to have this problem.

    I guess that the MMC load all alone before display event log chosen and therefore takes this huge amount of time.

    Yes, it takes a lot of time to read all the newspapers from the hard drive, fill in the table in memory, then filter for the one (s) you selected.  I've heard a lot of work going on in this Windows 10, but as it is rarely used (and Windows 7 is beyond the end of the chronology of support), you get any updates to fix on Windows 7.

  • folder view is not refresh after deleting file

    Win7 64

    Folder view is not updated after deleting the file.

    Needs of F5 update or change directory...

    Erraticly appear.

    It's just impossible to give such a system a simple user.

    Apparently a problem experienced in years...

    Just thinking about moving to Linux entire PC fleet.

    Hello

    Step 1:

    You can check if the problem continues in a new user account. To create a new user account:

    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    Step 2:

    If the new user account works fine then the old account has been corrupted, you can follow the link given below to fix the corrupted user profile.

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    Hope that information was useful

  • Query on the view runs slower than the direct request

    Hi all

    I created a simple display and when I run the view she takes more time and when I run the query it answer quickly.

    Here are the plans of the explain command

    Query:

    Execution plan

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

    Hash value of plan: 2867537711

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

    | ID | Operation | Name                       | Lines | Bytes | Cost (% CPU). Time |

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

    |   0 | SELECT STATEMENT |                            |     1.   153.  107   (1)| 00:00:02 |

    |   1.  COUNT                         |                            |       |       |            |          |

    |*  2 |   OUTER HASH JOIN |                            |     1.   153.   107 (1) | 00:00:02 |

    |   3.    NESTED LOOPS |                            |     1.   101 |     4 (0) | 00:00:01 |

    |   4.     TABLE ACCESS BY INDEX ROWID | TBLWEBINSPR |     1.    58.     2 (0) | 00:00:01 |

    |*  5 |      INDEX UNIQUE SCAN | IDX_SUBSRIBER_WEBINSPR |     1.       |     1 (0) | 00:00:01 |

    |*  6 |     TABLE ACCESS BY INDEX ROWID | TBLMACCOUNT |     1.    43.     2 (0) | 00:00:01 |

    |*  7 |      INDEX RANGE SCAN | IDX_USERNAME_ACCOUNT |     1.       |     1 (0) | 00:00:01 |

    |*  8 |    TABLE ACCESS FULL | TBLTNETWORKSERVICEINSTANCE | 12828.   651K |   103 (1) | 00:00:02 |

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


    Explain the Plan of view:

    Execution plan

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

    Hash value of plan: 3639776364

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

    | ID | Operation | Name                       | Lines | Bytes | Cost (% CPU). Time |

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

    |   0 | SELECT STATEMENT |                            | 12889.    61 M |   824 (1) | 00:00:10 |

    |*  1 |  VIEW                   | V5                         | 12889.    61 M |   824 (1) | 00:00:10 |

    |   2.   COUNTY |                            |       |       |            |          |

    |*  3 |    EXTERNAL RIGHT HASH JOIN |                            | 12889.  1925K |   824 (1) | 00:00:10 |

    |*  4 |     TABLE ACCESS FULL | TBLTNETWORKSERVICEINSTANCE | 12828.   651K |   103 (1) | 00:00:02 |

    |*  5 |     HASH JOIN |                            | 12889.  1271K |   721 (1) | 00:00:09 |

    |*  6 |      TABLE ACCESS FULL | TBLMACCOUNT | 12865.   540K |   583 (1) | 00:00:07 |

    |   7.      TABLE ACCESS FULL | TBLWEBINSPR | 17680.  1001K |   137 (1) | 00:00:02 |

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

    Query is:

    Select rownum as id, tw.subscriberidentity as user_identity, tw.password, tw.customertype, tw.expirydate, tw.status, nvl (decode (lower (tn.isportal), 'yes', 'yes', 'no', 'no'), 'yes') as passwordcheck,.

    fn_getEncryptionType (TM.encryptiontypeid) as encryptiontype, tw.servicetype, tn.maccount, tn.isroaming, tn.isportal, tn.iprange, lower (replace (fn_getmodemmac (tn.referenceaccountid),'-')) as modemmac,

    NVL(fn_getclientmac(TN.referenceaccountid),'A4-BA-DB-B7-FA-10') as clientmac, 'DEN Delhi address' as address, tn.networkkeyid, decode (lower (tn.isroaming), 'yes', null, 'no', "0:8 ='|") TN.iprange) as checkroaming,

    'ACC0000000' as cacno, ' [email protected] ' as cemailid, 'The account name' as cname, like cmobile's ' 7567077034', '66099965606' as coffice from (select distinct referenceaccountid, param2 Minventa, param4

    IsRoaming, param5 isportal, param6 iprange, NTWRKSRVINSTANCEID networkkeyid of tbltnetworkserviceinstance where systemgenerated = 'n') tn, tw, tblmaccount tm tblwebinspr where

    TN.referenceaccountid (+) = tm.accountid and tw.subscriberidentity = tm.username and tm.accounttypeid = 'ACT08' and tm.systemgenerated = ' don't

    Please suggest.

    Kind regards

    Ronak Masudi

    You do not have show us the request, the view definition or the predicate for the plans section; but speculation obvious that you have included the rownum inside the view definition - which makes a view no-that can be merged that must be instantiated before the predicate of the query can be applied.

    Concerning

    Jonathan Lewis

  • Lighroom 5.4 develop view does not refresh when you change cursors

    Just updated to Lightroom 5.4 (using Adobe CC) on Win8. After "saw to develop" on any photo and change the exposure or any other cursor does not update the main view of the photo. He however update the thumbnail in the strip of film and the second monitor window correctly. I have tried everything I can think of:

    (1) demotion to 5.3 LR (which used to work)

    (2) force the regeneration overview standard and 1:1

    (3) uninstall the re - install Lightroom (5.3 and 5.4)

    (4) maximize the catalogue

    (5) remove the folder AppData Adobe

    (6) creating a new catalog with zero pictures, import a single photo and try to change exposure/contrast on this

    None of these results in the view to develop the image change when I change the cursors.

    Guys do you have experience with this?

    Hey entombed123,

    It seems that I found what the problem is - it's to follow the color profile. Attempt to set the default and check again. It worked for me and a few people who have had this problem before.

    Good luck.

  • View LOV slow object

    I have a page with a selectonechoice field that has an LOV element based in a view accessor.

    This view accessor based vo that has 900 records in the database. This is a table of multilangueage of the countries (238 in four languages-> about 900 records).

    The problem is that when the page is displayed the first time it takes about 30 seconds to appear. When I ask againg for the page, then it is much faster (I guess because the original Version is already loaded).

    I have being debugged it and it seems that this is the time that ADF has to load all the records of 900.

    Run the aPPModule and the VO of country, when I ask for the last record it also takes about 30 seconds.

    What can I do to speed it up? I don't know why ADF takes so long to load 900 records? In fact the LOV display only 238 records because there is an active viewcriteria filtering by language, but it takes the same 30 seconds.

    This original Version is only for the purpose of the LOV and so it's a read only VO.

    Any idea?

    have you tried not tuning your LOV VO?
    See these -.
    http://andrejusb.blogspot.com/2009/02/improving-performance-in-ADF.html
    http://www.avromroyfaderman.com/2008/11/ADF-BC-tuning-III-view-objects-Part-1/
    http://www.gebs.ro/blog/Oracle/ADF-view-object-performance-tuning-analysis/

  • materialized view full refresh much slower that recreate

    Hello!

    We use the view materialized for our DWH, which freshen every day to demand and full. I noticed that after some time refreshing take very long materialized view (1 h), recreating the view materialized and refreshing it at the same time just takes a few minutes. The result is exactly the same thing.
    Can someone explain to me why this is the case? And is there a better way to recreate materialized view that copying and running the entire SQL statement?

    Thanks for your help!

    Edited by: 890408 26 March 2012 23:29

    Since 10g or 10 g 2, the default behavior for a refreshment FULL of a MV is DELETE and INSERT.
    (In 9i, it was TRUNCATE and INSERT - which was, obviously, faster).
    The advantage with the DELETE and INSERT, is that the data are still visible in the MV while it is updating.

    See Oracle's Support article:
    Refresh complete reading consistency behavior during refresh and refresh complete Performance influenced by the setting of refresh ATOMIC_REFRESH [ID 553464.1]

    Hemant K Collette

  • Smart view in the slow with office 2010 but fast zoom with office 2007

    Smart zoom view in slow for a user with office 2010, but the same zoom in fact with office 2007 comes back almost instantly.

    What version of Smart View / APS?  How many lines is returned by the zoom?

    Do you know that absolutely all of the options are identical to get it back ('use Excel put shaped' makes a big difference to big zooms)?

Maybe you are looking for