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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:26:32+00:00 2026-06-15T05:26:32+00:00

I built an application from the ground up on INNODB due to it’s ACID

  • 0

I built an application from the ground up on INNODB due to it’s ACID functionality. However, I have hit a bit of a road block. I have a products table and the categories for each product are separated by a delimiter. In total there are around 1800 unique categories and each product is associated with about 3-4 at a time. I have about 300,000 rows of unique products.

I tried doing this by the book and normalized my categories by creating a separate table for them and associated them with my products using a many to many relationship. However, the problem is that the products table itself is around 300,000 rows strong and add on to that a many to many categories association table with about 900,000 rows and we have a monster! It is next to impossible getting reasonable speeds for joins between the two tables….

What would you make of denormalizing a little in this case by storing the categories in their raw format in their own TEXT field in the products table. To filter through these products based on categories I could use fulltextsearch?
What are the pros and cons of such an approach?

By the way I am on a shared server, so I can’t increase the buffer size or utilize memory management to really make use of InnoDB

Solved If I could I would upvote everyone here who mocked and scoffed at my false illusions about how going by the book (normalizing) seemed to have cost me speed. In truth it’s given me consistency and with a few indexes tweaked here and there I am getting lightning fast speeds. Thanks everyone.

  • 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-15T05:26:33+00:00Added an answer on June 15, 2026 at 5:26 am

    Your subject suggests you are considering using MyISAM instead of InnoDB, but then your question asks about the value of denormalizing.

    See my answer to Is storing a delimited list in a database column really that bad?

    Denormalizing can help if you always need to know the categories for a given product. If you need to know the products for a given category, it’ll be much worse — or else you need to store a redundant list of products in each row of the categories table. Good luck keeping them in sync.

    Joining a 300k table to a 900k table should be easy and efficient, if you have the right indexes.

    You should learn to optimize queries with EXPLAIN.

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

Sidebar

Related Questions

I have built an open-source application from the source code. Unfortunately, the original executable
I have an application which is built from command line (ANT) using J2ME Polish.
I have an application that will accept URLs from the built in web browser
I have built an asp.net application from which I would like to post blog
We have an SOA based project which has been built from the ground up
I've built a Java application which executes correctly from my IDE (Netbeans). I have
For learnings purposes I am trying to build an SingleView application from the ground
I've built an iPhone application using the parsing code from the TopSongs sample iPhone
I am writing an iPhone application that needs to record audio from the built-in
The built-in emulator from the WP7 Tools doesn't have the Bing App installed, and

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.