Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is a materialized view?

Answer Posted / muhammadrashidmughal

In a database management system following the relational
model, a view is a virtual table representing the result of
a database query. Whenever an ordinary view's table is
queried or updated, the DBMS converts these into queries or
updates against the underlying base tables. A materialized
view takes a different approach in which the query result
is cached as a concrete table that may be updated from the
original base tables from time to time. This enables much
more efficient access, at the cost of some data being
potentially out-of-date. It is most useful in data
warehousing scenarios, where frequent queries of the actual
base tables can be extremely expensive.

In addition, because the view is manifested as a real
table, anything that can be done to a real table can be
done to it, most importantly building indexes on any
column, enabling drastic speedups in query time. In a
normal view, it's typically only possible to exploit
indexes on columns that come directly from (or have a
mapping to) indexed columns in the base tables; often this
functionality is not offered at all.

Materialized views were implemented first by the Oracle
database.

There are three types of materialized views:

1) Read only

Cannot be updated and complex materialized views are
supported
2) Updateable

Can be updated even when disconnected from the master site.
Are refreshed on demand.
Consumes fewer resources.
Requires Advanced Replication option to be installed.
3) Writeable

Created with the for update clause.
Changes are lost when view is refreshed.
Requires Advanced Replication option to be installed

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is user-defined multi-statement table-valued function?

1064


What is the full form of ddl?

928


List out different types of normalizations in sql server and explain each of them?

930


Explain the usage of floor function in sql server.

964


Can you explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

985


How to execute stored procedure in select statement sql server?

1062


What is the full form of dql?

985


What do you mean by sql server 2005 express management tools?

1308


What is recompile sql server?

1040


Do you know what are the restrictions applicable while creating views? : SQL Server Architecture

1006


What is store procedure? How do they work? When do you use?

943


What is stored in the mssqlsystemresource database? : sql server database administration

1032


how would you store your query in an SSRS report or a Database server?

162


explain the storage models of olap? : Sql server database administration

959


How will you go about resolving deadlocks?

971