> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# num_cluster_switches

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/gpudb.rs#L3398-L3400)
pub fn [num\_cluster\_switches](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/num-cluster-switches.md#method.num_cluster_switches)(\&self) -> [usize](https://doc.rust-lang.org/1.98.1/std/primitive.usize.html)

Gets the number of times the client has switched to a different cluster.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.