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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: materialized views

Re: materialized views

From: Thomas Day <tomday2_at_gmail.com>
Date: Mon, 11 Apr 2005 10:50:32 -0400
Message-ID: <a8c5045905041107507b5e14db@mail.gmail.com>


Do some tests to see if there is a performance problem. The other basic question is, why use materialized views?

We used materialized views to maintain a database for ad-hoc queries. The base database was 80G (one table was 7G) and OLTP (average of 400 users logged on with 20 active sessions at any one time).

We used primary-key snapshots so the we wouldn't have to rebuild the snapshot database if a table had to be restored on the base database. We set up refresh groups based on the base table's volitility; tables that are basically look-up get refreshed on a 24 hour cycle, tables that change more quickly (at the center of a star scheme) are updated on a 15 minute cycle.

The performance hit for running the snapshots was less than the performance hit would be from users running ill-formed ad-hoc queries on the production database.

On the snapshot database we also had denormalized datamarts that were formed to answer specific users' (i.e., upper management) queries.

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Apr 11 2005 - 10:54:29 CDT

Original text of this message

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