Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.7.x

Sqlite fragmentation

1 reply [Last post]
  • Login or register to post comments
Fri, 05/18/2012 - 16:11
bpoweski
Offline
Joined: 11/05/2011
Groups: None

After running our membase cluster for a longer period of time where we are continually expiring items. It appears as though our sqlite files have become fragmented. We're observing a large amount of io utilization and the data size has not changed in any significant amount.

1. Is the /opt/membase/bin/mbdbmaint --vacuum the preferred way to perform db maintenance?
2. Can the /opt/membase/bin/mbdbmaint --vacuum command be run on a live cluster?

Top
  • Login or register to post comments
Mon, 06/04/2012 - 18:19
ingenthr
Offline
Joined: 03/16/2010
Groups:

The preferred way sort of depends on the resources you have at hand. Probably the most preferred way is to rotate out or rotate through a new server. This is non-disruptive, and gets you to a non-defragmented state, but requires another server. Of course, you can upgrade to 1.8 while you're at it. :)

You cannot, unfortunately, vacuum a live cluster. The intent with that being part of the mbdbmaint (that also does backups) is to vacuum the backup files which speeds warmup if you restore from the backup file.

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