Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 156737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:22:48+00:00 2026-05-11T10:22:48+00:00

I am designing a product database and I have a design question. There are

  • 0

I am designing a product database and I have a design question.

There are several different categories of products, say books, video games, home electronics, and pet supplies. There are some things in common, say the manufacturer, and price, while other things are unique to each category, say power consumption.

The individual products will be updated periodically, the price could be volatile, while the manufacturer will remain fairly constant (I suppose a manufacturer could be bought by another company and the brand name absorbed into the purchasing company). Updates could happen on an hourly basis. Requests for each product could be made frequently (depends on the number of clients, so unbounded).

I am much more concerned with the speed of accessing the data for the clients than I am for the speed at which I cam perform updates to the data.

Which makes more sense and why?:

  • one table for all categories with columns allowed to be null (for example pet supplies would have null for the power consumption)
  • one table for each category with columns repeated (for example price would be in each table)
  • one table for the common features (price, manufacturer, etc…), and one table for the unique properties
  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T10:22:48+00:00Added an answer on May 11, 2026 at 10:22 am

    I’d say one table for the common features, and another with unique properties.

    You could simulate something like the decorator pattern, where the extra properties are just tags associated with the products.

    You will probably want groupings of tags, to make it easier to add new products.

    With the above configuration, you’d probably find it easier to expand with new tags, and adding/removing tags as classifications change.


    I could see the following issues with the other approaches.

    If everything was in one table you’d have to know everything up front and constantly change the table as new field were thought up and leave many fields as NULL.

    With the table per category, you’d end up having to create many different queries for each type of product and moving forward, it might get hard to maintain.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm designing a product database where products can have very different attributes depending on
I am designing a laboratory database. Several products, samples, etc are identified by a
I'm designing a multilingual e-commerce site. Products have different properties. Some properties are different
I am designing a relational database of products where there are products that are
I am designing an RESTful API for our product and have encountered the need
I am new to designing my own database. My project is orders/products/inventory type data,
I have a asp.net project and Its in designing phase. Its about products and
I have a problem in designing a database for a business. I have some
So, not having come from a database design background, I've been tasked with designing
I am designing a database for storing products and some properties belonging to them.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.