Database lesson 2 Flashcards
Modern DBMS are more realistic and uses real world entities to design its
architecture.
Real-world Entity
It uses the behavior and attributes too
Real-world Entity
DBMS allows entities and relations among them to form as tables. This
eases the concept of data saving.
Relation-based tables
A user can understand the architecture of database just by
looking at table names etc.
Relation-based tables
A database system is entirely different than its data. Where
database is said to active entity, data is said to be passive one on which the database works and
organizes.
Isolation of data and application
DBMS follows rules of normalization, which splits a relation when any of its
attributes is having redundancy in values. Following normalization, which itself is a
mathematically rich and scientific process, make the entire database to contain as less
redundancy as possible.
Less redundancy
DBMS always enjoy the state on consistency where the previous form of data storing
applications while file processing does not guarantee this. Consistency is a state where every
relation in database remains consistent. There exist methods and techniques, which can detect
attempt of leaving database in inconsistent state.
Consistency
DBMS is equipped with query language, which makes it more efficient to
retrieve and manipulate data. A user can apply as many and different filtering options, as he or
she wants.
Query Language
Traditionally it was not possible where file-processing system was used
Query language
ACID properties
Atomicity, Consistency, Isolation, Durability
maintains database in healthy state in multi
transactional environment and in case of failure.
ACID
DBMS support multi-user environment and allows them to
access and manipulate data in parallel. Though there are restrictions on transactions when they
attempt to handle same data item, but users are always unaware of them.
Multiuser and Congruent Access
DBMS offers multiples views for different users. Security: Features like multiple
views offers security at some extent where users are unable to access data of other users and
departments. DBMS offers methods to impose constraints while entering data into database and
retrieving data at later stage.
Multiple views
Used by various users for various purposes.
DBMS
This highly depends on its architecture. It can be centralized or decentralized or hierarchical
DBMS Architecture
Can be seen as single tier or multi tier or n-tier architecture
DBMS
Only entity where user directly sits on DBMS and uses it. Any changes done here will directly be done on DBMS
1 Tier Architecture
Programmers uses this where they access DBMS by means of application
2-tier architecture
Most widely used architecture. Separates it tier from each other on basis of users.
3-tier architecture
Highly modifiable as almost all its components are independent and can be changes independently
Multiple tier database
Tells how the logical strucrture of a database is modeled.
DBMS
Fundamental entities to introduce abstraction in DBMS. Defines how data is connected to each other and how it will be processed and stored inside the system.
Data Model
What is the Goal of data modeling
make sure all data objects required by a database are completely and accurately representaed
Precise description of the data content in a system. Underlying structure of a database
Conceptual tool
Data Model
Or data structuring represents the nature of data, and the business logic to control the data.It is also orgranize the database
Data Modeling
Helps communicate between business people,. who requires the computer system, and the technical people who can fulfill their requirements
Data Modeling
Why do we need to create data models?
To aid in the development of a sound database design
Goal: to create database tables that do not contain duplicate data values that can become inconsistent
A class or real world objects having common attributes
Entity