• Giáo trình môn Cơ sở dữ liệu (Phần 1)Giáo trình môn Cơ sở dữ liệu (Phần 1)

    TÓM TẮT  Hệ quản trị cơ sở dữ liệu cung cấp một ngôn ngữ cơ sở dữ liệu cho phép làm việc với mô hình cơ sở dữ liệu mà nó hỗ trợ;  Hệ quản trị cơ sở dữ liệu quan hệ cung cấp một ngôn ngữ cơ sở dữ liệu gọi là Structured Query Language (SQL);  SQL có 4 bộ ngôn ngữ con: ngôn ngữ con định nghĩa dữ liệu, ngôn ngữ con thao tác dữ liệu, ngôn ngữ h...

    pdf134 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1376 | Lượt tải: 1

  • Bài giảng Cơ sở dữ liệu phân tán (Distributed database) - Chương I: Tổng quan CSDLPTBài giảng Cơ sở dữ liệu phân tán (Distributed database) - Chương I: Tổng quan CSDLPT

    PHÂN LOẠI HỆ QTCSDL-PT l Theo Bochmann, các loại hệ xử lý phân tán có thể phân loại dựa theo các tiêu chuẩn : Độ kết dính : (degree of coupling)là số đo mức độ nối kết chặt chẽ giữa các phần tử được xử lý, được tính bằng tỷ số giữa lượng dữ liệu trao đổi với lượng xử lý tại chỗ, được thực hiện trọng việc hoàn thành 1 giao tác Cấu trúc nối kế...

    pdf23 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1899 | Lượt tải: 0

  • Bài giảng Computer Architecture - Part V: Memory System DesignBài giảng Computer Architecture - Part V: Memory System Design

    20.4 Page Replacement Policies Least-recently used policy: effective, but hard to implement Approximate versions of LRU are more easily implemented Clock policy: diagram below shows the reason for name Use bit is set to 1 whenever a page is accessed

    ppt68 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1484 | Lượt tải: 0

  • Bài giảng Computer Architecture - Part IV: Data Path and ControlBài giảng Computer Architecture - Part IV: Data Path and Control

    Exceptions present the same problems as branches How to handle instructions that are ahead in the pipeline? (let them run to completion and retirement of their results) What to do with instructions after the exception point? (flush them out so that they do not affect the state) Precise versus imprecise exceptions Precise exceptions hide ...

    ppt72 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1449 | Lượt tải: 0

  • Bài giảng môn Database Systems - Chapter 11 Relational Database Design Algorithms and Further DependenciesBài giảng môn Database Systems - Chapter 11 Relational Database Design Algorithms and Further Dependencies

    Domain-Key Normal Form (DKNF):  Defintion:A relation schema is said to be in DKNF if all constraints and dependencies that should hold on the valid relation states can be enforced simply by enforcing the domain constraints and key constraints on the relation.  The idea is to specify (theoretically, at least) the “ultimate normal form” that ...

    pdf43 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1352 | Lượt tải: 0

  • Bài giảng môn Database Systems - Chapter 10 Functional Dependencies and Normalization for Relational DatabasesBài giảng môn Database Systems - Chapter 10 Functional Dependencies and Normalization for Relational Databases

    Achieving the BCNF by Decomposition (2)  Three possible decompositions for relation TEACH 1. {student, instructor} and {student, course} 2. {course, instructor } and {course, student} 3. {instructor, course } and {instructor, student}  All three decompositions will lose fd1. We have to settle for sacrificing the functional dependency preser...

    pdf49 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1553 | Lượt tải: 0

  • Bài giảng Database Systems - Chapter 9 MORE SQL: Assertions, Views, and Programming TechniquesBài giảng Database Systems - Chapter 9 MORE SQL: Assertions, Views, and Programming Techniques

    Summary (continued)  A database may be accessed via an interactive database  Most often, however, data in a database is manipulate via application programs  Several methods of database programming: – embedded SQL – dynamic SQL – stored procedure and function

    pdf45 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1301 | Lượt tải: 0

  • Bài giảng Database Systems - Chapter 8 SQL-99: Schema Definition, Basic Constraints, and QueriesBài giảng Database Systems - Chapter 8 SQL-99: Schema Definition, Basic Constraints, and Queries

    UPDATE  Used to modify attribute values of one or more selected tuples  A WHERE-clause selects the tuples to be modified  An additional SET-clause specifies the attributes to be modified and their new values  Each command modifies tuples in the same relation  Referential integrity should be enforced

    pdf71 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1599 | Lượt tải: 0

  • Bài giảng Database Systems - Chapter 7 Relational Database Design by ER- And EERR-to-Relational MappingBài giảng Database Systems - Chapter 7 Relational Database Design by ER- And EERR-to-Relational Mapping

     Step 9: Mapping of Union Types (Categories). – For mapping a category whose defining superclass have different keys, it is customary to specify a new key attribute, called a surrogate key, when creating a relation to correspond to the category. – In the example below we can create a relation OWNER to correspond to the OWNER category and incl...

    pdf32 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1393 | Lượt tải: 0

  • Bài giảng Database Systems - Chapter 06 The Relational Algebra and CalculusBài giảng Database Systems - Chapter 06 The Relational Algebra and Calculus

    QBE Examples Specifying complex cinditions in QBE:  A technique called the “condition box” is used in QBE to state more involved Boolean expressions as conditions.  The D.4(a) gives employees who work on either project 1 or 2, whereas the query in D.4(b) gives those who work on both the projects.

    pdf53 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1673 | Lượt tải: 0