Skip to content

Commit

Permalink
updating documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nmalkapuram committed Nov 29, 2024
1 parent b162834 commit 9e9129b
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions website/docs/workloads/sysbench/sysbench-profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,71 @@ There are a lot of moving parts to this workload that allows for both out-of-box
with 10,000 records each can be created, a workload can be run on 5 tables for 1000 records if desired. VC does not support dropping and recreating a new database or table
configuration within the same profile or system.

VC now supports truncating tables and populating the table again. Following are changes to be made in profile.
``` bash
{
"Type": "SysbenchClientExecutor",
"Parameters": {
"Scenario": "TruncateMySQLDatabaseTables",
"Action": "TruncateDatabase",
"DatabaseSystem": "MySQL",
"Benchmark": "OLTP",
"DatabaseName": "$.Parameters.DatabaseName",
"PackageName": "mysql-server",
"Role": "Client"
}
},
{
"Type": "WaitExecutor",
"Parameters": {
"Scenario": "WaitForTimeProvided",
"Duration": "00:01:00"
}
},
{
"Type": "SysbenchClientExecutor",
"Parameters": {
"Scenario": "PopulateMySQLDatabase",
"Action": "PopulateDatabase",
"DatabaseSystem": "MySQL",
"Benchmark": "OLTP",
"DatabaseName": "$.Parameters.DatabaseName",
"DatabaseScenario": "$.Parameters.DatabaseScenario",
"PackageName": "sysbench",
"Threads": "$.Parameters.Threads",
"RecordCount": "$.Parameters.RecordCount",
"TableCount": "$.Parameters.TableCount",
"Role": "Client"
}
},
{
"Type": "WaitExecutor",
"Parameters": {
"Scenario": "WaitForTimeProvided",
"Duration": "00:01:00"
}
},
{
"Type": "SysbenchClientExecutor",
"Parameters": {
"Scenario": "oltp_read_only",
"Action": "RunWorkload",
"DatabaseSystem": "MySQL",
"Benchmark": "OLTP",
"DatabaseName": "$.Parameters.DatabaseName",
"DatabaseScenario": "$.Parameters.DatabaseScenario",
"Duration": "$.Parameters.Duration",
"Workload": "oltp_read_only",
"PackageName": "sysbench",
"Threads": "$.Parameters.Threads",
"RecordCount": "$.Parameters.RecordCount",
"TableCount": "$.Parameters.TableCount",
"Role": "Client"
}
},
```


* **SysbenchServerExecutor**
Sets the server online for client interaction.

Expand Down

0 comments on commit 9e9129b

Please sign in to comment.