CoolInterview.com - World's Largest Collection of Interview Questions
 Interview Questions  
 Our Services  

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!


    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS DATA WAREHOUSING DATA WAREHOUSING BASICS DETAILS
    Question :
    What is the difference between view and materialized view?


    Category Data Warehousing Basics Interview Questions
    Rating (5.0) By 1 users
    Added on 7/26/2006
    Views 1328
    Rate it!
    Answers:

    View - store the SQL statement in the database and let you use it as a table. Everytime you access the view, the SQL statement executes.

    Materialized view - stores the results of the SQL in table form in the database. SQL statement only executes once and after that everytime you run the query, the stored result set is used. Pros include quick query results.



    Views: At run time, the query will be executed against the database.

    Materialized views: The data for the materialized view query will be generated at compile time.

    Mviews can be created by the following ways:
    1. Immediate - mview will be created along with data.
    2. Deferred - Mview structure alone will be created. Data will be populated only when you refresh the mview.

    We have the option of refreshing the mviews. It means when the data in the master table used in the mview query changes, the refreshing of mviews helps to get the updated (new) data for the mview.

    Mview will behave very much like a table. At run time, data will be retrieved from the result set just as retrieved from a table. The retrieval time will be very fast unlike the views.



     Posted by: Jayashree S    

    Contact Jayashree S  Contact Jayashree S


    If you have the better answer, then send it to us. We will display your answer after the approval.
    Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    What are the advantages data mining over traditional approaches?

    View Answer
    What are the different architecture of datawarehouse

    View Answer
    What are the steps to build the datawarehouse

    View Answer
    What is the datatype of the surrgate key

    View Answer

    Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

    Notify me when better answer is posted!
    Email:

    View ALL Data Warehousing Basics Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2009 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions
    Page URL: http://www.coolinterview.com/interview/8124/default.asp?cachecommand=bypass


    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | Joke of the Day

    0.53