deltadb_reduce_temporal(1)
NAME
deltadb_reduce_temporal - command line tool that aggregates attribute values (from standard input) over a specified time span.
SYNOPSIS
deltadb_reduce_temporal [time span] [arguments]
DESCRIPTION
deltadb_reduce_temporal is a tool to summarize the data when multiple values exist over a specified time span for a given object and attribute. It first aggregates attribute values over the time span, and then reduces them to a single value which represents the time span based on the reducer in the argument for that attribute.
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
time span | The time span span over which attribute values will be reduced. Accepts the following formats; s\#\# for seconds, m\#\# for minutes, h\#\# for hours, d\#\# for days, y\#\# for years. (m15 means 15 minute time spans)
|
arguments | Any number of arguments of the form , such as: tasks_running,MAX. Acceptable reduction operators are currently MIN, MAX, AVERAGE, FIRST, and LAST.
|
EXAMPLES
To include the largest number of workers each day:
% deltadb_reduce_temporal d1 workers,MAX
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_spatial(1)
deltadb_pivot(1)
CCTools 4.3.0rc5 released on 11/03/2014