Takes along time to view a materialized view definition

Hi,
Using owb 11.2.0.3 and takes a long time to see any materialized view definition which is based on a particular table (talking a few minutes compared to over a minute compared to seconds
to see other mview definitions.
platform aix.
8 million rows in base table.
Thoughts as to why this would be case?
Thanks

user5716448 wrote:
Hi,
Using owb 11.2.0.3 and takes a long time to see any materialized view definition which is based on a particular table (talking a few minutes compared to over a minute compared to seconds
to see other mview definitions.
platform aix.
8 million rows in base table.
Thoughts as to why this would be case?
Thanks
post actual EXPLAIN PLAN

Similar Messages

  • Calendar entry takes along time.  I get the spinning color wheel after each tab.

    Calendar entry takes along time.  I get the spinning color wheel after each tab.  How do I avoid this?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • MATERIALIZED VIEW and MATERIALIZED VIEW LOG

    Hello,
    I have the following table
    create table My_price
    (price_id number(10),
    product_id number(10),
    price_date date,
    price_value number(10,2));
    I want to create the following materialized view
    create materialized view Last_Price_Date
    refresh
    on commit complete
    as
    select max(price_date) as max_date, product_id from my_price group by product_id;
    Do I have to create materialized view log ? Will my materialized view be refresh on commit without materialized view log ?

    As a student the requisite first task is always to study. Thus your assignment is to go to http://tahiti.oracle.com and read the concept and architecture docs on Materialized Views so that you can learn about the different types of MVs and how and when they are refreshed. There you will learn about what ON COMMIT means.
    Then please turn your "I want to create" into an "I created it." Then, having read the docs, you will be able to observe how your MV behaves.
    PS: Your SELECT statement is not syntactically correct. Start by fixing it so that it works in SQL*Plus.

  • Differences between view and materialized view

    Hello,
    Please tell me the Differences between view and materialized view in oracle 9i.
    Thanks and regards
    Madhuri

    How can I create index in a view?
    Please read reply of Justin Sir.
    Regards
    Girish Sharma

  • When starting up a Mountain Lion iMac, it takes along time before network logins are available.

    When starting up a Mountain Lion iMac, it takes along time before network logins are available. There seems to be a huge delay getting the network up and running, and I'm not sure why. This isn't an issue for identical iMacs running Snow Leopard.
    If I login with a local account, I see the ethernet registered as disconnected for at least a minute, then it pops up. If I switch to Snow Leopard, using the exact same hardware, network cable, jack, etc, it's instant.
    Has anybody encountered anything similar?

    Fulcrum Media wrote:
    Has anybody encountered anything similar?
    No. I have a rMBP and a Mac Mini on a home LAN. The Mac Mini is connected via ethernet and the rMBP is WiFi. Both connect instantly to my network. Both are running OS X Mountain Lion 10.8.2.

  • What is the difference between view and materialized views

    Hi
    What is the difference between view and materialized view ? can we update the base table using views

    can we update the base table using viewsYes:
    VIEWS
    1. an updatable view is one that lets you perform DML on the underlying table
    (see Oracle Database Concepts 10g - 5 Schema Objects)
    2. non-updatable view requires INSTEAD OF Triggers
    (see Oracle Database Concepts 10g - 22 Triggers)
    SNAPSHOTS
    You can have updateable (and writeable) snapshots - in updateable (writeable) MV replication.
    Oracle uses snapshots (Materialized Views - MV) for two different purposes:
    1. replication
    2. automated Query Rewrite facility (first introduced in Oracle Discoverer, later included in Oracle database 8i).
    Replication types in Oracle are:
    a) Basic replication (MV replication)
    - transaction based
    - row-level
    - asynchronous from master table to MV (Materialized View)
    - DML replication only
    - database 7 / 8.0 / 8i / 9i / 10g
    - Standard and Enterprise Edition
    1. Read-only MV replication
    2. Updateable MV replication:
    2.1 asynchronous from MV to master
    2.2 synchronous from MV to master
    3. Writeable MV replication
    b) Multimaster replication
    - transaction based
    - row-level or procedural
    - asynchronous or synchronous
    - DML and DDL replication
    - database 7 / 8.0 / 8i / 9i / 10g
    - Enterprise Edition only
    1. row-level asynchronous replication
    2. row-level synchronous replication
    3. procedural asynchronous replication
    4. procedural synchronous replication
    c) Streams replication
    - (redo) log based
    - row-level
    - asynchronous
    - DML and DDL replication
    - database 9i / 10g (10g has Down Streams Capture)
    - Enterprise Edition only (Standard Edition 10g can execute Apply process)
    Regards,
    Zlatko Sirotic

  • My Firefox Take along time at first work , I want To fix it! he didnt have this problem in the first few weeks when setup it?

    My Firefox Take along time at first work , I want To fix it! he didn't have this problem in the first few weeks when setup it?
    I think this Problem happened because I close it suddenly "electric cut off" many times >> But I Want To Fix It without Reinstall it because I save a many bookmarks on it and i didn't want to lose it , How Can I Repair My Version ?

    Contact Apple Support:
    http://www.apple.com/support/contact/
    Apple - How to Contact Us:
    http://www.apple.com/contact/
    Be sure to refer to the repair ticket number.
    Sounds like a terrible mixup.
    Good luck & happy computing!

  • Long time for creation of materialized view

    Hi,
    we are trying to create a materialized view and this view would contain 1 lakh records and around 50 columns.
    The select statement to get these records takes only 1-2 sec whereas the actual creation of view takes 17 minutes. The database used is Oracle 8i. The code used is
    CREATE MATERIALIZED VIEW employee_master_t
    PCTFREE 10
    STORAGE (initial 500k next 500k pctincrease 0)
    REFRESH WITH ROWID COMPLETE START WITH SYSDATE
    NEXT SYSDATE + 1 AS select * from table_name
    Is it because the insert is slow and temp tablespace may have to be increased?
    also, can anyone pls suggest if fast refresh mode can be used with Oracle 8i since currently we are not able to create as error saying that query is complex is returned

    It will be possible to create a Materialised view with up to 20 tables, but you have to understand the restrictions on complex Materialised views with regards to fast refresh.
    To help your understanding, refer to Materialized View Concepts and Architecture
    <br>
    Oracle Database FAQs
    </br>

  • Creation of Materialized view and Materialized view log.

    I wanted to create materialized view with 'REFRESH FAST ON COMMIT' option.
    1) Table1 --it is partitioned range + list -- Added primary key
    2) view1   -- having primary keys on view's base table
    Steps:
    1) create materialized view log on Table1 ; -- default primary key
    2) create materialized view log on view1.  --- It is giving below error.
    ORA-00942: table or view does not exist
    i wanted to create Materialized view like below
    create materialized view
    REFRESH fast ON commit
    as
    select ...
    ... from table1
    where c1 in (select c1 from view1 where ... );
    Question:
    1) As i am getting above error while creating MV log on view. Can we create MV log on view or we have to create MV log on view base table?
    2) To create MV with ''REFRESH FAST ON COMMIT' option , do we need to have primary key on master tables? 
    Any pointers on this will really helpful.
    Thanks
    Prasad

    Also created MV LOG on 3 tables and tried with joins ..
    create materialized view
    REFRESH fast ON commit
    as
    select ...
    ... from table1 , tab2 t2,tab3 t3
    where ....
    and ...
    Get same error ORA-12052: cannot fast refresh materialized view AVSYS.EVENT_LOG_MV
    2052. 00000 -  "cannot fast refresh materialized view %s.%s"
    *Cause:    Either ROWIDs of certain tables were missing in the definition or
               the inner table of an outer join did not have UNIQUE constraints on
               join columns.
    *Action:   Specify the FORCE or COMPLETE option. If this error is got
               during creation, the materialized view definition may have be
               changed. Refer to the documentation on materialized views.

  • Query on Materialized view and materialized view log

    I am creating a materialized view something like this.but getting following error:
    ERROR at line 1:
    ORA-12032: cannot use rowid column from materialized view log on "SCOTT"."EMP"
    SQL> create snapshot log on scott.emp;
    Materialized view log created.
    SQL> create materialized view scott_emp refresh fast on demand as select deptno,sum(sal) sum_sal from scott.emp group by deptno;
    ERROR at line 1:
    ORA-12032: cannot use rowid column from materialized view log on "SCOTT"."EMP"
    Note when i have my query in materialized view as "select * from emp;" in place of
    "select deptno,sum(sal) sum_sal from scott.emp group by deptno;" This code works fine.
    How do i have a materialized with with a group by clause.
    Thanks in Advance

    Got the answer myself.
    I wasnt adding all the required columns.
    CREATE MATERIALIZED VIEW LOG ON scott.emp
    WITH SEQUENCE, ROWID (<all the required columns>)
    INCLUDING NEW VALUES;
    Anyways,
    Thanks guys...

  • View on materialized view giving error while selection

    Hello Guys,
    My Oracle DB is 11gR1, Enterprise Linux is the operating system.
    I have a materialized view in my schema, if described this is the output:
    term_id          number(10)
    class_id     varchar2(4)
    section_id     number(10)
    acad_year_id     number(10)
    subject_id     number(10)
    branch_id     number(10)
    paper_id     number(10)
    student_id     number(10)
    calc_out_of     float(53)
    obtain_std_marks     float(53)
    rep_comp_id     number(10)
    grade          varchar2(4)
    sum_std_marks     number(10)
    teacher_remarks     varchar2(201)
    sum_exam_marks     number(10)
    updt_user     number(10)
    updt_time     date
    entry_user_id     number(10)
    absent_rsn     number(10)
    entry_date     date
    I am creating a view on this materialized view, this is the statement
    create or replace view bssdata.sta_mis_view as
    select
    to_number("acad_year_id") acad_year_id,
    to_number("term_id") term_id,
    "class_id",
    to_number("section_id") section_id,
    to_number("subject_id") subject_id,
    to_number("branch_id") branch_id,
    to_number("student_id") student_id,
    --null as field_to_be_used,
    to_number(sum("obtain_std_marks")) as obtained_marks,
    to_number(sum("calc_out_of")) as total_marks,
    to_number(round(sum("obtain_std_marks")) / to_number(sum("calc_out_of")*100,2)) as percentage
    from bssdata.mv_sta_std_result
    where "acad_year_id" = 18 and "term_id" = 2
    group by to_number("acad_year_id"), to_number("term_id"), "class_id", to_number("section_id"), to_number("subject_id"), to_number("branch_id"), to_number("student_id")
    having to_number(sum("obtain_std_marks")) > 0 or to_number(sum("calc_out_of")) >= 5
    View is created.
    But when i try to select from this view, it gives different errors:
    This is the error I am facing right now:
    SQL Error: ORA-01481: invalid number format model
    01481. 00000 - "invalid number format model"
    *Cause:    The user is attempting to either convert a number to a string via TO_CHAR or a string to a number via TO_NUMBER and has
    supplied an invalid number format model parameter
    There is a problem with datatype and double quotes that I am not able to understand so far. Please guide if someone has faced the same problem and have solution.
    Regards, Imran

    SQL Error: ORA-01481: invalid number format model
    +01481. 00000 - "invalid number format model"+
    *Cause: The user is attempting to either convert a number to a string via TO_CHAR or a string to a number via TO_NUMBER and has+
    supplied an invalid number format model parameter
    View can create and there are may no problems.But you when execute "select * from bssdata.sta_mis_view" statement oracle automatically there convert some types to others(varchar=>number,number=>varchar),thus problem there.For example to_number('3sfss')? how can convert this?,because of this you got an error.See below example.
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Jun 25 11:15:47 2010
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> create view v_test1 as select * from  (
      2  select '1' as n from dual
      3  union
      4  select '2w' as n from dual);
    View created.
    SQL> create view v_test2 as
      2  select to_number(n) as n1 from v_test1;
    View created.
    SQL> select * from v_test2;
    ERROR:
    ORA-01722: invalid number
    no rows selected
    SQL>

  • HT1551 takes along time to download movies

    Why does it take along timetodownload amove?

    Welcome to the Apple Community.
    The first thing to check would be your internet download speed, you can do this at www.speedtest.net.
    1080p HD movies require a recommended speed of 8 Mbps, 720p HD movies require a recommended speed of 6 Mbps, while SD movies require a recommended speed of 2.5 Mbps.

  • Viewing contact details takes along time. N82

    Hi!
    I've been having this problem with my Nokia n82 for a while now. Whenever I try to see a contact's number by selecting it and clicking it, it takes about 20 seconds before I get to the Contact details. The phone doesn't freeze though (I still see the cursor in the search field blinking and I can switch to another process). 
    Once I opened one contact details, opening any contct details is quick. Only once I exited and killed the process will it take a long time to open a contact details again. Is that normal?
    Thanks!
    Fred

    Hi Jarda,
    Thanks for your post and welcome.
    Google uses a different naming scheme for phone numbers which does not translate to Windows Phone automatically. While some of the basic phone entries in Google Contact will translate to Microsoft account numbers other won't by default.
    If you have access to software like Microsoft Excel or Libreoffice Calc you can fix this using the attached CSV file. This file has an account which is set up to use the default Microsoft Account naming for phone numbers. You can export your contacts to a CSV file in Google Contacts (More>export) then rename the phone descriptions as indicated in the attached CSV file and import these back into your google account using the Import Contacts... option. When done your phone numbers will be available on your Lumia after the next sync.
    Press the 'Accept As Solution' icon if I have solved your problem, click on the Star Icon below if my advice has helped you!

  • FCP Stuido 2 --- QT Reference takes long time to render HDV material

    Hi,
    another problem
    i captured several hours of HDV material, all single clips, now i have over 300 single files/clips.
    I edit all clips into a timeline (1 hour each long) then try to export as QT movie..i use a fresh system Mac Pro 8 Core FCP 6.0.1....i wonder because creating QT Refs take only a couple of seconds, now i wait 1 hour to export 1 hour as QT Ref...is this normal ? waste of time for me to wait so long...

    in my own experience, exportings as QT Reference simply doesn't work as efficiently when dealing with MPEG formats. the long export time reflects this poor efficiency

  • My MacBook Pro takes along time wake up ??

    My Macbook Pro takes a long time to wake when sleeping for over an hour and plug in.   Is there a setting to fix this because this is very frustrating when opening  up my macBook after a long day at work and it takes 20 sec or so for the computer to wake up and become active.   PLEASE HELP

    The computer enters a so-called standby mode after it has been in sleep on battery power for more than a certain time (one hour, by default.) In that mode, the contents of memory are saved to a file, and then the power is turned off. When the computer wakes up, the contents of memory are restored from the file. As a result, waking from sleep takes longer than it otherwise would. The benefit is that sleep can be prolonged indefinitely without draining the battery or having to reboot.
    You have two choices. One is to do nothing. Use the machine as designed. That's what I recommend.
    The second choice is to increase the delay before standby mode is triggered, or to disable standby mode completely. This is an unsupported option and you're on your own as to the consequences. If you choose to go this route, proceed as below. These instructions are for advanced users only. You are tinkering with the hardware configuration at a low level, with the possibility of doing damage from which it may not be easy to recover.
    Back up all data.
    If you have more than one user account, you must be logged in as an administrator to carry out these instructions.
    Drag across the line below to select it, then copy it to the Clipboard (command-C):
    sudo pmset –a standbydelay
    Don't copy the blank space at the end of the line.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). Press the space bar, then type the delay you want, in seconds. For example, if you want to change the standby delay from the default one hour to eight hours, enter 28800. Don't put commas or other punctuation marks in the number. To disable standby, enter 0 (zero.)
    When the command is complete, press return. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you don’t have a login password, you’ll need to set one before you can run the command. After running it, quit Terminal. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

Maybe you are looking for

  • BPI1 Exercise 96 error - conflict in transaction event code?

    Hi all.  I'm Dave Russell, a new poster I just attended BPI1 at Chico and am going through the entire set of exercises one more time.  I'm in a bit of a rush since the server assigned to it, LOKE, is going down soon. Gee, I hope I'm in the right plac

  • [SOLVED] Unstable KDE and GTK

    I'm using KDEmod and it is not as stable as one would have hoped. I think the problem is mainly with GTK since the instability occurs when I use GTK based apps. If I use Gimp to edit a photo KDE just crashes after I opened 5 or 6 photos, if I use Ope

  • TS4403 I can't find where to download this onto my pc

    I saw where this program can be downloaded to a PC. After I log on, I don't see the option to add my PC. I also don't see the backup from my mini ipad.

  • CAT2 transaction user exit

    Hi Experts, The requirement is in CAT2 transaction we need to filter wage type field depending upon user. Need the user exit for the same. Thanks, Subhashree.

  • DM Does Not List the .pst I am using

    I recently purchased a BB Curve 8330 and installed the DM software.  Since that time I have changed my MS Outlook set up and now am using a new .pst.  The contact data in the device is from the old .pst and is not correct. I want to erase all data in