Details
-
Question
-
Resolution: Done
-
Major - P3
-
None
-
2.4.9
-
None
Description
Is there any way to check collection index is set with TTL like expireAfterSeconds?
The db.mycoll.stats() does not seem to tell that.
> db.alliancej.ensureIndex(
{created: 1},
{expireAfterSeconds: 300})
> db.alliancej.stats()
{
"ns" : "map_cat.alliancej",
"count" : 1,
"size" : 96,
"avgObjSize" : 96,
"storageSize" : 8192,
"numExtents" : 1,
"nindexes" : 3,
"lastExtentSize" : 8192,
"paddingFactor" : 1,
"systemFlags" : 0,
"userFlags" : 1,
"totalIndexSize" : 24528,
"indexSizes" :
,
"ok" : 1
}