1 320302 Databases & WebServices (P. Baumann)
Array Databases
http://www.faculty.jacobs-university.de/pbaumann publications http://en.wikipedia.org/wiki/Array_DBMS
[animation: gamingfeeds.com]
Array Databases http://www.faculty.jacobs-university.de/pbaumann - - PowerPoint PPT Presentation
Array Databases http://www.faculty.jacobs-university.de/pbaumann publications http://en.wikipedia.org/wiki/Array_DBMS [animation: gamingfeeds.com] 320302 Databases & WebServices (P. Baumann) 1 Who Needs Arrays? Sensor, image,
1 320302 Databases & WebServices (P. Baumann)
[animation: gamingfeeds.com]
2 320302 Databases & WebServices (P. Baumann)
aerospace industry, turbines, process industry, ...
statistics in industry and public administration, ...
3 320302 Databases & WebServices (P. Baumann)
[OGC SWE]
sensor feeds
4 320302 Databases & WebServices (P. Baumann)
5 320302 Databases & WebServices (P. Baumann)
spatial domain dimension 24 21 23 22 42 7 8 5 6 4 21 lower bound 24 upper bound 8 4 25 30 cell value cell
6 320302 Databases & WebServices (P. Baumann)
7 320302 Databases & WebServices (P. Baumann)
t
8 320302 Databases & WebServices (P. Baumann)
2003, …, VLDB 2016]
9 320302 Databases & WebServices (P. Baumann)
array like tuple variable, oid via function
MyColl array
OID
MyData att 2 att 1 att n key1 ...
key2 ...
key3 ...
select img[ 100:199, 100:199 ] from MyColl as m where oid(m) = 42
10 320302 Databases & WebServices (P. Baumann)
–
select c[ *:*, 100:200, *:*, 42 ] from ClimateSimulations as c select img * (img.green > 130) from LandsatArchive as img select mri from MRI as img, masks as am where some_cells( mri > 250 and m ) select encode( c[*:*,*:*,100,42], „png“ ) from ClimateSimulations as c
rasdaman DB HDF PNG NetCDF HDF PNG NetCDF
11 320302 Databases & WebServices (P. Baumann)
select encode( struct { red: (char) s.image.b7[x0:x1,x0:x1], green: (char) s.image.b5[x0:x1,x0:x1], blue: (char) s.image.b0[x0:x1,x0:x1], alpha: (char) scale( d.elev, 20 ) }, "image/png" ) from SatImage as s, DEM as d
[JacobsU, Fraunhofer; data courtesy BGS, ESA]
12 320302 Databases & WebServices (P. Baumann)
select marray bucket in [0:255] values count_cells( img = bucket ) from img select marray i in [0:m], j in [0:p] values condense +
using a [ i, k ] * b [ k, j ] from matrix as a, matrix as b
13 320302 Databases & WebServices (P. Baumann)
select id, encode(scene.band1-scene.band2)/(scene.band1+scene.band2)), „image/tiff“ ) from LandsatScenes where acquired between „1990-06-01“ and „1990-06-30“ and avg( scene.band3-scene.band4)/(scene.band3+scene.band4)) > 0 create table LandsatScenes( id: integer not null, acquired: date, scene: row( band1: integer, ..., band7: integer ) mdarray [ 0:4999,0:4999] )
14 320302 Databases & WebServices (P. Baumann)
15 320302 Databases & WebServices (P. Baumann)
{ (x1,f1), (x2,f2), ..., (xn,fn) }
16 320302 Databases & WebServices (P. Baumann)
regular irregular partially aligned totally nonaligned nonaligned aligned
chunking [Sarawagi, Stonebraker, DeWitt, ... ]
17 320302 Databases & WebServices (P. Baumann)
[OpenStreetMap] [Centrella et al: scidacreviews.org]
18 320302 Databases & WebServices (P. Baumann)
regular directional ... area of interest
insert into MyCollection values ... tiling area of interest [0:20,0:40], [45:80,80:85] tile size 1000000 index d_index storage array compression zlib
19 320302 Databases & WebServices (P. Baumann)
select a < sum_cells( b + c ) from a, b, c <ind sum +ind c b a
20 320302 Databases & WebServices (P. Baumann)
21 320302 Databases & WebServices (P. Baumann)
select avg_cells( a + b ) from a, b select avg_cells( a ) + avg_cells( b ) from a, b
avg + a avg b avg +ind b a
22 320302 Databases & WebServices (P. Baumann)
select jpeg( scale(bild0[...],[1:300,1:300]) * { 1c, 1c, 1c}
from ...
23 320302 Databases & WebServices (P. Baumann)
select max((A.nir - A.red) / (A.nir + A.red))
from A, B, C, D
Dataset B Dataset A Dataset D Dataset C
24 320302 Databases & WebServices (P. Baumann)
distributed query processing
No single point of failure
alternative storage [SSTD 2013]
federation demon tile access
25 320302 Databases & WebServices (P. Baumann)
26 320302 Databases & WebServices (P. Baumann)
www.earthserver.eu
26 320302 Databases & WebService (P. Baumann)
27 320302 Databases & WebServices (P. Baumann)
= spatio-temporal datacube analytics language
for $c in ( M1, M2, M3 ) where some( $c.nir > 127 ) return encode( $c.red - $c.nir, “image/tiff“ )
28 320302 Databases & WebServices (P. Baumann)
29 320302 Databases & WebServices (P. Baumann)
30 320302 Databases & WebServices (P. Baumann)
31 320302 Databases & WebServices (P. Baumann)
[BGS 2013]
32 320302 Databases & WebServices (P. Baumann)
(1 pc = 3.27 light years)
33 320302 Databases & WebServices (P. Baumann)
select encode( scale( {1c,0c,0c}*e[0,*:*,*:*] +{0c,1c,0c}*e[1,*:*,*:*] +{0c,0c,1c}*e[2,*:*,*:*], 0.2 ), „image/jpeg“ ) from EmbryoImages as e where oid(e)=193537 http://urchin.spbcas.ru/Mooshka/ [Samsonova et al]
34 320302 Databases & WebServices (P. Baumann)
select tiff( ht[ $1, *:*, *:* ] ) from HeadTomograms as ht, Hippocampus as mask where count_cells( ht > $2 and mask ) / count_cells( mask ) > $3
„activation maps“
$1 = slicing position, $2 = intensity threshold value, $3 = confidence
35 320302 Databases & WebServices (P. Baumann)
36 320302 Databases & WebServices (P. Baumann)
37 320302 Databases & WebServices (P. Baumann)
38 320302 Databases & WebServices (P. Baumann)
[Diedrich et al 2001]
39 320302 Databases & WebServices (P. Baumann)