Skip to content

Commit

Permalink
TiFlash: remove outdated tune advise (#6133) (#6135)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Aug 10, 2021
1 parent 6141cd2 commit bf74697
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 @@ -51,14 +51,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 bf74697

Please sign in to comment.