mongodb

Setup MongoDB on Windows Server 2008

Hi, I'm new to mongoDB and like it so far, I work local for my dev where I have mongo running as service on Win7. I have it allso running as a service on my VPS on Win server 2008. When I am on the server it works fine but I don't know hos to set it up so I can acces it from outside of the server? Can't find any good documentation on th...

python + mongo issue

Hello, I'm playing around with mongodb (documentation isn't very complete): tmpQuery = collection.find({"title_full": "kdsljfklsadfklj"}) print tmpQuery[0]['title_full'] That just echo's "no such item for Cursor instance", what is an if statement to determine if the variable tmpQuery has a valid result set and not empty? ...

pymongo (python+mongodb) drop collection/gridfs?

Hello, Anyone know the commands to drop a collection of documents and also drop a gridfs database? ...

Storing millions of log files - Approx 25 TB a year

Hi Folks, As part of my work we get approx 25TB worth log files annually, currently it been saved over an NFS based filesystem. Some are archived as in zipped/tar.gz while others reside in pure text format. I am looking for alternatives of using an NFS based system. I looked at MongoDB, CouchDB. The fact that they are document oriented...

NoSQL engines that support dynamic queries?

What "NoSQL" database engines support dynamic / advanced queries in a similar fashion to MongoDB (http://www.mongodb.org/display/DOCS/Advanced+Queries) ? Specifically interested in options that support ad-hoc querying from a shell or within client languages. ...

Document Database Design: Multi-level categories (MongoDB specifically)

I'm trying to figure out the proper way to think about this problem for a document based data storage system. I've got the simple case of a two-tier category system, where there are Industries and Industry Groups (think Plumbing and Home Services). My first thought was the document would be Industry Group and it would have Industries i...

PHP / Mongo: query won't work if inside a function;

The following php throws up this error... Fatal error: Call to a member function findOne() on a non-object in J:\xampplite\htdocs\Produkshunator\home.back.php on line 27 Here's the php... <?php /*********************************************** * * Make Connection * ********************************************************...

PHP / Mongo: how do you update nested data?

I've been playing around with Mongo for about a week now and I still can't work out how to modify nested arrays in Mongo with php. So here is a sample document... array ( '_id' => new MongoId("4cb30f560107ae9813000000"), 'email' => '[email protected]', 'firstname' => 'Maurice', 'lastname' => 'Campobasso', 'password' =...

MongoDB and C# datasource

I am using MongoDB with C# driver. I managed to add/delete/update data from collections, but I dont know how to display a collection in the gridview. If it's not possible, how can I display collections as tables in asp.net? ...

Mongo Design question with Rails/Mongoid for a bill tracking app

I'm writing a quick app for a user to track their daily bills (for money tracking purposes). I want the user to be able to define their own categories that a bill can be applicable for. I'm trying however to decide the best way to model this and also validate categories as unique. My initial thought was this: class User include Mon...

Grails Secure Login Design Questions along with Library & DB Choice

Hello, Am planning on building user administration module using Grails and the Spring Security Core plug-in for Grails. Also, am considering using MongoDB for the database system. Question(s): (1) What trade offs and benefits will my app gain by choosing MongoDB over MySQL or HSQLDB? (2) Is it super easy to way to implement (meaning...

N+1 problem in mongoid

I'm using Mongoid to work with MongoDB in Rails. What I'm looking for is something like active record include. Currently I failed to find such method in mongoid orm. Anybody know how to solve this problem in mongoid or perhaps in mongomapper, which is known as another good alternative. ...

Good database for large table with simple key access

I have a few large databases, greater than 100 million records. They consist of the following: A unique key. An integer value, not unique, but used for sorting the query. A VARCHAR(200). I have them in a mysql isam table now. My thought was, hey, I'll just set up a covering index on the data, and it should pull out reasonably fast....

Restrict embedded docs in query with Mongoid

I'm writing a quick little money tracking rails app for fun that allows a user to enter their daily bills. I have a user embeds_many :bills. I'm using Devise for auth. Here's my question. When I fetch current_user each time from my session_id, it's going to pull in my whole user and its embedded docs correct? So as bills add up, my ...

activerecord query as map reduce in mongodb

I would like to know how I can reproduce the following query as map reduce or any juice function from MongoMapper or MongoID: Event.find(:all,:select=>'events.company,SUM(price) as total_price', :group=> 'company',:order => ' total_price DESC, created_at DESC') ...

Is it possible to use MongoDB with flash/flex?

Hi, I would like to know if it is possible to connect MongoDB with Flash/Flex? If yes, kindly advise how could this be done? Thank you. ...

document oriented databases

Possible Duplicate: What's the Attraction of Schemaless Database Systems? What are the advantages of document oriented databases over relational databases? Where should i use document oriented databases? ...

cannot edit any value in this datagridview

i have a datagridview bould on a list from Mongodb. however i cannot edit the grid. I dunno why its like that? `var connstr = "Server=localhost:27017"; mongo = new Mongo(connstr); mongo.Connect(); IMongoDatabase TorontoTrader = mongo["TorontoTrader"]; IMongoCollection TradingStrategyCollection = Toronto...

MongoDB console javascript can't be used in application?

At the MongoDB developer zone you can learn all the MongoDB console javascript API to use for document CRUD operations. I wonder, do all these javascript functions only work on the MongoDB console? I learn all that just to use it for administrative tasks or can I use them in my javascript application (node) as well? ...

Document vs key-value databases?

Possible Duplicate: Difference between Document-based and Key/Value-based databases? What are the pros and cons of document (mongodb/couchdb) and key-value (riak/redis) databases? Aren't document databases more powerful than simple key-value databases? Why would I use for example riak over couchdb that seems more powerful? ...