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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:22:27+00:00 2026-05-10T21:22:27+00:00

I am implementing a tagging system on my website similar to one stackoverflow uses,

  • 0

I am implementing a tagging system on my website similar to one stackoverflow uses, my question is – what is the most effective way to store tags so that they may be searched and filtered?

My idea is this:

Table: Items Columns: Item_ID, Title, Content  Table: Tags Columns: Title, Item_ID 

Is this too slow? Is there a better way?

  • 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-10T21:22:27+00:00Added an answer on May 10, 2026 at 9:22 pm

    One item is going to have many tags. And one tag will belong to many items. This implies to me that you’ll quite possibly need an intermediary table to overcome the many-to-many obstacle.

    Something like:

    Table: Items
    Columns: Item_ID, Item_Title, Content

    Table: Tags
    Columns: Tag_ID, Tag_Title

    Table: Items_Tags
    Columns: Item_ID, Tag_ID

    It might be that your web app is very very popular and need de-normalizing down the road, but it’s pointless muddying the waters too early.

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

Sidebar

Related Questions

I am implementing a tagging system for a website that uses JDO . I
I'm implementing a tagging system for a website. There are multiple tags per object
Possible Duplicate: How do you recommend implementing tags or tagging I have a website
Duplicate: How do you recommend implementing tags or tagging What's a efficient, fast and
Is there a jQuery library or any leads on implementing that photo tagging like
So I am currently implementing a new tagging system for on top of an
When implementing a needle search of a haystack in an object-oriented way, you essentially
When implementing Quicksort, one of the things you have to do is to choose
How did stackOverFlow, excuse me if it wasn't the first implementation of this system.
while implementing hhtps, is there a way not to show the message Do you

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.