Thư viện tài liệu trực tuyến miễn phí dành cho các bạn học sinh, sinh viên
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
34 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1229 | Lượt tải: 0
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
24 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1070 | 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à 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ế
42 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1190 | Lượt tải: 0
Indoubt transactions have a
93 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1476 | Lượt tải: 0
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. ...
43 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1406 | Lượt tải: 0
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...
37 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1069 | Lượt tải: 0
Solution: use number of hyperlinks to a site as a measure of the popularity or prestige of the site ● Count only one hyperlink from each site (why? see previous slide) ● Popularity measure is for site, not for individual page But, most hyperlinks are to root of site Also, concept of “site” difficult to define since a URL prefix like cs....
25 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 979 | Lượt tải: 0
Data cleansing ● E.g. correct mistakes in addresses (misspellings, zip code errors) ● Merge address lists from different sources and purge duplicates ■ How to propagate updates ● Warehouse schema may be a (materialized) view of schema from data sources ■ What data to summarize ● Raw data may be too large to store online ● Aggregate values ...
52 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1028 | Lượt tải: 0
Database buffers are generally implemented in virtual memory in spite of some drawbacks: ● When operating system needs to evict a page that has been modified, the page is written to swap space on disk. ● When database decides to write buffer page to disk, buffer page may be in swap space, and may have to be read from swap space on disk and ou...
81 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 1437 | Lượt tải: 0
Allow data items to be of various sizes and define a hierarchy of data granularities, where the small granularities are nested within larger ones ■ Can be represented graphically as a tree (but don't confuse with treelocking protocol) ■ When a transaction locks a node in the tree explicitly, it implicitly locks all the node's descendents in th...
79 trang | Chia sẻ: huyhoang44 | Ngày: 16/03/2020 | Lượt xem: 974 | Lượt tải: 0