flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] NicoK edited a comment on issue #6603: [FLINK-10198][state] Set Env object in DBOptions for RocksDB
Date Thu, 06 Sep 2018 09:26:22 GMT
NicoK edited a comment on issue #6603: [FLINK-10198][state] Set Env object in DBOptions for
RocksDB
URL: https://github.com/apache/flink/pull/6603#issuecomment-419027026
 
 
   But isn't that also configured per column family?
   
   It seems to be part of the `ColumnFamilyOptions` like from our `SPINNING_DISK_OPTIMIZED_HIGH_MEM`
profile: 
   ```
   			final long blockCacheSize = 256 * 1024 * 1024;
   			final long blockSize = 128 * 1024;
   			final long targetFileSize = 256 * 1024 * 1024;
   			final long writeBufferSize = 64 * 1024 * 1024;
   
   			return new ColumnFamilyOptions()
   					.setCompactionStyle(CompactionStyle.LEVEL)
   					.setLevelCompactionDynamicLevelBytes(true)
   					.setTargetFileSizeBase(targetFileSize)
   					.setMaxBytesForLevelBase(4 * targetFileSize)
   					.setWriteBufferSize(writeBufferSize)
   					.setMinWriteBufferNumberToMerge(3)
   					.setMaxWriteBufferNumber(4)
   					.setTableFormatConfig(
   							new BlockBasedTableConfig()
   									.setBlockCacheSize(blockCacheSize)
   									.setBlockSize(blockSize)
   									.setFilter(new BloomFilter())
   					);
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message