CREATE TABLE test (
h varint PRIMARY KEY,
m set<bigint>
) WITH COMPRESSION = {
'sstable_compression': 'LZ4Compressor',
'chunk_length_kb': '2KB'
} AND COMPACTION = {
'class' : 'LeveledCompactionStrategy'
} AND bloom_filter_fp_chance = 0.001
AND min_index_interval = ?
AND max_index_interval = ?;
--
You received this message because you are subscribed to the Google Groups "ScyllaDB users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scylladb-users+unsubscribe@googlegroups.com.
To post to this group, send email to scylladb-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/9a6f19aa-ec34-4870-97f3-b2ff68e19e09%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "ScyllaDB users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scylladb-users+unsubscribe@googlegroups.com.
To post to this group, send email to scylladb-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/166d0140-1abb-4342-b279-333ff4cbdf3f%40googlegroups.com.
what is your average partition size ?are you using multiple rows in a partition - if so whats the size of a single row ?
On Mon, Jul 16, 2018 at 1:17 AM, <eroz...@edoinc.com> wrote:
Ok, thanks for the quick reply.I read that there are plans to add some config option (maybe summary_byte_cost) that will allow users to fine-tune the sparsity of Summary.db. There is at least one potential user (me) who would appreciate this option. In my Scylla evaluation I am trying to maximize read throughput for many small partitions, and it seems that currently Scylla reads about 20KB from Index.db per SSTable accessed during a read. Reducing min_index_interval and max_index_interval does not reduce this number. I imagine that a larger Summary.db could reduce this greatly. And in my case, the extra memory usage wouldn't matter much (the row cache isn't very helpful for my very random read pattern).
On Sunday, July 15, 2018 at 11:22:12 AM UTC-7, eroz...@edoinc.com wrote:I am testing various settings for a table with (roughly) the following schema.
CREATE TABLE test (
h varint PRIMARY KEY,
m set<bigint>
) WITH COMPRESSION = {
'sstable_compression': 'LZ4Compressor',
'chunk_length_kb': '2KB'
} AND COMPACTION = {
'class' : 'LeveledCompactionStrategy'
} AND bloom_filter_fp_chance = 0.001
AND min_index_interval = ?
AND max_index_interval = ?;I tried adjusting min_index_interval and max_index_interval, but as far as I can tell changing these settings had no effect. I created multiple copies of this table with (min_index_interval, max_index_interval) ranging from (32, 32) to (128, 2048) and I saw zero difference in the size of the Summary.db files (and in read performance). The documentation at http://docs.scylladb.com/cassandra-compatibility/ indicates these settings are supported.
--
You received this message because you are subscribed to the Google Groups "ScyllaDB users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scylladb-user...@googlegroups.com.
To post to this group, send email to scyllad...@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
--
You received this message because you are subscribed to the Google Groups "ScyllaDB users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scylladb-users+unsubscribe@googlegroups.com.
To post to this group, send email to scylladb-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.