Skip to content

Commit 23a563f

Browse files
authored
integrate tiflash faq into tidb-faq.md and add aliases; add one lightning faq (#3069) (#3080)
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
1 parent a6447a8 commit 23a563f

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

TOC.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,6 @@
406406
+ TiFlash
407407
+ [Overview](/tiflash/tiflash-overview.md)
408408
+ [Use TiFlash](/tiflash/use-tiflash.md)
409-
+ [FAQ](/tiflash/tiflash-faq.md)
410409
+ TiUP
411410
+ [Overview](/tiup/tiup-overview.md)
412411
+ [Manage TiUP Components](/tiup/manage-tiup-component.md)

faq/tidb-faq.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: TiDB FAQ
33
summary: Learn about the most frequently asked questions (FAQs) relating to TiDB.
44
category: faq
5-
aliases: ['/docs/stable/faq/tidb-faq/','/docs/v4.0/faq/tidb-faq/','/docs/stable/faq/tidb/']
5+
aliases: ['/docs/stable/faq/tidb-faq/','/docs/v4.0/faq/tidb-faq/','/docs/stable/faq/tidb/','/docs/stable/tiflash/tiflash-faq/','/docs/stable/reference/tiflash/faq/','/tidb/v4.0/tiflash-faq']
66
---
77

88
# TiDB FAQ
@@ -730,6 +730,28 @@ The memory usage of TiKV mainly comes from the block-cache of RocksDB, which is
730730
731731
No. TiDB (or data created from the transactional API) relies on a specific key format. It is not compatible with data created from RawKV API (or data from other RawKV-based services).
732732
733+
### Manage the TiFlash server
734+
735+
#### Does TiFlash support direct writes?
736+
737+
Currently, TiFlash does not support direct writes. You can only write data to TiKV, and then replicate the data to TiFlash.
738+
739+
#### How can I estimate the storage resources if I want to add TiFlash to an existing cluster?
740+
741+
You can evaluate which tables might require acceleration. The size of a single replica of these tables data is roughly equal to the storage resources required by two replicas of TiFlash. Note that you need to take into account the free space required.
742+
743+
#### How can data in TiFlash be highly available?
744+
745+
TiFlash restores data through TiKV. As long as the corresponding Regions in TiKV are available, TiFlash can restore data from these Regions.
746+
747+
#### How many replicas are recommended for TiFlash?
748+
749+
If you need highly available TiFlash services (rather than highly available data), it is recommended to set up two replicas for TiFlash. If you allow TiKV replicas to provide analytical services when TiFlash is down, you can set up a single TiFlash replica.
750+
751+
#### Should I use TiSpark or TiDB server for a query?
752+
753+
It is recommended to use TiDB server if you query a single table mainly using filtering and aggregation, because the TiDB server has better performance on the columnar storage. It is recommended to use TiSpark if you query a table mainly using joins.
754+
733755
### TiDB test
734756
735757
#### What is the performance test result for TiDB using Sysbench?

troubleshoot-tidb-lightning.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,11 @@ See the [Checkpoints control](/tidb-lightning/tidb-lightning-checkpoints.md#chec
141141
3. Ensure the entire cluster is using the same and latest version of `tzdata` (version 2018i or above).
142142

143143
On CentOS, run `yum info tzdata` to check the installed version and whether there is an update. Run `yum upgrade tzdata` to upgrade the package.
144+
145+
## `[Error 8025: entry too large, the max entry size is 6291456]`
146+
147+
**Cause**: A single row of key-value pairs generated by TiDB Lightning exceeds the limit set by TiDB.
148+
149+
**Solution**:
150+
151+
Currently, the limitation of TiDB cannot be bypassed. You can only ignore this table to ensure the successful import of other tables.

0 commit comments

Comments
 (0)