SlideShare a Scribd company logo
1 of 35
ISOM3260
Database Design & Administration
Dr. Muller Cheung (L1/L2)
Dr. James Thong (L3)
Office hour: By appointment
Email: mcheung@ust.hk; jthong@ust.hk
Spring 2014
2
Todayโ€™s Agenda
โ€ข Introduction to course
โ€“ ISOM3260 website: http://teaching.ust.hk/~isom3260
โ€“ Midterms and Final exam
โ€“ Group project
โ€ข Database Fundamentals (Chap. 1)
3
Conduct in Class
โ€ข Attend the lab you are enrolled in
โ€ข Attend the lecture you are enrolled in
โ€ข Be punctual for lab/lecture
โ€ข Turn off mobile phones
โ€ข Do not distract other students or instructor by
talking with your friends
4
How to study for ISOM3260
โ€ข Attend lectures
โ€“ Questions in exams will only include topics
covered in lectures
โ€ข Read the textbook for more information
โ€ข Review lecture notes/textbook after lecture
โ€ข Email questions to me or make appointment
5
What you will learn from this course
โ€ข Database fundamentals
โ€“ introduction to database concepts
โ€ข Database development process
โ€“ steps to develop a database
โ€ข Conceptual data modeling
โ€“ entity-relationship (ER) diagram; enhanced ER
โ€ข Logical database design
โ€“ transforming ER diagram into relations; normalization
โ€ข Physical database design
โ€“ technical specifications of the database
โ€ข Database implementation
โ€“ Structured Query Language (SQL), advanced SQL
โ€ข Advanced topic
โ€“ data warehousing; data and database administration
Lecture 1:
Database Fundamentals
ISOM3260, Spring 2014
7
Database Fundamentals
โ€ข Concepts
โ€ข Disadvantages of file processing systems
โ€ข The database approach
โ€ข Advantages of database approach
โ€ข Costs and risks of database approach
โ€ข Range of database applications
โ€ข Components of database environment
โ€ข Evolution of database systems
โ€ข Current development
8
Concepts
โ€ข Data
โ€“ stored representations of meaningful objects and events
โ€“ structured data: numbers, text, dates
โ€“ unstructured data: images, video, documents
โ€ข Information
โ€“ data processed to be useful in decision making
โ€“ by putting data in a context or summarizing data
โ€ข Database
โ€“ an organized collection of logically related data
โ€“ e.g. automobile repair database contains data on customers,
automobiles, and repair history
โ€ข Metadata
โ€“ data that describes properties of user data
9
Figure 1-1a: Data in Context
10
Figure 1-1b: Summarized data
Useful information that managers can use for
decision making and interpretation
11
Table 1-1: Metadata for Class Roster
Descriptions of the properties or characteristics of the data,
including data types, field sizes, allowable values, and data context
12
Disadvantages of File Processing
โ€ข Program-data dependence
โ€“ all programs maintain metadata for each file they use
โ€“ change to file structure requires changes to all programs that
access the file
โ€ข Data redundancy (duplication of data)
โ€“ data changes in one file could cause inconsistencies,
compromising data integrity
โ€ข Limited data sharing
โ€“ no centralized control of data
โ€ข Lengthy development times
โ€“ programmers must design their own file formats
โ€ข Excessive program maintenance
โ€“ consume 80% of information systems budget
13
Figure 1-2: Old file processing systems at Pine Valley
Furniture Company
Duplicate Data
14
The Database Approach
Database Management
System (DBMS) manages
data resources like an
operating system
manages hardware
resources
Database
containing
centralized
shared data
15
Advantages of Database Approach
โ€ข Program-data independence
โ€“ metadata not stored in programs, so programs do not need to
worry about changes to data formats
โ€“ results in increased productivity of application development and
reduced program maintenance
โ€ข Minimal data redundancy
โ€“ avoid wasted storage space
โ€“ leads to increased data integrity/consistency
16
Advantages of Database Approach
โ€ข Improved data sharing
โ€“ different users get different views of the data
โ€ข Enforcement of standards
โ€“ naming conventions, data quality standards, and uniform
procedures for accessing, updating, and protecting data
โ€ข Improved data quality
โ€“ constraints are business rules that cannot be violated by
database users
โ€“ enforced by DBMS
โ€ข Improved data accessibility and responsiveness
โ€“ use of structured query language (SQL)
โ€“ end users without programming experience can easily retrieve
data
17
Costs and Risks of the
Database Approach
โ€ข Requires new, specialized personnel
โ€ข Installation and management cost and complexity
โ€“ requires new software and upgrades to hardware and data
communications
โ€“ substantial annual maintenance and support costs
โ€ข Conversion costs
โ€“ converting from legacy systems costs money and time
โ€ข Need for explicit backup and recovery
โ€“ shared corporate database must be accurate and available at all
times
โ€ข Organizational conflict
โ€“ agreement on data definitions and ownership, responsibilities
for accurate data maintenance
โ€“ need strong top management support to resolve
18
Figure 1-3: Segment from enterprise data model
(shows the high-level entities and their relationships)
19
Figure 1-3: Segment from enterprise data model
(shows the high-level entities and their relationships)
One customer places many
orders, but each order is placed
by a single customer
๏ƒ  One-to-many relationship
20
Figure 1-3: Segment from enterprise data model
(shows the high-level entities and their relationships)
One order contains many order
lines; each order line is
contained in a single order
๏ƒ  One-to-many relationship
21
Figure 1-3: Segment from enterprise data model
(shows the high-level entities and their relationships)
One product can be in many
order lines, each order line refers
to a single product
๏ƒ  One-to-many relationship
22
Figure 1-3: Segment from enterprise data model
(shows the high-level entities and their relationships)
Therefore, one order involves
many products and one product
is involved in many orders
๏ƒ  Many-to-many relationship
23
Order, Order_Line, Customer, and Product tables
Relationships established in special columns that provide
links between tables
24
Range of Database Applications
25
Typical data
from a
personal
database on a
PC, notebook,
smartphone
26
Fig. 1-11: Two-Tier Database
with Local Area Network
Enterprise Database Applications
โ€ข Enterprise Resource Planning (ERP)
โ€“ business management system that integrates all
enterprise functions (e.g., manufacturing,
finance, sales, marketing, inventory,
accounting, human resources)
โ€ข Data Warehouse
โ€“ an integrated decision support system derived
from various operational databases
27
28
An enterprise
data warehouse
29
Components of the
Database Environment
โ€ข Computer-Aided Software Engineering (CASE) Tools โ€“
automated tools used to design databases and application programs
โ€ข Repository โ€“ centralized storehouse of metadata
โ€ข DBMS โ€“ software for managing the database
โ€ข Database โ€“ storehouse of the data
โ€ข Application Programs โ€“ software using the data
โ€ข User Interface โ€“ text and graphical displays to users
โ€ข Data/Database Administrators โ€“ personnel responsible for
maintaining the database
โ€ข System Developers โ€“ personnel responsible for designing
application programs
โ€ข End Users โ€“ people who use the applications and databases
30
Figure 1-5:
Components
of the
database
environment
Note: All interactions with the database must go through the DBMS
31
Evolution of Database Systems
32
Current Development
โ€ข Relational DBMS has > 80% market share
โ€ข Major Database Vendors
โ€“ Oracle: Oracle 11g, Oracle 12c
โ€“ IBM: DB2, Informix
โ€“ Microsoft: MS SQL Server
โ€“ SAP: Sybase
โ€“ Teradata: Teradata
33
Current Development
โ€ข Overall Market Share in 2012
โ€“ Oracle, IBM, and Microsoft dominate the market
Source: Gartner, March 2013
Oracle, 48.30%
IBM 19.30%
Microsoft
18.17%
Others 14.23%
RDBMS Market Share
Oracle
IBM
Microsoft
Others
34
Current Development
โ€ข Oracle
โ€“ strong customer base on enterprise RDBMS market
โ€“ industry recognition of Oracle 11g and 12c
โ€“ strong penetration in Linux/Unix platforms
โ€ข IBM
โ€“ DB2 dominates mainframe platforms
โ€ข Microsoft
โ€“ strong penetration in Windows platform
โ€“ getting popular particularly with Small and Medium Enterprises
โ€ข Teradata
โ€“ emphasis on business intelligence and data warehousing
35
Review Questions
โ€ข Differences between data, database, information and
metadata
โ€ข What are the disadvantages of file processing?
โ€ข What is the database approach?
โ€ข What are the advantages of the database approach?
โ€ข What are the costs and risks of the database approach?
โ€ข What are the range of database applications?
โ€ข What are the components of the database environment?
โ€ข What are the popular databases?

More Related Content

What's hot

Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
ย 
Database design
Database designDatabase design
Database designDhani Ahmad
ย 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentationsameerraaj
ย 
The relational database model
The relational database modelThe relational database model
The relational database modelDhani Ahmad
ย 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management systemPrerana Bhattarai
ย 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management SystemDr. C.V. Suresh Babu
ย 
Elmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 pptElmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 pptAbhinavPandey274499
ย 
Rdbms
RdbmsRdbms
Rdbmsrdbms
ย 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment>. <
ย 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and modelssabah N
ย 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2shahab3
ย 
Database development life cycle
Database development life cycleDatabase development life cycle
Database development life cycleAfrasiyab Haider
ย 
1 introduction databases and database users
1 introduction databases and database users1 introduction databases and database users
1 introduction databases and database usersKumar
ย 

What's hot (20)

Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
ย 
Database
DatabaseDatabase
Database
ย 
Database design
Database designDatabase design
Database design
ย 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
ย 
Dbms
DbmsDbms
Dbms
ย 
The relational database model
The relational database modelThe relational database model
The relational database model
ย 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
ย 
Dbms slides
Dbms slidesDbms slides
Dbms slides
ย 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management System
ย 
Elmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 pptElmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 ppt
ย 
Rdbms
RdbmsRdbms
Rdbms
ย 
DBMS an Example
DBMS an ExampleDBMS an Example
DBMS an Example
ย 
Chapter1
Chapter1Chapter1
Chapter1
ย 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment
ย 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and models
ย 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2
ย 
History of Database
History  of DatabaseHistory  of Database
History of Database
ย 
Database development life cycle
Database development life cycleDatabase development life cycle
Database development life cycle
ย 
1 introduction databases and database users
1 introduction databases and database users1 introduction databases and database users
1 introduction databases and database users
ย 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
ย 

Viewers also liked

Solution4(database)
Solution4(database)Solution4(database)
Solution4(database)welcometofacebook
ย 
Exercise6(database)
Exercise6(database)Exercise6(database)
Exercise6(database)welcometofacebook
ย 
Exercise3(database)
Exercise3(database)Exercise3(database)
Exercise3(database)welcometofacebook
ย 
Solution6(database)
Solution6(database)Solution6(database)
Solution6(database)welcometofacebook
ย 
Source code for search engine(database)
Source code for search engine(database)Source code for search engine(database)
Source code for search engine(database)welcometofacebook
ย 
Solution1(database)
Solution1(database)Solution1(database)
Solution1(database)welcometofacebook
ย 
Solution5(database)
Solution5(database)Solution5(database)
Solution5(database)welcometofacebook
ย 
database design intro(database)
database design intro(database)database design intro(database)
database design intro(database)welcometofacebook
ย 
Solution3(database)
Solution3(database)Solution3(database)
Solution3(database)welcometofacebook
ย 
Souce code of validation trigger examples(database)
Souce code of validation trigger examples(database)Souce code of validation trigger examples(database)
Souce code of validation trigger examples(database)welcometofacebook
ย 
Solution2(database)
Solution2(database)Solution2(database)
Solution2(database)welcometofacebook
ย 
Exercise5(database)
Exercise5(database)Exercise5(database)
Exercise5(database)welcometofacebook
ย 
Exercise1(database)
Exercise1(database)Exercise1(database)
Exercise1(database)welcometofacebook
ย 
Source code for view details(database)
Source code for view details(database)Source code for view details(database)
Source code for view details(database)welcometofacebook
ย 
Source codes for alerts lovs and reports generation(database)
Source codes for alerts lovs and reports generation(database)Source codes for alerts lovs and reports generation(database)
Source codes for alerts lovs and reports generation(database)welcometofacebook
ย 
Source code for insert multiple rows(database)
Source code for insert multiple rows(database)Source code for insert multiple rows(database)
Source code for insert multiple rows(database)welcometofacebook
ย 
Exercise4(database)
Exercise4(database)Exercise4(database)
Exercise4(database)welcometofacebook
ย 
Exercise2(database)
Exercise2(database)Exercise2(database)
Exercise2(database)welcometofacebook
ย 
Solution4 1(database)
Solution4 1(database)Solution4 1(database)
Solution4 1(database)welcometofacebook
ย 
cltv calculation-calyx corolla
cltv calculation-calyx corolla cltv calculation-calyx corolla
cltv calculation-calyx corolla welcometofacebook
ย 

Viewers also liked (20)

Solution4(database)
Solution4(database)Solution4(database)
Solution4(database)
ย 
Exercise6(database)
Exercise6(database)Exercise6(database)
Exercise6(database)
ย 
Exercise3(database)
Exercise3(database)Exercise3(database)
Exercise3(database)
ย 
Solution6(database)
Solution6(database)Solution6(database)
Solution6(database)
ย 
Source code for search engine(database)
Source code for search engine(database)Source code for search engine(database)
Source code for search engine(database)
ย 
Solution1(database)
Solution1(database)Solution1(database)
Solution1(database)
ย 
Solution5(database)
Solution5(database)Solution5(database)
Solution5(database)
ย 
database design intro(database)
database design intro(database)database design intro(database)
database design intro(database)
ย 
Solution3(database)
Solution3(database)Solution3(database)
Solution3(database)
ย 
Souce code of validation trigger examples(database)
Souce code of validation trigger examples(database)Souce code of validation trigger examples(database)
Souce code of validation trigger examples(database)
ย 
Solution2(database)
Solution2(database)Solution2(database)
Solution2(database)
ย 
Exercise5(database)
Exercise5(database)Exercise5(database)
Exercise5(database)
ย 
Exercise1(database)
Exercise1(database)Exercise1(database)
Exercise1(database)
ย 
Source code for view details(database)
Source code for view details(database)Source code for view details(database)
Source code for view details(database)
ย 
Source codes for alerts lovs and reports generation(database)
Source codes for alerts lovs and reports generation(database)Source codes for alerts lovs and reports generation(database)
Source codes for alerts lovs and reports generation(database)
ย 
Source code for insert multiple rows(database)
Source code for insert multiple rows(database)Source code for insert multiple rows(database)
Source code for insert multiple rows(database)
ย 
Exercise4(database)
Exercise4(database)Exercise4(database)
Exercise4(database)
ย 
Exercise2(database)
Exercise2(database)Exercise2(database)
Exercise2(database)
ย 
Solution4 1(database)
Solution4 1(database)Solution4 1(database)
Solution4 1(database)
ย 
cltv calculation-calyx corolla
cltv calculation-calyx corolla cltv calculation-calyx corolla
cltv calculation-calyx corolla
ย 

Similar to Database fundamentals(database)

Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.pptChSheraz3
ย 
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 CompleteRaj vardhan
ย 
Database :Introduction to Database System
Database :Introduction to Database SystemDatabase :Introduction to Database System
Database :Introduction to Database SystemZakriyaMalik2
ย 
1. intro
1. intro1. intro
1. introkhoahuy82
ย 
Database Systems
Database SystemsDatabase Systems
Database SystemsUsman Tariq
ย 
Ch 1 D B Environment
Ch 1  D B  EnvironmentCh 1  D B  Environment
Ch 1 D B Environmentguest8fdbdd
ย 
Data base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topicData base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topichoseg78377
ย 
Database Systems
Database SystemsDatabase Systems
Database SystemsUsman Tariq
ย 
Session1
Session1Session1
Session1asdf0000
ย 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdfTOUSEEQHAIDER14
ย 
1-introduction to DB.pdf
1-introduction to DB.pdf1-introduction to DB.pdf
1-introduction to DB.pdfMuniraALmogren
ย 
System Analysis And Design
System Analysis And DesignSystem Analysis And Design
System Analysis And DesignLijo Stalin
ย 
Adbms 4 historical development of database technology
Adbms 4 historical development of database technologyAdbms 4 historical development of database technology
Adbms 4 historical development of database technologyVaibhav Khanna
ย 

Similar to Database fundamentals(database) (20)

Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.ppt
ย 
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
ย 
Database :Introduction to Database System
Database :Introduction to Database SystemDatabase :Introduction to Database System
Database :Introduction to Database System
ย 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
ย 
1. intro
1. intro1. intro
1. intro
ย 
unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
ย 
lecture 1.pdf
lecture 1.pdflecture 1.pdf
lecture 1.pdf
ย 
Database Systems
Database SystemsDatabase Systems
Database Systems
ย 
Ch 1 D B Environment
Ch 1  D B  EnvironmentCh 1  D B  Environment
Ch 1 D B Environment
ย 
Data base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topicData base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topic
ย 
Database Systems
Database SystemsDatabase Systems
Database Systems
ย 
Session1
Session1Session1
Session1
ย 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdf
ย 
1-introduction to DB.pdf
1-introduction to DB.pdf1-introduction to DB.pdf
1-introduction to DB.pdf
ย 
Db lecture 1
Db lecture 1Db lecture 1
Db lecture 1
ย 
System Analysis And Design
System Analysis And DesignSystem Analysis And Design
System Analysis And Design
ย 
Intoduction- Database Management System
Intoduction- Database Management SystemIntoduction- Database Management System
Intoduction- Database Management System
ย 
DBMS
DBMSDBMS
DBMS
ย 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
ย 
Adbms 4 historical development of database technology
Adbms 4 historical development of database technologyAdbms 4 historical development of database technology
Adbms 4 historical development of database technology
ย 

More from welcometofacebook

Quantitative exercise-toasty oven
Quantitative exercise-toasty ovenQuantitative exercise-toasty oven
Quantitative exercise-toasty ovenwelcometofacebook
ย 
EVC exercise-novel motor oil
EVC exercise-novel motor oilEVC exercise-novel motor oil
EVC exercise-novel motor oilwelcometofacebook
ย 
jones blair calculations
jones blair calculationsjones blair calculations
jones blair calculationswelcometofacebook
ย 
EVC exercise-odi case
EVC exercise-odi caseEVC exercise-odi case
EVC exercise-odi casewelcometofacebook
ย 
consumer behavior(4210)
consumer behavior(4210)consumer behavior(4210)
consumer behavior(4210)welcometofacebook
ย 
competing in a global market(4210)
competing in a global market(4210)competing in a global market(4210)
competing in a global market(4210)welcometofacebook
ย 
promotion strategies(4210)
promotion strategies(4210)promotion strategies(4210)
promotion strategies(4210)welcometofacebook
ย 
pricing strategies(4210)
pricing strategies(4210)pricing strategies(4210)
pricing strategies(4210)welcometofacebook
ย 
distribution strategies calyx and corolla(4210)
distribution strategies calyx and corolla(4210)distribution strategies calyx and corolla(4210)
distribution strategies calyx and corolla(4210)welcometofacebook
ย 
distribution strategies(4210)
distribution strategies(4210)distribution strategies(4210)
distribution strategies(4210)welcometofacebook
ย 
the birth of swatch(4210)
the birth of swatch(4210)the birth of swatch(4210)
the birth of swatch(4210)welcometofacebook
ย 
product and brand strategies(4210)
product and brand strategies(4210)product and brand strategies(4210)
product and brand strategies(4210)welcometofacebook
ย 
stp case jones blair(4210)
stp case jones blair(4210)stp case jones blair(4210)
stp case jones blair(4210)welcometofacebook
ย 
situational analysis(4210)
situational analysis(4210)situational analysis(4210)
situational analysis(4210)welcometofacebook
ย 
quantitative analysis(4210)
quantitative analysis(4210)quantitative analysis(4210)
quantitative analysis(4210)welcometofacebook
ย 
overview of marketing strategy(4210)
overview of marketing strategy(4210)overview of marketing strategy(4210)
overview of marketing strategy(4210)welcometofacebook
ย 
Class+3+ +quantitative+analysis+exercise+answer+key
Class+3+ +quantitative+analysis+exercise+answer+keyClass+3+ +quantitative+analysis+exercise+answer+key
Class+3+ +quantitative+analysis+exercise+answer+keywelcometofacebook
ย 
CLTV exercise-Instyle
CLTV exercise-InstyleCLTV exercise-Instyle
CLTV exercise-Instylewelcometofacebook
ย 

More from welcometofacebook (20)

Quantitative exercise-toasty oven
Quantitative exercise-toasty ovenQuantitative exercise-toasty oven
Quantitative exercise-toasty oven
ย 
EVC exercise-novel motor oil
EVC exercise-novel motor oilEVC exercise-novel motor oil
EVC exercise-novel motor oil
ย 
jones blair calculations
jones blair calculationsjones blair calculations
jones blair calculations
ย 
EVC exercise-odi case
EVC exercise-odi caseEVC exercise-odi case
EVC exercise-odi case
ย 
consumer behavior(4210)
consumer behavior(4210)consumer behavior(4210)
consumer behavior(4210)
ย 
competing in a global market(4210)
competing in a global market(4210)competing in a global market(4210)
competing in a global market(4210)
ย 
promotion strategies(4210)
promotion strategies(4210)promotion strategies(4210)
promotion strategies(4210)
ย 
pricing strategies(4210)
pricing strategies(4210)pricing strategies(4210)
pricing strategies(4210)
ย 
Pharmasim
PharmasimPharmasim
Pharmasim
ย 
distribution strategies calyx and corolla(4210)
distribution strategies calyx and corolla(4210)distribution strategies calyx and corolla(4210)
distribution strategies calyx and corolla(4210)
ย 
distribution strategies(4210)
distribution strategies(4210)distribution strategies(4210)
distribution strategies(4210)
ย 
the birth of swatch(4210)
the birth of swatch(4210)the birth of swatch(4210)
the birth of swatch(4210)
ย 
product and brand strategies(4210)
product and brand strategies(4210)product and brand strategies(4210)
product and brand strategies(4210)
ย 
stp case jones blair(4210)
stp case jones blair(4210)stp case jones blair(4210)
stp case jones blair(4210)
ย 
stp(4210)
stp(4210)stp(4210)
stp(4210)
ย 
situational analysis(4210)
situational analysis(4210)situational analysis(4210)
situational analysis(4210)
ย 
quantitative analysis(4210)
quantitative analysis(4210)quantitative analysis(4210)
quantitative analysis(4210)
ย 
overview of marketing strategy(4210)
overview of marketing strategy(4210)overview of marketing strategy(4210)
overview of marketing strategy(4210)
ย 
Class+3+ +quantitative+analysis+exercise+answer+key
Class+3+ +quantitative+analysis+exercise+answer+keyClass+3+ +quantitative+analysis+exercise+answer+key
Class+3+ +quantitative+analysis+exercise+answer+key
ย 
CLTV exercise-Instyle
CLTV exercise-InstyleCLTV exercise-Instyle
CLTV exercise-Instyle
ย 

Recently uploaded

Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
ย 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
ย 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
ย 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
ย 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
ย 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7Call Girls in Nagpur High Profile Call Girls
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
ย 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
ย 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
ย 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
ย 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
ย 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
ย 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
ย 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
ย 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
ย 

Recently uploaded (20)

Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
ย 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
ย 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
ย 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
ย 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
ย 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
ย 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
ย 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
ย 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
ย 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
ย 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
ย 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
ย 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
ย 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
ย 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
ย 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
ย 

Database fundamentals(database)

  • 1. ISOM3260 Database Design & Administration Dr. Muller Cheung (L1/L2) Dr. James Thong (L3) Office hour: By appointment Email: mcheung@ust.hk; jthong@ust.hk Spring 2014
  • 2. 2 Todayโ€™s Agenda โ€ข Introduction to course โ€“ ISOM3260 website: http://teaching.ust.hk/~isom3260 โ€“ Midterms and Final exam โ€“ Group project โ€ข Database Fundamentals (Chap. 1)
  • 3. 3 Conduct in Class โ€ข Attend the lab you are enrolled in โ€ข Attend the lecture you are enrolled in โ€ข Be punctual for lab/lecture โ€ข Turn off mobile phones โ€ข Do not distract other students or instructor by talking with your friends
  • 4. 4 How to study for ISOM3260 โ€ข Attend lectures โ€“ Questions in exams will only include topics covered in lectures โ€ข Read the textbook for more information โ€ข Review lecture notes/textbook after lecture โ€ข Email questions to me or make appointment
  • 5. 5 What you will learn from this course โ€ข Database fundamentals โ€“ introduction to database concepts โ€ข Database development process โ€“ steps to develop a database โ€ข Conceptual data modeling โ€“ entity-relationship (ER) diagram; enhanced ER โ€ข Logical database design โ€“ transforming ER diagram into relations; normalization โ€ข Physical database design โ€“ technical specifications of the database โ€ข Database implementation โ€“ Structured Query Language (SQL), advanced SQL โ€ข Advanced topic โ€“ data warehousing; data and database administration
  • 7. 7 Database Fundamentals โ€ข Concepts โ€ข Disadvantages of file processing systems โ€ข The database approach โ€ข Advantages of database approach โ€ข Costs and risks of database approach โ€ข Range of database applications โ€ข Components of database environment โ€ข Evolution of database systems โ€ข Current development
  • 8. 8 Concepts โ€ข Data โ€“ stored representations of meaningful objects and events โ€“ structured data: numbers, text, dates โ€“ unstructured data: images, video, documents โ€ข Information โ€“ data processed to be useful in decision making โ€“ by putting data in a context or summarizing data โ€ข Database โ€“ an organized collection of logically related data โ€“ e.g. automobile repair database contains data on customers, automobiles, and repair history โ€ข Metadata โ€“ data that describes properties of user data
  • 9. 9 Figure 1-1a: Data in Context
  • 10. 10 Figure 1-1b: Summarized data Useful information that managers can use for decision making and interpretation
  • 11. 11 Table 1-1: Metadata for Class Roster Descriptions of the properties or characteristics of the data, including data types, field sizes, allowable values, and data context
  • 12. 12 Disadvantages of File Processing โ€ข Program-data dependence โ€“ all programs maintain metadata for each file they use โ€“ change to file structure requires changes to all programs that access the file โ€ข Data redundancy (duplication of data) โ€“ data changes in one file could cause inconsistencies, compromising data integrity โ€ข Limited data sharing โ€“ no centralized control of data โ€ข Lengthy development times โ€“ programmers must design their own file formats โ€ข Excessive program maintenance โ€“ consume 80% of information systems budget
  • 13. 13 Figure 1-2: Old file processing systems at Pine Valley Furniture Company Duplicate Data
  • 14. 14 The Database Approach Database Management System (DBMS) manages data resources like an operating system manages hardware resources Database containing centralized shared data
  • 15. 15 Advantages of Database Approach โ€ข Program-data independence โ€“ metadata not stored in programs, so programs do not need to worry about changes to data formats โ€“ results in increased productivity of application development and reduced program maintenance โ€ข Minimal data redundancy โ€“ avoid wasted storage space โ€“ leads to increased data integrity/consistency
  • 16. 16 Advantages of Database Approach โ€ข Improved data sharing โ€“ different users get different views of the data โ€ข Enforcement of standards โ€“ naming conventions, data quality standards, and uniform procedures for accessing, updating, and protecting data โ€ข Improved data quality โ€“ constraints are business rules that cannot be violated by database users โ€“ enforced by DBMS โ€ข Improved data accessibility and responsiveness โ€“ use of structured query language (SQL) โ€“ end users without programming experience can easily retrieve data
  • 17. 17 Costs and Risks of the Database Approach โ€ข Requires new, specialized personnel โ€ข Installation and management cost and complexity โ€“ requires new software and upgrades to hardware and data communications โ€“ substantial annual maintenance and support costs โ€ข Conversion costs โ€“ converting from legacy systems costs money and time โ€ข Need for explicit backup and recovery โ€“ shared corporate database must be accurate and available at all times โ€ข Organizational conflict โ€“ agreement on data definitions and ownership, responsibilities for accurate data maintenance โ€“ need strong top management support to resolve
  • 18. 18 Figure 1-3: Segment from enterprise data model (shows the high-level entities and their relationships)
  • 19. 19 Figure 1-3: Segment from enterprise data model (shows the high-level entities and their relationships) One customer places many orders, but each order is placed by a single customer ๏ƒ  One-to-many relationship
  • 20. 20 Figure 1-3: Segment from enterprise data model (shows the high-level entities and their relationships) One order contains many order lines; each order line is contained in a single order ๏ƒ  One-to-many relationship
  • 21. 21 Figure 1-3: Segment from enterprise data model (shows the high-level entities and their relationships) One product can be in many order lines, each order line refers to a single product ๏ƒ  One-to-many relationship
  • 22. 22 Figure 1-3: Segment from enterprise data model (shows the high-level entities and their relationships) Therefore, one order involves many products and one product is involved in many orders ๏ƒ  Many-to-many relationship
  • 23. 23 Order, Order_Line, Customer, and Product tables Relationships established in special columns that provide links between tables
  • 24. 24 Range of Database Applications
  • 25. 25 Typical data from a personal database on a PC, notebook, smartphone
  • 26. 26 Fig. 1-11: Two-Tier Database with Local Area Network
  • 27. Enterprise Database Applications โ€ข Enterprise Resource Planning (ERP) โ€“ business management system that integrates all enterprise functions (e.g., manufacturing, finance, sales, marketing, inventory, accounting, human resources) โ€ข Data Warehouse โ€“ an integrated decision support system derived from various operational databases 27
  • 29. 29 Components of the Database Environment โ€ข Computer-Aided Software Engineering (CASE) Tools โ€“ automated tools used to design databases and application programs โ€ข Repository โ€“ centralized storehouse of metadata โ€ข DBMS โ€“ software for managing the database โ€ข Database โ€“ storehouse of the data โ€ข Application Programs โ€“ software using the data โ€ข User Interface โ€“ text and graphical displays to users โ€ข Data/Database Administrators โ€“ personnel responsible for maintaining the database โ€ข System Developers โ€“ personnel responsible for designing application programs โ€ข End Users โ€“ people who use the applications and databases
  • 30. 30 Figure 1-5: Components of the database environment Note: All interactions with the database must go through the DBMS
  • 32. 32 Current Development โ€ข Relational DBMS has > 80% market share โ€ข Major Database Vendors โ€“ Oracle: Oracle 11g, Oracle 12c โ€“ IBM: DB2, Informix โ€“ Microsoft: MS SQL Server โ€“ SAP: Sybase โ€“ Teradata: Teradata
  • 33. 33 Current Development โ€ข Overall Market Share in 2012 โ€“ Oracle, IBM, and Microsoft dominate the market Source: Gartner, March 2013 Oracle, 48.30% IBM 19.30% Microsoft 18.17% Others 14.23% RDBMS Market Share Oracle IBM Microsoft Others
  • 34. 34 Current Development โ€ข Oracle โ€“ strong customer base on enterprise RDBMS market โ€“ industry recognition of Oracle 11g and 12c โ€“ strong penetration in Linux/Unix platforms โ€ข IBM โ€“ DB2 dominates mainframe platforms โ€ข Microsoft โ€“ strong penetration in Windows platform โ€“ getting popular particularly with Small and Medium Enterprises โ€ข Teradata โ€“ emphasis on business intelligence and data warehousing
  • 35. 35 Review Questions โ€ข Differences between data, database, information and metadata โ€ข What are the disadvantages of file processing? โ€ข What is the database approach? โ€ข What are the advantages of the database approach? โ€ข What are the costs and risks of the database approach? โ€ข What are the range of database applications? โ€ข What are the components of the database environment? โ€ข What are the popular databases?