Viewing Slow Query Logs of PostgreSQL DB Instances
Scenarios
- SELECT
- INSERT
- UPDATE
- DELETE
- CREATE
- DROP
- ALTER
- DO
- CALL
- COPY
Parameter Description
| Parameter | Description |
|---|---|
| log_min_duration_statement | Specifies the minimum execution time. The statements whose execution time is greater than or equal to the value of this parameter are recorded. |
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Database, click Relational Database Service to go to the RDS console.
- On the Instance Management page, click the target DB instance.
- In the navigation pane on the left, choose Logs. On the Slow Query Logs page, click Log Details.
You can view the slow query log records of a specified statement type in a specified time period.
Last Article: PostgreSQL
Next Article: Performing Basic Operations Using pgAdmin
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.