Db.createCollection of mongo ()
db.createCollection(, { capped: , ---Fixed collection, joint size,max considered together
autoIndexId: , ---Whether to automatically create an index for the id field
size: , ---bytes
max: })---rows exceeds the limit and is covered cyclically
db.createCollection("log", { capped : true, size : 5242880, max : 5000 } )