summaryrefslogtreecommitdiffstats
path: root/rasodmg/test/tomo_ops.ql
blob: fce9bf535723610f546dd2fbdd6cfd4bc0334593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// This test evaluates performance of binary operations on parts 
// of tomo. Selectivity fixed at 10%

// cubed, no operation

select img[0:117,0:117,0:69]
from tomo_cubed as img

// cubed, one MDD operation

select img[0:117,0:117,0:69] + img[0:117,0:117,0:69]
from tomo_cubed as img

// cubed, two MDD operations

select img[0:117,0:117,0:69] + img[0:117,0:117,0:69] + img[0:117,0:117,0:69]
from tomo_cubed as img

// cubed, three MDD operations

select img[0:117,0:117,0:69] + img[0:117,0:117,0:69] + img[0:117,0:117,0:69] + img[0:117,0:117,0:69]
from tomo_cubed as img

// cubed, four MDD operations

select img[0:117,0:117,0:69] + img[0:117,0:117,0:69] + img[0:117,0:117,0:69] + img[0:117,0:117,0:69] + img[0:117,0:117,0:69]
from tomo_cubed as img