Table of Contents

Class AzureSQLDatabaseSchema.DatabaseUsage

Namespace
LinqToDB.Tools.DataProvider.SqlServer.Schemas
Assembly
linq2db.Tools.dll

sys.database_usage (Azure SQL Database)

Applies to: √ Azure SQL Database √ Azure SQL Managed Instance

Note: This applies only to Azure SQL Database V11.
Lists the number, type, and duration of databases on the SQL Database server.
The sys.database_usage view contains the following columns.


See sys.database_usage.

[Table(Schema = "sys", Name = "database_usage", IsView = true)]
public class AzureSQLDatabaseSchema.DatabaseUsage
Inheritance
AzureSQLDatabaseSchema.DatabaseUsage
Extension Methods

Properties

Quantity

The maximum number of databases of an SKU type that existed during that day.

[Column("quantity")]
[NotNull]
public object Quantity { get; set; }

Property Value

object

Sku

The type of service tier for the database: Web, Business, Basic, Standard, Premium

[Column("sku")]
[NotNull]
public object Sku { get; set; }

Property Value

object

Time

The date when the usage events occurred.

[Column("time")]
[NotNull]
public object Time { get; set; }

Property Value

object