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.
Timestamps are stored as 64 bit values which, on a single mongod, are guaranteed unique. The first 32 bits are a time_t value (seconds since the UTC epoch). The second 32 bits are an incrementing ordinal for operations within a given second.
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