asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Khurram Faraaz <khfaraa...@gmail.com>
Subject Re: Does Projection affect count() performance?
Date Sat, 01 Oct 2016 15:37:59 GMT
Wail please file a JIRA to track this issue.

On Oct 1, 2016 2:31 PM, "Wail Alkowaileet" <wael.y.k@gmail.com> wrote:

> Hi,
>
> I know that early projections will enhance the performance.
> I just noticed something:
>
> 1- returning the whole tuple
> count( for $x in dataset Tweets
> return $x
> )
>
> => Throws an exception Java heap exceeded. (The heap-size is less than the
> sum of AsterixDB configured memory ... so it's not a problem).
>
> 2- However, returning one field
> count( for $x in dataset Tweets
> return $x.id
> )
>
> => Worked just fine.
>
> I'm just wondering, does the projection in count() affects its performance
> ?
> --
>
> *Regards,*
> Wail Alkowaileet
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message