News for hackers. Stuff that matters.
Re:Ask HN: Databases have indexes. Then why have partitions? by maxdemarzi on Wednesday February 01, 2012 @12:12AM (#3536801)
Because you are keeping 13 months of phone call data and want to easily drop the oldest month every 1st.

Because your queries need to be fast, and you can chop up your data into 1000 pieces (by some column or combination) without adding complexity.

Re:Ask HN: Databases have indexes. Then why have partitions? by matc on Wednesday February 01, 2012 @11:30PM (#3541427)
You can easily drop the oldest month every 1st using a delete statement.

Queries can be fast with indexes without adding complexity.

Re:Ask HN: Databases have indexes. Then why have partitions? by apu on Tuesday January 31, 2012 @11:23PM (#3536673)
Uh, what?
Re:Ask HN: Databases have indexes. Then why have partitions? by AznHisoka on Wednesday February 01, 2012 @09:56AM (#3538163)
I think this is a legitimate question. I always wondered the same thing.