Salesforce

PROSTRCT reorder ai fails if AI extents are all FULL/LOCKED and busy extent is full

« Go Back

Information

 
TitlePROSTRCT reorder ai fails if AI extents are all FULL/LOCKED and busy extent is full
URL NameP123872
Article Number000116822
EnvironmentProduct: OpenEdge
Version: 10.1B
OS: All supported platforms
Question/Problem Description
PROSTRCT reorder ai fails with error 12196 if AI extents are all FULL/LOCKED and the BUSY extent is full
Steps to Reproduce
Clarifying Information
Replication enable database.
BUSY AI extent surrounded by LOCKED AI extents in sequecne
BUSY AI file is full because it has reached its fixed extent size or has hit user, os or disk size limits on the filesize.
Error MessageSYSTEM ERROR: Found invalid AI extent state 1, area num <num>. (12196)
Defect NumberDefect OE00149698 / PSC00185435
Enhancement Number
Cause
All extents are scanned from Area 6 (Schema Area) to the end of the database extent list to check for EMPTY, FULL and LOCKED states of each AI extent found to build the list for re-ordering these AI extents. The 12196 error is thrown when it finds an AI extent in a different state (BUSY)
Resolution
Upgrade to OpenEdge 10.1B03 Service Pack or later where the BUSY extent is not checked when current AI extent status's are scanned to build the reorder list. 

Prior to OpenEdge 10.2B, when adding AI files to a database that already has fixed length AI extents, ensure that the new AI extents are the same size as the original ones.  For further information please Refer to Article  Error 9444 after adding AI extents and using PROSTRCT REORDER   
Workaround
Workarounds:

1.  If any AI areas are marked as FULL, empty those areas and retry the PROSTRCT reorder ai command.

If OpenEdge Replication is enabled and all extents are LOCKED, there is currently no way to re-order the AI areas.  You will need to backup & restore the database:

1.  Backup the database using PROBKUP with the -norecover option and then restore the database into a new structure.

probkup <dbname> <dbname.bkup> -norecover

2. Restore the source database from a previous backup and roll-forward AI files, delete the recovery files, enable after imaging and replication and re-create the target database.
Notes
Keyword Phrase
Last Modified Date11/20/2020 7:36 AM

Powered by