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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:00:45+00:00 2026-05-19T14:00:45+00:00

Apologize for the long topic, I didn’t intend for it to be this long,

  • 0

Apologize for the long topic, I didn’t intend for it to be this long, but it’s a pretty simple issue I’ve been having. 🙂

Let’s say you have a simple table called tags that has columns tag_id and tag. The tag_id is simply an auto increment column and the tag is the title of the tag. If I need to add a description field, that would be around 1-2 paragraphs on average (max around 3-4 paragraphs probably), should I simply add a description field to the table or should I create a new table called tag_descriptions and store the descriptions with the tag_id?

I remember reading that it is better to do this because if you do a query that doesn’t select the description, that description field will still slow down mysql. Is this true? I don’t even remember where I read that from, but I’ve been kind of following it for a couple years now… Finally I question if I need to do this, I have a feeling I don’t. You’d also need to inner join whenever you need the description field.

Another question I have is, is it generally bad to create new tables that will only hold very few rows at the max? What if this data doesn’t fit anywhere else?

I have a simple case below which relates to these two questions.

I have three tables content, tags, and content_tags that make up a many to many relationship:

content

  • content_id
  • region (enum column with
    about 6-7 different values and most
    likely won’t grow later on)

tags

  • tag_id
  • tag

content_tags

  • content_id
  • tag_id

I want to store a description around 1-2 paragraphs for each tag, but also for each region. I’m wondering what would be the best way to do this?

Option A:

  • Just add a description column to the
    tags table
  • Create a new table for
    region_descriptions

Option B:

  • Create a new table called
    descriptions with fields: id,
    description, and type
  • The id would be id of the content or
    id of the enum field
  • The type would be whether it is a tag
    description, or region description
    (Would use the enum column for this)

Maybe have a primary key on the id and type?

Option C:

  • Create a new table for tag_descriptions
  • Create a new table for region_descriptions

Option A seems to be a good choice if adding the description column doesn’t slow down mysql select queries that don’t need the description.

Assuming the description column would slow down mysql, option B might be a good choice. It also removes the need for a small table with just 6-7 rows that would hold the region descriptions. Although now that I think of it, would it be slow to connect to this table if originally to get a region description you’d only need to go through very little rows.

Option C would be ideal if the description columns would slow down mysql and if a small table like region descriptions would not matter.

Maybe none of these options are the best, feel free to offer another option. Thanks.

P.S. What would be an ideal column type to use to hold data that usually 1-2 paragraphs, but might be a little more sometimes?

  • 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-19T14:00:46+00:00Added an answer on May 19, 2026 at 2:00 pm

    I don’t think it really matters if you don’t handle thousands of queries per minute. If you are going to have a zillion queries per minute, then I would implement the various options and perform benchmarks for all these options. Based on the results, you can make a decision.

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

Sidebar

Related Questions

No related questions found

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.