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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:36:57+00:00 2026-05-23T10:36:57+00:00

I am using PHP and MyISAM, currently I have a profile page for users

  • 0

I am using PHP and MyISAM, currently I have a profile page for users and am unsure of how I should exactly lay out the tables.

I have tables for users (and every bit of their profile including a pair of MEDIUMTEXT fields for their long description or custom stylesheet,) a table for friends (userid+friendid) and of course a table for comments that may have been placed on their page.

Would it be wise to separate the profile/extra user data from the user table and purely use it for checking with the other tables?

I am unsure if many/or some long fields in each of the rows would be inappropriate if I were just checking for their friends to display or something on another page.

  • 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-23T10:36:57+00:00Added an answer on May 23, 2026 at 10:36 am

    Short answer is maybe. Seperating the tables will save space because if the field is not used space will not be allocated. Space probably wont be a concern ( depending on the server and userbase ) but joining tables can slow performance down but again this depends on the userbase and the server. I think primary keys indexes are stored in memory so lookups shouldnt be affected by the number of columns / size of a row.

    speed / performance … denormalize

    space normalize

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

Sidebar

Related Questions

using php and mysql I have two tables, a users table and a profiles
Using PHP and mySQL. I have 4 total tables, AgencyInfo, TypeCodes, PrimarySta and MutualAid.
Using PHP and MySQL, I have a forum system I'm trying to build. What
Using Php I would like to extract the current Url of a page including
Using PHP I need I will have an array of tag name => tag
Using PHP, can I post content to a Facebook page when I add something
I'm setting up a database using phpMyAdmin. I have two tables ( foo and
I have two MySQL (MyISAM) tables: Posts: PostID(primary key), post_text, post_date, etc. Comments: CommentID(primary
Using PHP and MySQL I'm trying to get all the distinct values out the
Using PHP, If I have a model (a class) where I various queries, whatever

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.