Sybase 12.5.1 User Manual page 80

Historical server
Table of Contents

Advertisement

hs_create_playback_session
Examples
Usage
66
session_id[ ,session_id. . .]
specifies the unique identifiers for the input sessions to be played back.
At least one session_id is required. When more than one are used, they
must be specified in the correct order according to their start times, with
the earliest start time first. Playback skips over the sessions that are out
of order. If summarization_interval is
valid.
Historical Server assigns a session ID to a recording session when the
recording session is defined. Use the
session IDs that you want to play back.
If target is
, no gaps can exist between an input session's end time
file
and the next input session's start time. Also, each session specified must
have completed its recording.
If target is
, then each session must have started recording, but can
client
be continuing to record when you submit the
hs_create_playback_session
1
This example creates a playback session based on a single input
session (session 7). The session is played back in its entirety, with no
summarization or normalization, and without creating a new session.
hs_create_playback_session null, null, raw,
null, null, client, null, null, null, null, 7
2
This example creates a playback session based on three input sessions
(sessions 4, 6, and 9). Only data collected between the time period
from 9:00 to 5:00 is played back. The played back data is summarized
at half-hour intervals. The playback is stored as a new session.
hs_create_playback_session "1996/5/3 9:00",
"1996/5/3 17:00", "0 00:30:00", disallow, skip,
file, null, public, no_script, retain, 4, 6, 9
A connection to Historical Server can either be defining a recording
session or defining and executing a playback session, but not both.
After the successful execution of the
command, you must successfully execute a
command before starting to define a recording session or starting to
define another playback session.
The behavior of the playback session is different depending on the
value of the target parameter:
, then only one session_id is
raw
command to find the
hs_list
command.
hs_create_playback_session
hs_terminate_playback
Historical Server

Advertisement

Table of Contents
loading

Table of Contents