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

reduce mnesia using disk while CB is idle

1 reply [Last post]
  • Login or register to post comments
Wed, 01/30/2013 - 11:11
chuyskywalker
Offline
Joined: 12/27/2011
Groups: None

I've had a few developers complaining that CB uses an inordinate amount of CPU and diskIO on their local development virtual machines. Specifically, while a CB instance is up and there is no traffic, we see the /opt/couchbase/lib/erlang/erts-5.8.5/bin/beam.smp<code> process hanging out as the first item in <code>top at around 15-25% %CPU. We also find that this process is constantly updating the /opt/couchbase/var/lib/couchbase/mnesia at about 100k/s (using iostat).

Is there anyway we can reduce the overhead here?

Can we safely move /opt/couchbase/var/lib/couchbase/mnesia to a ramdisk? What happens if upon restart if we do that? Losing the stats on a dev machine would be fine, but will CB remake the files it needs there are choke if the directory is empty upon a restart?

Thanks!

Top
  • Login or register to post comments
Wed, 01/30/2013 - 17:00
alkondratenko
alkondratenko's picture
Offline
Joined: 12/01/2010
Groups: None

yes placing mnesia on ramdisk will work. But it won't help much with CPU overhead.

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