Skip to content

Commit 8250919

Browse files
committed
Update multi_index_bench/README.md
1 parent e07412b commit 8250919

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

multi_index_bench/README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,23 @@
22
把该文件夹的两个文件放在执行sysbench命令的当前目录,sysbench会自动识别替换安装内容。
33

44
## 主要修改内容:
5-
1、在数据表中添加索引数据项,用于测试带有索引的操作内容。
6-
7-
2、select_random_ranges 可以测试多个库,同时完成随机选择数据库和索引。
5+
1. 在数据表中添加索引数据项,用于测试带有索引的操作内容。
6+
2. select_random_ranges 可以测试多个库,同时完成随机选择数据库和索引。
87

98
## 添加参数:
109
```
1110
index_num =
12-
{"create table index numbers", 0},
11+
{"number of indexes, such number of integer columns will be created for those secondary indexes", 0},
1312
table_with_index =
14-
{"if index_nums > 0 create table with index", false},
13+
{"if index_nums > 0, indexes will be created at table creation", false},
1514
db_prefix =
1615
{"manual create database prefix, this will disable mysql-db param", "sysbench"},
1716
db_num =
1817
{"manual create database number, this will disable mysql-db param", 20}
1918
```
2019

2120
## 用法:
22-
1、设置 index_num 为需要创建索引项的个数。table_with_index 表示是否在创建表是包含索引。
23-
24-
2、select_random_ranges 需要使用的多个数据库需要通过 1,手动完成创建。(当前默认数据名是 sysbench1, sysbench2, sysbench3 ... )
21+
1. 设置 index_num 为需要创建的次级索引的个数,这会创建相同数量的额外整数列(k_1, k_2, ...)。table_with_index 表示是否在创建表是包含索引。
22+
2. select_random_ranges 需要使用的多个数据库需要通过 1,手动完成创建。(当前默认数据名是 sysbench1, sysbench2, sysbench3 ... )
2523

2624

0 commit comments

Comments
 (0)