Kbase P46572: Can you truncate the bi when after-imaging (ai) is enabled?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  24/04/2009 |
|
Status: Verified
GOAL:
Can you truncate the bi when after-imaging (ai) is enabled?
FIX:
The bi can be truncated when after-imaging is enabled.
However, since the ai files are also written to during the truncate of the bi, it has to be ensured that there are empty ai extents to be switched to. In this situation the ai files have to be administered just as if the db was up and running - backing up ai extents, marking them as empty. This is how the mechanism works.
This can be seen from the following example:
1. prostrct create sports
/* sports.st */
d ./sports.d1
a ./sports.a1 f 1024
a ./sports.a2 f 1024
a ./sports.a3 f 1024
2. procopy $DLC/sports sports
3. probkup sports sportsbak0
4. rfutil sports -C aimage begin
5. proutil sports -C truncate bi