DOC PREVIEW
USC CSCI 599 - sandpres

This preview shows page 1-2-20-21 out of 21 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 21 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 21 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 21 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 21 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 21 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

An Overview of the SAND spatial Database SystemWhat is SAND?IssuesSpatial DataStoring Spatial DataSpatial IndexingQuadtreeSAND system requirementsSAND KernelSlide 10Open Table Storage modelTable TypesTable typesAttribute typesPowerPoint PresentationSAND InterpreterSlide 17SAND BrowserConclusionsSlide 20Spatial QueriesAn Overview of the SAND spatial Database SystemClaudio EsperancaHanan SametPresented ByGautam ShanbhagWhat is SAND?SAND=Spatial + Nonspatial data.Spatial Data=points,lines,regions… example: rivers,city…Nonspatial Data=height,name.. example: city-name…Issues As spatial and nonspatial data are intimately connected a number of issues exist.One issue is how to obtain an answer to a queryExample:Find all cities within 100 miles of mississippi river having population greater than XThere are number of possible query plans..If x=small 1st spatial then nonspatial queryingElse if x=large 1st non-spatial then spatial queryingSpatial DataWhen Queries involve the space occupied by the data then we need to be able to retrieve data based on some spatial properties which are not explicitly stored in a database.Problem of storing spatial properties in databaseVolume of information is too highCost of preprocessing it is too highType of queries is not known beforehandIt is reasonable to compute queries on the fly if the spatial data is stored in an appropriate mannerStoring Spatial DataIn order to deal with proximity and range queries,the data must be sorted.Data is sorted on the space occupied by the dataConventional DBMS use other keys such as distance from a location to sort the data.This is useless for spatial data.Spatial IndexingR-treeBucket the data from MBRGrouped by hierarchy(proximity)Stored into structure like B treeDrawback: In worst case we have to search entire databaseR+ treeDecompose space into disjoint cells which are mapped to bucketsPartitioning is arbitraryDrawback:Decomposition is data dependentUniform GridSpace is decomposed into blocks of uniform sizeIdeal for uniformly distributed dataQuadtreeSpace is decomposed by adapting to distribution of dataIdeal for arbitrarily distributed dataQuadtreeSAND system requirementsA database engine capable of storing and retrieving both conventional and spatial dataAccess methods suitable for indexing and sorting conventional and spatial dataA software library for computing spatial operations,such as distance between two pointsA GUI toolkit for displaying the queriesA way of combining these into query evaluation plansSAND KernelSAND adopts an extended relational modelSAND KernelTables are handled as regular disk files.Once a table is open, a memory buffer is created for holding one tuple which is read or written to the table.This is called the Tuple BufferAll data pertaining to a table is stored in a single file,except when attribute is a container attributeContainer attribute is stored in a separate file and a summary of it’s value and an identifier with its disk location is stored with the regular attributes.Attributes with complex spatial features are often stored using containers.Open Table Storage modelTable TypesAll open tables support a minimal common set of operators like open,close,get first tuple,get next tuple.There are 3 table types:Relations,Linear indices,Spatial IndicesRelations are tables supporting direct access by tuple id(tid)Goto tid may be used to jump to any existing tidLinear indices are implemented as B-trees.Tuples in a linear index are scanned by the order determined by their contentsSpatial indices are implemented as Quadtrees.The spatial indexing is designed to permit the full contents of the table as soon as possible.Table typesAttribute typesSAND implements common non-spatial types(int,float,string..) and also 2-D geometric types(point,line,segment,polygon..)Non-spatial attributes support the compare operator which is used to establish a total ordering among attribute values of same type.Spatial values support operators such as distance,intersect etc.Some spatial features support additional features like expand and coarsen.SAND InterpreterSAND Interpreter is implemented in Tcl which provides integration with tk a toolkit for graphical user interfaces.Most aspects of SAND can be controlled and programmed by means of commands to SAND interpreterThe system can be extended by writing new methods or strategies that are stored in a library of SAND scriptsThe interpreter can be viewed as the unifying element of the SAND systemSAND BrowserSAND browser provides GUI to the facilities of SANDVisualization is done by specifying two types of controls:scan order in which tuples are retrieved and an arbitrary selection predicate.Current implementations support only selections and semi spatial joins.SAND browser provides prompt visual feedback due to incremental query processing capabilitiesConclusionsSAND is an ongoing project and new features are being added.The table and attribute classes are being redesigned so that addition of new attribute or table does not require modification of interpreter command interface.A full featured query optimizer would be incorporated into SAND in the near future.SAND has been used as a prototype of an image database system.Spatial QueriesThe processing of spatial queries is supported by interpreter commands associated with spatial attributes and spatial indices.Spatial indices support ranking wrt a given spatial object.Ranking in SAND is performed incrementally.This means that once the parameters for a ranking operation are given,the first tuple is returned as soon as possible.Having computed the first k elements,to get the (k+1)st element we need not sort k+1 elements but we can start from the point at which we obtain the kth


View Full Document

USC CSCI 599 - sandpres

Documents in this Course
Week8_1

Week8_1

22 pages

Week2_b

Week2_b

10 pages

LECT6BW

LECT6BW

20 pages

LECT6BW

LECT6BW

20 pages

5

5

44 pages

12

12

15 pages

16

16

20 pages

Nima

Nima

8 pages

Week1

Week1

38 pages

Week11_c

Week11_c

30 pages

afsin

afsin

5 pages

October5b

October5b

43 pages

Week11_2

Week11_2

20 pages

final

final

2 pages

c-4

c-4

12 pages

0420

0420

3 pages

Week9_b

Week9_b

20 pages

S7Kriegel

S7Kriegel

21 pages

Week4_2

Week4_2

16 pages

Week6_1

Week6_1

20 pages

4

4

33 pages

Week10_c

Week10_c

13 pages

fft

fft

18 pages

LECT7BW

LECT7BW

19 pages

24

24

15 pages

14

14

35 pages

Week9_c

Week9_c

24 pages

Week11_67

Week11_67

22 pages

Week1

Week1

37 pages

LECT3BW

LECT3BW

28 pages

Week8_c2

Week8_c2

19 pages

Week5_1

Week5_1

19 pages

LECT5BW

LECT5BW

24 pages

Week10_b

Week10_b

16 pages

Week11_1

Week11_1

43 pages

Week7_2

Week7_2

15 pages

Week5_b

Week5_b

19 pages

Week11_a

Week11_a

29 pages

LECT14BW

LECT14BW

24 pages

T7kriegel

T7kriegel

21 pages

0413

0413

2 pages

3

3

23 pages

C2-TSE

C2-TSE

16 pages

10_19_99

10_19_99

12 pages

s1and2-v2

s1and2-v2

37 pages

Week10_3

Week10_3

23 pages

jalal

jalal

6 pages

1

1

25 pages

T3Querys

T3Querys

47 pages

CS17

CS17

15 pages

porkaew

porkaew

20 pages

LECT4BW

LECT4BW

21 pages

Week10_1

Week10_1

25 pages

wavelet

wavelet

17 pages

October5a

October5a

22 pages

p289-korn

p289-korn

12 pages

2

2

33 pages

rose

rose

36 pages

9_7_99

9_7_99

18 pages

Week10_2

Week10_2

28 pages

Week7_3

Week7_3

37 pages

Load more
Download sandpres
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view sandpres and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view sandpres 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?