Re: low performance inserting

2011-05-04 Thread charles THIBAULT
I have understood my error. I was comparing bulk insert in MySQL with batch_insert in Cassandra I made this two tests from a remote machine I have made the same test with one insert per row in MySQL and it took 4mn28s but the result I have with the stress utility it seems to be abnormal, isn't it

Re: low performance inserting

2011-05-03 Thread mcasandra
Did you do a bulk upload with mysql from the same machine or separate insert/commit for each row? And did you run inserts from the same machine as the mysqld server? -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/low-performance-inserting-tp63268

Re: low performance inserting

2011-05-03 Thread charles THIBAULT
Hi Sylvain, thanks for your answer. I'd make a test with the stress utility inserting 100 000 rows with 10 columns per row I use these options: -o insert -t 5 -n 10 -c 10 -d 192.168.1.210,192.168.1.211,... result: 161 seconds with MySQL using inserts (after a dump): 1.79 second Charles 201

Re: low performance inserting

2011-05-03 Thread Sylvain Lebresne
There is probably a fair number of things you'd have to make sure you do to improve the write performance on the Cassandra side (starting by using multiple threads to do the insertion), but the first thing is probably to start comparing things that are at least mildly comparable. If you do inserts

Re: low performance inserting

2011-05-03 Thread Roland Gude
Hi, Not sure this is the case for your Bad Performance, but you are Meassuring Data creation and Insertion together. Your Data creation involves Lots of class casts which are probably quite Slow. Try Timing only the b.send Part and See how Long that Takes. Roland Am 03.05.2011 um 12:30 schrieb