Skip to content

Commit

Permalink
Adjust SpatialDB column family options
Browse files Browse the repository at this point in the history
  • Loading branch information
igorcanadi committed Aug 27, 2014
1 parent 0c39f54 commit 808e809
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utilities/spatialdb/spatial_db.cc
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,9 @@ DBOptions GetDBOptions(const SpatialDBOptions& options) {
ColumnFamilyOptions GetColumnFamilyOptions(const SpatialDBOptions& options,
std::shared_ptr<Cache> block_cache) {
ColumnFamilyOptions column_family_options;
column_family_options.write_buffer_size = 256 * 1024 * 1024; // 256MB
column_family_options.write_buffer_size = 128 * 1024 * 1024; // 128MB
column_family_options.max_bytes_for_level_base = 1024 * 1024 * 1024; // 1 GB
column_family_options.max_write_buffer_number = 4;
// only compress levels >= 1
column_family_options.compression_per_level.resize(
column_family_options.num_levels);
Expand Down

0 comments on commit 808e809

Please sign in to comment.