Thư viện tài liệu, ebook tổng hợp lớn nhất Việt Nam
Website chia sẻ tài liệu, ebook tham khảo cho các bạn học sinh, sinh viên
Tổng hợp tài liệu, ebook Công Nghệ Thông Tin tham khảo.
Chỉ mục (tt) Nhận xét - Tìm kiếm nhanh trong trường hợp so sánh với hằng số và phép kết - Làm chậm đi các thao tác thêm, xóa và sửa - Tốn chi phí Lưu trữ chỉ mục Truy xuất đĩa nhiều Chọn lựa cài đặt chỉ mục hợp lý???
132 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 640 | Lượt tải: 1
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: 729 | 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: 808 | Lượt tải: 1
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: 573 | Lượt tải: 1
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: 537 | Lượt tải: 1
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…
47 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 479 | Lượt tải: 1
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…
93 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 515 | Lượt tải: 1
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. ●…
43 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 567 | Lượt tải: 1
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…
37 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 533 | Lượt tải: 1
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…
25 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 493 | Lượt tải: 1