Author - Akira Kurogane

MongoDB Compatibility in AWS DocumentDB

Recently I noticed the site Jan 2019 results download link) are a subset of the mongo javascript shell five dbaas_*.yml test suites used are sensible-for-DBAAS subsets of the same aggregation, decimal, and competition-comparison page at mongodb.com.
But the scripts are not 1-to-1 tests of features. There are more than twice as many test scripts as […]

Read more

Don’t Use MongoDB Profiling Level 1

MongoDB Profiling

TLDR: It is not profile level 1 that is the problem; it’s a gotcha with the optional ‘slowms’ argument that causes users to accidentally set verbose logging and fill their disk with log files.
In MongoDB, there are two ways to see, with individual detail, which operations were executed and how long they took.

Profiling. Saves […]

Read more

The Long-Awaited MongoDB 4.2 GA Has Landed

MongoDB 4.2 GA

Editor’s Note: The first version of this post contained a section criticizing what appeared to be a major regression concerning dropDatabase and movePrimary commands. It was found out that it was merely a documentation error in the MongoDB 4.2 release notes, which is now fixed: https://jira.mongodb.org/browse/DOCS-12474. The “(In)Stability” section is now removed.
At Percona we’ve […]

Read more

Network (Transport) Encryption for MongoDB

Encryption for MongoDB

Why do I need Network encryption?
In our previous blog post MongoDB Security vs. Five ‘Bad Guys’ there’s an overview of five main areas of security functions.
Let’s say you’ve enabled #1 and #2 (Authentication, Authorization) and #4 (Storage encryption a.k.a. encryption-at-rest and Auditing) mentioned in the previous blog post. Only authenticated users will be connecting, […]

Read more

MongoDB Security vs. Five ‘Bad Guys’

MongoDB Security

Most any commercially mature DBMS provides the following five ways to secure the data you keep inside it:

Authentication of user connections (== Identity)
Authorization (== DB command permissions) (a.k.a. Role-based access control)
Network Encryption (a.k.a. Transport encryption)
Storage Encryption (a.k.a. Encryption-at-rest)
Auditing (MongoDB Enterprise or Percona Server for MongoDB only)

MongoDB is no exception. All of these have been […]

Read more