Bugs item #2619622, was opened at 2009-02-20 12:45
Message generated for change (Comment added) made by stmane
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2619622&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SQL/Core
Group: SQL "stable"
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: Yes
Submitted By: Jens Oehlschlägel (jens_oehl)
>Assigned to: Stefan Manegold (stmane)
Summary: Painpoints under Win32
Initial Comment:
This is testing our first 'private' bugreport:
With 600k rows, these are the two most critical statements in the series of
1207 SQLs provided to Stefan and Sjoerd.
# 859 (20 sec with 600k)
SELECT KX, PostingYear, PostingStep, SUM(num1) as sNum1, SUM(den1) as sDen1
FROM ( SELECT MIN(1) as PostingStep, PostingYear, Min('X') as KX, SUM(DT_D02)
as num1, MIN(0) as den1 FROM voc.q_SourceKPIReports WHERE ((PostingYear>=2005)
AND (PostingYear <= 2006)) GROUP BY PostingYear) as sSub3 GROUP BY KX,
PostingYear, PostingStep;
# 983 (point of crash with 600k, works with freshly restarted server)
SELECT KX, PostingYear, PostingStep, SUM(num1) as sNum1, SUM(den1) as sDen1
FROM ( SELECT Postingsemi as PostingStep, PostingYear, Min('X') as KX,
SUM(DT_D02) as num1, MIN(0) as den1 FROM voc.q_SourceKPIReports WHERE
(((PostingYear>2005 AND PostingYear<2006) OR (PostingYear=2005 AND
Postingsemi>=1) OR (PostingYear=2006 AND Postingsemi<=2))) GROUP BY
PostingYear, Postingsemi) as sSub3 GROUP BY KX, PostingYear, PostingStep;
----------------------------------------------------------------------
>Comment By: Stefan Manegold (stmane)
Date: 2009-03-18 14:38
Message:
With the 1.5M test set on our 32-bit Windows XP machine (2.4 GHz Athlon 64
3800+ with 2 GB RAM), query 859 (now) runs in just under 10 secs.
For query 983 see email communication and
[ 2644925 ] crash-points with 1.5M
https://sourceforge.net/tracker/index.php?func=detail&aid=2644925&group_id=56967&atid=482468
----------------------------------------------------------------------
Comment By: Stefan Manegold (stmane)
Date: 2009-02-24 17:54
Message:
tests added as
Win32_painpoint_859.SF-2619622.sql
Win32_painpoint_983.SF-2619622.sql
----------------------------------------------------------------------
Comment By: Stefan Manegold (stmane)
Date: 2009-02-24 17:51
Message:
please ignore my previous accidental comment
----------------------------------------------------------------------
Comment By: Stefan Manegold (stmane)
Date: 2009-02-24 17:49
Message:
added original query as test BatAppendUndefined.SF-2633634.sql
added modified query as test BatAppendUndefined.SF-2633634_OK.sql
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2619622&group_id=56967
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs