Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-24200

Need "truncate table" / "truncate bucket" equivalent for Couchbase

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 5.0.0
    • None

    Description

      Customers are using Couchbase for nightly processing of data. These records need to be periodically cleaned up on a nightly basis.

      Using delete from bucket is non sustainable for 2 million records and query, max parallelism tests we have been able to get 25 minutes down to 6-7 minutes (but thats a function of the object size, index etc.)

      This will not work for 20 million documents.

      Customers also want to use FLUSH but that is an ADMIN only REST API functionality.

       

      We need to support "truncate bucket" to be able to cater to these usecases.

      Indexing today currently does handle "Reset to Zero" on flush and does not require the DCP mutations to be streamed. 

       

      We need Query and RBAC support for this.

      Keshav Murthy [~don]

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              keshav Keshav Murthy
              asif.kazi Asif Kazi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty