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

Lightning Talk: Use a Single Table Design today! #51

Open
yucheng11122017 opened this issue Mar 7, 2024 · 1 comment
Open

Lightning Talk: Use a Single Table Design today! #51

yucheng11122017 opened this issue Mar 7, 2024 · 1 comment

Comments

@yucheng11122017
Copy link
Contributor

yucheng11122017 commented Mar 7, 2024

Topic: single table design
PUNCH: As my ex taught me if your relationship is bad, its better to be single. I choose to believe that this advice isn’t copium, and it applies in many cases, not just in my love life. If you are designing a database, this advise can apply to you as well! Introducing single table design!
Singleton?
Flame Elton?
WIIFY: The main reason for using a single table in DynamoDB is to retrieve multiple, heterogenous item types using a single request.
Agenda:

  • What is single table design
  • Example of single table design in DynamoDB
  • Why you SHOULDN’T use single table design
    Key points:
  • Reduce query time and computing cost
    o One query for multiple different items
  • Single table design is fast for your SPECIFIC access queries
    o It isn’t flexible
  • If ACID principles is very important and storage cost is very expensive
  • Rather than a single table design, maybe its about using LESS tables instead?
    Call to action/big idea: Before designing your next database, think about the database needs and consider if you really need these tables?
    Impact:
    • Know: That single table design helps to reduce query time and cost
    • Believe: That single table design will improve user experience and save cost
    • Do: Learn about single table design and consider using it!

Lightning talk - Single table design.pptx

@yucheng11122017
Copy link
Contributor Author

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

No branches or pull requests

1 participant