I've been expirementing with MV for a couple of days. Interesting gotcha's for fast
refresh on
commit, but otherwise cool stuff. Now for the question.
If I have a base table of 1 millions rows of time series data and I want to produce
MVs for day,
month, and year aggregates, would it be better to:
a) base all the MVs back to the original table. Only one mv-log this way but if I
ever need to
perform a complete refresh, then this would require 3 scan/sort/group of the original
table.
b) base the day MV on the original table, the month MV on the day MV, and the year MV
on the month
MV. Requires 3 mv-logs but a complete refresh would progressively scan/sort/group
less data.
It may just boil down to a matter of taste.
Ron
[EMAIL PROTECTED]
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Ron Thomas
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).