Back

Is denormalization recommended with Appwrite DBs?

  • 0
  • Databases
saricden
3 Jun, 2023, 05:44

When structuring data in Appwrite DBs, is it generally recommended to plan for normalization or denormalization?

As in, should I have a single source of truth for all entities and effectively join data when querying? Or should I add redundant copies of data where it makes sense and just reference the duplicated data in my UI?

TL;DR
User is asking for clarification on whether denormalization is recommended when working with Appwrite DBs. They refer to a documentation link and ask if the join capabilities are documented. Another user confirms that Appwrite uses a SQL database with join capabilities. The general consensus is that the decision to normalize or denormalize depends on individual needs and that Appwrite is a versatile tool. The user is seeking advice on whether to plan for normalization or denormalization when structuring data in Appwrite DBs, and asks for recommendations on whether to have a single source of truth and join data when querying or to duplicate data where necessary and reference it in
Bouahaza
3 Jun, 2023, 05:49

Only depends of your needs, appwrite is just a tool

Bouahaza
3 Jun, 2023, 05:51

Appwrite use a SQL database, with join capacibilities. you can work with or without

Drake
3 Jun, 2023, 05:58

I usually normalize

saricden
3 Jun, 2023, 06:16

Okay thanks @Bouahaza and @Steven, I was writing it in a normalized fashion to begin with so this is good news 🙂

saricden
3 Jun, 2023, 06:16

@Bouahaza do you happen to know if the join capabilities are documented anywhere?

Bouahaza
3 Jun, 2023, 06:23
saricden
3 Jun, 2023, 06:35

Oh wow thank you @Bouahaza! Not sure how I missed this 😅

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more