cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anuj Wadehra <anujw_2...@yahoo.co.in>
Subject Re: memtable and sstables
Date Sat, 05 Sep 2015 14:35:52 GMT
Memtables are for storing writes in memory till they are flushed to disk as sstables and once
flushed, space gets released from commit logs too.. If your are updating some columns only
that data would be there in memtables not entire row..Dont think of memtables as row cache..


This is my understanding..Anyone is free to add/correct info provided...



Anuj

Sent from Yahoo Mail on Android

From:"Jim Shi" <hjshi@yahoo.com>
Date:Sat, 5 Sep, 2015 at 10:11 am
Subject:memtable and sstables

Hi, I have a question:


in a read operation, why data in memtable needs merges with data in sstables?


I thought if a key exists in memtable, it has all the data related to the key. Is this assumption
not correct?


Mime
View raw message