1 Oct 2010 02:47
[U2] UV index with duplicate nodes
Richard Lewis <rbl000 <at> gmail.com>
2010-10-01 00:47:25 GMT
2010-10-01 00:47:25 GMT
We've just uncovered a rather unusual and unsettling situation. We have a file with a single index that has somehow gotten nodes with duplicate keys. A simple example would be having an index on ZIPCODE in a address database, and finding that there are _two_ nodes (records) in the index for ZIPCODE 12345, for example. The source records referred to in the nodes are not duplicated, but since most operations find the 'first' node, any source records referred to in the duplicate node appear to not exist in the index. >LIST.INDEX fname ALL Alternate Key Index Summary for file fname File........... fname Indices........ 1 (1 A-type, 0 C-type, 0 D-type, 0 I-type, 0 SQL, 0 S-type) Index Updates.. Enabled, No updates pending Index name Type Build Nulls In DICT S/M Just Unique Field num/I-type fieldname A Not Reqd Yes Yes M L N 2 The file contains 6,539,233 records, with 574,547 unique values in fieldname (which is actually a single-valued field, and has been verified that each record's fieldname contains one and only one value). We found that 9 source records appear to have not been included in the index, but upon further research found the nodes with duplicate keys. We created an F-pointer to the index file itself (not normally recommended, but useful), then got the results like the following: LIST indexfile WITH <at> ID = "12345]" F1 F2 fname..... F1........ F2........ 12345 987654 876543(Continue reading)
Anant
On Tue, Sep 28, 2010 at 12:58 PM, <bparker <at> nemianlife.lu> wrote:
> I'm lurking as usual, nothing to add, lots to learn.
>
> Brian
>
>
>
> From: "u2ug" <simpson-u2ug <at> gerzio.ca>
> To: <u2-users <at> listserver.u2ug.org>
> Date: 27/09/2010 18:07
> Subject: [U2] where did everyone go ?
> Sent by: u2-users-bounces <at> listserver.u2ug.org
>
>
>
> The number of postings has drastically dropped over the past few weeks
> down to virtually zero
> Has the list been relegated the dust bin and I missed the notice ?
>
>
>
> _______________________________________________
> U2-Users mailing list
> U2-Users <at> listserver.u2ug.org
>
RSS Feed