That was a good advice Dima, thanks ;)

Marek M.
________________________________________
From: Dmitriy Ryaboy [[email protected]]
Sent: Saturday, December 03, 2011 1:06 AM
To: [email protected]
Subject: Re: FOR - EACH?

group by (user_id, semi-random-number_between-0-and9) ?

On Fri, Dec 2, 2011 at 4:37 AM, Marek Miglinski <[email protected]> wrote:
> Hello guys,
>
> I have a group of users aggregated by day period, lets assume there are 
> 10mill users and each user has got 1000 transactions.
>
> Now is there a way to iterate through this group NOT foreach, but foreach 10! 
> records in that group? So I could safe space and count more users per action, 
> export less records.
>
>
>
> Thanks,
> Marek M.

Reply via email to