尊敬的 微信汇率:1円 ≈ 0.046078 元 支付宝汇率:1円 ≈ 0.046168元 [退出登录]
SlideShare a Scribd company logo
Database Introduction
What is DBMS
• Database
– Is a collection of related Data.
– By data, we mean known facts that can be recorded and
that have implicit meaning. For example, consider the
names, telephone numbers, and addresses of the people
you know.
• Database Management System (DBMS)
– Collection of programs that enables users to create and
maintain a database.
– DBMS contains information about a particular enterprise
– Set of programs to access the data
– An environment that is both convenient and efficient to
use.
Database System Applications
– Banking: all transactions
– Airlines and Hotel: reservations, schedules
– Universities: registration, grades
– Sales: customers, products, purchases.
– Online retailers: order tracking, customized
recommendations
– Manufacturing: production, inventory, orders, supply chain
– Human resources: employee records, salaries, tax
deductions
• IBM DB2
• Microsoft SQL Server
• Oracle
• MySQL
• MariaDB
• PostgreSQL
• SQLite
• Microsoft Access
• SAP HANA
• Dbase
• FoxPro
• LibreOffice Base
• FireMaker Pro
• InterSystems Cache
The Evolution of a Database
Sql server 1.0 1987 (with sybase)
sql server 4.2 for window NT 1992 (with sybase)
sql server 6.0 june 1995 Exclusively
sql server 6.5 april 1996
sql server 7.0 december 1998 Sphnix
sql server 2000 august 2000 shiloh
sql server 2005 Yukon (oracle killer)
sql server 2008 august 2008
sql server 2012 2012 denali
• Informix 11.7 May 26, 2012 "Panther"
• Oracle 12c Standard edition , Enterprise
Edition
• Oracle 11g Release 2
• Oracle 11g Express Edition
• what is DBA
– The function of managing and maintaining
database management systems (DBMS)
• Responsibility of DBA ?
– Installation , Configuring, and upgrading
– Maintain Backup & recovery
– Grant and Revoke Access Permissions.
– Maintenance & performance monitoring.
Database System
Drawbacks of File Management
System / Purpose of Database Systems
– Data redundancy and inconsistency
• Multiple file formats, duplication of information in
different files
– Difficulty in accessing data
• Need to write a new program to carry out each new task
– Data isolation — multiple files and formats
– Integrity problems
• Integrity constraints (e.g. account balance > 0)
• Hard to add new constraints or change existing ones
– Atomicity of updates
• Failures may leave database in an inconsistent state with
partial updates carried out
• Example: Transfer of funds from one account to another
should either complete or not happen at all
– Concurrent access by multiple users
• Concurrent accessed needed for performance
• Uncontrolled concurrent accesses can lead to
inconsistencies
– Example: Two people reading a balance and
updating it at the same time
– Security problems
• Hard to provide user access to some, but not all, data
Advantages of DBMS
• Controlling Redundancy
• Restricting Unauthorized Access
• Centralized Control
• Backup and Recovery
• Enforcing Integrity Constraints
• Providing Multiple User Interface
• Shared Data
• Representing Complex Relationship among Data
Disadvantages of DBMS
• Number of problems are associated with
centralized data.
• Cost of hardware and software
• Complexity of Backup and Recovery
mechanism.
DBMS Architecture
• Two Level Architecture
– Client / Server Architecture.
– A standard called Open Database Connectivity
(ODBC) provides an application programming
interface (API), which allows client-side programs to
call the DBMS, as long as both client and server
machines have the necessary software installed.
• Three level Architecture
– The goal is to separate user applications and physical
database
– A major purpose of database system is to provide users
with an abstract view of the data
• In a basic client/server DBMS architecture,
two types of modules.
– A client module
• user workstation or personal computer. user interface
and application programs.
– A server module
• Data storage, access, search, and other functions. query
server or transaction server
Three-Tier and n-Tier Architectures
for Web Applications
This intermediate layer or middle tier is called the
application server or the Web server,
Three level Schema Architecture
Data Abstraction
• Hiding details of data organization and
storage.
• different users can perceive data at their
preferred level of detail.
Mapping
• Process of transforming the request and result
between different level is called as mapping.
– External / conceptual mapping :
– Conceptual / Internal mapping
Data Independence
• We can define two types of data independence
– Logical data independence is the capacity to change
the conceptual schema without having to change
external schemas or application programs
– Physical data independence is the capacity to
change the internal schema without having to
change the conceptual schema.
Database State or Snapshot
• Actual data in the database may change
frequently
• The data in the database at a particular moment
in time is called a database state or snapshot
• Also called the current set of occurrences or
instances in the database
Database Schema vs. Database State
• The distinction is very important
• When we define a database, we specify its database schema
only to the DBMS
– Database state is the empty state (w/ no data)
– Initial state: when the database is first populated or loaded
with initial data
– Current State: State at any point in time. Every time an
update operation is applied to the database, database state
changes
• Valid State: A state that satisfies the structure
and the constraints specified in the schema
The DBMS is partly responsible for ensuring that
every state of the database is a valid state
• The schema is sometimes called the intension,
and a database state is called an extension of
the schema
Data Models, Schemas, and Instances
• Data model—a collection of concepts that can be
used to describe the structure of a database.
• By structure of a database we mean the data
types, relationships, and constraints that apply to
the data.
– High-level or conceptual data models : users perceive
data. Use concept such as entities, attributes, and
relationships.
– low-level or physical data models: details of how data
is stored.
• An entity represents a real-world object or concept.
– such as an employee or a project
• An attribute represents some property of interest
– employee’s name or salary.
• A relationship among two or more entities represents
an association among the entities.
– works-on relationship between an employee and a project.
• Scheme : The description and overall design of a
database is called the database schema.
• Instance : The collection of information stored in the
database at a particular moment is called an instance.
DBMS Component Modules
DBMS Component Modules
• The top part of the figure refers to the various users of the
database environment and their interfaces.
• The lower part shows the internals of the DBMS
responsible for storage of data and processing of
transactions.
• Access to the disk is controlled primarily by the operating
system (OS), which schedules disk read/write.
• Reducing disk read/write improves performance
considerably.
• Many DBMSs have their own buffer management module
to schedule disk read/write,
• A higher-level stored data manager module of the DBMS
controls access to DBMS information.
Different Users
• DBA staff: who define, monitor and Control the
whole Database access and performance.
• Casual users / Sophisticated User: who work with
interactive interfaces to formulate queries.
• Application programmers : who create programs
using some host programming languages.
• Parametric users/ Naive user/ Web user : who do
data entry work by supplying parameters to
predefined transactions.
• Storage Data Manager : minimize the movement
of data between the disk and main memory.
– Buffer manager : Fetch data from disk storage into
main memory. And decide what data to cache in main
memory.
– File manager: Manage the allocation of space on disk
storage and data structure used to represent info.
– Authorization and integrity Manager: test for
satisfaction of integrity constraints, and authority of
user to access the data.
– Transaction Manager: ensure that the database
remain in consistent state.
• The DDL compiler processes schema definitions and stores descriptions
of the schemas (meta-data) in the DBMS catalog.
• The catalog includes information such as the names and sizes of files,
names and data types of data items, storage details of each file,
mapping information among schemas, and constraints.
• query optimizer is concerned with the rearrangement and possible
reordering of operations, elimination of redundancies, and use of
correct algorithms and indexes during execution.
• Application programmers write programs in host languages such as Java,
C, or C++.
• The Precompiler extracts DML commands from an application program
written in a host programming language.
• These commands are sent to the DML compiler for compilation into
object code for database access.
• The rest of the program is sent to the host language compiler.
• The object codes for the DML commands and the rest of the program
are linked, forming a canned transaction
• Canned transactions are executed repeatedly by parametric users, who
simply supply the parameters to the transactions. Each execution is
considered to be a separate transaction. An example is a bank
withdrawal transaction where the account number and the amount may
be supplied as parameters.
• Runtime database processor executes
– (1) the privileged commands, (2) the executable
query plans, and (3) the canned transactions with
runtime parameters. It works with the system
catalog and also works with the stored data
manager.
– The runtime database processor handles other
aspects of data transfer, such as management of
buffers in the main memory.
Database Languages
• To perform operations on schema and data.
• DDL : data definition language. Deal with
structure of the database.
• DML : data manipulation language.
• DCL : data control language. Control access to
database.
Categories of data models
• Relational Model
• ER Model
• Object based model
• Semi structured data model
Representational or implementation
data models
• Entity-Relationship Model
• Relational data model
• Network data model.
• Hierarchical data models.
• Object-Oriented data model.
Logical structure (schema) of a
database can be expressed graphically
by an E-R diagram
• Rectangles- which represent entity sets
• Ellipses- which represent attributes
• Diamonds- which represent relationships
among entity sets
• Lines- which link attributes to entity sets and
entity sets to relationships.
Beginning Of DBMS (data base)

More Related Content

What's hot

Database systems
Database systemsDatabase systems
Database systems
Dhani Ahmad
 
Historical Evolution of RDBMS
Historical Evolution of RDBMSHistorical Evolution of RDBMS
Historical Evolution of RDBMS
Shailesh Pachori
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
Prerana Bhattarai
 
Database fundamentals(database)
Database fundamentals(database)Database fundamentals(database)
Database fundamentals(database)
welcometofacebook
 
Mca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbmsMca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbms
Rai University
 
DBMS Bascis
DBMS BascisDBMS Bascis
Assignment on dbms
Assignment on dbmsAssignment on dbms
Assignment on dbms
Mohd Arif
 
The database applications
The database applicationsThe database applications
The database applications
Dolat Ram
 
Chapter 01 Fundamental of Database Management System (DBMS)
Chapter 01  Fundamental of Database Management System (DBMS)Chapter 01  Fundamental of Database Management System (DBMS)
Chapter 01 Fundamental of Database Management System (DBMS)
Abdurehman Mahmud
 
Intro to DBMS
Intro to DBMSIntro to DBMS
Intro to DBMS
sheikhfaizanali
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
ahfiki
 
database
databasedatabase
Database management systems
Database management systemsDatabase management systems
Database management systems
Joel Briza
 
DBMS an Example
DBMS an ExampleDBMS an Example
DBMS an Example
Dr. C.V. Suresh Babu
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
WanBK Leo
 
Database
DatabaseDatabase
Database
Dhani Ahmad
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
M Harris Hashmi
 
Introduction & history of dbms
Introduction & history of dbmsIntroduction & history of dbms
Introduction & history of dbms
sethu pm
 
Disadvantages of file management system (file processing systems)
Disadvantages of file management system(file processing systems)Disadvantages of file management system(file processing systems)
Disadvantages of file management system (file processing systems)
raj upadhyay
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
ITNet
 

What's hot (20)

Database systems
Database systemsDatabase systems
Database systems
 
Historical Evolution of RDBMS
Historical Evolution of RDBMSHistorical Evolution of RDBMS
Historical Evolution of RDBMS
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Database fundamentals(database)
Database fundamentals(database)Database fundamentals(database)
Database fundamentals(database)
 
Mca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbmsMca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbms
 
DBMS Bascis
DBMS BascisDBMS Bascis
DBMS Bascis
 
Assignment on dbms
Assignment on dbmsAssignment on dbms
Assignment on dbms
 
The database applications
The database applicationsThe database applications
The database applications
 
Chapter 01 Fundamental of Database Management System (DBMS)
Chapter 01  Fundamental of Database Management System (DBMS)Chapter 01  Fundamental of Database Management System (DBMS)
Chapter 01 Fundamental of Database Management System (DBMS)
 
Intro to DBMS
Intro to DBMSIntro to DBMS
Intro to DBMS
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
 
database
databasedatabase
database
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
DBMS an Example
DBMS an ExampleDBMS an Example
DBMS an Example
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
 
Database
DatabaseDatabase
Database
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Introduction & history of dbms
Introduction & history of dbmsIntroduction & history of dbms
Introduction & history of dbms
 
Disadvantages of file management system (file processing systems)
Disadvantages of file management system(file processing systems)Disadvantages of file management system(file processing systems)
Disadvantages of file management system (file processing systems)
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
 

Similar to Beginning Of DBMS (data base)

Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
Raj vardhan
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
gowrivageesan87
 
CST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxCST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptx
MEGHANA508383
 
Dbms unit 1
Dbms unit 1Dbms unit 1
Dbms unit 1
SaiGupta18
 
unit 1.pdf
unit 1.pdfunit 1.pdf
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
Merlin Florrence
 
Database management system lecture notes
Database management system lecture notesDatabase management system lecture notes
Database management system lecture notes
UTSAHSINGH2
 
PHP/MySQL First Session Material
PHP/MySQL First Session MaterialPHP/MySQL First Session Material
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
Mukund Trivedi
 
(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)
Dr. Mazin Mohamed alkathiri
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
MUHAMMED MASHAHIL PUKKUNNUMMAL
 
Lecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.pptLecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.ppt
DeeptimaanKrishnaJad
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptx
dhanajimirajkar1
 
Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
M.Zalmai Rahmani
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
NILESH UCHCHASARE
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
 
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
AshmitKashyap1
 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdf
TOUSEEQHAIDER14
 
CST204 DBMS Module-1
CST204 DBMS Module-1CST204 DBMS Module-1
CST204 DBMS Module-1
Jyothis Menon
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
SherinRappai
 

Similar to Beginning Of DBMS (data base) (20)

Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
 
CST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxCST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptx
 
Dbms unit 1
Dbms unit 1Dbms unit 1
Dbms unit 1
 
unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
 
Database management system lecture notes
Database management system lecture notesDatabase management system lecture notes
Database management system lecture notes
 
PHP/MySQL First Session Material
PHP/MySQL First Session MaterialPHP/MySQL First Session Material
PHP/MySQL First Session Material
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
 
(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Lecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.pptLecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.ppt
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptx
 
Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
 
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdf
 
CST204 DBMS Module-1
CST204 DBMS Module-1CST204 DBMS Module-1
CST204 DBMS Module-1
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
 

More from Surya Swaroop

Pie chart - qualitative aptitude
Pie chart - qualitative aptitude Pie chart - qualitative aptitude
Pie chart - qualitative aptitude
Surya Swaroop
 
Simplification and data interpretation table
Simplification and data interpretation tableSimplification and data interpretation table
Simplification and data interpretation table
Surya Swaroop
 
Quantitative aptitude table data interpretation
Quantitative aptitude  table data interpretationQuantitative aptitude  table data interpretation
Quantitative aptitude table data interpretation
Surya Swaroop
 
Environmental engineering text book
Environmental engineering text bookEnvironmental engineering text book
Environmental engineering text book
Surya Swaroop
 
Development of surfaces
Development of surfacesDevelopment of surfaces
Development of surfaces
Surya Swaroop
 
Elasticity
ElasticityElasticity
Elasticity
Surya Swaroop
 
Design and Drawing of Steel Structures
Design and Drawing of Steel StructuresDesign and Drawing of Steel Structures
Design and Drawing of Steel Structures
Surya Swaroop
 
Design & Drawing of Steel Structures
 Design & Drawing of Steel Structures Design & Drawing of Steel Structures
Design & Drawing of Steel Structures
Surya Swaroop
 
design drawing of steel structures
design drawing of steel structuresdesign drawing of steel structures
design drawing of steel structures
Surya Swaroop
 
design-and-drawing Steel structures
design-and-drawing Steel structuresdesign-and-drawing Steel structures
design-and-drawing Steel structures
Surya Swaroop
 
design drawing steel structures
design drawing steel structuresdesign drawing steel structures
design drawing steel structures
Surya Swaroop
 
Integration material
Integration material Integration material
Integration material
Surya Swaroop
 
Probability
ProbabilityProbability
Probability
Surya Swaroop
 
Other transform dip
Other transform dipOther transform dip
Other transform dip
Surya Swaroop
 
deadlock and locking - dbms
deadlock and locking -  dbmsdeadlock and locking -  dbms
deadlock and locking - dbms
Surya Swaroop
 
transaction management, concept & State
transaction management, concept & Statetransaction management, concept & State
transaction management, concept & State
Surya Swaroop
 
relational algebra Tuple Relational Calculus - database management system
relational algebra Tuple Relational Calculus - database management systemrelational algebra Tuple Relational Calculus - database management system
relational algebra Tuple Relational Calculus - database management system
Surya Swaroop
 
relational database
relational databaserelational database
relational database
Surya Swaroop
 
er question dbms
er question dbmser question dbms
er question dbms
Surya Swaroop
 
dbms er model
dbms er modeldbms er model
dbms er model
Surya Swaroop
 

More from Surya Swaroop (20)

Pie chart - qualitative aptitude
Pie chart - qualitative aptitude Pie chart - qualitative aptitude
Pie chart - qualitative aptitude
 
Simplification and data interpretation table
Simplification and data interpretation tableSimplification and data interpretation table
Simplification and data interpretation table
 
Quantitative aptitude table data interpretation
Quantitative aptitude  table data interpretationQuantitative aptitude  table data interpretation
Quantitative aptitude table data interpretation
 
Environmental engineering text book
Environmental engineering text bookEnvironmental engineering text book
Environmental engineering text book
 
Development of surfaces
Development of surfacesDevelopment of surfaces
Development of surfaces
 
Elasticity
ElasticityElasticity
Elasticity
 
Design and Drawing of Steel Structures
Design and Drawing of Steel StructuresDesign and Drawing of Steel Structures
Design and Drawing of Steel Structures
 
Design & Drawing of Steel Structures
 Design & Drawing of Steel Structures Design & Drawing of Steel Structures
Design & Drawing of Steel Structures
 
design drawing of steel structures
design drawing of steel structuresdesign drawing of steel structures
design drawing of steel structures
 
design-and-drawing Steel structures
design-and-drawing Steel structuresdesign-and-drawing Steel structures
design-and-drawing Steel structures
 
design drawing steel structures
design drawing steel structuresdesign drawing steel structures
design drawing steel structures
 
Integration material
Integration material Integration material
Integration material
 
Probability
ProbabilityProbability
Probability
 
Other transform dip
Other transform dipOther transform dip
Other transform dip
 
deadlock and locking - dbms
deadlock and locking -  dbmsdeadlock and locking -  dbms
deadlock and locking - dbms
 
transaction management, concept & State
transaction management, concept & Statetransaction management, concept & State
transaction management, concept & State
 
relational algebra Tuple Relational Calculus - database management system
relational algebra Tuple Relational Calculus - database management systemrelational algebra Tuple Relational Calculus - database management system
relational algebra Tuple Relational Calculus - database management system
 
relational database
relational databaserelational database
relational database
 
er question dbms
er question dbmser question dbms
er question dbms
 
dbms er model
dbms er modeldbms er model
dbms er model
 

Recently uploaded

How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...
Infosec
 
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 9 - GLOBAL SUCCESS - FORM MỚI 2025 - C...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 9 - GLOBAL SUCCESS - FORM MỚI 2025 - C...BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 9 - GLOBAL SUCCESS - FORM MỚI 2025 - C...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 9 - GLOBAL SUCCESS - FORM MỚI 2025 - C...
Nguyen Thanh Tu Collection
 
pol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdfpol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdf
BiplabHalder13
 
India Quiz (Prelims and Finals) by Quiz Club, IIT Kanpur
India Quiz (Prelims and Finals) by Quiz Club, IIT KanpurIndia Quiz (Prelims and Finals) by Quiz Club, IIT Kanpur
India Quiz (Prelims and Finals) by Quiz Club, IIT Kanpur
Quiz Club IIT Kanpur
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
Derek Wenmoth
 
IoT (Internet of Things) introduction Notes.pdf
IoT (Internet of Things) introduction Notes.pdfIoT (Internet of Things) introduction Notes.pdf
IoT (Internet of Things) introduction Notes.pdf
roshanranjit222
 
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT KanpurDiversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Quiz Club IIT Kanpur
 
Environmental science 1.What is environmental science and components of envir...
Environmental science 1.What is environmental science and components of envir...Environmental science 1.What is environmental science and components of envir...
Environmental science 1.What is environmental science and components of envir...
Deepika
 
Opportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive themOpportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive them
EducationNC
 
Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024
Friends of African Village Libraries
 
220711130095 Tanu Pandey message currency, communication speed & control EPC ...
220711130095 Tanu Pandey message currency, communication speed & control EPC ...220711130095 Tanu Pandey message currency, communication speed & control EPC ...
220711130095 Tanu Pandey message currency, communication speed & control EPC ...
Kalna College
 
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
yarusun
 
bryophytes.pptx bsc botany honours second semester
bryophytes.pptx bsc botany honours  second semesterbryophytes.pptx bsc botany honours  second semester
bryophytes.pptx bsc botany honours second semester
Sarojini38
 
Post init hook in the odoo 17 ERP Module
Post init hook in the  odoo 17 ERP ModulePost init hook in the  odoo 17 ERP Module
Post init hook in the odoo 17 ERP Module
Celine George
 
What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17
Celine George
 
Angle-or,,,,,-Pull-of-Muscleexercise therapy.pptx
Angle-or,,,,,-Pull-of-Muscleexercise therapy.pptxAngle-or,,,,,-Pull-of-Muscleexercise therapy.pptx
Angle-or,,,,,-Pull-of-Muscleexercise therapy.pptx
siddhimeena3
 
Non-Verbal Communication for Tech Professionals
Non-Verbal Communication for Tech ProfessionalsNon-Verbal Communication for Tech Professionals
Non-Verbal Communication for Tech Professionals
MattVassar1
 
Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
MJDuyan
 
Images as attribute values in the Odoo 17
Images as attribute values in the Odoo 17Images as attribute values in the Odoo 17
Images as attribute values in the Odoo 17
Celine George
 
Creating Images and Videos through AI.pptx
Creating Images and Videos through AI.pptxCreating Images and Videos through AI.pptx
Creating Images and Videos through AI.pptx
Forum of Blended Learning
 

Recently uploaded (20)

How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...
 
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 9 - GLOBAL SUCCESS - FORM MỚI 2025 - C...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 9 - GLOBAL SUCCESS - FORM MỚI 2025 - C...BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 9 - GLOBAL SUCCESS - FORM MỚI 2025 - C...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 9 - GLOBAL SUCCESS - FORM MỚI 2025 - C...
 
pol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdfpol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdf
 
India Quiz (Prelims and Finals) by Quiz Club, IIT Kanpur
India Quiz (Prelims and Finals) by Quiz Club, IIT KanpurIndia Quiz (Prelims and Finals) by Quiz Club, IIT Kanpur
India Quiz (Prelims and Finals) by Quiz Club, IIT Kanpur
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
 
IoT (Internet of Things) introduction Notes.pdf
IoT (Internet of Things) introduction Notes.pdfIoT (Internet of Things) introduction Notes.pdf
IoT (Internet of Things) introduction Notes.pdf
 
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT KanpurDiversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
 
Environmental science 1.What is environmental science and components of envir...
Environmental science 1.What is environmental science and components of envir...Environmental science 1.What is environmental science and components of envir...
Environmental science 1.What is environmental science and components of envir...
 
Opportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive themOpportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive them
 
Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024
 
220711130095 Tanu Pandey message currency, communication speed & control EPC ...
220711130095 Tanu Pandey message currency, communication speed & control EPC ...220711130095 Tanu Pandey message currency, communication speed & control EPC ...
220711130095 Tanu Pandey message currency, communication speed & control EPC ...
 
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
 
bryophytes.pptx bsc botany honours second semester
bryophytes.pptx bsc botany honours  second semesterbryophytes.pptx bsc botany honours  second semester
bryophytes.pptx bsc botany honours second semester
 
Post init hook in the odoo 17 ERP Module
Post init hook in the  odoo 17 ERP ModulePost init hook in the  odoo 17 ERP Module
Post init hook in the odoo 17 ERP Module
 
What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17
 
Angle-or,,,,,-Pull-of-Muscleexercise therapy.pptx
Angle-or,,,,,-Pull-of-Muscleexercise therapy.pptxAngle-or,,,,,-Pull-of-Muscleexercise therapy.pptx
Angle-or,,,,,-Pull-of-Muscleexercise therapy.pptx
 
Non-Verbal Communication for Tech Professionals
Non-Verbal Communication for Tech ProfessionalsNon-Verbal Communication for Tech Professionals
Non-Verbal Communication for Tech Professionals
 
Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
 
Images as attribute values in the Odoo 17
Images as attribute values in the Odoo 17Images as attribute values in the Odoo 17
Images as attribute values in the Odoo 17
 
Creating Images and Videos through AI.pptx
Creating Images and Videos through AI.pptxCreating Images and Videos through AI.pptx
Creating Images and Videos through AI.pptx
 

Beginning Of DBMS (data base)

  • 2. What is DBMS • Database – Is a collection of related Data. – By data, we mean known facts that can be recorded and that have implicit meaning. For example, consider the names, telephone numbers, and addresses of the people you know. • Database Management System (DBMS) – Collection of programs that enables users to create and maintain a database. – DBMS contains information about a particular enterprise – Set of programs to access the data – An environment that is both convenient and efficient to use.
  • 3. Database System Applications – Banking: all transactions – Airlines and Hotel: reservations, schedules – Universities: registration, grades – Sales: customers, products, purchases. – Online retailers: order tracking, customized recommendations – Manufacturing: production, inventory, orders, supply chain – Human resources: employee records, salaries, tax deductions
  • 4. • IBM DB2 • Microsoft SQL Server • Oracle • MySQL • MariaDB • PostgreSQL • SQLite • Microsoft Access • SAP HANA • Dbase • FoxPro • LibreOffice Base • FireMaker Pro • InterSystems Cache
  • 5. The Evolution of a Database Sql server 1.0 1987 (with sybase) sql server 4.2 for window NT 1992 (with sybase) sql server 6.0 june 1995 Exclusively sql server 6.5 april 1996 sql server 7.0 december 1998 Sphnix sql server 2000 august 2000 shiloh sql server 2005 Yukon (oracle killer) sql server 2008 august 2008 sql server 2012 2012 denali
  • 6. • Informix 11.7 May 26, 2012 "Panther" • Oracle 12c Standard edition , Enterprise Edition • Oracle 11g Release 2 • Oracle 11g Express Edition
  • 7. • what is DBA – The function of managing and maintaining database management systems (DBMS) • Responsibility of DBA ? – Installation , Configuring, and upgrading – Maintain Backup & recovery – Grant and Revoke Access Permissions. – Maintenance & performance monitoring.
  • 9. Drawbacks of File Management System / Purpose of Database Systems – Data redundancy and inconsistency • Multiple file formats, duplication of information in different files – Difficulty in accessing data • Need to write a new program to carry out each new task – Data isolation — multiple files and formats – Integrity problems • Integrity constraints (e.g. account balance > 0) • Hard to add new constraints or change existing ones
  • 10. – Atomicity of updates • Failures may leave database in an inconsistent state with partial updates carried out • Example: Transfer of funds from one account to another should either complete or not happen at all – Concurrent access by multiple users • Concurrent accessed needed for performance • Uncontrolled concurrent accesses can lead to inconsistencies – Example: Two people reading a balance and updating it at the same time – Security problems • Hard to provide user access to some, but not all, data
  • 11. Advantages of DBMS • Controlling Redundancy • Restricting Unauthorized Access • Centralized Control • Backup and Recovery • Enforcing Integrity Constraints • Providing Multiple User Interface • Shared Data • Representing Complex Relationship among Data
  • 12. Disadvantages of DBMS • Number of problems are associated with centralized data. • Cost of hardware and software • Complexity of Backup and Recovery mechanism.
  • 13. DBMS Architecture • Two Level Architecture – Client / Server Architecture. – A standard called Open Database Connectivity (ODBC) provides an application programming interface (API), which allows client-side programs to call the DBMS, as long as both client and server machines have the necessary software installed. • Three level Architecture – The goal is to separate user applications and physical database – A major purpose of database system is to provide users with an abstract view of the data
  • 14. • In a basic client/server DBMS architecture, two types of modules. – A client module • user workstation or personal computer. user interface and application programs. – A server module • Data storage, access, search, and other functions. query server or transaction server
  • 15. Three-Tier and n-Tier Architectures for Web Applications This intermediate layer or middle tier is called the application server or the Web server,
  • 16. Three level Schema Architecture
  • 17.
  • 18. Data Abstraction • Hiding details of data organization and storage. • different users can perceive data at their preferred level of detail.
  • 19.
  • 20. Mapping • Process of transforming the request and result between different level is called as mapping. – External / conceptual mapping : – Conceptual / Internal mapping
  • 21. Data Independence • We can define two types of data independence – Logical data independence is the capacity to change the conceptual schema without having to change external schemas or application programs – Physical data independence is the capacity to change the internal schema without having to change the conceptual schema.
  • 22.
  • 23. Database State or Snapshot • Actual data in the database may change frequently • The data in the database at a particular moment in time is called a database state or snapshot • Also called the current set of occurrences or instances in the database
  • 24. Database Schema vs. Database State • The distinction is very important • When we define a database, we specify its database schema only to the DBMS – Database state is the empty state (w/ no data) – Initial state: when the database is first populated or loaded with initial data – Current State: State at any point in time. Every time an update operation is applied to the database, database state changes
  • 25. • Valid State: A state that satisfies the structure and the constraints specified in the schema The DBMS is partly responsible for ensuring that every state of the database is a valid state • The schema is sometimes called the intension, and a database state is called an extension of the schema
  • 26. Data Models, Schemas, and Instances • Data model—a collection of concepts that can be used to describe the structure of a database. • By structure of a database we mean the data types, relationships, and constraints that apply to the data. – High-level or conceptual data models : users perceive data. Use concept such as entities, attributes, and relationships. – low-level or physical data models: details of how data is stored.
  • 27. • An entity represents a real-world object or concept. – such as an employee or a project • An attribute represents some property of interest – employee’s name or salary. • A relationship among two or more entities represents an association among the entities. – works-on relationship between an employee and a project. • Scheme : The description and overall design of a database is called the database schema. • Instance : The collection of information stored in the database at a particular moment is called an instance.
  • 28.
  • 30. DBMS Component Modules • The top part of the figure refers to the various users of the database environment and their interfaces. • The lower part shows the internals of the DBMS responsible for storage of data and processing of transactions. • Access to the disk is controlled primarily by the operating system (OS), which schedules disk read/write. • Reducing disk read/write improves performance considerably. • Many DBMSs have their own buffer management module to schedule disk read/write, • A higher-level stored data manager module of the DBMS controls access to DBMS information.
  • 31. Different Users • DBA staff: who define, monitor and Control the whole Database access and performance. • Casual users / Sophisticated User: who work with interactive interfaces to formulate queries. • Application programmers : who create programs using some host programming languages. • Parametric users/ Naive user/ Web user : who do data entry work by supplying parameters to predefined transactions.
  • 32. • Storage Data Manager : minimize the movement of data between the disk and main memory. – Buffer manager : Fetch data from disk storage into main memory. And decide what data to cache in main memory. – File manager: Manage the allocation of space on disk storage and data structure used to represent info. – Authorization and integrity Manager: test for satisfaction of integrity constraints, and authority of user to access the data. – Transaction Manager: ensure that the database remain in consistent state.
  • 33. • The DDL compiler processes schema definitions and stores descriptions of the schemas (meta-data) in the DBMS catalog. • The catalog includes information such as the names and sizes of files, names and data types of data items, storage details of each file, mapping information among schemas, and constraints. • query optimizer is concerned with the rearrangement and possible reordering of operations, elimination of redundancies, and use of correct algorithms and indexes during execution. • Application programmers write programs in host languages such as Java, C, or C++. • The Precompiler extracts DML commands from an application program written in a host programming language. • These commands are sent to the DML compiler for compilation into object code for database access. • The rest of the program is sent to the host language compiler. • The object codes for the DML commands and the rest of the program are linked, forming a canned transaction • Canned transactions are executed repeatedly by parametric users, who simply supply the parameters to the transactions. Each execution is considered to be a separate transaction. An example is a bank withdrawal transaction where the account number and the amount may be supplied as parameters.
  • 34. • Runtime database processor executes – (1) the privileged commands, (2) the executable query plans, and (3) the canned transactions with runtime parameters. It works with the system catalog and also works with the stored data manager. – The runtime database processor handles other aspects of data transfer, such as management of buffers in the main memory.
  • 35. Database Languages • To perform operations on schema and data. • DDL : data definition language. Deal with structure of the database. • DML : data manipulation language. • DCL : data control language. Control access to database.
  • 36. Categories of data models • Relational Model • ER Model • Object based model • Semi structured data model
  • 37. Representational or implementation data models • Entity-Relationship Model • Relational data model • Network data model. • Hierarchical data models. • Object-Oriented data model.
  • 38. Logical structure (schema) of a database can be expressed graphically by an E-R diagram • Rectangles- which represent entity sets • Ellipses- which represent attributes • Diamonds- which represent relationships among entity sets • Lines- which link attributes to entity sets and entity sets to relationships.
  翻译: