Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Performance loss with PHP setMulti Operation over existing keys

2 replies [Last post]
  • Login or register to post comments
Mon, 02/18/2013 - 18:28
michaelt
Offline
Joined: 11/06/2012
Groups: None

I'm running several hundred million documents into couchbase using php and the setMulti feature 10,000 at a time. If I run the operation on an empty bucket, I get around 600,000 ops. If I re-run that operation on a bucket containing the key/values from the first run my ops only runs at around 150,000. I've got a 6 Node cluster @ 8 core 2.0ghz and 64GB Ram. Disks formatted to ext4. Any ideas what would cause this?

Top
  • Login or register to post comments
Mon, 02/18/2013 - 19:31
michaelt
Offline
Joined: 11/06/2012
Groups: None

It's worse than I thought..It won't even let me setMulti over the existing keys. Debug reveals: Temporary failure. Try again later every time a set operation is performed. Does this mean I need memory to be 2 times the size of the data set? 1x to hold it and 2x to store the keys being over written?

Top
  • Login or register to post comments
Tue, 02/19/2013 - 15:48
kneeoh
Offline
Joined: 02/19/2013
Groups: None

Me too.

kneeoh: I have a weird issue with a very large bucket. It doesn't seem to matter what size I make the bucket the ram usage always seems to creep up to near the quota.
[5:42pm] kneeoh: when I first load the data on a 146GB bucket the space used is around 73GB. I walk away for a few hours (NOTHING) is going on with activity on the system as it's 100% dev and only I use it. And now there's 132GB / 146GB used.
[5:43pm] kneeoh: the same was true for this bucket when I had it at 96GB
[5:43pm] kneeoh: it would run up to 90 or so
[5:44pm] kneeoh: The bigger issue is that I can not run any set operations over this bucket when it gets to this state. All I get are temporary failures from the client library

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker