Table

SysIndexRebuildActivityDetails

Records the result of defragmenting one index in one run. It links to an index in the index details table and to a run in the activity log. It shows the status and compares fragmentation, page count and space used before and after.

Table name
SysIndexRebuildActivityDetails
Module
System administration
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
ApplicationPlatform

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ActivityIdIdentifier of the defragmentation run. It points to the activity log.Guid
SysIndexDefragmentationRunId
NoSysIndexRebuildActivityLog.ActivityIdNone
ActivityStatusStatus of the defragmentation, such as not run, executing, failed, succeeded, paused or skipped.Enum
SysIndexRebuildActivityStatus (enum)
NoNone
FragmentationAfterFragmentation of the index after the run, as a percentage.Integer
SysIndexFragmentationInPercent
NoNone
FragmentationBeforeFragmentation of the index before the run, as a percentage.Integer
SysIndexFragmentationInPercent
NoNone
PageCountAfterNumber of pages in the index after the run.IntegerNoNone
PageCountBeforeNumber of pages in the index before the run.IntegerNoNone
PageSpaceUsedAfterPercentage of page space in use after the run.Integer
SysIndexPageSpaceUsedInPercent
NoNone
PageSpaceUsedBeforePercentage of page space in use before the run.Integer
SysIndexPageSpaceUsedInPercent
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysIndexRecIdPoints to the index record, by system record ID.Int64NoSysIndexDetails.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

Each relation joins SysIndexRebuildActivityDetails to another table on the fields shown.

  • IndexDetails → SysIndexDetails

    Join on SysIndexRecId = SysIndexDetails.RecId

    Cardinality not set in the metadata.

  • DefragmentationRunDate → SysIndexRebuildActivityLog

    Join on ActivityId = SysIndexRebuildActivityLog.ActivityId

    Cardinality not set in the metadata.

Get this data out

No public entity reads from SysIndexRebuildActivityDetails. Its data is only reachable through the application, a custom entity or a database export.

Need help with SysIndexRebuildActivityDetails in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk