IS ORACLE HELPLESS IN REFRESHING COMPLEX MVIEW FAST??

I have a mview with a complicated query.But I need to refresh it fast on commit.I would be grateful if you people could solve this prob anyway.My mview script is given below..
SELECT TAS.ANSWER_SET_ID ALGORITHM_ID,
          TAS2.ANSWER_SET_ID RULE_ID, TAS2.CODEVAL1 SEQUENCE_NO,
     DE.EFFECTIVE_FROM_DATE EFFECTIVE_DATE,
          DE.ALPHANUMERIC_CODE_VALUE STATUS,
     MN1.MESSAGE_TEXT STAT_CODE,
          MN2.MESSAGE_TEXT CREDIT_PERCENTAGE,
          MN3.MESSAGE_TEXT DEBIT_PERCENTAGE,
     MN4.MESSAGE_TEXT CREDIT_DOLLAR,
          MN5.MESSAGE_TEXT DEBIT_DOLLAR,
          MN6.MESSAGE_TEXT ELEMENT_INCLUDED_IN,
     MN7.MESSAGE_TEXT PREMIUM_BASED_ON,
          MN8.MESSAGE_TEXT PREM_RATING_ELEMENT,
     EXP1.MESSAGE_TEXT EXPIARY_DATE
FROM T_RULE_CONTEXT RC,
          T_ANSWER_SET TAS,
          T_ANSWER_SET TAS1,
     T_ANSWER_SET TAS2,
     T_DECISION_PARAMETER DP,
          T_DECISION_EXPRESSION DE,
     T_DECISION_MESSAGE DM1,
          T_DECISION_MESSAGE DM2,
          T_DECISION_MESSAGE DM3,
     T_DECISION_MESSAGE DM4,
          T_DECISION_MESSAGE DM5,
          T_DECISION_MESSAGE DM6,
     T_DECISION_MESSAGE DM7,
          T_DECISION_MESSAGE DM8,
     (SELECT MESSAGE_NOTE_ID, DM4.ANSWER_SET_ID FROM T_DECISION_MESSAGE DM4, T_ANSWER_SET TAS2 WHERE DM4.ANSWER_SET_ID = TAS2.ANSWER_SET_ID AND MESSAGE_NAME='EXPIARY_DATE') EXP,
     T_MESSAGE_NOTE MN1,
          T_MESSAGE_NOTE MN2,
          T_MESSAGE_NOTE MN3,
     T_MESSAGE_NOTE MN4,
          T_MESSAGE_NOTE MN5,
          T_MESSAGE_NOTE MN6,
          T_MESSAGE_NOTE MN7,
          T_MESSAGE_NOTE MN8,
     (SELECT DM5.MESSAGE_NOTE_ID A, DM5.ANSWER_SET_ID, MN4.MESSAGE_NOTE_ID B, MESSAGE_TEXT FROM T_DECISION_MESSAGE DM5, T_ANSWER_SET TAS3, T_MESSAGE_NOTE MN4 WHERE DM5.ANSWER_SET_ID = TAS3.ANSWER_SET_ID AND DM5.MESSAGE_NAME='EXPIARY_DATE' AND DM5.MESSAGE_NOTE_ID = MN4.MESSAGE_NOTE_ID(+)) EXP1
WHERE      RC.CONTEXT_NAME = 'ALGORITHMS'
AND      RC.QUESTION_SET_ID = TAS.QUESTION_SET_ID_PARENT
AND      TAS1.CODEVAL1 = 'NO'
AND      TAS1.QUESTION_SET_ID_PARENT(+) = TAS.QUESTION_SET_ID_CHILD
AND      TAS1.QUESTION_SET_ID_PARENT IN
                         (SELECT QUESTION_SET_ID_CHILD
                         FROM T_RULE_CONTEXT , T_ANSWER_SET
                         WHERE RC.CONTEXT_NAME = 'ALGORITHMS'
                         AND QUESTION_SET_ID = QUESTION_SET_ID_PARENT)
AND      TAS2.QUESTION_SET_ID_PARENT = TAS1.QUESTION_SET_ID_CHILD
AND      DP.ANSWER_SET_ID = TAS2.ANSWER_SET_ID
AND      DE.DECISION_PARAMETER_ID = DP.DECISION_PARAMETER_ID
AND      DM1.ANSWER_SET_ID = TAS2.ANSWER_SET_ID
AND      DM2.ANSWER_SET_ID = TAS2.ANSWER_SET_ID
AND      DM3.ANSWER_SET_ID = TAS2.ANSWER_SET_ID
AND      DM4.ANSWER_SET_ID = TAS2.ANSWER_SET_ID
AND      DM5.ANSWER_SET_ID = TAS2.ANSWER_SET_ID
AND      DM6.ANSWER_SET_ID = TAS2.ANSWER_SET_ID
AND      DM7.ANSWER_SET_ID = TAS2.ANSWER_SET_ID
AND      DM8.ANSWER_SET_ID = TAS2.ANSWER_SET_ID
AND      TAS2.ANSWER_SET_ID = EXP.ANSWER_SET_ID(+)
AND      DM1.MESSAGE_NAME = 'STAT_CODE'
AND      DM2.MESSAGE_NAME = 'CREDIT_PERCENTAGE'
AND      DM3.MESSAGE_NAME = 'DEBIT_PERCENTAGE'
AND      DM4.MESSAGE_NAME = 'CREDIT_DOLLAR'
AND      DM5.MESSAGE_NAME = 'DEBIT_DOLLAR'
AND      DM6.MESSAGE_NAME = 'ELEMENT_INCLUDED_IN'
AND      DM7.MESSAGE_NAME = 'PREMIUM_BASED_ON'
AND      DM8.MESSAGE_NAME = 'PREM_RATING_ELEMENT'
AND      MN1.MESSAGE_NOTE_ID = DM1.MESSAGE_NOTE_ID
AND      MN2.MESSAGE_NOTE_ID = DM2.MESSAGE_NOTE_ID
AND      MN3.MESSAGE_NOTE_ID = DM3.MESSAGE_NOTE_ID
AND      MN4.MESSAGE_NOTE_ID = DM4.MESSAGE_NOTE_ID
AND      MN5.MESSAGE_NOTE_ID = DM5.MESSAGE_NOTE_ID
AND      MN6.MESSAGE_NOTE_ID = DM6.MESSAGE_NOTE_ID
AND      MN7.MESSAGE_NOTE_ID = DM7.MESSAGE_NOTE_ID
AND      MN8.MESSAGE_NOTE_ID = DM8.MESSAGE_NOTE_ID
AND      EXP.MESSAGE_NOTE_ID = EXP1.A(+)
IS THERE ANY WAY TO DO THIS OR ITS A LIMITATION OF ORACLE??

Hi,
Take a look on restrictions applied on fast refresh of materialized views:
General Restrictions:
1.) The materialized view must not contain references to non-repeating expressions like SYSDATE and ROWNUM.
2.) The materialized view must not contain references to RAW or LONG RAW data types.
Restrictions on Fast Refresh on Materialized Views with Joins Only:
1.) All restrictions from "General Restrictions on Fast Refresh".
2.) They cannot have GROUP BY clauses or aggregates.
3.) If the WHERE clause of the query contains outer joins, then unique constraints must exist on the join columns of the inner join table.
4.) If there are no outer joins, you can have arbitrary selections and joins in the WHERE clause. However, if there are outer joins, the WHERE clause cannot have any selections. Furthermore, if there are outer joins, all the joins must be connected by ANDs and must use the equality (=) operator.
5.) Materialized view logs must exist with rowids for all the base tables in the FROM list of the query.
In your case look on point 3 and 4. This might cause problems. Sort out issues relating to point 3 & 4. Then i hope that fast refreshing should work with your view.

Similar Messages

  • Restarting oracle services through services.msc is faster then shu immdiate

    Restarting oracle services through services.msc is faster then manual (sql>shu immdiate), Why
    Even If we have large transcation on the oracle database But we can restart the database within minutes by using services.msc But It will take more time in command prompt(sql>shu immediate). So shall we assume here that services.msc is using shut abort command while restarting the database?
    *(what is difference between restarting the database using with services.msc and sql>shu immediate)*

    user13584223 wrote:
    Restarting oracle services through services.msc is faster then manual (sql>shu immdiate), Why
    Even If we have large transcation on the oracle database But we can restart the database within minutes by using services.msc But It will take more time in command prompt(sql>shu immediate). So shall we assume here that services.msc is using shut abort command while restarting the database?
    *(what is difference between restarting the database using with services.msc and sql>shu immediate)*what clues exist within alert_SID.log file when you terminate the OS Oracle service?

  • Mview Fast Refresh Problem

    Hello,
    We run a fast refresh for a particular mview. I have the mview log created on the primary db (base table) and the mview created on another reporting database.
    The fast refresh seems to be fine throughout the day but at the end of a day it fails to do the fast refresh and i'm forced to do a complete refresh everyday which fixes it but this cycle continues until the end of day when it breaks again.
    If you notice in the next date column the refresh date turns to 01-JAN-00, not sure why this happens and this is causing the problem.
    JOB REFRESH_JOB LAST_DATE NEXT_DATE NEXT_SEC BROKEN
    70 CON_SYS"."MV_BRICKNW" 04-AUG-10 01-JAN-00 00:00:00 Y
    75 CON_SYS"."MV_BRICKNWCAN" 04-AUG-10 01-JAN-00 00:00:00 Y
    Could someone please tell me what the problem is.

    The Refresh Date gets reset when the job is Broken (which you see as BROKEN='Y'). The job is Broken when 16 consecutive attempts have failed (which you would see in FAILURE_COUNT).
    You have to find out why it fails -- fails 16 times. There seems to be an issue with the date/time logic OR one of the source objects probably gets dropped or becomes unavailable close to the end of the day.
    Hemant K Chitale

  • Mview fast refresh taking longer than complete refresh

    Hi there,
    We have a mview which takes about an hour to refresh in complete mode. Created all the mview logs and refreshing via fast method but this takes longer.
    When all the mview logs empty works fine as fast refresh and far far quicker as would expect. Tried upadting one of records on base table called todays_date which simply stores todays date to get around fast refresh restriction with sysdate.
    Anybody any idea why so slow?
    Also wondering if better approach. Thought about just having an aggregate table and processing the inserts in MLOG$_TRANS_TABLE via a merge statement. Also heard about change data capture.
    Any thoughts/suggestions welcome.
    Many Thanks

    Well, search with your post subject on this forum. There are a lot of threads discussing the same.

  • Query against materialized view awful after refresh of Mview

    We have a materialized view defined to refresh complete daily at 5am. YOu can run queries against the MV alone or joining it to other tables. Results come back in 2 or 3 seconds. Once the MView refreshes at 5am - those same queries now take 15 minutes or even more sometimes to complete. WHY IS THIS HAPPENING?? Help anyone?

    okay this is better... sorry...
    this is the GOOD EXPLAIN PLAN:
    PLAN_TABLE_OUTPUT                                                                                                                                                                                                                                                                      
    | Id  | Operation                         |  Name             | Rows  | Bytes | Cost  |                                                                                                                                                                                                
    |   0 | SELECT STATEMENT                  |                   |     1 |   127 |  1665 |                                                                                                                                                                                                
    |   1 |  SORT AGGREGATE                   |                   |     1 |   127 |       |                                                                                                                                                                                                
    |   2 |   NESTED LOOPS                    |                   |     1 |   127 |  1665 |                                                                                                                                                                                                
    |   3 |    NESTED LOOPS                   |                   |     1 |   113 |  1664 |                                                                                                                                                                                                
    |   4 |     NESTED LOOPS                  |                   |     1 |    99 |  1663 |                                                                                                                                                                                                
    |   5 |      NESTED LOOPS                 |                   |     1 |    88 |  1662 |                                                                                                                                                                                                
    |*  6 |       HASH JOIN ANTI              |                   |     1 |    70 |  1661 |                                                                                                                                                                                                
    |*  7 |        TABLE ACCESS BY INDEX ROWID| CONTACT           |  3815 |   201K|  1534 |                                                                                                                                                                                                
    |   8 |         AND-EQUAL                 |                   |       |       |       |                                                                                                                                                                                                
    |*  9 |          INDEX RANGE SCAN         | IDX_CNT__C_STATE  |       |       |       |                                                                                                                                                                                                
    |* 10 |          INDEX RANGE SCAN         | IDX_CNT__STATUS   |       |       |       |                                                                                                                                                                                                
    |  11 |        INDEX FAST FULL SCAN       | PK_RPP            | 69277 |  1082K|   120 |                                                                                                                                                                                                
    |* 12 |       TABLE ACCESS BY INDEX ROWID | REP_PROFILE       |     1 |    18 |     1 |                                                                                                                                                                                                
    |* 13 |        INDEX UNIQUE SCAN          | PK_C19            |     1 |       |       |                                                                                                                                                                                                
    |* 14 |      INDEX UNIQUE SCAN            | PK_B01            |     1 |    11 |       |                                                                                                                                                                                                
    |* 15 |     INDEX UNIQUE SCAN             | PK_B02            |     1 |    14 |       |                                                                                                                                                                                                
    |* 16 |    INDEX UNIQUE SCAN              | PK_RCN            |     1 |    14 |       |                                                                                                                                                                                                
    Predicate Information (identified by operation id):                                                                                                                                                                                                                                    
       6 - access("B"."CONTACT_ID"="RPP"."PARTNERSHIP_ID")                                                                                                                                                                                                                                 
       7 - filter("B"."C_STATE"='GA' AND "B"."C_LAST"<>'Name Unknown' AND                                                                                                                                                                                                                  
                  "B"."STATUS"='Confirmed')                                                                                                                                                                                                                                                
       9 - access("B"."C_STATE"='GA')                                                                                                                                                                                                                                                      
      10 - access("B"."STATUS"='Confirmed')                                                                                                                                                                                                                                                
      12 - filter("C19"."TERR1"='46')                                                                                                                                                                                                                                                      
      13 - access("B"."CONTACT_ID"="C19"."CONTACT_ID")                                                                                                                                                                                                                                     
      14 - access("B"."FIRM_ID"="B01"."FIRM_ID")                                                                                                                                                                                                                                           
      15 - access("B"."OFFICE_ID"="B02"."OFFICE_ID")                                                                                                                                                                                                                                       
      16 - access("B"."CONTACT_ID"="RCN"."CONTACT_ID")                                                                                                                                                                                                                                     
    Note: cpu costing is off                                                                                                                                                                                                                                                               
    38 rows selected.

  • Oracle 11g with OPTIMIZER_MODE=RULE go faster!!

    I recently migrated Oracle 9.2.0.8 to Oracle 11g but the querys doesn't work as I hope.
    The same query takes 3:20 min aprox using optimizer_mode=ALL_ROWS and 0:20 using optimizer_mode=RULE or using RULE hint.
    The query in CBO makes a cartesian product between the indexes of the table.
    This is one query and the "autrotrace on" log on Oracle 11g:
    SELECT /*+ NO_INDEX (PK0004111303310) */MIN(BASE.ID_SCHED_TASK)+1 I
    FROM M4RJS_SCHED_TASKS BASE
    WHERE NOT EXISTS
    (SELECT BASE2.ID_SCHED_TASK
    FROM M4RJS_SCHED_TASKS BASE2
    WHERE BASE2.ID_SCHED_TASK>BASE.ID_SCHED_TASK
    AND BASE2.ID_SCHED_TASK<BASE.ID_SCHED_TASK+2)
    ORDER BY 1 ASC
    Execution Plan
    Plan hash value: 3937517195
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 14 | | 328 (2)| 00:00:04 |
    | 1 | SORT AGGREGATE | | 1 | 14 | | | |
    | 2 | MERGE JOIN ANTI | | 495 | 6930 | | 328 (2)| 00:00:04 |
    | 3 | INDEX FULL SCAN | PK0004111303310 | 49487 | 338K| | 119 (1)| 00:00:02 |
    |* 4 | FILTER | | | | | | |
    |* 5 | SORT JOIN | | 49487 | 338K| 1576K| 209 (2)| 00:00:03 |
    | 6 | INDEX FAST FULL SCAN| PK0004111303310 | 49487 | 338K| | 33 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    4 - filter("BASE2"."ID_SCHED_TASK"<"BASE"."ID_SCHED_TASK"+2)
    5 - access("BASE2"."ID_SCHED_TASK">"BASE"."ID_SCHED_TASK")
    filter("BASE2"."ID_SCHED_TASK">"BASE"."ID_SCHED_TASK")
    Statistics
    1 recursive calls
    0 db block gets
    242 consistent gets
    8 physical reads
    0 redo size
    519 bytes sent via SQL*Net to client
    524 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    1 sorts (memory)
    0 sorts (disk)
    1 rows processed
    Thanks to all !

    Sorry Mschnatt, I posted the wrong query, i was testing with HINTS, the correct query is your posted query.
    1* I analyzed the tables and the result is the same:
    This is the query and "autorace on" log using OPTIMIZER_MODE=RULE on Oracle 11g:
    SQL> R
    1 SELECT MIN(BASE.ID_SCHED_TASK)+1 I
    2 FROM M4RJS_SCHED_TASKS BASE
    3 WHERE NOT EXISTS
    4 (SELECT BASE2.ID_SCHED_TASK
    5 FROM M4RJS_SCHED_TASKS BASE2
    6 WHERE BASE2.ID_SCHED_TASK>BASE.ID_SCHED_TASK
    7 AND BASE2.ID_SCHED_TASK<BASE.ID_SCHED_TASK+2)
    8* ORDER BY 1 ASC
    I
    2
    Elapsed: 00:00:00.33
    Execution Plan
    Plan hash value: 795265574
    | Id | Operation | Name |
    | 0 | SELECT STATEMENT | |
    | 1 | SORT AGGREGATE | |
    |* 2 | FILTER | |
    | 3 | TABLE ACCESS FULL | M4RJS_SCHED_TASKS |
    |* 4 | INDEX RANGE SCAN | PK0004111303310 |
    Predicate Information (identified by operation id):
    2 - filter( NOT EXISTS (SELECT 0 FROM "M4RJS_SCHED_TASKS" "BASE2"
    WHERE "BASE2"."ID_SCHED_TASK"<:B1+2 AND "BASE2"."ID_SCHED_TASK">:B2))
    4 - access("BASE2"."ID_SCHED_TASK">:B1 AND
    "BASE2"."ID_SCHED_TASK"<:B2+2)
    Note
    - rule based optimizer used (consider using cbo)
    Statistics
    0 recursive calls
    0 db block gets
    101509 consistent gets
    0 physical reads
    0 redo size
    519 bytes sent via SQL*Net to client
    524 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed
    This is the query and "autorace on" log using OPTIMIZER_MODE=ALL_ROWA on Oracle 11g:
    Elapsed: 00:03:14.78
    Execution Plan
    Plan hash value: 3937517195
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 12 | | 317 (2)| 00:00:04 |
    | 1 | SORT AGGREGATE | | 1 | 12 | | | |
    | 2 | MERGE JOIN ANTI | | 495 | 5940 | | 317 (2)| 00:00:04 |
    | 3 | INDEX FULL SCAN | PK0004111303310 | 49487 | 289K| | 119 (1)| 00:00:02 |
    |* 4 | FILTER | | | | | | |
    |* 5 | SORT JOIN | | 49487 | 289K| 1176K| 198 (3)| 00:00:03 |
    | 6 | INDEX FAST FULL SCAN| PK0004111303310 | 49487 | 289K| | 33 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    4 - filter("BASE2"."ID_SCHED_TASK"<"BASE"."ID_SCHED_TASK"+2)
    5 - access("BASE2"."ID_SCHED_TASK">"BASE"."ID_SCHED_TASK")
    filter("BASE2"."ID_SCHED_TASK">"BASE"."ID_SCHED_TASK")
    Statistics
    0 recursive calls
    0 db block gets
    242 consistent gets
    0 physical reads
    0 redo size
    519 bytes sent via SQL*Net to client
    524 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    1 sorts (memory)
    0 sorts (disk)
    1 rows processed
    3* This is an example query, the problem persist in other bigger queries.
    Thanks for you help

  • Oracle website screen refresh

    Is anyone having trouble with slow screen loading on the Oracle website? I am trying to move between screens and the pages seem to be taking a long time to load.
    Thx

    Here is the output of xrandr -q:
    [ctrler@neptuno ~]$ xrandr -q
    Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024
    VGA disconnected (normal left inverted right)
    LVDS connected 1024x768+0+0 (normal left inverted right) 246mm x 184mm
    1024x768 50.0*+ 60.0 40.0
    800x600 60.3
    640x480 60.0 59.9
    TV connected 1024x768+0+0 (normal left inverted right) 0mm x 0mm
    1024x768 30.0*
    800x600 30.0
    848x480 30.0
    640x480 30.0
    It's detecting the correct resolution. I've done some thinking and now I don't think it's a refresh problem but more of a sync problem.
    The i810 is not compatible with my i965 video card. The problem also occurs with the vesa driver.
    I tried ubuntu latest beta live cd, and it has the same problem. Going to try a few other distros to see if I can get a nicer xorg.conf to use in arch.

  • Oracle Universal Records Management adapter with FAST ESP

    This is my first post on the forums and I have limited Oracle exposure. So if I’m posting in the incorrect spot or there are some other guidelines I need to observer, please let me know.
    I’m trying to figure out the possibility of leveraging the Oracle Universal Records Management adapter for SharePoint in Records Management with FAST ESP (a best of class enterprise search platform). From the technical documents I’ve read on the adapter, it looks like it heavily relies on SharePoint search as the “feed’ for content. Does this mean that the SharePoint Search is required for the SharePoint adapter? As in environments that deploy FAST ESP also need to maintain SharePoint search for the adapter. Or can the adapter leverage FAST ESP?
    Any insight would be appreciated.
    TIA

    anyhow i have tried ur tips as much i unterstand them (some of the command in cmd prompt and rest in sql plus)
    it notifies an error of missing a datafile that i have corrected and finally the login page appeared in the em. also connection from sql plus is successful.
    now while connecting to oracle through ORACLE DEVELOPER TOOL for .NET, i got this error:
    "An error occured while opening the connection, connection must be open for this operation"
    if i tried to connect through SYS as NORMAL it gave me the error to connect as SYSDBA or SYSOPER that is a valid error, but wat for the connection open error.
    thanx.

  • Materialized View - Refresh in 10g FAST .. refresh in 11g SLOW

    Sorry I'm not able to paste anything.
    The customer moved their database from 10g to a 11gR2 database.
    They created the MV in the new system and now it takes 26 hours to refresh
    as opposed to 15 min in the old 10g database.
    Just looking for a game plan for troubleshooting.
    I know I'm not providing much of anything so please forgive me.
    Where would you look first ? Explain plan .. system settings .. ? Let me know.
    If you have a good reference then that would work. The docs are not working.
    Thanks in advance.
    BB

    Do you mean they upgraded their existing database from 10g to 11gr2?
    Or do you mean they loaded the data into a new 11gr2 database?Yeah I confirmed this morning that they data-pumped the entire database to the 11g host.
    Unless you provide more information there is no way to provide any specific suggestions.
    What kind of MV? Are the source and MV on the same server?They do a manual refresh :
    create materialized view (mview_name as select ...)
    dbms_snapshot.refresh(mview_name, 'C')
    The source is the same for both however it is from a place that uses a connection.
    If it is a new DB then there may be missing indexes or constraints.
    The MV may initially be empty and the first refresh will be a COMPLETE
    one that will take a lot longer than an incremental.
    Some of the objects or constraints could be invalid. The indexes appear to be the same and the constraints enabled/disabled in the same manner.
    They confirmed that the refresh after the initial is taking way too long compared to before (10g).
    Oddly some of the mviews see no performance degradation in the new environment.
    They have many.
    Thanks for taking the time to think about it. It was much appreciated.
    If I get to the bottom of it I'll let everybody know.
    BB

  • Oracle/VB program runs slow then fast

    We have a version 13 application (running now with lots of data)that we want to upgrade to version 17. Both are Visual Basic/Oracle aps.
    Because the layout is different between the two database's we wrote a long script to pour into the version 17 structure the version 13 data. We have to turn off all constraints.
    Version 17 runs but reports run very very slow.
    Just by chance we did a backup "dump" of the version 17 database. Then we just happend to take this dump to another machine, imported the data and ran version 17. It runs fast again.
    What gives? Any ideas
    my e-mail [email protected]

    Sounds like the first machine has a bad environment (are the two machines running on the same type/speed of processors ?). Re-installing the software might help in this matter.
    Sorry I can't be more specific !

  • Snapshot Refresh (How to stop COMPLETE refresh and run FAST refresh)?

    Hi,
    I have a snapshot refresh executed as COMPLETE which is taking very long. When I try to kill this and try to run a FAST I get:
    ERROR at line 1:
    ORA-12057: materialized view "PORTALSNP1"."V21_BILLING_ACCOUNT" is INVALID an must complete refresh
    How can I resolve this to stop the COMPLETE refresh altogether and be able to run the FAST refresh.
    Also is there a way to get the time it will take to complete the running snapshot refresh?
    Please and thankYou!
    Regards,
    A

    You don't resolve it ... you drop the materialized view. Then you create a materialized view log. Then a properly coded MV.
    http://www.morganslibrary.org/library.html
    bookmark this link
    then look up "Materialized Views and "Materialized View Logs"
    The log must be created first.

  • INFORMIX JAVA(JDBC) ORACLE - how can I make it faster?

    I have some rows from INFORMIX (180 rows is max) - now, I have to put it in ORACLE database. How can I make it faster - write 180 rows in a loop by ONE MERGE per ROW - is a bad IDEA, I think. Is there a way to make it right?
    Thank you.

    Why use a loop at all? Why not just do it in 1 statement? Even if you are reading from a flat file you could use an external table. How slow is it? How fast do you expect 180 statements to process? What version?
    You have not provided enough information to provide much of a useful answer.
    You should also be using the latest JCBC driver as they are fully backward compatible and the newer ones are more performant, more feature rich, and may simplify your future upgrades.
    -LC

  • Oracle Text - procedure refreshing index doesn't run

    Hi,
    I'm experiencing problems refreshing an index using a procedure (see below). When running the command instead of the procedure everything is fine.
    Reading through this forum I found that ctxapp role is needed, which I have. Since this didn't work the admin granted execute privileges on any procedures and programmes (for a short test). Even that didn't help.
    The admin can run the procedure without any problems.
    Help appreciated
    Franziska
    ---The procedure---
    create or replace procedure indizes_erneuern
    as
    begin
      ctx_ddl.optimize_index('ind_nachname_assistent', 'REBUILD');
    end;---The error message
    Connecting to the database FAM.
    ORA-20000: Oracle Text error:
    ORA-01031: insufficient privileges
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.CTX_DDL", line 630
    ORA-06512: at "FAM.INDIZES_ERNEUERN", line 4
    ORA-06512: at line 2
    Process exited.
    Disconnecting from the database FAM.

    When running the command instead of the procedureYou'll have to either issue direct grants or define the procedure with AUTHID CURRENT_USER.

  • Oracle ADF inputText refreshing problem in subform

    Hi guys.
    There are inputText, outputText and inputDate components in the form's of in a pop-up window(twitter bootstrap).
    This components is in a subform.
    The current values of the outputText and inputDate components (in managed bean) are reflected value in partial update. However the current values of the inputText components (in managed bean) aren't reflected value in partial update.
    Components appear to be empty.
    My code:
    <af:panelFormLayout partialTriggers="::i1:DetailButton1 ::i2:DetailButton2 ::i3:DetailButton3">
    <af:panelLabelAndMessage rendered="#{null != sessionScope.userID}" label="#{viewcontrollerBundle[&apos;lang.baslik&apos;]}">
    <af:inputText value="#{detailBean.title}" columns="65" contentStyle="font-size:10pt" simple="true"
    shortDesc="#{viewcontrollerBundle[&apos;lang.baslik&apos;]}" id="it2"/>
    </af:panelLabelAndMessage>
    <af:message for="it2"/>
    <af:inputDate value="#{detailBean.createDate}" readOnly="true" id="id1" contentStyle="font-size:10pt;"
    label="#{viewcontrollerBundle[&apos;lang.olusturulmaTarihi&apos;]}">
    <af:convertDateTime pattern="dd/MM/yyyy"/>
    </af:inputDate>
    <af:inputDate value="#{detailBean.editDate}" contentStyle="font-size:10pt" readOnly="true" id="id2"
    label="#{viewcontrollerBundle[&apos;lang.degistirilmeTarihi&apos;]}">
    <af:convertDateTime pattern="dd/MM/yyyy"/>
    </af:inputDate>
    <af:inputText label="#{viewcontrollerBundle[&apos;lang.goruntulenme&apos;]}" contentStyle="font-size:10pt"
    value="#{detailBean.totalView}" readOnly="true" id="it4" />
    <af:panelLabelAndMessage rendered="#{null == sessionScope.userID}" label="#{viewcontrollerBundle[&apos;lang.icerik&apos;]}">
    <af:outputText value="#{detailBean.content}" inlineStyle="font-size:10pt"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage rendered="#{null != sessionScope.userID}" label="#{viewcontrollerBundle[&apos;lang.icerik&apos;]}">
    <af:inputText value="#{detailBean.content}" shortDesc="#{viewcontrollerBundle[&apos;lang.icerik&apos;]}"
    columns="67" rows="10" id="ot9" contentStyle="font-size:10pt" simple="true" />
    </af:panelLabelAndMessage>
    <af:message for="ot9"/>
    </af:panelFormLayout>
    My jDev version 11.1.2.3.0
    What is the reason for this problem?
    Edited by: hakdogan on Nov 22, 2012 2:59 PM

    I can see partialTriggers only on the parent component i.e panelFormLayout .. can you try puttin them on individual inputTexts which won't refresh and check ?

  • Slow loads,if you stop the page and refresh it loads fast,too often than I would expect.

    way too often you have to "stop" and refresh the page to get it to load.
    == This happened ==
    Every time Firefox opened
    == Always.

    Hello.
    It's possible that you are having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not caused by one (or more than one) of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] (don't forget to select ''Disable all add-ons'' when you start safe mode). If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and themes and [https://support.mozilla.com/en-US/kb/Troubleshooting+plugins this one] for plugins.
    If you need support for one of your add-ons, you'll have to contact its author.
    If the problem is not disappears when all add-ons are disabled, please tell me, so we can work from there. Please have no fear of following my instructions to the line, as all can be easily undone.

Maybe you are looking for

  • How to use the distinct key in formula field in SAP Crystal Reports

    I want to use the distinct key in formula field in SAP Crystal reports. When i'm using it shows an error. Please suggest me....

  • Business component errors messages

    I would like to customize the Business component errors messages in order for it to be more explicite For example, I would like to translate the following error message: DAC-305: DbAccess commitTransaction failed. Session: modelSessionInfo JBO-26041:

  • Applications server 10g - page cannot be found error please help!!

    hi, after installing applications server 10g on windows when i try and access the admin page with the link provided from install and getting started page (http://oracle.itec.local/em) i keep on getting page cannot be displayed error! please help!!

  • Is there a way to recover deleted email on my computer?

    We inadvertantly deleted an important email on our computer and it is no longer in the trash folder since the messages in the trash folder that are older than a certain date are automatically deleted. Is there anyway to recover this deleted message?

  • Edit Audio Timing Menu - Not Playing audio

    Hi - I have recorded my Audio in Audacity and am trying to IMPORT audio into Captivate 4. When I import this .wav file (that becomes a MP3 automatically from CP4) - and try to Edit Audio Timing to set my slides with the audio - I cannot get it to pla