aspose file tools
The moose likes Oracle/OAS and the fly likes Materialized view (Snapshot) creation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Reply Bookmark "Materialized view (Snapshot) creation" Watch "Materialized view (Snapshot) creation" New topic
Author

Materialized view (Snapshot) creation

Mrutyunjay Hanchinal
Ranch Hand

Joined: Sep 26, 2001
Posts: 50
Hi All,
I am trying to crate a Materialized view in Oracle 8i. This view is being created by joining 4 tables out of which 2 tables have very large number of records. When I try to create this snapshot, I do not get any error but the process never ends. What might be the problem?
Please Suggest.
Thanks,
Mrutyunjay.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 16624

What are your join statements, are you sure there isn't a cartesian product being created. Have you tried getting an execution plan and look at the cost numbers.
A Materialized view takes a little longer to create than a table as it has a little bit more overhead to store with the "Table/View" like the query and links to the "Base" tables, which allows it to be refreshed.
Good Luck
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
IntelliJ Java IDE
 
subject: Materialized view (Snapshot) creation
 
Threads others viewed
oracle stored proc for tree
Can i create Materialized view on a Materlized view.
One Mapping for two tables
Oracle job is not running automatically
Creating Temp table and querying it
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture