Hacker News new | ask | show | jobs
by RobotToaster 116 days ago
> an item with 50,000 units across 10 locations would mean 500,000 rows

I don't get it, Wouldn't that still only be 50,000 rows, just divided across locations?

1 comments

they're saying they started with the dumb thing,

    item1_location1

    item1_location2

    ...

    item2_location1

    item2_location2
every (item, location) combo gets its own row, and then they moved to the smarter thing.