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

titan doc update for release 7.6.0 #15986

Merged
merged 34 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
64ecfce
titan doc update for release 7.6.0
tonyxuqqi Jan 5, 2024
9e58e74
lint issue
Jan 5, 2024
19eb7ef
Apply suggestions from code review
hfxsd Jan 8, 2024
9546630
Apply suggestions from code review
hfxsd Jan 8, 2024
b6dacd0
Update tikv-configuration-file.md
hfxsd Jan 8, 2024
481b007
Apply suggestions from code review
hfxsd Jan 9, 2024
c43a35c
change the default value of blob-file-compression to zstd
hfxsd Jan 9, 2024
3ca3d45
Update tikv-configuration-file.md
hfxsd Jan 9, 2024
a47c5bf
Update tikv-configuration-file.md
hfxsd Jan 9, 2024
02d78bb
Apply suggestions from code review
hfxsd Jan 16, 2024
331bfe1
polish titan doc
tonyxuqqi Jan 17, 2024
8bb32cb
Merge branch 'titan_7.6' of https://github.com/tonyxuqqi/docs into ti…
tonyxuqqi Jan 17, 2024
b86de77
address comments
tonyxuqqi Jan 17, 2024
adb3363
update gc thread count
tonyxuqqi Jan 22, 2024
d8b48fd
update num-threads
tonyxuqqi Jan 22, 2024
cc5fecf
titan: update titan doc for v7.6.0 (enable titan by default)
benmaoer Jan 23, 2024
17c7f43
Merge pull request #1 from benmaoer/15986-titan-doc-updates
tonyxuqqi Jan 23, 2024
3937b19
Merge remote-tracking branch 'upstream/master' into pr/15986
hfxsd Jan 24, 2024
8b8a477
synced cn changes
hfxsd Jan 24, 2024
8bb38a4
Update tikv-configuration-file.md
hfxsd Jan 24, 2024
b6554f7
Update titan-configuration.md
hfxsd Jan 24, 2024
c93019e
Update titan-configuration.md
hfxsd Jan 24, 2024
4b9baf6
Update storage-engine/titan-overview.md
hfxsd Jan 24, 2024
a1bbf0a
Apply suggestions from code review
hfxsd Jan 24, 2024
51e07da
Update storage-engine/titan-configuration.md
hfxsd Jan 24, 2024
4c89679
Update storage-engine/titan-configuration.md
hfxsd Jan 24, 2024
5664bc7
add min blob size link
hfxsd Jan 24, 2024
44f95a4
Apply suggestions from code review
hfxsd Jan 24, 2024
5c6ae2c
Update tikv-configuration-file.md
hfxsd Jan 24, 2024
92ff46a
Apply suggestions from code review
hfxsd Jan 24, 2024
a6ba25f
Update storage-engine/titan-configuration.md
hfxsd Jan 24, 2024
204afcd
Update storage-engine/titan-configuration.md
hfxsd Jan 24, 2024
aa0a9a4
Update tikv-configuration-file.md
hfxsd Jan 24, 2024
665c9f9
Update tikv-configuration-file.md
hfxsd Jan 24, 2024
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
Prev Previous commit
Next Next commit
polish titan doc
Signed-off-by: tonyxuqqi <tonyxuqi@outlook.com>
  • Loading branch information
tonyxuqqi committed Jan 17, 2024
commit 331bfe130f924a80fd6a3871860155ea0041f65c
4 changes: 4 additions & 0 deletions storage-engine/titan-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ To adjust Titan-related parameters using TiUP, refer to [Modify the configuratio
[rocksdb.defaultcf.titan]
min-blob-size = "1KB"
```

> **Warning:**
>
> When the value is set less than `32KB`, the TiKV scan performance may have regression comparing with RocksDB. But if the workload is more about point get or heavy write, the `min-blob-size` can be tuned to as low as `1KB`. And therefore, starting from v7.6.0, the default value for newly create cluster is `32KB`, but to keep the behavior consistent for upgraded clusters, this parameter will keep the old version's default `1KB` when it's not explictly set in configuration file.

+ The algorithm used for compressing values in Titan, which takes value as the unit. Starting from TiDB 7.6.0, the default compression is zstd.
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

Expand Down
6 changes: 5 additions & 1 deletion tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -1600,10 +1600,14 @@ Configuration items related to `rocksdb.defaultcf.titan`.
### `min-blob-size`

+ The smallest value stored in a Blob file. Values smaller than the specified size are stored in the LSM-Tree.
+ Default value: `"1KB"`
+ Default value: `"32KB"`
+ Minimum value: `0`
+ Unit: KB|MB|GB

> **Warning:**
>
> When the value is set less than `32KB`, the TiKV scan performance may have regression comparing with RocksDB. But if the workload is more about point get or heavy write, the `min-blob-size` can be tuned to as low as `1KB`. And therefore, starting from v7.6.0, the default value for newly create cluster is `32KB`, but to keep the behavior consistent for upgraded clusters, this parameter will keep the old version's default `1KB` when it's not explictly set in configuration file.

### `blob-file-compression`

+ The compression algorithm used in a Blob file
Expand Down