V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Brutal
V2EX  ›  问与答

简单的读取数据业务采用 MongoDB 还是 MySQL?

  •  
  •   Brutal · Oct 2, 2012 · 3986 views
    This topic created in 4956 days ago, the information mentioned may be changed or developed.
    业务系统中已使用 MySQL,现在犹豫要不要加入 Mongo。

    简单来说,需要有一个程序定时读取数据库中的所有或者部分数据,表可以简化为(Keyword, Clicks)

    然后 Keyword 对应的 Clicks+1 这样的操作。

    没怎么用过 MongoDB,不知道这样的业务用哪个更有优势?

    另外 MongoDB 占内存如何?
    4 replies    1970-01-01 08:00:00 +08:00
    summic
        1
    summic  
       Oct 2, 2012   ❤️ 1
    如无必要,勿增实体
    aveline
        2
    aveline  
       Oct 2, 2012   ❤️ 1
    用 Redis 吧,这种业务用 Redis 最合适。
    DeepBlue
        3
    DeepBlue  
       Oct 2, 2012   ❤️ 1
    LS+1,但要预估业务内存使用量,虽然可以用分布式。。
    Brutal
        4
    Brutal  
    OP
       Oct 2, 2012
    准备用 Redis 了。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   968 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 95ms · UTC 19:51 · PVG 03:51 · LAX 12:51 · JFK 15:51
    ♥ Do have faith in what you're doing.