D
D
Dmitry Kayumov2022-02-02 14:37:50
Database design
Dmitry Kayumov, 2022-02-02 14:37:50

What is the best way to organize a product database?

There is a catalog of 600 products, products are divided into groups. The question is, to make a lot of plates for each group of goods or to write down 600 types of goods in one table?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael, 2022-02-02
@TosterDmitry

Certainly in one table.
Remember - homogeneous data should never be scattered into several plates (with the exception of sharding / partitioning, but you are still far from this topic). If you need to "colorize" data by groups, types, purpose, etc. way - this is done with the help of data attributes in the table, not by dividing the data into several tables.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question