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 68949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:29:48+00:00 2026-05-10T19:29:48+00:00

In a database prototype, I have a set of fields (like name, description, status)

  • 0

In a database prototype, I have a set of fields (like name, description, status) that are required in multiple, functionally different tables.

These fields always have the same end user functionality for labeling, display, search, filtering etc. They are not part of a foreign key constraint. How should this be modeled?

I can think of the following variants:

  • Each table gets all these attributes. In this case, how would you name them? The same, in each table, or with a table name prefix (like usrName, prodName)

  • Move them into a table Attributes, add a foreign key to the ‘core’ tables, referencing Attributes.PK

  • As above, but instead of a foreign key, use the Attributes.PK as PK in the respective core table as well.

  • 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. 2026-05-10T19:29:49+00:00Added an answer on May 10, 2026 at 7:29 pm

    it sounds like you might be taking the idea of normalization a bit too far. remember, it’s the idea that you’re reducing redundancy in your data. your example seems to indicate you’re worried about ‘redundancy’ in the meta information of your database design.

    ultimately though, user.name and user.description are functionality different from product.name and product.description, and should be treated as such. for status, it depends what you mean by that. is status just an indicator of a product/user’s record being active or not? if so, then it could make sense to split that to a different table.

    using the info you provided, if ‘active/expired/deleted’ is merely an indication of state within the database, then i’d definitely agree with a table structure like so:

    users            products         status   id               id               id   name             name             name   description      description   status_id        status_id 

    however, if status could conceivably be altered to represent something semantically different (ie, for users, perhaps ‘active/retired/fired’, i’d suggest splitting that up to future proof the design:

    user_status     product_status   id              id   name            name 

    in short, normalize your data, not your database design.

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

Sidebar

Related Questions

Many database systems don't allow comments or descriptions of tables and fields, so how
A database application that I'm currently working on, stores all sorts of settings in
The Database Tuning Advisor is recommending that I create a bunch of statistics in
My database contains three tables called Object_Table , Data_Table and Link_Table . The link
I have a public class I'm defining that will eventually be part of an
I have a page generated by a database. It creates a DIV for each
Database? Page variables? Enum? I'm looking for opinions here.
Which Database table Schema is more efficient and why? Users (UserID, UserName, CompamyId) Companies
What database should a beginner use in the C language? Can I use MySQL?
The database type is PostGres 8.3. If I wrote: SELECT field1, field2, field3, count(*)

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.