开发者

Highly scalable db schema for recurring events

Which is the best way to design a db schema in which store hundreds of thousand events, with recurrencies, and that will support milions of query asking which events will occur in a range of dates?

I mean, designing the tables to describe the model should be not difficult, but doing that in such a way that the huge amount of da开发者_Go百科ta can be searched quickly... well, I have no idea of how to do that.


Why not build your datamodel as you normally would (3NF-5NF) and add another layer that is better suited to handle searching like Lucene or Solr?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜