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

statistics per object

1 reply [Last post]
  • Login or register to post comments
Thu, 09/15/2011 - 03:39
piavlo
Offline
Joined: 09/15/2011
Groups: None

Hi,

How do I get per object statistics stored in vbucket?

I now the REST api call -> GET /pools/default/stats
would give me 10 most "hot_keys" based on ops.
I need more than just 10 :)

Whar what time frame are the ops calculated?

Is there a way to see total get's per object?

Also I'd like to get ops for just specific object, is it possible?

And is there way to get a list of objects that are soon to be expired?

Thanks
Alex

Top
  • Login or register to post comments
Tue, 09/20/2011 - 14:09
perry
Offline
Joined: 10/11/2010
Groups:

Hi Alex, to get more "hot_keys" you can query each individual server with:
"/opt/membase/bin/mbstats :11210 raw topkeys []"

That will print out the top 100 keys...more than that will require a bit more work.

The ops are calculated over the lifetime of the running process.

There is not currently a way to see the total gets or operations per object or for a specific object unfortunately...too much CPU and RAM overhead in tracking all of those stats.

Nor is there a list of objects that are soon to expire since nothing actually keeps track of the expiration time. When an object expires, nothing happens until a process explicitly comes along and looks at the object. This is either done when you access an item (its expiration time is checked then) or when our hourly process runs to find all of the already expired objects. Other than that, there is no "list" of objects based upon their expiration time.

With Couchbase Server 2.0, you will have the ability to create an index based upon expiration time, so that would give you at least some view into this.

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

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