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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:01:22+00:00 2026-06-13T08:01:22+00:00

I am developing a recommendation engine, so that requires storing lots of data and

  • 0

I am developing a recommendation engine, so that requires storing lots of data and keeping track of every move made by the user. So, basically my website is a product search engine and will be having sets of queries as users data. Following are some examples of the data set

Example

User1 :
1. Apple Ipod tOuch
2. Samsung Galaxy Ace Plus
3. HArry Porter 

User2 :
1. Product1
2. Product2

and so on.

One way(naive) could be having an ID associated with each of my users and then having a string corresponding to that ID which will be of this form(strings separated with ~) :-

Unique ID - Apple IPod TOuch~Samsung Galaxy Ace Plus~HArry Porter 

But this method won’t be efficient considering how I would be playing with those data later on.

Can any one come up with a very efficient model fairly easily implementable in mysql ?

Comment if I am unclear in asking my doubt.

  • 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-13T08:01:24+00:00Added an answer on June 13, 2026 at 8:01 am

    The classic design is a table for users :

    Users(user_id,user_name,reg_date....)
    

    table for products :

    Products(prod_id,prod_name,prod_cost....)
    

    table with mapping user–>products :

    User_products(user_id,prod_id ....)
    

    Example :

    Users :

    user_id|user_name
    1200   | User1 
    7856   | User2
    

    Products :

    prod_id | prod_name
    12900   | Apple Ipod tOuch
    45673   | Samsung Galaxy Ace Plus
    99876   | HArry Porter 
    34590   | Product1
    56283   | Product2
    

    User_products :

    user_id | prod_id
    1200    |12900
    1200    |45673
    1200    |99876
    7856    |34590
    7856    |56283
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a Food Recommendation Engine. We have a lot of photos which
Iam developing one application.In that iam placing the radio buttons(uiimageview) on table view and
iam developing one application.In that i need to get the music files from the
I'm thinking of developing a tool that runs under Visual Studio 2010 and am
Iam developing a php facebook application that will display the facebook score of the
I'm developing a web app that will show the location of a project in
I am currently developing an android application which requires two devices to communicate over
I am developing a simple recommendation system and trying to do some computation like
I'm developing mobile part of website and I need recommendation for a module and
I work with a data logging system in car racing. I am developing an

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.