Selectivity Estimation in Spatial Databases - PowerPoint PPT Presentation

About This Presentation
Title:

Selectivity Estimation in Spatial Databases

Description:

... ????????: ESRI ARC/INFO, MapInfo. DB ?? ????? ????????: Informix, Oracle. Selectivity Estimation - ????? ???? ???????? ??????? ???????: - ???? ?- query optimizers ... – PowerPoint PPT presentation

Number of Views:53
Avg rating:3.0/5.0
Slides: 30
Provided by: eya94
Category:

less

Transcript and Presenter's Notes

Title: Selectivity Estimation in Spatial Databases


1
Selectivity Estimation in Spatial Databases
  • S. Acharya, V. Poosala, S. Ramaswamy
  • Presented By Eyal Flato

2
????
  • ????? - ???? ????? ????????? ???????? ??????
  • ??????? ???????
  • ???????? Min-Skew
  • ?????? ???????
  • ??????

3
???? ?????
  • GIS - Geographic Information System??????
    ???????? ESRI ARC/INFO, MapInfoDB ?? ?????
    ???????? Informix, Oracle
  • Selectivity Estimation - ????? ???? ????????
    ??????? ??????? - ???? ?- query optimizers-
    ????? ??? ????? ?????? - ???? ??????- ???????
    ???????? ?? ????? ???? ???????

4
???? ????? - ?????
5
??????? ??????
  • ?????????
  • ?????
  • ???? ?????? ?????? ????? ?? ???? ??? ?? ??????
  • ????? ???? ????? ??????? ?-buckets, ?????
    ??????? ??? ???? ??????? ?? ?-buckets

6
Spatial v. Traditional
  • ???????? ?-DB ?????? ????? ???? ????? ?????
  • ??????? ?????? ????? ?? ?????? ??? ?????(?????
    ??? ??????? ??????)
  • ?????? (????? ?????) ??????? ????? ????

Q
in Q ?
of Milk ?
7
????? ?????
  • ?? ????? ????? ?? ????? ????? ??? (????? ??????)
  • ??????? ???? ????

8
???????
  • T - ???? ???????
  • Area(T) - ??? ????? ????? ?? ?? ???????
  • TA - ???? ?????? ?? ?? ????????
  • Q - ???? ???????
  • selectivity of Q - ???? ?????? ??????? ?????
    ????? ????????
  • Vavg, Havg - ???? ????? ????? ??????? ?-T

9
????? ?????
  • ????? ???? ?? ?? ???? ????????? ????? ???????
  • ??? ?????? ????? ??? ??? ????? ??????

10
Uniformity Assumption
  • Point Query - ??? ??????? ???? ??????
  • TA / Area(T)
  • ?? ???? ??????? ????? ???? ?????
  • Range Query - ?????? ?????? ???? ???? ?????
    ?????? ???????? ????? ???? ????
  • nArea(Q) / Area(T)
  • Q - ????? ?? ??????? ???? ????? ??????

11
????? ???? ???????
  • ???????? ?????? ????? ??????? ?? ????? ????
    ??????? - ???? ??????? ???? ????
  • ???? ????? ??????? ??????? ?????? ???????
    ???????? ?? ?????? ??????? ??????? ?????

19
15
12
????? ??????? ?????
  • Equi-Area - ?????? ????? ????.
  • ?????? ????? ???????? ?? ?????? ????????? ???????
    (??? ??? ???? ????? ?????)
  • ????? ?????? ?? ???? ???????

13
????? ??????? ?????
  • Equi-Count - ??? ???? ???? ???? ?? ???????.
  • ?????? ????? ???????? ?? ?????? ????????? ???????
    (??? ???? ??????? ????? ?????)
  • ????? ?????? ??????, ???? ?????? ?? ?? ????

14
?????? ??? ?????? R-Tree
  • ????? ?????? ??? ??? ?? ???? ????? ???? ????
    ????? ?? ?? ??????????-??? ???
  • ???? ??? ??????/ ?? 2-3
  • ????? ?? ????? ??? ??? ?????????? ????? ??????
    ????? ???????? ?? ????, ????? ???

15
??????? ?? ?????? ????? ?-R-Tree
  • ????Equi-Area - ?? ?????? ???????? ??????
    ????????Equi-Count - ????? ???? ?????? ???????
    ??????, ?? ?? ???????? ????? - ?? ?????R-Tree -
    ????? ???? ?????? ?? ??????

16
??????? ?? ?????? ????? ?-R-Tree
  • ??? ?????Equi-Area, Equi-Count - ???? ?????? ??
    ???? ??????? ???? ??????R-Tree - ??? ????? ???

17
???????? Min-Skew
  • ?????
  • ????? ?????? ????? - ???????? ????? ???????? ????
  • ????? ???? ??????? ??????? ?????
  • ????? ?? ???? ?????? ???? ????
  • ????? ?? ?????? ???? ?? ??? ?????

18
???????? Min-Skew
  • ????????? ????? ???? ????? ???????
  • 1. ????? ??????? ?? ???? ????? ?????? ???????
    ?????? ?? ??? ?? ?????? ???????
  • 2. ???????? greedy ?????? ??????

19
???????? Min-Skew????? ????
  • ????? ?-grid ????? ????? ???? ???? ???????
  • ???? ??? ?? ???? ?????? ?? ???? ???????? ?????
    ??? ??? ?????? ?-grid - ?????? ??????
  • ???? ???? ???? ?? ????????? ???? ?-grid ?????
    ??????? ??????? ??? ?? ??.

20
???????? Min-Skew ????? ??????
  • ??? ???? Bi ?????? ????? spatial skew
  • Si ?????? ?? ???? ??????? ??????? ?? ??????
    ?-grid ??????? ???? Bi
  • ??????? ?????
  • (Ni ???? ?????? ?-grid ????? Bi)
  • ????? ????? ?????? ???????? ?? ??????? ?????
  • ????????? ??? Binary Space Partition

4
1
0
1
2
3
2
1
Bi
0
5
1
3
2
1
1
1
Ni 6 Si 2.3
21
???????? Min-Skew ????? ??????
  • ??? ?????? grid ?? ?????? ?????? ??? ??
  • ????? ????? ???? ????? ?? ?? ???? ??????
  • ?? ??? ?? ???? ?????? ??????

22
?????? ???????
  • ????? ??????? ?????? ?????? ?? ?????? ???????
    ?????????
  • ??? ?????? ?????? - ????? ????? ?????? ??
    ???????? ????? ?????? ??????? ?? ??????? ???????

23
?????? ???????????? ???? ???????
24
?????? ???????????? ???? ??????? ?????
25
?????? ???????????? ?????? ?-grid ?? Min-Skew
26
????? Min-SkewProgressive Refinement
  • ????? ???????? ?????? ????? ????? ???? ?? ???
    ?????? ?????? ?-grid

27
?????Progressive Refinement
28
???? ????
29
??????
  • ?????? ??????? ?- selectivity estimation (?????,
    ?????????) ?? ??????? ?-DB ???????? (?????)
  • ????? ???????? ????? ???????? ?????? ?????? ?????
    ?? ?? ?????? ????? ???
  • ???????? Min-Skew ???? ?? ??? ???????? ??????
    ????? ????? ???? ????? ????

30
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com