Icon View Incident Report

Serious Serious
Reported By: Wolfgang Klein
Reported On: 5/17/2017
For: Version 2.25 Build 5
# 4526 LIKE Conditions Without Wildcards Not Using Indexes Properly for Optimization

I'm experiencing a performance issue with ElevateDB 2.25 build 5 and the "like" operator.

There is a larger table with the varchar column "Text" and an index on "Text". The data is stored on an SSD.

It seems that the "like" operator without '%' is not properly using the index.

The following are the execution times I see (times are with full and with empty windows file cache).

select Text from IWMMText where Text like 'P14' 
3,151 secs (26,567 sec with empty caches) ----------------------------- too slow

select Text from IWMMText where Text='P14' 
0,078 secs (0,405 sec with empty caches)

select Text from IWMMText where Text like 'P14%'
0,078 secs (0,406 sec with empty caches)



Resolution Resolution
Fixed Problem on 5/20/2017 in version 2.26 build 1


Products Affected Products Affected
ElevateDB Additional Software and Utilities
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial
ElevateDB LCL Standard with Source
ElevateDB PHP Standard
ElevateDB PHP Standard with Source
ElevateDB PHP Trial
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image