What are good NoSQL and non-relational database solutions for audit/logging database

后端 未结 3 1568
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-31 11:16

What would be suitable database for following? I am especially interested about your experiences with non-relational NoSQL systems. Are they any good for this kind of usage, wh

相关标签:
3条回答
  • 2021-01-31 11:46

    We used Redis to do all our centralized logging for all our app servers at mflow.com. It is very fast, which based on these benchmarks it does about 110000 SETs per second, about 81000 GETs per second. It has a VM implementation (if your dataset exceeds available memory) which swaps out un-frequented values out to disk.

    It's an advanced data-structures server that can store any binary-safe data with native support for strings, lists, sets, sorted sets and hashes. Based on discussions on the mailing list it is heavily used by a lot of people to store analytics.

    0 讨论(0)
  • 2021-01-31 12:04

    The two I've seen used successfully are MongoDB and Cassandra.

    0 讨论(0)
  • 2021-01-31 12:05

    should I go with normal relational database (DB2)?

    Yes, you should! If you just want to store stuff and scan it, you might as well write to a file. Very fast, no overhead! But the minute you want to summarize data over time (last 24h, or between time t and t+1), the more you care about the data as something other than lines of text, no question a proper RDBMS is your friend.

    0 讨论(0)
提交回复
热议问题