Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-10146

Create a sample workgen workload to populate the database

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • Storage Engines - 2022-11-14, Storage Engines - 2022-11-28

      In PM-2712, we will provide an initial sample workload for use with this framework. We will use workgen to execute the workload.

      The populate phase is intended to fill the database with a specified amount of data. In our sample workload, we will create 1000 collections and insert random keys and values in the size range of 1 byte to 100,000 bytes until the data size exceeds our target database size of 100 GB.

      It may be necessary to add new functionality to workgen to meet the workload specifications. If so, the work should be described in WT-10149, to be completed in parallel with this one.

      This ticket is done when the following tasks are complete:

      • Create a workgen script to populate the database according to the above requirements
      • Create a corresponding workload interface file that implements the populate function
      • Add the files to the testy repository in the folder workloads/<workload_name>, where <workload_name> matches the name of the workload interface file.

        1. populate.py
          3 kB
          Etienne Petrel

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: