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

  • Home
  • SEARCH
  • 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 8798831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:10:53+00:00 2026-06-14T00:10:53+00:00

I write php aplication with mysql support. Idea is based on form fields containing

  • 0

I write php aplication with mysql support. Idea is based on form fields containing characteristics, that can be added and deleted from website template. Through form fields i insert values of created characteristics, and can be of all types: checkboxes, radio groups, selects, text …etc, and some selects can be chained. That explanation was just for getting wider picture.

My database design contain three tables:

FIRST containing items content – products;

SECOND containing values of characteristics – charact_values;

THIRD must contain id’s of first and second table, per row, that linking that two table values.

So then I now values ​​that belong to each product.

I don’t want duplicate values, i only want link them in third table. I don’t now how many characteristics user will add to product and with that shema it is possible.

My fear is what will happen when user put 5 000 products and each product will have about 100 characteristics, that will be about 500 000 rows in third table.

Is it to much for third table? Maybe exist some other database design I can use for that funcionality. I can’t figure out another shema that will not produce some huge amount of rows in some table.

  • 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-14T00:10:54+00:00Added an answer on June 14, 2026 at 12:10 am

    Your schema is the correct and normalized way of implementing your scenario in my opinion. And even though the third table may run into tens of thousands of records, you are not going to query them all at once.

    Example. You might display the products list, then only upon selecting the product, you will be querying the characteristics. So despite the large database, I dont think it will cause any problems.

    Go ahead with this schema itself.

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

Sidebar

Related Questions

I want to write a php code that can search for multiple keywords separated
Can someone write a PHP script that reproduces the functionality of this linux shell
I have a PHP/5.2 driven application that uses transactions under MySQL/5.1 so it can
I'm about to write server side aplication(most probably it would be PHP but JAVA
How can I write php codes independent from XHTML codes?
I want to write a php script that keeps the apache_log file open and
I have a php/mysql application. There are users who have folders. Folders can only
I'm trying to write a application that sends user's geolocation to MYSQL database every
I'm writing a PHP-based web application that should work with multiple database systems. The
We have a php/mysql based application which has slightly different instances for a number

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.