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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:54:06+00:00 2026-06-10T19:54:06+00:00

I have an existing database that is structured as follows: user user_profile user_permissions user_statistics

  • 0

I have an existing database that is structured as follows:

user
user_profile
user_permissions
user_statistics

Each table has a unique column which is used to join each table together, as follows:

SELECT *
FROM user
INNER JOIN user_profile ON user.user_id = user_profile.user_profile_id
INNER JOIN user_permissions ON user.user_id = user_permissions.user_permissions_id
INNER JOIN user_statistics ON user.user_id = user_statistics.user_statistics_id
WHERE user_id = 1

Is there anything wrong with doing things this way or is it better practice to create one table with lots of columns, so that no joins are required?

  • 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-10T19:54:08+00:00Added an answer on June 10, 2026 at 7:54 pm

    This is a classic database design; it’s called “normalization“, and is generally considered best practice.

    There are reasons to de-normalize a database – performance is the classic. However, that typically comes at the expense of maintainability and consistency. It usually only makes sense at the very extremes of data size – the schema you describe should scale to huge numbers of records without the joins becoming a problem.

    I’m also guessing that several of the tables linked to “user” have more than one record for a given user – “statistics” typically has lots of rows for a given user; permissions may also have one row for each user’s permission. Modelling that in a single big table would be horrible.

    Some designers like to create separate tables for data that is logically separate. So, your design may include a “user_profile” table with a single row per user because the designer felt that this is logically separate data from “user” – it changes under different business circumstances, for instance. This is mostly a matter of style, in my view.

    Joins do not make your database slower in this case – the whole point of a relational database is to be very efficient at managing this kind of scenario (“relational” refers to the fact that data can be related).

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

Sidebar

Related Questions

I have an existing database based on SQLiteOpenHelper that has several versions and code
I have an existing database(myDatabse) that I created with Microsoft Sql Managenent studio and
I have an existing database with tables which each have 4 partitions (there are
I have an existing database in mysql. One of my tables has discontinuous ids.
I have to use an existing Database that I can not change that uses
I have an application that reads the structure of an existing PostgreSQL 9.1 database,
I have an existing database containing some pictures in blob fields. For a web
I have an existing database with users and administrators in different tables. I am
I have an existing mongo database where all documents in a collection have a
I have a copy of an existing database with existing records. when i was

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.