Questions tagged [mongohq]

Compose (formerly MongoHQ) is a Database-as-a-Service (DBaaS) platform for securely hosting and managing databases instances including MongoDB.

Compose (formerly MongoHQ) is a Database-as-a-Service (DBaaS) platform for securely hosting and managing databases instances including MongoDB.

More information:

148 questions
0
votes
1 answer

Integrating MongoHQ with Mongoengine and Flask

I have a simple application using Flask and MongoEngine and I'm having some trouble maintaining the full functionality on Heroku. I'm not having any errors thrown, but when I actually try to access it, my application throws a 500 error if I try to…
Slater Victoroff
  • 21,376
  • 21
  • 85
  • 144
0
votes
2 answers

MongoDB Index better performance on find method?

I have a question regarding indexing in MongoDB. (I use the mongo-java-driver) If the database contains many objects all of them have exact the same structure and the only differences are lets say, the value of some ID field and a name. Will…
noBillSide
  • 528
  • 5
  • 18
0
votes
1 answer

Meteor on Heroku With MongoHQ Mongodb doesn't read data

I've taken the example Leaderboard meteor app (http://meteor.com/examples/leaderboard) and used Demeteorizer to convert it to a simple Node.JS app (https://github.com/onmodulus/demeteorizer). I'm trying to use an external mongohq for my database,…
navinpai
  • 955
  • 11
  • 33
0
votes
0 answers

Rails on Heroku and Mongohq error

I am getting this error from heroku logs. My app is using mongoid and MongoHQ database. It runs fine on my local machine. 2013-05-29T12:08:04.219051+00:00 app[web.1]: Rendered posts/index.html.erb within layouts/application…
harinsa
  • 3,176
  • 5
  • 33
  • 53
0
votes
1 answer

MongoHQ Rest API date query

I have a collection that is full of documents like this: { _id: ObjectId("51715ade030112703e4c1fd3"), gas_price: 78, elec_usage: 110, elec_price: 88, gas_usage: 146, user: "test_user", timestamp:…
Rog
  • 17,070
  • 9
  • 50
  • 73
0
votes
1 answer

MongoCollection::aggregate() is undefined in Heroku PHP using MongoHQ

I'm getting the following error when using MongoDB's aggregate() function in a PHP code. This code perfectly works on my local setup which is running MongoDB 2.2.3 PHP Fatal error: Call to undefined method MongoCollection::aggregate() in…
coder9
  • 1,571
  • 1
  • 27
  • 52
0
votes
2 answers

How do i monitor my mongodb server in ruby?

I am currently getting some awkward timeouts in my web application, and they are all pointing to my in my mongo database (I'm using MongoHQ). These timeouts happen during really quiet times (ie. 1 request per minute) and will happen for a few…
Kamilski81
  • 14,409
  • 33
  • 108
  • 161
0
votes
1 answer

how to mass update a mongohq database with bcrypt pwds

I'd like to bcrypt all user pwds in a mongohq databse. Is there a way I can execute this update on the database side for a mass update rather than connecting to the db from some application and running the update one by one?
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
0
votes
0 answers

Set replSet without restarting the mongod

Is any way that I can assign the replSet without restarting the mongod? MongoDB Doc says that we should restart the mongo and assign some parameters, but I'm using MongoHQ's service (via Heroku), I can't find the way to set the replSet. How can I do…
waitingkuo
  • 89,478
  • 28
  • 112
  • 118
0
votes
1 answer

Use a MongoHQ db with Meteor on localhost

I wanted to know how to go about getting a MongoHQ db to work on my localhost installation of Meter. i tried using the settings.json method or the MONGO_URL=mongodb://user:pass@xxxx.mongohq.com:10061/xxxx when firing up meteor but both dont…
Moshe
  • 473
  • 1
  • 8
  • 22
0
votes
1 answer

Data model advice for Mongo collection that contains complex objects

we store apple app data in a database (http://www.apple.com/itunes/affiliates/resources/documentation/itunes-enterprise-partner-feed.html). we want to optimize for one type of query: find all apps that meet some criteria. criteria: (1) avg rating of…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
0
votes
1 answer

How to start MongoDB server?

I am having a PHP webservice that is connected with MongoDB server hosted on MongoHQ suddenly i got this exception: exception 'MongoConnectionException' with message 'Operation now in progress' in /****/classes/mongo.db.class.php:8 Stack trace: #0…
0
votes
1 answer

Mongodb / MongoHQ connection from Nodejitsu

I seem to be having trouble connecting to MongoHQ (via MongoSkin) on jitsu. I can connect from localhost though, and all I'm doing is changing my env var and jitsu deploying. It's just strange that it works locally but not deployed. I had talked…
cja
  • 367
  • 1
  • 3
  • 7
0
votes
1 answer

MongoDB: Copy a collection of referenced documents as subdocuments

I made the mistake of designing a scheme so that I have two collections where one has documents which contain a manual reference to the other. I realized now that I should have created it so that the parent collection contained the other collection…
Matthew Lucas
  • 443
  • 1
  • 5
  • 15
0
votes
1 answer

MongoHQ connection error on cloudbees in running application

My application was running perfectly on cloudbees . Suddenly I got MongoHQ connection error . When I restarted my application without making any change in the application , It was running perfectly again . Caused by: java.io.IOException: couldn't…
Ayush Mishra
  • 567
  • 1
  • 7
  • 19
1 2 3
9
10