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

  • Home
  • SEARCH
  • 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 8247497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:52:00+00:00 2026-06-07T22:52:00+00:00

I have a table components that has the general information for the pieces that

  • 0

I have a table components that has the general information for the pieces that can be used in a machine (reference, manufacture…). But I can have a very different types of pieces, for example, valves, engines… And so on. So each type of pieces has different type of specifications data.

For example, valve has information about its diameter, but the engine has information about his power. It has no sense to have information about the power of a valve.

I am thinking in two options. First, to have a unique table with all the data for the specifications, so I have many fields ValveDiamter, ValveMaterial…. EnginePower, EngineType, etc. In this case, the problem is that for a piece, I would have all the fields with null value less the few fields with the information of the type of pice.

Other solution is to have one table of specifications for each type of piece. So I would have a table ValveSpecificaionts, EngineSpecifications, etc. This makes me to have a lot tables, but only with the information that I need according to the type of piece.

I wonder what will be the best option. Any other alternative?

  • 1 1 Answer
  • 0 Views
  • 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. Editorial Team
    Editorial Team
    2026-06-07T22:52:02+00:00Added an answer on June 7, 2026 at 10:52 pm

    It sounds like you’re deciding between 1 table with many fields (where most fields will be unused for any one record), and many tables with a few fields (where most fields will be almost always used). Here’s a few questions which may help:

    1. Will the “Valve” data be used by different queries than the “Engine” data or will they all be used at the same time? If you use the many tables approach, then you’ll have to constantly string those tables together in union queries which could be a hassle.
    2. How much data will be stored and how often will it be accessed? For speed purposes, you may be better off with a smaller number of tables.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a database that stores components in a component table. There is a
I have table with around 70 000 rows. There is 6000 rows that i
I have table in which I am inserting rows for employee but next time
I have table of data that is sorted as follows: Item | Sample |
I have table View with grouped style with three sections. Get information from dictionary
I'm creating android app that has table layout for the main activity, and that
Say I have a RadGrid that shows info on what a customer has ordered.
I am trying to have a table view list a number of objects that
Background: I have extensive experience in web applications, but I have very little or
I have a gradient that has rounded corners that I an using for a

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.