• Bài giảng Database System Concepts - Chapter 12: Indexing and HashingBài giảng Database System Concepts - Chapter 12: Indexing and Hashing

    Grid Files (Cont.) ■ During insertion, if a bucket becomes full, new bucket can be created if more than one cell points to it. ● Idea similar to extendable hashing, but on multiple dimensions ● If only one cell points to it, either an overflow bucket must be created or the grid size must be increased ■ Linear scales must be chosen to uniforml...

    pdf84 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1021 | Lượt tải: 0

  • Bài giảng Database System Concepts - Chapter 11: Storage and File StructureBài giảng Database System Concepts - Chapter 11: Storage and File Structure

    Modifying Large Objects ■ If the application requires insert/delete of bytes from specified regions of an object: ● B+­tree file organization (described later in Chapter 12) can be modified to represent large objects ● Each leaf page of the tree stores between half and 1 page worth of data from the object ■ Special­purpose application program...

    pdf90 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1018 | Lượt tải: 0

  • Bài giảng Database System Concepts - Chapter 10: XMLBài giảng Database System Concepts - Chapter 10: XML

    XML Application: Web Services ■ The Simple Object Access Protocol (SOAP) standard: ● Invocation of procedures across applications with distinct databases ● XML used to represent procedure input and output ■ A Web service is a site providing a collection of SOAP procedures ● Described using the Web Services Description Language (WSDL) ● Direct...

    pdf59 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 987 | Lượt tải: 0

  • Bài giảng Database System Concepts - Chapter 9: Object­Based DatabasesBài giảng Database System Concepts - Chapter 9: Object­Based Databases

    Comparison of O­O and O­R Databases ■ Relational systems ● simple data types, powerful query languages, high protection. ■ Persistent­programming­language­based OODBs ● complex data types, integration with programming language, high performance. ■ Object­relational systems ● complex data types, powerful query languages, high protection. ■ No...

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

  • Bài giảng Database System Concepts - Chapter 8: Application Design and DevelopmentBài giảng Database System Concepts - Chapter 8: Application Design and Development

    Digital Certificates ■ Digital certificates are used to verify authenticity of public keys. ■ Problem: when you communicate with a web site, how do you know if you are talking with the genuine web site or an imposter? ● Solution: use the public key of the web site ● Problem: how to verify if the public key itself is genuine? ■ Solution: ● Ev...

    pdf52 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1023 | Lượt tải: 0

  • Bài giảng Database System Concepts - Chương 7: Xử lý tập tin với Visual Basic 6.0Bài giảng Database System Concepts - Chương 7: Xử lý tập tin với Visual Basic 6.0

    Lab 04 – Ứng dụng xóa file - Hãy thử viết 1 ứng dụng cho phép user xác định mẫu các file cần xóa rồi tìm các file thỏa mãn mẫu qui định và xóa chúng, việc tìm và xóa nên đệ quy từ vị trí mẫu để xóa triệt để. - Thí dụ nếu người dùng nhập pattern c:\*.tmp, ứng dụng sẽ tìm và xóa mọi file *.tmp từ thư mục gốc.

    pdf17 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1024 | Lượt tải: 0

  • Bài giảng Database System Concepts - Chapter 7: Relational Database DesignBài giảng Database System Concepts - Chapter 7: Relational Database Design

    Correctness of 3NF Decomposition Algorithm (Cont’d.) Claim: if a relation R i is in the decomposition generated by the above algorithm, then Ri satisfies 3NF. ■ Let Ri be generated from the dependency α → β ■ Let γ → B be any non­trivial functional dependency on Ri. (We need only consider FDs whose right­hand side is a single attribute.) ■ ...

    pdf87 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1168 | Lượt tải: 0

  • Bài giảng Database System Concepts - Chapter 6: Entity­Relationship ModelBài giảng Database System Concepts - Chapter 6: Entity­Relationship Model

    UML Class Diagrams (Contd.) ■ Cardinality constraints are specified in the form l.h, where l denotes the minimum and h the maximum number of relationships an entity can participate in. ■ Beware: the positioning of the constraints is exactly the reverse of the positioning of constraints in E­R diagrams. ■ The constraint 0.* on the E2 side and ...

    pdf82 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1133 | Lượt tải: 0

  • Bài giảng Tin học đại cương - Chương 6: Lập trình với Visual Basic 6.0Bài giảng Tin học đại cương - Chương 6: Lập trình với Visual Basic 6.0

    Input Box (tt) Mặc dầu Input Boxes rất dễ dùng, trên thực tế rất ít khi ta dùng nó vì những lý do sau đây: – Trong lúc user input data, phải đợi sau khi user click OK thì mới bắt đầu xử lý input textstring. Nếu dùng một Textbox trong một Form thông thường, ta có thể code trong các Event handlers của Events KeyPress hay Change để kiểm soát c...

    pdf36 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1359 | Lượt tải: 0

  • Bài giảng Tin học đại cương - Chương 5: Form và một số Controls thông dụngBài giảng Tin học đại cương - Chương 5: Form và một số Controls thông dụng

    LAB 02 Sử dụng IDE của VB6.0 thiết kế form dưới đây – (1) Frame – (2) Label – (3) Textbox – (4) Command Button – (5) Combo Box – (6) ListBox Viết mã lệnh ứng với Event Form_Load trong đó sử dụng method AddItem đối với ComboBox và ListBox để thêm các mục trong danh sách lựa chọn

    pdf10 trang | Chia sẻ: vutrong32 | Ngày: 17/10/2018 | Lượt xem: 1106 | Lượt tải: 0