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 rebuild tag index doc #22644

Merged
merged 1 commit into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/en/12-taos-sql/07-tag-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ You can also add filter conditions to limit the results.
6. You can' create index on a normal table or a child table.

7. If the unique values of a tag column are too few, it's better not to create index on such tag columns, the benefit would be very small.

8. The newly created super table will randomly generate an index name for the first column of tags, which is composed of the name tag0 column with 23 random bytes, and can be rebuilt or dropped.
4 changes: 3 additions & 1 deletion docs/zh/12-taos-sql/07-tag-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@ SELECT * FROM information_schema.INS_INDEXES

6. 不支持对普通和子表建立索引。

7. 如果某个 tag 列的唯一值较少时,不建议对其建立索引,这种情况下收效甚微。
7. 如果某个 tag 列的唯一值较少时,不建议对其建立索引,这种情况下收效甚微。

8. 新建立的超级表,会给第一列tag,随机生成一个indexNewName, 生成规则是:tag0的name + 23个byte, 在系统表可以查,也可以按需要drop,行为和其他列tag 的索引一样