Question

In: Computer Science

Views are virtual in the database but Materialized view are persistent. Discuss the need to have...

Views are virtual in the database but Materialized view are persistent. Discuss the need to have materialized view instead of views and in what condition No materialization if preferred.

I need a unique answer and without handwriting, please.

Solutions

Expert Solution

ANSWER:

1) Why Materialized views are persistant?

Views are nothing but the Logical Virtual Tables created by "Select query", but the results are not stored anywhere in the disc. Every time we need the data, we need to fire the query so that we get the updated or latest data from original tables.

Materialized view are also the logical view of the data driven by "Select query" but the result gets stored in the disc along with the defination of the query.

When we create a view using any table, rowid of view is same as the original table but in case of materialized view rowid is different.

We can get the updated or latest data with the help of view ,but in materialized view we need to refresh again and again in order to get the latest data. Therefore, we need an extra trigger or some automatic method to keep the materialized view updated.

2) Case where no materialization is needed-

Mostly we use views because they are most feasible for an application where no extra space is needed, only logical representation of the data is required. Therefore, no materialization is needed in the cases where there is a problem of extra space.

Materialized views are mostly used in thee cases of data warehousing or business intelligence where Query Response Time Matters.

If you are satisfied by my answer please give a thumbs up. Thank You.


Related Solutions

Views are virtual in database but Materialized view are persistent. Discuss the need to have materialized...
Views are virtual in database but Materialized view are persistent. Discuss the need to have materialized view instead of views and in what condition No materialization if preferred.
lab requires you to use Oracle VIEW to implement a virtual database on DBSEC schema, for...
lab requires you to use Oracle VIEW to implement a virtual database on DBSEC schema, for example, on CUSTOMER table. Your task is to develop a single SQL script that will perform all the following tasks: Table created for this assignment is listed below: create table CUSTOMER_VPD( SALES_REP_ID NUMBER(4), CUSTOMER_ID NUMBER(8) NOT NULL, CUSTOMER_SSN VARCHAR(9), FIRST_NAME VARCHAR(20), LAST_NAME VARCHAR(20), ADDR_LINE VARCHAR(40), CITY VARCHAR(30), STATE VARCHAR(30), ZIP_CODE VARCHAR(9), PHONE VARCHAR(15), EMAIL VARCHAR(80), CC_NUMBER VARCHAR(20), CREDIT_LIMIT NUMBER, GENDER CHAR(1), STATUS CHAR(1), COMMENTS...
moral relativism is the view that people have different moral views there are no moral truths...
moral relativism is the view that people have different moral views there are no moral truths what is right is relative to different people or groups according to what they considerright one problem for cultural relativism is that the view makes it conceptually impossible for a culture to change for the better nobody can know what is really morally true no single culture’s moral opinions are privileged as objectively correct normative Ethics is concerned with how we ought to act,...
There are different views on the causes of inflation. While the standard view is that inflation...
There are different views on the causes of inflation. While the standard view is that inflation is a monetary phenomenon, others emphasise the impact of fiscal policy. a. Explain how inflation is related to the money supply according to the quantity theory of money. Motivate your answer using equations. b. Explain how inflation may be triggered by fiscal considerations, e.g. a desire to increase government spending. Motivate your answer by formulating the government’s budget constraint.
Discuss the impact of Storage on Virtual Machines
Discuss the impact of Storage on Virtual Machines
Discussion Using a Database Management System View “The database tutorial for beginners” on youtube(5:32 mints) and...
Discussion Using a Database Management System View “The database tutorial for beginners” on youtube(5:32 mints) and discuss how database management systems are different from spreadsheets. Describe one experience you have had working with data.
I already have a database in phpMyAdmin and need to create an html/php "SEARCH" page to...
I already have a database in phpMyAdmin and need to create an html/php "SEARCH" page to retrieve the information from the database on to my localhost. Please post a php/html code that will create a search page and return the data from my phpmyadmin database. The 3 items I have on the database are first_name, last_name and birth_day.
Discuss the advantages and disadvantages of utilizing virtual teams.
Discuss the advantages and disadvantages of utilizing virtual teams.
1)The world will never become completely virtual because: A) The need for power B) The need...
1)The world will never become completely virtual because: A) The need for power B) The need for uniqueness C) The need for affiliation D) The need for safety 2)Frito Lay decreased the price of its potato chips from $4.80 to $4.76. What does JND (Just Noticeable Difference) Theory tell us about the possible perception of this price decrease?
Discuss how database systems have revolutionised decision making and reporting practices.
Discuss how database systems have revolutionised decision making and reporting practices.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT