From 889dc91b21daf0fdaaa2994f01336cb921bd9859 Mon Sep 17 00:00:00 2001 From: dongxu Date: Wed, 1 May 2019 15:03:38 -0700 Subject: [PATCH] Update sysbench-v4.md (#1096) --- benchmark/sysbench-v4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/sysbench-v4.md b/benchmark/sysbench-v4.md index 698c619bd8632..cdc4b21cf429c 100644 --- a/benchmark/sysbench-v4.md +++ b/benchmark/sysbench-v4.md @@ -136,7 +136,7 @@ create database sbtest; Adjust the order in which Sysbench scripts create indexes. Sysbench imports data in the order of "Build Table -> Insert Data -> Create Index", which takes more time for TiDB to import data. Users can adjust the order to speed up the import of data. Suppose that you use Sysbench version https://github.com/akopytov/sysbench/tree/1.0.14. You can adjust the order in the following two ways. -1. Download the TiDB-modified [oltp_common.lua](https://raw.githubusercontent.com/pingcap/tidb-bench/master/sysbench-patch/oltp_common.lua) file and overwrite the `/usr/share/sysbench/oltp_common.lua` file with it. +1. Download the TiDB-modified [oltp_common.lua](https://raw.githubusercontent.com/pingcap/tidb-bench/master/sysbench/sysbench-patch/oltp_common.lua) file and overwrite the `/usr/share/sysbench/oltp_common.lua` file with it. 2. Move the [235th](https://github.com/akopytov/sysbench/blob/1.0.14/src/lua/oltp_common.lua#L235) to [240th](https://github.com/akopytov/sysbench/blob/1.0.14/src/lua/oltp_common.lua#L240) lines of `/usr/share/sysbench/oltp_common.lua` to be right behind 198th lines. > **Note:**