Help with GeoSpatial Mongodb capabilities

7 views
Skip to first unread message

venky88

unread,
Feb 12, 2012, 11:58:24 AM2/12/12
to mongodb-user
Experts - Pls, advise me.

Here is my situation I have a huge GeoSpatial data that constantly
gets updated and is always temporary.
I dont want any of GeoSpatial data to be persisted and want all
queries to happen on what is held in
memory. Storing this data in disk and quering against is slow and
redundant in my case. I want to use mongo
mainly because of its geoqueries feature which is important in our
application, but I dont like it fetching
against disk each time.

Hence I would like to know how to fit mongo given the architecture
requirements we are having.

thanks



Max Schireson

unread,
Feb 12, 2012, 1:03:14 PM2/12/12
to mongod...@googlegroups.com

MongoDB uses memory mapped files and generally relies on the operating system to determine when to swap data on and off disk. (This oversimplifies a bit; journals are periodacally synced to disk for example).

If your data set is small enough to fit in RAM, you should for the most part see the system operating at memory speeds. If your data is truly transient and you are not concerned with recovery in case of a crash for example, you could run with journalling disabled, that will reduce disk I/O.

You might do some testing that way and see how much disk I/O you see...

-- Max

--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.

Raghu Katti

unread,
Feb 12, 2012, 1:15:16 PM2/12/12
to mongod...@googlegroups.com
Appreciate it I will try with what you mentioned 

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages