NoSQL Database

Articles, posts and news about NoSQL database.

Please feel free to browse and read about Data Migration in the articles on this page. Take a peak at the upcoming events, see some use cases, read industry reports or listen to our most recent podcasts.

Get started for free Download or Cloud Hosting

Open for extension, closed for modification as an architectural pattern

The Open Closed Principle is part of the SOLID principles. It isn’t new or anything exciting, but I wanted to discuss this today in the context of using that not as a code artifact but as part of your overall architecture. The Open Closed Principle states that the code should be opened for extension, but […]
A history of saving you money

A Database that Saves Money

And capitalizes on new features on the cloud without harassing you every six months with higher prices. The elite can afford to solve any problem by simply throwing money at it. What about the rest of us who have to carefully measure the expense against the benefit for every decision? What about startups and small […]

Architecture foresight: Put a queue on that

If you build any kind of non trivial system, one of the absolutely best things that you can do for the long term health of your system is to move all significant processing to sit behind a queue.  That is one of those things that is going to pay massive dividends down the line as […]

Responsibility Abdication: The path to create flexible business system

I had a long conversation with a dev team that are building a non trivial business system. One of the chief problems that they have to deal with is that the “business logic” that they are asked to work with is extremely mutable, situation dependent and changes frequently. That isn’t a new compliant, of course, […]

Working with business events and RavenDB

About twenty years ago, I remember looking at a typical business application and most of the code was basically about massaging data to and from the database. The situation has changed, but even the most sophisticated of applications today spent an inordinate amount of time just shuffling data around. It may require lot less code, […]

Postmortem: Accidentally quadratic indexing output

Tracking down a customer’s performance issue, we eventually tracked things down to a single document modification that would grind the entire server to a halt. The actual save was working fine, it was when indexing time came around that we saw the issues. The entire system would spike in terms of memory usage and disk […]

Postmortem: The case of the pauses, the fault and the GC

A RavenDB customer called us with an interesting issue. Every now and then, RavenDB will stop process any and all requests. These pauses could last for as long as two to three minutes and occurred on a fairly random, if frequent, basis. A team of anteaters was dispatched to look at the issue (best bug […]

RavenDB 5.2: Rolling index deployment

RavenDB 5.2 introduce a new concept for deploying indexes: Rolling indexes deployment. Typically, deploying an index to production on a loaded database is something that you do only with great trepidation. There are many horror stories about creating a new index and resulting in the entire system locking down for a long period of time. […]

NoSQL Database - What is it?

What is NoSQL?

NoSQL Databases were first developed in the early 21st century to pick up where relational databases, first developed in the 1960s, left off. They are known for being non-relational, open-source, distributed, and scalable.

They meet the next level of data load and the new form modern-day data takes. NoSQL database models like the document model enable greater flexibility and shorter release cycles with their schemaless features.

Most NoSQL databases are not fully transactional (ACID), but some like MongoDB and RavenDB are ACID across multiple-documents and throughout the entire database cluster, enabling business applications to use the latest database technology.

Developers use NoSQL databases to process a massive amount of data at high levels of performance. NoSQL database systems go beyond the legacy SQL tabular models to take in unstructured data, which compromise 80% of all data processed.

NoSQL is the go-to database for big data and real-time applications, offering real-time data replication, clustering, and 99.999% availability.

RavenDB Cloud Hosted DBaaS

Spin up a remote database cluster in minutes with RavenDB Cloud.

Try out a Hosted Database as a Service (DBaaS) that covers all of your back-end chores, freeing you up to focus primarily on what to do with your data. Using RavenDB Cloud, you can enjoy all of the features RavenDB offers without having to jump through hoops to get everything set up and secure.

  • Try RavenDB on Amazon Web Services (AWS), Microsoft Azure, or Google Cloud Platform (GCP).
  • Enjoy automatic instance setup, maintenance, and upgrades.
  • Protect your data in transit and at rest with top-level encryption. Maintain your data at all times with automatic failover, data backups, and X.509 authentication and authorization.
  • RavenDB Cloud is available in free, development, and production level tiers. You also can create your own custom plan.
  • Expand your database cluster to every corner of the world. Keep latency low and performance high to all of your users in any location.

Get Started

Advantages of NoSQL

Compared to relational database systems, NoSQL databases can process more data in less time. Document Databases can take in data whole, where SQL versions have to break it down into tables. For each query, they have to put tables back together before serving up the results.

In a distributed database system, this can raise complexity to red levels. A NoSQL database that can take in all the necessary data in a document form keeps things simple, enabling you to scale out and expand your database cluster while managing complexity effectively.

  • A Schemaless database shortens your release cycle, keeping your application truly agile.
  • A NoSQL model lets you get started a lot sooner.
  • A distributed database allows for data replication and assignment failover of backup tasks to reserve nodes, resulting in higher availability.
  • NoSQL databases are ideal for processing unstructured data at high speeds.
  • NoSQL databases are great for business applications that strive to serve the customer as quickly as possible.

NoSQL Database Models

Today’s data comes in different shapes, forms, even platforms. NoSQL databases are for the age of mobile devices and the cloud, where data can come from any location on earth. Newer data models have adapted for these changes to make managing today’s data a snap and to seize the opportunities of today’s information landscape a lot simpler.

Document Database: This model is the most popular among developers. A document database stores hierarchical JSON data. Unlike relational models, there is no impudence mismatch, so this type of NoSQL database maps very well to programming languages’ object graphs. A document database has all the information you need in one place. Adding an index to your documents, along with skipping the step of putting together tables gives you lightning speed database performance.

Graph API: Organize large volumes of data into meaningful patterns to peek into the future. You can track the relationships all your data points have with one another to process, aggregate, and index this new data set in real-time. Graph API has been used effectively for trading algorithms in hedge funds, health care applications, fraud detection, and more.

Key-value store: A type of NoSQL database that stores data in simple key-value pairs. Used for handling lots of small, continuous, and possibly unpredictable reads and writes. Some support more sophisticated data structures, including lists, sets, counters, and maps.

Distributed counters: This data model employs multiple servers to handle the aggregate load. A good NoSQL Database will add numbers without having to lock your system each time it increments. The document itself doesn’t lock because the counter is not technically part of the document. This increases performance by enabling your system to take in all the increments at once.

Achieving ACID Transactions with a NoSQL Database

To achieve the high-performance NoSQL databases aim for, most NoSQL Databases will sacrifice ACID data consistency. Among those that do include fully-transactional features, it comes at a considerable cost to performance.

Some NoSQL databases can give you everything to take in new kinds of data at unprecedented loads while maintaining ACID guarantees and high performance. RavenDB is among the few NoSQL database solutions to offer ACID both across multiple documents and throughout your database cluster while continuing to deliver the high-speed NoSQL databases promise.

Get the best of all worlds for business applications:

  • high performance
  • easy scalability
  • high-availability
  • reduced latency
  • the highest standards of data integrity

RavenDB vs. MongoDB: Which is Better for You?

Over the past ten years, both RavenDB and MongoDB have evolved in their own direction, offering a unique set of answers to today’s data challenges.

See how the top two solutions in the NoSQL Database sector square up to decide which one is right for your next project.

Find out:

  • How well each database prevents data loss
  • How fast is each database
  • How each database protects your data from hacking
  • How easy it is to set up and to use each database
  • How effectively each database replicates and distributes your data
  • How well each database works with current or legacy SQL solutions
  • How many third-party applications each database requires
  • Indexing, caching, aggregating, concurrency, and more…

Grab Yours Now!