DBMS Module 1
DBMS Module 1
ER diagram -BANK
2.ER diagram-COMPANY
3.ER diagram
1. Controlling Redundancy
In a regular file processing system, there are data redundancies, which lead
to the following problems:
a) Data needs to be entered multiple times, causing duplication of effort
b) Data may become inconsistent. In DBMS, each data item is stored in
such a way so that there is no inconsistency in data, and moreover, it
saves a lot of storage space
DBMS provides security and authorization so that some users are not
authorized to access all data in the database.
As DBMS facilitates the use of multiple views, this ensures that only
authorized people can access the view and not everyone. This helps in
restricting unauthorized access, as only the specific details are shown on a
view.
Let's understand that with an example:
A bank database management system would have various views like
Bank Manager View, the Customer View, etc. Now, the things such as
customer database (which would include personal customer details)
and transactions cannot be seen by other customers. They can only be
seen by the bank manager or the other bank person.
This is how by the means of views; a DBMS provides secure access to data.
A DBMS provides persistent storage for program objects which led to the
emergence of Object-Oriented database management system.
Hence, a complex object can be stored permanently in an O.O. DBMS.
Such an object is said to be persistent as it can then be directly retrieved by
another program.
Some database systems provide capabilities for defining deduction rules for
inferencing new information from stored database facts (Database rules are
deduced from facts)
There are different types of users with different technical knowledge. So, a
DBMS provides different user interfaces.
7.DEFINE
1. Weak Entity:
An entity that depends on another entity called a weak entity. The weak entity
is represented by a double rectangle.
2. DBMS catalog:
The database catalog of a database instance consists of metadata in which
definitions of database objects such as base tables, views (virtual tables),
synonyms, value ranges, indexes, users, and user groups are stored.
3. Snapshot:
The data in the database at a particular moment in time is called a database
state or snapshot.
It is also called the current set of occurrences or instances in the database.
4. Value set(domain):
A domain is a unique set of values that can be assigned to an attribute in a
database. For example, a domain of strings can accept only string values.
5. Cardinality ratio:
the mapping cardinality or cardinality ratio means to denote the number of
entities to which another entity can be linked through a certain relation set.
6. Degree of a relationship:
the degree of relationship is the number of entities that have taken part in
the relationship
7. Database:
A database is an organized collection of data, so that it can be easily accessed
and managed
8. Entity
Thing or object in a real world:
9. Attribute:
Attributes are the properties which describe an entity
10. Program-data independence:
Data independence is the ability to modify the scheme without affecting the
programs and the application to be rewritten.
11. Total Participation:
It specifies that each entity in the entity set must compulsorily participate in
at least one relationship instance in that relationship set. That is why, it is
also called as mandatory participation.
12. DBMS:
A database management system (DBMS) is system software for creating and
managing databases