Re: Problem with performance, memory consumption, and RLIMIT_MEMLOCK

2014-11-24 Thread Dmitri Dmitrienko
Hi Jens, I solved the problem by switching to PAGING mode. In this case it works smooth and does not require so many locks. It was not clear in the beginning and the only sample demonstrated corresponding API (functions like cass_result_has_more_pages()) is paging. Hope this helps somebody. On

Re: Problem with performance, memory consumption, and RLIMIT_MEMLOCK

2014-11-22 Thread Jens Rantil
Hi Dmitri, I have not used the CPP driver, but maybe you have forgotten set the equivalent of the Iava driver's fetchsize to something sensible? Just an idea, Jens — Sent from Mailbox On Sun, Nov 16, 2014 at 6:09 PM, Dmitri Dmitrienko ddmit...@gmail.com wrote: Hi, I have a very

Problem with performance, memory consumption, and RLIMIT_MEMLOCK

2014-11-16 Thread Dmitri Dmitrienko
Hi, I have a very simple table in cassandra that contains only three columns: id, time and blob with data. I added 1M rows of data and now the database is about 12GB on disk. 1M is only part of data I want to store in the database, it's necessary to synchronize this table with external source. In