in reply to Storing Large Amounts of Trivial Data

Database performance comparisons are usually made in terms of millions of rows. MySQL, even running on a fairly regular PC, can easily cope with a few tens of millions of rows. Oracle can scale even higher. The reason is indices. When designing the database schema, you decide which columns you'll want to be able to search on, order by etc. and tell the DBMS to keep an index. Indices slow down INSERTs, because the item has to be indexed, but drastically improve SELECT speeds.

In a sense you're right, because without an index every query pertaining to votes would have to loop across the entire table, which would be way slow. But Vroom or whoever designed the voting system wisely chose to index the 'monk' column - thereafter making it very readily accessible

Learn a bit about modern DBMSs and you'll find youtself doing a few things:

I have no idea if Everything does store all the votes since ever - but the point is, it could.

  • Comment on Re: Storing Large Amounts of Trivial Data