Maximum Document Size
MongoDB limits the data size of individual BSON objects/documents. At the time of this writing the limit is 16MB.並不是技術上的限制,只是一個規定而已。
A few notes:
- MongoDB regex queries support UTF-8 in the regex string.
- Currently, sort() on a string uses strcmp: sort order will be reasonable but not fully international correct. Future versions of MongoDB may support full UTF-8 sort ordering.
MongoDB uses the Timestamp datatype as "OpTimes" in the replication oplog's ts field.
this is used for internal increment values. for storing normal dates in MongoDB, you should use java.util.Date time is seconds since epoch inc is an ordinal