• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Materialized view (Snapshot) creation

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Popeye has his spinach. I have this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic