Adaptive Server Enterprise Monitor architecture
4
Historical Server
Recording sessions
Recording sessions gather Adaptive Server performance data and store it in
files for later analysis. Some attributes of a recording session are:
•
Monitor Server name – by association, this defines the Adaptive Server
whose performance you are monitoring.
•
Sample interval – this attribute defines how often to collect performance
data.
•
Views, alarms, and filters – views and filters define the data you want to
collect. Alarms define actions that can occur when a specified data item
hits a predefined threshold value.
•
Start time and end time – these specifications define the time period during
which you want to collect the data.
To create a recording session, use a sequence of commands in the Historical
Server
isql
command interface:
•
•
•
(optional)
•
(optional)
•
When you create a recording session, Historical Server assigns it a session ID.
You can list the session IDs of defined recording sessions using the
hs_list
command.
hs_list
can also show the complete recording session definition,
including view names and the data items, alarms, and filters in the view.
Historical Server stores these recording session definitions in its control file,
which resides in the Historical Server home directory. Therefore,
hs_list
can see
only recording session definitions that were created by Historical Server
instances using the same home directory that the current Historical Server is
using. See “Configuring multiple instances of Historical Server” on page 23
for more information on configuring Historical Server home directories.
To examine the data gathered by a recording session, you can:
•
Populate Adaptive Server tables with the data from recording sessions by
using the Sybase bulk copy (
bcp
) utility. See “Bulk copy example” on
page 99 for more information.
•
Initiate a Historical Server playback session.
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...