Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Â
Database introduction
1. Introduction
īŽ Database integral part of our day to day life
īŽ Collection of related database
īŽ Database Management System : software
managing and controlling access to the
database.
īŽ Database system : collection of application
interracting with database
2. Example of use of database systems
A database is accessed when :
īą Purshasing in a supermarket ( item price)
īą Purchase using credit cards ( valid cards)
īą Inquiries about a holliday (flight details)
īą Make a loan (library)
īą Rent video ( detail info on each video)
īą Online bookstore( book details)
4. Dtabase in the dev cycle
Project
Identifcation
and Selection
Project
Initiation
and Planning
Analysis
Logical
Design
Physical
Design
Implementation
Maintenance
5. Database
īą A repository of data simultaneously used by many
users (a shared ressource).
īą Collection of logically related data.
īą Description of this data (data dictionary)
īą BDMS
Software interracting with :
īą Users
īą Application programs
īą database
6. īą BDMS
Software interracting with :
īą Users
īą Application programs
īą Database
DBMS allows users (using a query language):
īą Insert
īą Update
īą Delete
īą Retrive data from DB
8. DBMS environment
īŽ
Hardware :Computer systems that DBMS and
application programs run on.
īŽ
Software: DBMS,application programs, operating
system, network software(if DBMS used over
network).
īŽ
Data ( operational data and meta-data)
īŽ
Procedures: instruction and rules that govern use of
database
īŽ
People: DB designer, administrators , programmers
and end users
10. DBMS architecture
2 layer architecture Client-Server
īŽ The client that runs the application and the server that
handles the database back-end
īŽ Multiple users able to access the DB simultanousely.
īŽ Server is processing data while the client for business
logic and presentation.
12. DBMS architecture
3 layer architecture
īŽ User Interface layer ( runs on the user´s client)
īŽ Business logic (middle layer) and data processing
layer. Runs on a server called âapplication serverâ.
īŽ DBMS ( store data ) , may run on a separate server
called âdatabase serverâ
13.
14. 3 layer architecture advantages
īŽ Thin client (less hardware) , client only handling
presentation logic.This means a little communication
needed between the client(browser) and the middle tier.
īŽ Separating the core business logic from the database
functions
īŽ Modularity : Easy to modify or replace one tier without
affecting the other tiers
īŽ Easier load balancing
īŽ Maps quite naturally to the web environment
īŽ Security : middle tier protecting the DB.
īŽ Scalabale : add as many middle tier as needed
15. Functions of a DBMS
īŽ Data storage , retrieval and update
īŽ A user-accessible Catalog
īŽ Hold data about the structure of database , users , applications and so on
īŽ Transaction support
īŽ Ensure that all the updates are made or that none of them are made
īŽ Concurrency control services
īŽ Enable many users to access shared data concurrently
īŽ Recovery services
īŽ When transaction fails, DB revovered to a consistent state
16. Functions of a DBMS
īŽ Autorization services
īŽ Only special part could have access to info
īŽ Support for data communication
īŽ Terminal at remote locations can communicate with host of DBMS through
network
īŽ Integrity Services
īŽ Stored data are consistent and correct
īŽ Services to promote Data Independence
īŽ Utility Services
īŽ Utility program help manage the DB effectively
17. Advantages of DBMS
īŽ Control of data redundancy (duplication)
īą Eliminate redundency where possible ,
īŽ Data consistency
īą Data stored in more than once , system can ensure that all copies
of the data are kept consistent
īŽ Sharing of data
īą By all authorized users
īŽ Improved data integrity
īą Rules that DB is not permitted to violate
īą User define data and DBMS enforce it
īŽ Improved maintenance through data independence
īŽ Make application immune to changes in data description