monOpenPartitionActivity

Description

Provides information about the use of each open partition on the server.

NoteEnable the enable monitoring and per object statistics active configuration parameters for this monitoring table to collect data.

Columns

Name

Datatype

Attributes

Description

DBID

int

Unique identifier for the database.

ObjectID

int

Unique identifier for the object.

IndexID

int

Unique identifier for the index.

PartitionID

int

Unique identifier for the partition.

DBName

varchar(30)

Null

Name of the database in which the object resides.

ObjectName

varchar(30)

Null

Name of the object.

PartitionName

varchar(30)

Null

Name of the partition.

LogicalReads

int

Counter, null

Total number of buffers read.

PhysicalLocks

int

Number of physical locks requested per object.

Available only for Adaptive Server Cluster Edition.

PhysicalLocksDeadlocks

int

Number of times a physical lock requested returned a deadlock. The Cluster Physical Locks subsection of sp_sysmon uses this counter to report deadlocks while acquiring physical locks for each object.

Available only for Adaptive Server Cluster Edition.

PhysicalLocksPageTransfer

int

Number of page transfers that occurred when an instance requested a physical lock. The Cluster Physical Locks subsection of sp_sysmon uses this counter to report the node-to-node transfer and physical-lock acquisition as a node affinity ratio for this object.

Available only for Adaptive Server Cluster Edition.

PhsycialLocksRetained

int

Number of physical locks retained. Use to identify the lock hit ratio for each object. Good hit ratios imply balanced partitioning for this object.

PhysicalLocksWaited

int

Number of times an instance waited for a physical lock request.

Available only for Adaptive Server Cluster Edition.

PhysicalReads

int

Counter, null

Number of buffers read from disk.

APFReads

int

Counter, null

Number of asynchronous prefetch (APF) buffers read.

PagesRead

int

Counter, null

Total number of pages read.

PhysicalWrites

int

Counter, null

Total number of buffers written to disk.

PagesWritten

int

Counter, null

Total number of pages written to disk.

RowsInserted

int

Counter, null

Number of rows inserted.

RowsDeleted

int

Counter, null

Number of rows deleted.

RowsUpdated

int

Counter, null

Number of updates.

OptSelectCount

int

Counter, null

Number of times object was selected for plan during compilation.

LastOptSelectDate

datetime

Null

Last date the index was selected for plan during compilation.

UsedCount

int

Counter, null

Number of times the object was used in a plan during execution.

LastUsedDate

datetime

Null

Last date the index was used in a plan during execution.

NoteBecause you can use the plan for a stored procedure or trigger multiple times, the value of the OptSelectCount column may be less than the value of UsedCount. In addition, because the Adaptive Server may decide not to execute certain portions of a query plan during execution, the UsedCount may be less than the OptSelectCount.