8.Databases are in your life Digital Engines for Today’s Economy
8.1. Managing Files
- Databases เป็น logically organized collection ของข้อมูลที่ออกแบบและสร้างขึ้นเพื่อจุดประสงค์เฉพาะ
- ข้อมูลจะได้รับการ hierarchically เพื่อง่ายต่อการเก็บรักษาและกู้คืน
- File [Table] : Collection of related records
Records [row] : Collections of related fields
Field [Column] : หน่วยของข้อมูล อาจมี 1 ตัวอักษร หรือหลายตัวอักษร
Character [Byte] : ตัวเลขหรือตัวอักษรที่สร้างจาก bits
Bit : 0 or 1
- Key Field [Primary key] : เป็น field ที่ไม่ซ้ำกัน
มักจะเป็นตัวเลข เช่น social security number, student ID number
Keys มักจะใช้แยกชนิดของ records
Primary Keys มักจะเป็น unique ทำให้ records แตกต่างจากอันอื่น
Foreign Keys จะปรากฏในตารางอื่น และมักจะโยงไปที่ Primary keys ในตารางอื่น (มักใช้ในการโยงตารางหนึ่งไปอีกตารางหนึ่ง)
8.2. Database Management Systems
Database Management System [DBMS]
- Software ที่เขียนขึ้นเพื่อควบคุม database & access to the data
- DBMS benefits
Reduced data redundancy --> ลดข้อมูลที่ซ้ำซ้อน
Speed --> modern DBMS จะเร็วกว่า manual data-organization systems และเร็วกว่า Computer-based database arrangements
Improved data integrity --> ทำให้ข้อมูล accurate, consistent, up to date
Timelines --> speed & efficiency ของ DBMSs ทำให้มั่นใจได้ว่าจะสามารถหาข้อมูลได้รวดเร็ว
Ease of sharing --> สะดวกต่อการ share ทั้งใน network และในองค์กร ข้อมูลสามารถ process ได้ทุกโปรแกรม และง่ายต่อผู้ใช้ที่ไม่ชำนาญเพื่อ access
Ease of data maintenance -->DBMS offers validation checks, backup utilities and standard procedures for data inserting, updating and deletion
Forecasting capabilities --> DBMSs can hold massive amounts of data
Increased security --> Although various departments may share data, access to specific information can be limited to selected users – called Authorization control
- 3 Principal Database Components
Data Dictionary
DBMS Utilities
Report Generator
- Database Administrator (DBA)
Ensures the database’s
Recoverability
Integrity
Security
Availability
Reliability
Performance
8.3.Database Models
- Hierarchical Database
- Network Database
- Relational Database
- Object-Oriented Database --> Multimedia
- Multidimensional Database
8.4.Data Mining
- Is the computer-assisted process of sifting through and analyzing amounts of data
- Methods for searching for patterns in the data and interpreting the results
Regressing analysis
Classification analysis
- DM applications
Cancer detection
Sports
Marketing
Health
Science
Counterterrorism
Sentiment analysis
Exploring the “Deep web”
8.5.Databases & The Digital Economy
- E-Commerce (Electronic Commerce)
Business-to-Business (B2B)
Business-to-Consumer (B2C)
Consumer-to-Consumer (C2C)
8.6.Information Systems in Organizations
- Information Systems
What are the qualities of good information
Correct and verifiable
Complete ye concise
Cost effective
Current
Accessible
- Most organizations have 6 departments information must flow
Research and development
Production (operations)
Marketing and sales
Accounting and finance
Human resources (personnel)
Information systems (IS)
- 3 levels of management
Strategic-level management
Tactical-level management
Operational-level management
- A newer information flow ; Decentralized Organizations
- 6 computer-based information systems
Office information systems
Transaction processing systems
Management information systems
Decision support systems
Executive support systems
Expert systems
8.7.Artificial Intelligence (AI)
- Areas include
Expert systems
Natural language processing
Intelligent agents
Pattern recognition
Fuzzy logic
Virtual reality and simulation devices
Robotics












