Lecture 15 Indexed Sequential Access, B trees, Simple prefix B trees Sections 10'1 10'5 - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

Lecture 15 Indexed Sequential Access, B trees, Simple prefix B trees Sections 10'1 10'5

Description:

?????? ?????? B Tree ???? ?? ?????? ?????? ?? B-Tree ?? ????? ??? ... BO. CAM. E. F. FOLKS. Simple Prefix B Tree. ADAMS -BERNE. BOLEN -CAGE. CAMP -DUTTON. EMBRY ... – PowerPoint PPT presentation

Number of Views:257
Avg rating:3.0/5.0
Slides: 17
Provided by: Alb75
Category:

less

Transcript and Presenter's Notes

Title: Lecture 15 Indexed Sequential Access, B trees, Simple prefix B trees Sections 10'1 10'5


1
Lecture 15 Indexed Sequential Access,
Btrees,Simple prefix Btrees (Sections 10.1
10.5)
In the Name of God
2
Indexed Sequential Access Btrees, Simple prefix
Btrees
  • ????? ??? ??? ???? ??????? ?????? ?? ???? ??? ??
    ???? ???????
  • ??????? ??? Indexed Sequential ?????
  • ???????????? ISAM ????? ???? ????
  • ??? ?????? B-tree ????? ?????? ??? ?? ??????? ??
    ?????? ???? ??????
  • ????? ?????? ??? ?? ???????? ?? ???? ?????? ????
    ???? ??????
  • ?????? ?? Sequence Set ????? ????
  • ???????????? Btree ????? ????
  • ???????????? Simple Prefix Btree ????? ????

3
Indexed Sequential Access
  • ????? ??? ??? ???? ??????? ?????? ?? ????
    ??? ?? ???? ???????
  • ??? ?????? ???? ?????? (Indexed Access Method )
  • ?????? ?? ???? ?????????? ???? ?? ??????? ??
    ???? ? ??????.
  • ??? ?????? ??? (Sequential Access Method )
  • ?????? ?? ???? ???????? ???? ?? ????? ???? ????
    ??? ???? ??????? ?? ??????. (????)
  • ?? ??????? ???? ???????? ???? ?? ??? ?????? ??
    ??? ???? ???? ???? ??? ?????.
  • ?????? ??? ??? ?? ???? ?????? ?? (Batch
    Processing) ?? ?????? ?? ????? ?????? ??? ????
    ???????? ???? ????? ?? ????.
  • ???? ?????? ???? ??????? ???????? ?? ??????.

4
History ISAM File
???????????? ??? ISAM ????? ???? ????
Prof. Hyoung-Joo Kim, Comp Eng, Seoul National
Univ
5
History ISAM File
???????????? ??? ISAM ????? ???? ????
Example Reorganization
Prof. Hyoung-Joo Kim, Comp Eng, Seoul National
Univ
6
Indexed Sequential Access
  • ??? ?????? B-tree ????? ?????? ??? ?? ???????
    ?? ?????? ???? ??????
  • ?? ?????? B-tree
  • ?????? ???? ??? ???? ?????? ?????? ?????? ??
    ???????? ???? ???????.
  • ??????? ????? ???? ???? ???????? ???? ?????
    ??????? ???.
  • ?????? ??? ?? ???????? ???? ?????? ???? ????
    ???????. (????)
  • ????? ?????? ??? ?? ???????? ?? ???? ??????
    ???? ???? ??????
  • ???? ?????? ?? ???? ???? ???? (sort) ???? ?????
    ??? ?? ?????
  • ?????? ???? ?? ?? ???? ???????? ?? ???????? ????
    ??? ??????? ????.
  • ??? ?????? ????? ?? Sequence Set ??????.

7
Indexed Sequential Access
  • ?????? ?? Sequence Set ????? ????
  • ???????? ???? ?? ?????? ???? ???? ???? ??????.
  • ?? ???? ???? ????? ??? ????? ??? ?? ???????
    ??????.
  • ???????? ???? ?? ???? ???? ??? (sorted) ??????.
  • ???? ?? ??? ?? ????? ?? ?????? ???? ??? ???????.
  • ??? ????? ???? ?? ??? ?????? ????. ???? ??
    ??????? ??????? ?? ????? ?????.
  • ?????? ??? ? ????? ??????? ???? ?????? ?? ??? ???
    B-Tree ???????.
  • ????? (insertion) ?? ????? ?? ???? ????? ??? (??
    ???? ?? ???? ??) ???? ??? ???? ????? ??? (Block
    Splitting) ????. (overflow)
  • ??? (deletion) ?? ????? ?? ?? ???? ???? ??? ????
    ????? ?? ???? Block Merging ?? Block
    Redistribution ????. (underflow)

8
Sequence Set
????
(??? 10.1 ???? 427 ????)
9
Sequence Set
???? (?????...)
Prof. Hyoung-Joo Kim, Comp Eng, Seoul National
Univ
10
Sequence Set
???? (?????...)
Prof. Hyoung-Joo Kim, Comp Eng, Seoul National
Univ
11
Sequence Set
  • ?????? ?????? sequence set ?????
  • ??????? ?? ???? ???? ???? ???????? ???? ???
    ??????? ????? ?? ??? ????? ??? ????.
  • ????? ?????? sequence set ?????
  • ???? ???? ?????? ???? ??????? ???? ???? ???.
  • ??? ???? ?? ?? ?????? 50 ????? ??? ????? ?????
    ?????.
  • ????? ?????? ??????? ??? ?? ???? ?? ???? ????
    ??? ?? ?? ?? ????.

12
Sequence Set
  • ????? ?????? ?????? ?? ???? ????? ????
  • ???? ?? ??? Merge / Redistribution ???????
    ?????? ????? RAM ???? ???? ???? ????? 2 ?? 3
    ???? ?? ????? ????.
  • ???? ??? ?? ???? ?????? ?? ???? ??? ?? ?????? ??
    ???? (seek) ?????? ????.
  • ?? ???? ??? ????? ???? ??? ?????? ?? ???? ???????
    ????? ?? cluster ?????? ???.
  • ?? ???? ??? ???? ???? ??? ?????? ?? ???? ?? ?????
    ????? ?? Track ( ?? ??? ?? ) ?????? ???.

13
Sequence Set
??? ????? ?????? B-tree ?? ???? ?? ??????
Sequence Set ????? ????
14
?????? ?????? BTree
  • ???????? ?????? Btree ????? ????
  • ?????? ?????? BTree ???? ?? ?????? ?????? ??
    B-Tree ?? ????? ??? ?? ?? ?????
  • ?? BTree ???????? ???? ?? ??? ?? ????? reference
    ?? ??? parent ???? ?? ???.
  • 2) ???? ????? ???? ?? ??? parent ?? ??? ????? ??
    ????.

Key1 ?????
Key3.
Key1.
Key2.
15
Simple Prefix BTree
  • ???????? ?????? Simple Prefix Btree ????? ????
  • ?? ???? ?? ?????? sequence set ?????? ?? ???????
    ?? separator ??? ????? ??? ?????? ???? ?? ????
    ???? ??.
  • Block No. Range of Keys
    Separator
  • 1 Adams-Berne
  • 2 Bolen-Cage
  • 3 Camp-Dutton
  • 4 Embry-Evans
  • 5 Faber-Folk
  • 6 Folks-Gaddis

????
16
Simple Prefix BTree
???????? ?????? Simple Prefix Btree ????? ????
???? (??? 10.7 ???? 434 ????)
Prof. Hyoung-Joo Kim, Comp Eng, Seoul National
Univ
Write a Comment
User Comments (0)
About PowerShow.com