Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

MongoDB

304 sites Security covered Drupal 11 · not 10
View on drupal.org

This module suite allows Drupal to use MongoDB as its primary database instead of a traditional SQL database. It offers improved performance for logging and key-value storage, simplifying development for projects that require MongoDB.

The MongoDB module suite for Drupal 10 stores data in MongoDB instead of the default Drupal SQL database.

For Drupal 11/10 site administrators

It means a faster Drupal and better logs, without a line of code.

  • it provides a more usable user interface to access logs, and a faster database logging than core, without the complexities associated with external logging mechanisms like the Elastic Stack (BELK).
  • it provides a faster implementation of the Drupal Key-Value store and Queue API
  • overall, it provides a simple way to reduce the load on your SQL database server, without needing complex configuration or having to write a single line of code.

For Drupal 11/10 project developers

It means easy project development using MongoDB.

  • A Drupal-standard API to access the features in the MongoDB library using database-style aliases, providing Symfony factory services to access MongoDB instances even on separate clusters from these aliases, just like standard Drupal SQL databases.
  • A PSR-3 implementation, available both as a Drupal standard backend for the centralized Drupal 10 logger system, and as a dedicated MongoDB-only logger for special situations
  • A MongoDB backend for the Drupal key-value API.
  • Helpers around the compatibility breaks in the MongoDB PHP library.
  • Troubleshooting and utility commands for both Drush 12 and 11, usable as examples to build bespoke commands.
  • A complete redacted documentation details each module, and includes an example test implementation to show how to write Unit, Kernel, and Functional tests that will set up and clear MongoDB databases automatically, just like those built for SQL code.

For Drupal 11/10 contributors

It also makes contribution easy.

  • Built on the current standard mongodb PHP extension and mongodb/mongodb high-level PHP library. No more Drupalisms: just dependency-injected Symfony code like one would find in a pure Symfony project.
  • Continuous integration built on Drupal GitlabCI allows testing of merge requests.
  • Live support is available on Drupal Slack #mongodb channel.

Which release should I use?

  • 8.x-2.1 for production or 8.x-2.x dev for leading edge
  • Drupal 10.x: 8.x-2.1 for production
  • Drupal 7.x : 7.x-1.0-rc3. But Drupal 7 practical EOL was on 2023-08-01, even if it still has some support until 2025-02-05

Full support Drupal on MongoDB

The 3.x branch is for the full support version of Drupal on MongoDB. No other database needed. EVerything is stored on MongoDB. The database driver is currently expirimental. It is for Drupal 11. The instructions on how to get installed with DDEV can be found in the added README.md file.

Unsupported versions

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
10
Tracked since
Oct 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 10
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
3.1.6 Stable 11 May 3, 2025
3.1.5 Stable 11 Mar 21, 2025
3.1.4 Stable 11 Mar 12, 2025
3.1.3 Stable 11 Feb 28, 2025
3.1.2 Stable 11 Feb 12, 2025
3.1.1 Stable 11 Feb 6, 2025
3.1.0 Stable Feb 4, 2025
3.0.0 Stable 11 Jan 29, 2025
3.0.0-alpha5 Pre-release 11 Jan 9, 2025
3.0.0-alpha3 Pre-release 11 Oct 17, 2024