Class ObjectSchema.IndexResumableOperation
- Namespace
- LinqToDB.Tools.DataProvider.SqlServer.Schemas
- Assembly
- linq2db.Tools.dll
sys.index_resumable_operations (Transact-SQL)
Applies to: √ SQL Server 2017 (14.x) and later √ Azure SQL Database
sys.index_resumable_operations is a system view that monitors and checks the current execution status for resumable Index rebuild or creation.
Applies to: SQL Server (2017 and newer), and Azure SQL Database
[Table(Schema = "sys", Name = "index_resumable_operations", IsView = true)]
public class ObjectSchema.IndexResumableOperation
- Inheritance
-
ObjectSchema.IndexResumableOperation
- Extension Methods
Properties
IndexID
ID of the index (not nullable). index_id is unique only within the object.
[Column("index_id")]
[NotNull]
public int IndexID { get; set; }
Property Value
LastMaxDop
Last MAX_DOP used (default = 0)
[Column("last_max_dop")]
[NotNull]
public short LastMaxDop { get; set; }
Property Value
LastPauseTime
Index operation last pause time (nullable). NULL if operation is running and never paused.
[Column("last_pause_time")]
[Nullable]
public object? LastPauseTime { get; set; }
Property Value
Name
Name of the index. name is unique only within the object.
[Column("name")]
[NotNull]
public string Name { get; set; }
Property Value
Object
objects (sys.objects)
[Association(ThisKey = "ObjectID", OtherKey = "ObjectID", CanBeNull = false)]
public ObjectSchema.Object Object { get; set; }
Property Value
ObjectID
ID of the object to which this index belongs (not nullable).
[Column("object_id")]
[NotNull]
public int ObjectID { get; set; }
Property Value
PageCount
Total number of index pages allocated by the index build operation for the new and mapping indexes ( not nullable ).
[Column("page_count")]
[NotNull]
public long PageCount { get; set; }
Property Value
PartitionNumber
Partition number within the owning index or heap. For non-partitioned tables and indexes or in case all partitions are being rebuild the value of this column is NULL.
[Column("partition_number")]
[Nullable]
public int? PartitionNumber { get; set; }
Property Value
- int?
PercentComplete
Index operation progress completion in % ( not nullable).
[Column("percent_complete")]
[NotNull]
public float PercentComplete { get; set; }
Property Value
SqlText
DDL T-SQL statement text
[Column("sql_text")]
[Nullable]
public string? SqlText { get; set; }
Property Value
StartTime
Index operation start time (not nullable)
[Column("start_time")]
[NotNull]
public DateTime StartTime { get; set; }
Property Value
State
Operational state for resumable index:
0=Running
1=Pause
[Column("state")]
[NotNull]
public byte State { get; set; }
Property Value
StateDesc
Description of the operational state for resumable index (running or Paused)
[Column("state_desc")]
[Nullable]
public string? StateDesc { get; set; }
Property Value
TotalExecutionTime
Total execution time from start time in minutes (not nullable)
[Column("total_execution_time")]
[NotNull]
public int TotalExecutionTime { get; set; }