Class 8 Data Models
Class 8 Data Models
Client/Server Architecture
• Front-end tier -> User Interface layer usually consisting of a mix of HTML,
Javascript, CSS, Flash, and various server-side code like ASP.Net, classic ASP, PHP,
etc. Think of this as being closest to the user in terms of code.
• Back-end tier -> Databases and other data stores are generally at this level.
Oracle, MS-SQL, MySQL, SAP, and various off-the-shelf pieces of software come
to mind for this piece of software that is the final processing of the data.
• 1-Tier, 2-Tier, 3-Tier,…. N-tier Architecture
Data Models
An integrated collection of concepts for describing and manipulating data,
relationships between data, and constraints on the data in an organization
The goal of the data model is to make sure that the all data objects
required by the database are completely and accurately
represented.
Disadvantages The hierarchical data model organizes data in a tree structure
• Implementation complexity 1:N mapping between record types
• Maintaining difficult
• Lack of structural independence
• programming complexity
Network Data Model
• The basic data modeling construct in the network model is the
set construct.
• A set consists of an owner record type, a set name, and a
member record type.
PROJ
• Views are the virtual tables created by using queries to show the
partial view of the table. That is views are subset of table, it is only
partial table with few rows and columns. This rule states that views
are also be able to get updated as we do with its table.
Rule 7 High-level insert, update, and delete
• This rule states that every query language used by the database
should support INSERT, DELETE and UPDATE on the records.
• It should also support set operations like UNION, UNION ALL, MINUS,
INTERSECT and INTERSECT ALL.
• All these operation should not be restricted to single table or row at a
time.
• It should be able to handle multiple tables and rows in its operation.
Rule 8 Physical Data Independence
• If there is any change in the physical storage of the data, it should not
affect the data at the logical or external view.