-
Global information
- Generated on Mon Sep 8 04:15:03 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250907
- Parsed 20,283 log entries in 2s
- Log start from 2025-09-07 00:00:22 to 2025-09-07 23:55:49
-
Overview
Global Stats
- 6 Number of unique normalized queries
- 160 Number of queries
- 41m4s Total query duration
- 2025-09-07 00:04:41 First query
- 2025-09-07 22:21:33 Last query
- 1 queries/s at 2025-09-07 05:55:58 Query peak
- 41m4s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 41m4s Execute total duration
- 3 Number of events
- 1 Number of unique normalized events
- 3 Max number of times the same event was reported
- 0 Number of cancellation
- 9 Total number of automatic vacuums
- 30 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 2,279 Total number of sessions
- 46 sessions at 2025-09-07 22:40:31 Session peak
- 39d19h1m30s Total duration of sessions
- 25m8s Average duration of sessions
- 0 Average queries per session
- 1s81ms Average queries duration per session
- 25m7s Average idle time per session
- 2,280 Total number of connections
- 55 connections/s at 2025-09-07 03:57:15 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 1 queries/s Query Peak
- 2025-09-07 05:55:58 Date
SELECT Traffic
Key values
- 1 queries/s Query Peak
- 2025-09-07 05:55:58 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 0 queries/s Query Peak
- Date
Queries duration
Key values
- 41m4s 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 07 00 23 0ms 9m45s 37s906ms 21s59ms 26s197ms 10m13s 01 16 0ms 20s952ms 12s627ms 19s954ms 20s815ms 33s213ms 02 12 0ms 22s336ms 13s677ms 12s553ms 33s207ms 35s52ms 03 5 0ms 20s805ms 11s250ms 5s663ms 12s386ms 20s805ms 04 21 0ms 20s959ms 10s920ms 18s31ms 20s758ms 33s164ms 05 18 0ms 20s962ms 12s425ms 12s672ms 20s900ms 20s962ms 06 16 0ms 20s791ms 11s270ms 18s4ms 20s658ms 20s791ms 07 13 0ms 21s53ms 12s629ms 12s427ms 20s802ms 21s53ms 08 19 0ms 21s318ms 14s688ms 20s800ms 21s318ms 33s275ms 09 1 0ms 5s21ms 5s21ms 0ms 0ms 5s21ms 10 2 0ms 5s641ms 5s358ms 0ms 0ms 5s641ms 11 0 0ms 0ms 0ms 0ms 0ms 0ms 12 1 0ms 5s15ms 5s15ms 0ms 0ms 5s15ms 13 1 0ms 5s67ms 5s67ms 0ms 0ms 5s67ms 14 0 0ms 0ms 0ms 0ms 0ms 0ms 15 1 0ms 5s123ms 5s123ms 0ms 0ms 5s123ms 16 0 0ms 0ms 0ms 0ms 0ms 0ms 17 2 0ms 7s726ms 6s387ms 0ms 5s48ms 7s726ms 18 1 0ms 5s49ms 5s49ms 0ms 0ms 5s49ms 19 0 0ms 0ms 0ms 0ms 0ms 0ms 20 2 0ms 5s625ms 5s482ms 0ms 5s340ms 5s625ms 21 1 0ms 5s332ms 5s332ms 0ms 0ms 5s332ms 22 5 0ms 5s835ms 5s685ms 5s377ms 5s727ms 11s632ms 23 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 07 00 22 0 39s297ms 18s79ms 21s59ms 10m6s 01 16 0 12s627ms 12s334ms 19s954ms 33s213ms 02 12 0 13s677ms 5s613ms 12s553ms 35s52ms 03 5 0 11s250ms 0ms 5s663ms 20s805ms 04 21 0 10s920ms 12s388ms 18s31ms 33s164ms 05 18 0 12s425ms 12s415ms 12s672ms 20s962ms 06 16 0 11s270ms 5s911ms 18s4ms 20s722ms 07 13 0 12s629ms 7s839ms 12s427ms 21s53ms 08 19 0 14s688ms 12s393ms 20s800ms 26s796ms 09 1 0 5s21ms 0ms 0ms 5s21ms 10 2 0 5s358ms 0ms 0ms 5s641ms 11 0 0 0ms 0ms 0ms 0ms 12 1 0 5s15ms 0ms 0ms 5s15ms 13 1 0 5s67ms 0ms 0ms 5s67ms 14 0 0 0ms 0ms 0ms 0ms 15 1 0 5s123ms 0ms 0ms 5s123ms 16 0 0 0ms 0ms 0ms 0ms 17 2 0 6s387ms 0ms 0ms 7s726ms 18 1 0 5s49ms 0ms 0ms 5s49ms 19 0 0 0ms 0ms 0ms 0ms 20 2 0 5s482ms 0ms 0ms 5s625ms 21 1 0 5s332ms 0ms 0ms 5s332ms 22 5 0 5s685ms 0ms 5s377ms 11s632ms 23 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 07 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 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Sep 07 00 0 21 21.00 0.00% 01 0 16 16.00 0.00% 02 0 12 12.00 0.00% 03 0 5 5.00 0.00% 04 0 21 21.00 0.00% 05 0 18 18.00 0.00% 06 0 19 19.00 0.00% 07 0 14 14.00 0.00% 08 0 19 19.00 0.00% 09 0 1 1.00 0.00% 10 0 2 2.00 0.00% 11 0 0 0.00 0.00% 12 0 1 1.00 0.00% 13 0 1 1.00 0.00% 14 0 0 0.00 0.00% 15 0 1 1.00 0.00% 16 0 0 0.00 0.00% 17 0 2 2.00 0.00% 18 0 1 1.00 0.00% 19 0 0 0.00 0.00% 20 0 2 2.00 0.00% 21 0 1 1.00 0.00% 22 0 5 5.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Sep 07 00 92 0.03/s 01 93 0.03/s 02 92 0.03/s 03 234 0.07/s 04 109 0.03/s 05 109 0.03/s 06 85 0.02/s 07 90 0.03/s 08 110 0.03/s 09 81 0.02/s 10 87 0.02/s 11 79 0.02/s 12 81 0.02/s 13 79 0.02/s 14 76 0.02/s 15 76 0.02/s 16 81 0.02/s 17 80 0.02/s 18 81 0.02/s 19 78 0.02/s 20 79 0.02/s 21 81 0.02/s 22 163 0.05/s 23 64 0.02/s Day Hour Count Average Duration Average idle time Sep 07 00 92 26m51s 26m41s 01 93 26m2s 26m 02 92 26m12s 26m10s 03 234 11m12s 11m12s 04 109 21m5s 21m3s 05 109 21m48s 21m46s 06 85 28m13s 28m11s 07 90 27m28s 27m26s 08 110 22m2s 22m 09 81 29m56s 29m56s 10 87 27m27s 27m26s 11 79 29m51s 29m51s 12 81 30m4s 30m4s 13 79 30m32s 30m32s 14 76 30m11s 30m11s 15 76 30m28s 30m28s 16 81 29m46s 29m46s 17 80 29m51s 29m51s 18 81 30m 30m 19 78 30m12s 30m12s 20 79 30m4s 30m4s 21 81 27m27s 27m27s 22 159 15m40s 15m40s 23 67 31m12s 31m12s -
Connections
Established Connections
Key values
- 55 connections Connection Peak
- 2025-09-07 03:57:15 Date
Connections per database
Key values
- ctdprd51 Main Database
- 2,280 connections Total
Connections per user
Key values
- pubeu Main User
- 2,280 connections Total
-
Sessions
Simultaneous sessions
Key values
- 46 sessions Session Peak
- 2025-09-07 22:40:31 Date
Histogram of session times
Key values
- 1,771 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 2,279 sessions Total
Sessions per user
Key values
- pubeu Main User
- 2,279 sessions Total
Sessions per host
Key values
- 10.12.5.53 Main Host
- 2,279 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 77,494 buffers Checkpoint Peak
- 2025-09-07 02:05:48 Date
- 1619.351 seconds Highest write time
- 0.003 seconds Sync time
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- 2025-09-07 13:38:51 Date
Checkpoints distance
Key values
- 1,377.96 Mo Distance Peak
- 2025-09-07 11:35:48 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Sep 07 00 17,185 1,722.866s 0.005s 1,722.968s 01 144 14.523s 0.001s 14.538s 02 77,720 1,642.14s 0.004s 1,642.318s 03 5,607 561.539s 0.002s 561.62s 04 147 14.929s 0.002s 14.961s 05 938 94.135s 0.003s 94.165s 06 414 41.562s 0.002s 41.594s 07 606 60.792s 0.003s 60.867s 08 2,662 266.61s 0.002s 266.682s 09 180 18.215s 0.002s 18.245s 10 98 10.003s 0.002s 10.032s 11 66,825 1,619.351s 0.002s 1,619.53s 12 167 16.921s 0.003s 16.95s 13 106 10.8s 0.002s 10.831s 14 168 17.004s 0.002s 17.033s 15 61 6.295s 0.002s 6.324s 16 77 7.896s 0.002s 7.929s 17 64 6.403s 0.001s 6.419s 18 119 12.023s 0.001s 12.039s 19 70 7.183s 0.002s 7.213s 20 78 7.987s 0.002s 8.018s 21 160 16.212s 0.003s 16.243s 22 287 28.959s 0.002s 28.99s 23 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Sep 07 00 0 9 0 73 0.001s 0.002s 01 0 0 0 19 0.001s 0.001s 02 0 34 0 64 0.001s 0.003s 03 0 4 0 52 0.001s 0.002s 04 0 0 0 22 0.001s 0.002s 05 0 0 0 36 0.001s 0.002s 06 0 0 0 78 0.001s 0.002s 07 0 1 0 134 0.001s 0.002s 08 0 1 0 139 0.001s 0.002s 09 0 0 0 29 0.001s 0.002s 10 0 0 0 19 0.001s 0.002s 11 0 43 0 36 0.001s 0.001s 12 0 0 0 27 0.001s 0.002s 13 0 0 0 21 0.001s 0.002s 14 0 0 0 25 0.001s 0.002s 15 0 0 0 17 0.001s 0.002s 16 0 0 0 18 0.001s 0.002s 17 0 0 0 10 0.001s 0.001s 18 0 0 0 16 0.001s 0.001s 19 0 0 0 18 0.001s 0.002s 20 0 0 0 19 0.001s 0.002s 21 0 0 0 19 0.001s 0.002s 22 0 0 0 22 0.001s 0.002s 23 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Sep 07 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Sep 07 00 69,239.50 kB 129,218.50 kB 01 952.00 kB 110,394.00 kB 02 187,350.00 kB 506,495.33 kB 03 29,760.00 kB 393,946.00 kB 04 440.50 kB 319,237.50 kB 05 2,959.00 kB 259,159.50 kB 06 1,187.50 kB 210,108.50 kB 07 1,909.50 kB 170,514.00 kB 08 9,218.00 kB 139,193.00 kB 09 494.00 kB 113,596.50 kB 10 192.00 kB 92,049.50 kB 11 705,517.00 kB 705,517.00 kB 12 376.50 kB 603,282.00 kB 13 202.50 kB 488,699.50 kB 14 590.50 kB 395,921.50 kB 15 187.00 kB 320,770.50 kB 16 211.50 kB 259,863.00 kB 17 320.00 kB 221,603.00 kB 18 608.00 kB 199,504.00 kB 19 181.50 kB 170,606.50 kB 20 208.50 kB 138,231.00 kB 21 282.00 kB 112,017.50 kB 22 689.50 kB 90,856.50 kB 23 0.00 kB 0.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 07 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 6.76 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2025-09-07 01:25:50 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 6.76 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2025-09-07 01:25:50 Date
Analyzes per table
Key values
- pubc.log_query (27) Main table analyzed (database ctdprd51)
- 30 analyzes Total
Vacuums per table
Key values
- pubc.log_query (7) Main table vacuumed on database ctdprd51
- 9 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 7 7 4,850 0 508 2 10 904 231 1,677,754 ctdprd51.pub2.term_set_enrichment 1 0 2,516 0 794 0 0 1,205 2 81,286 ctdprd51.pub2.term_set_enrichment_agent 1 0 95,399 0 26,950 0 0 47,627 3 2,828,381 Total 9 7 102,765 3 28,252 2 10 49,736 236 4,587,421 Tuples removed per table
Key values
- pubc.log_query (32) Main table with removed tuples on database ctdprd51
- 32 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 07 00 1 5 01 2 6 02 1 3 03 0 2 04 0 2 05 1 2 06 0 2 07 1 2 08 1 2 09 0 0 10 1 2 11 0 0 12 0 1 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 1 0 23 0 0 - 6.76 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
- 159 Total read queries
- 0 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 125 Requests
- 24m27s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 296 Requests
User Request type Count Duration pubeu Total 296 59m57s select 296 59m57s unknown Total 97 29m56s others 1 7s309ms select 96 29m49s Duration by user
Key values
- 59m57s (pubeu) Main time consuming user
User Request type Count Duration pubeu Total 296 59m57s select 296 59m57s unknown Total 97 29m56s others 1 7s309ms select 96 29m49s Queries by host
Key values
- unknown Main host
- 393 Requests
- 1h29m54s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 160 Requests
- 41m4s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-09-07 05:55:58 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 98 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 9m45s /* * 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-07 00:10:08 ]
2 22s336ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 02:02:08 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
3 21s318ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 08:16:46 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
4 21s79ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 00:06:52 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
5 21s59ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 00:42:40 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
6 21s53ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 07:16:33 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
7 21s26ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 08:03:49 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
8 20s962ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 05:05:53 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
9 20s960ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 05:49:49 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
10 20s959ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 04:54:50 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
11 20s952ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 01:07:13 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 20s900ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 05:57:58 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 20s898ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 08:18:13 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 20s896ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 08:50:31 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
15 20s846ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 02:36:19 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 20s845ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 07:31:22 - Bind query: yes ]
17 20s843ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 02:51:00 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 20s815ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 01:09:45 - Bind query: yes ]
19 20s811ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 08:55:28 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 20s810ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;[ Date: 2025-09-07 02:07:48 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 29m17s 137 5s209ms 22s336ms 12s828ms select ? AS "Input", phenotypeterm.nm AS "PhenotypeName", phenotypeterm.acc_txt AS "PhenotypeID", diseaseterm.nm AS "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", ( select string_agg(distinct geneterm.nm, ?) from term geneterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneterm.id and ptr.via_term_object_type_id = ?) AS "GeneInferenceNetwork", ( select string_agg(distinct chemterm.nm, ?) from term chemterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemterm.id and ptr.via_term_object_type_id = ?) AS "ChemInferenceNetwork", ( select string_agg(distinct r.acc_txt, ?) from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where (phenotypeterm.id = ?) and diseaseterm.object_type_id = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 07 00 21 4m38s 13s276ms 01 15 3m17s 13s134ms 02 12 2m44s 13s677ms 03 4 51s163ms 12s790ms 04 21 3m49s 10s920ms 05 16 3m33s 13s343ms 06 16 3m 11s270ms 07 13 2m44s 12s629ms 08 19 4m39s 14s688ms [ User: pubeu - Total duration: 22m45s - Times executed: 106 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;
Date: 2025-09-07 02:02:08 Duration: 22s336ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;
Date: 2025-09-07 08:16:46 Duration: 21s318ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;
Date: 2025-09-07 00:06:52 Duration: 21s79ms Database: ctdprd51 User: pubeu Bind query: yes
2 9m45s 1 9m45s 9m45s 9m45s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 07 00 1 9m45s 9m45s -
/* * 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-07 00:10:08 Duration: 9m45s
3 55s670ms 11 5s15ms 5s123ms 5s60ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ? or d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 07 01 1 5s16ms 5s16ms 03 1 5s90ms 5s90ms 05 2 10s161ms 5s80ms 09 1 5s21ms 5s21ms 10 1 5s75ms 5s75ms 12 1 5s15ms 5s15ms 13 1 5s67ms 5s67ms 15 1 5s123ms 5s123ms 17 1 5s48ms 5s48ms 18 1 5s49ms 5s49ms [ User: pubeu - Total duration: 55s670ms - Times executed: 11 ]
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1322208)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5 OR d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2025-09-07 15:02:33 Duration: 5s123ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1322208)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5 OR d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2025-09-07 03:02:32 Duration: 5s90ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1322208)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5 OR d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2025-09-07 05:02:32 Duration: 5s87ms Database: ctdprd51 User: pubeu Bind query: yes
4 50s366ms 9 5s332ms 5s835ms 5s596ms 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 07 10 1 5s641ms 5s641ms 20 2 10s965ms 5s482ms 21 1 5s332ms 5s332ms 22 5 28s427ms 5s685ms [ User: pubeu - Total duration: 38s734ms - Times executed: 7 ]
-
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 = '1310937' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-09-07 22:18:20 Duration: 5s835ms Bind query: yes
-
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 = '1310937' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-09-07 22:18:26 Duration: 5s796ms Bind query: yes
-
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 = '1295161' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-09-07 22:16:56 Duration: 5s727ms Database: ctdprd51 User: pubeu Bind query: yes
5 7s726ms 1 7s726ms 7s726ms 7s726ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and i.id in ( select ixn_id from ixn_axn where action_type_nm = ? and action_degree_type_nm in (...)) group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 07 17 1 7s726ms 7s726ms [ User: pubeu - Total duration: 7s726ms - Times executed: 1 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE '2-DIETHYLAMINOETHANOL')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-09-07 17:57:57 Duration: 7s726ms Database: ctdprd51 User: pubeu Bind query: yes
6 7s309ms 1 7s309ms 7s309ms 7s309ms vacuum analyze log_query_archive;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 07 00 1 7s309ms 7s309ms -
VACUUM ANALYZE log_query_archive;
Date: 2025-09-07 00:10:16 Duration: 7s309ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 137 29m17s 5s209ms 22s336ms 12s828ms select ? AS "Input", phenotypeterm.nm AS "PhenotypeName", phenotypeterm.acc_txt AS "PhenotypeID", diseaseterm.nm AS "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", ( select string_agg(distinct geneterm.nm, ?) from term geneterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneterm.id and ptr.via_term_object_type_id = ?) AS "GeneInferenceNetwork", ( select string_agg(distinct chemterm.nm, ?) from term chemterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemterm.id and ptr.via_term_object_type_id = ?) AS "ChemInferenceNetwork", ( select string_agg(distinct r.acc_txt, ?) from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where (phenotypeterm.id = ?) and diseaseterm.object_type_id = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 07 00 21 4m38s 13s276ms 01 15 3m17s 13s134ms 02 12 2m44s 13s677ms 03 4 51s163ms 12s790ms 04 21 3m49s 10s920ms 05 16 3m33s 13s343ms 06 16 3m 11s270ms 07 13 2m44s 12s629ms 08 19 4m39s 14s688ms [ User: pubeu - Total duration: 22m45s - Times executed: 106 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;
Date: 2025-09-07 02:02:08 Duration: 22s336ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;
Date: 2025-09-07 08:16:46 Duration: 21s318ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;
Date: 2025-09-07 00:06:52 Duration: 21s79ms Database: ctdprd51 User: pubeu Bind query: yes
2 11 55s670ms 5s15ms 5s123ms 5s60ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ? or d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 07 01 1 5s16ms 5s16ms 03 1 5s90ms 5s90ms 05 2 10s161ms 5s80ms 09 1 5s21ms 5s21ms 10 1 5s75ms 5s75ms 12 1 5s15ms 5s15ms 13 1 5s67ms 5s67ms 15 1 5s123ms 5s123ms 17 1 5s48ms 5s48ms 18 1 5s49ms 5s49ms [ User: pubeu - Total duration: 55s670ms - Times executed: 11 ]
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1322208)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5 OR d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2025-09-07 15:02:33 Duration: 5s123ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1322208)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5 OR d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2025-09-07 03:02:32 Duration: 5s90ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1322208)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5 OR d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2025-09-07 05:02:32 Duration: 5s87ms Database: ctdprd51 User: pubeu Bind query: yes
3 9 50s366ms 5s332ms 5s835ms 5s596ms 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 #3
Day Hour Count Duration Avg duration Sep 07 10 1 5s641ms 5s641ms 20 2 10s965ms 5s482ms 21 1 5s332ms 5s332ms 22 5 28s427ms 5s685ms [ User: pubeu - Total duration: 38s734ms - Times executed: 7 ]
-
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 = '1310937' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-09-07 22:18:20 Duration: 5s835ms Bind query: yes
-
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 = '1310937' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-09-07 22:18:26 Duration: 5s796ms Bind query: yes
-
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 = '1295161' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-09-07 22:16:56 Duration: 5s727ms Database: ctdprd51 User: pubeu Bind query: yes
4 1 9m45s 9m45s 9m45s 9m45s select maint_query_logs_archive ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 07 00 1 9m45s 9m45s -
/* * 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-07 00:10:08 Duration: 9m45s
5 1 7s726ms 7s726ms 7s726ms 7s726ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and i.id in ( select ixn_id from ixn_axn where action_type_nm = ? and action_degree_type_nm in (...)) group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 07 17 1 7s726ms 7s726ms [ User: pubeu - Total duration: 7s726ms - Times executed: 1 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE '2-DIETHYLAMINOETHANOL')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-09-07 17:57:57 Duration: 7s726ms Database: ctdprd51 User: pubeu Bind query: yes
6 1 7s309ms 7s309ms 7s309ms 7s309ms vacuum analyze log_query_archive;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 07 00 1 7s309ms 7s309ms -
VACUUM ANALYZE log_query_archive;
Date: 2025-09-07 00:10:16 Duration: 7s309ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 9m45s 9m45s 9m45s 1 9m45s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 07 00 1 9m45s 9m45s -
/* * 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-07 00:10:08 Duration: 9m45s
2 5s209ms 22s336ms 12s828ms 137 29m17s select ? AS "Input", phenotypeterm.nm AS "PhenotypeName", phenotypeterm.acc_txt AS "PhenotypeID", diseaseterm.nm AS "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", ( select string_agg(distinct geneterm.nm, ?) from term geneterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneterm.id and ptr.via_term_object_type_id = ?) AS "GeneInferenceNetwork", ( select string_agg(distinct chemterm.nm, ?) from term chemterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemterm.id and ptr.via_term_object_type_id = ?) AS "ChemInferenceNetwork", ( select string_agg(distinct r.acc_txt, ?) from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where (phenotypeterm.id = ?) and diseaseterm.object_type_id = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 07 00 21 4m38s 13s276ms 01 15 3m17s 13s134ms 02 12 2m44s 13s677ms 03 4 51s163ms 12s790ms 04 21 3m49s 10s920ms 05 16 3m33s 13s343ms 06 16 3m 11s270ms 07 13 2m44s 12s629ms 08 19 4m39s 14s688ms [ User: pubeu - Total duration: 22m45s - Times executed: 106 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;
Date: 2025-09-07 02:02:08 Duration: 22s336ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;
Date: 2025-09-07 08:16:46 Duration: 21s318ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1268254) and diseaseTerm.object_type_id = 3;
Date: 2025-09-07 00:06:52 Duration: 21s79ms Database: ctdprd51 User: pubeu Bind query: yes
3 7s726ms 7s726ms 7s726ms 1 7s726ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and i.id in ( select ixn_id from ixn_axn where action_type_nm = ? and action_degree_type_nm in (...)) group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 07 17 1 7s726ms 7s726ms [ User: pubeu - Total duration: 7s726ms - Times executed: 1 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE '2-DIETHYLAMINOETHANOL')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-09-07 17:57:57 Duration: 7s726ms Database: ctdprd51 User: pubeu Bind query: yes
4 7s309ms 7s309ms 7s309ms 1 7s309ms vacuum analyze log_query_archive;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 07 00 1 7s309ms 7s309ms -
VACUUM ANALYZE log_query_archive;
Date: 2025-09-07 00:10:16 Duration: 7s309ms
5 5s332ms 5s835ms 5s596ms 9 50s366ms 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 #5
Day Hour Count Duration Avg duration Sep 07 10 1 5s641ms 5s641ms 20 2 10s965ms 5s482ms 21 1 5s332ms 5s332ms 22 5 28s427ms 5s685ms [ User: pubeu - Total duration: 38s734ms - Times executed: 7 ]
-
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 = '1310937' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-09-07 22:18:20 Duration: 5s835ms Bind query: yes
-
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 = '1310937' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-09-07 22:18:26 Duration: 5s796ms Bind query: yes
-
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 = '1295161' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-09-07 22:16:56 Duration: 5s727ms Database: ctdprd51 User: pubeu Bind query: yes
6 5s15ms 5s123ms 5s60ms 11 55s670ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ? or d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 07 01 1 5s16ms 5s16ms 03 1 5s90ms 5s90ms 05 2 10s161ms 5s80ms 09 1 5s21ms 5s21ms 10 1 5s75ms 5s75ms 12 1 5s15ms 5s15ms 13 1 5s67ms 5s67ms 15 1 5s123ms 5s123ms 17 1 5s48ms 5s48ms 18 1 5s49ms 5s49ms [ User: pubeu - Total duration: 55s670ms - Times executed: 11 ]
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1322208)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5 OR d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2025-09-07 15:02:33 Duration: 5s123ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1322208)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5 OR d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2025-09-07 03:02:32 Duration: 5s90ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1322208)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5 OR d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2025-09-07 05:02:32 Duration: 5s87ms 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 3 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Sep 07 06 2 0ms 0ms 07 1 0ms 0ms [ User: pubeu - Total duration: 33s368ms - Times executed: 2 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = 'go:0006915'
-
Events
Log levels
Key values
- 10,742 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 3 FATAL entries
- 0 ERROR entries
- 0 WARNING entries
- 0 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 3 Max number of times the same event was reported
- 3 Total events found
Rank Times reported Error 1 3 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #1
Day Hour Count Sep 07 22 1 23 2