Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Column NameColumn Description
SQSE_PWII_INSTANCE_IDID of the SQL Server instance.
SQSE_TIMESTAMP

Date and time the statistic was sampled.

On an hourly summary level, the date and time are GMT. On all other summary levels, the time is zeroed and SQSE_PWHG_ID should be used.

SQSE_PWHG_IDHour group ID.
SQSE_MINUTES_COUNT_SUMThe timeframe needed to calculated the row, in minutes.
SQSE_PROGRAM_IDID of the application program, normalized in table PW_SQPN_PROGRAM_NAMES_N.
SQSE_DATABASE_IDThe database to which the statement belongs, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQSE_USER_ID

One of the SQL Server users who executed this statement.

If this statement is not part of a stored procedure, this is the user used as the parsing user when explaining this batch, normalized in table PW_SQUN_USER_NAMES_N.

SQSE_LOGIN_ID

The name used to log in to the database.

In case of Windows Authentication mode, it contains the domain and the Windows NT user name, normalized in table PW_SQLN_LOGIN_NAMES_N.

SQSE_MACHINE_IDThe ID of the client workstation, normalized in table PW_SQMN_MACHINE_NAMES_N.
SQSE_WORK_TYPEType of session, such as batch, dialog, queue. Used only in ERP components.
SQSE_ERP_IDENTIFIER1_IDID of the ERP entity, normalized in table PW_SQE1_ERP_IDENTIFIERS1_N.
SQSE_ERP_IDENTIFIER2_IDID of the ERP entity, normalized in table PW_SQE2_ERP_IDENTIFIERS2_N.
SQSE_ERP_IDENTIFIER3_IDID of the ERP entity, normalized in table PW_SQE3_ERP_IDENTIFIERS3_N.
SQSE_ERP_IDENTIFIER4_IDID of the ERP entity, normalized in table PW_SQE4_ERP_IDENTIFIERS4_N.
SQSE_BATCH_HVUnique identifier (number) assigned to the batch.
SQSE_STATEMENT_HVUnique identifier (number) assigned to the statement.
SQSE_COLLAPSED_BATCH_HVUnique identifier (number) assigned to the batch.
SQSE_COLLAPSED_STATEMENT_HVUnique identifier (number) assigned to the batch in its collapsed form.
SQSE_TOTAL_INMSSQL_SUMTotal amount of time SQL Server was actively executing queries. It is also the sum of the columns.
SQSE_TOTAL_DURATION_SUMTotal amount of time SQL Server spent executing this statement.
SQSE_REQUEST_WAIT_SUMAmount of time the process was waiting for the client to issue a statement.
SQSE_CPU_SUMAmount of time the process was actively executing a statement.
SQSE_LOCK_WAIT_SUMAmount of time the process was waiting for locks held by other processes to be released. All types of locks are counted.
SQSE_IO_WAIT_SUMAmount of time the process was waiting for I/O operations to terminate.
SQSE_REMOTE_WAIT_SUMAmount of time the process was waiting for a remote query to terminate.
SQSE_LOG_WAIT_SUMAmount of time the process was waiting for an operation on the log file to terminate. This state is generally encountered during a COMMIT or ROLLBACK operation.
SQSE_INTERNAL_WAIT_SUMAmount of time the process was waiting for an internal resource to be freed.
SQSE_NET_IO_SUMAmount of time the process was waiting for the client process to acknowledge data sent to it.
SQSE_PARALLEL_EXCHANGE_SUMAmount of time the thread in a parallel session is waiting for data exchange from another thread.
SQSE_NUM_ENDED_EXECUTIONS_SUMNumber of statement executions, which ended during the row's timeframe.
SQSE_NUM_EXECUTIONS_NOT_ENDEDNumber of statement executions, which were still running at the end of the row's timeframe.
SQSE_STAT_CPU_SUMStatistics summing the amount of the process’s read memory usage.
SQSE_STAT_PHYSICAL_IO_SUMNumber of physical disk reads and writes for the process.
SQSE_STAT_MEM_USAGE_MAXNumber of pages in the procedure cache allocated to the process.
SQSE_STAT_OPEN_TRANS_MAXNumber of transaction the process opened.
SQSE_PARALLEL_DEGREE_MINMinimum number of sessions executing this statement in parallel.
SQSE_PARALLEL_DEGREE_MAXMaximum number of sessions executing this statement in parallel.
SQSE_LOCK_ROW_SUMAmount of time the process was waiting to acquire a lock on a row.
SQSE_LOCK_KEY_SUMAmount of time the process was waiting to acquire a lock on an index key or an index key range.
SQSE_LOCK_PAGE_SUMAmount of time the process was waiting to acquire a lock on a table or index page.
SQSE_LOCK_TABLE_SUMAmount of time the process was waiting to acquire a lock on a table.
SQSE_COMPILE_LOCK_SUMAmount of time the process was waiting to acquire a lock on a compiled plan for a stored procedure.
SQSE_SLA_RED_SUMNumber of times the average amount of time SQL Server was actively executing the session's statement, exceeded the Breach threshold for the type of program.
SQSE_SLA_YELLOW_SUMNumber of times the average amount of time SQL Server was actively executing the session's statement, exceeded the Near-Breach threshold for the type of program.
SQSE_SLA_GREEN_SUMNumber of times the average amount of time SQL Server was actively executing the session's statement, was below Near-Breach threshold for the type of program.
SQSE_RECEIVED_TIMESTAMPLocal date and time the row was loaded into the PMDB.
SQSE_ROWIDUnique row number.
SQSE_START_BIT_IDFor future use.
SQSE_CLR_WAIT_SUMGroups all the CLR-related waits.
SQSE_INTERNAL_WAIT_SUMGroups all the waits from Internal groups.
SQSE_NET_IO_WAIT_SUMGroups all I/O related wait types.
SQSE_TEMP_DB_WAIT_SUMGroups I/O / Latch on TempDB pages.
SQSE_IDLE_WAIT_SUMThis group includes the events indicating that a session is waiting for something other than a user request.
SQSE_INTRNL_BP_WAIT_SUMThis state groups the events, which all mean contention on pages in the buffer pool.
SQSE_INTRNL_LATCH_WAIT_SUMThis group includes all Latch related wait types.
SQSE_INTRNL_PARALLEL_WAIT_SUMAmount of time the process was waiting for one of its sub-threads to complete its operation.
SQSE_INTRNL_DTC_WAIT_SUMAggregates waits that occur when Distributed Transaction Coordinator sessions are waiting for one another.
SQSE_INTRNL_DBMIRROR_WAIT_SUMAggregates a couple of new waits that occur when DB Mirroring is used.
SQSE_INTRNL_PROFILER_WAIT_SUMAggregates a number of states associated with the Profiler.
SQSE_INTRNL_MEMORY_WAIT_SUMIncludes wait types, all of which mean that a session is waiting for memory to be allocated to it.
SQSE_INTRNL_BACKUP_WAIT_SUMIncludes wait types commonly occurring when a session is doing a BACKUP command.
SQSE_INTRNL_OTHER_WAIT_SUMThis aggregates all the waits that do not match into any of the Precise for MS-SQL Server states.
SQSE_NUM_OF_ENDED_SESSIONS_SUMNumber of sessions, which ended during the row's timeframe.
SQSE_NUM_OF_SESSIONS_NOT_ENDEDNumber of sessions, which were still open at the end of the row's timeframe.
SQSE_LOCK_MD_STAT_SUMAggregates lock waits of the MetaData Statistics type.
SQSE_LOCK_MD_PART_SUMAggregates lock waits of the MetaData Partition Function type.
SQSE_LOCK_MD_OTHER_SUMAggregates lock waits of other MetaData types.
SQSE_PC_RECOMPILATIONS_SUMNumber of times this plan has been recompiled while it has remained in the cache.
SQSE_PC_CACHE_EVICTIONS_SUMNumber of times the plan has been evicted from the cache.
SQSE_PC_EXECUTION_COUNT_SUMNumber of times that the plan has been executed.
SQSE_PC_TOTAL_WORKER_TIME_SUMAmount of CPU time that was consumed by executions of this plan.
SQSE_PC_PHYSICAL_READS_SUMNumber of physical reads performed by executions of this plan.
SQSE_PC_LOGICAL_READS_SUMNumber of logical reads performed by executions of this plan.
SQSE_PC_LOGICAL_WRITES_SUMNumber of logical writes performed by executions of this plan.
SQSE_PC_CLR_TIME_SUMTime consumed inside CLR objects by executions of this plan.
SQSE_PC_ELAPSED_TIME_SUMTotal elapsed time for completed executions of this plan.

...

Column NameColumn Description
SQNS_PWII_INSTANCE_IDID of the SQL Server instance.
SQNS_TIMESTAMP

Date and time the statistic was sampled.

On an hourly summary level, the date and time are GMT. On all other summary levels, the time is zeroed and SQNS_PWHG_ID should be used.

SQNS_PWHG_IDHour group ID.
SQNS_MINUTES_COUNT_SUMThe timeframe needed to calculated the row, in minutes.
SQNS_DATABASE_IDThe database to which the statement belongs, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQNS_TOTAL_INMSSQL_SUMTotal amount of time SQL Server was actively executing queries. It is also the sum of the columns.
SQNS_TOTAL_DURATION_SUMTotal amount of time SQL Server spent executing this statement.
SQNS_REQUEST_WAIT_SUMAmount of time the process was waiting for the client to issue a statement.
SQNS_CPU_SUMAmount of time the process was actively executing a statement.
SQNS_LOCK_WAIT_SUMAmount of time the process was waiting for locks held by other processes to be released. All types of locks are counted.
SQNS_IO_WAIT_SUMAmount of time the process was waiting for I/O operations to terminate.
SQNS_REMOTE_WAIT_SUMAmount of time the process was waiting for a remote query to terminate.
SQNS_LOG_WAIT_SUMAmount of time the process was waiting for an operation on the log file to terminate. This state is generally encountered during a COMMIT or ROLLBACK operation.
SQNS_INTERNAL_WAIT_SUMAmount of time the process was waiting for an internal resource to be freed.
SQNS_NET_IO_SUMAmount of time the process was waiting for the client process to acknowledge data sent to it.
SQNS_PARALLEL_EXCHANGE_SUMAmount of time the thread in a parallel session is waiting for data exchange from another thread.
SQNS_NUM_OF_ENDED_SESSIONS_SUMNumber of sessions, which ended during the row's timeframe.
SQNS_NUM_OF_SESSIONS_NOT_ENDEDNumber of sessions, which were still open at the end of the row's timeframe.
SQNS_NUM_ENDED_EXECUTIONS_SUMNumber of statement executions, which ended during the row's timeframe.
SQNS_NUM_EXECUTIONS_NOT_ENDEDNumber of statement executions, which were still running at the end of the row's timeframe.
SQNS_STAT_CPU_SUMStatistics summing the amount of the process's read memory usage.
SQNS_STAT_PHYSICAL_IO_SUMNumber of physical disk reads and writes for the process.
SQNS_STAT_MEM_USAGE_MAXNumber of pages in the procedure cache allocated to the process.
SQNS_STAT_OPEN_TRANS_MAXNumber of transaction the process opened.
SQNS_LOCK_ROW_SUMAmount of time the process was waiting to acquire a lock on a row.
SQNS_LOCK_KEY_SUMAmount of time the process was waiting to acquire a lock on an index key or an index key range.
SQNS_LOCK_PAGE_SUMAmount of time the process was waiting to acquire a lock on a table or index page.
SQNS_LOCK_TABLE_SUMAmount of time the process was waiting to acquire a lock on a table.
SQNS_OTHER_LOCK_SUMAmount of time the process was waiting to acquire a lock that is unrecognized by Precise for SQL Server.
SQNS_SLA_RED_SUMNumber of times the average amount of time SQL Server was actively executing the session's statement, exceeded the Breach threshold for the type of program.
SQNS_SLA_YELLOW_SUMNumber of times the average amount of time SQL Server was actively executing the session's statement, exceeded the Near-Breach threshold for the type of program.
SQNS_SLA_GREEN_SUMNumber of times the average amount of time SQL Server was actively executing the session's statement, was below Near-Breach threshold for the type of program.
SQNS_RECEIVED_TIMESTAMPLocal date and time the row was loaded into the PMDB.
SQNS_ROWIDUnique row number.
SQNS_INTRNL_BO_WAIT_SUMThis state groups the events, which all mean contention on pages in the buffer pool.
SQNS_INTRNL_LATCH_WAIT_SUMThis group includes all Latch related wait types.
SQNS_INTRNL_PARALLEL_WAIT_SUMAggregates the waits that indicates that session is waiting for one of its sub-threads to complete its operation.
SQNS_INTRNL_DTC_WAIT_SUMAggregates waits that occur when Distributed Transaction Coordinator sessions are waiting for one another.
SQNS_INTRNL_DBMIRROR_WAIT_SUMAggregates a couple of new waits that occur when DB Mirroring is used.
SQNS_INTRNL_PROFILER_WAIT_SUMAggregates a number of states associated with the Profiler.
SQNS_INTRNL_MEMORY_WAIT_SUMIncludes wait types, all of which mean that a session is waiting for memory to be allocated to it.
SQNS_INTRNL_BACKUP_WAIT_SUMIncludes wait type commonly occurring when a session is doing a BACKUP command.
SQNS_INTRNL_OTHER_WAIT_SUMThis aggregates all the waits that do not match any of the Precise for MS-SQL Server states.
SQNS_PC_RECOMPILATIONS_SUMNumber of times this plan has been recompiled while it has remained in the cache.
SQNS_PC_CACHE_EVICTIONS_SUMNumber of times the plan has been evicted from the cache.
SQNS_PC_EXECUTION_COUNT_SUMNumber of times that the plan has been executed
SQNS_PC_TOTAL_WORKER_TIME_SUMAmount of CPU time that was consumed by executions of this plan.
SQNS_PC_PHYSICAL_READS_SUMNumber of physical reads performed by executions of this plan.
SQNS_PC_LOGICAL_READS_SUMNumber of logical reads performed by executions of this plan.
SQNS_PC_LOGICAL_WRITES_SUMNumber of logical writes performed by executions of this plan.
SQNS_PC_CLR_TIME_SUMTime consumed inside CLR objects by executions of this plan.
SQNS_PC_ELAPSED_TIME_SUMTotal elapsed time for completed executions of this plan.
SQNS_LOCK_MD_STAT_SUMAggregates lock waits of MetaData Statistics type.
SQNS_LOCK_MD_PART_SUMAggregates lock waits of MetaData Partition Function type.
SQNS_LOCK_MD_OTHER_SUMAggregates lock waits of other MetaData types.
SQNS_CLR_WAIT_SUMGroups all the CLR-related waits.
SQNS_INTERNAL_WAIT_SUMGroups all the waits from Internal groups.
SQNS_NET_IO_WAIT_SUMGroups all I/O related wait types.
SQNS_TEMP_DB_WAIT_SUMGroups I/O / Latch on TempDB pages.
SQNS_IDLE_WAIT_SUMThis group will include the events indicating that a session is waiting for something other than a user request.
SQNS_INTRNL_BP_WAIT_SUMThis state groups the events, which all mean contention on pages in the buffer pool.
SQNS_INTRNL_LATCH_WAIT_SUMThis group includes all Latch related wait types.
SQNS_INTRNL_PARALLEL_WAIT_SUMAggregates the waits that indicate that a session is waiting for one of its sub-threads to complete its operation.
SQNS_INTRNL_DTC_WAIT_SUMAggregates waits that occur when Distributed Transaction Coordinator sessions are waiting for one another.
SQNS_INTRNL_DBMIRROR_WAIT_SUMAggregates a couple of new waits that occur when DB Mirroring is used.
SQNS_INTRNL_PROFILER_WAIT_SUMAggregates a number of states associated with the Profiler.
SQNS_INTRNL_MEMORY_WAIT_SUMIncludes wait types, all of which mean that a session is waiting for memory to be allocated to it.
SQNS_INTRNL_BACKUP_WAIT_SUMIncludes wait types commonly occurring when a session is doing a BACKUP command.
SQNS_INTRNL_OTHER_WAIT_SUMThis aggregates all the waits that do not match into any of the Precise for MS-SQL Server states.

PW_SQFA_FILE_ACTIVITY_STATS_T

Holds performance statistics on datafiles over time. Stores performance statistics on datafiles per timeslice for every combination of instance, database, program, user, batch, statement and locked object.

Info

The _T table summarizes the data per timeslice.

The _D table summarizes the data per day. 

The _W table summarizes the data per week.

The _M table summarizes the data per month.

Column NameColumn Description
SQFA_PWII_INSTANCE_IDID of the SQL Server instance.
SQFA_TIMESTAMP

Date and time the statistic was sampled. On an hourly summary level, the date and time are GMT.

On all other summary levels, the time is zeroed and SQFA_PWHG_ID should be used.

SQFA_PWHG_IDHour group ID.
SQFA_MINUTES_COUNT_SUMThe timeframe needed to calculated the row, in minutes.
SQFA_PROGRAM_IDID of the application program, normalized in table PW_SQPN_PROGRAM_NAMES_N.
SQFA_DATABASE_IDThe database to which the statement belongs, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQFA_USER_ID

One of the SQL Server users who executed this statement.

If this statement is not part of a stored procedure, this is the user used as the parsing user when explaining this batch, normalized in table PW_SQUN_USER_NAMES_N.

SQFA_WORK_TYPEType of session, such as batch, dialog, queue. Used only in ERP components.
SQFA_BATCH_HVUnique identifier (number) assigned to the batch.
SQFA_STATEMENT_HVUnique identifier (number) assigned to the statement.
SQFA_COLLAPSED_BATCH_HVUnique identifier (number) assigned to the batch.
SQFA_COLLAPSED_STATEMENT_HVUnique identifier (number) assigned to the batch in its collapsed form.
SQFA_PHYSICAL_FILE_IDID of the physical file, normalized in table PW_SQFN_FILE_NAMES_N.
SQFA_LOGICAL_FILE_IDID of the logical file, normalized in table PW_SQFN_FILE_NAMES_N.
SQFA_UNIT_IDID of the storage device.
SQFA_DEVICE_NAMEName of the storage device.
SQFA_SFW_DISK_NUMBERThe storage for the Windows disk number as it appears in the Disk Management window in the Computer Management application.
SQFA_IO_WAIT_SUMAmount of time the process was waiting for I/O operations to terminate.
SQFA_FILE_DATABASE_IDID of the file database, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQFA_FILE_GROUP_IDGroup to which the file belongs.
SQFA_DEVICE_TYPEType of the storage device.
SQFA_RECEIVED_TIMESTAMPLocal date and time the row was loaded into the PMDB.
SQFA_ROWID

Unique row number.

PW_SQDS_DBFILES_STATS_T

Holds statistics on datafiles over time.

Column NameColumn Description
SQDS_PWII_INSTANCE_IDID of the SQL Server instance.
SQDS_TIMESTAMP

Date and time the statistic was sampled. On an hourly summary level, the date and time are GMT.

On all other summary levels, the time is zeroed and SQDS_PWHG_ID should be used.

SQDS_PWHG_IDHour group ID.
SQDS_MINUTES_COUNT_SUMThe timeframe needed to calculated the row, in minutes.
SQDS_DATABASE_IDID of the database, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQDS_PHYSICAL_FILE_IDID of the physical file, normalized in table PW_SQFN_FILE_NAMES_N.
SQDS_LOGICAL_FILE_IDID of the logical file, normalized in table PW_SQFN_FILE_NAMES_N.
SQDS_UNIT_IDID of the storage device.
SQDS_DEVICE_NAMEName of the storage device.
SQDS_SFW_DISK_NUMBERThe storage for Windows disk number as appears in the Disk Management window in the Computer Management application.
SQDS_IO_WAIT_SUMSum of the I/O wait spent on the device.
SQDS_FILE_DATABASE_IDID of the file database, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQDS_FILE_GROUP_IDGroup to which the file belongs.
SQDS_DEVICE_TYPEType of the storage device.
SQDS_RECEIVED_TIMESTAMPLocal date and time the row was loaded into the PMDB.
SQDS_ROWIDUnique row number.

PW_SQLA_LOCK_ACTIVITY_STATS_T

Stores statement lock statistics per timeslice for every combination of instance, database, program, user, batch, statement and locked object.

Info

The _T table summarizes the data per timeslice.

The _D table summarizes the data per day. 

The _W table summarizes the data per week.

The _M table summarizes the data per month.

Column NameColumn Description
SQLA_PWII_INSTANCE_IDID of the SQL Server instance.
SQLA_TIMESTAMP

Date and time the statistic was sampled. On an hourly summary level, the date and time are GMT.

On all other summary levels, the time is zeroed and SQLA_PWHG_ID should be used.

SQLA_PWHG_IDHour group ID.
SQLA_MINUTES_COUNT_SUMThe timeframe needed to calculated the row, in minutes.
SQLA_PROGRAM_IDID of the application program, normalized in table PW_SQPN_PROGRAM_NAMES_N.
SQLA_DATABASE_IDThe database to which the statement belongs, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQLA_USER_ID

One of the SQL Server users who executed this statement.

If this statement is not part of a stored procedure, this is the user used as the parsing user when explaining this batch, normalized in table PW_SQUN_USER_NAMES_N.

SQLA_BATCH_HVUnique identifier (number) assigned to the batch.
SQLA_STATEMENT_HVUnique identifier (number) assigned to the statement.
SQLA_COLLAPSED_BATCH_HVUnique identifier (number) assigned to the batch.
SQLA_COLLAPSED_STATEMENT_HVUnique identifier (number) assigned to the batch in its collapsed form.
SQLA_WORK_TYPEType of session, such as batch, dialog, queue. Used only in ERP components.
SQLA_LOCKED_OBJECT_TYPEType of object being locked (such as table and file).
SQLA_LOCKED_OBJECT_IDThe ID of the locked object, normalized in table PW_SQKN_LOCKED_OBJECT_NAMES_N.

SQLA_SQL_OBJECT_ID1

SQLA_SQL_OBJECT_ID2

SQLA_SQL_OBJECT_ID3

These three columns combine together the locked object's identifier in SQL Server. For example: a locked index is represented by:

  • Database id
  • Table object id
  • Index id
SQLA_RECEIVED_TIMESTAMPLocal date and time the row was loaded into the PMDB.
SQLA_ROWIDUnique row number.
SQLA_LOCK_WAIT_SUMAmount of time the process was waiting for locks held by other processes to be released. All types of locks are counted.

PW_SQLO_LOCK_OBJECT_STATS_T

Stores application lock statistics per timeslice for every combination of Instance, database and locked objects.

Info

The _T table summarizes the data per timeslice.

The _D table summarizes the data per day. 

The _W table summarizes the data per week.

The _M table summarizes the data per month.

Column NameColumn Description
SQLO_PWII_INSTANCEID of the SQL Server instance.
SQLO_TIMESTAMPDate and time the statistic was sampled. On an hourly summary level, the date and time are GMT. On all other summary levels, the time is zeroed and SQLO_PWHG_ID should be used.
SQLO_PWHG_IDHour group ID.
SQLO_MINUTES_COUNT_SUMThe timeframe needed to calculated the row, in minutes.
SQLO_DATABASE_IDID of the database to which the statement belongs, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQLO_LOCK_WAIT_SUMAmount of time the process was waiting for locks held by other processes to be released. All types of locks are counted.
SQLO_LOCKED_OBJECT_TYPEType of object being locked, such as table and file.
SQLO_LOCKED_OBJECT_IDThe ID of the locked object, normalized in table PW_SQKN_LOCKED_OBJECT_NAMES_N.

SQLO_SQL_OBJECT_ID1

SQLO_SQL_OBJECT_ID2

SQLO_SQL_OBJECT_ID3

These three columns combine together the locked object's identifier in SQL Server. For example: a locked index is represented by:

  • Database id
  • Table object id
  • Index id
SQLO_RECEIVED_TIMESTAMPLocal date and time the row was loaded into the PMDB.
SQLO_ROWIDUnique row number.

PW_SQSM_STATEMENTS

Holds statements collected by the Precise for SQL Server collector and statements inserted through the statement workshop (SQL workspace). The table holds one row per statement and connects it to the first batch in which the statement was sampled. You can join the statement with other batches run, but only for statistics tables. (PW_SQST_STATEMENTS_STATS or PW_STSE_SESS_STATEMENTS_STATS).

Column NameColumn Description
SQSM_PWII_INSTANCE_IDID of the SQL Server instance.
SQSM_STATEMENT_HVUnique identifier (number) assigned to the statement.
SQSM_STATEMENT_IDUnique identifier (string) assigned to the statement.
SQSM_COLLAPSED_STATEMENT_HVUnique identifier (number) assigned to the statement in its collapsed form.
SQSM_COLLAPSED_STATEMENT_IDUnique identifier (string) assigned to the statement in its collapsed form.
SQSM_INSERT_TIMEDate and time the statement was saved in the database.
SQSM_PARSING_USER

One of the SQL Server users who executed this statement.

If this statement is not part of a stored procedure, this is the user used as the parsing user when explaining this batch.

SQSM_PARSING_USER_ID

One of the SQL Server users who executed this statement.

If this statement is not part of a stored procedure, this is the user used as the parsing user when explaining this batch, normalized in table PW_SQUN_USE_NAMES_N.

SQSM_WORKSHOP_HVUnique identifier (Number) assigned to statements inserted in the SQL workspace.
SQSM_SOURCE

Indicates how the statement was loaded. Possible values:

  • PMDB. Sampled and loaded by the Collector.
  • Manually. Entered through the statement workshop (SQL workspace).
  • Saved automatically. Explained from the Current workspace or Activity workspace.
SQSM_LAST_EXPLAINEDLast time the statement was explained.
SQSM_TOTAL_MSSQL_TIMENot in use.
SQSM_DO_NOT_EXPLAIN

Indicates an error during the explain of the statement. If Y, do not try to re-explain.

SQSM_EXPLAIN_ERROR_MSGError that occurred during the last explain process.
SQSM_LAST_ACC_PATH_CHANGEDLast time the access plan of the statement changed.
SQSM_ACCESS_PATH_HVUnique identifier (number) assigned to the access plan of the statement.
SQSM_TOTAL_ESTIMATED_COST

Estimated cost of the statement’s execution. A high cost value may indicate a problem in the current implementation of the statement.

To determine which operation may have caused the problem, you can use the Estimated Cost Breakdown graph to drill down easily and see the most resource consuming operation.

To determine whether the operation is an I/O consuming operation or a CPU consuming operation (or both), check the Estimated I/O cost and Estimated CPU cost values.

SQSM_DATABASE_NAMEName of the database to which the statement belongs.
SQSM_DATABASE_IDID of the database, in which the statement belongs, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQSM_BATCH_HVUnique identifier (number) assigned to the batch. Only the first batch appears.
SQSM_COLLAPSED_BATCH_HVUnique identifier (number) assigned to the batch. Only the first batch appears.
SQSM_STATEMENT_OFFSETThe offset of the statement in the first batch sampled, running the statement by the Collector agent.
SQSM_STATEMENT_LENGTHLength of the statement in the first batch sampled running the statement.
SQSM_STATEMENT_ID_IN_BATCHStatement number in the first batch sampled running the statement.
SQSM_START_EXEC_ORDER_IN_BATCHExecution order the statement started with in the access plan of the batch.
SQSM_START_TREE_LEVELStart level of the statement in the access plan of the batch.
SQSM_EXPLAIN_USAGE_MAPInternal bit representative of the types of the operators in the execution plan.
SQSM_ACTUAL_PLAN_INDMS-SQL 2005 only. Indication if the last execution plan of the statement is Actual or estimate.
SQSM_MISS_INDEXES_IMPACTMS-SQL 2005 only. Indication if the last execution plan of the statement has missing indexes indication.
SQSM_STATEMENT_TYPERepresenting the type of the statement. Such as INSERT and SELECT.

PW_SQBA_BATCHES

Holds information on batches.

Column NameColumn Description
SQBA_PWII_INSTANCE_IDID of the SQL Server instance.
SQBA_BATCH_HVUnique identifier (number) assigned to the batch.
SQBA_COLLAPSED_BATCH_HVUnique identifier (number) assigned to the batch in its collapsed form.
SQBA_PARSING_USER

One of the SQL Server users who executed this batch.

If this batch is a stored procedure, this is the user used as the parsing user when explaining this batch.

SQBA_PARSING_USER_ID

One of the SQL Server users who executed this batch.

If this batch is a stored procedure, this is the user used as the parsing user when explaining this batch, normalized in table PW_SQUN_USER_NAMES_N.

SQBA_DATABASE_NAMEName of the database to which the batch belongs.
SQBA_DATABASE_IDThe ID of the database, to which the batch belongs, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQBA_BATCH_IDUnique identifier (string) assigned to the batch.
SQBA_COLLAPSED_BATCH_IDUnique identifier (string) assigned to the batch in its collapsed form.
SQBA_LAST_EXPLAINEDLast time the statement was explained.
SQBA_DO_NOT_EXPLAINIndicates an error during the explain of the statement. If Y, do not try to re-explain.
SQBA_EXPLAIN_ERROR_MSGError that occurred during the last explain process.
SQBA_LAST_ACC_PATH_CHANGEDLast time the access plan of the batch changed.
SQBA_ACCESS_PATH_HVUnique identifier (number) assigned to the access plan.
SQBA_TOTAL_ESTIMATED_COST

Estimated cost of the statement’s execution. A high cost value may indicate a problem in the current implementation of the statement.

To determine which operation may have caused the problem, you can use the Estimated Cost Breakdown graph to drill down easily and see the most resource consuming operation.

To determine whether the operation is an I/O consuming operation or a CPU consuming operation (or both), check the Estimated I/O cost and Estimated CPU cost values.

SQBA_PROC_DB_IDID of the database that holds the stored procedure.
SQBA_PROC_OBJECT_IDID of the stored procedure.
SQBA_EXPLAIN_USAGE_MAPInternal bit representative of the types of the operators in the execution plan.
SQBA_ACTUAL_PLAN_INDMS-SQL 2005 only. Indication if the last execution plan of the batch is Actual or estimate.
SQBA_MISS_INDEXES_IMPACTMS-SQL 2005 only. Indication if the last execution plan of the batch has missing indexes indication.
SQBA_DOTNET_HVUsed for correlation between Precise for Microsoft .NET and Precise for MS SQL Server.
SQBA_MIGRATEDData migration process only. Used to update several columns and distinguish between new batches and previous batches.
SQBA_CONSISTENT_HVUsed for correlation between all the other products and Precise for MS SQL Server.

PW_SQIN_INSTANCES

Holds information on the SQL Server instances monitored by Precise.

Column NameColumn Description
SQIN_PWII_INSTANCE_IDID of the SQL Server instance.
SQIN_CLUSTER_IDUsed to share text of statements and batches between instances.
SQIN_SYSTEM_NAMEServer on which the Collector agent is installed.
SQIN_INSTANCE_NAMEName of the monitored SQL Server instance.
SQIN_LAST_PW_EXPLAIN_DATELast date the explain process run.
SQIN_LAST_PERF_LOAD_DATELast date the instance performance was loaded.
SQIN_LAST_STMT_LOAD_DATELast date the statement text was loaded.
SQIN_DB_FILES_LAST_SAMPLELast date the process Collect DB Files Statistics ran.
SQIN_LAST_AVAIL_LOADEDLast date the instance availability was loaded.
SQIN_LAST_AVAIL_LOADED_DBLast date the database availability was loaded.
SQIN_UNAVAIL_DB_STATUSCombination of database statuses to classify a database as unavailable.
SQIN_POINTS_INSTALLEDArray of bits indicating which Interpoints and Precise for Storage are installed.
SQIN_INSTANCE_TYPEUser defined instance group name. And be updated by using stored procedure SQ_UPDATE_INSTANCE_TYPE.
SQIN_JOB_SAMPLE_STATUSThe status of job changes load (part of Collect Schema changes).
SQIN_SCHEDULE_SAMPLE_STATUSThe status of job schedule changes load (part of Collect Schema changes).
SQIN_STEP_SAMPLE_STATUSThe status of job step changes load (part of Collect Schema changes).
SQIN_INSTANCE_VERSIONThe version of the MS-SQL Server instance.
SQIN_COSTS_PURGED_TO_DATEA date until which historical data in the execution plan costs table was cleaned by Purge Internal Data process.

PW_SQCG_SCHEMA_CHANGES_GROUPS

Holds information on grouping the changes, on which we track to groups. For example groups that contained schema changes and groups that contained instance/database definitions.

Column NameColumn Description
SQCG_GROUP_IDID of group1 for schema changes and of group 2 for instance/database definitions.
SQCG_DATA_CHANGEDName of the property that was changed.

PW_SQPC_PERFORMANCE_COUNTERS

Maps SQL Server performance counter names to the Precise PMDB tables and columns.

Column NameColumn Description
SQPC_OBJECT_NAMEName of the performance Group as it appears in Microsoft SQL Server.
SQPC_COUNTER_NAMEName of the performance Counter as it appears in Microsoft SQL Server.
SQPC_INSTANCE_NAMEName of the performance Instance as it appears in Microsoft SQL Server.
SQPC_TABLE_NAMEName of the table in the Precise PMDB, which holds the value.
SQPC_COLUMN_NAMEName of the column in the Precise PMDB, which holds the value.
SQPC_SCALEThe scale of the value, in case it shows with other statistics.
SQPC_FROM_VERSIONCounter from based on MS-SQL version.
SQPC_TILL_VERSIONCounter till based on MS-SQL version.

PW_SQNK_NETWORK_T

Holds information on network activities of the SQL Server instance.

Column NameColumn Description
SQNK_PWII_INSTANCE_IDID of the SQL Server instance.
SQNK_PWII_INSTANCE_NAMEName of the network interface card.
SQNK_TIMESTAMP

Date and time the statistic was sampled. On an hourly summary level, the date and time are GMT.

On all other summary levels, the time is zeroed and SQNK_PWHG_ID should be used.

SQNK_PWHG_IDHour group ID.
SQNK_MINUTES_COUNT_SUMThe timeframe needed to calculated the row, in minutes.
SQNK_OUTPUT_QUEUE_LENGTH_AVG

The average length of the output packet queue, in packets.

If this is longer than 2, delays are being experienced and the bottleneck should be found and eliminated if possible.

Because the requests are queued by NDIS in this implementation, this will always be 0.

SQNK_OUTPUT_QUEUE_LENGTH_MAX

The maximum length of the output packet queue, in packets.

If this is longer than 2, delays are being experienced and the bottleneck should be found and eliminated if possible.

Because the requests are queued by NDIS in this implementation, this will always be 0.

SQNK_PACKETS_SENT_AVGThe average rate at which packets are sent on the network interface.
SQNK_PACKETS_SENT_MAXThe highest rate at which packets are sent on the network interface.
SQNK_PACKETS_RECEIVED_AVGThe average rate at which packets are received on the network interface.
SQNK_PACKETS_RECEIVED_MAXThe highest rate at which packets are received on the network interface.
SQNK_BYTES_SENT_AVGThe average rate at which bytes are sent on the interface, including framing characters.
SQNK_BYTES_SENT_MAXThe highest rate at which bytes are sent on the interface, including framing characters.
SQNK_BYTES_RECEIVED_AVGThe average rate at which bytes are received on the interface, including framing characters.
SQNK_BYTES_RECEIVED_MAXThe highest rate at which bytes are received on the interface, including framing characters.
SQNK_RECEIVED_TIMESTAMPLocal date and time the row was loaded into the PMDB.
SQNK_ROWIDUnique row number.

PW_SQJS_JOBS_STATS_D

Holds information on the SQL Server instance jobs.

Info

The _D table summarizes the data per day.

The _W table summarizes the data per week.

The _M table summarizes the data per month.

Column NameColumn Description
SQJS_PWII_INSTANCE_IDID of the SQL Server instance.
SQJS_TIMESTAMP

Date and time the statistic was sampled. On an hourly summary level, the date and time are GMT.

On all other summary levels, the time is zeroed and SQJS_PWHG_ID should be used.

SQJS_PWHG_IDHour group ID.
SQJS_MINUTES_COUNT_SUMThe timeframe needed to calculated the row, in minutes.
SQJS_JOB_NAMEName of the job.
SQJS_JOB_IDID of the job, normalized in table PW_SQE3_ERP_IDENTIFIERS3_N.
SQJS_DURATION_SUMTotal elapsed time. This counter is reported by the SQL Server and not by the I4SQL collector.
SQJS_EXECUTION_SUMTotal number of job executions.
SQJS_RECEIVED_TIMESTAMPLocal date and time the row was loaded into the PMDB.
SQJS_ROWIDUnique row number.

PW_SQJT_JOBS_STEPS_STATS_D

Holds information on the SQL Server instance job steps.

Info

The _D table summarizes the data per day.

The _W table summarizes the data per week.

The _M table summarizes the data per month.

Column NameColumn Description
SQJT_PWII_INSTANCE_IDID of the SQL Server instance.
SQJT_TIMESTAMP

Date and time the statistic was sampled. On an hourly summary level, the date and time are GMT.

On all other summary levels, the time is zeroed and SQJT_PWHG_ID should be used.

SQJT_PWHG_IDHour group ID.
SQJT_MINUTES_COUNT_SUMThe timeframe needed to calculated the row, in minutes.
SQJT_JOB_NAMEName of the job.
SQJT_JOB_IDID of the job, normalized in table PW_SQE3_ERP_IDENTIFIERS3_N.
SQJT_STEP_IDID of the step, normalized in table PW_SQE4_ERP_IDENTIFIERS4_N.
SQJT_DURATION_SUMTotal elapsed time. This counter is reported by the SQL Server and not by the Precise for SQL Server Collector agent.
SQJT_EXECUTION_SUMTotal number of job executions.
SQJT_RECEIVED_TIMESTAMPLocal date and time the row was loaded into the PMDB.
SQJT_ROWIDUnique row number.

PW_SQCJ_MTNC_CHANGE_JOB

Holds information on the SQL Server instance MTNC job changes.

Column NameColumn Description
SQCJ_PWII_INSTANCE_IDID of the SQL Server instance.
SQCJ_JOB_NAMENumber of the job that was changed.
SQCJ_ENABLEDJob status.
SQCJ_START_STEP_NAMEName of the first step that should run.
SQCJ_CATEGORY_NAMEThe job's category name.
SQCJ_OWNER_NAMEThe job's owner.
SQCJ_EVENT_LOG_NOTIFY_LEVELWhen to write to log.
SQCJ_EMAIL_NOTIFY_LEVELWhen to E-mail.
SQCJ_NET_SEND_NOTIFY_LEVELWhen to send net.
SQCJ_PAGE_NOTIFY_LEVELWhen to page.
SQCJ_EMAIL_OPERATOR_NAMETo whom to send E-mail.
SQCJ_NET_SEND_OPERATOR_NAMETo whom to send net.
SQCJ_PAGE_OPERATOR_NAMETo whom to page.
SQCJ_DELETE_LEVELWhen to do automatic delete.

PW_SQCT_MTNC_CHANGE_STEP

Holds information on the SQL Server instance MTNC job step changes.

Column NameColumn Description
SQCT_PWII_INSTANCE_IDID of the SQL Server instance.
SQCT_JOB_NAMENumber of the job that was changed.
SQCT_STEP_NAMEJob step name.
SQCT_SUB_SYSTEM_NAMEName of the subsystem used by the SQL Server Agent to execute the job step.
SQCT_COMMAND_TEXTCommand to be executed.
SQCT_ON_SUCCESS_ACTIONAction to be performed when a step is executed successfully.
SQCT_ON_SUCCESS_NEXT_STEP_NAMEThe name of the next step to execute when a step name executed successfully.
SQCT_ON_FAIL_ACTIONAction to be performed when a step is not executed successfully.
SQCT_ON_FAIL_NEXT_STEP_NAMEThe name of the next step to to execute when a step is not executed successfully.
SQCT_DATABASE_NAMEName of the database in which the command is executed.
SQCT_DATABASE_USER_NAMEName of the database user whose account will be used when executing the step.
SQCT_RETRY_ATTEMPTSNumber of retry attempts made if the step fails.
SQCT_RETRY_INTERVALAmount of time to wait between retry attempts.

PW_SQCH_MTNC_CHANGE_LOG

Holds information on the SQL Server instance MTNC change log.

Column NameColumn Description
SQCH_PWII_INSTANCE_IDID of the SQL Server instance.
SQCH_ENTITY_TYPEType of the entity that was changed.
SQCH_ENTITY_NAMEName of the entity that was changed.
SQCH_PARENT_ENTITY_NAMEThe name of the parent entity that was changed.
SQCH_CHANGE_TYPEType of the performed change (Created, Dropped, Updated).
SQCH_DATA_CHANGEDName of the property that was changed.
SQCH_OLD_VALUEOld value, before the change.
SQCH_NEW_VALUENew value, after the change.
SQCH_SAMPLE_DATESample time.

PW_SQEC_EXPLN_COLUMN

Holds information on the statement execution plan.

Column NameColumn Description
SQEC_PWII_INSTANCE_IDID of the SQL Server instance.
SQEC_DATABASE_NAMEName of the database in which the change occurred.
SQEC_PARSING_USER

One of the SQL Server users who executed this statement.

If this statement is not part of a stored procedure, this is the user used as the parsing user when explaining this batch.

SQEC_BATCH_HVUnique identifier (number) assigned to the batch.
SQEC_WORKSHOP_HV

Unique identifier (number) assigned to statements inserted in the statement workshop workspace.

Statements loaded into the PW have the value.

SQEC_EXPLAIN_TIMEDate and time the batch was explained and its access plan was changed.
SQEC_STATEMENT_ID_IN_BATCHA statement number in the first batch sampled running the statement.
SQEC_OPERATOR_IDSequence order of this operation in the access plan for a statement.
SQEC_PREDICATE_IDSequent of the predicate.
SQEC_OBJ_DATABASE_NAMEDatabase name of the object accessed in this operation.
SQEC_OBJ_OWNER_NAMEOwner of the object accessed in this operation.
SQEC_OBJ_NAMEName of the object accessed in this operation.
SQEC_OBJ_NAME_ALIASAlias of the object accessed in this operation.
SQEC_COLUMN_NAMEName of the column of the object that was changed.
SQEC_USED_IN_SEEKIndicates whether the column in the specified operator is used in a seek action. The value can be Y/N.
SQEC_LAST_EXPLAIN_INDIndicates that this operation belongs to the last explain of the batch.
SQEC_UNION_IDThe Union ID to which the column belongs (starting from 0) when the statement contains union.

PW_SQBX_BATCH_TEXT

Holds the text of batches.

Column NameColumn Description
SQBX_BATCH_HVUnique identifier (number) assigned to the batch.
SQBX_BATCH_TEXTThe text of the batch.

PW_SQIF_IGNORE_FINDINGS

Holds the list of SmarTune findings that will not be displayed in the SmarTune workspace if the user marked them to be ignored.

Column NameColumn Description
SQIF_STATEMENT_HVFor the heavy collapsed statement, it contains the collapsed hash value.
SQIF_DATABASE_IDFor the heavy statement and heavy collapsed statement types, this is the database ID at which the statement was running, normalized at PW_SQDN_DATABASE_NAMES_N.
SQIF_DATABASE_NAME

For the heavy statement and heavy collapsed statement types, this is the database name on which the statement was running.

For the heavy object finding type, it is the table's database name.

SQIF_USER_ID

One of the MS-SQL Server users who executed this statement.

If this statement is not part of a stored procedure, this is the user used as the parsing user when explaining this batch, normalized in table PW_SQUN_USER_NAMES_N.

SQIF_USER_NAME

For the heavy statement and heavy collapsed statements, this is the user that runs the statement.

For the heavy object finding, this is the owner of the table.

SQIF_FULL_OBJECT_IDFor the heavy object finding, this is the Ignored table ID, normalized in table PW_SQKN_LOCKED_OBJECT_NAMES_N.
SQIF_FINDING_TYPE

The type of the finding:

  • 1: Heavy Statement
  • 2: Heavy Object
  • 3: Heavy Collapsed Statement
  • 4: Instance event
SQIF_UI_USER_NAMEThis is the user (login) that asked the finding to be ignored.
SQIF_INSTANCE_PROBLEM_IDFor the Instance event finding, it contains the instance event ID.

PW_SQEJ_EXPLN_OPER_OBJECTS

Holds all the object operators per object.

Column NameColumn Description
SQEJ_DATABASE_NAMEName of the database.
SQEJ_PARSING_USER

One of the MS-SQL Server users who executed this statement.

If this statement is not part of a stored procedure, this is the user used as the parsing user when explaining this batch.

SQEJ_BATCH_HVUnique identifier (number) assigned to the batch. Only the first batch appears.
SQEJ_WORKSHOP_HV

Unique identifier (Number) assigned to statements inserted in the statement workshop workspace.

Statements loaded into the PMDB get this the value.

SQEJ_STATEMENT_ID_IN_BATCHA statement number in the first batch sampled running the statement.
SQEJ_EXPLAIN_TIMEDate and time the batch was explained and its access plan was changed.
SQEJ_OPERATOR_IDSequence order of this operation in the access plan for a statement.
SQEJ_OPERATOR_TYPEPhysical operation in the access plan.
SQEJ_OBJ_DATABASE_NAMEDatabase name of the object accessed in this operation.
SQEJ_OBJ_OWNER_NAMEOwner of the object accessed in this operation.
SQEJ_OBJ_NAMEName of the object accessed in this operation.
SQEJ_OBJ_NAME_ALIASAlias name of the object accessed in this operation.
SQEJ_INDEX_NAMEName of the index accessed in this operation. Otherwise NULL.
SQEJ_CONTRIBUTION_RATIOContribution value of the object in this operation to the statement.
SQEJ_MISS_INDEXES_INDIndicator if indexes are missing in this operation.

PW_SQPU_PARTITION_USAGE_D

Collects space information per partition.

Column NameColumn Description
SQPU_DATABASE_IDThe database to which the statement belongs, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQPU_OBJECT_IDID of the object.
SQPU_FULL_OBJECT_IDThe full object ID, normalized in table PW_SQKN_LOCKED_OBJECT_NAMES_N.
SQPU_INDEX_IDID of the index.
SQPU_PARTITION_IDID of the partition.
SQPU_TIMESTAMP

Date and time the statistic was sampled.

On an hourly summary level, the date and time are GMT. On all other summary levels, the time is zeroed and SQPU_PWHG_ID should be used.

SQPU_PWHG_IDHour group ID.
SQPU_MINUTES_COUNT_SUMThe timeframe needed to calculated the row (in minutes).
SQPU_P_ALL_ALLOC_MAXNumber of allocated pages for a specific partition (in MB).
SQPU_P_ALL_USED_MAXNumber of used pages for a specific partition (in MB).
SQPU_ROW_COUNT_MAXNumber of rows on a specific partition
SQPU_RECEIVED_TIMESTAMPLocal date and time the row was loaded into the PMDB.

PW_SQCP_SCHEMA_CHANGES_PS

Collects information about schema changes made to a partition schema.

Column NameColumn Description
SQCP_DATABASE_IDThe database to which the statement belongs, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQCP_NAMEName of the partition schema.
SQCP_IDPartition schema ID.
SQCP_NUMBER_FGNumber of file groups of the partition schema.

PW_SQCF_SCHEMA_CHANGES_PS_FG

Collects information about schema changes made to a partition schema filegroup.

Column NameColumn Description
SQCF_DATABASE_IDThe database to which the statement belongs, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQCF_PS_NAMEName of the partition schema.
SQCF_FP_NAMEName of the partition function.
SQCF_PS_TYPE

Type of the partition schema.

PW_SQCN_SCHEMA_CHANGES_PF

Collects information about schema changes made to a partition function.

Column NameColumn Description
SQCN_DATABASE_IDThe database to which the statement belongs, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQCN_PF_NAMEName of the partition function.
SQCN_NUM_VALUESNumber of values of the partition function.
SQCN_PF_TYPE

Partition function type.

PW_SQCV_SCHEMA_CHANGES_PF_VAL

Collects information about schema changes made to a partition function values.

Column NameColumn Description
SQCV_DATABASE_IDThe database to which the statement belongs, normalized in table PW_SQDN_DATABASE_NAMES_N.
SQCV_PF_NAMEName of the partition function.
SQCV_VALUEValue of the partition function, one row for each value.
SQCV_POSITIONPosition of the value within the partition function.
SQCV_TYPEType of the value, such as int and date.

PW_SQWI_WAIT_INFO

Contains wait event counters info (MS-SQL).

Column NameColumn Description
SQWI_WAIT_GROUPNormalized, wait group names.
SQWI_WAIT_TYPENormalized, wait type names.
SQWI_GROUP_FROM_VERSIONGroup from, based on MS-SQL version.
SQWI_GROUP_TILL_VERSIONGroup till, based on MS-SQL version.
SQWI_COUNTER_FROM_VERSIONCounter from, based on MS-SQL version.
SQWI_COUNTER_TILL_VERSIONCounter till, based on MS-SQL version.
SQWI_EXPLANATIONCounter explanation.
SQWI_IS_LATCHWait event - 0. Latch event - 1.

PW_SQWC_WAIT_COUNTERS_T

Contains wait counter’s data (MS-SQL).

Column NameColumn Description
SQWC_WAIT_TYPEWait type ID.
SQWC_WAITING_TASKS_COUNT_SUMWait event's counter.
SQWC_TOTAL_WAIT_TIME_SUMSummarizes wait event's total wait time.
SQWC_RESOURCE_WAIT_TIME_SUM

Summarizes wait event's resource wait time.


PW_SQOP_OBJECTS_PERFORMENCE_D

A daily table which is being loaded every night by the Collects objects PMDB process. The table summarizes statistic data (such as locks, in_msssql, and using_cpu) per object (such as table and index). The idea behind this table is to accelerate the GUI in the Objects workspace.

Column NameColumn Description
SQOP_PWII_INSTANCE_IDID of the MS-SQL Server instance.
SQOP_TIMESTAMP

Date and time the statistic was sampled.

On an hourly summary level, the date and time are GMT.

On all other summary levels, the time is zeroed and SQAM_PWHG_ID should be used.

SQOP_MINUTES_COUNT_SUMThe timeframe needed to calculated the row, in minutes.
SQOP_RECEIVED_TIMESTAMPLocal date and time the row was loaded into the PMDB.
SQOP_PWHG_IDHour group ID.
SQOP_OBJECT_FULL_IDFor heavy object finding, the Ignored table ID, Normalized in table PW_SQKN_LOCKED_OBJECT_NAMES_N.
SQOP_DATABASE_IDThe database to which the statement belongs, normalized in table PW_SQDN_DATABASE_NAMES_N.
FULL_TABLE_ID

Full table ID means: <db_name>,<table_owner>,<table_name>.

It is a normalized field which holds only a numeric hash value of the full table name.

The normalization table is: PW_SQKN_LOCKED_OBJECT_NAMES_N.

SQOP_TOTAL_INMSSQL_SUMIndicates the total amount of time MS-SQL Server was actively executing queries. It is also the sum of the columns.
SQOP_USING_CPU_SUMTotal time of CPU use.
SQOP_IO_WAIT_SUMAmount of time the process was waiting for I/O operations to terminate.
SQOP_LOCK_ROW_SUMAggregates lock waits of row locks.
SQOP_LOCK_KEY_SUMAggregates lock waits of key locks.
SQOP_LOCK_PAGE_SUMAggregates lock waits of page locks.
SQOP_LOCK_TABLE_SUMAggregates lock waits of table locks.
SQOP_LOCK_OTHER_SUMAggregates lock waits of other locks.
SQOP_LOCK_MD_STAT_SUMAggregates lock waits of MetaData Statistics type.
SQOP_LOCK_MD_PART_SUMAggregates lock waits of MetaData Partition Function type.
SQOP_LOCK_MD_OTHER_SUMAggregates lock waits of other MetaData types.

PW_SQEE_EXPLN_ESTIMATED_COST

Contains overtime history of statement's estimated cost changes.

Column NameColumn Description
SQEE_PWII_INSTANCE_IDID of the MS-SQL Server instance.
SQEE_DATABASE_NAMEName of the database.
SQEE_PARSING_USER

One of the MS-SQL Server users who executed this statement.

If this statement is not part of a stored procedure, this is the user used as the parsing user when explaining this batch.

SQEE_BATCH_HVUnique identifier (number) assigned to the batch.
SQEE_WORKSHOP_HV

Unique identifier (number) assigned to statements inserted in the statement workshop workspace.

Statements loaded into the PMDB have the value 0.

SQEE_STATEMENT_ID_IN_BATCHA statement number in the first batch sampled running the statement.
SQEE_EXPLAIN_TIMEDate and time the batch was explained and its access plan was changed.
SQEE_ESTIMATE_COSTEstimated cost of this operation.
SQEE_ACTUAL_PLAN_INDAn indicator if the execution plan is actual or estimated PW_SQEA_EXPLN_ACCESS_PATH

PW_SQEA_EXPLN_ACCESS_PATH

Contains overtime history of statement's access path changes.

Column NameColumn Description
SQEA_PWII_INSTANCE_IDID of the MS-SQL Server instance.
SQEA_DATABASE_NAMEName of the database.
SQEA_PARSING_USER

One of the MS-SQL Server users who executed this statement.

If this statement is not part of a stored procedure, this is the user used as the parsing user when explaining this batch.

SQEA_BATCH_HVUnique identifier (number) assigned to the batch.
SQEA_WORKSHOP_HV

Unique identifier (number) assigned to statements inserted in the statement workshop workspace.

Statements loaded into the PMDB have the value 0.

SQEA_STATEMENT_ID_IN_BATCHA statement number in the first batch sampled running the statement.
SQEA_EXPLAIN_TIMEDate and time the batch was explained and its access plan was changed.
SQEA_ESTIMATE_COSTEstimated cost of this operation.
SQEA_ACTUAL_PLANAn indicator if the execution plan is actual or estimated.
SQEA_ACCESS_PATH_HVUnique identifier (number) assigned to the access plan of the statement.
SQEA_MISS_INDEXES_IMPACTThe minimal possible impact of indexes that are missing for effective query execution.
SQEA_EXPLAIN_OPER_USAGEThis column contains a mask of operations that appeared in the execution plan.







Scroll Ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
Newtabfooter
aliasIDERA
urlhttp://www.idera.com
 | 
Newtabfooter
aliasProducts
urlhttps://www.idera.com/productssolutions/sqlserver
 
Newtabfooter
aliasPurchase
urlhttps://www.idera.com/buynow/onlinestore
 | 
Newtabfooter
aliasSupport
urlhttps://idera.secure.force.com/precise/
 | 
Newtabfooter
aliasCommunity
urlhttp://community.idera.com
 
|
 
Newtabfooter
aliasResources
urlhttp://www.idera.com/resourcecentral
 | 
Newtabfooter
aliasAbout Us
urlhttp://www.idera.com/about/aboutus
 
Newtabfooter
aliasLegal
urlhttps://www.idera.com/legal/termsofuse