Title: Chapter 10 Database System and Information System
1Chapter 10 Database System and Information System
2Data vs Information
- ?????? (Data) ????????????????????????????????????
???????????????????????? ?????? ??????
????????????????? ????????????????????????????????
???? ????????????????????????????(Text)
??????(Graphic) ?????(Sound) ??????(Image)
?????????????????(Video Clip) - ???????? (Information) ??? ??????????????????????
?????? ???????????????????????????????????
??????????????????????????????????????????????????
??
3Database
- ??????????????????????????????????????????????????
??????????????????????????????????????????????????
??????????????????????????????????
?????????????????? (Database) ????????????????????
????????????? (Database Program) - ????????????????????????????????????????
?????????????????????????????????????????, ?????,
????????,???????? ??????????????????? - ?????????????????????????????????????????????????
???? ????-??????? ????????????? ??????????????
???????
4Database
- ??????????????????????????????????????,
????????????, ???????????????? ????
??????????????? ????????????? ??????????,
?????????????????????????, ?????????????????????
????????????????? ???????????????????,
?????????????????????? ???????????? ?????????????
??????? - ??????????????????????????????????????????????????
?????????(Database Program) ??????????????????????
?? ????? ?? ???????????????????????????????? ????
Oracle, MS-Access
5?????????????????????????
- ??? (Bit Binary Digit) ?????????????????????????
?????????????????? ??????????????????????? 0 ????
1 ???????????????????????????????????????????????
?????????????????????????????????????? ???????
????????????????????????????????????????? 1 ???
????????????(Byte) - ????(Byte) ??????????(Character) ???????
??????????? ?????????????????? BIT ???????? ???? - ???????? A -gt 0100 0001
- ??? 4 -gt 0011 0100
6?????????????????????????
- ?????(Field) ???? ????????? ???
??????????????????????????????????????????????????
??????????????? - ????????????????????????? ??????? ???????????
- ??????????????????????????????????????????????????
????????????????????????(Data Type) - ???????????????? (Field name) ????? ????
????????????????? ????????????????? - ??????????????????????????? (Data Type) ????
- ???????????????????????? ?????????????????????????
??????????? ??????????????????????????? (Size)
????????????????
7Data Type
?????????????? (Data Type) ????????
Text(n) ???? Character(n) ????????????????????????????????????? ???? ???????????? ??????????? 20 ???????? ??????????????? Text(20)
Number ???????????????????????????????? ???? ????????? ????????
Logical ??????????????? ???? ???? ???? ???????? ???? ??????? True ????? False
Memo ?????????????????????????????????????????????? ???? ???????????????
Object ????????????????? Multimedia ???? ?????? ?????
8?????????????????????????
- ???????(Record) ???? ??????? ???????????????????
??????????????????????????? ??????????????????????
??????????? - ?????????????? ???????????????????????????
??????????????????????????????????? ?????
????????? ???? ????????(Key Field ???? Primary
Key) - ???????????? (File) ??? ????????????????????????
????????????????? - ????????? (Database) ?????????????????????????????
???????????????????????????????????
9??????????????
10????????????????????????????????????
??????????
???????????
11?????????????????????????Type of Database Program
- Database Program ?????????????????????????????????
??????? ?????????????????????????????????? ????
???????????????????, ????????, ?????,
?????????????????????????? - Database Program ???????? 2 ?????????
- ??????????????????????? (File Management System)
- ??????????????????? (Database Management System
DBMS)
12???????????????????????File Management Program
- ??????????????????????????????????????(Flat File)
??????????????????????????????????????????????????
?????????????????????? - ???????? Flat File ???????????????????????????????
????? - ????????????????????????????????????????
(Random) ???????????????????????????
??????????????????? (Sequential) - ??????????????????????????????? ??? ???????
Microsoft Excel - ????????????????????????????? ????????????????????
??????????????????????????????????????????????????
???????????????????
13???????????????????????File Management Program
- ?????
- ????????????????????????????? ?????????????????/??
?????????????? - ????????????????????? ????????????????????????????
??????????? - ???????????????????????????????????????????
- ?????????????????????? ???????????????????????????
?????????????????????????
14???????????????????????File Management Program
- ???????
- ??????????????????????????????????????????????????
?????? - ?????????/????????????????????????????????????????
?????????? - ??????????????????????????????????????????? ?
???? ?????????????????????????????????????????????
?????????????? - ?????????????????????????????????
???????????????????????????????????
??????????????????????????????????????????????????
?????????? ?????????????????????????
15???????????????????(DBMS)Database Management
System
- ??????????????????????????????????????????????????
????? - ?????????????????????????? ???????????????????????
?????????????? - ??????????????????????????? ??????????? ?? ?????
????????????????? ????????????????????????????????
??????????????
16???????????????????(DBMS)Database Management
System
- ?????
- ??????????????????????????????????????????
- ??????????????????????
- ?????????????????????
- ??????????????????????????
- ????????
- ???????????????????????????????
- ?????????????????/??????
17????????????????????????????Database Model
- ?????????????????(Hierarchy Model)
- ??????????????????????????????????????-???(Parent-
child) ???????????????????????????????????????????
????????????????? ????????????????????????????????
????????????????????????????? ????????????????????
???????????????? ????????? slide ?????
?????????????????????????????????,????????????????
?????????????????
18????????
???????????????????????
???????????????????????????????
19????????????????????????????Database Model
- ????????????????(Network Model)
- ??????????????????????????????????????-???(Parent-
child)?????????????????????? ?????????????????????
???????????????????????????????????????
??????????????????????????????????????????????????
?????????? - ???????????????????????????????????? ????
?????????????????????????????????????
??????????????????????????????????????????????????
?????? ?????????????????????????????
20????????
???????????????????????????????????
21????????????????????????????Database Model
- ??????????????(Objected-oriented Model)
- ??????????????????????????????????????????????????
?? ???? ??????, ??? ??? ????? ????????????????????
????(Object) ???? ????????????????????????????????
???????????????(Entity ?????????????,
???????,???????) ??? Object ??????????????????????
?????? ????????????????????????????????????????
????????????? ?????????????????????????????
?????????????????? ???????
22????????????????????????????Database Model
- ?????????????????(Relational Model )
- ????????????????? ????????????????????????????????
???????????????????????? ???????????????????(Table
) ?????????????????????????? ?????????????????????
?????(Data Item)????????????????
????????????????????(Field)???????????(Data
Item)???? ????????????????????????????????????????
???????(Record) ??? ??????????????????????????????
??????????????? ???? ???????????????(Relation)
?????????????????????????????????????????????????(
Primary Key) ??????????(Foreign Key)
23Primary key vs Foreign key
- ????????(Primary Key) ??? ????????????????????????
?????????????????????? ????????????????????
SalesID ????????????(Primary Key) ???????
Salesperson ?????????????????????????????????????
????????????? ???? SalesID ???????????????????????
??? Saleperson ??????????? ???????????????????????
???????????????????????????????????????????????
??????????????????????????????(Not Null) - ???????(Foreign Key) ??? ?????????????????????????
????????????????????????(??????????????? primary
Key ???????????) ?????????????????????????????????
???????? ??????????? SalesID ??????????? Foreign
Key ??????? Customer ?????????????? Salesman
??????????????????????????(Customer) ????????
SalesID ??????????????? Customer ????????????
24????????????????????????????Database Model
???????
????????
25???????????????????????????????Relational
Database Management System RDBMS
- ??????????????????????????????????????????
??????????????????????? ??????????????????
?????????? ???????????????????????????????????????
????? ????? ????? ????????? ??????????????????????
?????????????????????????????(Integrity)
??????????????????????????? ??????????????????
?????????????????????????????????????????????????
RDBMS ??????????????????? ????????????????????????
????????????????????????? - ??????????????????????????????????????????????????
?????????????????????????????????????????????????
(PC) ??????????????????? Microsoft Access , Lotus
Approach ????????????? Macintosh ??? Apple
Company?????? FileMaker Pro ?????????????????
Microsoft Windows ??????? ???????????????????(Serv
er) ???? Microsoft SQL Server ????????????
Mainframe ?????? Oracle, DB2 ??? Informix ???????
26????????????????????????????????????
- ????????????????????(Data Dictionary)
- ?????????????????????(Catalog) ???????????????????
???????????????????????????????????
??????????????????????????????????????????????????
??? ?????????????????? ???????????????(Field
name), ??????????(Field Type) ????(Size)
????????????? ??????????????????????????????(Valid
ation) ???????????(Default Value)
?????????????????????????????????????????????????
??????????????????????????????????????????????????
? Data Dictionary ????????????????????????????????
??????????????? ??????????????????? - ??????????????????????(Data Integrity Control)
- ???????????????????????????????????
??????????????????????????????????????????
(???????????????????????? ?? ???????????????)
??????????????????????????????????????????????
??????????????????????????????????????????????????
???????????? ????????????????????????????????
Integrity Constraints ???????????? Entity
Integrity, Referential Integrity - Entity Integrity ?????????????????????????????????
??????????????????? ??????????????????????????????
????? ???? ?????????????????????
??????????????????? ???? ?????????????????????????
(Primary Key) ????????????? ???? Referential
Integrity ????????????????????????????????????????
??????????????? ???? SalesID ???????????????????(C
ustomer) ??????????????????????????????????????(Sa
leperson)
27????????????????????????????????????
- ???????????????????(Data Maintenance)
- ?????????????/?????????????????????????
?????????????????? ?????????????????? ???????????
??????????????????????????????????????
?????????????????????????????????????????????????(
Interactive) ??????????????????????? Structure
Query Language (SQL) - ?????????????????????(Data Retrieval)
- ??????????????????????????????????????????????????
??????????? ???????????????????????????? 2 ???
????????????(Queries) ??? ?????????(Reports)
28?????????????? (Queries) ???????????????????????(
Report)
- ?????????(Queries) ??????????????????????????????
?????????? ?????????????????????????????(Structure
d Query Language SQL) ???? ????????????????????
(Query-by-example QBE) ?????????????????????????
???????? (graphical interface) ???????????????????
?????????????? ??????????????????? - ??????(Reports) ?????????????????????????????????
??????? ???????????????????????????????????????(Qu
ery) ????????????????????????????????????????(Repo
rt generator) ???????????
29???????????????????????????(SQL)
???????????????????????(QBE)
30????????????????????????????????????
- ?????????????????????????????(Concurrency
Control) - ??????????????????????????????????????? ????
????????????????????????????????????????????
??????????????????????? ??????????????????????????
???????????(Lock)?????????????????????????????????
?????????? ???????????????????????????????????????
???????? ?????????????????????????????????????????
??????????????????????????????????????????????????
? - ???????????????????????????????(Security control)
- ??????????????????????????????????????????????????
?? ???? ???????????????????????????????????????
(User ID) ???????????(Password) ?????????????
???????????????????????(Privilege)
????????????????????? ?????? ?????????????????????
???????????????????????????(Read only),
???????????????????????????(Data Update) ????
??????????????????????????????????????????(No
Privilege) - ????????????????????????????????(Data Backup and
Data Recovery) - ??????????????(Data Backup) ???????
???????????????????????????????????????
????????????????(Recovery) ???????????????????????
?????????????????????????????? ???????????????????
???????????????????
31??????????Data Warehouse
- ??? ??????????????????????????????????????????????
???????????????????????????? ?????????????????????
??????????????????????????????????????????????????
?? ????????????????????????????????????????????
??????????????????????? ????????????????
??????????????????????????????????????????????????
???????????????????????????????
??????????????????????????????????????????????????
??????????????????????? (Operational Database)
???????????????????????????????????????????????
(Summary Data) ??????????????????????????????????,
????????????? ?????????? ? ????????
????????????????????? ????????????????????????????
?????????????????????????????????????????????????
?? ????????????????? ?????????????????????????????
?????????????????????????????? ???????????????????
??????????????????????????????????????????????????
?????????????? ???????????????????
??????????????????????????????????????????????????
???????????????????????????????????????
32????????????????????????????
- ????????????????????????????????????????
????????????????????????????????????????????
????????????????????? ????????? - ??????????????????????????????????????????????
??????????????????????????????????????????????????
??????????????????????????????????????????????
??????????????????????????????????????????????????
????????????????? ????????????????????????????????
??????????????????????? ??????????????????????????
???????????? - ??????????????????????????????????????????????????
????????????? ????????????????????????????????????
??????????????? - ????????????????????????????????????????? Online
Analytical Processing ???? OLTP
??????????????????????????????????????????????????
??????? ??????????????????????????????????????????
??????????????????????? ??????????????????????????
?????????????????? ???????????????????????????????
?????????????????????????????? - ??????????????????????????????????????????????????
????? reengineering ?????????
33?????????????????????
- ??????????????????????????????????????????????????
??????????????????????????????(Transaction
Systems) ?????????????????????????????????????????
???????????????????????????? - ????????????????????????????????????????????????
???????????????????????????????????????? - ?????????????? Information Systems
?????????????????????????????????????????
?????????????????????????????? ???????????????????
?????????????????????????????????????????????????
????????????? - ??????????????????????????????????
??????????????????????????????????????????? ????
????????????????????????????? ????????????????????
?????????? - ???????????????????????????????????
????????????????????????????????????????????????
??????????????????????????????????????????????????
?? - ????????????????????????? (Data Queries)
???????????? ???????????????????? (Historical
Data) - ???????????????????????????????????????
??????????????????????????????????????????????????
?????????????????????????????????????
???????????????????????????????
34???????????? Information System
- ??????????????????? ??????????????????????????????
? ???????????(???????????????????)
??????????????????? ??????????????
???????????????????????????????????????????? ????
???????????? ??? ?????????????????????????????????
????????????????????????????????????
35?????????????????????????
- Hardware ?????????????????????????????????????????
? ???? ?????????????? ???????????
????????????????? ??????? - Software ?????????????????????????????????????????
???? - Data/Information ???????????????????????
- Procedure ???????????????????? ???????????????????
??????????????????????????????????????????????? - People ???????????????????????????
???????????????? ???????????????? ???????
36???????????????????????????Data Processing
- ??????(Data) ??????? ????????????????????????????
??????? ??????????????????????????????????????????
???? - Internal Source ?????????????????????? ????
?????????????????? - External Source ??????????????????????? ????
?????????????????????? ????????????????????????? - ????????????????? ??? ????????????????????????????
?????????? - ???????????(Processing) ???????? ??????????????
?????????????? - ????????(Information) ???????????????????????????
??????????????????????????
37???????????????????????
- Accessible ??????????????????????????
- Accuracy ???????????
- Completeness ???????????
- Relevant ????????????????????????????
- Currency ???????????/????????????
- Economics ???????????/???????
- Understandable ???????????????????
- Timeliness ????? , ??????????
- Secure ????????????????????
- Simple ???? ??????????????
- Verifiable ???????????????
38????????????????????????
- ????????????????, ?????? ??????????????
- ?????????????????????????????????
- ???????????????????
- ???????????????????????????????????????????
???????????????????
39?????????????????????????????????????????
- ????????????????????????????
- ?????????????????(Strategic Management)
- ??????????????????(Middle Management)
- ?????????????????/??????????(Operational
management)
40?????????????????Strategic Management
- ????????? ?????????????????? ???????????????????
? ???????????????????????????????????????? - ??????????? ????????????????????????????????????
???????????????????????? ???????????
??????????????????????????????? - ?????????????? ?????????????????????????????????
???? ?????????????????, ????????????????????
????????????????????????????? - ??????????? ?????????????????????????????????????
???? ???? ???????????????????, ???????????????????
????????, ????????????? ???????
41??????????????????Middle Management
- ????????? ??????????????????????????????????????
??????????????????????????????????? - ??????????? ????????????????????????????????????
??????? ??????????????????????????????????????????
?????? - ?????????????? ?????????????????????????????????
????????????? ????????????????????????????? ????
????????????????????? ???? ???????????????????????
?????????????????????? - ??????????? ????????????????????????????????????
?????????
42?????????????????Operational Management
- ????????? ????????????(Routine)
??????????????????????????????????????????
????????????????????? ???? ???????????????????????
????????????? - ??????????? ???????????????????????
?????????????????????????????????
?????????????????? ???? ??????????????????????????
????????? ????????????????????????????????????????
??????????????????? - ?????????????? ?????? ???? ?????????????????????
????????? ???????????????????? ???????????????????
???????? ???? ????????????????????????????????????
????????? ??????? - ??????????? ???????????????????????????????????
???? ?????????????? ????????????? ???????
43?????????????????Type of Information
- ????????????????????????????????????(Transaction
Process System TPS) - ??????????????????????????????????????????????????
????????? ???? ???????????????????????????????????
?? ???? ?????????????????????????(ATM)?????????
??????? ???????????????? ???? ????????????????? ,
??? ?????/??/????? ??????????????????????????????
? - ????????????????????????? ????????????????????????
??????????????????????????????????
?????????????????????????????????????????????
????????????????????????????????????????? ????
?????????????????(Payroll), ???????????????
(Inventory) , ????????????(Accounting) ???????
????????????????????????????????????????????????(O
perational User) ?????????????????????????
?????????????????????????????????????????????????
44Batch and Online Processing
- ???????????????????(Batch Processing )
- ??????????????????????????????????????????????????
??????????????????????????????????
???????????????????????????????
?????????????????????? ???????????????????????????
? ???? ?????????????? ????????????????????(Sequent
ial File) - ??????????????????(Online Processing)
- ??????????????????????????????????????????????????
???????????????? ?????????????????????????????????
???????????? ?????????????????????????????????????
???????????????????????? ???? ????????????????????
????????????????????????????????????????
????????????????????????????????????????
????????????????????????????????????
????????????????????????????????? ????
??????????????????????, ?????????????????????????(
ATM Automatic Teller Machine)
45??????????????????????????Management Information
System MIS
- ??????????????????????????????????????????????????
????????(TPS) ????????????????????? ????
???????????????????????????????? 3 ?????
???????????????????????????????? ??????? ????????
?????????????????????????????????????????????
???? ?????????????????????????????????????????????
?????????????? 3 ????? - ????????????????????????????? ????????????????????
???????????????? ?????????????????????????????????
??????????????????????????????
???????????????????????????????????
?????????????????? ???????????????????????????????
??(Data) ???????????????????????????????
?????????????????????????????????
??????????????????????? ??????????????????????????
????????????(Middle Management
46??????????????????????????Executive Information
System EIS
- ??????????????????????????????????????????????????
??????????????????????????????????????????????????
????????? ??????????????? ????????????????????????
????????????????????? ???????????????????/????????
??????????? ???????????????????????????????
?????????????????, ?????????????????????
??????????????????????????(Drill Down) - ?????????????????????????? ???????????????????????
?????? ???????????????????????????????????????????
??????????????????(TPS) ??? ?????????(MIS)
????????????????????????????????????????????????(?
??????????????????????) ???????? ????
??????????????????????????????????????? 5
?????????? ???????
47?????????????????????Office Automation System
OAS
- ??????????????????????????????????????????????????
??? ?????????????????????????????????????
??????????????????????????????????????????????????
? ?????????????????????????????????????????????
?????? - ????????????????????????(Word Processing)
- ?????????????(Spreadsheet)
- ?????????????????(Desktop Publishing)
- ?????????(Database)
- ??????????????????????(E-mail)
- ?????????????(Voice Mail)
- ??????????????????????????(Electronic Scheduling)
- ???????????????????(Video Conference)
48???????????????????????Decision Support System
DSS
- ??????????????????????????????????????????????????
???????????(??????????????????????????????????????
??) ?????????????????????????(????????????????????
???????????????????) ?????????????????????????????
???????????????????????????????????????
???????????????????????? ???????????????
???????????????????????????????????????????
??????????????????????????????????????????(MIS)
??????????????????????????????????????
49????????????????????????? MIS ??? DSS
MIS DSS
???????????????????? ????????????????????????????????????? ??????????????????? ?????????????????????????????????
?????????????????????????????????????? ???????????????????????????????? ???????????????? ???????????????
??????????????????????????????????????????????? ????????????????????? ??????????????????????????
???????????????????? ?? MIS ???????????????????????????????????????????????? ????????????????? DSS ????????????????????????????????????
50?????????????Artificial Intelligence AI
- ???????????????????????????????????????????
?????????????????????????? ??????????????????????
????????????? ???? ???????, ???????, ??????
??????? ??????????????????????????????????
?????????????????????????? ????????? ????
??????????????????????????????????????????????
51????????????????Expert System ES
- ????????????????????????????????????????? ???????
???????????????????????? ?????????????????????????
?????????? ???????????????????????????????????????
???????? ?????????????????????????????????????(Rul
e) ???????????????????????????????????????????????
???????????????????? ???????????????????????????(A
rtificial IntelligenceAI) - ??????????????????????????????????
??????????????????????? ??????????????????????????
???? ????????????????????????? ???????????????????
?????????(Knowledge-base System)
???????????????????????????????????????????????
????????????????????????????????? ??????????? DSS
????????????????????????? ????????????????????????
????
52?????????????????????????????
- Knowledge base ?????????????????????
- User interface ???????????????????
- Knowledge Engineer ?????????????????????????????
?????????????????????? - Inference Engine ??????????????????????????
53???????????????????????????????Group Decision
Support System (GDSS) ??? Computer Supported
Collaborative Work (CSCW)
- ??????????????????????????????????????????????????
??(Semi-structured) ??? ??????????????(Unstructure
d) ???????????????????????????????????????????????
???????? ????????????????? ???????????????????????
?????????????????????????? Groupware
?????????????????????????????????????????????????
54???????????????????????????????
- ?????????(Accounting)
- ??????????????????????????????????????????????????
?????????????????????????????????????
???????????????????????????????????? ,
???????????????(Cost Accounting System)
??????????????????????????????????????????????????
- ???????????(Finance)
- ?????????????????????????????????????????????
???????????? ?????????????????????????? ???????
?????? ???? ??????????????????????/????????
??????????????????????? ???? ?????????????????????
????????????????????????????????????????????????? - ????????????????????????????????(Manufacturing
and Inventory Control) - ??????????????????????????????????????????????????
???? ???? ????????????????????????????????????????
????(Minerals Requirement Planning) ,
????????????????????? ????????????????????????????
????????????????/??????????, ?????????????????(Man
ufacturing Resource Planning)
55???????????????????????????????
- ???????????(Marketing Sales and Customer Service)
- ????????????????????????????????????????????? ???
????????????? ????????? ??????????????????????????
?? ???? ????????????????(Market Research)
?????????????????????????, ??????????
???????????????????????????????????(E-Commerce) ,
??????????????????????????????????????????(Promoti
on) - ????????????????????(Human Resource Management
System) - ??????????????????????????????????
??????????????????????? ?????? ???????????????????
????????(Employee Record Management) ,
??????????(Training) ???????????????????????????
????????????????, ??????????????????????????(Evalu
ation) ???????????????????????????????????????????
????
56