Database Object Lock Status; Database Object Page I/O; Examples Of Recording Session Views - Sybase 12.5.1 User Manual

Historical server
Table of Contents

Advertisement

Database object lock status

Database object page I/O

User's Guide
APPENDIX D
This view shows the status of locks on database objects that are held or being
requested by Adaptive Server processes, as of the end of the most recent
sample interval. Each lock is identified by the name and ID of the object being
locked, the name and ID of the database that contains that object, and the page
number to which the lock applies (if it is a page lock).
Each Adaptive Server process associated with the lock is also identified by its
login name, Process ID, and Kernel Process ID. The type of lock is presented,
together with the current status of the lock and an indication of whether or not
this is a demand lock. If the lock is being requested by the process, the amount
of time that this process waited to acquire the lock and the Process ID of the
process that already holds the lock are shown. If, instead, the process already
holds the lock, the count of other processes waiting to acquire that lock is
shown.
hs_create_view object_lock_status,
"Database ID", "Value for Sample",
"Database Name", "Value for Sample",
"Object ID", "Value for Sample",
"Object Name", "Value for Sample",
"Page Number", "Value for Sample",
"Login Name", "Value for Sample",
"Process ID", "Value for Sample",
"Kernel Process ID", "Value for Sample",
"Lock Type", "Value for Sample",
"Lock Status", "Value for Sample",
"Demand Lock", "Value for Sample",
"Time Waited on Lock","Value for Sample",
"Blocking Process ID", "Value for Sample",
"Locks Being Blocked Count", "Value for Sample"
This view shows objects in the Adaptive Server databases and the page I/Os
associated with them. It shows the Adaptive Server database name and ID and
the object names and IDs within each database. This view shows for each
object the associated logical page reads, physical page reads, and page writes
for both the most recent sample interval and for the recording session.
hs_create_view object_page_io,
"Database ID", "Value for Sample",

Examples of Recording Session Views

175

Advertisement

Table of Contents
loading

Table of Contents