diff --git a/lib/mergeset/table.go b/lib/mergeset/table.go index aa921b9e1f..29afa687a2 100644 --- a/lib/mergeset/table.go +++ b/lib/mergeset/table.go @@ -34,7 +34,7 @@ const maxInmemoryParts = 64 // This number may be reached when the insertion pace outreaches merger pace. // If this number is reached, then assisted merges are performed // during data ingestion. -const maxFileParts = 256 +const maxFileParts = 64 // Default number of parts to merge at once. // diff --git a/lib/storage/partition.go b/lib/storage/partition.go index 77f07a2443..41b1a7177a 100644 --- a/lib/storage/partition.go +++ b/lib/storage/partition.go @@ -38,7 +38,7 @@ const maxInmemoryPartsPerPartition = 32 // The maximum number of small parts in the partition. // // If the number of small parts reaches this value, then assisted merge runs during data ingestion. -const maxSmallPartsPerPartition = 128 +const maxSmallPartsPerPartition = 64 // Default number of parts to merge at once. //