d365fo_get_database_statistics
Analyze Dynamics 365 F&O database health by retrieving statistics on size, performance metrics, storage utilization, and data distribution.
Instructions
Get comprehensive database statistics and analytics including:
Overall database size and table counts
Record counts by table
Global version statistics
Environment statistics
Cache hit rates and performance metrics
Storage utilization analysis
Data distribution insights
Use this tool to understand the overall state and health of the metadata database.
Args: include_table_stats: Include per-table statistics (row counts, sizes). include_version_stats: Include global version and environment statistics. include_performance_stats: Include cache performance and query statistics. profile: Configuration profile to use (optional - uses default profile if not specified)
Returns: Dictionary with database statistics
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_table_stats | No | ||
| include_version_stats | No | ||
| include_performance_stats | No | ||
| profile | No | default |