DWDM 1
DWDM 1
RELATIONAL DATABASES:
• A database system, also called a database management system (DBMS),
consists of a collection of interrelated data, known as a database, and a set of
software programs to manage and access the data.
• A relational database: is a collection of tables, each of which is assigned a
unique name.
• Each table consists of a set of attributes (columns or fields) and usually stores
a large set of tuples (records or rows).
• Each tuple in a relational table represents an object identified by a unique key
and described by a set of attribute values.
• A semantic data model, such as an entity-relationship (ER) data model, is
often constructed for relational databases.
• An ER data model represents the database as a set of entities and their
relationships.
DATA WAREHOUSE:
• A data warehouse is a repository of information collected from multiple
sources, stored under a unified schema, and that usually resides at a single site.
• Data warehouses are constructed via a process of data cleaning, data
integration, data transformation, data loading, and periodic data refreshing.
• The data are stored to provide information from a historical perspective and
are typically summarized.
• A data warehouse is usually modelled by a multidimensional database
structure.
• where each dimension corresponds to an attribute or a set of attributes in the
schema, and each cell stores the value of some aggregate measure, such as
count or sales amount.
• A data cube provides a multidimensional view of data and allows the
precomputation and fast accessing of summarized data.
What is the difference between a data warehouse and a data mart?”:
• A data warehouse collects information about subjects that span an entire
organization, and thus its scope is enterprise-wide.
• A data mart is a department subset of a data warehouse. It focuses on selected
subjects, and thus its scope is department-wide.
• Data warehouse systems are well suited for on-line analytical processing, or
OLAP.
• Examples of OLAP operations include drill-down and roll-up, which allow the
user to view the data at differing degrees of summarization.
Transactional Databases:
• Transactional database consists of a file where each record represents a
transaction.
• A transaction typically includes a unique transaction identity number (trans
ID) and a list of the items making up the transaction.
• The transactional database may have additional tables associated with it,
which contain other information regarding the sale, such as the date of the
transaction, the customer ID number, the ID ,number of the salesperson and of
the branch at which the sale occurred, and so on.
OBJECT-RELATIONAL DATABASES:
• Object-relational databases are constructed based on an object-relational data
model.
• This model extends the relational model by providing a rich data type for
handling complex objects and object orientation object-relational databases are
becoming increasingly popular in industry and applications.
• The object-relational data model inherits the essential concepts of
objectoriented databases
Each object has associated with it the following:
• A set of variables that describe the objects. These correspond to attributes in
the entity relationship and relational models.
• A set of messages that the object can use to communicate with other objects,
or with the rest of the database system.
• A set of methods, where each method holds the code to implement a message.
Upon receiving a message, the method returns a value in response. For instance:
the method for the message get photo(employee) will retrieve and return a photo
of the given employee object.
• Objects that share a common set of properties can be grouped into an object
class.
• Each object is an instance of its class. Object classes can be organized into
class/subclass hierarchies so that each class represents properties that are
common to objects in that class.