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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:40:59+00:00 2026-05-26T12:40:59+00:00

I have been thinking about the best way to store product / customer /

  • 0

I have been thinking about the best way to store product / customer / and transaction information in a database. We’re talking hundreds of thousands of records here…

I have a very clear idea about how the data would be represented on paper and it basically looks like a tree…

Car -> VW -> Golf -> 1.6 litre 5 door

The issue here is that each product in the tree needs different attributes. For example if the product was a boat it doesn’t need a “wheel size” attribute but would need “propeller size”. Anyway you get the point!

I’m very new to NoSQL have worked only with MySQL in the past but it appears that it may be the best solution here. I like the idea of not have a schema.

Does anyone have any experience building such systems? What did you go for? Any particular variant?

  • 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-26T12:40:59+00:00Added an answer on May 26, 2026 at 12:40 pm

    If you require a relational structure (e.g. a tree structure) then a relational database model is what you should use. NoSQL is best used for situations where you just want to store data with no regard for its structure.

    If you want to have an arbitrary set of optional information, you could stick with a relational database and use a BLOB column to store the optional data, perhaps as a JSON string. This would probably work best for several reasons:

    1. You can retain your ability to easily query for a set of products, e.g. SELECT * FROM products WHERE catid = 123.
    2. You can still easily filter your results using the common properties of your products.
    3. You can also link your transaction records back to products.
    4. In cases where you want to filter by an optional column, you can perform a LIKE to only return rows that contain that particular column name in the JSON blob, then manually filter the results in your code.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been thinking about the best way to calculate the amount of on-hand
I have been thinking about a way solve a problem I have and I'm
I have been thinking about the optimal way to create an XML file using
I have been thinking about a neat way of load balancing and one thing
I am looking for some input on something I have been thinking about for
I'm working on a toy game engine. I have never been thinking about coordinate
Here's something I've been thinking about: suppose you have a number, x, that can
I have been thinking of a way to export data from SQL to Excel.
I've been thinking about the access web-based applications have to an OS. I'm curious:
Well I have been thinking about this for a while, ever since I was

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.