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 8793735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:09:40+00:00 2026-06-13T23:09:40+00:00

I am new to NoSQL world and thinking of replacing my MS Sql Server

  • 0

I am new to NoSQL world and thinking of replacing my MS Sql Server database to MongoDB. My application (written in .Net C#) interacts with IP Cameras and records meta data for each image coming from Camera, into MS SQL Database. On average, i am inserting about 86400 records per day for each camera and in current database schema I have created separate table for separate Camera images, e.g. Camera_1_Images, Camera_2_Images … Camera_N_Images. Single image record consists of simple metadata info. like AutoId, FilePath, CreationDate. To add more details to this, my application initiates separate process (.exe) for each camera and each process inserts 1 record per second in relative table in database.

I need suggestions from (MongoDB) experts on following concerns:

  1. to tell if MongoDB is good for holding such data, which eventually will be queried against time ranges (e.g. retrieve all images of a particular camera between a specified hour)? Any suggestions about Document Based schema design for my case?

  2. What should be the specs of server (CPU, RAM, Disk)? any suggestion?

  3. Should i consider Sharding/Replication for this scenario (while considering the performance in writing to synch replica sets)?

  4. Are there any benefits of using multiple databases on same machine, so that one database will hold images of current day for all cameras, and the second one will be used to archive previous day images? I am thinking on this with respect to splitting reads and writes on separate databases. Because all read requests might be served by second database and writes to first one. Will it benefit or not? If yes then any idea to ensure that both databases are synced always.

Any other suggestions are welcomed please.

  • 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-13T23:09:41+00:00Added an answer on June 13, 2026 at 11:09 pm

    I am myself a starter on NoSQL databases. So I am answering this at the expense of potential down votes but it will be a great learning experience for me.

    Before trying my best to answer your questions I should say that if MS
    SQL Server is working well for you then stick with it. You have not
    mentioned any valid reason WHY you want to use MongoDB except the fact
    that you learnt about it as a document oriented db. Moreover I see
    that you have almost the same set of meta-data you are capturing for
    each camera i.e. your schema is dynamic.

    • to tell if MongoDB is good for holding such data, which eventually will be queried against time ranges (e.g. retrieve all images of a particular camera between a specified hour)? Any suggestions about Document Based schema design for my case?

    MongoDB being a document oriented db, is good at querying within an aggregate (you call it document). Since you already are storing each camera’s data in its own table, in MongoDB you will have a separate collection created for each camera. Here is how you perform date range queries.

    • What should be the specs of server (CPU, RAM, Disk)? any suggestion?

    All NoSQL data bases are built to scale-out on commodity hardware. But by the way you have asked the question, you might be thinking of improving performance by scaling-up. You can start with a reasonable machine and as the load increases, you can keep adding more servers (scaling-out). You no need to plan and buy a high end server.

    • Should i consider Sharding/Replication for this scenario (while considering the performance in writing to synch replica sets)?

    MongoDB locks the entire db for a single write (but yields for other operations) and is meant for systems which have more reads than writes. So this depends upon how your system is. There are multiple ways of sharding and should be domain specific. A generic answer is not possible. However some examples can be given like sharding by geography, by branches etc.

    Also read A plain english introduction to CAP Theorem

    Updated with answer to the comment on sharding

    According to their documentation, You should consider deploying a sharded cluster, if:

    • your data set approaches or exceeds the storage capacity of a single node in your system.
    • the size of your system’s active working set will soon exceed the capacity of the maximum amount of RAM for your system.
    • your system has a large amount of write activity, a single MongoDB instance cannot write data fast enough to meet demand, and all other
      approaches have not reduced contention.

    So based upon the last point yes. The auto-sharding feature is built to scale writes. In that case, you have a write lock per shard, not per database. But mine is a theoretical answer. I suggest you take consultation from 10gen.com group.

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

Sidebar

Related Questions

I have an application where I'd like to use a NoSQL database, but I
I am developing an application in Rails 3 using a nosql database. I am
I'm fairly new to Apache Cassandra and nosql in general. In SQL I can
I am fairly new to the noSQL world, and although I understand the benefits
I'm trying to access a large Oracle database through SQL Server using OPENROWSET in
First of all im relatively new to the Database world, Im graduating with my
We're setting up a new project and I was wondering if hstore (nosql/key=>value) would
Hi all and thanks in advance. I am new to the NoSQL game but
So there's this new cool thing, these NoSQL-databases. And so there's my data: Rows
My team is currently building a new SaaS application for our company ( Amilia.com

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.