Download Chapter 5 - It works

Document related concepts

IMDb wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Concurrency control wikipedia , lookup

Database wikipedia , lookup

Functional Database Model wikipedia , lookup

Relational model wikipedia , lookup

Clusterpoint wikipedia , lookup

ContactPoint wikipedia , lookup

Database model wikipedia , lookup

Transcript
Principles of
Information Systems
Eighth Edition
Chapter 5
Organizing Data and
Information
Principles and Learning
Objectives
• Data management and modeling are key aspects of organizing
data and information การจัดการข้อมูลและแบบจาลองเป็ น
ลักษณะสาคัญของการจัดการข้อมูลและสารสนเทศ
– Define general data management concepts and terms,
highlighting the advantages of the database approach to
data management กาหนดแนวคิดการบริ หารจัดการข้อมูล
ทัว่ ไปและเน้นถึงข้อดีของฐานข้อมูลเพื่อการจัดการข้อมูล
– Describe the relational database model and outline its
basic features อธิบายถึงรู ปแบบฐานข้อมูลและคุณสมบัติ
พื้นฐาน
Principles of Information Systems, Eighth Edition
2
Principles and Learning
Objectives (continued)
• A well-designed and well-managed database is an extremely
valuable tool in supporting decision making ฐาน ข้อมูลที่มีการ
ออกแบบที่ดีและการจัดการที่ดี เป็ นเครื่ องมือที่ มี ประโยชน์มาก
ในการช่วยตัดสิ นใจ
– Identify the common functions performed by all database
management systems and identify popular user database
management systems นิยามการทางานร่ วมกันด้วยทุก
ระบบการ จัดการฐานข้อมูล และระบุระบบการจัดการ
ฐานข้อมูลที่เป็ นที่นิยม
Principles of Information Systems, Eighth Edition
3
Principles and Learning
Objectives (continued)
• The number and types of database applications will continue to
evolve and yield real business benefits จานวนและประเภท
ของโปรแกรมฐานข้อมูลจะยังคงค่อยพัฒนาไปอย่างต่อเนื่อง
และผลิตผลกาไรทางได้จริ ง
– Identify and briefly discuss current database applications นิยาม
และหารื อโปรแกรมฐานข้อมูลปั จจุบนั อย่างคร่ าวๆ
Principles of Information Systems, Eighth Edition
4
Why Learn About Database
Systems?
• Database systems process and organize large amounts of data
ระบบฐานข้อมูลและกระบวนการจัดการข้อมูลที่มีปริ มาณมากๆ
• Examples: ตัวอย่าง:
– Marketing manager can access customer data ผูจ้ ดั การฝ่ าย
การตลาดสามารถเข้าถึงข้อมูลลูกค้าได้
– Corporate lawyer can access past cases and opinions
ทนายความบริ ษทั สามารถเข้าถึงกรณี ยอ้ นหลังและแสดง
ความคิดเห็นได้
Principles of Information Systems, Eighth Edition
5
Introduction
• Database: an organized collection of data ฐานข้อมูล: จัดเก็บ
ข้อมูล
• Database management system (DBMS): group of programs
to manage database ระบบการจัดการฐานข้อมูล (DBMS): กลุ่ม
ของโปรแกรมที่จดั การฐานข้อมูล
– Manipulates database จัดการฐานข้อมูล
– Provides an interface between database and the user of the
database and other application programs กาหนดพื้นที่
ระหว่างฐานข้อมูลและผูใ้ ช้ฐานข้อมูลและโปรแกรม
ประยุกต์อื่นๆ
• Database administrator (DBA): skilled IS professional who
directs all activities related to an organization’s database
ผูด้ ูแลระบบฐานข้อมูล (DBA): ทักษะระดับมืออาชีพเป็ นผู ้
บริ หารงานทั้งหมดโดยตรงที่เกี่ยวข้องกับฐานข้อมูลขององค์กร
Principles of Information Systems, Eighth Edition
6
Data Management
• Without data and the ability to process it, an organization
could not successfully complete most business activities
ไม่มีขอ้ มูลก้อไม่สามารถการดาเนินการได้ องค์กรก็จะไม่
ประสบความสาเร็ จในกิจกรรมทางธุรกิจส่ วนใหญ่
• Data consists of raw facts ข้อมูลประกอบด้วยข้อเท็จจริ งดิบ
• To transform data into useful information, it must first be
organized in a meaningful way เปลี่ยนข้อมูลเป็ นสารสนเทศที่
เป็ นประโยชน์ มันเป็ นตัวแรกที่จดั การในวิธีทาง
Principles of Information Systems, Eighth Edition
7
The Hierarchy of Data
• Bit (a binary digit): represents a circuit that is either on or off
บิต (บิต): เป็ นวงจรทั้ง ปิ ด หรื อ ปิ ด
• Byte: typically made up of eight bits Byte: มีค่า 8 บิต
• Character: a byte represents a character; the basic building
block of information ตัวอักษร: 1 ตัวอักษรเท่ากับ 1 byte เป็ น
โครงสร้างพื้นฐานของสารสนเทศ
– Can be an uppercase letter, lowercase letter, numeric digit,
or special symbol อาจเป็ นตัวพิมพ์ใหญ่, ตัวพิมพ์เล็,ตัวเลข
หรื ออักขระพิเศษ
• Field: typically a name, number, or combination of characters
that describes an aspect of a business object or activity ฟิ ลด์:
ชื่อปกติ ตัวเลข หรื อชุดของตัวอักษร ที่อธิบายลักษณะของ
วัตถุประสงค์ของธุรกิจหรื อกิจกรรม
Principles of Information Systems, Eighth Edition
8
The Hierarchy of Data
(continued)
• Record: collection of related data fields บันทึก: เก็บรวบรวม
ข้อมูลที่เกี่ยวข้องกันลงในฟิ ลด์
• File: collection of related records ไฟล์: เก็บรวบรวมข้อมูล ที่
เกี่ยวข้องลงในเรคคอร์ด
• Database: collection of integrated and related files ฐานข้อมูล:
เก็บรวบรวมไฟล์ที่ผสมผสานกันและเกี่ยวข้องกัน
• Hierarchy of data ลาดับชั้นของข้อมูล
– Bits, characters, fields, records, files, and databases บิต ตัว
อักษร ฟิ ลด์ เรคคอร์ด ไฟล์ และ ฐานข้อมูล
Principles of Information Systems, Eighth Edition
9
The Hierarchy of Data
(continued)
Figure 5.1: The Hierarchy of Data
Principles of Information Systems, Eighth Edition
10
Data Entities, Attributes, and
Keys
• Entity: generalized class of people, places, or things (objects)
for which data is collected, stored, and maintained องค์กร:
ระดับทัว่ ไปของคน สถานที่ หรื อสิ่ งของ (วัตถุ) ซึ่งข้อมูลจะถูก
เก็บ สารองและรักษาไว้
• Attribute: characteristic of an entity คุณสมบัติ: ลักษณะของ
องค์กร
• Data item: specific value of an attribute รายการข้อมูล: ค่า
เฉพาะของคุณสมบัติ
• Key: field or set of fields in a record that is used to identify the
record คีย:์ ฟิ ลด์ หรื อ ชุดของฟิ ลด์ในเรคคอร์ดที่ใช้ในการระบุ
รายการ
• Primary key: field or set of fields that uniquely identifies the
record คียห์ ลัก: ฟิ ลด์หรื อชุดของฟิ ลด์ที่ระบุเฉพาะรายการ
Principles of Information Systems, Eighth Edition
11
Data Entities, Attributes, and
Keys (continued)
Figure 5.2: Keys and Attributes
Principles of Information Systems, Eighth Edition
12
The Database Approach
• Traditional approach to data management: separate data
files are created and stored for each application program วิธี
ดั้งเดิมในการจัดการข้อมูล: แยกข้อมูลที่ถูกสร้างและเก็บไว้ที่แต่
ละโปรแกรม
• Database approach to data management: a pool of related
data is shared by multiple application programs แนวทางการ
จัดการฐานข้อมูล: กลุ่มของ ข้อมูลที่ถูก share โดยโปรแกรม
ประยุกต์
– Offers significant advantages over the traditional filebased approach มีขอ้ ได้เปรี ยบมากกว่าวิธีเก็บข้อมูลแบบ
ดั้งเดิม
Principles of Information Systems, Eighth Edition
13
The Database Approach
(continued)
Figure 5.3: The Database Approach to Data
Management
Principles of Information Systems, Eighth Edition
14
The Database Approach
(continued)
Table 5.1: Advantages of the Database Approach
Principles of Information Systems, Eighth Edition
15
The Database Approach
(continued)
Table 5.1: Advantages of the Database Approach
(continued)
Principles of Information Systems, Eighth Edition
16
The Database Approach
(continued)
Table 5.2: Disadvantages of the Database Approach
Principles of Information Systems, Eighth Edition
17
Data Modeling and the
Relational Database Model
• When building a database, an organization must consider: เมื่อ
สร้างฐาน ข้อมูลให้องค์กร ต้องพิจารณาดังนี้:
– Content: What data should be collected and at what cost?
เนื้อหา: ข้อมูลอะไรที่ควรจะรวบรวมและมีค่าใช้จ่าย
อะไรบ้าง
– Access: What data should be provided to which users and
when? Access: ขัอมูลอะไรที่ควรจะให้มีเงื่อนไขและเมื่อใด
– Logical structure: How should data be arranged so that it
makes sense to a given user? โครงสร้าง Logical: ควรจะ
จัดการข้อมูลอย่างไรเพื่อให้เหมาะสมกับผูใ้ ช้งาน?
– Physical organization: Where should data be physically
located? องค์กร Physical: ข้อมูลควรจะเก็บที่ไหน?
Principles of Information Systems, Eighth Edition
18
Data Modeling
• Building a database requires two types of designs การสร้าง
ฐานข้อมูลออกแบบได้ 2 ประเภท
– Logical design: abstract model of how the data should be
structured and arranged to meet an organization’s
information needs การออกแบบฐานข้อมูลในระดับตรรกะ
: ข้อมูลควรจะจัดโครงสร้างและจัดการตามความต้องการ
ขององค์กร
– Physical design: starts from the logical database design
and fine-tunes it for performance and cost considerations
การออกแบบเชิงกายภาพ: เริ่ มต้นจากการออกแบบฐาน
ข้อมูลในระดับตรรกะและปรับให้ดีข้ ึนเพื่อประสิ ทธิภาพ
และพิจารณาเรื่ องค่าใช้จ่าย
Principles of Information Systems, Eighth Edition
19
Data Modeling (continued)
• Data model: diagram of data entities and their relationships
รู ปแบบข้อมูล: แผนภูมิ ข้อมูลและความสัมพันธ์
• Entity-relationship (ER) diagrams: data models that use
basic graphical symbols to show the organization of and
relationships between data แผนผังเชิงสัมพัทธ์ (ER): รู ปแบบ
ข้อมูลที่ใช้น้ นั เป็ นรู ปภาพสัญลักษณ์พ้นื ฐาน เพื่อแสดงถึง
องค์กรและความสัมพันธ์กนั ระหว่างข้อมูล
Principles of Information Systems, Eighth Edition
20
Data Modeling (continued)
Figure 5.4: An Entity-Relationship (ER) Diagram for a
Customer Order Database
Principles of Information Systems, Eighth Edition
21
The Relational Database
Model
• Relational model: describes data in which all data elements
are placed in two-dimensional tables, called relations, that are
the logical equivalent of files แบบจาลองขัอมูลเชิงสัมพันธ์:
อธิบายถึงข้อมูลที่ทุกองค์ประกอบของข้อมูลอยูร่ ู ปแบบ 2 มิติ
เรี ยกว่า สัมพันธ์ เทียบเท่ากับตรรกะของไฟล์
– Each row of a table represents a data entity แต่ละแถวของ
ตารางแสดงให้เห็นถึงเอกลักษณ์ของข้อมูล
– Columns of the table represent attributes คอลัมน์ของ
ตารางแสดงถึงคุณลักษณะ
– Domain: allowable values for data attributes
Principles of Information Systems, Eighth Edition
22
The Relational Database
Model (continued)
Figure 5.5: A Relational Database Model
Principles of Information Systems, Eighth Edition
23
The Relational Database
Model (continued)
• Selecting: eliminates rows according to certain criteria
การเลือก : จัดลาดับแถวตามเกณฑ์ความสาคัญ
• Projecting: eliminates columns in a table
โปรเจคติ้ง : จัดคอลัมน์ในตาราง
• Joining: combines two or more tables
การเข้าร่ วม : การรวมอย่างน้อยสองตาราง
• Linking: manipulating two or more tables that share at least
one common data attribute to provide useful information and
reports การเชื่อมโยง : จัดการกับตาราง 2 ตารางหรื อมากกว่า
เพื่อแบ่งปั นคุณสมบัติของข้อมูลเพื่อให้ขอ้ มูลที่เป็ นประโยชน์
และรายงานผลออกมา
Principles of Information Systems, Eighth Edition
24
The Relational Database
Model (continued)
Figure 5.6: A Simplified ER Diagram Showing the
Relationship Between the Manager, Department,
and Project Tables
Principles of Information Systems, Eighth Edition
25
The Relational Database
Model (continued)
Figure 5.7: Linking Data Tables to Answer an Inquiry
Principles of Information Systems, Eighth Edition
26
The Relational Database
Model (continued)
• Data cleanup: process of looking for and fixing
inconsistencies to ensure that data is accurate and complete
ล้างข้อมูล : กระบวนการของการมองหาและแก้ไขสิ่ งที่ไม่สอดคล้องกัน
เพื่อให้แน่ใจว่าข้อมูลถูกต้องและสมบูรณ์
– Eliminate redundancies and anomalies กาจัดความซ้ าซ้อนและ
ความผิดปกติ
Principles of Information Systems, Eighth Edition
27
The Relational Database
Model (continued)
Table 5.3: Fitness Center Dues
Principles of Information Systems, Eighth Edition
28
The Relational Database
Model (continued)
Table 5.4: Fitness Center Members
Table 5.5: Dues Paid
Principles of Information Systems, Eighth Edition
29
Database Management
Systems (DBMSs)
• Creating and implementing the right database system ensures
that the database will support both business activities and goals
การสร้างและปรับปรุ งระบบฐานข้อมูลที่เหมาะสมเพื่อให้แน่ใจ
ว่าฐานข้อมูลที่จะช่วยเหลือทั้งทางด้านการดาเนินทางธุรกิจและ
เป้าหมายของธุรกิจ
• DBMS: a group of programs used as an interface between a
database and application programs or a database and the user
DBMS : กลุ่มของโปรแกรมที่ใช้เชื่อมต่อระหว่างฐานข้อมูลและ
โปรแกรมประยุกต์หรื อฐานข้อมูลและผูใ้ ช้
Principles of Information Systems, Eighth Edition
30
Overview of Database Types
• Flat file
– Simple database program whose records have no
relationship to one another โปรแกรมฐานข้อมูลอย่างง่ายที่
บันทึกไว้โดยไม่ตอ้ งเชื่อมความสัมพันธ์กบั สิ่ งอื่น
• Single user
– Only one person can use the database at a time มีเพียงคน
เดียวที่สามารถใช้ฐานข้อมูลในเวลาขณะนั้น
– Examples: Access, FileMaker, and InfoPath
• Multiple user
– Allows dozens or hundreds of people to access the same
database system at the same time อนุญาตให้คนหลายร้อย
คนสามารถเข้าสู่ ระบบฐานข้อมูลเดียวกันได้ในเวลาเดียวกัน
– Examples: Oracle, Sybase, and IBM
Principles of Information Systems, Eighth Edition
31
Providing a User View
• Schema: description of the entire database สชีม่า : รายละเอียด
ของฐานข้อมูลทั้งหมด
– Typically used by large database systems to define tables
and other database features associated with a person or
user โดยปกติแล้วจะถูกใช้โดยระบบฐานข้อมูลขนาดใหญ่เพื่อ
กาหนดตารางและคุณสมบัติฐานข้อมูลอื่นๆ ที่เกี่ยวข้องกับ
บุคคลหรื อผูใ้ ช้
• A DBMS can reference a schema to find where to access the
requested data in relation to another piece of data
DBMS สามารถอ้างถึงการค้นหา schema เพื่อที่เข้าถึงข้อมูลที่
ต้องการที่มีความสัมพันธ์กบั ข้อมูลในส่ วนอื่นๆ
Principles of Information Systems, Eighth Edition
32
Creating and Modifying the
Database
• Data definition language (DDL): collection of instructions
and commands used to define and describe data and
relationships in a specific database ข้อมูลภาษานิยาม (DDL) :
ชุดของคาแนะนาและคาสัง่ ที่ใช้ในการกาหนดและอธิบายข้อมูล
และความสัมพันธ์ในฐานข้อมูลเฉพาะ
– Allows the database’s creator to describe the data and
relationships that are to be contained in the schema ยอมให้
ผูส้ ร้างฐานข้อมูลอธิบายข้อมูลและความสัมพันธ์ที่เป็ นอยูใ่ น
สคีมา
• Data dictionary: detailed description of all the data used in
the database ข้อมูลพจนานุกรม : รายละเอียดของข้อมูลทั้งหมด
ที่ใช้ในฐานข้อมูล
Principles of Information Systems, Eighth Edition
33
Creating and Modifying the
Database (continued)
Figure 5.10: Using a Data Definition Language to
Define a Schema
Principles of Information Systems, Eighth Edition
34
Creating and Modifying the
Database (continued)
Figure 5.11: A Typical Data Dictionary Entry
Principles of Information Systems, Eighth Edition
35
Storing and Retrieving Data
• When an application program requests data from the DBMS,
the application program follows a logical access path
เมื่อโปรแกรมประยุกต์ตอ้ งการข้อมูลจาก DBMS โปรแกรม
ประยุกต์จะเข้าไปตามเส้นทางการเข้าใช้ทางตรรกะ
• When the DBMS goes to a storage device to retrieve the
requested data, it follows a path to the physical location
(physical access path) where the data is stored
เมื่อ DBMS ไปถึงอุปกรณ์จดั เก็บข้อมูลเพื่อดึงข้อมูลที่ตอ้ งการ
แล้วจะเดินทางไปยังตาแหน่งทางกายภาพ (ทางเข้าทางกายภาพ)
ที่ซ่ ึงข้อมูลถูกเก็บไว้
Principles of Information Systems, Eighth Edition
36
Storing and Retrieving Data
(continued)
Figure 5.12: Logical and Physical Access Paths
Principles of Information Systems, Eighth Edition
37
Manipulating Data and
Generating Reports
• Data manipulation language (DML): commands that
manipulate the data in a database ภาษาจัดการข้อมูล (dml) :
คาสัง่ ที่จดั การกับข้อมูลในฐานข้อมูล
• Structured Query Language (SQL) โครงสร้างภาษา
แบบสอบถาม
– Adopted by the American National Standards Institute
(ANSI) as the standard query language for relational
databases ถูกยอมรับโดย American National Standards
Institute (ANSI) เป็ นภาษาแบบสอบถามมาตรฐานสาหรับ
ฐานข้อมูลเชิงสัมพันธ์
• Once a database has been set up and loaded with data, it can
produce reports, documents, and other outputs เมื่อฐานข้อมูลที่
ได้รับการติดตั้งและเต็มไปด้วยข้อมูล มันสามารถผลิตรายงาน
เอกสาร และอื่นๆออกมาได้
Principles of Information Systems, Eighth Edition
38
Manipulating Data and
Generating Reports
(continued)
Table 5.6: Examples of SQL Commands
Principles of Information Systems, Eighth Edition
39
Database Administration
• Role of the database administrator (DBA): plan, design, create,
operate, secure, monitor, and maintain databases บทบาท ของ
ผูด้ ูแลระบบฐานข้อมูล (DBA) : วางแผน, ออกแบบ, สร้าง,
ทางาน, การรักษาความปลอดภัยตรวจสอบและบารุ งรักษา
ฐานข้อมูล
• DBA works with both users and programmers DBA ทางาน
ร่ วมกับผูใ้ ช้และโปรแกรมเมอร์
• A data administrator is responsible for defining and
implementing consistent principles for a variety of data issues,
including setting data standards and data definitions; a
nontechnical position ผูด้ ูแลข้อมูลมีหน้าที่ในการกาหนดและ
ปรับปรุ งหลักให้สอดคล้องสาหรับปั ญหาข้อมูลทั้งหลาย รวมถึง
การตั้งค่าตามมาตรฐานข้อมูลและข้อกาหนดข้อมูล; ไม่ใช้
ตาแหน่งช่างเทคนิค
Principles of Information Systems, Eighth Edition
40
Popular Database
Management Systems
• Popular DBMSs for end users include Microsoft’s Access and
FileMaker Pro
DBMSs ที่เป็ นที่นิยมสาหรับ ได้แก่ Microsoft Access และ
FileMaker Pro
• Complete database management software market includes:
โปรแกรมจัดการฐานข้อมูลแบบสมบูรณ์ ประกอบไปด้วย:
– Software for professional programmers โปรแกรมสาหรับ
โปรแกรมเมอร์มืออาชีพ
– Databases for midrange, mainframe, and supercomputers
ฐานข้อมูลสาหรับ midrange, เมนเฟรมและซูเปอร์คอมพิวเตอร์
• Examples of open-source database systems: PostgreSQL and
MySQL ตัวอย่างของระบบฐานข้อมูลแบบ open-source :
PostgreSQL และ MySQL
• Many traditional database programs are now available on
open-source operating systems โปรแกรมฐานข้อมูลแบบดังเดิม
หลายๆตัวมีอยูใ่ นระบบปฏิบตั ิการแบบ open-source
Principles of Information Systems, Eighth Edition
41
Special-Purpose Database
Systems
• Some specialized database packages are used for specific
purposes or in specific industries แพคเกจฐานข้อมูลบางอย่าง
จะถูกใช้เพื่อวัตถุประสงค์เฉพาะหรื อในอุตสาหกรรมเฉพาะ
– Israeli Holocaust Database (www.yadvashem.org)
– Hazmat database
– Art and Antique Organizer Deluxe
• Special-purpose database by Tableau can be used to store and
process visual images ฐานข้อมูลวัตถุประสงค์พิเศษโดย
Tableau สามารถใช้ในการจัดเก็บและการสร้างภาพ
Principles of Information Systems, Eighth Edition
42
Selecting a Database
Management System
• Important characteristics of databases to consider ลักษณะ
สาคัญของฐานข้อมูลสาหรับพิจารณา
– Database size ขนาดฐานข้อมูล
– Database cost ราคาฐานข้อมูล
– Concurrent users จานวนผูใ้ ช้งานที่รองรับได้
– Performance ความสามารถ
– Integration การรวมกันได้
– Vendor ผูจ้ าหน่าย
Principles of Information Systems, Eighth Edition
43
Using Databases with Other
Software
• DBMSs can act as front-end or back-end applications DBMSs
สามารถทาหน้าที่เป็ นได้ท้ งั front - end หรื อ back-end
– Front-end applications interact directly with people or
users โปรแกรม Front - end ติดต่อโดยตรงกับคนหรื อผูใ้ ช้
– Back-end applications interact with other programs or
applications โปรแกรม back-end ติดต่อกับโปรแกรมอื่นๆหรื อ
ส่ วนอื่นๆ
Principles of Information Systems, Eighth Edition
44
Database Applications
• Today’s database applications manipulate the content of a
database to produce useful information โปรแกรมฐานข้อมูลใน
ทุกวันนี้จดั การเนื้อหาของฐานข้อมูลเพื่อเป็ นประโยชน์ในการ
ทางาน
• Common manipulations are searching, filtering, synthesizing,
and assimilating the data contained in a database using a
number of database applications การจัดการทางการค้นหา, การ
กรอง, การสังเคราะห์และการทาให้ขอ้ มูลในฐานข้อมูล
เหมือนกันโดยใช้จานวนของโปรแกรมฐานข้อมูล
Principles of Information Systems, Eighth Edition
45
Linking Databases to the
Internet
• Linking databases to the Internet is important for many
organizations and people ฐานข้อมูลเชื่อมโยงกับถึงอินเทอร์เน็ต
เป็ นสิ่ งสาคัญสาหรับหลายองค์กรและบุคคล
• Semantic Web
– Developing a seamless integration of traditional databases
with the Internet พัฒนาการรวมราบรื่ นของฐานข้อมูลแบบ
ดั้งเดิมกับอินเทอร์เน็ต
– Allows people to access and manipulate a number of
traditional databases at the same time through the Internet
ช่วยให้คนเข้าถึงและจัดการกับจานวนของฐานข้อมูลแบบดั้งเดิม
ในเวลาเดียวกันผ่านทางอินเทอร์เน็ต
Principles of Information Systems, Eighth Edition
46
Data Warehouses, Data
Marts, and Data Mining
• Data warehouse: database that collects business information
from many sources in the enterprise, covering all aspects of the
company’s processes, products, and customers ฐานข้อมูลที่
รวบรวมแหล่งข้อมูลทางธุรกิจจานวนมากในองค์กรครอบคลุม
ในทุกด้านของกระบวนการของบริ ษทั ผลิตภัณฑ์และลูกค้า
• Data mart: subset of a data warehouse เซตย่อยของ data
warehouse
• Data mining: information-analysis tool that involves the
automated discovery of patterns and relationships in a data
warehouse เครื่ องมือการวิเคราะห์ขอ้ มูลซึ่งเกี่ยวข้องกับการ
ค้นหาโดยรู ปแบบอัตโนมัติและสัมพันธ์กนั ใน data warehouse
Principles of Information Systems, Eighth Edition
47
Data Warehouses, Data
Marts, and Data Mining
(continued)
Figure 5.17: Elements of a Data Warehouse
Principles of Information Systems, Eighth Edition
48
Data Warehouses, Data
Marts, and Data Mining
(continued)
Table 5.8: Common Data-Mining Applications
Principles of Information Systems, Eighth Edition
49
Business Intelligence
• Business intelligence (BI): process of gathering enough of the
right information in a timely manner and usable form and
analyzing it to have a positive impact on business strategy,
tactics, or operations ธุรกิจอัจฉริ ยะภาพ (BI) : กระบวนการ
ของการรวบรวมความเพียงพอของข้อมูลที่เหมาะสมกับเวลา
และรู ปแบบและวิเคราะห์ถึงผลกระทบเชิงบวกต่อกลยุทธ์ทาง
ธุรกิจ, เทคติคหรื อการดาเนินงาน
– Turns data into useful information that is then distributed
throughout an enterprise เปลี่ยนข้อมูลไปเป็ นข้อมูลที่เป็ น
ประโยชน์แล้วแจกจ่ายไปทัว่ ทั้งองค์กร
Principles of Information Systems, Eighth Edition
50
Business Intelligence
(continued)
• Competitive intelligence: aspect of business intelligence
limited to information about competitors and the ways that
knowledge affects strategy, tactics, and operations อัจฉริ ยภาพ
การแข่งขัน : ข่าวสาร ข้อจากัดในมุมมองของธุรกิจอัจฉริ ยภาพ
เกี่ยวกับคู่แข่งและวิธีการที่มีผลต่อกลยุทธ์, เทคติคและการ
ดาเนินงาน
• Counterintelligence: steps an organization takes to protect
information sought by “hostile” intelligence gatherers ขั้นตอน
องค์กรนาในการปกป้องข้อมูลหาจากศัตรู
Principles of Information Systems, Eighth Edition
51
Distributed Databases
• Distributed database ฐานข้อมูลแบบกระจาย
– Database in which the data may be spread across several
smaller databases connected via telecommunications
devices ฐานข้อมูลที่ขอ้ มูลอาจจะกระจายในฐานข้อมูลขนาด
เล็กหลายๆอย่างถูกเชื่อมต่อผ่านอุปกรณ์โทรคมนาคม
– Gives corporations more flexibility in how databases are
organized and used บริ ษทั ให้ความยืดหยุน่ มากขึ้นในการ
จัดการและใช้ฐานข้อมูลอย่างไร
• Replicated database ฐานข้อมูลซ้ า
– Database that holds a duplicate set of frequently used data
ฐานข้อมูลที่เก็บชุดข้อมูลที่ซ้ าและใช้บ่อยๆ
Principles of Information Systems, Eighth Edition
52
Online Analytical Processing
(OLAP)
• Software that allows users to explore data from a number of
different perspectives ซอฟต์แวร์ที่ทาให้ผใู ้ ช้สามารถค้นหาข้อมูลจาก
จานวนจุดประสงค์ที่แตกต่างกัน
Principles of Information Systems, Eighth Edition
53
Online Analytical Processing
(OLAP) (continued)
Table 5.9: Comparison of OLAP and Data Mining
Principles of Information Systems, Eighth Edition
54
Object-Oriented and ObjectRelational Database
Management Systems
• Object-oriented database: database that stores both data and
its processing instructions ฐานข้อมูลที่เก็บทั้งข้อมูลและคาสัง่
ในการประมวลผล
– Method: procedure or action ขั้นตอนหรื อการทางาน
– Message: request to execute or run a method ร้องขอให้
ดาเนินการหรื อวิธีการใช้งาน
Principles of Information Systems, Eighth Edition
55
Object-Oriented and ObjectRelational Database
Management Systems
(continued)
• Object-oriented database management system
(OODBMS): group of programs that manipulate an objectoriented database and provide a user interface and connections
to other application programs ระบบการจัดการฐานข้อมูลเชิง
วัตถุ (OODBMS) : กลุ่มของโปรแกรมที่จดั การฐานข้อมูลเชิง
วัตถุและกาหนดส่ วนติดต่อผูใ้ ช้และการเชื่อมต่อกับโปรแกรม
ประยุกต์อื่นๆ
• Object-relational database management system
(ORDBMS): DBMS capable of manipulating audio, video,
and graphical data ระบบการจัดการฐานข้อมูลวัตถุเชิงสัมพันธ์
(ORDBMS) : DBMS สามารถจัดการกับข้อมูลเสี ยง วิดีโอและ
กราฟิ กได้
Principles of Information Systems, Eighth Edition
56
Visual, Audio, and Other
Database Systems
• Databases for storing images ฐานข้อมูลสาหรับการจัดเก็บภาพ
• Databases for storing sound ฐานข้อมูลสาหรับเก็บเสี ยง
• Virtual database systems: allow different databases to work
together as a unified database system ระบบฐานข้อมูลเสมือน :
ยอมให้ฐานข้อมูลที่แตกต่างกันทางานร่ วมกันได้เป็ นระบบ
ฐานข้อมูลแบบเดียวกัน
• Other special-purpose database systems ระบบฐานข้อมูล
วัตถุประสงค์พิเศษอื่นๆ
– Spatial data technology: stores and accesses data
according to the locations it describes and permits spatial
queries and analysis เทคโนโลยีขอ้ มูลเชิงพื้นที่ : จัดเก็บและ
เข้าถึงข้อมูลตามสถานที่ อธิบายและค้นหาและวิเคราะห์
Principles of Information Systems, Eighth Edition
57
Summary
• Database: a collection of integrated and related files ฐานข้อมูล:
การเก็บรวบรวมไฟล์ที่เกี่ยวข้อง
• Hierarchy of data: bits, characters, fields, records, files, and
databases ลาดับชั้นของข้อมูล : บิต อักขระ ฟิ ลด์ เรคคอร์ด ไฟล์
และฐานข้อมูล
• Key: a field or set of fields in a record that is used to identify the
record คีย ์ : ฟิ ลด์หรื อชุดฟิ ลด์ในเรคคอร์ดที่ใช้ในการบันทึก
• Database approach to data management: a pool of related data is
shared by multiple application programs แนวทางการจัดการ
ฐานข้อมูล : ขอบเขตของข้อมูลที่เกี่ยวข้องกันจะถูกแบ่งปั นกัน
โดยโปรแกรมประยุกต์
• Data model: diagram of entities and relationships รู ปแบบข้อมูล
: แผนภาพขององค์กรและความสัมพันธ์กนั
Principles of Information Systems, Eighth Edition
58
Summary (continued)
• Relational model: describes data in which all elements are
placed in two-dimensional tables called relations รู ปแบบเชิง
สัมพันธ์ : อธิบายข้อมูลที่มีองค์ประกอบทั้งหมดจะอยูใ่ นตาราง
สองมิติที่เรี ยกว่า เชิงสัมพันธ์
• Database management system (DBMS): group of programs
used as an interface between a database and application
programs or a database and the user ระบบการจัดการ
ฐานข้อมูล (DBMS) : กลุ่มของโปรแกรมที่ใช้เชื่อมต่อระหว่าง
ฐานข้อมูลและโปรแกรมประยุกต์หรื อฐานข้อมูลและผูใ้ ช้
• Role of the database administrator (DBA): plan, design, create,
operate, secure, monitor, and maintain databases บทบาทของ
ผูด้ ูแลระบบฐานข้อมูล (DBA) : วางแผน, ออกแบบ, สร้าง,
ปฏิบตั ิ, การรักษาความปลอดภัย, ตรวจสอบและบารุ งรักษา
ฐานข้อมูล
Principles of Information Systems, Eighth Edition
59
Summary (continued)
• Data warehouse: database that collects business information
from all aspects of a company’s processes, products, and
customers ฐานข้อมูลเก็บรวบรวมข้อมูลทางธุรกิจจากทุก
ลักษณะของกระบวนการผลิตของบริ ษทั ผลผลิตและลูกค้า
• Data mining: information-analysis tool for the automated
discovery of patterns and relationships in a data warehouse
เครื่ องมือวิเคราะห์ขอ้ มูลสาหรับการค้นหารุ ปแบบโดยอัตโนมัติ
และสัมพันธ์กนั ใน data warehouse
• Object-oriented database: database that stores both data and its
processing instructions ฐานข้อมูลเชิงวัตถุ : ฐานข้อมูลที่เก็บ
ข้อมูลและคาสัง่ ในการประมวลผล
Principles of Information Systems, Eighth Edition
60