<div dir="ltr">So I re-indexed the problem table again and ran diagnosis on it, I am an error box that says:<div><br></div><div>"Kernel error: 0x83504. Unique violation of index " S".</div><div><br></div><div>
Running diagnosis again I get:</div><div><br></div><div><div>Field: fldKeyword. Index record count (246125) differ from field one (323470).</div><div>Field: fldKeyword. Index have 77345 missing records.</div><div><br></div>
<div><br></div><div>Problems found! ( Table: tblKeyword )</div></div><div><br></div><div><br></div><div>This is Valentina server 5.4.3</div><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Nov 14, 2013 at 5:31 PM, Chris Jones <span dir="ltr"><<a href="mailto:cjones@daz3d.com" target="_blank">cjones@daz3d.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br>So I did two queries against a server running 5.4.3 server, her are the queries and the tune-up output:<div><br><div>SELECT * FROM tblKeyword WHERE fldKeyword = 'Monie.duf';</div><div><br></div>
<div>
FOUND in the QueryPool: NO</div><div>FOR SQL QUERY TIME = 140 : </div><div> DO SELECT : TIME = 140 : ROWS = 0</div><div><span style="white-space:pre-wrap"> </span> DO SIMPLE SELECT : TIME = 140 : ROWS = 0</div><div>
<span style="white-space:pre-wrap"> </span> DO Single Table Without GROUP BY : TIME = 140 : ROWS = 0</div><div><span style="white-space:pre-wrap"> </span> FOR Table [tblKeyword] DO resolve WHERE statement : TIME = 140 : ROWS = 0</div>
<div><span style="white-space:pre-wrap"> </span> FOR Field [fldKeyword] DO FindValue(Monie.duf) : USES INDEX = TRUE : TIME = 140 : ROWS = 0</div><div><span style="white-space:pre-wrap"> </span> DO Cursor Creation : TIME = 0 : </div>
<div><span style="white-space:pre-wrap"> </span> </div><div><br></div><div>SELECT * FROM tblKeyword WHERE 'Monie.duf' = fldKeyword;</div><div><span style="white-space:pre-wrap"> </span> </div><div>FOR SQL QUERY TIME = 249 : </div>
<div>DO SELECT : TIME = 249 : ROWS = 1</div><div> DO SIMPLE SELECT : TIME = 249 : ROWS = 1</div><div><span style="white-space:pre-wrap"> </span> DO Single Table Without GROUP BY : TIME = 249 : ROWS = 1</div><div><span style="white-space:pre-wrap"> </span> FOR Table [tblKeyword] DO resolve WHERE statement : TIME = 249 : ROWS = 1</div>
<div><span style="white-space:pre-wrap"> </span> FOR EXPR DO Scan of column : TIME = 249 : ROWS = 1</div><div><span style="white-space:pre-wrap"> </span> DO Cursor Creation : TIME = 0 : </div><div><span style="white-space:pre-wrap"> </span> DO Record Locks : TIME = 0 : </div>
<div><br></div><div>They seem the same to me, but one returns a result and the other returns nothing. I just re-indexed this table.</div><div><br></div><div>Am I missing something?</div><span class="HOEnZb"><font color="#888888"><div>
<br></div>-- <br>Christopher Jones<br>
Software Developer<br>DAZ 3D<br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Christopher Jones<br>Software Developer<br>DAZ 3D<br>
</div>