Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamoDB: Properly loading data from tables using single-table design #232

Open
Tracked by #231
amotl opened this issue Aug 19, 2024 · 2 comments
Open
Tracked by #231

DynamoDB: Properly loading data from tables using single-table design #232

amotl opened this issue Aug 19, 2024 · 2 comments

Comments

@amotl
Copy link
Member

amotl commented Aug 19, 2024

About

Loading data from DynamoDB into CrateDB may need special treatment compared with other databases, because DynamoDB's relational design paradigms are special.

Details

According to the blog post Single-table vs. multi-table design in Amazon DynamoDB:

For people learning about Amazon DynamoDB, the idea of single-table design is one of the most mind-bending concepts out there. Rather than the relational notion of having a table per entity, DynamoDB tables often include multiple different entities in a single table.

DynamoDB isn’t a relational database and you shouldn’t use it like one. The learning curve feels steep, but there are really only three or four key concepts you need to learn, and everything else flows from that. Once you understand these basics, you’ll be able to make more informed decisions about how many tables to use in your application.

Thoughts

Based on reports by others

every row has a unique schema based on the "type" of the record

we think it might make sense to dispatch records to different target tables in CrateDB instead, based on this information.

@amotl amotl mentioned this issue Aug 19, 2024
10 tasks
@amotl amotl changed the title DynamoDB: Properly handling single-table design DynamoDB: Properly loading data from tables using single-table design Aug 19, 2024
@amotl
Copy link
Member Author

amotl commented Aug 20, 2024

It might make sense to dispatch records to different target tables in CrateDB, based on the "type" of a record in DynamoDB.

@wierdvanderhaar, @hlcianfagna, @hammerhead, @zolbatar: Based on your needs, do you think we need this feature better sooner than later?

@amotl
Copy link
Member Author

amotl commented Aug 21, 2024

Status: This is currently not needed too much immediately. Interested people plan to run the data transfer procedure differently, or intend to keep all data in one table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant