-
Global information
- Generated on Tue Sep 30 04:15:07 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250929
- Parsed 2,282 log entries in 6s
- Log start from 2025-09-30 00:00:01 to 2025-09-30 03:18:41
-
Overview
Global Stats
- 4 Number of unique normalized queries
- 7 Number of queries
- 9m39s Total query duration
- 2025-09-30 00:09:05 First query
- 2025-09-30 02:16:54 Last query
- 1 queries/s at 2025-09-30 02:15:05 Query peak
- 9m39s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 9m39s Execute total duration
- 0 Number of events
- 0 Number of unique normalized events
- 0 Max number of times the same event was reported
- 0 Number of cancellation
- 4 Total number of automatic vacuums
- 12 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 271 Total number of sessions
- 40 sessions at 2025-09-30 02:15:11 Session peak
- 5d16h34m31s Total duration of sessions
- 30m14s Average duration of sessions
- 0 Average queries per session
- 2s137ms Average queries duration per session
- 30m12s Average idle time per session
- 271 Total number of connections
- 9 connections/s at 2025-09-30 00:07:11 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 1 queries/s Query Peak
- 2025-09-30 02:15:05 Date
SELECT Traffic
Key values
- 1 queries/s Query Peak
- 2025-09-30 02:15:05 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 0 queries/s Query Peak
- Date
Queries duration
Key values
- 9m39s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 30 00 2 0ms 9m4s 4m35s 0ms 0ms 9m10s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 5 0ms 5s855ms 5s702ms 0ms 5s403ms 17s374ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 30 00 1 0 9m4s 0ms 0ms 9m4s 01 0 0 0ms 0ms 0ms 0ms 02 5 0 5s702ms 0ms 0ms 17s374ms 03 0 0 0ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 30 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Sep 30 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 5 5.00 0.00% 03 0 0 0.00 0.00% Day Hour Count Average / Second Sep 30 00 86 0.02/s 01 74 0.02/s 02 79 0.02/s 03 32 0.01/s Day Hour Count Average Duration Average idle time Sep 30 00 86 27m30s 27m24s 01 74 31m41s 31m41s 02 79 31m17s 31m17s 03 32 31m36s 31m36s -
Connections
Established Connections
Key values
- 9 connections Connection Peak
- 2025-09-30 00:07:11 Date
Connections per database
Key values
- ctdprd51 Main Database
- 271 connections Total
Connections per user
Key values
- qaeu Main User
- 271 connections Total
-
Sessions
Simultaneous sessions
Key values
- 40 sessions Session Peak
- 2025-09-30 02:15:11 Date
Histogram of session times
Key values
- 254 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 271 sessions Total
Sessions per user
Key values
- qaeu Main User
- 271 sessions Total
Sessions per host
Key values
- 10.12.5.45 Main Host
- 271 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 56,266 buffers Checkpoint Peak
- 2025-09-30 02:37:01 Date
- 1619.650 seconds Highest write time
- 0.003 seconds Sync time
Checkpoints Wal files
Key values
- 34 files Wal files usage Peak
- 2025-09-30 02:37:01 Date
Checkpoints distance
Key values
- 1,094.28 Mo Distance Peak
- 2025-09-30 02:37:01 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Sep 30 00 1,933 193.694s 0.004s 193.811s 01 199 20.122s 0.002s 20.152s 02 56,279 1,621.037s 0.002s 1,621.48s 03 15 1.594s 0.001s 1.609s Day Hour Added Removed Recycled Synced files Longest sync Average sync Sep 30 00 0 0 1 67 0.001s 0.002s 01 0 0 0 37 0.001s 0.002s 02 0 0 34 39 0.001s 0.002s 03 0 0 0 9 0.001s 0.001s Day Hour Count Avg time (sec) Sep 30 00 0 0s 01 0 0s 02 0 0s 03 0 0s Day Hour Mean distance Mean estimate Sep 30 00 7,964.00 kB 194,868.50 kB 01 606.00 kB 157,945.50 kB 02 280,181.00 kB 532,261.00 kB 03 84.00 kB 453,835.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Sep 30 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 1.08 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment
Database ctdprd51 - 2025-09-30 01:58:32 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 1.08 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment
Database ctdprd51 - 2025-09-30 01:58:32 Date
Analyzes per table
Key values
- pubc.log_query (11) Main table analyzed (database ctdprd51)
- 12 analyzes Total
Vacuums per table
Key values
- pubc.log_query (2) Main table vacuumed on database ctdprd51
- 4 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 2 1 345 0 37 0 0 60 5 41,944 ctdprd51.pg_catalog.pg_statistic 1 1 757 0 150 0 132 451 147 564,987 ctdprd51.pub2.term_set_enrichment 1 0 10,073 0 4,690 0 0 4,981 2 304,070 Total 4 2 11,175 7 4,877 0 132 5,492 154 911,001 Tuples removed per table
Key values
- pg_catalog.pg_statistic (586) Main table with removed tuples on database ctdprd51
- 598 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Sep 30 00 1 5 01 2 6 02 1 1 03 0 0 - 1.08 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 6 Total read queries
- 0 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 5 Requests
- 9m26s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 97 Requests
User Request type Count Duration pubc Total 2 18m14s select 2 18m14s pubeu Total 97 54m10s others 23 35m53s select 74 18m16s qaeu Total 3 15s529ms others 1 5s425ms select 2 10s104ms unknown Total 17 3m11s others 2 13s401ms select 15 2m57s Duration by user
Key values
- 54m10s (pubeu) Main time consuming user
User Request type Count Duration pubc Total 2 18m14s select 2 18m14s pubeu Total 97 54m10s others 23 35m53s select 74 18m16s qaeu Total 3 15s529ms others 1 5s425ms select 2 10s104ms unknown Total 17 3m11s others 2 13s401ms select 15 2m57s Queries by host
Key values
- unknown Main host
- 119 Requests
- 1h15m51s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 6 Requests
- 9m4s (psql)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-09-30 00:17:14 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 6 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 9m4s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-09-30 00:09:05 - Database: ctdprd51 - User: pubc - Application: psql ]
2 6s642ms VACUUM ANALYZE log_query_archive;[ Date: 2025-09-30 00:09:12 ]
3 5s855ms SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAEONIFLORIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAEONIFLORIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAEONIFLORIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAEONIFLORIN_QT')) ii GROUP BY ii.cd;[ Date: 2025-09-30 02:15:25 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
4 5s764ms SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAEONIFLORIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAEONIFLORIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAEONIFLORIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAEONIFLORIN_QT')) ii GROUP BY ii.cd;[ Date: 2025-09-30 02:15:05 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
5 5s753ms SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAEONIFLORIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAEONIFLORIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAEONIFLORIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAEONIFLORIN_QT')) ii GROUP BY ii.cd;[ Date: 2025-09-30 02:15:13 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
6 5s736ms SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'ALBIFLORIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'ALBIFLORIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALBIFLORIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'ALBIFLORIN_QT')) ii GROUP BY ii.cd;[ Date: 2025-09-30 02:16:54 - Bind query: yes ]
7 5s403ms SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1286951' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;[ Date: 2025-09-30 02:01:18 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 9m4s 1 9m4s 9m4s 9m4s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 30 00 1 9m4s 9m4s [ User: pubc - Total duration: 9m4s - Times executed: 1 ]
[ Application: psql - Total duration: 9m4s - Times executed: 1 ]
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-09-30 00:09:05 Duration: 9m4s Database: ctdprd51 User: pubc Application: psql
2 23s110ms 4 5s736ms 5s855ms 5s777ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 30 02 4 23s110ms 5s777ms [ User: pubeu - Total duration: 17s374ms - Times executed: 3 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAEONIFLORIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAEONIFLORIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAEONIFLORIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAEONIFLORIN_QT')) ii GROUP BY ii.cd;
Date: 2025-09-30 02:15:25 Duration: 5s855ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAEONIFLORIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAEONIFLORIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAEONIFLORIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAEONIFLORIN_QT')) ii GROUP BY ii.cd;
Date: 2025-09-30 02:15:05 Duration: 5s764ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAEONIFLORIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAEONIFLORIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAEONIFLORIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAEONIFLORIN_QT')) ii GROUP BY ii.cd;
Date: 2025-09-30 02:15:13 Duration: 5s753ms Database: ctdprd51 User: pubeu Bind query: yes
3 6s642ms 1 6s642ms 6s642ms 6s642ms vacuum analyze log_query_archive;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 30 00 1 6s642ms 6s642ms -
VACUUM ANALYZE log_query_archive;
Date: 2025-09-30 00:09:12 Duration: 6s642ms
4 5s403ms 1 5s403ms 5s403ms 5s403ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 30 02 1 5s403ms 5s403ms [ User: pubeu - Total duration: 5s403ms - Times executed: 1 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1286951' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-09-30 02:01:18 Duration: 5s403ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 4 23s110ms 5s736ms 5s855ms 5s777ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 30 02 4 23s110ms 5s777ms [ User: pubeu - Total duration: 17s374ms - Times executed: 3 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAEONIFLORIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAEONIFLORIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAEONIFLORIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAEONIFLORIN_QT')) ii GROUP BY ii.cd;
Date: 2025-09-30 02:15:25 Duration: 5s855ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAEONIFLORIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAEONIFLORIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAEONIFLORIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAEONIFLORIN_QT')) ii GROUP BY ii.cd;
Date: 2025-09-30 02:15:05 Duration: 5s764ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAEONIFLORIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAEONIFLORIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAEONIFLORIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAEONIFLORIN_QT')) ii GROUP BY ii.cd;
Date: 2025-09-30 02:15:13 Duration: 5s753ms Database: ctdprd51 User: pubeu Bind query: yes
2 1 9m4s 9m4s 9m4s 9m4s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 30 00 1 9m4s 9m4s [ User: pubc - Total duration: 9m4s - Times executed: 1 ]
[ Application: psql - Total duration: 9m4s - Times executed: 1 ]
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-09-30 00:09:05 Duration: 9m4s Database: ctdprd51 User: pubc Application: psql
3 1 6s642ms 6s642ms 6s642ms 6s642ms vacuum analyze log_query_archive;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 30 00 1 6s642ms 6s642ms -
VACUUM ANALYZE log_query_archive;
Date: 2025-09-30 00:09:12 Duration: 6s642ms
4 1 5s403ms 5s403ms 5s403ms 5s403ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 30 02 1 5s403ms 5s403ms [ User: pubeu - Total duration: 5s403ms - Times executed: 1 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1286951' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-09-30 02:01:18 Duration: 5s403ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 9m4s 9m4s 9m4s 1 9m4s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 30 00 1 9m4s 9m4s [ User: pubc - Total duration: 9m4s - Times executed: 1 ]
[ Application: psql - Total duration: 9m4s - Times executed: 1 ]
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-09-30 00:09:05 Duration: 9m4s Database: ctdprd51 User: pubc Application: psql
2 6s642ms 6s642ms 6s642ms 1 6s642ms vacuum analyze log_query_archive;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 30 00 1 6s642ms 6s642ms -
VACUUM ANALYZE log_query_archive;
Date: 2025-09-30 00:09:12 Duration: 6s642ms
3 5s736ms 5s855ms 5s777ms 4 23s110ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 30 02 4 23s110ms 5s777ms [ User: pubeu - Total duration: 17s374ms - Times executed: 3 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAEONIFLORIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAEONIFLORIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAEONIFLORIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAEONIFLORIN_QT')) ii GROUP BY ii.cd;
Date: 2025-09-30 02:15:25 Duration: 5s855ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAEONIFLORIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAEONIFLORIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAEONIFLORIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAEONIFLORIN_QT')) ii GROUP BY ii.cd;
Date: 2025-09-30 02:15:05 Duration: 5s764ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAEONIFLORIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAEONIFLORIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAEONIFLORIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAEONIFLORIN_QT')) ii GROUP BY ii.cd;
Date: 2025-09-30 02:15:13 Duration: 5s753ms Database: ctdprd51 User: pubeu Bind query: yes
4 5s403ms 5s403ms 5s403ms 1 5s403ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 30 02 1 5s403ms 5s403ms [ User: pubeu - Total duration: 5s403ms - Times executed: 1 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1286951' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-09-30 02:01:18 Duration: 5s403ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 0ms 34 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Sep 28 05 4 0ms 0ms 06 18 0ms 0ms 07 4 0ms 0ms 09 7 0ms 0ms 10 1 0ms 0ms [ User: pubeu - Total duration: 44m49s - Times executed: 33 ]
[ User: qaeu - Total duration: 5s425ms - Times executed: 1 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '2112616'
-
Events
Log levels
Key values
- 1,126 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 0 FATAL entries
- 0 ERROR entries
- 0 WARNING entries
- 0 EVENTLOG entries
Events per 5 minutes
NO DATASET
Most Frequent Errors/Events
Key values
- 0 Max number of times the same event was reported
- 0 Total events found
Rank Times reported Error NO DATASET