mySQL - Should I denormalise?

后端 未结 6 1822
傲寒
傲寒 2021-01-14 07:56

Overview (Sorry its vague - I think if I went into more detail it would just over complicate things)

I have three tables, table one contain

6条回答
  •  南笙
    南笙 (楼主)
    2021-01-14 08:33

    As its a one (Table 1) to many (Table 2), with another one (table 2) to many (Table 3) I would keep the same structure as their seems to be 3 layers there.

    e.g.

    • Table 1
      • Table 2
        • Table 3

    Also, a lot will depend on what additional fields you are storing within those tables.

提交回复
热议问题