Sybase 12.5.1 User Manual page 82

Historical server
Table of Contents

Advertisement

hs_create_playback_view
Parameters
Examples
68
view_name
name of a view that you want to play back. The playback view name
must match the name of a corresponding view in the input sessions. If
there are two or more input sessions, then the view must exist in all of
the input sessions and must contain the exact same data items and filters
in all of the input sessions.
Only one playback view can be defined for a given view name. An
attempt to create a second playback view with the same name fails.
Use the
command to list the views in an input session and the
hs_list
data items in each view.
data_item_name_n
data items existing in the input view that you want to see in the playback
view. (In some cases, you can introduce new data items not in the input
views.) If the data item contains embedded spaces, surround it with
quotation marks.
If you do not specify any data items, then the view is defined using all
of the data items from the corresponding view in the input sessions.
However, if a data item from that corresponding view is not valid in the
playback view, an error results.
See Table C-2 on page 165 for more information about designing
playback views.
data_item_stat_n
statistic types for the respective data items. The statistic types do not
necessarily need to be the same as the statistic types used in the input
view. See Table C-2 on page 165 to determine valid statistic types for
data items in playback views.
Surround statistic types with quotation marks.
1
This example creates a playback view based on the view device_view
from the input sessions. The playback view includes all of the data
items from the input view, with the same combinations of data items
and statistic types:
hs_create_playback_view device_view
2
This example creates a playback view that returns a timestamp and
two data items from the input sessions:
hs_create_playback_view
device_view,"Timestamp","Value for
Sample","Device Name", "Value for Sample",
Historical Server

Advertisement

Table of Contents
loading

Table of Contents