Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 12 APR 2010 01:49:33AM Martin Drenovac wrote:

Curious to know how I can programatically verify table indices are in place (exist) and correct.

Have a couple of unexplained occurrences where the same select produces different results, and the select is using indices to get to the data.

Thank you


At 12 APR 2010 08:27AM Dave Harmacek wrote:

In my experience this has happened because a revelation delimiter is in the key of some row or rows of the table that is indexed. This causes a misalignment of the btree structure that depends upon where in the structure the bad key exists. So, some searches are fine, others skewed.

So, I make a program that scans all keys looking for those that contain revelation delimiters and make a SYSLISTS (or LISTS) entry, and save the bad rows with valid keys.

Dave

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/42ada69026d7812a85257703002000ae.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1