SlideShare a Scribd company logo
1 of 34
DATABASE
Basic Terminologies
Basic Database Terminology
• Database – A collection (or list) of information.
A database is comprised of one or more lists
(called tables) of data organized by columns,
rows, and cells.
• Tables – The view that displays the data base as a
combinations of rows (records) and columns
(fields). The cells contain the bits and pieces of
data for each record in each field. The first row of
a table is reserved for the field names.
Basic Database Terminology
• Field names – Identify the different categories in
a database. The top row is reserved for field
names. Examples of field names are First name,
last name, address, city, state, zip, phone number.
• Field – Categories in a database. Fields are
displayed in columns. For Example, in a database,
the zip field contains all the zip codes from each
of the records. These are the bits and pieces of
data.
Basic Database Terminology
• Records – Related information that is separated
by columns or fields. A name and address are
considered one record in the database. A second
Name and address are a different record.
• Cells - The intersection of columns and rows that
contain the data for each record
• Data – All of the records of information in a
database including the field names. Data + Field
Names = Records All Records = a Database.
Basic Database Terminology
• Objects – Enables you to find, view, display, and print
data differently, based on your needs. The most
commonly used objects are tables, queries, forms and
reports.
 Tables show all records in a spreadsheet format
 Queries allow you to ask questions of the one or more
tables and show only the information you ask for
 Forms display one record at a time
 Reports give and organize why of presenting
information.
Instance and Schema
Database Instance
The term instance is typically used to describe
a complete database environment, including
the RDBMS software, table structure, stored
procedures and other functionality. It is most
commonly used when administrators describe
multiple instances of the same database. Also
Known As: environment
Instance and Schema
Examples: An organization with an
employees database might have three
different
instances: production (used to contain live
data), pre-production (used to test new
functionality prior to release into production)
and development (used by
database developers to create new
functionality).
Instance and Schema
SCHEMA
A relation schema can be thought of as the
basic information describing a table or
relation. This includes a set of column names,
the data types associated with each column,
and the name associated with the entire table.
Instance and Schema
For example, a relation schema for the
relation called Students could be expressed
using the following representation:
Students(sid: string, name: string, login:string,
age: integer, gpa: real)
There are five fields or columns, with names
and types as shown above.
Database System Concepts and
Architecture
Data Models
A collection of concepts that can be used
to describe the structure of a database
(data types, relationships, and constraints)
basic operations (retrieval and updates)
specify the dynamic aspect or behavior
of a database application( user-defined
operations )
Categories of Data Models
• High-level or conceptual data models (common
users)
• low-level or physical data models (describe the
details of how data is stored )
• in between, representational (or implementation)
data models can serve both categories above
Conceptual Data Model
• Use concepts such as
– Entities:a real-world object or concept (DEPT)
(COURSE)
– Attributes:property of interest that further describes an
entity (dept no, name, telephone, etc)
– Relationships:interaction among the entities (DEPT)
provides (COURSE)
Physical Data Model
• Describes how data is stored in the computer.
• It represents info such as
– record formats
– record orderings
– access path: make search more efficient
Representational Data Model
• Used in traditional commercial DMBS
• they include
– Relational Data model
– Network model
– Hierarchical model
Schemas
• Is the description of the database (not database itself)
– Specified during database design
– Not expected to change frequently
– A displayed schema is called a schema diagram (Fig 2.1)

• Each object in the schema-such as STUDENT or
COURSE-is a schema construct.
• Schema diagram represents only some aspects of a
schema (name of record type, data element and
some type of constraint)
Instances and Database State
• The data in the database at a particular moment in time is
called a database state or snapshot or current set of
occurrences or instances in the database
• When we define a new database we have database state is
empty state (schema specified only in DBMS)
• The initial state when the database is first populated
• Then At any point in time, the database has a current state
• schema evolution: when we need to change the schema
The Three-Schema Architecture
• Importance of using DB approach
– insulation of programs and data
– support of multiple user views
– use of a catalog to store the database description (schema).

• The aim is to separate the user application and physical
DB
• schema can be defined into three levels:
– The internal level has an internal schema
– describes the physical storage structure of the database.
– uses a physical data model
The Three-Schema Architecture
– The conceptual level has a conceptual schema describing the
structure of the whole database for a community of users.
– It hides the details of physical storage structures and
concentrates on describing entities, data types, relationships,
user operations, and constraints.
– A high-level data model or an implementation data model
can be used at this level.
– The external or view level includes a number of external
schemas or user views describing the part of the db that a
particular user group is interested in and hides the rest of the
db from that user group.
– A high-level data model or an implementation data model
can be used at this level.
Data Independence
• Is the capacity to change the schema at one level of a
database system without having to change the schema at
the next higher level.
• Logical data independence: capacity to change the
conceptual schema without having to change external
schemas or application programs.
• Physical data independence: capacity to change the
internal schema without having to change the conceptual
(or external) schemas
DBMS Languages
• Data Definition Language DDL: Language to specify
conceptual and internal schemas for the database and any
mappings between the two.
• Storage definition language SDL: used when clear
distinction between conceptual and internal schema.
• view definition language VDL: specify user views and
their mappings to the conceptual schema.
• data manipulation language DML:retrieval, insertion,
deletion, and modification of the data
DBMS Languages …..
• SQL relational database language: represents a
combination of DDL, VDL, and DML, as well as
statements for constraint specification and schema
evolution
• There are two main types of DMLs:
– A high-level or nonprocedural DML : specify complex DB
operations. Example SQL(set-at-a-time)
– A low-level or procedural DML: retrieve individual records
or objects from DB and process each separately (record-at-atime).
DBMS Interfaces
• Menu-Based Interfaces for Browsing
– menus leads to formulation of a request

• Forms-Based Interfaces
– display a form for each user (insert, select)
– designed for naïve users.

• Graphical User Interfaces (GUI)
– display schema as diagram.
– Utilize both menu and forms.
DBMS Interfaces
• Natural Language Interfaces
– Accept requests in native language and attempt to
understand them.
– Refers to words in the schema and (standard words) to
interpret the request.

• Interfaces for Parametric Users (eg tellers)
– goal is to min the number of keystroks required. (use of
function) keys

• Interfaces for the DBA
– creating accounts, system privileges, changing schema,
etc.
The Database System
Environment
• DBMS Component Modules (fig 2.3)
–
–
–
–
–
–
–
–

db & DBMS stored in disk controlled by OS.
Stored data manager control access to DBMS
SDM puts data in buffers in main memory
DDL compiler process schema definitions and store it
in meta data.
Run-time-data-proc handles DB accesses @runtime
receive update or retrieve and solve them on the DB
Query-Compiler: handles high level queries: parse,
analyze and interpret uses DB access code.
Precompiler extract DML commands from app program
Database System Utilities
• Loading: load existing files into the DB
• Backup: creates backup copy of the DB
• File reorganization: reorganize files for better
performance
• Performance monitoring: monitor DB usage and
provide statistics to DBA
Tools, Application Environments
& Communications Facilities
• Case: design phase
• data (information) repository: store catalog info,
design decisions, usage, app program description,
user information
• Application Developer: e.g. power builder. Help
in development of DB design, GUI, query, update
etc.
• Comm Software: allow users remotely to access
the DB
Classification of DBManagement
Systems
• Data model:
– relational, object, object-relational, hierarchical, network, and
other.

• Number of users supported by the system.
– Single-user systems and Multiuser systems

• Number of sites over which the database is distributed.
– centralized, distributed DBMS (DDBMS) ,Homogeneous
DDBMSs ,federated DBMS (develop software to access
several autonomous preexisting databases stored under
heterogeneous DBMSs. )
Classification of DBManagement
Systems …..
• Cost of the DBMS: 10K-100K. Single 100-3K
• General-purpose vs Special-purpose (When
performance is a primary consideration.
– Example: on-line transaction processing (OLTP)
systems, which must support a large number of
concurrent transactions without imposing excessive
delays. )
Database system concepts

More Related Content

What's hot

What's hot (20)

Components and Advantages of DBMS
Components and Advantages of DBMSComponents and Advantages of DBMS
Components and Advantages of DBMS
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management System
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
Dbms
DbmsDbms
Dbms
 
Database language
Database languageDatabase language
Database language
 
Types of databases
Types of databases   Types of databases
Types of databases
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
 
Advance database systems (part 1)
Advance database systems (part 1)Advance database systems (part 1)
Advance database systems (part 1)
 
Dbms
DbmsDbms
Dbms
 
Data models
Data modelsData models
Data models
 
Elmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 pptElmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 ppt
 
Database administrator
Database administratorDatabase administrator
Database administrator
 
DB2 TABLESPACES
DB2 TABLESPACESDB2 TABLESPACES
DB2 TABLESPACES
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
DBMS Bascis
DBMS BascisDBMS Bascis
DBMS Bascis
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health Informatics
 
Distributed database management systems
Distributed database management systemsDistributed database management systems
Distributed database management systems
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 

Viewers also liked

Database management system
Database management systemDatabase management system
Database management systemRizwanHafeez
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database ConceptsRosalyn Lemieux
 
Types of databases
Types of databasesTypes of databases
Types of databasesPAQUIAAIZEL
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic ConceptsTony Wong
 
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtapADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtapVikas Jagtap
 
Multidimensional Database Design & Architecture
Multidimensional Database Design & ArchitectureMultidimensional Database Design & Architecture
Multidimensional Database Design & Architecturehasanshan
 
Database system architecture
Database system architectureDatabase system architecture
Database system architectureDk Rukshan
 
Advanced Database Lecture Notes
Advanced Database Lecture NotesAdvanced Database Lecture Notes
Advanced Database Lecture NotesJasour Obeidat
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1ahfiki
 
分散ストレージに使えるかもしれないアルゴリズム
分散ストレージに使えるかもしれないアルゴリズム分散ストレージに使えるかもしれないアルゴリズム
分散ストレージに使えるかもしれないアルゴリズムTakeru INOUE
 
Kai – An Open Source Implementation of Amazon’s Dynamo
Kai – An Open Source Implementation of Amazon’s DynamoKai – An Open Source Implementation of Amazon’s Dynamo
Kai – An Open Source Implementation of Amazon’s DynamoTakeru INOUE
 
Analyze Genomes: A Federated In-Memory Database System For Life Sciences
Analyze Genomes: A Federated In-Memory Database System For Life SciencesAnalyze Genomes: A Federated In-Memory Database System For Life Sciences
Analyze Genomes: A Federated In-Memory Database System For Life SciencesMatthieu Schapranow
 
Data base management system (dbms)
Data base management system (dbms)Data base management system (dbms)
Data base management system (dbms)Larry Jones
 
Responding to Marketization
Responding to MarketizationResponding to Marketization
Responding to MarketizationAngie Eikenberry
 

Viewers also liked (20)

Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Database management system
Database management systemDatabase management system
Database management system
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database Concepts
 
Types of databases
Types of databasesTypes of databases
Types of databases
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic Concepts
 
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtapADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Database System Architectures
Database System ArchitecturesDatabase System Architectures
Database System Architectures
 
Multidimensional Database Design & Architecture
Multidimensional Database Design & ArchitectureMultidimensional Database Design & Architecture
Multidimensional Database Design & Architecture
 
Genome annotation 2013
Genome annotation 2013Genome annotation 2013
Genome annotation 2013
 
Database system architecture
Database system architectureDatabase system architecture
Database system architecture
 
Advanced Database Lecture Notes
Advanced Database Lecture NotesAdvanced Database Lecture Notes
Advanced Database Lecture Notes
 
Types dbms
Types dbmsTypes dbms
Types dbms
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
 
分散ストレージに使えるかもしれないアルゴリズム
分散ストレージに使えるかもしれないアルゴリズム分散ストレージに使えるかもしれないアルゴリズム
分散ストレージに使えるかもしれないアルゴリズム
 
Kai – An Open Source Implementation of Amazon’s Dynamo
Kai – An Open Source Implementation of Amazon’s DynamoKai – An Open Source Implementation of Amazon’s Dynamo
Kai – An Open Source Implementation of Amazon’s Dynamo
 
Parsing XML in J2ME
Parsing XML in J2MEParsing XML in J2ME
Parsing XML in J2ME
 
Analyze Genomes: A Federated In-Memory Database System For Life Sciences
Analyze Genomes: A Federated In-Memory Database System For Life SciencesAnalyze Genomes: A Federated In-Memory Database System For Life Sciences
Analyze Genomes: A Federated In-Memory Database System For Life Sciences
 
Data base management system (dbms)
Data base management system (dbms)Data base management system (dbms)
Data base management system (dbms)
 
Responding to Marketization
Responding to MarketizationResponding to Marketization
Responding to Marketization
 

Similar to Database system concepts

Ch1.2_DB system Concepts and Architecture.pptx
Ch1.2_DB system Concepts and Architecture.pptxCh1.2_DB system Concepts and Architecture.pptx
Ch1.2_DB system Concepts and Architecture.pptx01fe20bcv092
 
Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbmsRupali Rana
 
Module 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxModule 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxSoniaDevi15
 
Top schools in gudgaon
Top schools in gudgaonTop schools in gudgaon
Top schools in gudgaonEdhole.com
 
Complete first chapter rdbm 17332
Complete first chapter rdbm 17332Complete first chapter rdbm 17332
Complete first chapter rdbm 17332Tushar Wagh
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfSameerKhanPathan7
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxAnmolThakur67
 
Database Management Systems.ppt
Database Management Systems.pptDatabase Management Systems.ppt
Database Management Systems.ppttahakhan699813
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2Mukund Trivedi
 
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptxAshmitKashyap1
 
DBMS introduction and functionality of of dbms
DBMS introduction and functionality of  of dbmsDBMS introduction and functionality of  of dbms
DBMS introduction and functionality of of dbmsranjana dalwani
 
CS3270 - DATABASE SYSTEM - Lecture (2)
CS3270 - DATABASE SYSTEM - Lecture (2)CS3270 - DATABASE SYSTEM - Lecture (2)
CS3270 - DATABASE SYSTEM - Lecture (2)Dilawar Khan
 

Similar to Database system concepts (20)

Ch1.2_DB system Concepts and Architecture.pptx
Ch1.2_DB system Concepts and Architecture.pptxCh1.2_DB system Concepts and Architecture.pptx
Ch1.2_DB system Concepts and Architecture.pptx
 
Dbms module i
Dbms module iDbms module i
Dbms module i
 
Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbms
 
Module 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxModule 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptx
 
Top schools in gudgaon
Top schools in gudgaonTop schools in gudgaon
Top schools in gudgaon
 
DBMS
DBMS DBMS
DBMS
 
Chapter02
Chapter02Chapter02
Chapter02
 
Unit 1 DBMS
Unit 1 DBMSUnit 1 DBMS
Unit 1 DBMS
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Complete first chapter rdbm 17332
Complete first chapter rdbm 17332Complete first chapter rdbm 17332
Complete first chapter rdbm 17332
 
unit 1.pptx
unit 1.pptxunit 1.pptx
unit 1.pptx
 
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdf
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
 
Database Management Systems.ppt
Database Management Systems.pptDatabase Management Systems.ppt
Database Management Systems.ppt
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
 
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
 
DBMS introduction and functionality of of dbms
DBMS introduction and functionality of  of dbmsDBMS introduction and functionality of  of dbms
DBMS introduction and functionality of of dbms
 
CS3270 - DATABASE SYSTEM - Lecture (2)
CS3270 - DATABASE SYSTEM - Lecture (2)CS3270 - DATABASE SYSTEM - Lecture (2)
CS3270 - DATABASE SYSTEM - Lecture (2)
 
8028.ppt
8028.ppt8028.ppt
8028.ppt
 

More from Kumar

Graphics devices
Graphics devicesGraphics devices
Graphics devicesKumar
 
Fill area algorithms
Fill area algorithmsFill area algorithms
Fill area algorithmsKumar
 
region-filling
region-fillingregion-filling
region-fillingKumar
 
Bresenham derivation
Bresenham derivationBresenham derivation
Bresenham derivationKumar
 
Bresenham circles and polygons derication
Bresenham circles and polygons dericationBresenham circles and polygons derication
Bresenham circles and polygons dericationKumar
 
Introductionto xslt
Introductionto xsltIntroductionto xslt
Introductionto xsltKumar
 
Extracting data from xml
Extracting data from xmlExtracting data from xml
Extracting data from xmlKumar
 
Xml basics
Xml basicsXml basics
Xml basicsKumar
 
XML Schema
XML SchemaXML Schema
XML SchemaKumar
 
Publishing xml
Publishing xmlPublishing xml
Publishing xmlKumar
 
Applying xml
Applying xmlApplying xml
Applying xmlKumar
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XMLKumar
 
How to deploy a j2ee application
How to deploy a j2ee applicationHow to deploy a j2ee application
How to deploy a j2ee applicationKumar
 
JNDI, JMS, JPA, XML
JNDI, JMS, JPA, XMLJNDI, JMS, JPA, XML
JNDI, JMS, JPA, XMLKumar
 
EJB Fundmentals
EJB FundmentalsEJB Fundmentals
EJB FundmentalsKumar
 
JSP and struts programming
JSP and struts programmingJSP and struts programming
JSP and struts programmingKumar
 
java servlet and servlet programming
java servlet and servlet programmingjava servlet and servlet programming
java servlet and servlet programmingKumar
 
Introduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC DriversIntroduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC DriversKumar
 
Introduction to J2EE
Introduction to J2EEIntroduction to J2EE
Introduction to J2EEKumar
 

More from Kumar (20)

Graphics devices
Graphics devicesGraphics devices
Graphics devices
 
Fill area algorithms
Fill area algorithmsFill area algorithms
Fill area algorithms
 
region-filling
region-fillingregion-filling
region-filling
 
Bresenham derivation
Bresenham derivationBresenham derivation
Bresenham derivation
 
Bresenham circles and polygons derication
Bresenham circles and polygons dericationBresenham circles and polygons derication
Bresenham circles and polygons derication
 
Introductionto xslt
Introductionto xsltIntroductionto xslt
Introductionto xslt
 
Extracting data from xml
Extracting data from xmlExtracting data from xml
Extracting data from xml
 
Xml basics
Xml basicsXml basics
Xml basics
 
XML Schema
XML SchemaXML Schema
XML Schema
 
Publishing xml
Publishing xmlPublishing xml
Publishing xml
 
DTD
DTDDTD
DTD
 
Applying xml
Applying xmlApplying xml
Applying xml
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
How to deploy a j2ee application
How to deploy a j2ee applicationHow to deploy a j2ee application
How to deploy a j2ee application
 
JNDI, JMS, JPA, XML
JNDI, JMS, JPA, XMLJNDI, JMS, JPA, XML
JNDI, JMS, JPA, XML
 
EJB Fundmentals
EJB FundmentalsEJB Fundmentals
EJB Fundmentals
 
JSP and struts programming
JSP and struts programmingJSP and struts programming
JSP and struts programming
 
java servlet and servlet programming
java servlet and servlet programmingjava servlet and servlet programming
java servlet and servlet programming
 
Introduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC DriversIntroduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC Drivers
 
Introduction to J2EE
Introduction to J2EEIntroduction to J2EE
Introduction to J2EE
 

Recently uploaded

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 

Recently uploaded (20)

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 

Database system concepts

  • 2. Basic Database Terminology • Database – A collection (or list) of information. A database is comprised of one or more lists (called tables) of data organized by columns, rows, and cells. • Tables – The view that displays the data base as a combinations of rows (records) and columns (fields). The cells contain the bits and pieces of data for each record in each field. The first row of a table is reserved for the field names.
  • 3. Basic Database Terminology • Field names – Identify the different categories in a database. The top row is reserved for field names. Examples of field names are First name, last name, address, city, state, zip, phone number. • Field – Categories in a database. Fields are displayed in columns. For Example, in a database, the zip field contains all the zip codes from each of the records. These are the bits and pieces of data.
  • 4. Basic Database Terminology • Records – Related information that is separated by columns or fields. A name and address are considered one record in the database. A second Name and address are a different record. • Cells - The intersection of columns and rows that contain the data for each record • Data – All of the records of information in a database including the field names. Data + Field Names = Records All Records = a Database.
  • 5. Basic Database Terminology • Objects – Enables you to find, view, display, and print data differently, based on your needs. The most commonly used objects are tables, queries, forms and reports.  Tables show all records in a spreadsheet format  Queries allow you to ask questions of the one or more tables and show only the information you ask for  Forms display one record at a time  Reports give and organize why of presenting information.
  • 6.
  • 7. Instance and Schema Database Instance The term instance is typically used to describe a complete database environment, including the RDBMS software, table structure, stored procedures and other functionality. It is most commonly used when administrators describe multiple instances of the same database. Also Known As: environment
  • 8. Instance and Schema Examples: An organization with an employees database might have three different instances: production (used to contain live data), pre-production (used to test new functionality prior to release into production) and development (used by database developers to create new functionality).
  • 9. Instance and Schema SCHEMA A relation schema can be thought of as the basic information describing a table or relation. This includes a set of column names, the data types associated with each column, and the name associated with the entire table.
  • 10. Instance and Schema For example, a relation schema for the relation called Students could be expressed using the following representation: Students(sid: string, name: string, login:string, age: integer, gpa: real) There are five fields or columns, with names and types as shown above.
  • 11. Database System Concepts and Architecture
  • 12. Data Models A collection of concepts that can be used to describe the structure of a database (data types, relationships, and constraints) basic operations (retrieval and updates) specify the dynamic aspect or behavior of a database application( user-defined operations )
  • 13. Categories of Data Models • High-level or conceptual data models (common users) • low-level or physical data models (describe the details of how data is stored ) • in between, representational (or implementation) data models can serve both categories above
  • 14. Conceptual Data Model • Use concepts such as – Entities:a real-world object or concept (DEPT) (COURSE) – Attributes:property of interest that further describes an entity (dept no, name, telephone, etc) – Relationships:interaction among the entities (DEPT) provides (COURSE)
  • 15. Physical Data Model • Describes how data is stored in the computer. • It represents info such as – record formats – record orderings – access path: make search more efficient
  • 16. Representational Data Model • Used in traditional commercial DMBS • they include – Relational Data model – Network model – Hierarchical model
  • 17. Schemas • Is the description of the database (not database itself) – Specified during database design – Not expected to change frequently – A displayed schema is called a schema diagram (Fig 2.1) • Each object in the schema-such as STUDENT or COURSE-is a schema construct. • Schema diagram represents only some aspects of a schema (name of record type, data element and some type of constraint)
  • 18.
  • 19. Instances and Database State • The data in the database at a particular moment in time is called a database state or snapshot or current set of occurrences or instances in the database • When we define a new database we have database state is empty state (schema specified only in DBMS) • The initial state when the database is first populated • Then At any point in time, the database has a current state • schema evolution: when we need to change the schema
  • 20. The Three-Schema Architecture • Importance of using DB approach – insulation of programs and data – support of multiple user views – use of a catalog to store the database description (schema). • The aim is to separate the user application and physical DB • schema can be defined into three levels: – The internal level has an internal schema – describes the physical storage structure of the database. – uses a physical data model
  • 21.
  • 22. The Three-Schema Architecture – The conceptual level has a conceptual schema describing the structure of the whole database for a community of users. – It hides the details of physical storage structures and concentrates on describing entities, data types, relationships, user operations, and constraints. – A high-level data model or an implementation data model can be used at this level. – The external or view level includes a number of external schemas or user views describing the part of the db that a particular user group is interested in and hides the rest of the db from that user group. – A high-level data model or an implementation data model can be used at this level.
  • 23. Data Independence • Is the capacity to change the schema at one level of a database system without having to change the schema at the next higher level. • Logical data independence: capacity to change the conceptual schema without having to change external schemas or application programs. • Physical data independence: capacity to change the internal schema without having to change the conceptual (or external) schemas
  • 24. DBMS Languages • Data Definition Language DDL: Language to specify conceptual and internal schemas for the database and any mappings between the two. • Storage definition language SDL: used when clear distinction between conceptual and internal schema. • view definition language VDL: specify user views and their mappings to the conceptual schema. • data manipulation language DML:retrieval, insertion, deletion, and modification of the data
  • 25. DBMS Languages ….. • SQL relational database language: represents a combination of DDL, VDL, and DML, as well as statements for constraint specification and schema evolution • There are two main types of DMLs: – A high-level or nonprocedural DML : specify complex DB operations. Example SQL(set-at-a-time) – A low-level or procedural DML: retrieve individual records or objects from DB and process each separately (record-at-atime).
  • 26. DBMS Interfaces • Menu-Based Interfaces for Browsing – menus leads to formulation of a request • Forms-Based Interfaces – display a form for each user (insert, select) – designed for naïve users. • Graphical User Interfaces (GUI) – display schema as diagram. – Utilize both menu and forms.
  • 27. DBMS Interfaces • Natural Language Interfaces – Accept requests in native language and attempt to understand them. – Refers to words in the schema and (standard words) to interpret the request. • Interfaces for Parametric Users (eg tellers) – goal is to min the number of keystroks required. (use of function) keys • Interfaces for the DBA – creating accounts, system privileges, changing schema, etc.
  • 28. The Database System Environment • DBMS Component Modules (fig 2.3) – – – – – – – – db & DBMS stored in disk controlled by OS. Stored data manager control access to DBMS SDM puts data in buffers in main memory DDL compiler process schema definitions and store it in meta data. Run-time-data-proc handles DB accesses @runtime receive update or retrieve and solve them on the DB Query-Compiler: handles high level queries: parse, analyze and interpret uses DB access code. Precompiler extract DML commands from app program
  • 29.
  • 30. Database System Utilities • Loading: load existing files into the DB • Backup: creates backup copy of the DB • File reorganization: reorganize files for better performance • Performance monitoring: monitor DB usage and provide statistics to DBA
  • 31. Tools, Application Environments & Communications Facilities • Case: design phase • data (information) repository: store catalog info, design decisions, usage, app program description, user information • Application Developer: e.g. power builder. Help in development of DB design, GUI, query, update etc. • Comm Software: allow users remotely to access the DB
  • 32. Classification of DBManagement Systems • Data model: – relational, object, object-relational, hierarchical, network, and other. • Number of users supported by the system. – Single-user systems and Multiuser systems • Number of sites over which the database is distributed. – centralized, distributed DBMS (DDBMS) ,Homogeneous DDBMSs ,federated DBMS (develop software to access several autonomous preexisting databases stored under heterogeneous DBMSs. )
  • 33. Classification of DBManagement Systems ….. • Cost of the DBMS: 10K-100K. Single 100-3K • General-purpose vs Special-purpose (When performance is a primary consideration. – Example: on-line transaction processing (OLTP) systems, which must support a large number of concurrent transactions without imposing excessive delays. )