here is the trace log
Hi,
does without substring() also mean without group by?
(Since you group on the substring())
In other words, what is the exact query you run without substring that takes
1-3 seconds?
And:
Could you run both queries prefixed with TRACE and share the profiling
output?
Stefan
> ------------------------------------------------------------------------------
On Fri, Jul 27, 2012 at 08:41:43AM +0800, li, xiaohua wrote:
> Hi all:
> we are testing monetdb on a sql
>
> select substring(fact_bk,1,1) as aa,sum(1) as recordcount from f_activity
> group by aa
> the table f_activity have about 5 million rows. when i run this sql,
> monetdb need about 30 seconds . (if we use another no calculated column,
> it need only 1-3 seconds)
> when I run this sql on sql server, it needs only 7 seconds.
>
> is monetdb not good at calculated column? or we have made some mistake?
>
> please tell me the reason, thank you.
>
>
> lixiaohua
> Shanghai,China
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> MonetDB-users mailing list
> MonetDB-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-users
--
| Stefan.Manegold @ CWI.nl | DB Architectures (INS1) |
| http://CWI.nl/~manegold/ | Science Park 123 (L321) |
| Tel.: +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) |
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
MonetDB-users mailing list
MonetDB-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-users