Udostępnij za pośrednictwem


NS$instance_name: Events Object

The NS$instance_name: Events object provides application-level counters. These counters monitor the events and event batches of an application by querying the application database. These counters are available only on the server that runs the generator.

Counter

Description

Purpose

Event Batches Awaiting Generation

Number of event batches committed but not yet picked up by the generator.

The generator must be enabled and running for this counter to be updated.

Use to identify potential backlogs of event batches for an application.

Event Batches In Collection

Number of event batches in process and not yet committed.

ms166512.note(en-US,SQL.90).gifNote:

This count also includes aborted event batches.

Use to determine the current event collection activity.

Event Batches Submitted

Number of event batches submitted since the application started.

Use to analyze the volume of event batches handled by an individual application.

Vacuuming, which removes data from the database, affects the value of this counter.

Total Events

Number of events received since the application started.

Use to analyze the volume of events received by an individual application.

Vacuuming, which removes data from the database, affects the value of this counter.

Event counters are updated on a periodic basis using a performance monitoring thread that is hosted by the generator. The update period is specified by the PerformanceQueryInterval element in application definition file (ADF).

After selecting a counter, select an instance. You can select All instances, which returns values for all events for all applications that are hosted by the instance, or you can select an event instance; event instance names are a combination of the application name and the event class name, such as stock:stockevents.

Important

Performance counter instances are available only when the instance is running.

See Also

Concepts

Notification Services Performance Objects
Specifying Application Execution Settings

Help and Information

Getting SQL Server 2005 Assistance