Presentation is loading. Please wait.

Presentation is loading. Please wait.

From Silberschatz, et.al., Database Systems Concepts, 6th ed.

Similar presentations


Presentation on theme: "From Silberschatz, et.al., Database Systems Concepts, 6th ed."— Presentation transcript:

1 From Silberschatz, et.al., Database Systems Concepts, 6th ed.

2 From Silberschatz, et.al., Database Systems Concepts, 6th ed.

3 Sparse index From Silberschatz, et.al., Database Systems Concepts, 6th ed.

4 Multi-Level Index From Silberschatz, et.al., Database Systems Concepts, 6th ed.

5 From Garcia-Molina, DB Systems: The Complete Book

6 From Garcia-Molina, DB Systems: The Complete Book

7 From Garcia-Molina, DB Systems: The Complete Book

8 From Silberschatz, et.al., Database Systems Concepts, 6th ed.

9 From Silberschatz, et.al., Database Systems Concepts, 6th ed.

10 From Silberschatz, et.al., Database Systems Concepts, 6th ed.

11 From Silberschatz, et.al., Database Systems Concepts, 6th ed.

12 From Silberschatz, et.al., Database Systems Concepts, 6th ed.

13 From Silberschatz, et. al. , Database Systems Concepts, 6th ed
From Silberschatz, et.al., Database Systems Concepts, 6th ed., updated by CCPalmer

14 Players Hash Values ID Name Club Salary 66145 Alice MWU 80000 35643
Boris FCB 89000 49511 Carlos MC 76000 62944 Dean UF 78000 68288 Eve 83500 91026 Fabio 95000 14838 Gina LFC 72000 53062 Hector 92000 74400 Ignatio 67700 76190 Jose GFC 81800 84231 Kyle 77700 56190 Luis CFC 82000 Hash Values Club hash(Club) CFC FCB GFC LFC MC MWU UF

15 Hash prefix Bucket Pointer Table

16 1 Hash prefix Insert Dean, Fabio, & Alice. 1 62944 Dean UF 78000 001 1
91026 Fabio FCB 95000 66145 Alice MWU 80000 111 101 1 Bucket Pointer Table

17 2 Insert Gina, causing a split Hash prefix 1 62944 Dean UF 78000 001 2
14838 Gina LFC 72000 66145 Alice MWU 80000 100 101 00 2 01 91026 Fabio FCB 95000 111 10 11 Bucket Pointer Table

18 3 Insert Ignatio & Kyle Hash prefix 1 62944 Dean UF 78000 001 000 3
14838 Gina LFC 72000 74400 Ignatio 67700 100 001 100 3 010 66145 Alice MWU 80000 101 011 2 100 91026 Fabio FCB 95000 84231 Kyle GFC 77700 111 101 110 110 111 Bucket Pointer Table

19 3 Insert Boris Hash prefix 1 62944 Dean UF 78000 001 000 3 14838 Gina
LFC 72000 74400 Ignatio 67700 100 001 100 3 010 66145 Alice MWU 80000 101 011 3 100 84231 Kyle GFC 77700 110 101 3 110 91026 Fabio FCB 95000 35643 Boris 89000 111 111 111 Bucket Pointer Table

20 3 Insert Luis, Hector, Jose, & Eve Hash prefix 2 62944 Dean UF 78000
56190 Luis CFC 82000 001 001 000 3 14838 Gina LFC 72000 74400 Ignatio 67700 100 001 100 3 010 66145 Alice MWU 80000 68288 Eve 83500 101 011 101 3 100 84231 Kyle GFC 77700 76190 Jose 81800 110 101 110 3 110 91026 Fabio FCB 95000 35643 Boris 89000 111 111 111 53062 Hector FCB 92000 111 Bucket Pointer Table

21 3 Insert Carlos. Hash prefix 2 62944 Dean UF 78000 56190 Luis CFC
82000 001 001 000 49511 Carlos MC 76000 2 010 001 3 100 010 14838 Gina LFC 72000 74400 Ignatio 67700 100 011 3 66145 Alice MWU 80000 68288 Eve 83500 101 100 101 101 3 84231 Kyle GFC 77700 76190 Jose 81800 110 110 110 111 3 91026 Fabio FCB 95000 35643 Boris 89000 111 Bucket Pointer Table 111 53062 Hector FCB 92000 111

22 Bitmap Indices SELECT * FROM Table WHERE gender=‘f’ AND income_level = ‘L2’ ∧ = 01000 From Silberschatz, et.al., Database Systems Concepts, 6th ed.


Download ppt "From Silberschatz, et.al., Database Systems Concepts, 6th ed."

Similar presentations


Ads by Google