Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-8519

document use of collections with cbworkloadgen

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • Cheshire-Cat
    • Cheshire-Cat
    • tools
    • None
    • 1

    Description

      Referring to this doc:

      https://docs.couchbase.com/server/7.0/cli/cbtools/cbworkloadgen.html

      It does not describe how to generate docs on collections.  Looking at source code it is possible with -c.  However you have to specify collection id in hex.  For example:

      cbworkloadgen -n localhost:8091 -b travel-sample -c 0x18 -u admin -p password -i 1000 -j -r 1

      You can get the collection id with this command:

      /opt/couchbase/bin/cbstats -u admin -p password -b travel-sample localhost:11210 collections | grep ":name:"

      Attachments

        Issue Links

          For Gerrit Dashboard: DOC-8519
          # Subject Branch Project Status CR V

          Activity

            People

              carlos.gonzalez Carlos Gonzalez Betancort (Inactive)
              hitesh.walia Hitesh Walia
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty