thobbs / phpcassa

PHP client library for Apache Cassandra
thobbs.github.com/phpcassa
MIT License
248 stars 78 forks source link

need help with Cassandra/phpcassa #101

Open slevchenko opened 12 years ago

slevchenko commented 12 years ago

Hi, I have a problem with Cassanra (particularly with phpcassa, I guess), maybe you can help me..

I have a row with about 200 000 columns in it. When I'm writing these columns to Cassanrda, everything seems to be perfect. But when I'm getting these columns from the row (like $cf_name->get($row_key)) everything is extremely SLOW. PHP needs about 13 minutes!! to get 50 000 columns. And I need much more!

Have You faced the problem before? Can I somehow make it quicker?

Thanx in advance

slevchenko commented 12 years ago

It appeared that there was no C extension installed. After installation the operation takes max 3 sec. The phpcassa-guru Tamil Selvan helped me. (that's his blog http://itsallabtamil.blogspot.com/)

Problem solved! Thanks everybody

slevchenko commented 12 years ago

Men, I guess I have another problem.. If I install C extension on the server without Apache , everything works just great. But when installing the extension on the server with Apache, the latter complains: [notice] child pid 346 exit signal Segmentation fault (11) [Tue Oct 23 11:41:38 2012] [notice] child pid 343 exit signal Segmentation fault (11) [Tue Oct 23 11:41:38 2012] [notice] child pid 342 exit signal Segmentation fault (11) [Tue Oct 23 11:41:39 2012] [notice] child pid 376 exit signal Segmentation fault (11) [Tue Oct 23 11:41:39 2012] [notice] child pid 348 exit signal Segmentation fault (11) .... and nothing works.... Is there some solution?