星型架构设计帮助
我一直在思考如何围绕当前的 Web 应用程序构建星型架构(与 stackoverflow 类似的结构)。我有:
- 调查有很多问题
- 问题有很多票
问题有很多评论
- 问题、投票和评论均附加到用户和日期
我一直困惑于如何创建星型模式,以便我可以存储和回答问题,即问题今天收到了多少票?今天问题b 有哪些评论以及由谁发表的?
任何想法都会有帮助!
提前致谢
I'm stuck on how I would put together a star schema around my current web application (similar structure as stackoverflow). I have:
- Surveys have many Questions
- Questions have many Votes
Questions have many Comments
- Questions, Votes and Comments are all attached to a User and Date
I'm stuck on how I can create a star schema so that I can store and answer questions i.e. How many votes did question a receive today? What were the comments did question b have today and by who?
Any ideas would be helpful!
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
另一个选项...
another option...