in reply to take 'n' array elements at a time

If 'n' equates to every hour,day,month etc then I would think database.

poj