![Sybase 12.5.1 User Manual Download Page 83](http://html1.mh-extra.com/html/sybase/12-5-1/12-5-1_user-manual_1416501083.webp)
CHAPTER 4 Command Reference
User’s Guide
69
"Device Reads","Rate for Sample"
Usage
•
The
hs_create_playback_view
command is valid only during the
definition of a playback session; that is, it must be issued after a
successful
hs_create_playback_session
command, but before a
successful
hs_initiate_playback
command.
•
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.
hs_create_recording_session
Description
Establishes a new recording session.
Syntax
hs_create_recording_session monServerName, sample_interval
[,dir_name][,start_time][,end_time]
[,protection_level][,error_option][,script_type], [tab_delimited]
Parameters
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
-D
parameter to the Historical Server start-up command.
start_time
date and time at which recording is to start, using the format:
Summary of Contents for 12.5.1
Page 1: ...User s Guide Historical Server 12 5 1...
Page 14: ...xiv Historical Server...
Page 46: ...Configuring multiple instances of Historical Server 32 Historical Server...
Page 56: ...Starting and stopping Historical Server on Windows NT 42 Historical Server...
Page 102: ...hs_terminate_recording 88 Historical Server...