Page 1 of 1

Cannot delete value from index

Posted: Thu May 01, 2003 9:29 am
by foosh101
I get the following sometimes when I try to either remove a record from a table or drop the entire table:

<!-- 006 /texisUpdate/DelByID:24: Cannot delete value (Elwood) from index d:\morph3\texis\mktDB\mkt2000000LocationCity.btr -->
<!-- 006 /texisUpdate/DelByID:24: Cannot delete value (Park Forest) from index d:\morph3\texis\mktDB\mkt2000000LocationCity.btr -->
<!-- 006 /texisUpdate/DelByID:26: Cannot delete value (San Diego) from index d:\morph3\texis\mktDB\mkt2000007LocationCity.btr -->
<!-- 006 /texisUpdate/DelByID:27: Cannot delete value (San Diego) from index d:\morph3\texis\mktDB\mkt2000000LocationCity.btr -->
<!-- 006 /texisUpdate/DelByID:29: Cannot delete value (fairview) from index d:\morph3\texis\mktDB\mkt2000014LocationCity.btr -->
<!-- 006 /texisUpdate/DelByID:30: Cannot delete value (fairview) from index d:\morph3\texis\mktDB\mkt2000000LocationCity.btr -->
<!-- 006 /texisUpdate/DelByID:26: Cannot delete value (El Paso) from index d:\morph3\texis\mktDB\mkt2000007LocationCity.btr -->
<!-- 006 /texisUpdate/DelByID:27: Cannot delete value (El Paso) from index d:\morph3\texis\mktDB\mkt2000000LocationCity.btr -->
<!-- 006 /texisUpdate/DelByID:29: Cannot delete value (Spring Lake) from index d:\morph3\texis\mktDB\mkt2000014LocationCity.btr -->
<!-- 006 /texisUpdate/DelByID:30: Cannot delete value (Spring Lake) from index d:\morph3\texis\mktDB\mkt2000000LocationCity.btr -->

The records seem to be deleted fine, I just get these messages occasionally. What do they mean?

Cannot delete value from index

Posted: Thu May 01, 2003 9:46 am
by John
They indicate that Texis could not find the key in the index when it tried to delete the pointer to the record from the index. You may want to rebuild the index in question to make sure it accurately reflects the table.

Cannot delete value from index

Posted: Tue Sep 14, 2004 11:25 am
by james120
Just wanted to mention that I just got the same error, and this was an absolutely brand-new index, and the data had not been changed afterwards at all. If John's explanation is correct, it worries me a little that the index is missing random entries for some reason. Is there anything that can be done to double-check this sort of thing?

Cannot delete value from index

Posted: Wed Sep 15, 2004 11:07 am
by John
Yes, you can run

monitor -c dbverify -d DATABASE -i INDEXNAME -v

to check an index, which will double check that every value in the index is in the table, and vice versa.