Materialized Views: how can I find the number of updates, inserts, delete

We are using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod.
In a materialized view, with fast incremental refresh, done after every 5 minutes automatically, I want to store in a logging table the number of rows inserted,updated and deleted in the materialized view by that refresh.
One option is to create a job that should read the materialized view log table just before the refresh and store the required information in the logging table. But this information may not be accurate.
Is there any other way to collect this information for each refresh?

Use auditing, or an before insert/update/delete trigger, that updates a counter
I hate myself for giving this advice, because it will bring you problems, with the MV update/refresh speed, table lock contention on the log-table....
Be carefull !!
Why not use auditing on the source table and why does anyone wants to know the number of changes??
Regards
FJFranken

Similar Messages

  • How can I find the number of people who delete Firefox because of corporate decisions?

    Because of today's decision regarding your CEO. This is another attack on free speech and vindictive behavior of a radical gay section of our society. The hate spewed by that group is worthy of boycott.

    Hi,
    Unless you're willing to go to extreme lengths to find users who deleted Firefox, go for it.
    However, The decision was made by Brendan. Since the moment Brendan was appointed, free and open discussion has come from a diverse spectrum of viewpoints. Mozilla is an organization that believes in openness and that no one should be persecuted for the beliefs they hold, no matter what those beliefs are. We believe in unconditional freedom and openness. That's why we support rights for everyone.
    The question is off-topic and isn't to be discussed here. If you want to discuss this further, please post at the governance list (https://www.mozilla.org/about/forums/#governance)

  • How can I find the number of megabytes per seconde of mij connection with internet

    In a tuning program is asked the number of MB per second of mij lan-connection with internet.
    I should like to know how I can find that number.

    Hey Tongo,
    This isn't really a Firefox question. I would suggest doing a quick Google search for "Internet Speed Test" or something of that nature. I know a very popular one is located here: http://www.speakeasy.net/speedtest/
    Hopefully this helps!

  • Materialized View - How can we change the Refresh_mode?

    Hi All,
    I have created a materialized view on a table in another schema.
    The refresh mode has been automatically set to "Demand". Therefore, when changes are made to the base table, they are not automatically copied to the Materialized View.
    Two questions:
    1. How do we "Demand" a refresh? Is that something we can do using the AppEx interface or do we need to run a SQL statement in SQL Workshop?
    2. Can we, using the AppEx interface, change the refresh mode?
    Any help is greatly appreciated.
    Cheers,
    Patrick Cimolini

    Hi Denes,
    Many thanks for the pointer. It has lead me to the related documentation.
    All I need now is for our DBA to give the schema owners the relevant privileges and I am off and running.
    Cheers,
    Patrick Cimolini

  • Can't find email with serial number for Pages, how can I find the number?

    Purchased Pages on 9th September following iWork09 trial, however I must have trashed the email containing serial number
    in error. Does anyone know how to find the serial number. Thanks in advance for any reply...

    You need to delete the trial & then reinstall from the boxed DVD or the Mac App Store. The files to delete are the iWork ’09 folder from the main HD > Applications; the iWork ’09 folder in HD > Library > Application Support & the individual iWork application plist files found in HD > Users > (your account) > Library > Preferences for each user. Yvan Koenig has written an AppleScript that removes the files. You can find it on his box.com account in for_iWork'09 > other_iWork'09 items > uninstall iWork '09.zip.

  • Hi how can i find the add-on i have deleted?

    Hi,
    I have downloaded an add-ons and by mistake a deleted it. I would like to have it back, how can i retrace downloaded or erased add-ons?

    Sorry, I was wrong. I was looking at a Downloads window in a Profile that I had used to download & save some extensions, rather than installing those extensions directly from the AMO website. I just directly installed an extension, and NO it didn't appear in the Downloads window.
    The only other thing that I can think of is to do a search of your browsing History - {Crtl + Shft + H} upper-right corner of that window = Search History - for '''addons''' and look thru that search list.

  • How can i find the number of times my volume license has been activiated?

    Volume licensing activations.

    Try contacting Adobe support to see if they can help.
    Here are some links to help make contact:
    http://www.adobe.com/support/chat/ivrchat.html
    http://www.adobe.com/support/download-install/supportinfo/

  • How can i find the music itunes scanned and deleted from my ipod classic

    So I recently scanned my ipod classic for any problems and it decided to delete a whole bunch of my music.
    It also said something about putting the corrupted files in a "Found" Folder which i cannot find.
    Is there a way to get the music back somehow?

    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities
    or
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • How do you find the number of lines in a file?

    I need to count how many lines there are in a file, I am using a BufferedReader to read in the data, but how can I find the number of lines?
    Thanks

    That depends. How do you define a line? Is it a specific number of
    characters, a String that's terminated by a newline character or some
    combination thereof?

  • How do I find the number of physical CPUs , number of cores in OEL ?

    In RHEL , it is easy to find the number of Physical CPUs and the number of cores within each CPU
    -- Ouput from Red Hat Enterprise Linux 5.4
    -- This a real machine. Not a VM
    $ cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 46
    model name      : Intel(R) Xeon(R) CPU           X7550  @ 2.00GHz
    stepping        : 6
    cpu MHz         : 1995.048
    cache size      : 18432 KB
    physical id     : 0              --------------> This will give info on the physical CPU
    siblings        : 8
    core id         : 0
    cpu cores       : 8              --------------> This will give the number of cores within a CPU
    apicid          : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm
    bogomips        : 3990.09
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 44 bits physical, 48 bits virtual
    power management: [8]Output from Oracle Linux . Physical CPU Id and Number of Cores info is missing.
    -- Output from Oracle Enterprise Linux 6.3
    -- This is a virtual machine created using Virtual Box
    -- Processor ID , number of cores is missing
    $ cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 42
    model name      : Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz
    stepping        : 7
    cpu MHz         : 2298.627
    cache size      : 6144 KB
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc up rep_good nopl pni monitor ssse3 lahf_lm
    bogomips        : 4597.25
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:Is this the expected output in Oracle Enterprise Linux ? If so, how can I find the number of Physical CPUs and the number of cores within a Physical CPU in OEL?
    Is this info missing because I am running OEL in a virtual machine ?

    Oracle Linux behaves exactly like Red Hat in this matter an /proc/cpuinfo can be used for that. I guess this is because you have set up VirtualBox to only assign one virtual CPU to your guest Linux.
    processor     : 0
    vendor_id     : AuthenticAMD
    cpu family     : 15
    model          : 33
    model name     : Dual Core AMD Opteron(tm) Processor 275
    stepping     : 2
    cpu MHz          : 1000.000
    cache size     : 1024 KB
    physical id     : 0
    siblings     : 2
    core id          : 0
    cpu cores     : 2
    apicid          : 0
    initial apicid     : 0
    fpu          : yes
    fpu_exception     : yes
    cpuid level     : 1
    wp          : yes
    flags          : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good extd_apicid pni lahf_lm cmp_legacy
    bogomips     : 1994.47
    TLB size     : 1024 4K pages
    clflush size     : 64
    cache_alignment     : 64
    address sizes     : 40 bits physical, 48 bits virtual
    power management: ts fid vid ttpAnother example is this one, OEL 5.6 inside of VirtualBox but with 2 virtual CPUs assigned:
    [root@oel56proxy ~]# cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 23
    model name      : Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
    stepping        : 10
    cpu MHz         : 2064.652
    cache size      : 6144 KB
    physical id     : 0
    siblings        : 2
    core id         : 0
    cpu cores       : 2
    apicid          : 0
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 lahf_lm
    bogomips        : 4129.30
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 23
    model name      : Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
    stepping        : 10
    cpu MHz         : 2064.652
    cache size      : 6144 KB
    physical id     : 0
    siblings        : 2
    core id         : 1
    cpu cores       : 2
    apicid          : 1
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 lahf_lm
    bogomips        : 7494.15I have not tried to replicate this with a VM that only has one vCPU assigned but I guess that is why you only see one CPU and no processor_id and so on.
    Bjoern

  • TS2755 How can I find a number I perviously texted before?

    I was texting a number and accidently deleted it.  How can I find the number again (if possible)?

    Does you carrier offer any kind of web access to your billing account? If so, when your bill generates, you may be able to see a list of your texts, who you texted. If you know the approximate time and date of the conversation, you might be able to find the number.
    Best of luck.

  • How can we find the Idoc number which posts the material document in SAP

    Hi All,
    How can we find the Idoc number which posts the material document in SAP. We could not able to find the IDOC number from the material document which was posted by Idoc.
    Thanks
    Chandru

    Hi,
    In MIGO you can go to service of object(Just above show overview) and check 5th option workflow you will find the idoc number.
    regards
    suresh

  • How can I find the center of the current view

    How can I find the center of the current view

    Oracle permitted renaming the snapshot in the earlier versions of 8i. However, it does not permit renaming the materialized view in 9i or 10g.
    SQL> rename mymatview to mymatview2;
    rename mymatview to mymatview2
    ERROR at line 1:
    ORA-32318: cannot rename a materialized view
    SQL> disconnect
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining options
    SQL> rename mymatview to mymatview2;
    rename mymatview to mymatview2
    ERROR at line 1:
    ORA-32318: cannot rename a materialized view
    SQL> disconnect
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.3.0 - Production

  • How can I find the serial number for my creative suite CS6 I bought it from a store.

    How can I find the serial number for my creative suite CS6 I bought it from a store.

    https://www.adobe.com/account.html for serial numbers or subscriptions on your Adobe page... or
    Lost serial # http://helpx.adobe.com/x-productkb/global/find-serial-number.html

  • How can i find the option to delete a recent print job from the "View Job History

    1. Photosmart 5510 e-ALL-IN-ONE SERIES
    2. Window 7 64 bit
    How can i find the option to delete a recent print job from the "View Job History

    Hello alfmswongg,
    Currently there is no option to delete print jobs from the "View Job History" section of ePrintCenter.  
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

Maybe you are looking for

  • Add textFrame on each page of document

    I've been trying to write a JavaScript script to add a textframe on each page of a document. The script is wrote is: var myDocument = app.activeDocument; for (var pageCounter = 0; pageCounter < myDocument.pages.length; pageCounter ++) {   //Create a

  • IPhone 4 will not activate with Apple for update

    No matter how hard I try, or how many times I try I cannot get my sister in law's iPhone 4s to update it's software to 5.1  Despite it being connected to a strong wireless signal that I managed to update mine from on my laptop, it downloads the updat

  • Premiere CS4 problems with Snow Leopard 10.6.7

    I know that this is draging the depths of history but we have eight MackBook Pros with Snow Leopard (no roll back possible) and various CS4 progeams on in the college at which I teach.  We have a problem with Premiere in that clips will not play eith

  • Customer tax classification-

    Dear - All After defined the customer Tax classification in Customer Master Data- why it isnot coming to my sales order header billing view like 1 2 3 4 .    Tell me what is the best Key combination for acess sequence to mantain the sales tax conditi

  • Is there a feature in iCS that shows only the time scheduled/available on my calendar?

    Is there a filter mode that will mask the content of my schedule and show only the time scheduled/available? <P> This feature, which will be called "free/busy" time, will be included in the next major release of iPlanet Calendar Server. There will be