- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to create an Oracle 9i Materialized View &...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 07:40 PM
тАО01-06-2005 07:40 PM
How to create an Oracle 9i Materialized View & Materialized View log?
2. What kind of refresh type does MVIEW need MVIEW LOG?
Pls kindly share your opinion.
Thanks
Eric FJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 08:02 PM
тАО01-06-2005 08:02 PM
Re: How to create an Oracle 9i Materialized View & Materialized View log?
check out this link:
http://www.databasejournal.com/features/oracle/article.php/2192071
Kind regards
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 08:04 PM
тАО01-06-2005 08:04 PM
Re: How to create an Oracle 9i Materialized View & Materialized View log?
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96567/repmview.htm#25271
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 08:21 PM
тАО01-06-2005 08:21 PM
Re: How to create an Oracle 9i Materialized View & Materialized View log?
The terms Materialized View (MVIEW) are synonymous and they will be used
interchangeably. A materialized view is a replica of a target master from a single point in time. It was introduced in oracle 7 and The most remarkable MVIEW enhancements in Oracle9 are the multitier materialized views and support for user-defined types.
A typical create MVIEW statement has the following form:
create materialized view snap_test
refresh fast
start with sysdate
next sysdate+1 as
select * from master_table@master_db;
This statement should be executed in snap_db. It will create
- A MVIEW base table called SNAP_TEST which has the same structure as
MASTER_TABLE.
- A new object namely SNAP_TEST of type materialized view
- A UNIQUE index on the PK columns or ROWID depending on the type of
MVIEW log at master site
Metalink Note:258227.1 explains ├в Overview of the types of MVIEW available in Oracle 8 and 9i├в . This will privide steps that you require.
Now your second query,
After the materialized view is created, changes can be made to the master table, and possibly also to the materialized view. To keep a materialized view's data relatively current with the data in the master table, the materialized view must be periodically refreshed.
You can choose between Complete, Fast, and Force refresh types. Complete refresh is performed by deleting (or truncating) the rows from the snapshot and inserting the rows satisfying the mview query.
Attached is a document for Oracle's materialized view fast refresh.
I hope this helps
Indira A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 08:23 PM
тАО01-06-2005 08:23 PM
Re: How to create an Oracle 9i Materialized View & Materialized View log?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 09:43 PM
тАО01-06-2005 09:43 PM
Re: How to create an Oracle 9i Materialized View & Materialized View log?
check these links
http://www.oracle.com/technology/products/oracle9i/daily/oct24.html
http://www.oracle.com/technology/products/oracle9i/daily/oct17.html
and especailly white paper on Materialized views :
http://www.oracle.com/technology/products/oracle9i/pdf/o9i_mv.pdf
Regards
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 10:25 PM
тАО01-06-2005 10:25 PM
Re: How to create an Oracle 9i Materialized View & Materialized View log?
1. Documentations
please try: http://download-east.oracle.com/docs/cd/A81042_01/DOC/server.816/a76994/mv.htm#721
hope this helps!
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 10:28 PM
тАО01-06-2005 10:28 PM
Re: How to create an Oracle 9i Materialized View & Materialized View log?
2.
the docs says:
Materialized view logs are required if you want to use fast refresh. They are defined using a CREATE MATERIALIZED VIEW LOG statement on the base table that is to be changed. They are not created on the materialized view. For fast refresh of materialized views, the definition of the materialized view logs must specify the ROWID clause. In addition, for aggregate materialized views, it must also contain every column in the table referenced in the materialized view, the INCLUDING NEW VALUES clause and the SEQUENCE clause.
hope this helps too!
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 11:34 PM
тАО01-06-2005 11:34 PM
Re: How to create an Oracle 9i Materialized View & Materialized View log?
also note that you need no mv logs to refresh, they are optional -- with them we might be able
to do an incremental refresh, without them -- a complete refresh is called for.
hope this helps too!
regards
yogeeraj