如何存储有关产品的信息? [英] How do I store information about products?

查看:93
本文介绍了如何存储有关产品的信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于我的项目需求,我需要存储以下信息:

1.产品(包括描述和类别)

2.产品之间的关系(例如, product1与product2同时购买。



我尝试过:



我无法在RDBMS和NoSQL(MongoDB)之间进行选择。

For my project needs I need to store the following information:
1. Products (with description and categories)
2. The relationships between products (for example, product1 is bought with the product2 simultaneously).

What I have tried:

And I can't select between RDBMS and NoSQL(MongoDB).

推荐答案

您甚至可以考虑使用像OrientDB这样的面向图形的数据库。但无论如何,您应该关注的不仅仅是您需要存储的数据,而是关注使用场景。搜索将使用什么标准?你会建立什么报告?

我需要更多细节来回答这个问题。但是,您可以在的良好响应中阅读有关数据库类型选择的内容。所以

还有一篇文章可以帮助您在不同的搜索方案中进行高水平的数据库设计。
You could even consider using the graph-oriented database like OrientDB. But anyway, you should focus on not the data you need to store only, but on the usage scenarios also. What criteria would be used by search? What reports will you build?
I need more details to answer the question. However, you may read about database type selection in the good response at SO.
And there is an article that could help you in a high level of database design for different search scenarios.


这篇关于如何存储有关产品的信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆