deltadb_reduce_spatial(1)
NAME
deltadb_reduce_spatial - command line tool that summarizes attribute values (from standard input) over all objects.
SYNOPSIS
deltadb_reduce_spatial [arguments]
DESCRIPTION
deltadb_reduce_spatial is a tool to summarize the data when multiple objects have matching attributes. A single object with aggregated attribute values is returned for each timestamp.
deltadb (prefix 'deltadb_') is a collection of tools designed to operate on data in the format stored by the catalog server (a log of object changes over time). They are designed to be piped together to perform customizable queries on the data. A paper entitled DeltaDB describes the operation of the tools in detail (see reference below).
ARGUMENTS
arguments | Any number of arguments of the form , such as: tasks_running,MAX. Acceptable reduction operators are currently MIN, MAX, AVERAGE, FIRST, and LAST. If preceded by a temporal reduction, the field name is likely to include a temporal reduction desciptor which would require the argument to look something like this: workers.MAX,SUM
|
EXAMPLES
To find the total sum of memory available at each timestamp:
% deltadb_reduce_spatial d1 memory_avail,SUM
To see full results using a chain of multiple deltadb tools:
% deltadb_collect /data/catalog.history 2013-02-1@00:00:00 d7 | \\
% deltadb_select_static type=wq_master | \\
% deltadb_reduce_temporal m15 workers,MAX task_running,MAX tasks_running,MAX | \\
% deltadb_reduce_spatial name,CNT workers.MAX,SUM task_running.MAX,SUM tasks_running.MAX,SUM | \\
% deltadb_pivot name.CNT workers.MAX.SUM task_running.MAX.SUM tasks_running.MAX.SUM
COPYRIGHT
The Cooperative Computing Tools are Copyright (C) 2003-2004 Douglas Thain and Copyright (C) 2005-2011 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.
SEE ALSO
The Cooperative Computing Tools
DeltaDB User's Manual
DeltaDB paper
deltadb_select_collect(1)
deltadb_select_static(1)
deltadb_select_dynamic(1)
deltadb_select_complete(1)
deltadb_project(1)
deltadb_reduce_temporal(1)
deltadb_pivot(1)
CCTools 4.3.4 released on 04/02/2015