Skip to content

Commit

Permalink
TiFlash: remove outdated tune advise
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jin19 committed Aug 10, 2021
1 parent 25cbc45 commit eaf51d5
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions tiflash/tune-tiflash-performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,4 @@ If you want to save machine resources and have no requirement on isolation, you

```sql
set @@tidb_opt_distinct_agg_push_down = 1;
```

5. If the `JOIN` operator does not choose the MPP mode, you can modify the value of `tidb_opt_network_factor` to make the`JOIN` operator choose the MPP mode:

The variable `tidb_opt_network_factor` is used to set the ratio of network overhead that the optimizer takes into account when calculating the cost. The smaller the variable value is, the smaller the estimated cost for a large amount of network transmissions is, and the more TiDB inclined to choose the MPP operator.

{{< copyable "sql" >}}

```sql
set @@tidb_opt_network_factor = 0.001;
```
```

0 comments on commit eaf51d5

Please sign in to comment.