SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
5장

Database Processing
This Could Happen to You

• Dee selected Movable Type
  application program
• Needs database program to store blog
  – Consultant suggested MySQL
  – Network standardized on Oracle
    • May not be able to run Movable Type
    • Will require revision of labor estimates
  – IT resists installing MySQL


                                                 5-2
Q1: What Is the Purpose of a
    Database?
 • To organize and keep track of things
 • Spreadsheets do that too
    – Keep lists of single concept
    – Example: Student test scores in a course
 • Databases
    – Keep lists that involve multiple themes/concepts
    – Examples: Student grades, grades for all courses in a
      department, courses offered in all departments, faculty
      records, and so on




                                                                5-3
Q2: What Does a Database Contain?
• Self-describing collection of integrated records
• Hierarchy of data elements
   – Bytes/data are grouped into columns/fields
   – Columns grouped into rows/records
   – Rows are grouped into tables/files
• Collection of tables plus relationships among rows
   – Also includes “metadata”
      • Describes the structure of the database

• A database is a structured collection of records or
  data that is stored in a computer system so that a
  computer program or person using a query
  language can consult it to answer queries.


                                                        5-4
Student Table
(also called a file)




                       5-5
Relationships Among Records
• Values in one table may relate to rows/records in
  other tables
• Keys
   – Column(s) that identify unique row in table
   – Each table has a key
• Foreign keys
   – Keys of a different table than the one in which they reside
• Relational databases
   – Databases using tables, keys, and foreign keys




                                                                   5-6
Example of Relationships
    Among Rows



Figure 5-6




                           5-7
Metadata
• Database is self-describing
  – Contains descriptions of its data
• Metadata
  – Data that describe data
  – Make databases more useful
  – Make databases easier to use
• Describe data
  – Data type
  – Field name
  – Field properties


                                        5-8
Q3: What Is a DBMS and
    What Does It Do?
• Database management system (DBMS)
   – Program that creates, processes, and administers database
   – Usually licensed from vendors
   – Examples: Microsoft Access, Oracle, MySQL, DB2

• DBMS and database are two different things
   – Database is a structured collection of records or data that is
     stored in a computer system so that a computer program or
     person using a query language can consult it to answer
     queries. The computer program used to manage and query
     a database is known as a database management system
     (DBMS).



                                                                      5-9
Components of a Database
   Application System




                           5-10
Database Management Systems

• DBMS used to create tables, relationships in
  databases

• Applications use DBMS to read, insert,
  modify, and delete data
  – Structured Query Language (SQL)
     • International standard for processing database




                                                        5-11
Creating the Database and Its Structure




                                          5-12
Processing the Database

• Four DBMS operations
  1.   Read data
  2.   Insert data
  3.   Modify data
  4.   Delete data
• Structured Query Language
  INSERT INTO Student
  ([Student Number], [Student Name], HW1, HW2,
      MidTerm)
  VALUES
  (1000, ‘Franklin, Benjamin’, 90, 95, 100)

                                                 5-13
Administering the Database

• DBMS security features used to set up user
  accounts, passwords, permissions,
  processing limits
  – Permissions – data access rights for specific users
    or groups of users
• Database backup and replication, adding
  structures, removing unneeded data




                                                     5-14
Q4: What Is a Database Application?

• Collection of forms, reports, queries, and
  application programs that process a database
• Databases can have multiple applications
• Applications can have multiple users




                                             5-15
Use of Multiple Database Applications




                                   5-16
Forms, Reports, and Queries
• Forms
  – Used to read, insert, modify, and delete data
• Reports
  – Show data in structured context
  – May compute values
• Queries
  – Are a means of getting answers from database
    data




                                                    5-17
Database Application Programs
• Application programs
  – Process logic specific to a business need
  – May enable database processing over Internet
    to:
     • Serve as intermediary between Web server and
       database
     • Respond to events
     • Read, insert, modify, delete data




                                                      5-18
Example of a Query




                     5-19
Q5: What Is the Difference Between an
    Enterprise DBMS and a Personal DBMS?

 • Enterprise DBMS
   – Processes large organizational and workgroup
     databases
   – Supports many users (thousands plus)
   – Examples: DB2, SQL Server, Oracle, DB2

 • Personal DBMS
   – Designed for smaller, simpler database
     applications
   – Supports fewer than 100 users
   – Examples: Access, dBase, FoxPro, Paradox, R-
     Base

                                                    5-20
Personal Database System




                           5-21
How Does the Knowledge in This
    Chapter Help Dee and You?
Helps to:
• Know what a DBMS is and what roles it can play
• Understand the diagram of the role of the DBMS for
  her blog
   – System is isolated from rest of databases
   – Uses MySQL as part of functionality of her application
• Be better able to explain what she wants, and that it is
  no threat or exception to Oracle standard
• Maybe avoid hiring a consultant


            Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall   5-22
Role of DBMS for Dee’s Blog




  Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall   5-23
Guide: No, Thanks, I’ll Use a
           Spreadsheet
• Databases take time to build
• Complicated to operate
   – May require use of multiple applications
• Need IS people to create it and keep it
  running
• Will share data that you may not want to
  expose
• Spreadsheets may be a better option in some
  cases

                                           5-24

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

ITE 101 - Week 5
ITE 101 - Week 5ITE 101 - Week 5
ITE 101 - Week 5
 
Database Administration
Database AdministrationDatabase Administration
Database Administration
 
Chap004
Chap004Chap004
Chap004
 
Chap005
Chap005Chap005
Chap005
 
Chap15
Chap15Chap15
Chap15
 
ITE 101 - Week 7
ITE 101 - Week 7ITE 101 - Week 7
ITE 101 - Week 7
 
Week 8
Week 8Week 8
Week 8
 
Management information system software
Management information system softwareManagement information system software
Management information system software
 
Database Administrator - Job Scope
Database Administrator - Job ScopeDatabase Administrator - Job Scope
Database Administrator - Job Scope
 
DBA Tips and Tricks - Presentation
DBA Tips and Tricks - PresentationDBA Tips and Tricks - Presentation
DBA Tips and Tricks - Presentation
 
Data & database administration hoffer
Data & database administration   hofferData & database administration   hoffer
Data & database administration hoffer
 
Dba
DbaDba
Dba
 
Data and database administration(database)
Data and database administration(database)Data and database administration(database)
Data and database administration(database)
 
ITE 101 - Week 1
ITE 101 - Week 1ITE 101 - Week 1
ITE 101 - Week 1
 
Software
SoftwareSoftware
Software
 
Chap01
Chap01Chap01
Chap01
 
Tasks of database administrator
Tasks of database administratorTasks of database administrator
Tasks of database administrator
 
IS740 Chapter 04
IS740 Chapter 04IS740 Chapter 04
IS740 Chapter 04
 
ITE 101 - Week 6
ITE 101 -  Week 6ITE 101 -  Week 6
ITE 101 - Week 6
 
Ch 1 D B Environment
Ch 1  D B  EnvironmentCh 1  D B  Environment
Ch 1 D B Environment
 

Andere mochten auch

[1st소나무]1 소통은청년의희망이다(이명관)
[1st소나무]1 소통은청년의희망이다(이명관)[1st소나무]1 소통은청년의희망이다(이명관)
[1st소나무]1 소통은청년의희망이다(이명관)Sanghyeok Park
 
[1st소나무]4 놀이를통한조직소통이기업을바꾼다(정은숙)
[1st소나무]4 놀이를통한조직소통이기업을바꾼다(정은숙)[1st소나무]4 놀이를통한조직소통이기업을바꾼다(정은숙)
[1st소나무]4 놀이를통한조직소통이기업을바꾼다(정은숙)Sanghyeok Park
 
[1st소나무]5 또하나의이웃다문화와통하다(이정기)
[1st소나무]5 또하나의이웃다문화와통하다(이정기)[1st소나무]5 또하나의이웃다문화와통하다(이정기)
[1st소나무]5 또하나의이웃다문화와통하다(이정기)Sanghyeok Park
 
[1st소나무]2 나의변화는가정을향한다(손성문이준하영남)
[1st소나무]2 나의변화는가정을향한다(손성문이준하영남)[1st소나무]2 나의변화는가정을향한다(손성문이준하영남)
[1st소나무]2 나의변화는가정을향한다(손성문이준하영남)Sanghyeok Park
 
[1st소나무]3 이웃의소통그리고마을의재발견(윤미숙)
[1st소나무]3 이웃의소통그리고마을의재발견(윤미숙)[1st소나무]3 이웃의소통그리고마을의재발견(윤미숙)
[1st소나무]3 이웃의소통그리고마을의재발견(윤미숙)Sanghyeok Park
 

Andere mochten auch (10)

Chap03 re
Chap03 reChap03 re
Chap03 re
 
[1st소나무]1 소통은청년의희망이다(이명관)
[1st소나무]1 소통은청년의희망이다(이명관)[1st소나무]1 소통은청년의희망이다(이명관)
[1st소나무]1 소통은청년의희망이다(이명관)
 
[1st소나무]4 놀이를통한조직소통이기업을바꾼다(정은숙)
[1st소나무]4 놀이를통한조직소통이기업을바꾼다(정은숙)[1st소나무]4 놀이를통한조직소통이기업을바꾼다(정은숙)
[1st소나무]4 놀이를통한조직소통이기업을바꾼다(정은숙)
 
[1st소나무]5 또하나의이웃다문화와통하다(이정기)
[1st소나무]5 또하나의이웃다문화와통하다(이정기)[1st소나무]5 또하나의이웃다문화와통하다(이정기)
[1st소나무]5 또하나의이웃다문화와통하다(이정기)
 
[1st소나무]2 나의변화는가정을향한다(손성문이준하영남)
[1st소나무]2 나의변화는가정을향한다(손성문이준하영남)[1st소나무]2 나의변화는가정을향한다(손성문이준하영남)
[1st소나무]2 나의변화는가정을향한다(손성문이준하영남)
 
Case mis ch03
Case mis ch03Case mis ch03
Case mis ch03
 
Chap02 re
Chap02 reChap02 re
Chap02 re
 
Bpmn
BpmnBpmn
Bpmn
 
[1st소나무]3 이웃의소통그리고마을의재발견(윤미숙)
[1st소나무]3 이웃의소통그리고마을의재발견(윤미숙)[1st소나무]3 이웃의소통그리고마을의재발견(윤미숙)
[1st소나무]3 이웃의소통그리고마을의재발견(윤미숙)
 
Ch7 bpmn
Ch7 bpmnCh7 bpmn
Ch7 bpmn
 

Ähnlich wie Case mis ch05

Database Systems Lec 1.pptx
Database Systems Lec 1.pptxDatabase Systems Lec 1.pptx
Database Systems Lec 1.pptxNishaTariq1
 
Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.pptChSheraz3
 
System Analysis And Design
System Analysis And DesignSystem Analysis And Design
System Analysis And DesignLijo Stalin
 
Management information system database management
Management information system database managementManagement information system database management
Management information system database managementOnline
 
PPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxPPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxUbaidURRahman78
 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdfTOUSEEQHAIDER14
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Jotham Gadot
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)Dilawar Khan
 
History of database processing module 1 (2)
History of database processing module 1 (2)History of database processing module 1 (2)
History of database processing module 1 (2)chottu89
 
What is database.pptx
What is database.pptxWhat is database.pptx
What is database.pptxaftabjordan1
 

Ähnlich wie Case mis ch05 (20)

Database Systems Lec 1.pptx
Database Systems Lec 1.pptxDatabase Systems Lec 1.pptx
Database Systems Lec 1.pptx
 
DBMS introduction
DBMS introductionDBMS introduction
DBMS introduction
 
Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.ppt
 
System Analysis And Design
System Analysis And DesignSystem Analysis And Design
System Analysis And Design
 
Rdbms
RdbmsRdbms
Rdbms
 
Chapter 5 data resource management
Chapter 5  data resource managementChapter 5  data resource management
Chapter 5 data resource management
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 
Management information system database management
Management information system database managementManagement information system database management
Management information system database management
 
Dbms unit 1
Dbms unit 1Dbms unit 1
Dbms unit 1
 
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
 
PPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxPPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptx
 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdf
 
Chap05 data resource mgt
Chap05 data resource mgtChap05 data resource mgt
Chap05 data resource mgt
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)
 
History of database processing module 1 (2)
History of database processing module 1 (2)History of database processing module 1 (2)
History of database processing module 1 (2)
 
What is database.pptx
What is database.pptxWhat is database.pptx
What is database.pptx
 
Foundations of business intelligence databases and information management
Foundations of business intelligence databases and information managementFoundations of business intelligence databases and information management
Foundations of business intelligence databases and information management
 
Unit 2
Unit 2Unit 2
Unit 2
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
 

Mehr von Sanghyeok Park

위기를 기회로, 그린 뉴딜을 이끄는 소셜벤처
위기를 기회로, 그린 뉴딜을 이끄는 소셜벤처위기를 기회로, 그린 뉴딜을 이끄는 소셜벤처
위기를 기회로, 그린 뉴딜을 이끄는 소셜벤처Sanghyeok Park
 
기브앤테이크 (Give and Take) 북리뷰
기브앤테이크 (Give and Take) 북리뷰기브앤테이크 (Give and Take) 북리뷰
기브앤테이크 (Give and Take) 북리뷰Sanghyeok Park
 
[북새통 037] 틀안에서 생각하기
[북새통 037] 틀안에서 생각하기[북새통 037] 틀안에서 생각하기
[북새통 037] 틀안에서 생각하기Sanghyeok Park
 
[북새통] 생각천재가 되는 세가지도구
[북새통] 생각천재가 되는 세가지도구[북새통] 생각천재가 되는 세가지도구
[북새통] 생각천재가 되는 세가지도구Sanghyeok Park
 
소셜벤처활성화방안-Lh소셜벤처사업을중심으로
소셜벤처활성화방안-Lh소셜벤처사업을중심으로소셜벤처활성화방안-Lh소셜벤처사업을중심으로
소셜벤처활성화방안-Lh소셜벤처사업을중심으로Sanghyeok Park
 
넛지 북새통 20171120
넛지 북새통 20171120넛지 북새통 20171120
넛지 북새통 20171120Sanghyeok Park
 
협력의진화 북새통 20171023
협력의진화 북새통 20171023협력의진화 북새통 20171023
협력의진화 북새통 20171023Sanghyeok Park
 
Why 기업가정신 20160331
Why 기업가정신 20160331Why 기업가정신 20160331
Why 기업가정신 20160331Sanghyeok Park
 
하루에 끝내는 연구방법론 20160326
하루에 끝내는 연구방법론 20160326하루에 끝내는 연구방법론 20160326
하루에 끝내는 연구방법론 20160326Sanghyeok Park
 
비전 기업가정신 20160317
비전 기업가정신 20160317비전 기업가정신 20160317
비전 기업가정신 20160317Sanghyeok Park
 
아이템 도출을 위한 Design Thinking
아이템 도출을 위한 Design Thinking아이템 도출을 위한 Design Thinking
아이템 도출을 위한 Design ThinkingSanghyeok Park
 
디자인씽킹과 비즈니스모델젠 Rev1
디자인씽킹과 비즈니스모델젠 Rev1디자인씽킹과 비즈니스모델젠 Rev1
디자인씽킹과 비즈니스모델젠 Rev1Sanghyeok Park
 
2016 경남과기대 창업대학원 신입생 안내
2016 경남과기대 창업대학원 신입생 안내2016 경남과기대 창업대학원 신입생 안내
2016 경남과기대 창업대학원 신입생 안내Sanghyeok Park
 
Design thinking 20150821_print
Design thinking 20150821_printDesign thinking 20150821_print
Design thinking 20150821_printSanghyeok Park
 
소셜벤처사례 20150613 박상혁
소셜벤처사례 20150613 박상혁소셜벤처사례 20150613 박상혁
소셜벤처사례 20150613 박상혁Sanghyeok Park
 
[인터넷전자상거래연구] 글로벌 무역전문가 양성프로그램(GTEP)이 지역 중소기업 생태계 환경에 미치는 영향: G...
[인터넷전자상거래연구] 글로벌 무역전문가 양성프로그램(GTEP)이 지역 중소기업 생태계 환경에 미치는 영향: G...[인터넷전자상거래연구] 글로벌 무역전문가 양성프로그램(GTEP)이 지역 중소기업 생태계 환경에 미치는 영향: G...
[인터넷전자상거래연구] 글로벌 무역전문가 양성프로그램(GTEP)이 지역 중소기업 생태계 환경에 미치는 영향: G...Sanghyeok Park
 
소셜한창조성 20141218 계명대
소셜한창조성 20141218 계명대소셜한창조성 20141218 계명대
소셜한창조성 20141218 계명대Sanghyeok Park
 
액션러닝을 이용한 중소기업 학습조직 구축에 대한 사례연구
액션러닝을 이용한 중소기업 학습조직 구축에 대한 사례연구액션러닝을 이용한 중소기업 학습조직 구축에 대한 사례연구
액션러닝을 이용한 중소기업 학습조직 구축에 대한 사례연구Sanghyeok Park
 
2015년도 경남과학기술대학교 창업대학원 입학안내
2015년도 경남과학기술대학교 창업대학원 입학안내 2015년도 경남과학기술대학교 창업대학원 입학안내
2015년도 경남과학기술대학교 창업대학원 입학안내 Sanghyeok Park
 

Mehr von Sanghyeok Park (20)

위기를 기회로, 그린 뉴딜을 이끄는 소셜벤처
위기를 기회로, 그린 뉴딜을 이끄는 소셜벤처위기를 기회로, 그린 뉴딜을 이끄는 소셜벤처
위기를 기회로, 그린 뉴딜을 이끄는 소셜벤처
 
기브앤테이크 (Give and Take) 북리뷰
기브앤테이크 (Give and Take) 북리뷰기브앤테이크 (Give and Take) 북리뷰
기브앤테이크 (Give and Take) 북리뷰
 
[북새통 037] 틀안에서 생각하기
[북새통 037] 틀안에서 생각하기[북새통 037] 틀안에서 생각하기
[북새통 037] 틀안에서 생각하기
 
[북새통] 생각천재가 되는 세가지도구
[북새통] 생각천재가 되는 세가지도구[북새통] 생각천재가 되는 세가지도구
[북새통] 생각천재가 되는 세가지도구
 
소셜벤처활성화방안-Lh소셜벤처사업을중심으로
소셜벤처활성화방안-Lh소셜벤처사업을중심으로소셜벤처활성화방안-Lh소셜벤처사업을중심으로
소셜벤처활성화방안-Lh소셜벤처사업을중심으로
 
넛지 북새통 20171120
넛지 북새통 20171120넛지 북새통 20171120
넛지 북새통 20171120
 
협력의진화 북새통 20171023
협력의진화 북새통 20171023협력의진화 북새통 20171023
협력의진화 북새통 20171023
 
Why 기업가정신 20160331
Why 기업가정신 20160331Why 기업가정신 20160331
Why 기업가정신 20160331
 
하루에 끝내는 연구방법론 20160326
하루에 끝내는 연구방법론 20160326하루에 끝내는 연구방법론 20160326
하루에 끝내는 연구방법론 20160326
 
비전 기업가정신 20160317
비전 기업가정신 20160317비전 기업가정신 20160317
비전 기업가정신 20160317
 
아이템 도출을 위한 Design Thinking
아이템 도출을 위한 Design Thinking아이템 도출을 위한 Design Thinking
아이템 도출을 위한 Design Thinking
 
디자인씽킹과 비즈니스모델젠 Rev1
디자인씽킹과 비즈니스모델젠 Rev1디자인씽킹과 비즈니스모델젠 Rev1
디자인씽킹과 비즈니스모델젠 Rev1
 
2016 경남과기대 창업대학원 신입생 안내
2016 경남과기대 창업대학원 신입생 안내2016 경남과기대 창업대학원 신입생 안내
2016 경남과기대 창업대학원 신입생 안내
 
Design thinking 20150821_print
Design thinking 20150821_printDesign thinking 20150821_print
Design thinking 20150821_print
 
소셜벤처사례 20150613 박상혁
소셜벤처사례 20150613 박상혁소셜벤처사례 20150613 박상혁
소셜벤처사례 20150613 박상혁
 
2015 creaction
2015 creaction2015 creaction
2015 creaction
 
[인터넷전자상거래연구] 글로벌 무역전문가 양성프로그램(GTEP)이 지역 중소기업 생태계 환경에 미치는 영향: G...
[인터넷전자상거래연구] 글로벌 무역전문가 양성프로그램(GTEP)이 지역 중소기업 생태계 환경에 미치는 영향: G...[인터넷전자상거래연구] 글로벌 무역전문가 양성프로그램(GTEP)이 지역 중소기업 생태계 환경에 미치는 영향: G...
[인터넷전자상거래연구] 글로벌 무역전문가 양성프로그램(GTEP)이 지역 중소기업 생태계 환경에 미치는 영향: G...
 
소셜한창조성 20141218 계명대
소셜한창조성 20141218 계명대소셜한창조성 20141218 계명대
소셜한창조성 20141218 계명대
 
액션러닝을 이용한 중소기업 학습조직 구축에 대한 사례연구
액션러닝을 이용한 중소기업 학습조직 구축에 대한 사례연구액션러닝을 이용한 중소기업 학습조직 구축에 대한 사례연구
액션러닝을 이용한 중소기업 학습조직 구축에 대한 사례연구
 
2015년도 경남과학기술대학교 창업대학원 입학안내
2015년도 경남과학기술대학교 창업대학원 입학안내 2015년도 경남과학기술대학교 창업대학원 입학안내
2015년도 경남과학기술대학교 창업대학원 입학안내
 

Kürzlich hochgeladen

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 

Kürzlich hochgeladen (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

Case mis ch05

  • 2. This Could Happen to You • Dee selected Movable Type application program • Needs database program to store blog – Consultant suggested MySQL – Network standardized on Oracle • May not be able to run Movable Type • Will require revision of labor estimates – IT resists installing MySQL 5-2
  • 3. Q1: What Is the Purpose of a Database? • To organize and keep track of things • Spreadsheets do that too – Keep lists of single concept – Example: Student test scores in a course • Databases – Keep lists that involve multiple themes/concepts – Examples: Student grades, grades for all courses in a department, courses offered in all departments, faculty records, and so on 5-3
  • 4. Q2: What Does a Database Contain? • Self-describing collection of integrated records • Hierarchy of data elements – Bytes/data are grouped into columns/fields – Columns grouped into rows/records – Rows are grouped into tables/files • Collection of tables plus relationships among rows – Also includes “metadata” • Describes the structure of the database • A database is a structured collection of records or data that is stored in a computer system so that a computer program or person using a query language can consult it to answer queries. 5-4
  • 6. Relationships Among Records • Values in one table may relate to rows/records in other tables • Keys – Column(s) that identify unique row in table – Each table has a key • Foreign keys – Keys of a different table than the one in which they reside • Relational databases – Databases using tables, keys, and foreign keys 5-6
  • 7. Example of Relationships Among Rows Figure 5-6 5-7
  • 8. Metadata • Database is self-describing – Contains descriptions of its data • Metadata – Data that describe data – Make databases more useful – Make databases easier to use • Describe data – Data type – Field name – Field properties 5-8
  • 9. Q3: What Is a DBMS and What Does It Do? • Database management system (DBMS) – Program that creates, processes, and administers database – Usually licensed from vendors – Examples: Microsoft Access, Oracle, MySQL, DB2 • DBMS and database are two different things – Database is a structured collection of records or data that is stored in a computer system so that a computer program or person using a query language can consult it to answer queries. The computer program used to manage and query a database is known as a database management system (DBMS). 5-9
  • 10. Components of a Database Application System 5-10
  • 11. Database Management Systems • DBMS used to create tables, relationships in databases • Applications use DBMS to read, insert, modify, and delete data – Structured Query Language (SQL) • International standard for processing database 5-11
  • 12. Creating the Database and Its Structure 5-12
  • 13. Processing the Database • Four DBMS operations 1. Read data 2. Insert data 3. Modify data 4. Delete data • Structured Query Language INSERT INTO Student ([Student Number], [Student Name], HW1, HW2, MidTerm) VALUES (1000, ‘Franklin, Benjamin’, 90, 95, 100) 5-13
  • 14. Administering the Database • DBMS security features used to set up user accounts, passwords, permissions, processing limits – Permissions – data access rights for specific users or groups of users • Database backup and replication, adding structures, removing unneeded data 5-14
  • 15. Q4: What Is a Database Application? • Collection of forms, reports, queries, and application programs that process a database • Databases can have multiple applications • Applications can have multiple users 5-15
  • 16. Use of Multiple Database Applications 5-16
  • 17. Forms, Reports, and Queries • Forms – Used to read, insert, modify, and delete data • Reports – Show data in structured context – May compute values • Queries – Are a means of getting answers from database data 5-17
  • 18. Database Application Programs • Application programs – Process logic specific to a business need – May enable database processing over Internet to: • Serve as intermediary between Web server and database • Respond to events • Read, insert, modify, delete data 5-18
  • 19. Example of a Query 5-19
  • 20. Q5: What Is the Difference Between an Enterprise DBMS and a Personal DBMS? • Enterprise DBMS – Processes large organizational and workgroup databases – Supports many users (thousands plus) – Examples: DB2, SQL Server, Oracle, DB2 • Personal DBMS – Designed for smaller, simpler database applications – Supports fewer than 100 users – Examples: Access, dBase, FoxPro, Paradox, R- Base 5-20
  • 22. How Does the Knowledge in This Chapter Help Dee and You? Helps to: • Know what a DBMS is and what roles it can play • Understand the diagram of the role of the DBMS for her blog – System is isolated from rest of databases – Uses MySQL as part of functionality of her application • Be better able to explain what she wants, and that it is no threat or exception to Oracle standard • Maybe avoid hiring a consultant Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 5-22
  • 23. Role of DBMS for Dee’s Blog Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 5-23
  • 24. Guide: No, Thanks, I’ll Use a Spreadsheet • Databases take time to build • Complicated to operate – May require use of multiple applications • Need IS people to create it and keep it running • Will share data that you may not want to expose • Spreadsheets may be a better option in some cases 5-24