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

Reply via email to