Kbase P128291: What is the -MemCheck Parameter?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/12/2010 |
|
Status: Verified
GOAL:
What is -MemCheck?
GOAL:
When should -MemCheck be used?
GOAL:
What performance overhead is expected with -MemCheck?
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.1B
FIX:
A new parameter has been added, beginning in 10.1B02, to enable memory overwrite checking at runtime and during roll forward. This check focuses on potential memory overwrites in the buffer pool. When this option is enabled, the consistency checks will be applied to all index blocks and record blocks. The checking is performed on record and index write operations only.
The -MemCheck parameter works in the following manner:
Index and record block operations will be checked prior to before-image note writing and the subsequent database block write. The length of the intended operation will be checked to prevent operations that exceed the database block size.
Index block splits will be checked during the strategic points in an index block split operation.
Index insert operations will be checked during the strategic points of the insertion of a key element.
Errors detected with the -MemCheck parameter will be written to the database log file.
Example syntax for invoking this parameter from the command line:
On the broker:
_mprosrv dbname -S 5768 -B 100000 -L 100000 -MemCheck
or,
proserve dbname -S 5768 -B 100000 -L 100000 -MemCheck
The option for -MemCheck may also be enabled for the database online via the promon Administrative Functions Menu .
promon <dbname>
R&D
option 4 (Administrative Functions...)
option 8 (Enable/Disable block level consistency check)
This brings up the Enable/Disable Block Consistency Check screen:
=================================================
03/11/08 OpenEdge Release 10 Monitor (R&D)
15:15:01 Enable/Disable block consistency check
This option is used to enable/disable block consistency check.
Current consistency check status:
1. -MemCheck: disabled
2. -DbCheck: disabled
3. -AreaCheck: disabled
4. -IndexCheck: disabled
5. -TableCheck: disabled
Enter the option to enable/disable a consistency check:
Enter a number, P, T, or X (? for help): 1
Enable -MemCheck? (y
): y