get_table_stats
Retrieve Oracle table optimizer statistics—row count, blocks, average row length, sample size, last analyzed, degree, partitioning, and compression—to tune queries and inspect data layout.
Instructions
Return optimizer statistics for a table: row count, blocks, avg row length, sample size, last analyzed, degree, partitioned, compression.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name. | |
| schema | No | Schema (owner) of the table. Optional — defaults to the server's current schema; omit rather than guess. |