Property :: checkCollection - Check Collection consistency
The function is typically called for persistent collection properties. The function allows checking and repairing consistency errors. Most consistency errors are caused by redundancy stored in the system but not maintained properly.
Implementation overview
- Calling collection check with default options
Property :: checkCollection (  ) - Checking collection with specific check options
Property :: checkCollection ( sCheckOptions )
Implementation details
-
Calling collection check with default options
Property  :: checkCollection (  )
A collection check for all instances and indexes, inverse references and GUIDs will be performed. Damages will be reported but not repaired.
to list
-
Checking collection with specific check options
Property  :: checkCollection ( odaba::String &sCheckOptions )
In order to perform specific collection checks, a check option string may be passed in sCheckOptions . In order to repair damages, -R has to be set in the option string.
- sCheckOptions
- Check options
Check options can be passed as option string to CheckDB utility or Database ::checkDatabase() and Property ::checkCollection() check functions. An option string may contain following options:
[-C: checks ] [-T: type ] [-R] [-W] [-K: time ]
All options are preceded by an option key, which allows defining options in any order. Default settings are assumed for options, which are not defined in an option string.
Check modes (-C:IXG)
The list of check options determines the type of checks to be performed:
I - Inverse reference check
X - Index check
G - GUID check
Default: -C: IXG (running all checks)
The order of the options does not play any role. One may use capital or small letters except for the option key -C :
Check modes (-C:IXG)The list of check options determines the type of checks to be performed:
I - Inverse reference check
X - Index check
G - GUID check
Default: -C: IXG (running all checks)
The order of the options does not play any role. One may use capital or small letters except for the option key -C :
to list
- sCheckOptions
- Check options