Storing Organizational Information - Database
CHAPTER 7
The computer program used to manage and query database is known as a database management system (DBMS)
Relational Database Fundamentals
Information is stored in databases
Relational Database Fundamentals
Information is stored in databases
- Database – maintains information about various types of objects (inventory), events (transactions), people (employees), and places (warehouses)
Database models include:
- Hierarchical database model – information is organized into a tree-like structure (using parent/child relationships) in such a way that it cannot have too many relationships
- Network database model – a flexible way of representing objects and their relationships
- Relational database model – stores information in the form of logically related two dimensional tables
- Entity – a person, place, thing, transaction, or event about which information is stored.
- Attributes (fields, columns) – characteristics or properties of an entity class
KEYS AND RELATIONSHIP
Primary keys and foreign keys identify the various entity classes (tables) in the database
- Primary key – a field (or group of fields) that uniquely identifies a given entity in a tables
- Foreign key – a primary key of one table that appears an attribute in another table and acts to provide a logical relationship among the two tables
Relational Database Advantage
i) Increased Flexibility
i) Increased Flexibility
A good database can handle changes quickly and easily
Physical view - deals with the physical storage of information on a storage device such as hard disk
Logical View - information focuses on how users logically access information to meet their particular business needs
This separation of logical and physical views is what allows each user to access
database information differently
ii) Increased Scalability and Performance
A database must scale to meet increased demand, while maintaining acceptable performance levels
Scalability - refers to how well a system can adapt to increased demands
Performance - measures how quickly system performs a certain process or transaction
iii) Reduced Information Redundancy
Redundancy - the duplication of information or storing the same information in multiple places
Physical view - deals with the physical storage of information on a storage device such as hard disk
Logical View - information focuses on how users logically access information to meet their particular business needs
This separation of logical and physical views is what allows each user to access
database information differently
ii) Increased Scalability and Performance
A database must scale to meet increased demand, while maintaining acceptable performance levels
Scalability - refers to how well a system can adapt to increased demands
Performance - measures how quickly system performs a certain process or transaction
iii) Reduced Information Redundancy
Redundancy - the duplication of information or storing the same information in multiple places
Eliminating information redundancy saves space, makes performing information update easier, improves information quality.
iv) Increased Information Integrity ( Quality)
Information Integrity - is a measure of the quality of information.
Integrity Constraints - rules that help ensure the quality of information
> Relational Integrity Constraints
Rules that enforce basic and fundamental information- based constraints
iv) Increased Information Integrity ( Quality)
Information Integrity - is a measure of the quality of information.
Integrity Constraints - rules that help ensure the quality of information
> Relational Integrity Constraints
Rules that enforce basic and fundamental information- based constraints
> Business - Critical Integrity Constraints
Enforce business rules vital to an organization's success and often require more insight and knowledge than relational integrity constraints
v) Increased Information Security
Databases offer many security features including passwords, access levels and access controls.
Database Management Systems
DBMS - is software through which users and application programs interact with a database
DATA DRIVEN WEBSITES
No comments:
Post a Comment