I have for example an artist and artworks. So in my artist table, there is only a unique hash key (artist id) and no range key. I then have a table for artworks with a hash key (artist id) and rage key (artwork id).
I am trying to understand how dynamodb will handle the artist table as far as partitions and allocating items to partitions, since each row is unique.
1) Is my only option to scan the table when I need to pull up the artist by id or what happens if i do a query with only a hash id? 2) How are all these items stored "under the hood"? How does dynamodb deal with this as far as nodes/partitions? 3) Is there a common design pattern for dealing with items that are unique and have no range key?
Thanks, have hot found anything on this exact topic yet and looking for help.