Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mongodb]

MongoDB is an open source, document-oriented database designed with both scalability and developer agility in mind. Instead of storing your data in tables and rows as you would with a relational database, in MongoDB you store JSON-like documents with dynamic schemas

0
votes
1answer
11 views

Configure connection to mongodb for querying only

We have an external mongodb instance and we need to query data from it and bring it to Drupal 8 site. On shell this is how we connect (mongodb is running in a different container than drupal) mongo --...
0
votes
1answer
55 views

How to query a map field

I am developing the Spectra Analytics module on drupal.org, and one of the interesting new features in Drupal 8 is the ability to create "map" fields in the database. These fields are simply ...
1
vote
0answers
44 views

Problem when enabling Mongodb

I get an error after enabling mongodb module in Drupal 8. I am using Drupal 8.1.3 and MongoDB 8.x-1.x-dev. I get the following error: Argument 1 passed to Drupal\\mongodb\\MongoCollectionFactory::...
2
votes
0answers
192 views

D8 Use Mongo for custom entity storage

Thanks to Drupal 8 new field storage architecture, we can read everywhere that we can use other database than Sql, for example MongoDb, to store fields data. I have a custom entity with some custom ...
1
vote
0answers
18 views

How can I use native dates using mongodb field storage?

I currently have a setup with mongodb as a backend and couldn't find a way to use native dates with date module. Is there a way to specify a different field schema for mongodb / map the types to the ...
3
votes
2answers
387 views

How do I store large volumes or data points using Drupal ( temperature and humidity points )

I'm trying to use Drupal as a headless API, and so far I'm having good results. One of the things I'm collecting is a Temperature and Humidity data. Thus far I've created an entity that can hold the ...
1
vote
0answers
253 views

how does entity_load and entity_save work with mongodb

Apologies if the question sounds too ambiguous, I am trying to migrate my nodes to MongoDB with the contributed MongoDB package's MongoDB Migrate module and am having trouble in migrating my node type ...
0
votes
1answer
527 views

Password Gets Reset when executing user_save

I have a function that sets a user to confirmed after they login to my site for the first time. However, whenever I run this function and I log out and try to log back in the password doesn't work ...
2
votes
1answer
250 views

Drupal + MongoDB + ApacheSolr [closed]

I'm developing a website which uses MongoDB drupal module, I also need ApacheSolr as search engine, I googled about the Compatibility of ApacheSolr and MondoDB but found nothing. Can I use Mongo as ...
12
votes
1answer
1k views

Does using MongoDB for field storage limit functionality?

I am considering using MongoDB on a site for field storage, and not just moving cache, session, lots, etc., out of my SQL database. The Field Storage API should make this seamless, assuming I am ...
1
vote
1answer
55 views

Collection per content type

I just started experimenting with the mongodb module and its fields storage module on a clean drupal install and it all seems to work fine. But what I noticed is that the content of the 2 custom ...
1
vote
2answers
452 views

Is there a secure mongodb wrapper?

I was looking into MongoDB module, but found it very verbose and overly complicated to perform simple DB operations and this module seems to be tightly integrated with Drupal entities. Is there any ...
0
votes
0answers
140 views

Memcache conflict with mongodb?

I tried to install memcache module and mongodb in Drupal 6. When I enable memcache, the mongodb will not work.
0
votes
1answer
139 views

Drupal 6 with mongodb, any success?

There is a mongodb module which is in develeopment stage. As usually find MySQL as my bottleneck, wondering whether anyone has actually implemented mongodb on D6 with success? And if so what are good ...
5
votes
2answers
745 views

Migrate existing content types to MongoDB

I have a "Company" content type that has about 30 fields that I'd like to migrate over to MongoDB (field_sql_storage to mongodb_field_storage). Would anyone know of a great way to do this? I have ...
3
votes
2answers
2k views

Moving an existing site to Mongo DB

How hard is it to move a live site to mongoDB when its traffic hits high? Is it easy to built a Drupal site on it? How is the learning curve for a developer who is quite comfortable with Drupal7 and ...
6
votes
1answer
4k views

Drupal 7 with Mongodb

I am working on Drupal website, and I heard about the MongoDB module. I installed and enabled it, but I don't understand how it works. How can I switch all my data from MySQL to MongoDB? Is it safe ...
2
votes
2answers
1k views

Where is the best place for cache bins (Drupal 7)? [closed]

At Drupal 7, I have read about various solutions for storing the cache bins and avoiding having them at the standard drupal database. The methods are: - Memcache - Mongodb - APC - Filecache module? ...
4
votes
2answers
4k views

Drupal 7 - databases other than mysql

I hear that Drupal can use not only MySQL but also Postgres, MariaDB, and MongoDB. (Please add here if it can use also some other database.) Which of those databases have a great enough performance ...
6
votes
2answers
1k views

Drupal 7 and MongoDB module howto

Just installed 7.x-1.0-beta1 to Drupal 7rc1. Should I see some new option in the configuration? Where should I set the connection settings? I have no idea how to use this module...