Professional Documents
Culture Documents
Normalization
Presented by Group 2
Reporters
A relational database is a type of database that stores and allows access to data. These
types of databases are referred to as "relational" because the data items within them
have pre-determined relationships with one another. Data in a relational database is
stored in tables. The tables are connected by unique IDs or "keys." When a user needs to
access specific information, they can use a key to access all the tables of data that have
been pre-determined to be related to that key.
RELATION
ATTRIBUTE
DOMAIN
TUPLE.
CONSTRAINTS IN RELATIONAL
MODEL
Domain Constraints: These are attribute-level constraints. An attribute can only take values that lie inside the
domain range. e.g; If a constraint AGE>0 is applied to STUDENT relation, inserting a negative value of AGE
will result in failure.
Key Integrity: Every relation in the database should have at least one set of attributes that defines a tuple
uniquely. Those set of attributes is called keys. e.g.; ROLL_NO in STUDENT is a key. No two students can
have the same roll number.
Referential Integrity: When one attribute of a relation can only take values from another attribute of the same
relation or any other relation, it is called referential integrity. Let us suppose we have 2 relations
CHARACTERISTICS OF
R E L AT I O N A L M O D E L :
• Data is represented into rows and columns called as relation. Data is stored in tables
having relationship between them called Relational model.
• Relational model supports the operations like Data definition, Data manipulation,
Transaction management.
• Each column have distinct name and they are representing attribute.
• Each row represents the single entity.
ADVANTAGE AND DISSADVANTAGE OF
RELATIONAL DATABASE MODEL
Advantages:
• Simple model
• It is Flexible
• It is Secure
• Data accuracy
• Data integrity
• Operations can be applied easily.
Disadvantage:
• Not good for large database
• Relation between tables become difficult some
time.
CONVERTING AN
ER MODEL INTO
A DATABASE
STRUCTURE
INTRODUCTION
Converting an ER model into a database structure involves translating the
conceptual design of an ER model into a physical database structure that can be
implemented in a DBMS. The process includes steps such as Identifying Entities
and their Attributes, Defining Relationships and Cardinality, Applying
Normalization techniques, Establishing Keys, Determining data types, Creating
tables, Defining constraints, Indexing, and Optimizing the Design. The goal is to
create a database structure that accurately represents the entities, relationships,
and attributes of the real-world system,
THE PROCESS OF CONVERTING
AN ER
MODEL INTO A DATABASE
STRUCTURE
DEFINING
DEFINING
RELATIONSHI
KEYS
PS
CREATING INDEXIN
TABLES G
HANDLE SPECIAL
DATA TYPES REVIEW AND VALIDATE
Some attributes may require specific data Review the assigned data types for attributes and
types that cater to particular data formats, validate them against the actual data values that
such as email addresses, phone numbers, or will be stored. Ensure that the chosen data types
geographical coordinates. In such cases, accurately represent the nature of the data and
select or define appropriate data types that adhere to the database management system's
align with the specific requirements. capabilities and limitations.
CREATING TABLES
Create database tables based on the identified entities,
relationships, attributes, and their corresponding data types.
Each table represents an entity or a relationship between
entities.
DEFINING CONSTRAINTS