On Tue, Mar 27, 2012 at 04:17:22PM +0200, Elizabeth Mattijsen wrote:
> >> Becomes:
> >> =
> >> my %visitors;
> >> my $values;
> >> while ( $sth= $sth->next ) {
> >>$visitors{ $values->[0] }= undef
> >> while $values= $sth->fetchrow_arrayref;
> >> }
> >> printf "
How time flies when you're having some days off...
On Mar 15, 2012, at 1:35 PM, Tim Bunce wrote:
> On Wed, Mar 14, 2012 at 01:35:21PM +0100, Elizabeth Mattijsen wrote:
>> Maybe some background first:
>>
>> I'm working on code that does queries on large tables. To be able to
>> support the growt
On Wed, Mar 14, 2012 at 01:35:21PM +0100, Elizabeth Mattijsen wrote:
> Maybe some background first:
>
> I'm working on code that does queries on large tables. To be able to support
> the growth of these tables, we need to shard the tables to multiple database
> servers. One way to shard this
On Mar 14, 2012, at 1:35 PM, Elizabeth Mattijsen wrote:
> Maybe some background first:
>
> I'm working on code that does queries on large tables. To be able to support
> the growth of these tables, we need to shard the tables to multiple database
> servers. One way to shard this evenly, would