Hi, I installed 3.3 a few days ago and have verified that the “trickle feed” problem does indeed seem to be corrected. Thanks.
Having that corrected has now revealed another performance issue that I don’t quite understand.
Assume that I have the following test table with 4 fields.
id BIGINT
clientip VARCHAR(15)
subject VARCHAR(100)
sender VARCHAR(100)
If I issue the command
SELECT subject from test_table WHERE clientip = ‘123%’ the system reports no matching rows after about 15 seconds. A second try takes about 1 second to confirm no rows exist. I assume the faster second query is because the knowledge grid or cmap was loaded into ram the second time. This is how i would expect it to work.
However, when I execute the same query using any of the longer varchar fields in the where clause it takes about 1.5 minutes to report no rows. Subsequent runs take just as long.
SELECT subject from test_table WHERE subject = ‘123%’
I was under the impression that the longer VARCHAR fields had no performance impact as long as IB is able to use the first 64 bytes of data to match the field or not. In my example none of the records started with 123 in either case but performance is continually bad only on the second instance.
Can’t help but think there is a lingering performance issue related to long character fields. Overall it’s definitely better than it was in 3.2 though.
Thanks again.
Mike
