Search code examples
architecturerelationalamazon-simpledbbigtable

Choosing a database type


When would you use a bigtabe/simpledb database vs a Relational database?


Solution

  • Relational databases give you a lot more layout and query flexibility, and are easier to use, but you also end up with more pain if you later need to partition your data if it won't fit on a single database server/cluster. BigTable and similar things scale essentially infinitely, but do so by not offering a bunch of relational database features and making the design problem a lot harder.

    Given probably 0.1% of places end up needing the BigTable level of scalability, you're almost always better off going with a relational database. If your data model is simple enough that either one would work, I'd be inclined to still pick a relational database.