I would like to know document logs deleted using TTL indexing. I tried using db.setProfileLevel(2) and searched for db.system.profile.find({op:"remove"}).pretty() but did not answer anything.
Could you tell me the location of documents (kind of IDs , etc.) that are automatically deleted using the TTL MongoDB function?
source share