-It is a collection of information that is organized so that it can easily be accessed, managed, and updated.
-It is a logically organized collection of data helpful in easy search and retrieval of data
-A database isn’t necessarily contained on a computer. A telephone directory is still a huge book sitting next to your phone.
Database
examples of commonly used databases might be:
examples of the sort of information that can be kept in a database:
popular relational database management systems include:
Drawbacks of using file systems to store data:
Advantages of Database
-Improved availability
-Minimized redundancy:
-Accuracy
-Program and file consistency:
-User-friendly:
-Improved security:
One of the principle advantages of a DBMS is that the same information can be made available to different users.
Improved availability
-Minimized redundancy:
-Accurate, consistent, and up-to-date data is a sign of data integrity.
-DBMSs foster data integrity because updates and changes to data only have to be made in one place.
-The chances of making a mistake are higher if you are required to change the same data in several different places than if you only have to make the change in one place
-Accuracy
-Program and file consistency:
Data is easier to access and manipulate with a DBMS than without it. In most cases, DBMSs also reduce the reliance of individual users on computer specialists to meet their data needs.
-User-friendly:
-DBMSs allow multiple users to access the same data resources. This capability is generally viewed as a benefit, but there are potential risks for organization.
-Some sources of information should be protected or secured and only viewed by select individuals. Through the use of passwords, database manage-ment systems can be used to restrict data access to only those who should see it.
-Improved security:
Table
-It is a named unit of information
-A discrete piece of information that is part of a record. Each column in the Access table is a different field
Field
-It is a group of fields within a table that are relevant to a specific entity.
- A row in a table that contains information about a particular person, place, or thing.
Record
RELATIONAL DATABASE
The primary key
-It is the process of applying a series of rules to ensure that a database achieves optimal structure.
- It the process of organizing data to minimize duplication
-Its refers to the process of creating an efficient, reliable, flexible, and appropriate “relational” structure for storing information
Normalization
-All columns (fields) must be atomic which means no repeating items in columns
- To achieve this, all columns in a table must be atomic and no repeating values.
-This means, for example, that you cannot store first name and last name in the same field.
- The reason for this rule is that data becomes very difficult to manipulate and retrieve if you store multiple values in a single field
First Normal Form
Second Normal Form
Third Normal Form
Enumerate the database relationship
One-To-One Relationships
One-To-Many Relationships
-When you define a dimension, typically each fact joins to one and only one dimension member, whereas a single dimension member can be associated with many different facts.
-the user must develop this type of relationship by adding a table called a junction table. You relate the junction table to each of the two tables in one-to-many relationships.
Many -To- Many Relationships