We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c39f54 commit 808e809Copy full SHA for 808e809
utilities/spatialdb/spatial_db.cc
@@ -631,8 +631,9 @@ DBOptions GetDBOptions(const SpatialDBOptions& options) {
631
ColumnFamilyOptions GetColumnFamilyOptions(const SpatialDBOptions& options,
632
std::shared_ptr<Cache> block_cache) {
633
ColumnFamilyOptions column_family_options;
634
- column_family_options.write_buffer_size = 256 * 1024 * 1024; // 256MB
+ column_family_options.write_buffer_size = 128 * 1024 * 1024; // 128MB
635
column_family_options.max_bytes_for_level_base = 1024 * 1024 * 1024; // 1 GB
636
+ column_family_options.max_write_buffer_number = 4;
637
// only compress levels >= 1
638
column_family_options.compression_per_level.resize(
639
column_family_options.num_levels);
0 commit comments