• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Get-BucketStats

This PowerShell cmdlet enables the user to retrieve and display bucket distribution and status information for the specified cache. It helps monitor how buckets are assigned across cluster nodes.

When to Use this Command

Use Get-BucketStats when you need to:

  • Check how buckets are distributed across servers and how many are assigned to each node.
  • Monitor redistribution after a node joins or leaves the cluster.
  • Identify buckets currently under state transfer.

This is especially helpful during scale-out/scale-in operations or when investigating cluster stability.

Examples

  • Windows
  • Linux
  • This command retrieves bucket statistics from demoCache.
Get-BucketStats -CacheName demoCache
  • This command gets the bucket statistics from the demoCache nodes running on 20.200.20.11.
Get-BucketStats -CacheName demoCache -Server 20.200.20.11
  • This command gets the bucket statistics for the bucket with ID 541.
Get-BucketStats -CacheName demoCache -BucketID 541 
  • This command gets detailed information regarding the buckets.
Get-BucketStats -CacheName demoCache -Detailed 
  • This command gets only the bucket statistics that are in state transfer.
Get-BucketStats -CacheName demoCache -ShowOnlyUnderStateTransfer
  • This command retrieves bucket statistics from demoCache, using security credentials.
Get-BucketStats -CacheName demoCache -Credentials(Get-Credential john_smith)
  • This command retrieves bucket statistics from demoCache.
get-bucketstats -cachename demoCache
  • This command gets the bucket statistics from the demoCache nodes running on 20.200.20.11.
get-bucketstats -cachename demoCache -server 20.200.20.11
  • This command gets the bucket statistics for the bucket with ID 541.
get-bucketstats -cachename demoCache -bucketid 541 
  • This command gets detailed information regarding the buckets.
get-bucketstats -cachename demoCache -detailed 
  • This command gets only the bucket statistics that are in state transfer.
get-bucketstats -cachename demoCache -showonlyunderstatetransfer
  • This command retrieves bucket statistics from demoCache, using security credentials.
get-bucketstats -cachename demoCache -userid john_smith -password pass123

Please refer to the PowerShell reference for parameter details of this command.

See Also

Browse Cache Statistics
Monitor Cluster Connectivity
Monitor using Test Stress

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top