SoftwareUsagePerWeek Table

Software usage information is stored in weekly batches. Information received by the server is stored in the SoftwareUsagePerWeek table. Each row in the table represents usage information received from a specified user, on a specified managed device, regarding usage of specified software, during the week where the Monday is the specified date.

Note: To cater for multi-tenant mode, this table may contain data for multiple tenants. Access requires that the database TenantID has been set in the SQL Server connection context information. That setting filters an underlying table to produce this view of data for the single, selected tenant.
Table 1. Database columns for SoftwareUsagePerWeek table

Database Column

Details

SoftwareUsagePerWeekID

Type: integer. Key. Generated ID

Auto-generated identity number

ComputerID

Type: integer. Key

The id of the computer this information applies to. This id is a foreign key to the Computer table. It forms part of the unique-clustered-index that identifies each row of data.

UserID

Type: integer. Key

The id of the user context in which the application was detected. This id is a foreign key to the User table. It forms part of the unique-clustered-index that identifies each row of data.

SoftwareID

Type: integer. Key

The id of the software that was used. This is a foreign key to the SoftwareVersion table. It forms part of the unique-clustered-index that identifies each row of data.

SoftwareFileUsageID

Type: integer. Key. Nullable

The id of the software file usage that was used. This is a foreign key to the SoftwareFileUsage table. It forms part of the unique-clustered-index that identifies each row of data.

StartOfWeek

Type: datetime. Key

The first day for the week. This date identifies the week that usage data applies to.

Duration

Type: integer. Nullable

The total duration, in seconds, that the application was run. It represents the total spanning across many sessions.

ActiveTime

Type: integer. Nullable

The total active time, in seconds, that the application was in the foreground. It represents the total spanning across many sessions.

Sessions

Type: integer. Nullable

The number of sessions the in which the application was used within the week.

Days

Type: integer. Nullable

The number of distinct days the application was used within the week.