Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8901157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:16:41+00:00 2026-06-15T01:16:41+00:00

We are currently considering moving from logging to files, to logging to a NoSQL

  • 0

We are currently considering moving from logging to files, to logging to a NoSQL database. Another team in our company is starting to use HBase but that looked quite complex for what we would like to do. I have been looking at MongoDB but i would like some suggestions.

Currently we have hundreds of servers in farms for different applications. Whenever we hear of a problem from one of the applications there is a long process the retrieve the logs from app ops and then a long process to sift through them all to find the problem. We are looking at just moving all of our logging into a central place and building a web UI around it so we can access and query the logs more easily.

Which NoSQL database would be a good fit for storing and querying applications log?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T01:16:42+00:00Added an answer on June 15, 2026 at 1:16 am

    I’ve seen a lot of companies are using MongoDB to store application logs. Its schema-freeness is really flexible for application logs, at which schema tends to change time-to-time. Also, its Capped Collection feature is really useful because it automatically purges old data to keep the data fit into the memory.

    People aggregates the logs by normal Grouping or MapReduce, but it’s not that fast. Especially MongoDB’s MapReduce only works within a single thread and its JavaScript execution overhead is huge. New aggregation framework could solve this problem.

    When you use MongoDB for logging, the concern is the lock contention by high write throughputs. Although MongoDB’s insert is fire-and-forget style by default, calling a lot of insert() causes a heavy write lock contention. This could affect the application performance, and prevent the readers to aggregate / filter the stored logs.

    One solution might be using the log collector framework such as Fluentd, Logstash, or Flume. These daemons are supposed to be launched at every application nodes, and takes the logs from app processes.

    They buffer the logs and asynchronously writes out the data to other systems like MongoDB / PostgreSQL / etc. The write is done by batches, so it’s a lot more efficient than writing directly from apps. This link describes how to put the logs into Fluentd from PHP program.

    • Fluentd: Data Import from PHP Applications

    Here’s some tutorials about MongoDB + Fluentd.

    • Fluentd + MongoDB: The Easiest Way to Log Your Data Effectively on 10gen blog
    • Fluentd: Store Apache Logs into MongoDB

    MongoDB’s problem is it starts slowing down when the data volume exceeds the memory size. At that point, you can switch to other solutions like Apache Hadoop or Cassandra. If you have a distributed logging layer mentioned above, you can switch to another solution as you grow. This tutorial describes how to store logs to HDFS by using Fluentd.

    • Fluentd: Fluentd + HDFS: Instant Big Data Collection
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are currently considering migrating our database code in php to Doctrine2. It seems
I am currently considering moving from a svn/bugzilla system using scmbug to integrate the
I am currently using a MySQL database and am considering moving to Postgres in
I am currently moving a product from SQL Server to Oracle. I am semi-familiar
We are currently considering the option of migrating from svn to git for all
I'm starting new Google App Engine application and currently considering two frameworks: Flask and
We are currently using TFS 2008 with the Scrum for Team System template from
We are currently considering to move away from CVSNT, very probably to Subversion (because
We are currently considering a change from Postgres to CouchDB for a usage monitoring
I'm considering moving from TFS source control to Mercurial with HgScc. How do I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.