Content deleted Content added
No edit summary |
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.5 |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1:
{{Short description|Database stored query result set}}
{{
In a [[database]], a '''view''' is the [[result set]] of a
Views can provide advantages over tables:
Line 13:
| ___location = <!-- not stated -->
| publisher = Osborne/McGraw-Hill
| pages =
| isbn = 0072118458
}}</ref>
Line 20:
* Views can hide the complexity of data. For example, a view could appear as Sales2020 or Sales2021, transparently [[Partition (database)|partitioning]] the actual underlying table.
* Views take very little space to store; the database contains only the definition of a view, not a copy of all the data that it presents.
*
Just as a [[function (computing)|function]] (in programming) can provide [[Abstraction (computer science)|abstraction]], so can a database view. In another parallel with functions, database users can manipulate nested views, thus one view can aggregate data from other views. Without the use of views, the [[Database normalization|normalization]] of databases above [[second normal form]] would become much more difficult. Views can make it easier to create lossless join decomposition.
Line 31:
==Materialized views==
{{
Various [[database management system]]s have extended the views from read-only subsets of [[data]], particularly [[materialized view]]s: pre-executed, non-virtual views commonly used in [[Data warehouse|data warehousing]]. They give a static snapshot of the data and may include data from remote sources. The accuracy of a materialized view depends on the frequency of trigger mechanisms behind its updates.
Line 88:
{{Databases}}
==References==
{{Reflist}}
{{DEFAULTSORT:View (Database)}}
|