Database Management
Long SQL Text truncation in PostgreSQL
This article provides information about the issue when the SQL Texts are being truncated for PostgreSQL DB instance
First published date
Last published date
Overview
Product section
Cause
This parameter determines the maximum query length to display in the pg_stat_activity query column
Resolution
To increase the size
- Create a copy of postgresql.cnf (For a quick backup)
- Edit postgresql.cnf
- Find 'track_activity_query_size' parameter and increase the size to 16384 byte or 16KB
- Restart PostgreSQL service *Required*