Overview of Historical Server data files
90
Historical Server
•
Data file – each view in a recording session is represented by a data file.
The data file holds all of the samples collected for the view during the
session.
•
Script file – when you define a recording session using the
hs_create_recording_session
command, the script_type parameter can
specify creation of a SQL script file. The script file defines a Adaptive
Server table for each view in the recording session.
You can use the bulk copy (
bcp
) utility to populate existing Adaptive Server
tables. If you are a UNIX user, you can put subsets of the fields into separate
Adaptive Server tables if you first invoke the
cut
utility to strip the desired
columns from the file.
Permissions on files
All of the historical monitoring data files for a given recording session are
stored in the same directory. This directory is, by default, the directory
specified by the
-D
parameter to the Historical Server start-up command. You
can override this default for a session when you create the session.
The user who starts Historical Server is the owner of the files that Historical
Server creates. The owner has read and write permission on the historical
monitoring files. If the data contained in an historical data file or error message
file is public rather than private, all users and groups have read permission.
General file format
All files use newline characters as end-of-record markers. The fields in each
file are variable-length and are separated by commas. All data is stored in
ASCII format, which is compatible with the Sybase bulk copy (
bcp
) utility.
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...