Website chia sẻ tài liệu, ebook tham khảo cho các bạn học sinh, sinh viên
Phép kết ngoài Mở rộng phép kết để tránh mất mát thông tin - Thực hiện phép kết - Lấy thêm các bộ không thỏa điều kiện kết Có 3 hình thức - Kết nối trái (Left join) - Kết nối phải phải (Right join) - Kết nối ngoài (Full outer join)
65 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1460 | Lượt tải: 1
Các qui tắc chuyển đổi (tt) (3) Thực thể yếu - Chuyển thành một quan hệ Có cùng tên với thực thể yếu Thêm vào thuộc tính khóa của quan hệ liên quan
25 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1931 | Lượt tải: 0
Mối kết hợp Là sự liên kết giữa 2 hay nhiều tập thực thể Ví dụ giữa tập thực thể NHANVIEN và PHONGBAN có các liên kết - Một nhân viên thuộc một phòng ban nào đó - Một phòng ban có một nhân viên làm trưởng phòng
38 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1143 | Lượt tải: 0
Cursor Stability Form of degree-two consistency designed for programs written in general-purpose, record-oriented languages (e.g., Pascal, C, Cobol, PL/I, Fortran). Rather than locking the entire relation, cursor stability ensures that The tuple that is currently being processed by the iteration is locked in shared mode. Any modified...
46 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1075 | Lượt tải: 0
Handling Inconsistent Updates Dealing with inconsistent updates is hard in general. Manual intervention often required to merge the updates. Version vector schemes were developed to deal with failures in a distributed file system, where inconsistencies are rare. are used to maintain a unified file system between a fixed host and a mo...
47 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 982 | Lượt tải: 0
Three Phase Commit (3PC) ■ Assumptions: ● No network partitioning ● At any point, at least one site must be up. ● At most K sites (participants as well as coordinator) can fail ■ Phase 1: Obtaining Preliminary Decision: Identical to 2PC Phase 1. ● Every site is ready to commit if instructed to do so ■ Phase 2 of 2PC is split into 2 phases, P...
93 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1062 | Lượt tải: 0
Design of Parallel Systems (Cont.) ■ Online reorganization of data and schema changes must be supported. ● For example, index construction on terabyte databases can take hours or days even on a parallel system. Need to allow other processing (insertions/deletions/updates) to be performed on relation even as index is being constructed. ● Ba...
43 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1102 | Lượt tải: 0
Networks Types (Cont.) ■ WANs with continuous connection (e.g. the Internet) are needed for implementing distributed database systems ■ Groupware applications such as Lotus notes can work on WANs with discontinuous connection: ● Data is replicated. ● Updates are propagated to replicas periodically. ● Copies of data may be updated independent...
37 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1080 | Lượt tải: 0
Web Directories ■ A Web directory is just a classification directory on Web pages ● E.g. Yahoo! Directory, Open Directory project ● Issues: What should the directory hierarchy be? Given a document, which nodes of the directory are categories relevant to the document ● Often done manually Classification of documents into a hierarchy ma...
25 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1071 | Lượt tải: 0
Other Types of Mining ■ Text mining: application of data mining to textual documents ● cluster Web pages to find related pages ● cluster pages a user has visited to organize their visit history ● classify Web pages automatically into a Web directory ■ Data visualization systems help users examine large volumes of data and detect patterns visu...
52 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1010 | Lượt tải: 0