select
postgres=# select * from pg_stat_activity;
вижу только обрезанный без from и других данных
видно только
```SELECT "TransactionRecord".id AS "TransactionRecord_id", "TransactionRecord".transaction
_id AS "TransactionRecord_transaction_id", "TransactionRecord".create_time AS "TransactionRecord_create_time", "TransactionRecord".send_time AS "TransactionRecord_send_time", "TransactionRecord".received_time AS
"TransactionRecord_received_time", "TransactionRecord".merchant_local_time AS "TransactionRecord_merchant_local_time", "TransactionRecord".ntc_id AS "TransactionRecord_ntc_id", "TransactionRecord".device_id AS
"TransactionRecord_device_id", "TransactionRecord".action_type_id AS "TransactionRecord_action_type_id", "TransactionRecord".annotation_id AS "TransactionRecord_annotation_id", "TransactionRecord".amount AS "Tra
nsactionRecord_amount", "TransactionRecord".guid AS "TransactionRecord_guid", "TransactionRecord".event_type AS "TransactionRecord_event_type", "TransactionRecord".sequence_number_action AS "TransactionRecord_se
quence_number_action", "TransactionRecord".sequence_number_ntc AS "TransactionRecord_sequen```в базу летят эти запросы иногда ответ базы идет с задержкой до 14 сек
остается только strace ?
ALTER SYSTEM SET track_activity_query_size = 16384; Можно увеличить, если всё мало будет.
Обсуждают сегодня