Get All Tables Info
mssql_db_tablesList every table in a SQL Server database with row counts, sizes, primary keys, index health, and read/write workload, largest first, to assess schema and performance.
Instructions
Tables overview for one database: every table with row count, size, primary key, index counts (unused, fragmented, missing), index health, read/write workload and access pattern, largest first. Reads index physical stats (LIMITED), which can be slow on very large databases; use mssql_table_info for a few tables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| databaseName | No | Target database. Defaults to connected database. |