How to find total refresh time of Materialize view?

Hello All,
I want to know the total refresh time of Materialize view. i m refreshing MV by below statement
i hv not logging the start and end time of this in process.
exec dbms_mview.refresh('EMP_MV','C','',FALSE,FALSE,0,0,0,TRUE);
So, anybody can you please know the using which database table it cab be possible?
Thanks in advance

The only way you can log the refresh time for each execution is to wrap the call inside a procedure that also logs the start and end times to a logging table.
(if you manually run the exec dbms_mview.refresh from an SQLPlus command line, you could also SET TIMING ON in SQLPlus)
Hemant K Chitale

Similar Messages

  • How to find total no of record in cube

    Hi Experts,
    How to find total no of records in a cube.
    Thanks in Advance.

    Hi
    If you want total number of records in a CUBE then you have to check in both F Table and E table.
    Go to LISTSCHEMA tcode in your system, give your CUBE name and execute.
    You will fine two table E and F table
    goto SE16 -->give the table name and click on number of entries.You will get number of records.
    Check the below thread
    No of records in /size of Info cube
    Regards,
    Venkatesh

  • How to find total recs in a local table for a particular condition

    Hi,
    How to find total recs in a local table for a particular condition?
    Thanks,
    CD

    Well, you may want to try this as well, and compare to the LOOP way.  Not sure what kind of overhead you may get doing this way. Here ITAB is our main internal table, and ITAB_TMP is a copy of it.  Again I think there may be some overhead in doing the copy.  Next, delete out all records which are the reverse of your condition.  Then whatever is left is the rows that you want to count.  Then simply do a LINES operator on the internal table, passing the number of lines to LV_COUNT.
    data: itab type table of ttab.
    data: itab_tmp type table of ttab.
    itab_tmp[] = itab[].
    delete table itab_tmp where fld1 <> 'A'.
    lv_count = lines( itab_tmp ).
    Regards,
    Rich Heilman

  • How to find the Names of Most costly Views or Most Time consuming views

    Hi All,
    I had a database consisting of almost 200 views,as a part of Optimization process i want to find out the most costlier views.How to do that.Actually i want the names of the VIEWS,so that i can optimize that.Can any one help me out?
    I had one more doubt in our Database a view is created like view A( which is created by joining several tables).so do i need to add index on this view separately or does it take the index of the tables which i joined? And in our Database i  had created
    a VIEW which is derived from other views(the Joining objects are views not tables),so while i select recoreds from this views which is derived from other views it is taking a lot of time.Is tehre any problem with that?

    Please avoid such double post spread over several forums:
    http://social.msdn.microsoft.com/Forums/en-US/bae4042a-10b8-4d12-aa46-88a05ea37a76/how-to-find-the-names-of-most-costly-views-or-most-time-consuming-views?forum=sqldataaccess
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How to find the Latency time in java.

    How to find the Latency time in java.

    long start = System.currentTimeMillis();
    doTheWork();
    long durationInMillis = System.currentTimeMillis() - start;You might repeat doTheWork() several (100-1000 or more) times if it is fast and the granularity of your system clock is not good enough.

  • How to find date and time on photo taken by iphone?, How to find date and time on photo taken by iphone?

    How to find date and time on iphone's photo taken?

    in iPhoto no matter the source of the photo you see the information about th ephoto by selecting the photo and showing info (the get info button may be in a different location depending on the version of iPhoto you have)
    If you are not aking an iPhoto question but are asking an iPhone question instead then repost in the iPhone forum - iPhoto has no association with the iPhone
    LN

  • How to find the processing time of any query?

    im using oracle express edition, can anyone help me, how to find the processing time of any query?

    Trace the query and tkprof the generated trace file.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16638/sqltrace.htm#PFGRF01010

  • How to find total memory for Oralce Memory utilization

    Hi,
    How to find total amount of memory utilized by oracle including SGA+PGA+PROCESS
    Thanks,
    Abk

    Is you OS 32-bit ? If you add /3gb in boot.ini , then it will limit oracle.exe to go only upto 3gb.
    Add /PAE in the boot.ini and remove /3gb.
    then use db_block_buffers parameter instead of db_cache_size
    for using db_block_buffers, you need to set another parameter also.
    use_indirect_data_buffers=true
    db_block_buffers=<number of blocks
    db_block_buffers=db_cache_size in kilobytes /db_block_size
    (since db_block_size is 8 kllobytes by default in Windows..
    {color:blue}Please refer Metalink Note : [373602.1|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=373602.1]{color}
    Edited by: Mahesh Menon on Apr 29, 2009 2:56 PM

  • How to find out the time when the ASE started?

    Normally, ASE not reboot for production. Only for maintenance or performance tuning, maybe need to reboot ASE.
    Question is how to find out the time when ASE was started?
    one way maybe is check errorlog. Any more simple way no need to login to server OS?

    Hi Kent,
    In ASE 12.5 and up, you can do 'select @@boottime'  For older releases, a general method is 'select crdate from sysdatabases where dbid=2'
    1> select @@boottime, crdate from sysdatabases where dbid=2
    2> go
                                     crdate
                 Jul 15 2014  9:19AM             Jul 15 2014  9:19AM
    (1 row affected)
    Cheers
    Dan

  • I accidentally erased a sticky from my Dashboard?  I don't know how to find them in Time Machine.

    I accidentally erased a sticky from my Dashboard?  I don't know how to find them in Time Machine.  Any ideas how to recover it?

    When you have a Write window open press F9 to turn on the Contact Sidebar. Select the contact or contacts to send to. Hold the control key while clicking contacts to select more than one. Then use one of the Add To buttons at the bottom.
    This looks like the first message you have posted here. You will get an email to the address you used when registering.
    You can click on your username to go to your profile/activity page. I suggest that you bookmark that so you can find your posts and answers easily.

  • How to find total in-use connection of a connection pool in Sun apps 8.1 ur

    Hi
    Thank you for reading my post.
    how i can find total open (in-use)connection of a connection pool ?
    sometimes my application take some longer time to do an specefic job , now i want to see how much connection of the pool is open and in use
    thanks

    Hi,
    Sun app.server provides monitoring facility using which we can find how many connections are in use, how many clients are in wait-queue etc.,
    You can refer the following URL of
    Sun Java System Application Server 8 - Administration guide.
    http://docs.sun.com/app/docs/doc/819-2554/6n4r8s7ti?a=view
    for enabling monitoring and getting monitoring values for a particular conn. pool
    Thanks,
    -Jagadish

  • How to find total number of records in a BDoc?

    Dear all,
    I have replicated about BP 1088 records from ISU into CRM system with block size 100. Technically on SMW01, for each successfully processed BDoc, there will be 100 records (corresponds to 100 block size). But due to some failed BDocs, not all "successfully" BDocs will have 100 records each, some may have only 1 record inside...or 30...or 88 for example. So, may i know how to find or is there a report i can look into to find the total number of records clearly shown for each of the successfully processed green status BDocs???
    Please help and points will be rewards!!
    Thank You
    Best Regards,
    CK

    I am just showing this to show how to get the rowcount along with the cursor, if the program has so much gap of between verifying the count(*) and opening the cursor.
    Justin actually covered this, he said, oracle has to spend some resources to build this functionality. As it is not most often required, it does not makes much sence to see it as a built-in feature. However, if we must see the rowcount when we open the cursor, here is a way, but it is little bit expensive.
    SQL> create table emp_crap as select * from emp where 1 = 2;
    Table created.
    SQL> declare
      2   v_cnt     number := 0;
      3   zero_rows         exception;
      4  begin
      5    for rec in (select * from (select rownum rn, e.ename from emp_crap e) order by 1 desc)
      6     loop
      7        if v_cnt = 0 then
      8           v_cnt := rec.rn;
      9        end if;
    10     end loop;
    11     if v_cnt = 0 then
    12        raise zero_rows;
    13     end if;
    14   exception
    15    when zero_rows then
    16      dbms_output.put_line('No rows');
    17   end;
    18  /
    No rows
    PL/SQL procedure successfully completed.
    -- Now, let us use the table, which has the data
    SQL> declare
      2   v_cnt     number := 0;
      3   zero_rows         exception;
      4  begin
      5    for rec in (select * from
      6          (select rownum rn, e.ename from emp e)
      7          order by 1 desc)
      8     loop
      9        if v_cnt = 0 then
    10           v_cnt := rec.rn;
    11           dbms_output.put_line(v_cnt);
    12        end if;
    13     end loop;
    14     if v_cnt = 0 then
    15        raise zero_rows;
    16     end if;
    17   exception
    18    when zero_rows then
    19      dbms_output.put_line('No rows');
    20   end;
    21  /
    14
    PL/SQL procedure successfully completed.Thx,
    Sri

  • How to find total no of records in DSO

    How to find the total no of records in a DSO?

    Hi,
    To check the num of entries in DSO,
    in DSO the data always comes from Active data table(Since DSO has 3 tables-> New data,Active data, Change log tables)
    just right click on DSO and go to manage DSO, then select "Active data table"  tab and go to Contents.. There u can see the data which you loaded in to DSO... So there u can get num of entries..
    Or
    go to TCODE : SE11 and give ur Active DATA table name.. and click display....
    then press ctrlshiftF5 to see the contents of tha table....
    Thanks And Regars
    MAnjunath P

  • How to find the Executed time of query

    hi,
       i want to find out the execution time of query like a sales report executed in 10 min. how to find out that? is there is any TC for that or what is the option to use that?
    and how to fing out execution time of Data source to info providers.. or DSOs to IC? like how much time taken to load data?
    regards,
    preety

    Hello Preety,
          Goto RSRT give the query name and see the technical property you will find the query generation time.
    For the time taken for execution Select the execute and debug mode in the options select display statistics.
    Execute the query
    Click back
    You can see the statistics.
    Thanks
    Chandran

  • How to find query completion time

    How to find active insert query completion time in oracle?

    friend,
    i don't find anything in the query since time_remaing value show zero.
    select TIME_REMAINING,TOTALWORK,START_TIME,SOFAR from v$session_longops where sid=115.
    TIME_REMAINING TOTALWORK START_TIM SOFAR
    0 21456 11-MAY-09 21456
    0 4588 11-MAY-09 4588
    0 6138 11-MAY-09 6138
    could you please guide me how to calcaluate the completion time?

Maybe you are looking for

  • Help! Material no longer playable since update...

    Since 'upgrading' my AppleTV to V4.4 and iTunes to 10.5 I can no play some shows/films that played fine before the update. I get the message  'An error occured loading this content. Try again later.' I can play them ok in iTunes on the MacMini connec

  • Is Archiving pages in iWeb possible for future reference?

    Can I archive a page which can be removed but visited later?

  • What widget is used for this Site-of-the-Day?

    My Muse website is for my design business, and I need to show several pages of design samples (covers, logos, tech art, etc.). I think a slideshow widget will work best, but I have problems with the built-in ones (another forum entry probably). I lik

  • Oracle Query as Extractor

    Hi friends, I'm new in BI. I have next query to get Inventory values by material code, and I want to use it as 'Data Source' to fill an ODS InfoProvider. select lfgja||lfmon, werks, matnr, sum(labst) from sapr3.mard@dwh_sap.world where substr(werks,3

  • Unable to export Hive managed table using Oraloader

    Hi, I am using MySQL as Hive metastore and trying to export a Hive managed table using Oraloader. I get the following excpetion in Jobtracker: 2012-09-12 12:23:56,337 INFO org.apache.hadoop.mapred.JobTracker: Job job_201209121205_0007 added successfu