Very useful video Alex. Thank you. Can there be more than one sort key in the composite primary key? For example if partition key is customerId#, could there be 4 other sort keys such as customerAddress# [along with attributes], customerDemographicInfo#[along with attributes], customerAdditionalInfo#[attributes], etc? I am trying to create a one to many relationship for unique customers in my table to their many addresses, contacts, etc.
Thanks, Bahar! For your question, will these each be different items in your table? If so, the answer is yes -- you can have different items with different sort key patterns. Let me know if I'm misunderstanding -- feel free to email me or DM me on twitter.
Nope, this is all hidden from you. You can sneakily find out the number of partitions in your DynamoDB table by examining DynamoDB streams, but it shouldn't really help you much. Project to find number of partitions here: github.com/zaccharles/dynamodb-table-partitions
Good catch! They don't really tell us (we don't need to know!), but I believe DynamoDB doesn't actually remove partitions after they're created. That said, because we don't need to know, they could change that in the future if needed.
Clear and Concise DynamoDB Partitions breakdown. Thanks Alex. ..Subbed.
Thanks! Glad you liked it
very nice explanation on partitions ,thanks for the video
Thanks, Sanjeev! :)
Great concise video! Much appreciated the effort on making those videos, Alex!
Excellent review of partitions, how, and why... Much appreciated Alex. Thanks!
Thanks Rick!
Thanks Alex , it was helpful
You're welcome, Dev! Glad you liked it.
Great video, thanks!
Thanks! Glad you liked it :)
Very useful video Alex. Thank you. Can there be more than one sort key in the composite primary key? For example if partition key is customerId#, could there be 4 other sort keys such as customerAddress# [along with attributes], customerDemographicInfo#[along with attributes], customerAdditionalInfo#[attributes], etc? I am trying to create a one to many relationship for unique customers in my table to their many addresses, contacts, etc.
Thanks, Bahar!
For your question, will these each be different items in your table? If so, the answer is yes -- you can have different items with different sort key patterns. Let me know if I'm misunderstanding -- feel free to email me or DM me on twitter.
awesome! thanks a lot for this video!
You're welcome!
Тhank you for your book!
It helped me a lot.
Thanks, Andriy!
Great! Thanks so much!
You're welcome!
nice explaination
Does aws keyspace let you know how much clusters is being running for that table? 4:33
Nope, this is all hidden from you. You can sneakily find out the number of partitions in your DynamoDB table by examining DynamoDB streams, but it shouldn't really help you much.
Project to find number of partitions here: github.com/zaccharles/dynamodb-table-partitions
@@alexbdebrie no, I'm actually talking about aws Apache keyspace - 4:33
Is it visible.
@@RahulAhire Ahh gotcha. No, I don't think so.
Hey in ua-cam.com/video/ErPrf74RUDY/v-deo.html you say "remove partitions". Does DynamoDB actually remove partitions?
Good catch! They don't really tell us (we don't need to know!), but I believe DynamoDB doesn't actually remove partitions after they're created.
That said, because we don't need to know, they could change that in the future if needed.