In order for this site to work correctly, and for us to improve the site, we need to store a small file (called a cookie) on your computer.
By continuing to use this website, you agree to our cookies and privacy policy.
  
Home page Home page Home page Home page
Pixel
Pixel Header R1 C1 Pixel
Pixel Header R2 C1 Pixel
Pixel Header R3 C1 Pixel
Pixel

QTIPS - Updating Indexes

Perry Howell at the Inland Revenue recently experienced an interesting problem that may concern other users of earlier versions of AREV (1.12-). Whenever the system went into "Updating Indexes" mode, it would not respond to keyboard input for several seconds. There were no rogue records in !INDEXING, in fact the file was nearly empty.

The problem was finally traced to the fact that a very large file import had been performed and at some stage the !INDEXING file had grown to over 1MB. Unfortunately the Sizelock parameter had never decremented to 0 so the file never decreased in size even when empty. Consequently the SELECT being performed internally by the indexing operation took a long time to complete and return control to the keyboard.

Once identified the problem was resolved by copying the index transactions to a temporary file, CLEARFILEing the !INDEXING file then copying the index transactions back in.

(Volume 2, Issue 2, Page 8)
Pixel
Pixel Footer R1 C1 Pixel
Pixel
Pixel
Pixel