> ## 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.

# show_statistics

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/show_statistics.rs#L24-L30)
pub async fn [show\_statistics](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/show-statistics.md#method.show_statistics)( \&self, table\_names: [Vec](https://doc.rust-lang.org/1.98.1/alloc/vec/struct.Vec.html)\<[String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html)>, ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[ShowStatisticsResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowStatisticsResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Show collected statistics for the specified tableRetrieves the collected column statistics for the specified table(s).

##### Arguments

<ul>
  <li>`table_names` - Names of tables whose metadata will be fetched, each in \[schema\_name.]table\_name format, using standard name resolution rules. All provided tables must exist, or an error is returned. A single entry of ‘\*’ expands to every user table the caller may read (excluding system schemas, views, and temporary tables); when used it must be the only entry.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/show_statistics.rs#L46-L62)
pub async fn [show\_statistics\_with\_opts](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/show-statistics.md#method.show_statistics_with_opts)( \&self, table\_names: [Vec](https://doc.rust-lang.org/1.98.1/alloc/vec/struct.Vec.html)\<[String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html)>, options: [ShowStatisticsRequestOptions](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowStatisticsRequestOptions.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[ShowStatisticsResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowStatisticsResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Show collected statistics for the specified tableRetrieves the collected column statistics for the specified table(s).

##### Arguments

<ul>
  <li>`table_names` - Names of tables whose metadata will be fetched, each in \[schema\_name.]table\_name format, using standard name resolution rules. All provided tables must exist, or an error is returned. A single entry of ‘\*’ expands to every user table the caller may read (excluding system schemas, views, and temporary tables); when used it must be the only entry.</li>
  <li>`options` - The optional parameters; any left unset take the server’s defaults.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/show_statistics.rs#L65-L76)
pub async fn [show\_statistics\_raw](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/show-statistics.md#method.show_statistics_raw)( \&self, request: &[ShowStatisticsRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowStatisticsRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[ShowStatisticsResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowStatisticsResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`ShowStatisticsRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowStatisticsRequest) to the `/show/statistics` endpoint.

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/show_statistics.rs#L80-L92)
pub async fn [show\_statistics\_from\_url](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/show-statistics.md#method.show_statistics_from_url)( \&self, url: &[str](https://doc.rust-lang.org/1.98.1/std/primitive.str.html), request: &[ShowStatisticsRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowStatisticsRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[ShowStatisticsResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowStatisticsResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`ShowStatisticsRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowStatisticsRequest) to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.


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