File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,20 @@ Optimize MySQL/InnoDB using NVDIMM
10
10
$ git clone https://github.com/meeeejin/mysql-57-nvdimm-caching.git
11
11
```
12
12
13
- 2 . Run the script file:
13
+ 2 . Modify the ` PASSWD ` value in the build script:
14
+
15
+ ``` bash
16
+ $ vi build.sh
17
+
18
+ #! /bin/bash
19
+
20
+ BASE_DIR=` pwd -P`
21
+ BUILD_DIR=$BASE_DIR /bld
22
+ PASSWD=" sudo-passwd"
23
+ ...
24
+ ```
25
+
26
+ 3 . Run the script file:
14
27
15
28
``` bash
16
29
$ ./build.sh
@@ -21,10 +34,11 @@ The above command will compile and build the source code with the default option
21
34
| Option | Description |
22
35
| :--------- | :---------- |
23
36
| --origin | No caching (Vanilla version) |
24
- | --nc | Caching New-Orders and Order-Line pages (` default ` ) |
25
- | --nc-st | Caching New-Orders, Order-Line and Stock pages |
26
- | --nc-st-od | Caching New-Orders, Order-Line, Stock and Orders pages |
27
- | --mtr | Caching New-Orders, Order-Line, Stock and Orders pages with mtr logging enabled |
37
+ | --origin-monitor | No caching but monitoring the flush status |
38
+ | --nc | Caching New-Orders and Order-Line pages (` default ` ) |
39
+ | --nc-st | Caching New-Orders, Order-Line and Stock pages |
40
+ | --nc-st-od | Caching New-Orders, Order-Line, Stock and Orders pages |
41
+ | --mtr | Caching New-Orders, Order-Line, Stock and Orders pages with mtr logging enabled |
28
42
29
43
If you want the vanilla version, you can run the script as follows:
30
44
You can’t perform that action at this time.
0 commit comments