Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1044

Document process to update expireAfterSeconds (TTL collections)

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • mongodb-2.4
    • Affects Version/s: None
    • Component/s: manual
    • Labels:

      SERVER-6700 adds ability to modify the expiration time on a TTL index using collMod:

      db.runCommand( {"collMod" : "foo" , "index" : { "keyPattern" : {a : 1} , "expireAfterSeconds" : 3600 } } )

            Assignee:
            Unassigned Unassigned
            Reporter:
            epc Ed Costello
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              11 years, 8 weeks, 1 day ago