From 03237ff39fcf5722d2951c0b7dd634fff68cd2b6 Mon Sep 17 00:00:00 2001 From: toutdesuite Date: Fri, 10 Apr 2020 15:53:11 +0800 Subject: [PATCH] tiflash: add the faq.md doc (#2215) --- TOC.md | 1 + reference/tiflash/faq.md | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 reference/tiflash/faq.md diff --git a/TOC.md b/TOC.md index dbad43bbd7458..7f0c38aaab576 100644 --- a/TOC.md +++ b/TOC.md @@ -318,6 +318,7 @@ - [Upgrade TiFlash Nodes](/reference/tiflash/upgrade.md) - [Configure TiFlash](/reference/tiflash/configuration.md) - [Tune TiFlash Performance](/reference/tiflash/tune-performance.md) + - [FAQ](/reference/tiflash/faq.md) + TiDB Binlog - [Overview](/reference/tidb-binlog/overview.md) - [Deploy](/reference/tidb-binlog/deploy.md) diff --git a/reference/tiflash/faq.md b/reference/tiflash/faq.md new file mode 100644 index 0000000000000..f595677ea79c8 --- /dev/null +++ b/reference/tiflash/faq.md @@ -0,0 +1,29 @@ +--- +title: TiFlash FAQ +summary: Learn the frequently asked questions (FAQs) and answers about TiFlash. +category: faq +--- + +# TiFlash FAQ + +This document lists the frequently asked questions (FAQs) and answers about TiFlash. + +## Does TiFlash support direct writes? + +Currently, TiFlash does not support direct writes. You can only write data to TiKV, and then replicate the data to TiFlash. + +## How can I estimate the storage resources if I want to add TiFlash to an existing cluster? + +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. + +## How can data in TiFlash be highly available? + +TiFlash restores data through TiKV. As long as the corresponding Regions in TiKV are available, TiFlash can restore data from these Regions. + +## How many replicas does TiFlash recommend to set up? + +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. + +## Should I use TiSpark or TiDB server for a query? + +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.