From 9eaecf696741c420bd4669ce9a5d800738533ed1 Mon Sep 17 00:00:00 2001 From: Vish Ramachandran Date: Wed, 3 Nov 2021 14:34:42 -0700 Subject: [PATCH] perf(core): Increase default token scan split to 20 (#1280) --- core/src/main/resources/filodb-defaults.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/resources/filodb-defaults.conf b/core/src/main/resources/filodb-defaults.conf index f03440efe2..2b91fdcf60 100644 --- a/core/src/main/resources/filodb-defaults.conf +++ b/core/src/main/resources/filodb-defaults.conf @@ -268,7 +268,7 @@ filodb { # amount of parallelism to introduce in the token scan queries. This controls number of spark partitions # increase if the number of splits seen in cassandra reads is low and spark jobs are slow, or # if we see Cassandra read timeouts in token range scans. - num-token-range-splits-for-scans = 10 + num-token-range-splits-for-scans = 20 # Parallel scans per shard. Use this property and num-token-range-splits-for-scans to # issue parallel queries to cassandra during index load to index reduce recovery times