The document discusses relational database management systems (RDBMS). It describes some key disadvantages of file processing systems like data redundancy and inconsistency. An RDBMS uses a database, DBMS, and application programs to allow for data storage in tables/relations with rows and columns. The document outlines important aspects of RDBMS like data models, database languages, database administrators, keys, relationships, and normalization.
Introduction - Flat File System, DBMS, When RDBMS Came
Codd design who is started using- tech behind design
Future of RDBMS technology, conclusion
Physical architecture of SQL Server
Features of SQL Server
Introduction - Flat File System, DBMS, When RDBMS Came
Codd design who is started using- tech behind design
Future of RDBMS technology, conclusion
Physical architecture of SQL Server
Features of SQL Server
ESOFT Metro Campus - Diploma in Software Engineering - (Module IV) Database Concepts
(Template - Virtusa Corporate)
Contents:
Introduction to Databases
Data
Information
Database
Database System
Database Applications
Evolution of Databases
Traditional Files Based Systems
Limitations in Traditional Files
The Database Approach
Advantages of Database Approach
Disadvantages of Database Approach
Database Management Systems
DBMS Functions
Database Architecture
ANSI-SPARC 3 Level Architecture
The Relational Data Model
What is a Relation?
Primary Key
Cardinality and Degree
Relationships
Foreign Key
Data Integrity
Data Dictionary
Database Design
Requirements Collection and analysis
Conceptual Design
Logical Design
Physical Design
Entity Relationship Model
A mini-world example
Entities
Relationships
ERD Notations
Cardinality
Optional Participation
Entities and Relationships
Attributes
Entity Relationship Diagram
Entities
ERD Showing Weak Entities
Super Type / Sub Type Relationships
Mapping ERD to Relational
Map Regular Entities
Map Weak Entities
Map Binary Relationships
Map Associated Entities
Map Unary Relationships
Map Ternary Relationships
Map Supertype/Subtype Relationships
Normalization
Advantages of Normalization
Disadvantages of Normalization
Normal Forms
Functional Dependency
Purchase Order Relation in 0NF
Purchase Order Relation in 1NF
Purchase Order Relations in 2NF
Purchase Order Relations in 3NF
Normalized Relations
BCNF – Boyce Codd Normal Form
Structured Query Language
What We Can Do with SQL ?
SQL Commands
SQL CREATE DATABASE
SQL CREATE TABLE
SQL DROP
SQL Constraints
SQL NOT NULL
SQL PRIMARY KEY
SQL CHECK
SQL FOREIGN KEY
SQL ALTER TABLE
SQL INSERT INTO
SQL INSERT INTO SELECT
SQL SELECT
SQL SELECT DISTINCT
SQL WHERE
SQL AND & OR
SQL ORDER BY
SQL UPDATE
SQL DELETE
SQL LIKE
SQL IN
SQL BETWEEN
SQL INNER JOIN
SQL LEFT JOIN
SQL RIGHT JOIN
SQL UNION
SQL AS
SQL Aggregate Functions
SQL Scalar functions
SQL GROUP BY
SQL HAVING
Database Administration
SQL Database Administration
A relational database management system (RDBMS) is a database management system (DBMS) based on the relational model invented by Edgar F. Codd at IBM's San Jose Research Laboratory. Most databases in widespread use today are based on his relational database model.[1]
Purpose of the data base system, data abstraction, data model, data independence, data definition
language, data manipulation language, data base manager, data base administrator, data base users,
overall structure.
ER Models, entities, mapping constrains, keys, E-R diagram, reduction E-R diagrams to tables,
generatio, aggregation, design of an E-R data base scheme.
Oracle RDBMS, architecture, kernel, system global area (SGA), data base writer, log writer, process
monitor, archiver, database files, control files, redo log files, oracle utilities.
SQL: commands and data types, data definition language commands, data manipulation commands,
data query language commands, transaction language control commands, data control language
commands.
Joins, equi-joins, non-equi-joins, self joins, other joins, aggregate functions, math functions, string
functions, group by clause, data function and concepts of null values, sub-querries, views.
PL/SQL, basics of pl/sql, data types, control structures, database access with PL/SQL, data base
connections, transaction management, data base locking, cursor management.
DBMS - Database Management System, Introduction, Data and Database, DBMS meaning, Why DBMS?, History of DBMS, Characteristics of DBMS, Types of DBMS- Hierarchical DBMS, Network DBMS, Relational DBMS, Object-oriented DBMS, Applications of DBMS, Popular DBMS Software, Advantages of DBMS, disadvantages of DBMS.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Ethnobotany and Ethnopharmacology:
Ethnobotany in herbal drug evaluation,
Impact of Ethnobotany in traditional medicine,
New development in herbals,
Bio-prospecting tools for drug discovery,
Role of Ethnopharmacology in drug evaluation,
Reverse Pharmacology.
3. File Processing System
Database
(Information in
Files Format)
Application
Programs
(Programs
Written in C
Pascal etc.)
File System
(Data
Structure
File Handling)
4. Disadvantages of FPS
Data Redundancy and Inconsistency
Difficulty in accessing data
Data isolation
Integrity Problems
Atomicity Problems
Concurrent-access anomalies
Security Problems
5. Data Redundancy and Inconsistency
Name Address
ABC Bhiwani
DEF Delhi
AccNo Name Address
1002 ABC Bhiwani
1005 DEF Jaipur
Customer Information Saving Account
6. Difficulty in accessing data
Application
Programs
(Programs
Written in C
Pascal etc.)
File System
(Data Structure
File Handling)
Database
(Information Storage
in Files Format)
Manager
Requirement
7. Requirements of a DBMS
• A mechanism for specification of data and its dependencies
(Integrity Constraints) in an integrated fashion.
• Prevention of redundancy and inconsistency.
• Provision of adequate security and access-rights.
• Mechanism for concurrency control.
• Mechanism for recovery from failure. Additionally any DBMS must provide
• Schemes for specification of procession rules or application Programs.
• Efficient techniques for storage and retrieval of data from the secondary
8. D
B
M
S
File
Manager Secondary
Storage
A DBMS has two major components, namely
Structure of Database is called Database Schema.
Instance, which is a state of the database with the actual data loaded.
A set of software tools/programs which access, update and
process the database, called the query and update-mechanism.
9. Data Independence
The ability to modify a schema definition in one level without affecting a
schema definition in the next higher level is called data independence.
Physical data independence Logical data independence
Create table emp
(empno number(10),------,--
------);
10. Data Models
A Data Model is a mechanism for describing the data, their interrelationships
and the constraints.
Object-based Conceptual models.
Entity-Relationship model
Record-based models.
Relational Model
Network Model
Hierarchical Model
Physical data models.
11. The E-R Model
Entities : An entity is a distinct clearly identifiable object of the database e.g Book Attribute :
Each Entity is characterized by a set of attributes e.g. Acc.No. Entity Set : Set of all entities
having attributes of the same type. Relationships : A relationship is a mapping between entity
sets.
Acc_No Title
Acc_No Card_No Name
Book Borrowed_By USERS
____
12. Hierarchical Model
This is special kind of a network model where the relationship is
essentially a tree-like structure.
Hospital
Wards Units
Patient Doctors Nurses Cardiology Skin
13. Physical Data Models
Physical data models are used to describe data at the lowest level. In contrast to logical
data models, there are few physical data models In use. Two of the widely known
ones are the Unifying model and frame-Memory model.
Database Languages
Database Languages
Data-Definition Data-Manipulation Data-Control
Create Table Test
(
Title
Varchar2(20),
-------- ,-------);
Update
Insert
Delete
Query
GRANT Connect,
Resource TO x
User
14.
15. Database Administrator
Roles of DBA
• Schema Definition
• Storage structure and access-method definition
• Schema and Physical-organization modification
• Granting of authorization for data access
• Integrity-constraint specification
Terms
• Simple and Composite Attributes
• Single-valued and Multivalued Attributes
• Null Attributes
• Derived Attributes
• Existence Dependencies
•Weak Entity Set and Strong Entity Set
19. Mapping Cardinalities
Mapping cardinalities, or cardinality ratios, express the number of entities to which
another entity can be associated via a relationship set. For a binary relationship set R
between entity sets A and B, the mapping Cardinality must be one of the following
A B A B
One to One One to Many
21. More on E-R Diagrams
Company
Owns Multiple Relationships between Leased
Same entity set
Vehicle
Manager
Staff Reports to
Subordinate
Circular Relationship
28. The Relational Algebra
The relational algebra is a procedural query language.
Fundamental Operations
select (unary)
project (unary)
rename (unary)
Fundamental Operations
cartesian product (binary)
union (binary)
set-difference (binary)
Several other operations, dened in terms of the fundamental operations:
set-intersection
natural join
division
assignment
Operations produce a new relation as a result.
34. Relational Calculus
Relational Calculus is a nonprocedural Query language
Tuple Relational Calculus
Uses Tuple variables which take values of an entire tuple
Domain Relational Calculus
Uses Domain variables which takes values from an attribute
36. Normalization
Normalization is a process of removing redundancy using functional Dependencies.
To reduce redundancy it is necessary to decompose a relation into a number of smaller relations.
There are several normal Forms.
-First Normal Form (1 NF)
-Second Normal Form (2 NF)
-Third Normal Form(3 NF)
-Boyce-Codd Normal Form (BCNF)
37. First Normal Form (1NF)
This normal form says that all attributes are simple.
An attribute is said to be simple if it does not contain any subparts.
An attributes which contains subparts is called complex attributes.
F_name L_name
C_addr
City State Zip
Name
38. Second Normal Form (2NF)
A relation is said to be in 2NF if it is in 1NF and
All non-prime attributes are fully functionally dependent on candidate key
Consider a relation savings_deposit having the fol owing structure:-
Saving_deposit (name, addr, acc_no, amt )
With the fol owing FDs :
name Add
name, acc_no addr
Here [name, acc_no ] is the candidate key and addr and amt are the non
prime attributes.
Among the non-prime attributes amt depends on [name, acc_no ] whereas
addr depends
on name only.
Note that due to FD name
Address causing redundancy.
addr every tuple with the same name will contain the same
This redundancy arises because a non-prime attribute like address is
dependent on an attribute
39. Third Normal Form (3NF)
A relation is said to be in 3NF and non-prime attributes are not dependent
On each other.
Consider the relation –
s_by ( s_name, item, price, gift_item )
With FDs
s_name, item price
Price gift_item
Here al prime attributes are ful y functional dependent on candidate
keys, the
Non-prime attribute gift-item is also ful y functional dependent on the
non-prime
Attribute price. This create redundancy because every price value
there is a fixed
Gift item.
We shal have to impose the additional restriction that no non-prime
attribute can
Be functional y dependent on another non-prime attributes.