record_command
Returns the terminal command to record a SQL Server or PostgreSQL performance profile for a saved connection, for up to 1 hour or 24 hours with a free key.
Instructions
The command the user runs in a terminal (or on the server) to record a profile for up to 1 h, or 24 h with the free key. You cannot start a recording: give the user this command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | profile name from list_profiles | |
| duration | No | how long to record, e.g. 30m, 1h or 24h (default 1h; more than 1h needs the free key) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| command | Yes | ||
| report_command | Yes | ||
| server_command | Yes |