Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update descriptions of expressions supported to be pushed down #8761

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions functions-and-operators/expressions-pushed-down.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,18 @@ tidb> desc mysql.expr_pushdown_blacklist;

### 加入黑名单

执行以下步骤,可将一个或多个函数或运算符加入黑名单
执行以下步骤,可将一个或多[函数名、运算符名](#已支持下推的表达式列表)或数据类型(**仅限** [`ENUM` 类型](/data-type-string.md#enum-类型) 和 [`BIT` 类型](/data-type-numeric.md#bit-类型))加入黑名单

1. 向 `mysql.expr_pushdown_blacklist` 插入以下内容:

- 希望禁止下推的[函数名、运算符名](#已支持下推的表达式列表)或数据类型(**仅限** [`ENUM` 类型](/data-type-string.md#enum-类型) 和 [`BIT` 类型](/data-type-numeric.md#bit-类型))
- 希望禁止下推的函数名、运算符名或数据类型
- 希望禁止下推的存储引擎

2. 执行 `admin reload expr_pushdown_blacklist;`。

### 移出黑名单

执行以下步骤,可将一个或多个函数及运算符移出黑名单
执行以下步骤,可将一个或多个函数名、运算符名或数据类型移出黑名单

1. 从 `mysql.expr_pushdown_blacklist` 表中删除对应的函数名、运算符名或数据类型。
2. 执行 `admin reload expr_pushdown_blacklist;`。
Expand Down
6 changes: 6 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1552,6 +1552,12 @@ set tidb_slow_log_threshold = 200;
- 范围:`[0, 9223372036854775807]`
- 这个变量用于限制 TiDB 同时向 TiKV 发送的请求的最大数量,0 表示没有限制。

### `tidb_sysdate_is_now`(从 v6.0.0 版本开始引入)
en-jin19 marked this conversation as resolved.
Show resolved Hide resolved

- 作用域:SESSION | GLOBAL
- 默认值:`OFF`
- 这个变量用于控制 `SYSDATE` 函数能否替换为 `NOW` 函数,其效果与 MYSQL 中的 [`sysdate-is-now`](https://dev.mysql.com/doc/refman/8.0/en/server-options.html#option_mysqld_sysdate-is-now) 一致。

### `tidb_table_cache_lease`(从 v6.0.0 版本开始引入)

- 作用域:GLOBAL
Expand Down