Wouldn't it make sense if mongodb did this automatically?
--
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.
On 06/11/2010 08:56 AM, Idris wrote:
> On this page: http://www.mongodb.org/display/DOCS/Optimizing+Storage+of+Small+Objects
> it suggests "using small field names" as a method of optimizing
> storage (but not for indexes).
Try using "smaz" with your own code to see what kind of results you get
and report back here. (You need to alter keys on updates and retrieval
as well as indices etc.)
Note that the wiki doc is about really small objects where the key names
are a non-trivial portion of the overall encoded object representation.
Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkwWj6gACgkQmOOfHg372QQOpwCg3k8mc0641kyML47Xic0/aFFk
kgEAnRWB3GcjX9P6R3BYT5ckOV4PcqV3
=PLJU
-----END PGP SIGNATURE-----