Note that there are some explanatory texts on larger screens.

plurals
  1. POpractical solution for dynamodb's max item length (64k) and no-sql's lack of table joins
    primarykey
    data
    text
    <p><strong>First, some background context that I think may be very relevant:</strong></p> <p>I'm proofing <a href="http://aws.amazon.com/dynamodb/" rel="nofollow">dynanodb</a> as a viable solution for an upcoming app. This is a learning experiment to familiarize myself with the dynamodb offering. My platform is amazon EC2 (Linux), node.js with the <a href="https://github.com/Wantworthy/dynode" rel="nofollow">dynode</a> library.</p> <p>My question came along when considering one-to-many relationships (e.g. tags, keywords, categories, etc) in the context of no-sql, where it's not possible to join tables. At first it seemed a no-brainer: just store them as an attribute list. But then I read about the 64KB limit.</p> <p><strong>so my question:</strong></p> <p>An item, including it's attributes, (i.e. a db row with all its columns) in DynamoDB cannot exceed a total of 64KB binary size. So how do I go about checking the data to make sure it will not violate that length?</p> <p>Obviously numbers are straightforward, but "Unicode with UTF8 binary encoding" strings are going to be a challenge. </p> <p>The second part of this question might be obvious to the no-sql ninjas: how do I avoid bumping into this limitation while easing the burden of not being able to join tables? A lengthy answer is likely beyond the scope of the Q&amp;A format, but if anyone has comments or could offer alternatives I should be exploring while solving the 64k length, I would be grateful.</p> <p>Best, and thanks in advance for any and all suggestions.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload