title: Non-Relational Database Design
body: <p>I'm interested in hearing about design strategies you have used with <strong>non-relational "nosql" databases</strong> - that is, the (mostly new) class of data stores that don't use traditional relational design or SQL (such as Hypertable, CouchDB, SimpleDB, Google App Engine datastore, Voldemort, Cassandra, SQL Data Services, etc.). They're also often referred to as "key/value stores", and at base they act like giant distributed persistent hash tables.</p>
  
  <p>Specifically, I want to learn about the differences in <em>conceptual data design</em> with these new databases. What's easier, what's harder, what can't be done at all?</p>
  
  <ul>
  <li><p>Have you come up with alternate designs that work much better in the non-relational world?</p></li>
  <li><p>Have you hit your head against anything that seems impossible? </p></li>
  <li><p>Have you bridged the gap with any design patterns, e.g. to translate from one to the other? </p></li>
  <li><p>Do you even do explicit data models at all now (e.g. in UML) or have you chucked them entirely in favor of semi-structured / document-oriented data blobs?</p></li>
  <li><p>Do you miss any of the major extra services that RDBMSes provide, like relational integrity, arbitrarily complex transaction support, triggers, etc?</p></li>
  </ul>
  
  <p>I come from a SQL relational DB background, so normalization is in my blood. That said, I get the advantages of non-relational databases for simplicity and scaling, and my gut tells me that there has to be a richer overlap of design capabilities. What have you done?</p>
  
  <p>FYI, there have been StackOverflow discussions on similar topics here: </p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/282783/the-next-gen-databases">the next generation of databases</a></li>
  <li><a href="https://stackoverflow.com/questions/731147/what-changes-do-i-need-for-my-tables-to-work-on-appengines-bigtable">changing schemas to work with Google App Engine</a></li>
  <li><a href="https://stackoverflow.com/questions/337344/pros-cons-of-document-based-database-vs-relational-database">choosing a document-oriented database</a></li>
  </ul>