Al momento non è possibile inviare moduli sul sito di supporto per pianificare la manutenzione. Se necessiti di assistenza immediata, contatta il supporto tecnico. Ci scusiamo per il disagio.
Questo articolo ti è servito per risolvere il problema?
Seleziona valutazione
Titolo
ERROR: column "total_exec_time" does not exist in PostgreSQL agent log file
Descrizione
Top SQL statements are not collected for a PostgreSQL agent even though the pg_stat_statements extension has been installed.
Causa
After upgrading to PostgreSQL 13 or higher and enabling pg_stat_statements, the column in pg_stat_statements is renamed from "total_time" to "total_exec_time" as columns were added for planning times as well as execution times.
A PG_STAT_STATEMENTS extension created in the database at a lower version may still be missing the column total_exec_time.
Risoluzione
Verify that the pg_stat_statements extension has the column total_exec_time.
SELECT
column_name,
data_type,
character_maximum_length,
is_nullable,
column_default
FROM
information_schema.columns
WHERE
table_name = 'pg_stat_statements';
If the column is not present, then delete the extension
DROP EXTENSION pg_stat_statements;.
and then recreate the extension as per Resolution 1 in knowledgebase article 4226972
Feedback inviato
Questo articolo ti è servito per risolvere il problema?
Data di creazione: 2/29/2024 Ultimo aggiornamento: 2/29/2024
Thank you for your feedback for Topic Request
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Questo è il portale del supporto
Puoi trovare aiuto e supporto online per Quest *prodotto* sul sito di supporto di un affiliato. Fai clic su Continua per essere reindirizzato ai contenuti e all'assistenza corretti per *prodotto*.
Cerca in tutti gli articoli
Internet Explorer 8, 9 e 10 non sono più supportati
Il portale Quest Software non supporta più Internet Explorer 8, 9, e 10. Si consiglia di aggiornare il browser all'ultima versione di Internet Explorer o Chrome.