Skip to content
This repository was archived by the owner on Aug 23, 2021. It is now read-only.
This repository was archived by the owner on Aug 23, 2021. It is now read-only.

How to set the number of terminals for each work instance? #386

@Eleanor962

Description

@Eleanor962

Hi,

I'm trying to use oltpbench to generate a high-variation workload. Looking at XML files, I find

<!-- The workload -->
    <terminals>2</terminals>
    <works>
        <work>
          <time>60</time>
          <rate>10000</rate>
          <weights>45,43,4,4,4</weights>
        </work>
    </works>

By adding more work entry, I'm able to tune rate and weights as time go by. I'm wondering whether there's anyway to change number of terminals during the execution?
Looks like there would be a warmup at the beginning of execution, so I prefer not calling oltpbenchmark for multiple times.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions