A hint how to get the size (in MiB) used by SciDB arrays


#1

iquery -aq “
– use project to get the total MiB number
project
(
– use apply to turn the number of 512-byte blocks to MiB
apply
(
– use aggregate to find the number of 512-byte blocks
aggregate
(

list(‘datastores’),
sum(file_blocks_512) as sum_file_blocks_512
),
total_MiB,
sum_file_blocks_512/2048
),
total_MiB
)