• Beach Tweets

  • Archives

  • RSS PEER 1 Blog

    • An error has occurred; the feed is probably down. Try again later.

MongoDB User Tips for Beginners

MongoDB logoFound on ReadWrite Hack – thanks! Senko Rašić has created a list of tips for MongoDB beginners called MongoDB Gotchas for the Unaware User.Here are some of his helpful tips when working with MongoDB:

  • Use the 64-bit version. The 32-bit version is limited to about 2.5GB of data, and you can’t switch to the 64-bit version after install without starting all over.
  • Have a slave DB on another machine. If your MongoDB instance crashes, you’ll want to recover it from a slave on another server because the data from the master could be hopelessly corrupted.
  • Secure it. MongoDB doesn’t use any authentication by default. If you don’t want the entire world to be able to tamper with your database, you need to setup some security rules.
  • Always use getLastError. “Unless you need lightning speed, it pays to wait a little to be sure the database is ok with your changes, and that there were no errors modifying the data,” Rašić wrote.

Read More

ServerBeach now offers MongoDB Dedicated Servers



Do you want to create database-driven sites but don’t need the overhead of a traditional relational database? At ServerBeach, we’re big fans of companies who are moving technology forward. That’s why we’re proud to be the first hosting company to offer custom-configured MongoDB dedicated servers.

“MongoDB is designed for problems without heavy transactional requirements that aren’t easily solved by traditional RDBMSs, including problems which require the database to span many servers.” – Wikipedia
MongoDB (from “humongous”) is a scalable, high-performance, open source, dynamic-schema, document-oriented database. Rather than traditional RDBMS, MongoDB uses a JSON-like data schema, providing document-oriented storage that is easy to code to. By removing the more esoteric features of RDBMS, you gain performance without sacrificing scalability and flexibility.

MongoDB Features
• Document-oriented storage (the power and flexibility of JSON-like data schemas)
• Dynamic queries
• Full index support, including secondary indexes, inner-objects, embedded arrays, geospatial
• Query profiling
• Fast, in-place updates
• Efficient storage of binary data large objects (e.g. photos and videos)
• Replication and fail-over support
• Auto-sharding for cloud-level scalability
• MapReduce for complex aggregation

MongoDB 1.4.0 (64-bit) is available on the following OSes:
• CentOS 5 64-bit
• Debian Lenny 64-bit
• RedHat EL 5 64-bit
• Windows 2003 64-bit (LOE)
• Windows 2008 64-bit (LOE)

To get a MongoDB dedicated server today – select your server of choice in our shopping cart and choose MongoDB when you get to the database portion of the shopping cart.

For full details on MongoDB and how it can help you, check out the official project website. For in-depth support on MongoDB, take a look at our Cloud Excelerator partner 10Gen.

Follow

Get every new post delivered to your Inbox.