How to show Mongodb's dbs by date? -
i know in mongo shell, can type show dbs see list of databases , sizes. there way show last modified date/time these databases?
if not, there command shows latest executed queries across mongo?
there seems no native way achieve since mongodb not store metadata (i.e. last modified) collections, tables or documents , doesn't keep access or transaction log.
the way around either maintain information manualy (e.g. keep last modfied fild in every document , manually write log documents do).
you keep eye enterprise edition has auditing feature not log things want.
Comments
Post a Comment