Re: When to call the major compaction ?

2010-12-01 Thread Chen Xinli
You are right, jvm gc is for memory. In cassandra, there is a small trick called *PhantomReference*, which will be called when jvm gc. And deletion is actually done in PhantomReference. 2010/12/2 Ying Tang > @Chen Xinli > "and mark old sstables as deleted which will be deleted w

Re: When to call the major compaction ?

2010-12-01 Thread Chen Xinli
t; (introduced in 0.6.6 and >>> recent 0.7 betas/rcs), major compactions where the only ones that removed >>> the >>> tombstones (see http://wiki.apache.org/cassandra/DistributedDeletes) >>> and this is the >>> reason major compaction exists. Now, with #107

Re: When to call the major compaction ?

2010-12-01 Thread Chen Xinli
gc, or node restarted. > 3. When gc be called ? Every time compaction been called? > GC has nothing to do with compaction, you may mistake the two conceptions > > > > -- > Best regards, > > Ivy Tang > > > > -- Best Regards, Chen Xinli

Re: Data model design question

2010-11-19 Thread Chen Xinli
查询是完全基于当天计算的数据吗 还是基于当天和历史数据的合并? Nanheng Wu 编写: Hi, Our team decided to use Cassandra as storage solution to a dataset. I am very new to the NoSQL world and Cassandra so I am hoping to get some help from the community: The dataset is pretty simple, we have for each key a number of columns with

replacing a dead node

2010-10-11 Thread Chen Xinli
keep it simple, I don't want to use autobootstrap, noderepair, removetoken, etc -- Best Regards, Chen Xinli

Re: Cassandra performance

2010-09-14 Thread Chen Xinli
C++ to generate > keys, not normal distribution). Here are results: > > size of data in db -> reads per second > 21 GB -> 340 > 400 GB -> 200 > > So I've got more reads from single MySQL with 400GB of data than from > 8 machines storing about 266GB. This doesn't look good. What am I > doing wrong? :) > > Disable row cache is ok, but key cache should be enabled. It use little memory, but reading peformance will improve a lot. Cheers, > Kamil > -- Best Regards, Chen Xinli

Re: column limit on multiget_slice or get_slice

2010-09-14 Thread Chen Xinli
me of. > If it is possible, can anyone point me in the right direction of how to do > this? > I'm using 0.6.4 with the thrift interface in java, i use hector but i'd > much prefer knowing how its done via thrift first :) > thanks > -- Best Regards, Chen Xinli

Re: cassandra for a inbox search with high reading qps

2010-08-30 Thread Chen Xinli
-30 at 05:49 -0700, Mike Peters wrote: > > Chen, > > Have you considered using http://www.slideshare.net/otisg/lucandra Lucandra > for Inbox search? > > We have a similar setup and are currently looking into using Lucandra over > implementing the searching ourselves with pure Cassandra. > > -- Best Regards, Chen Xinli

Re: Read before Write

2010-08-27 Thread Chen Xinli
I rather just write all the time (given that cassandra is so fast > on write) or should I read and write only if not present? > > Cheers, > Daniel -- Best Regards, Chen Xinli

Re: kundera: Open source JPA 1.0 compliant ORM for Cassandra

2010-08-19 Thread Chen Xinli
esent, warrant and/or guarantee, > > that the integrity of this communication has been maintained nor that the > > communication is free of errors, virus, interception or interference. > > > > > > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of Riptano, the source for professional Cassandra support > http://riptano.com > > Impetus is sponsoring 'Hadoop India User Group Meet Up'- a technology > un-conference on July 31, 2010 at Impetus Office, Noida. The event will shed > light on Hadoop technology and channelized efforts to develop an active > Hadoop community. > > Click http://www.impetus.com/ to know more. Follow our updates on > www.twitter.com/impetuscalling . > > > NOTE: This message may contain information that is confidential, > proprietary, privileged or otherwise protected by law. The message is > intended solely for the named addressee. If received in error, please > destroy and notify the sender. Any use of this email is prohibited when > received in error. Impetus does not represent, warrant and/or guarantee, > that the integrity of this communication has been maintained nor that the > communication is free of errors, virus, interception or interference. > -- Best Regards, Chen Xinli

Re: Help with getting Key range with some column limitations

2010-08-19 Thread Chen Xinli
king every row in db if it match my bounding box. > > But there are a lot more than 700 keys.. and if i set a higher count, the > get_range_slice get a Timeout Exception. > > Any ideas? > > Best Regards > Jone > -- Best Regards, Chen Xinli

Re: cassandra for a inbox search with high reading qps

2010-08-17 Thread Chen Xinli
doing hinted handoff, then a reading is forward to this node, the data returned is out of date. The node failure is not frequently; if it happens unfortunately, we should keep the reading consitency. 2010/8/18 Benjamin Black > On Tue, Aug 17, 2010 at 7:55 PM, Chen Xinli wrote: >

Re: cassandra for a inbox search with high reading qps

2010-08-17 Thread Chen Xinli
I'm using cassandra 0.6.4; there's a configuration option DoConsistencyChecksBoolean in storage-conf.xml. Is't that for read-repair ? I will do a test for WRITE QUORUM, READ.ONE if it can meet our requirements. 2010/8/18 Edward Capriolo > On Tue, Aug 17, 2010 at 10:55 PM,

cassandra for a inbox search with high reading qps

2010-08-17 Thread Chen Xinli
Thanks for any advices! -- Best Regards, Chen Xinli

Re: goods search with cassandra

2010-07-22 Thread Chen Xinli
during error. > > Some kind of lock service maybe help, like ZooKeeper. > > Regards > -Santal > > > > 2010/7/19 Chen Xinli > > Hi, >> >> I want to implement goods search with cassandra; and I have some >> confusings. Can someone help me out? >&g

goods search with cassandra

2010-07-18 Thread Chen Xinli
es me confusing is that: insertion through thrift client and reading through using cassandra directly, is data consistency promised and how? Any help is appreciated. Thanks! -- Best Regards, Chen Xinli