I need to store some stats: the number of clicks on some items (more than 1000 items).
I need to store the clicks daily:
e.g: day 1: 1234 clicks on item 1
day 2: 12312 clicks on item 1
day n: 13123 clicks on item 1

I have a cheap server so I need an optimal way to store all this data. Later I need to generate charts from this data

Any ideas ?