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

  • Home
  • SEARCH
  • 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 7877597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:25:08+00:00 2026-06-03T03:25:08+00:00

I have an application using a MongoDB database and am about to add custom

  • 0

I have an application using a MongoDB database and am about to add custom analytics. Is there a reason to use a separate database for the analytics or am I better off to build it in the application database?

  • 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-03T03:25:09+00:00Added an answer on June 3, 2026 at 3:25 am

    Here are the reasons I can think of:

    • Name collisions between production collections and analytics collections
    • You need a different replica set configuration for analytics
    • You need a different sharding configuration for analytics
    • You want different physical media for some data (production data on fast disks, analytics on slow disk, for example)
    • Starting in Mongo 2.2, the “global write lock” will be a per-database lock, so different databases will isolate analytics traffic from production traffic a bit more.

    Unless something on this list applies to you, then you don’t need to split them out. Also, it’s much easier to move a collection across DBs in MongoDB than an RDBMS (as you don’t have foreign keys to cause trouble), so IMO it’s a relatively easy decision to delay.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a PHP application using an Oracle XE database. Whenever I add a
I have an application where I'm using mongodb as a database for storing record
I have a java-application using JDBC for database interaction. I want to do a
I have built my application using node.js, mongodb, redis, express, socket.io and planning to
I'm in the process of choosing database for my application. I have been using
We have an application using the IBM Informix driver. Whenever we try to open
I have an application using the Google Maps javscript API and the Infobox plug-in
I have an application using LINQ-to-SQL with SQL Server CE 4. I know that
I have made an application using Java/Hibernate/MySQL, but whenever I try running it, it
I have this web application using Spring Web Flow framework. In my main page

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.