Icon View Incident Report

Serious Serious
Reported By: Jeff Dunlop
Reported On: 12/11/2009
For: Version 2.03 Build 6
# 3119 Joins Taking Too Much Time and CPU when Executed on Very Large Tables

The following query pegs the CPU and just runs and runs. The Sale table has 2mil rows, and the SaleDetail table as 4mil rows.

SELECT *
FROM SaleDetail INNER JOIN Sale ON SaleCode=Sale.SaleCode
WHERE SaleDate BETWEEN DATE '2008-01-01' AND DATE '2008-12-31'
JOINOPTIMIZECOSTS



Comments Comments
The query now takes about 60secs to return ~710,000 rows. The problem was with the bitmap handling used to represent sets in the query manager. The bitmap handling has been improved in order to eliminate the excessive overhead that was characteristic with very large tables prior to 2.03 Build 7.


Resolution Resolution
Fixed Problem on 12/19/2009 in version 2.03 build 7


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 VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image