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

Best practices for deletes

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • manual
    • None

    Description

      Deletes incur high write lock. This will likely change in 2.6 in some ways. But dropping a collection/database will still be extremely fast. This ticket is to create a docs page to cover this.

      • Drop collections/database
      • TTL (if time period is known) to spread out deletes (docs all expiring at the same time isn't good)
      • Throttle deletes
        • pause between batches
        • w:majority to throttle

      Attachments

        Activity

          People

            Unassigned Unassigned
            charlie.page@10gen.com Charlie Page
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 33 weeks, 1 day ago