• Cơ sở dữ liệu - Chapter 5: Relational database design by er - And eer - to - relational mappingCơ sở dữ liệu - Chapter 5: Relational database design by er - And eer - to - relational mapping

    Example: The M:N relationship type WORKS_ON from the ER diagram is mapped by creating a relation WORKS_ON in the relational database schema. ◦ The primary keys of the PROJECT and EMPLOYEE relations are included as foreign keys in WORKS_ON and renamed PNO and ESSN, respectively. ◦ Attribute HOURS in WORKS_ON represents the HOURS attribute of ...

    pdf36 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1002 | Lượt tải: 0

  • Cơ sở dữ liệu - Chapter 4: Relational modelCơ sở dữ liệu - Chapter 4: Relational model

    Query languages: Allow manipulation and retrieval of data from a database.  Relational model supports simple, powerful QLs: ◦ Strong formal foundation based on logic. ◦ Allows for much optimization.  Query Languages != programming languages! ◦ QLs not intended to be used for complex calculations. ◦ QLs support easy, efficient access to ...

    pdf47 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1359 | Lượt tải: 0

  • Cơ sở dữ liệu - Chapter 3: The enhanced entity - Relationship (eer) modelCơ sở dữ liệu - Chapter 3: The enhanced entity - Relationship (eer) model

    In many cases an entity type has numerous subgroupings of its entities that are meaningful and need to be represented explicitly because of their significance to the database application.  Ex: EMPLOYEE may be further grouped into: ◦ SECRETARY, ENGINEER, TECHNICIAN,  Based on the EMPLOYEE’s Job ◦ MANAGER  EMPLOYEEs who are managers ◦ SAL...

    pdf39 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 992 | Lượt tải: 0

  • Cơ sở dữ liệu - Chương 2: Nhập xuất dữ liệu Exporting anh importing dataCơ sở dữ liệu - Chương 2: Nhập xuất dữ liệu Exporting anh importing data

    Cơ sở dữ liệu - Chương 2: Nhập xuất dữ liệu Exporting anh importing data Package là đói ngjcoots lõi trong SQL server SSIC dùng để chuyển dữ liệu từ nguồn đến đích và trình tự xử lý dữ liệu

    pdf71 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1036 | Lượt tải: 0

  • Cơ sở dữ liệu - Chapter 2: Entity relationship modelCơ sở dữ liệu - Chapter 2: Entity relationship model

    One-to-Many Relationship Type: ◦ The relationship that associates one entity to more than one entity is called one-to-many relationship. ◦ Symbol: ◦ Example: parent–child relationship. For one parent there can be more than one child

    pdf34 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1143 | Lượt tải: 0

  • Cơ sở dữ liệu - Chapter 1: Overview of database management systemCơ sở dữ liệu - Chapter 1: Overview of database management system

    A collection of tools for describing the database (include data, relationships, sematics, constraints) at a level of abstraction  Levels of abstraction: ◦ Conceptual Data Model:  a high level description useful for requirements understanding

    pdf24 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 991 | Lượt tải: 0

  • Cơ sở dữ liệu - Chương 1: Lập kế hoạch và cài dặt SQL server 2012 và 2008Cơ sở dữ liệu - Chương 1: Lập kế hoạch và cài dặt SQL server 2012 và 2008

    Cơ sở dữ liệu - Chương 1: Lập kế hoạch và cài dặt SQL server 2012 và 2008 Nên dành server rieengcho SQ Để tăng khả anwng sẵn sàng đáp ứng dịch vụ của server - Tính kinh tế

    pdf42 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1113 | Lượt tải: 0

  • Cơ sở dữ liệu - Chapter 22: Distributed databasesCơ sở dữ liệu - Chapter 22: Distributed databases

    In­doubt transactions have a , but neither a , nor an log record. ■ The recovering site must determine the commit­abort status of such transactions by contacting other sites; this can slow and potentially block recovery. ■ Recovery algorithms can note lock information in the log. ● Instead of , write out ...

    pdf93 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1267 | Lượt tải: 0

  • Cơ sở dữ liệu - Chapter 21: Parallel databasesCơ sở dữ liệu - Chapter 21: Parallel databases

    Example of a cache coherency protocol for shared disk systems: ● Before reading/writing to a page, the page must be locked in shared/exclusive mode. ● On locking a page, the page must be read from disk ● Before unlocking a page, the page must be written to disk if it was modified. ■ More complex protocols with fewer disk reads/writes exist. ...

    pdf43 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1249 | Lượt tải: 0

  • Cơ sở dữ liệu - Chapter 20: Database system architecturesCơ sở dữ liệu - Chapter 20: Database system architectures

    Shared memory contains shared data ● Buffer pool ● Lock table ● Log buffer ● Cached query plans (reused if same query submitted again) ■ All database processes can access shared memory ■ To ensure that no two processes are accessing the same data structure at the same time, databases systems implement mutual exclusion using either ● Operat...

    pdf37 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 985 | Lượt tải: 0