Presented byPresented by Supervised bySupervised by
Spring 2016
MSc in CS: Project Defense
Study on Efficient database
design for banking system
S.M. Murad Hasan Tanvir
ID: CSE201603012
Fall-2016
Dr. Md. Humayun Kabir
Professor
Department of CSE
Jahangirnagar University
MSc in CS: Project Defense
• Database
• Database System
• Database Modeling
• E-R Modeling
• Database Keys
• Normalization
• Performance – Database Engine, Indexing and SP(Stored
Procedure)
• Concurrency
• Security
• Reliability
Outline
2
MSc in CS: Project Defense
The project is on the “study on efficient
database design for the banking system”. After
detail study on database , database system,
database modeling, E-R modeling, keys,
database normalization, database security and
reliability i have used a local MySQL-Apache
server to create a database for banking system.
The primary and foreign keys used for different
tables.
Introduction
3
MSc in CS: Project Defense
A database is a set of data that has a regular
structure and that is organized in such a way
that a computer can easily find the desired
information.
Database
4
MSc in CS: Project Defense
A database management system (DBMS) is
software that has been created to allow the
efficient use and management of databases,
including ensuring that data is consistent and
correct and facilitating its updating.
There are one drawback in DBMS, and it is the
relation among the tables. The features is in
RDBMS.
Database Management System
5
MSc in CS: Project Defense
A Relational database management system
(RDBMS) is a database management system
(DBMS) that is based on the relational model as
introduced by E. F. Codd.
A Relational Database Management System
(RDBMS) is a software applications that can be
used to create, maintain, manage and use the
database.
Relational database management
system
6
MSc in CS: Project Defense
A collection of concepts that can be used to
define the Database structure-
•Data item and Type
•Relationships
•Operations / behavior
•Constraints.
Database Modeling
7
MSc in CS: Project Defense
There are some kinds of Model-
•Entity - Relationship model
•Relational model
•Hierarchical model
•Object-data models
Among these models, I choose the E-R
Modeling.
Database Modeling (Cont.)
8
MSc in CS: Project Defense
The entity-relationship model is a way of
graphically representing the logical relationships
of entities in order to create a database.
In E-R modeling, the structure for a database is
portrayed as a diagram, called an entity-
relationship diagram, that resembles the
graphical breakdown of a sentence into its
grammatical parts.
E-R (Entity-Relationship) Modeling
9
MSc in CS: Project Defense 10
MSc in CS: Project Defense
Database Keys used to establish and identify
relation between tables. They also ensure that
each record within a table can be uniquely
identified by combination of one or more fields
within a table.
•Primary Key
•Foreign key
•Candidate Key
Database keys
11
MSc in CS: Project Defense
Database Normalization is a technique of
organizing the data in the database.
Normalization is used for mainly two purposes-
•Eliminating redundant (useless) data.
•Ensuring data dependencies make sense i.e.;
data is logically stored.
Normalization
12
MSc in CS: Project Defense
Normalization rule are divided into following
normal form-
•First Normal Form
•Second Normal Form
•Third Normal Form
Normalization (Cont.)
13
MSc in CS: Project Defense
The performance depends on some criteria-
•Database Engine
•Indexing
•Stored Procedure(SP)
Performance
14
MSc in CS: Project Defense
A storage engine is a software module that a
database management system uses to create,
read, update data from a database.
•InnoDB = Supports transactions, row-level
locking, and foreign keys
•MyISAM = Default engine as of MySQL 3.23
with great performance
Database Engine
15
MSc in CS: Project Defense
B-tree indexes are created to decrease the
amount of I/O required to find and load a set of
data. A highly selective index uses least amount
of I/O necessary, poorly selective indices are not
much better than a table scan.
Indexing
16
MSc in CS: Project Defense
Database Concurrency Definition. Concurrency
can be defined as the ability for multiple
processes to access or change shared data at
the same time.
The greater the number of concurrent user
processes that can execute without blocking
each other, the greater the concurrency of the
database system.
Concurrency
17
MSc in CS: Project Defense
Database security refers to the collective
measures used to protect and secure a database
or database management software from
illegitimate use and malicious threats and
attacks.
It is a broad term that includes a multitude of
processes, tools and methodologies that ensure
security within a database environment.
Database Security
18
MSc in CS: Project Defense
The database is usually a critical piece of
infrastructure in an organization; when the
database is down, many things stop working, so
database reliability is often a serious concern.
Database Reliability
19
MSc in CS: Project Defense
Any Question?
20

Efficient Database Design for Banking System

  • 1.
    Presented byPresented bySupervised bySupervised by Spring 2016 MSc in CS: Project Defense Study on Efficient database design for banking system S.M. Murad Hasan Tanvir ID: CSE201603012 Fall-2016 Dr. Md. Humayun Kabir Professor Department of CSE Jahangirnagar University
  • 2.
    MSc in CS:Project Defense • Database • Database System • Database Modeling • E-R Modeling • Database Keys • Normalization • Performance – Database Engine, Indexing and SP(Stored Procedure) • Concurrency • Security • Reliability Outline 2
  • 3.
    MSc in CS:Project Defense The project is on the “study on efficient database design for the banking system”. After detail study on database , database system, database modeling, E-R modeling, keys, database normalization, database security and reliability i have used a local MySQL-Apache server to create a database for banking system. The primary and foreign keys used for different tables. Introduction 3
  • 4.
    MSc in CS:Project Defense A database is a set of data that has a regular structure and that is organized in such a way that a computer can easily find the desired information. Database 4
  • 5.
    MSc in CS:Project Defense A database management system (DBMS) is software that has been created to allow the efficient use and management of databases, including ensuring that data is consistent and correct and facilitating its updating. There are one drawback in DBMS, and it is the relation among the tables. The features is in RDBMS. Database Management System 5
  • 6.
    MSc in CS:Project Defense A Relational database management system (RDBMS) is a database management system (DBMS) that is based on the relational model as introduced by E. F. Codd. A Relational Database Management System (RDBMS) is a software applications that can be used to create, maintain, manage and use the database. Relational database management system 6
  • 7.
    MSc in CS:Project Defense A collection of concepts that can be used to define the Database structure- •Data item and Type •Relationships •Operations / behavior •Constraints. Database Modeling 7
  • 8.
    MSc in CS:Project Defense There are some kinds of Model- •Entity - Relationship model •Relational model •Hierarchical model •Object-data models Among these models, I choose the E-R Modeling. Database Modeling (Cont.) 8
  • 9.
    MSc in CS:Project Defense The entity-relationship model is a way of graphically representing the logical relationships of entities in order to create a database. In E-R modeling, the structure for a database is portrayed as a diagram, called an entity- relationship diagram, that resembles the graphical breakdown of a sentence into its grammatical parts. E-R (Entity-Relationship) Modeling 9
  • 10.
    MSc in CS:Project Defense 10
  • 11.
    MSc in CS:Project Defense Database Keys used to establish and identify relation between tables. They also ensure that each record within a table can be uniquely identified by combination of one or more fields within a table. •Primary Key •Foreign key •Candidate Key Database keys 11
  • 12.
    MSc in CS:Project Defense Database Normalization is a technique of organizing the data in the database. Normalization is used for mainly two purposes- •Eliminating redundant (useless) data. •Ensuring data dependencies make sense i.e.; data is logically stored. Normalization 12
  • 13.
    MSc in CS:Project Defense Normalization rule are divided into following normal form- •First Normal Form •Second Normal Form •Third Normal Form Normalization (Cont.) 13
  • 14.
    MSc in CS:Project Defense The performance depends on some criteria- •Database Engine •Indexing •Stored Procedure(SP) Performance 14
  • 15.
    MSc in CS:Project Defense A storage engine is a software module that a database management system uses to create, read, update data from a database. •InnoDB = Supports transactions, row-level locking, and foreign keys •MyISAM = Default engine as of MySQL 3.23 with great performance Database Engine 15
  • 16.
    MSc in CS:Project Defense B-tree indexes are created to decrease the amount of I/O required to find and load a set of data. A highly selective index uses least amount of I/O necessary, poorly selective indices are not much better than a table scan. Indexing 16
  • 17.
    MSc in CS:Project Defense Database Concurrency Definition. Concurrency can be defined as the ability for multiple processes to access or change shared data at the same time. The greater the number of concurrent user processes that can execute without blocking each other, the greater the concurrency of the database system. Concurrency 17
  • 18.
    MSc in CS:Project Defense Database security refers to the collective measures used to protect and secure a database or database management software from illegitimate use and malicious threats and attacks. It is a broad term that includes a multitude of processes, tools and methodologies that ensure security within a database environment. Database Security 18
  • 19.
    MSc in CS:Project Defense The database is usually a critical piece of infrastructure in an organization; when the database is down, many things stop working, so database reliability is often a serious concern. Database Reliability 19
  • 20.
    MSc in CS:Project Defense Any Question? 20

Editor's Notes

  • #5 A database can generally be looked at as being a collection of records, each of which contains one or more fields (i.e., pieces of data) about some entity (i.e., object), such as a person, organization, city, product, work of art, recipe, chemical, or sequence of DNA.
  • #9 Logical and Physical Design- Logical: high-level; some users can understand the data physical: low-level; describes details about all data.