私は現在、たくさんのアイテムを保持するデータベースを開発するつもりですが、カテゴリごとに1000から10,000のアイテムがあるので、どちらのデザインが良いのか疑問に思いました。
データベース設計#1
Login Details
--------------
-userID
-Username
-Password
- ETC....
User Settings
--------------
-userID
-Setting 1
-Setting 2
-Setting 3
- ETC....
Product Category
-----------------
-ID
-Name
ALL Items
-----------
-ItemID
-Name
-Description
-Price
-Info
- ETC....
-parentCategoryID
また
データベース設計#2
Login Details
--------------
-userID
-Username
-Password
- ETC....
User Settings
--------------
-userID
-Setting 1
-Setting 2
-Setting 3
- ETC....
Product Category
-----------------
-ID
-Name
-tableName
Electronics
-------------
-ItemID
-Name
-Desc.
-Price
- ETC....
Food
-------------
-ItemID
-Name
-Desc.
-Price
- ETC....
Books
-------------
-ItemID
-Name
-Desc.
-Price
- ETC....
Apparel
-------------
-ItemID
-Name
-Desc.
-Price
- ETC....
Others
-------------
-ItemID
-Name
-Desc.
-Price
- ETC....