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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:00:33+00:00 2026-05-26T20:00:33+00:00

I just installed mongodb from Synaptic (Using ubuntu 11.10). I’m following this tutorial: http://howtonode.org/express-mongodb

  • 0

I just installed mongodb from Synaptic (Using ubuntu 11.10).

I’m following this tutorial: http://howtonode.org/express-mongodb
to build a simple blog using node.js, express.js and mongodb.

I reached the part where you can actually store post in the mongodb.
It worked for me but I’m not sure how. I didn’t even start the mongodb (just installed it).
The second thing that has me puzzled is: where is that data going?

Does anyone have any clue?

EDIT:

I think I found where is the data going:

var/lib/

Where are some files that are apparently written in binary code.

  • 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-05-26T20:00:34+00:00Added an answer on May 26, 2026 at 8:00 pm

    MongoDB stores all your data as BSON within the directory you found. The internal Mongo processes handle the sharding of the data when necessary following your specific setup, accomodating you if you have setup distribution across several servers.

    One of the most confusing things about coming over to Mongo from RDBMS is the nature of collections vs tables.

    http://www.mongodb.org/display/DOCS/MongoDB%2C+CouchDB%2C+MySQL+Compare+Grid

    Of Note: A Mongo collection does not need to have any schema designed, it is assumed that the client application will validate and enforce any particular scheme. The way the data comes in and is serialized is the way it will be saved in its BSON representation. It is entirely possible to have missing keys and and totally different docs in the same collection, which is why robust data checking in your app becomes so important.

    Mongo collections also do not need to be saved. There isn’t anything that approximates the CREATE TABLE syntax from MySQL, since there’s no schema there isn’t much such a command would have to describe. Your collection will be created with the first document inserted, and every document inserted will be given a unique hashed ‘_id’ key (assuming you don’t define this key in your objects using your own methodology.’

    Here’s a helpful resource with the basic commands.
    http://cheat.errtheblog.com/s/mongo

    Mongo, and NoSQL in general, is a developer lead movement trying to bridge the gap between the object-oriented application layer and the persistency layer in an app, which would traditionally have been represented by an RDBMS. Developers just would much rather work within one paradigm, and OOP has become predominant especially in the web environment.

    If you’re coming over from LAMP and used PhpMyAdmin in the past, I really must suggest RockMongo. This tool makes it so much easier to observe and understand the actual structure of the BSON documents stored in your server.

    http://code.google.com/p/rock-php/wiki/rock_mongo

    Best of luck!

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

Sidebar

Related Questions

By following the official instructions http://www.mongodb.org/display/DOCS/Quickstart+Unix and this post http://blog.phy5ics.com/2010/03/27/installing-mongodb-on-mediatemple-dv/ I've just about managed
I just installed Emacs on my mac from here: http://emacsformacosx.com/ and that got rid
I'm running node.js on OSX and have just installed mongodb using command npm install
just installed new ubuntu vm to test around with node installed things in this
I have just installed MongoDB in my machine (Windows 7) and installed node-mongodb-native using
Just installed the SDK and ADK. while updating, it gives the following error: unexpected
I just installed Ubuntu 8.04 and Eclipse. I made a very simple Hello World
I just installed 'Visual C# 2008 Express Edition' and 'Visual Web Developer 2008 Express
I just installed the first release candidate of Python 3.0 and got this error
Just installed 2010 Express Edition and I cannot see Preprocess t4 template as an

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.