SlideShare a Scribd company logo
1 of 80
Download to read offline
Chapter 5 Database System

           Mr.Warawut Khangkhan
        e-Mail: awarawut@hotmail.com
Social Network: www.facebook.com/AjWarawut
˂ F




2   Chapter 5 Database System         Mr.Warawut Khangkhan
˂ F   (File System)

        ˁ                                                     ˁ




    ˁ                                                     ˁ

3           Chapter 5 Database System            Mr.Warawut Khangkhan
F      F   ˂ F
               (Bit)
                 (Character)
        ʽ F (Field)
              F /
       (Record)
          F (File)


4   Chapter 5 Database System             Mr.Warawut Khangkhan
ˆ                                       ˂ F
                                F   F            (Data Redundancy)
             F       F                          F (Data
       Inconsistency)
               F       F                    F     (Data Anomaly)
                 F ˈ                    F        (Data Dependency)



5   Chapter 5 Database System                               Mr.Warawut Khangkhan
F




6   Chapter 5 Database System       Mr.Warawut Khangkhan
˂ F   (File System)

        ˁ                                                     ˁ




    ˁ                                                     ˁ

7           Chapter 5 Database System            Mr.Warawut Khangkhan
F   (Database System)

        ˁ                                                           ˁ




    ˁ                                                           ˁ

8           Chapter 5 Database System                  Mr.Warawut Khangkhan
F           (Database System)
                                    F   F            F
                                            F
                      F F         F (DBMS:
       Database Management System)
            F                   F           F
        F       F F         F                 F
          F         F     (Database System)

9   Chapter 5 Database System                            Mr.Warawut Khangkhan
F                  F
           F   (Data)
           F     F (Hardware)
              F F (Software) F F Database
        Management System : DBMS
         F F (User) F F Programmer, Database
        Administrator (DBA)
        Procedure        F                   F
        DBA            F           F
10                   F F F
     Chapter 5 Database System           Mr.Warawut Khangkhan
Application Interface
Programmer                                End User
                      Procedure
   / DBA
          Application        Query/Report
           Software              Tools


       Data                               DBMS                 Data
     Repository                                             Dictionary


                System                                     Hardware
                                          Server
               Software
                                         Database
11     Chapter 5 Database System                           Mr.Warawut Khangkhan
ˆ                                              F
      External
                                 View 1           View 2                 View 3
      Level                                                  ...


      Conceptual                                Conceptual
      Level                                      Schema


      Internal                                   Internal
      Level                                      Schema

                        F F               F F
                                                Database     Physical Data
12   Chapter 5 Database System                                           Mr.Warawut Khangkhan
External
                                 View 1                                 View 2                 View 3
     Level                                                                         ...


     Conceptual
                   •         ˈ                                      F F
                                                                   Conceptual
     Level         •                           F                        Schema             F F ˈ
                                 F                            F            F
     Internal
                   •                      F F                       Internal
     Level                                          F F             Schema
                   •                                 F                         F           F F F
                                      F            ˈ F            ˈ F
                                           F              F         Database       Physical Data

13        Chapter 5 Database System                                                       Mr.Warawut Khangkhan
External
                                         View 1                                View 2                           View 3
     Level                                                                                       ...


     Conceptual                                                              Conceptual
     Level                                                                    Schema
                     •               ˈ                                               F
     Internal        •                               F                   F    F Internal F
     Level                                  F                        F              F
                                                                                Schema                 F            F
                     •           ˈ                                           F F             F                          F
                                                             F                             F               F
                     •                          FF       F                    Database             F
                                                                                                 Physical Data
                                                                                                                F
14                           F
          Chapter 5 Database System                              F               F                         Mr.Warawut Khangkhan
External
                                 ˈ
                                 View 1                           View 2
                                                                             ...F              View 3
     Level
                                          F
                                              F       F F                           F
     Conceptual                                                 Conceptual
     Level
                                      F                                      F F                        F
                                                                 Schema
                                                  F         F                             FF
                                                                                                F
     Internal                                             Internal
     Level
                             F                          Index
                                                           Schema
                                                                                               Record
                             F

                                                                Database     Physical Data

15        Chapter 5 Database System                                                     Mr.Warawut Khangkhan
Mapping
             ˈ           F               ˆ                              F
                                 F   F       ˈ 2
            Conceptual / Internal Mapping –                         F
               F          Conceptual                      F
            Record     Field       F      F
            External / Conceptual Mapping –
                   F   Record     Field F
                 F              F      F F

16   Chapter 5 Database System                     Mr.Warawut Khangkhan
Mapping
     ExternalView 1                                              ExternalView 2
     EmpId      FName LName Age                 Salary           EmpId     LName ProNo



     ConceptualView                  EmpId   FName LName Age             Salary    ProNo


     InternalView                    struct EMPLOYEE {
                                          int EmpId;
                                          int ProNo;
                                          char FName[15];
                                          char LName[15];
                                          struct date DateOfBirth;
                                          float Salary;
                                          struct EMPLOYEE *next;
                                     }
                                     index EmpId; index ProNo;
17       Chapter 5 Database System                                         Mr.Warawut Khangkhan
F
                     F (Database Management
        System : DBMS) – ˈ      F F
                 F       ˈ           F F F
            F      F       F      FF
              F
                       F     F F DBMS


18   Chapter 5 Database System       Mr.Warawut Khangkhan
F                     DBMS
                                            DBMS

     F F (User View)
                                            Schema



                   Subschema               Subschema                Subschema
                       A                       B                        C



                     User 1            User 2       User 3   User 4         User 5


19
                 F F F
     Chapter 5 Database System   ˈ F            F               F       F
                                                              Mr.Warawut Khangkhan
F                   DBMS
             F       F     F  –                                                       F
        (Data Definition Language : DDL)”
            DDL ˈ                  F                                  F
                   F F                          F
               F                                    F   F F               F
                    F   F                   F                     F           F
             F    F F       F           F                                         F
            (Data Dictionary: DD)”                      F     F

20   Chapter 5 Database System                                Mr.Warawut Khangkhan
F                       DBMS
             F       F     F  –                                                  F
        (Data Definition Language : DDL)”
                                     F       (Data Dictionary: DD)
                                         F               F   F
                                 F                               F           F
                                               F       F           F        F F
                   F                       F     F          F ˈ F


21   Chapter 5 Database System                                   Mr.Warawut Khangkhan
F                             F
                          F ˈ                               F                    F
                                        F
              ˈ                                     F                    F
                      F         F   F       F   F                            F       F
          F




22   Chapter 5 Database System                                  Mr.Warawut Khangkhan
F                                                   F
           F                         F       F                                            F
                                         F             F               F F
                                 F               F         F       F         F
                   F F                               F F       F                               F F
               F         F




23   Chapter 5 Database System                                                       Mr.Warawut Khangkhan
F                                           F
                               F               F           F
           F           F                   F
               F                   F               F   F           F              F   F
                   F                   ˈ                                    F F              F
           F                                                   F




24   Chapter 5 Database System                                             Mr.Warawut Khangkhan
F                   DBMS
                                       F
      F           – ˈ                                       F
                                                                F     F    F
                                  FF       Physical Access Path

          F       F       F                                         DBMS
                            Logical Access Path
     “SELECT * FROM
     student;”          F                      F

         ˈ F          F
      F          “Logical                                            F F


25
     Access Path (LAP)”
      Chapter 5 Database System                                      Mr.Warawut Khangkhan
F                   DBMS                 F
                                                           F      F   F


                                      F                    DBMS

        F
                                  F                        Schema


     (Manipulation) F F                   Schema           Schema            Schema
                 F        F                 A                 B                 C


               F                                   F
      F      F     F F ˈ F
         “DML (Data                                             F F


26   Manipulation Language)”
      Chapter 5 Database System                                Mr.Warawut Khangkhan
F
   Programmers                 Users
                                           DBMS
                                              DBA
   Application                                  Database
                               Queries
   Programs                                     Schema

   DML                         Query            DDL
   Preprocessor                Processor        Compiler
                                                                     DBMS
   Program                     Database         Dictionary
   Object Code                 Manager          Manager

   Access                      File
   Methods                     Manager

   System                      Database and
27 Buffers 5 Database System
       Chapter                                               Mr.Warawut Khangkhan
                               System Catalog
F
   Programmers                 Users
                                             DBMS
                                                DBA
   Application                                            Database
                               Queries
   Programs                                               Schema

   DML                         Query                      DDL
   Preprocessor                Processor                  Compiler
                                                                                  DBMS
   Program                     Database                   Dictionary
   Object F Code
    ˈ                               DBMS
                               Manager                F   Manager
  ˈ              F                       F      F F                           F
 Access                        File
Database Manager
 Methods                       Manager

   System                      Database and
28 Buffers 5 Database System
       Chapter                                                         Mr.Warawut Khangkhan
                               System Catalog
F
     Programmers                     Users
                                                 DBMS
                                                    DBA
     Application                                            Database
                                     Queries
     Programs                                               Schema

     DML                             Query                  DDL
     Preprocessor                    Processor              Compiler
                                                                                 DBMS
     Program                         Database               Dictionary
     Object Code                     Manager                Manager

     Access                          File
         F
     Methods      ˈ                  Manager              (Query) F                     F
   F                           F F        F                   F F                File
 System                              Database and
Manager
 Buffers
29      Chapter 5 Database System              F
                                     System Catalog
                                                      F                  Mr.Warawut Khangkhan
F
   Programmers                       Users
                                                 DBMS
                                                    DBA
   Application                                        Database
                                     Queries
   Programs                                           Schema

   DML                               Query             DDL
      F
   Preprocessor                F     Processor   F    FCompiler   F
DBA                 F F              F                   F                F   DBMS
   Program                             Database       Dictionary
   ObjectF Code
              F                    F Access Method
                                       Manager        Manager

   Access                            File
   Methods                           Manager

   System                            Database and
30 Buffers 5 Database System
       Chapter                                                        Mr.Warawut Khangkhan
                                     System Catalog
F
   Programmers                 Users
                                           DBMS
                                              DBA
   Application                                  Database
                               Queries
   Programs                                     Schema

   DML                         Query            DDL
   Preprocessor                Processor        Compiler
                                                                       DBMS
         F
   Program                     DatabaseF
                                    DML F Dictionary
                                          ˈ ˆ F
   Object Code                 Manager    Manager
      F      F            ˆ F       ˆ F                            F
   AccessF               F File Processor
                              Query
   Methods                     Manager

   System                      Database and
31 Buffers 5 Database System
       Chapter                                             Mr.Warawut Khangkhan
                               System Catalog
F
   Programmers                 Users
                                           DBMS
                                              DBA
   Application                                       Database
                               Queries
   Programs                                          Schema

   DML                         Query                 DDL
   Preprocessor                Processor             Compiler
                                                                          DBMS
   Program                     Database              Dictionary
       F Code
   Object
                                    F DDL
                               Manager
                                                  F ˈTable
                                                     Manager
                                                                    Meta-
data Table F                                    F Catalog
 F Access F ˈ F
   Methods
                                 F
                               File
                               Manager
                                                            F

   System                      Database and
32 Buffers 5 Database System
       Chapter                                                    Mr.Warawut Khangkhan
                               System Catalog
F
   Programmers                 Users
                                           DBMS
                                              DBA
   Application                                   Database
                               Queries
   Programs                                      Schema

   DML                         Query             DDL
   Preprocessor                Processor         Compiler

   Program                     Database
                                                     F
                                Catalog Manager Dictionary           DBMS

   Object Code                 Manager F Catalog Manager
                                   F Table Meta-data
   Access                      File
   Methods                     Manager

   System                      Database and
33 Buffers 5 Database System
       Chapter                                               Mr.Warawut Khangkhan
                               System Catalog
F DBMS
     1.               F   (Database Size) –  F
              Record
     2.        F F            F   (Number of
        Concurrent Users)
     3.              (Performance) –
          F F ,                            F
        (System Recovery),
                   F

34   Chapter 5 Database System            Mr.Warawut Khangkhan
F DBMS
     4.                                  (Integration) –
            F                              F       F  ,
                                    (Operating System: OS)”
     5.                            (Features) – F F     ˈ
                                          F F ˈ           F
          DBMS                   F       F F     F
           F
                                     F    F       F   DMBS
35
                     F
     Chapter 5 Database System
                                 F            F       F   F      F
                                                          Mr.Warawut Khangkhan
F DBMS
     6. F                         F (Vendor) –           F
                           F
     7. F              (Cost)             DBMS –             F




36   Chapter 5 Database System                     Mr.Warawut Khangkhan
F
         (Database Model)
     F                               F       F   F F                     F




37       Chapter 5 Database System                     Mr.Warawut Khangkhan
F
             ˈ           F       F      F F
              F           ˂ F         ˈ Segment             F
        Segment                F FF                (Node)”
          F     F          F “             (Child Node)” F
                  F               F             F F (Parent
        Node)”                  F                     F “Root
        Node”           F                        F
             F F                    F        F 1          F
            F F F                        F                    F
38                  F “One-to-Many Relationship”
     Chapter 5 Database System                       Mr.Warawut Khangkhan
F




39   Chapter 5 Database System   Mr.Warawut Khangkhan
F
       F
                                 F              F
                   F        F        F F
               F                           F      F
           F                F                  Linked List F                 F
                 F (Pointer)                    F Record
               F      F

40   Chapter 5 Database System                                 Mr.Warawut Khangkhan
F                      F
                          F      F       F
                  F                  F                   F     F F
               F 1            F F                                F
                F 1    F                             F
           F “Many-to-Many Relationship”




41   Chapter 5 Database System                   Mr.Warawut Khangkhan
F             F




42   Chapter 5 Database System       Mr.Warawut Khangkhan
F                    F
       F                                     F
              F F                                                           F
                                     F               F F   F
                            F                    F                                  F
                                                     F                  F
                                 ˈ                   F
                        F                                  F F                  ˈ


43   Chapter 5 Database System                                   Mr.Warawut Khangkhan
F                 F
          ˈ         F       F     F                     2
        (Table)         F ˈ     (Row            Record)
                 F (Column          ʽ F      Attribute)
            F                 F            F     F
               F                F                         F
         F Attribute Attribute                        F             F
              F “Relation”           “Table”

44   Chapter 5 Database System                      Mr.Warawut Khangkhan
F             F




45   Chapter 5 Database System       Mr.Warawut Khangkhan
F
               ˈ                          F                                     F                  F
           F                                                        F
                                              F F                           F
        (Object)”                                   F                          Object
         F                            F                 F                           ˈ
                                 F(                         F                 Entity) F
                          F                                             F “Attribute”
                                                F                           F                          F
46   Chapter 5 Database System
                                                                F         F F       Mr.Warawut Khangkhan
F
                                     Person
                                 name
                                 birthdate




                       Student                    Employee
                 entrydate                     hiredate




                                     Teacher                 Support


47   Chapter 5 Database System                                     Mr.Warawut Khangkhan
F
       F                                  F
                    F                                         F
                            F                 F
                F               F ˈ   F           F   F           F
                       F    ˈ                             F
           Multi-valued F ˈ
                 F
              F          F
48   Chapter 5 Database System                                    Mr.Warawut Khangkhan
F
               ˈ             F                   F          F           F
                                     F       F
           F
                         F       ˈ       F   F ˈ




49   Chapter 5 Database System                       Mr.Warawut Khangkhan
F
                                             A           18,000
                                             B           15,000
                                     F       A           10,000
                                     F       B           12,500
                                             A           35,000
                                             B           37,500
                                 F           A           25,000
                                 F           B           20,000
          F                                  A           20,000
          F                                  B           18,000
          F                              F   A           15,000
50   Chapter 5 Database System                   Mr.Warawut Khangkhan
          F                              F   B           12,500
F




     1                     (Region)
     2                    (Season)
51   3Chapter 5 Database System (Production Line)   Mr.Warawut Khangkhan
F
                            F
            F                     FF

                                  FF     F
                “               (Slicing)”
                    F            ˈ F
                F                      F

     Chapter 5 Database System
                                               F (Dicing)
52                                           Mr.Warawut Khangkhan
F
               “Slice and Dice”     ˈ     F
                FF           F        F F   F
        (Data Mart and Data Warehouse)
             F                          F     F
        (Online Analytical Processing :
        OLAP)”           ˈ       FF
           F       F
         F           F F    F F F ˈ F           F F

53   Chapter 5 Database System             Mr.Warawut Khangkhan
F




54   Chapter 5 Database System       Mr.Warawut Khangkhan
F                                F
     (Centralized Database)
                                        F       DBMS F         F
           F                    F   ˈ       F       F
                      F                                    F            F F
                          F F



                                                Central
                                                Database
55   Chapter 5 Database System                                     Mr.Warawut Khangkhan
F
      (Distributed Database)
                   Database)
                                     F           DBMS F
                                 F       F   F              F ˈ




56   Chapter 5 Database System                            Mr.Warawut Khangkhan
F
      (Distributed Database)
           F                        ˈ 2         F      F F
        Homogeneous System - F           F
               F F DBMS                           F
                        F   F    F F                FF   F
         F                        F
        Heterogeneous System - F            F
             F         DBMS    F        F F
                 F   F        F F F           F

57   Chapter 5 Database System                   Mr.Warawut Khangkhan
F
                 ˈ                              F
                             ˈ   F       F




58   Chapter 5 Database System               Mr.Warawut Khangkhan
F
          F             ˈ 3
                                   (Conceptual Design)
                                 (Logical Design)
                                  (Physical Design)




59   Chapter 5 Database System                Mr.Warawut Khangkhan
(Conceptual Database Design)
             ˈ                          F                 F

                   F          F      F ˈ    F
                       F Conceptual Schema”




60   Chapter 5 Database System                  Mr.Warawut Khangkhan
(Conceptual Database Design)
     E-R Diagram                  Class Diagram




61    Chapter 5 Database System                   Mr.Warawut Khangkhan
(Logical Database Design)
             ˈ                  Conceptual Schema                     F
             ˈ Logical Schema F                             F
                       F        F       Relation (    ˈ
                 F                )
                                  F      ˈ Object (       ˈ
                   F            )
               F             F      F       F           F
                         F                F         F
                           F           F F
62
                     F
     Chapter 5 Database System
                               Normalization”           Mr.Warawut Khangkhan
(Physical Database Model)
                                       Logical Schema                    F
                                     F             F    F
            F          F
                   F             F                F “Physical Schema”
                                       F   ˈ    F       F




63   Chapter 5 Database System                              Mr.Warawut Khangkhan
Normalization
                                 F       F       F            ˆ
                                     F       F
        Normalization                           F
         F        F             F  F F            ˈ
                (Normal Form)          ˆ
           Update             F      F
        Normalization       6            F F 1NF,
        2NF, 3NF, BCNF, 4NF       5NF (NF –
64      Normal Form)
     Chapter 5 Database System                       Mr.Warawut Khangkhan
Normalization
     EmpId        EmpName        DepNo   DeptName     Salary        CourseNo    CourseName      DateComplete


      F F                   Employee F            Normalization
 Employee                                                                      Department
     EmpId        EmpName        DepNo   Salary     CourseNo                    DepNo       DeptName




 Course                                           Employee_Course
     CourseNo        CourseName                   EmpId        CourseNo    DateComplete




              F F           Employee              Normalization
65           Chapter 5 Database System                                                    Mr.Warawut Khangkhan
F   F




66   Chapter 5 Database System           Mr.Warawut Khangkhan
F                 F
                                 F       F       (Minimal Redundancy)
                                     F            F (Data Inconsistency
        Avoidance)
               FF  F        F (Data Sharing)
                                F F         F (Uniform
        Security Privacy Control)
                    F     F      F (Integrity Control)
            FF    ˈ                     F F
        (Data Independence)
67   Chapter 5 Database System                                Mr.Warawut Khangkhan
F




68   Chapter 5 Database System       Mr.Warawut Khangkhan
F
        (Policy)”                        F   F       F     F F
                                 F               Fˈ F        F
                         F                 F F     F     F
                                       (Information Policy)
                                     F      F ˆ       F


69   Chapter 5 Database System                            Mr.Warawut Khangkhan
F                       F       F
           F             F       ˈ F                       F
                   F                   F       F               ˈ   F
               F                 F                     ˈ




70   Chapter 5 Database System                                         Mr.Warawut Khangkhan
F
           F          F   (Data
        Administration)”
                              F
                  F                        F
                          F F        F F         F
             F      F           F              F Data
        Governance”
         F     FF       F

71   Chapter 5 Database System             Mr.Warawut Khangkhan
F
                       F
                       F F         F          ˈ      F
                     F   (Database
        Administration)”




72   Chapter 5 Database System         Mr.Warawut Khangkhan
F F   F




73   Chapter 5 Database System             Mr.Warawut Khangkhan
F
     (Data Warehouse)
                       F (Data Warehouse)
             F                  F             F           F
        (Extract)                   F                         F              F
                     F                            F         F
                   F                     F
               F            F ˈ         F F             F                F
                          F       F         F       F F
                 ˈ F F                F         F               F                F
74
         F             ˈ
     Chapter 5 Database System                                 Mr.Warawut Khangkhan

           ˈ F
F
     (Data Warehouse)
                                 F   F                     ˈ F               F
                       F    F            F       F                       F        F
                    F F       F                                  F                    F
                F (Data Mart)”
                  F   F     F   F                            F                   F F
           F                                 ˆ         F
          F          F                               F “             F
        (Data Mining)”
75   Chapter 5 Database System                              Mr.Warawut Khangkhan
76   Chapter 5 Database System   Mr.Warawut Khangkhan
F         (Data Mining)
                          F            F                         F           F (Knowledge
        Discovery)” ˈ                                        F                 F  F
               F
           F            F                                                    F
         F       F                                     F F                            ˂ F
             F
                      F                        F                     F
                   FF
                                                   F                             F
77                      F
     Chapter 5 Database System   F F       F                             F             F
                                                                                     Mr.Warawut Khangkhan
F
     (Web Database)
                      F               F   F F
                              F   F
                          F                         F         F F
              F      ˈ ˁ     F   F
           F “Static Web” F              F
                 F       F           F
                      ˈ F      F F F       ˂            F
                           F       F ˈ F
78
                   F “Dynamic Web”
     Chapter 5 Database System                  Mr.Warawut Khangkhan
F
     (Web Database)
                                     F                                F            F               F
                          F        F F                  F                 F                    F
                       F (Script)                         F                    F
               F             F        F F                                          FF
           F                        F     F       F F         F                                        F
                                 F          F         F F                                  F
           F                   F                F                 F                    F
                                              F
79   Chapter 5 Database System                                            Mr.Warawut Khangkhan
F
      (Web Database)
                                  1.




     Server IBM Compatible                  Client IBM Compatible

2.                                     4.                 HTML
3.                          ASP
                          HTML



80    Chapter 5 Database System                     Mr.Warawut Khangkhan

More Related Content

Viewers also liked

การใช้ตัวแปรอาร์เรย์ (Array) ใน VB.NET 2005 Express Editor
การใช้ตัวแปรอาร์เรย์ (Array) ใน VB.NET 2005 Express Editorการใช้ตัวแปรอาร์เรย์ (Array) ใน VB.NET 2005 Express Editor
การใช้ตัวแปรอาร์เรย์ (Array) ใน VB.NET 2005 Express EditorWarawut
 
Chapter 5 data processing
Chapter 5 data processingChapter 5 data processing
Chapter 5 data processingUMaine
 
Database design
Database designDatabase design
Database designWarawut
 
Management Information System 6
Management Information System 6Management Information System 6
Management Information System 6Warawut
 
Database Management Systems (DBMS)
Database Management Systems (DBMS)Database Management Systems (DBMS)
Database Management Systems (DBMS)Dimara Hakim
 
Types of databases
Types of databasesTypes of databases
Types of databasesPAQUIAAIZEL
 
MS Access Ch 1 PPT
MS Access Ch 1 PPTMS Access Ch 1 PPT
MS Access Ch 1 PPTprsmith72
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentationsameerraaj
 
Single User v/s Multi User Databases
Single User v/s Multi User DatabasesSingle User v/s Multi User Databases
Single User v/s Multi User DatabasesRaminder Pal Singh
 

Viewers also liked (20)

การใช้ตัวแปรอาร์เรย์ (Array) ใน VB.NET 2005 Express Editor
การใช้ตัวแปรอาร์เรย์ (Array) ใน VB.NET 2005 Express Editorการใช้ตัวแปรอาร์เรย์ (Array) ใน VB.NET 2005 Express Editor
การใช้ตัวแปรอาร์เรย์ (Array) ใน VB.NET 2005 Express Editor
 
Harsh
HarshHarsh
Harsh
 
plsql les03
 plsql les03 plsql les03
plsql les03
 
Chapter01
Chapter01Chapter01
Chapter01
 
Chapter 5 data processing
Chapter 5 data processingChapter 5 data processing
Chapter 5 data processing
 
Database design
Database designDatabase design
Database design
 
Management Information System 6
Management Information System 6Management Information System 6
Management Information System 6
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
 
DBMS an Example
DBMS an ExampleDBMS an Example
DBMS an Example
 
Types dbms
Types dbmsTypes dbms
Types dbms
 
Dbms
DbmsDbms
Dbms
 
Database Management Systems (DBMS)
Database Management Systems (DBMS)Database Management Systems (DBMS)
Database Management Systems (DBMS)
 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management System
 
Types of databases
Types of databasesTypes of databases
Types of databases
 
MS Access Ch 1 PPT
MS Access Ch 1 PPTMS Access Ch 1 PPT
MS Access Ch 1 PPT
 
Dbms ppt
Dbms pptDbms ppt
Dbms ppt
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
Single User v/s Multi User Databases
Single User v/s Multi User DatabasesSingle User v/s Multi User Databases
Single User v/s Multi User Databases
 

More from Warawut

Object-Oriented Programming 8
Object-Oriented Programming 8Object-Oriented Programming 8
Object-Oriented Programming 8Warawut
 
Object-Oriented Programming 7
Object-Oriented Programming 7Object-Oriented Programming 7
Object-Oriented Programming 7Warawut
 
Object-Oriented Programming 6
Object-Oriented Programming 6Object-Oriented Programming 6
Object-Oriented Programming 6Warawut
 
Business Computer Project 3
Business Computer Project 3Business Computer Project 3
Business Computer Project 3Warawut
 
Object-Oriented Programming 4
Object-Oriented Programming 4Object-Oriented Programming 4
Object-Oriented Programming 4Warawut
 
Business Computer Project 1
Business Computer Project 1Business Computer Project 1
Business Computer Project 1Warawut
 
Chapter 1 Organization & MIS
Chapter 1 Organization & MISChapter 1 Organization & MIS
Chapter 1 Organization & MISWarawut
 
Object-Oriented Programming 3
Object-Oriented Programming 3Object-Oriented Programming 3
Object-Oriented Programming 3Warawut
 
Object-Oriented Programming 2
Object-Oriented Programming 2Object-Oriented Programming 2
Object-Oriented Programming 2Warawut
 
Object-Oriented Programming 1
Object-Oriented Programming 1Object-Oriented Programming 1
Object-Oriented Programming 1Warawut
 
Upload File
Upload FileUpload File
Upload FileWarawut
 
Session and Cookie
Session and CookieSession and Cookie
Session and CookieWarawut
 
Form Validation
Form ValidationForm Validation
Form ValidationWarawut
 
Tips & Track
Tips & TrackTips & Track
Tips & TrackWarawut
 
Edit & Delete Data
Edit & Delete DataEdit & Delete Data
Edit & Delete DataWarawut
 
Search Data
Search DataSearch Data
Search DataWarawut
 
Retrieve Data
Retrieve DataRetrieve Data
Retrieve DataWarawut
 
Additional Information
Additional InformationAdditional Information
Additional InformationWarawut
 
Connect MySQL
Connect MySQLConnect MySQL
Connect MySQLWarawut
 

More from Warawut (20)

Object-Oriented Programming 8
Object-Oriented Programming 8Object-Oriented Programming 8
Object-Oriented Programming 8
 
Object-Oriented Programming 7
Object-Oriented Programming 7Object-Oriented Programming 7
Object-Oriented Programming 7
 
Object-Oriented Programming 6
Object-Oriented Programming 6Object-Oriented Programming 6
Object-Oriented Programming 6
 
Business Computer Project 3
Business Computer Project 3Business Computer Project 3
Business Computer Project 3
 
Object-Oriented Programming 4
Object-Oriented Programming 4Object-Oriented Programming 4
Object-Oriented Programming 4
 
Business Computer Project 1
Business Computer Project 1Business Computer Project 1
Business Computer Project 1
 
Chapter 1 Organization & MIS
Chapter 1 Organization & MISChapter 1 Organization & MIS
Chapter 1 Organization & MIS
 
Object-Oriented Programming 3
Object-Oriented Programming 3Object-Oriented Programming 3
Object-Oriented Programming 3
 
Object-Oriented Programming 2
Object-Oriented Programming 2Object-Oriented Programming 2
Object-Oriented Programming 2
 
Object-Oriented Programming 1
Object-Oriented Programming 1Object-Oriented Programming 1
Object-Oriented Programming 1
 
Upload File
Upload FileUpload File
Upload File
 
Login
LoginLogin
Login
 
Session and Cookie
Session and CookieSession and Cookie
Session and Cookie
 
Form Validation
Form ValidationForm Validation
Form Validation
 
Tips & Track
Tips & TrackTips & Track
Tips & Track
 
Edit & Delete Data
Edit & Delete DataEdit & Delete Data
Edit & Delete Data
 
Search Data
Search DataSearch Data
Search Data
 
Retrieve Data
Retrieve DataRetrieve Data
Retrieve Data
 
Additional Information
Additional InformationAdditional Information
Additional Information
 
Connect MySQL
Connect MySQLConnect MySQL
Connect MySQL
 

Recently uploaded

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 

Recently uploaded (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 

Management Information System 5

  • 1. Chapter 5 Database System Mr.Warawut Khangkhan e-Mail: awarawut@hotmail.com Social Network: www.facebook.com/AjWarawut
  • 2. ˂ F 2 Chapter 5 Database System Mr.Warawut Khangkhan
  • 3. ˂ F (File System) ˁ ˁ ˁ ˁ 3 Chapter 5 Database System Mr.Warawut Khangkhan
  • 4. F F ˂ F (Bit) (Character) ʽ F (Field) F / (Record) F (File) 4 Chapter 5 Database System Mr.Warawut Khangkhan
  • 5. ˆ ˂ F F F (Data Redundancy) F F F (Data Inconsistency) F F F (Data Anomaly) F ˈ F (Data Dependency) 5 Chapter 5 Database System Mr.Warawut Khangkhan
  • 6. F 6 Chapter 5 Database System Mr.Warawut Khangkhan
  • 7. ˂ F (File System) ˁ ˁ ˁ ˁ 7 Chapter 5 Database System Mr.Warawut Khangkhan
  • 8. F (Database System) ˁ ˁ ˁ ˁ 8 Chapter 5 Database System Mr.Warawut Khangkhan
  • 9. F (Database System) F F F F F F F (DBMS: Database Management System) F F F F F F F F F F (Database System) 9 Chapter 5 Database System Mr.Warawut Khangkhan
  • 10. F F F (Data) F F (Hardware) F F (Software) F F Database Management System : DBMS F F (User) F F Programmer, Database Administrator (DBA) Procedure F F DBA F F 10 F F F Chapter 5 Database System Mr.Warawut Khangkhan
  • 11. Application Interface Programmer End User Procedure / DBA Application Query/Report Software Tools Data DBMS Data Repository Dictionary System Hardware Server Software Database 11 Chapter 5 Database System Mr.Warawut Khangkhan
  • 12. ˆ F External View 1 View 2 View 3 Level ... Conceptual Conceptual Level Schema Internal Internal Level Schema F F F F Database Physical Data 12 Chapter 5 Database System Mr.Warawut Khangkhan
  • 13. External View 1 View 2 View 3 Level ... Conceptual • ˈ F F Conceptual Level • F Schema F F ˈ F F F Internal • F F Internal Level F F Schema • F F F F F F ˈ F ˈ F F F Database Physical Data 13 Chapter 5 Database System Mr.Warawut Khangkhan
  • 14. External View 1 View 2 View 3 Level ... Conceptual Conceptual Level Schema • ˈ F Internal • F F F Internal F Level F F F Schema F F • ˈ F F F F F F F • FF F Database F Physical Data F 14 F Chapter 5 Database System F F Mr.Warawut Khangkhan
  • 15. External ˈ View 1 View 2 ...F View 3 Level F F F F F Conceptual Conceptual Level F F F F Schema F F FF F Internal Internal Level F Index Schema Record F Database Physical Data 15 Chapter 5 Database System Mr.Warawut Khangkhan
  • 16. Mapping ˈ F ˆ F F F ˈ 2 Conceptual / Internal Mapping – F F Conceptual F Record Field F F External / Conceptual Mapping – F Record Field F F F F F 16 Chapter 5 Database System Mr.Warawut Khangkhan
  • 17. Mapping ExternalView 1 ExternalView 2 EmpId FName LName Age Salary EmpId LName ProNo ConceptualView EmpId FName LName Age Salary ProNo InternalView struct EMPLOYEE { int EmpId; int ProNo; char FName[15]; char LName[15]; struct date DateOfBirth; float Salary; struct EMPLOYEE *next; } index EmpId; index ProNo; 17 Chapter 5 Database System Mr.Warawut Khangkhan
  • 18. F F (Database Management System : DBMS) – ˈ F F F ˈ F F F F F F FF F F F F DBMS 18 Chapter 5 Database System Mr.Warawut Khangkhan
  • 19. F DBMS DBMS F F (User View) Schema Subschema Subschema Subschema A B C User 1 User 2 User 3 User 4 User 5 19 F F F Chapter 5 Database System ˈ F F F F Mr.Warawut Khangkhan
  • 20. F DBMS F F F – F (Data Definition Language : DDL)” DDL ˈ F F F F F F F F F F F F F F F F F F F F F (Data Dictionary: DD)” F F 20 Chapter 5 Database System Mr.Warawut Khangkhan
  • 21. F DBMS F F F – F (Data Definition Language : DDL)” F (Data Dictionary: DD) F F F F F F F F F F F F F F F ˈ F 21 Chapter 5 Database System Mr.Warawut Khangkhan
  • 22. F F F ˈ F F F ˈ F F F F F F F F F F 22 Chapter 5 Database System Mr.Warawut Khangkhan
  • 23. F F F F F F F F F F F F F F F F F F F F F F F F 23 Chapter 5 Database System Mr.Warawut Khangkhan
  • 24. F F F F F F F F F F F F F F F F ˈ F F F F F 24 Chapter 5 Database System Mr.Warawut Khangkhan
  • 25. F DBMS F F – ˈ F F F F FF Physical Access Path F F F DBMS Logical Access Path “SELECT * FROM student;” F F ˈ F F F “Logical F F 25 Access Path (LAP)” Chapter 5 Database System Mr.Warawut Khangkhan
  • 26. F DBMS F F F F F DBMS F F Schema (Manipulation) F F Schema Schema Schema F F A B C F F F F F F ˈ F “DML (Data F F 26 Manipulation Language)” Chapter 5 Database System Mr.Warawut Khangkhan
  • 27. F Programmers Users DBMS DBA Application Database Queries Programs Schema DML Query DDL Preprocessor Processor Compiler DBMS Program Database Dictionary Object Code Manager Manager Access File Methods Manager System Database and 27 Buffers 5 Database System Chapter Mr.Warawut Khangkhan System Catalog
  • 28. F Programmers Users DBMS DBA Application Database Queries Programs Schema DML Query DDL Preprocessor Processor Compiler DBMS Program Database Dictionary Object F Code ˈ DBMS Manager F Manager ˈ F F F F F Access File Database Manager Methods Manager System Database and 28 Buffers 5 Database System Chapter Mr.Warawut Khangkhan System Catalog
  • 29. F Programmers Users DBMS DBA Application Database Queries Programs Schema DML Query DDL Preprocessor Processor Compiler DBMS Program Database Dictionary Object Code Manager Manager Access File F Methods ˈ Manager (Query) F F F F F F F F File System Database and Manager Buffers 29 Chapter 5 Database System F System Catalog F Mr.Warawut Khangkhan
  • 30. F Programmers Users DBMS DBA Application Database Queries Programs Schema DML Query DDL F Preprocessor F Processor F FCompiler F DBA F F F F F DBMS Program Database Dictionary ObjectF Code F F Access Method Manager Manager Access File Methods Manager System Database and 30 Buffers 5 Database System Chapter Mr.Warawut Khangkhan System Catalog
  • 31. F Programmers Users DBMS DBA Application Database Queries Programs Schema DML Query DDL Preprocessor Processor Compiler DBMS F Program DatabaseF DML F Dictionary ˈ ˆ F Object Code Manager Manager F F ˆ F ˆ F F AccessF F File Processor Query Methods Manager System Database and 31 Buffers 5 Database System Chapter Mr.Warawut Khangkhan System Catalog
  • 32. F Programmers Users DBMS DBA Application Database Queries Programs Schema DML Query DDL Preprocessor Processor Compiler DBMS Program Database Dictionary F Code Object F DDL Manager F ˈTable Manager Meta- data Table F F Catalog F Access F ˈ F Methods F File Manager F System Database and 32 Buffers 5 Database System Chapter Mr.Warawut Khangkhan System Catalog
  • 33. F Programmers Users DBMS DBA Application Database Queries Programs Schema DML Query DDL Preprocessor Processor Compiler Program Database F Catalog Manager Dictionary DBMS Object Code Manager F Catalog Manager F Table Meta-data Access File Methods Manager System Database and 33 Buffers 5 Database System Chapter Mr.Warawut Khangkhan System Catalog
  • 34. F DBMS 1. F (Database Size) – F Record 2. F F F (Number of Concurrent Users) 3. (Performance) – F F , F (System Recovery), F 34 Chapter 5 Database System Mr.Warawut Khangkhan
  • 35. F DBMS 4. (Integration) – F F F , (Operating System: OS)” 5. (Features) – F F ˈ F F ˈ F DBMS F F F F F F F F DMBS 35 F Chapter 5 Database System F F F F F Mr.Warawut Khangkhan
  • 36. F DBMS 6. F F (Vendor) – F F 7. F (Cost) DBMS – F 36 Chapter 5 Database System Mr.Warawut Khangkhan
  • 37. F (Database Model) F F F F F F 37 Chapter 5 Database System Mr.Warawut Khangkhan
  • 38. F ˈ F F F F F ˂ F ˈ Segment F Segment F FF (Node)” F F F “ (Child Node)” F F F F F (Parent Node)” F F “Root Node” F F F F F F 1 F F F F F F 38 F “One-to-Many Relationship” Chapter 5 Database System Mr.Warawut Khangkhan
  • 39. F 39 Chapter 5 Database System Mr.Warawut Khangkhan
  • 40. F F F F F F F F F F F F F Linked List F F F (Pointer) F Record F F 40 Chapter 5 Database System Mr.Warawut Khangkhan
  • 41. F F F F F F F F F F F 1 F F F F 1 F F F “Many-to-Many Relationship” 41 Chapter 5 Database System Mr.Warawut Khangkhan
  • 42. F F 42 Chapter 5 Database System Mr.Warawut Khangkhan
  • 43. F F F F F F F F F F F F F F F F ˈ F F F F ˈ 43 Chapter 5 Database System Mr.Warawut Khangkhan
  • 44. F F ˈ F F F 2 (Table) F ˈ (Row Record) F (Column ʽ F Attribute) F F F F F F F F Attribute Attribute F F F “Relation” “Table” 44 Chapter 5 Database System Mr.Warawut Khangkhan
  • 45. F F 45 Chapter 5 Database System Mr.Warawut Khangkhan
  • 46. F ˈ F F F F F F F F (Object)” F Object F F F ˈ F( F Entity) F F F “Attribute” F F F 46 Chapter 5 Database System F F F Mr.Warawut Khangkhan
  • 47. F Person name birthdate Student Employee entrydate hiredate Teacher Support 47 Chapter 5 Database System Mr.Warawut Khangkhan
  • 48. F F F F F F F F F ˈ F F F F F ˈ F Multi-valued F ˈ F F F 48 Chapter 5 Database System Mr.Warawut Khangkhan
  • 49. F ˈ F F F F F F F F ˈ F F ˈ 49 Chapter 5 Database System Mr.Warawut Khangkhan
  • 50. F A 18,000 B 15,000 F A 10,000 F B 12,500 A 35,000 B 37,500 F A 25,000 F B 20,000 F A 20,000 F B 18,000 F F A 15,000 50 Chapter 5 Database System Mr.Warawut Khangkhan F F B 12,500
  • 51. F 1 (Region) 2 (Season) 51 3Chapter 5 Database System (Production Line) Mr.Warawut Khangkhan
  • 52. F F F FF FF F “ (Slicing)” F ˈ F F F Chapter 5 Database System F (Dicing) 52 Mr.Warawut Khangkhan
  • 53. F “Slice and Dice” ˈ F FF F F F F (Data Mart and Data Warehouse) F F F (Online Analytical Processing : OLAP)” ˈ FF F F F F F F F F ˈ F F F 53 Chapter 5 Database System Mr.Warawut Khangkhan
  • 54. F 54 Chapter 5 Database System Mr.Warawut Khangkhan
  • 55. F F (Centralized Database) F DBMS F F F F ˈ F F F F F F F F Central Database 55 Chapter 5 Database System Mr.Warawut Khangkhan
  • 56. F (Distributed Database) Database) F DBMS F F F F F ˈ 56 Chapter 5 Database System Mr.Warawut Khangkhan
  • 57. F (Distributed Database) F ˈ 2 F F F Homogeneous System - F F F F DBMS F F F F F FF F F F Heterogeneous System - F F F DBMS F F F F F F F F F 57 Chapter 5 Database System Mr.Warawut Khangkhan
  • 58. F ˈ F ˈ F F 58 Chapter 5 Database System Mr.Warawut Khangkhan
  • 59. F F ˈ 3 (Conceptual Design) (Logical Design) (Physical Design) 59 Chapter 5 Database System Mr.Warawut Khangkhan
  • 60. (Conceptual Database Design) ˈ F F F F F ˈ F F Conceptual Schema” 60 Chapter 5 Database System Mr.Warawut Khangkhan
  • 61. (Conceptual Database Design) E-R Diagram Class Diagram 61 Chapter 5 Database System Mr.Warawut Khangkhan
  • 62. (Logical Database Design) ˈ Conceptual Schema F ˈ Logical Schema F F F F Relation ( ˈ F ) F ˈ Object ( ˈ F ) F F F F F F F F F F F 62 F Chapter 5 Database System Normalization” Mr.Warawut Khangkhan
  • 63. (Physical Database Model) Logical Schema F F F F F F F F F “Physical Schema” F ˈ F F 63 Chapter 5 Database System Mr.Warawut Khangkhan
  • 64. Normalization F F F ˆ F F Normalization F F F F F F ˈ (Normal Form) ˆ Update F F Normalization 6 F F 1NF, 2NF, 3NF, BCNF, 4NF 5NF (NF – 64 Normal Form) Chapter 5 Database System Mr.Warawut Khangkhan
  • 65. Normalization EmpId EmpName DepNo DeptName Salary CourseNo CourseName DateComplete F F Employee F Normalization Employee Department EmpId EmpName DepNo Salary CourseNo DepNo DeptName Course Employee_Course CourseNo CourseName EmpId CourseNo DateComplete F F Employee Normalization 65 Chapter 5 Database System Mr.Warawut Khangkhan
  • 66. F F 66 Chapter 5 Database System Mr.Warawut Khangkhan
  • 67. F F F F (Minimal Redundancy) F F (Data Inconsistency Avoidance) FF F F (Data Sharing) F F F (Uniform Security Privacy Control) F F F (Integrity Control) FF ˈ F F (Data Independence) 67 Chapter 5 Database System Mr.Warawut Khangkhan
  • 68. F 68 Chapter 5 Database System Mr.Warawut Khangkhan
  • 69. F (Policy)” F F F F F F Fˈ F F F F F F F (Information Policy) F F ˆ F 69 Chapter 5 Database System Mr.Warawut Khangkhan
  • 70. F F F F F ˈ F F F F F ˈ F F F ˈ 70 Chapter 5 Database System Mr.Warawut Khangkhan
  • 71. F F F (Data Administration)” F F F F F F F F F F F F Data Governance” F FF F 71 Chapter 5 Database System Mr.Warawut Khangkhan
  • 72. F F F F F ˈ F F (Database Administration)” 72 Chapter 5 Database System Mr.Warawut Khangkhan
  • 73. F F F 73 Chapter 5 Database System Mr.Warawut Khangkhan
  • 74. F (Data Warehouse) F (Data Warehouse) F F F F (Extract) F F F F F F F F F F ˈ F F F F F F F F F ˈ F F F F F F 74 F ˈ Chapter 5 Database System Mr.Warawut Khangkhan ˈ F
  • 75. F (Data Warehouse) F F ˈ F F F F F F F F F F F F F F (Data Mart)” F F F F F F F F ˆ F F F F “ F (Data Mining)” 75 Chapter 5 Database System Mr.Warawut Khangkhan
  • 76. 76 Chapter 5 Database System Mr.Warawut Khangkhan
  • 77. F (Data Mining) F F F F (Knowledge Discovery)” ˈ F F F F F F F F F F F ˂ F F F F F FF F F 77 F Chapter 5 Database System F F F F F Mr.Warawut Khangkhan
  • 78. F (Web Database) F F F F F F F F F F F ˈ ˁ F F F “Static Web” F F F F F ˈ F F F F ˂ F F F ˈ F 78 F “Dynamic Web” Chapter 5 Database System Mr.Warawut Khangkhan
  • 79. F (Web Database) F F F F F F F F F F F (Script) F F F F F F FF F F F F F F F F F F F F F F F F F F 79 Chapter 5 Database System Mr.Warawut Khangkhan
  • 80. F (Web Database) 1. Server IBM Compatible Client IBM Compatible 2. 4. HTML 3. ASP HTML 80 Chapter 5 Database System Mr.Warawut Khangkhan