-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment:
*Location*: http://docs.mongodb.org/manual/core/capped-collections/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20100101 Firefox/20.0
*Referrer*: http://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDMQFjAA&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Fcore%2Fcapped-collections&ei=KMGXUb2RNMvkqQGho4D4Cw&usg=AFQjCNEleh1Hs4Oy-Z04SUqPGfv9BiRAnA&sig2=I-qc6cbMigCoePRN0dnwvg&bvm=bv.46751780,d.aWM
*Screen Resolution*: 2560 x 1440
*repo*: docs
*source*: core/capped-collections
*Location*: http://docs.mongodb.org/manual/core/capped-collections/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20100101 Firefox/20.0 *Referrer*: http://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDMQFjAA&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Fcore%2Fcapped-collections&ei=KMGXUb2RNMvkqQGho4D4Cw&usg=AFQjCNEleh1Hs4Oy-Z04SUqPGfv9BiRAnA&sig2=I-qc6cbMigCoePRN0dnwvg&bvm=bv.46751780,d.aWM *Screen Resolution*: 2560 x 1440 *repo*: docs *source*: core/capped-collections
So reading: http://php.net/manual/en/mongodb.createcollection.php
It looks like I can set a maximum number of documents, or a total size for the capped collection. I was looking for more information and came here. But I don't see any reference to a max document count on this page.
I also feel like notes on how documents can't be updated past their original size should be called out more prominently, it's a big limitation. Preferably with a link to the page that would tell me how to pad documents, or otherwise tweak that.