Hs_Create_Recording_Session - Sybase 12.5.1 User Manual

Historical server
Table of Contents

Advertisement

Usage

hs_create_recording_session

Description
Syntax
Parameters
User's Guide
"Device Reads","Rate for Sample"
The
hs_create_playback_view
definition of a playback session; that is, it must be issued after a
successful
hs_create_playback_session
successful
hs_initiate_playback
A playback session must have at least one view.
Appendix C, "Specifications for Defining Playback Views" explains
the requirements for designing valid playback views, including valid
combinations of data items and statistic types for playback views.
Establishes a new recording session.
hs_create_recording_session monServerName, sample_interval
[,dir_name][,start_time][,end_time]
[,protection_level][,error_option][,script_type], [tab_delimited]
monServerName
name of the Monitor Server used to collect data from the Adaptive
Server for which you want to collect historical data. The user name and
password you used to connect to Historical Server must match a valid
login account on the Adaptive Server being monitored by the Monitor
Server you specify here.
sample_interval
determines the time between samples (in seconds). The shortest valid
sample interval is one second; the longest valid sample interval is 86400
seconds, which is the number of seconds in one day.
dir_name
path name of the directory where the historical data files resulting from
this recording session will reside. The operating system account that
started Historical Server must have search (execute) and write
permissions on this directory.
The default is the Historical Server home directory, specified in the
parameter to the Historical Server start-up command.
start_time
date and time at which recording is to start, using the format:
CHAPTER 4
Command Reference
command is valid only during the
command, but before a
command.
-D
69

Advertisement

Table of Contents
loading

Table of Contents