SYS.Database.BackgroundFileCompact
persistent class SYS.Database.BackgroundFileCompact extends %SYS.BackgroundTask
SQL Table Name: SYS_Database.BackgroundFileCompact
Class to start, monitor and control the Database Compaction utiltity running in the background. The method run in the background is the FileCompact method of SYS.Database.To start it
set oref=##class(SYS.Database.BackgroundFileCompact).Start(Directory,TargetFree)
Start() returns an oref to an object of this class that can be inspected and reloaded to get status and progress updates. See superclass %SYS.BackgroundTask for detailed information on features of this object.
Property Inventory
Parameters
0 - not allowed
1 - polls for cancel requests
-1 - directly terminate the process
0 - not allowed
1 - polls for pause requests
-1 - directly pause the process
Properties
Queries
SELECT %ID, StartTime, Database, RunningState, HasEnded, FinalStatus, ProgressCurrent, ProgressTotal, ProgressUnits FROM SYS_Database.BackgroundFileCompact
Inherited Members
Inherited Properties
- CancelIsAvailable
- Class
- DisplayType
- FinalStatus
- HasEnded
- Namespace
- PID
- PauseIsAvailable
- ProgressCurrent
- ProgressTotal
- ProgressUnits
- Request
- ResumeIsAvailable
- RunningState
- StartTime
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- Cancel()
- Pause()
- Resume()
- Start()
Storage
Gray indicates storage defined by superclasses.
Storage Model: Storage (%SYS.BackgroundTask)
^%SYS.BackgroundTaskD(ID) |
= | %%CLASSNAME
StartTime
Namespace
FinalStatus
PID
MemIdx
Version
JobNum
JobID
ExternalStateStored
|
Storage Model: Storage (SYS.Database.BackgroundFileCompact)
^%SYS.BackgroundTaskD(ID,"BackgroundCompact") |
= | Database
BlockSize
|