Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: materilized view maintenance

Re: materilized view maintenance

From: Philippe Louis Balmanno <plb2862_at_cts.com>
Date: Sat, 14 Apr 2001 19:30:22 -0700
Message-ID: <3ad7b677$0$47995$e2e8da3@nntp.cts.com>

There's a short article on thsi topic at the following web page with two examples. I hope it helps but it's a function that might only be in 8i, I'm not sure about 8 only 8i.

<http://dbasupport.com/oracle/ora8/>

"Loki" <rinze_cats_at_hotmail.com> wrote in message news:9avdqa$4lnd5$1_at_reader01.wxs.nl...
> hiya, I have a questions concerning materialized view maintenance.
> I am using Oracle8.
>
> My database is centered around a log with detailed data. Only insert
> operations are performed on the log (often).
>
> I have to fire the same pre defined queries over and over again.
 Therefore,
> I use materialized views to store the calculations. I need to update the
> materialized views
> when an event occurs, for instance 100 inserts into the log. For this
> purpose I want to define a trigger on the log
>
> I have three questions:
> 1. What kind of updates on the views does oracle8 support? Do I have to
> insert the aggregate information on the 100 log inserts as a new tuple or
 is
> it possible to find and update the correct aggregate tuples in the
> materialized view, for example using a combination of attributes? (so it
> doesn't grow and I do not have to combine the tuples later).
> 2. What would this trigger look like in PL/SQL?
> 3. The best sollution for my problems is a datacube (disregarding the
> maintenance problems). Does oracle support the Group by cube operator?
>
> hope someone can help me out!!!
>
> thanx in advance
> Rinze
>
>
>
>
Received on Sat Apr 14 2001 - 21:30:22 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US