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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:54:19+00:00 2026-05-24T10:54:19+00:00

I have a large database, one of the tables is called Users . There

  • 0

I have a large database, one of the tables is called Users.

There are two kinds of users in the database – basic users, and advanced users. In the users table, there are 29 columns. However, only 12 of these are applicable to the basic users – the other 17 columns are only used for advanced users, and for basic users they all just contain a value of null.

Is this an OK setup? Would it be more efficient to, say, split the two kinds of users into two different tables, or put all the extra fields that advanced users have in a separate table?

  • 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-05-24T10:54:20+00:00Added an answer on May 24, 2026 at 10:54 am

    It’s better to have the right amount of tables – this may be more or less, depending on your needs.

    To your specific case, you should always start with third normal form and only revert to lesser forms when absolutely necessary (such as for performance) and only when you understand the consequences.

    An attribute (column) belongs in a table if it is dependent on the key, the whole key and nothing but the key (so help me, Codd).

    It’s arguable whether your other 17 columns depend on the key in your user table but I would be separating them anyway just for the space saving.

    Have your basic user table with the twelve columns (including a unique key of some sort) and your advanced user table with the other columns, and also that key so you can tie the rows from each together.

    You could go even further and have a one to many relationship if your use case is that users can have any of the 17 attributes independent of each other but that doesn’t seem to be what you’ve described.

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

Sidebar

Related Questions

i have a large mysql database table in which one column contains values ranging
I have a database table with a large number of rows and one numeric
I have a very large database with about 120 Million records in one table.I
We have a large Oracle database with many tables. Is there a way I
I have a very large database (~100Gb) primarily consisting of two tables I want
I am trying to import data from a large database. I have two tables
I have two databases in SQL2k5: one that holds a large amount of static
I have large database table, approximately 5GB, now I wan to getCurrentSnapshot of Database
I have a large database and would like to select table names that have
I have a large database of users (~200,000) that I'm transferring from a ASP.NET

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.