-
Global information
- Generated on Sat Feb 28 04:15:03 2026
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20260227
- Parsed 16,570 log entries in 2s
- Log start from 2026-02-27 00:00:01 to 2026-02-27 23:54:11
-
Overview
Global Stats
- 30 Number of unique normalized queries
- 81 Number of queries
- 31m7s Total query duration
- 2026-02-27 00:09:11 First query
- 2026-02-27 20:08:33 Last query
- 2 queries/s at 2026-02-27 15:47:33 Query peak
- 31m7s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 31m7s Execute total duration
- 24 Number of events
- 8 Number of unique normalized events
- 10 Max number of times the same event was reported
- 0 Number of cancellation
- 6 Total number of automatic vacuums
- 19 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 1,992 Total number of sessions
- 63 sessions at 2026-02-27 18:06:53 Session peak
- 41d17h49m42s Total duration of sessions
- 30m10s Average duration of sessions
- 0 Average queries per session
- 937ms Average queries duration per session
- 30m9s Average idle time per session
- 1,998 Total number of connections
- 16 connections/s at 2026-02-27 14:00:26 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2026-02-27 15:47:33 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-02-27 15:47:33 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-02-27 10:01:06 Date
Queries duration
Key values
- 31m7s 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) Feb 27 00 2 0ms 9m9s 4m38s 0ms 0ms 9m16s 01 5 0ms 21s124ms 12s239ms 0ms 14s585ms 21s124ms 02 1 0ms 6s147ms 6s147ms 0ms 0ms 6s147ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 5 0ms 7s541ms 6s926ms 0ms 5s212ms 14s976ms 06 9 0ms 1m51s 24s247ms 20s702ms 46s898ms 1m51s 07 2 0ms 12s664ms 11s856ms 0ms 11s48ms 12s664ms 08 0 0ms 0ms 0ms 0ms 0ms 0ms 09 0 0ms 0ms 0ms 0ms 0ms 0ms 10 9 0ms 1m50s 24s167ms 20s796ms 46s814ms 1m50s 11 7 0ms 14s295ms 11s530ms 13s799ms 14s125ms 14s295ms 12 2 0ms 14s116ms 13s874ms 0ms 13s632ms 14s116ms 13 2 0ms 9s833ms 8s992ms 0ms 8s152ms 9s833ms 14 14 0ms 1m51s 18s579ms 20s925ms 53s343ms 1m51s 15 11 0ms 14s619ms 6s405ms 5s702ms 14s619ms 43s743ms 16 2 0ms 45s743ms 32s631ms 0ms 0ms 1m5s 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 9 0ms 1m51s 24s317ms 20s999ms 47s20ms 1m51s 19 0 0ms 0ms 0ms 0ms 0ms 0ms 20 1 0ms 8s907ms 8s907ms 0ms 0ms 8s907ms 21 0 0ms 0ms 0ms 0ms 0ms 0ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 27 00 1 0 9m9s 0ms 0ms 9m9s 01 5 0 12s239ms 0ms 0ms 21s124ms 02 1 0 6s147ms 0ms 0ms 6s147ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 5 0 6s926ms 0ms 0ms 14s976ms 06 0 9 24s247ms 0ms 20s702ms 1m51s 07 2 0 11s856ms 0ms 0ms 12s664ms 08 0 0 0ms 0ms 0ms 0ms 09 0 0 0ms 0ms 0ms 0ms 10 0 9 24s167ms 0ms 20s796ms 1m50s 11 7 0 11s530ms 0ms 13s799ms 14s295ms 12 2 0 13s874ms 0ms 0ms 14s116ms 13 2 0 8s992ms 0ms 0ms 9s833ms 14 5 9 18s579ms 0ms 20s925ms 1m51s 15 11 0 6s405ms 0ms 5s702ms 43s743ms 16 2 0 32s631ms 0ms 0ms 1m5s 17 0 0 0ms 0ms 0ms 0ms 18 0 9 24s317ms 0ms 20s999ms 1m51s 19 0 0 0ms 0ms 0ms 0ms 20 1 0 8s907ms 0ms 0ms 8s907ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 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) Feb 27 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 Feb 27 00 0 0 0.00 0.00% 01 0 5 5.00 0.00% 02 0 1 1.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 5 5.00 0.00% 06 0 0 0.00 0.00% 07 0 1 1.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 2 2.00 0.00% 12 0 0 0.00 0.00% 13 0 2 2.00 0.00% 14 0 5 5.00 0.00% 15 0 10 10.00 0.00% 16 0 2 2.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 1 1.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Feb 27 00 81 0.02/s 01 110 0.03/s 02 83 0.02/s 03 84 0.02/s 04 74 0.02/s 05 99 0.03/s 06 78 0.02/s 07 72 0.02/s 08 82 0.02/s 09 80 0.02/s 10 83 0.02/s 11 79 0.02/s 12 76 0.02/s 13 82 0.02/s 14 93 0.03/s 15 88 0.02/s 16 79 0.02/s 17 79 0.02/s 18 81 0.02/s 19 78 0.02/s 20 81 0.02/s 21 102 0.03/s 22 77 0.02/s 23 77 0.02/s Day Hour Count Average Duration Average idle time Feb 27 00 81 29m59s 29m53s 01 110 21m26s 21m25s 02 83 29m13s 29m13s 03 84 28m46s 28m46s 04 74 31m34s 31m34s 05 99 23m37s 23m37s 06 78 30m33s 30m30s 07 71 31m2s 31m2s 08 82 30m9s 30m9s 09 79 30m45s 30m45s 10 77 31m19s 31m16s 11 79 30m20s 30m19s 12 76 31m36s 31m36s 13 82 29m45s 29m44s 14 91 23m24s 23m22s 15 87 28m35s 28m34s 16 79 30m57s 30m56s 17 80 38m16s 38m16s 18 85 52m39s 52m36s 19 78 31m3s 31m3s 20 81 30m4s 30m4s 21 102 23m23s 23m23s 22 77 31m30s 31m30s 23 77 31m1s 31m1s -
Connections
Established Connections
Key values
- 16 connections Connection Peak
- 2026-02-27 14:00:26 Date
Connections per database
Key values
- ctdprd51 Main Database
- 1,998 connections Total
Connections per user
Key values
- pubeu Main User
- 1,998 connections Total
-
Sessions
Simultaneous sessions
Key values
- 63 sessions Session Peak
- 2026-02-27 18:06:53 Date
Histogram of session times
Key values
- 1,781 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 1,992 sessions Total
Sessions per user
Key values
- pubeu Main User
- 1,992 sessions Total
Sessions per host
Key values
- 10.12.5.53 Main Host
- 1,992 sessions Total
Host Count Total Duration Average Duration 10.12.5.45 381 7d23h36m53s 30m10s 10.12.5.46 375 7d23h52m22s 30m41s 10.12.5.52 2 1m25s 42s668ms 10.12.5.53 462 7d22h31m7s 24m44s 10.12.5.54 379 7d23h46m26s 30m21s 10.12.5.55 376 7d23h57m47s 30m37s 10.12.5.56 4 59s396ms 14s849ms 192.168.201.10 5 1d19h47m17s 8h45m27s ::1 8 15m23s 1m55s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 47,471 buffers Checkpoint Peak
- 2026-02-27 11:12:51 Date
- 1619.731 seconds Highest write time
- 0.002 seconds Sync time
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- 2026-02-27 10:16:06 Date
Checkpoints distance
Key values
- 1,033.94 Mo Distance Peak
- 2026-02-27 11:12:51 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Feb 27 00 1,193 119.761s 0.003s 119.773s 01 149 15.113s 0.002s 15.169s 02 32 3.384s 0.002s 3.392s 03 84 8.591s 0.002s 8.6s 04 1,409 141.275s 0.002s 141.283s 05 124 12.607s 0.002s 12.617s 06 272 27.468s 0.002s 27.477s 07 4,855 486.332s 0.002s 486.391s 08 373 37.563s 0.002s 37.572s 09 10,850 1,086.316s 0.002s 1,086.393s 10 150 15.12s 0.001s 15.124s 11 48,816 1,754.623s 0.004s 1,754.778s 12 220 22.218s 0.002s 22.228s 13 325 32.739s 0.002s 32.748s 14 393 39.486s 0.002s 39.495s 15 2,920 292.541s 0.002s 292.598s 16 162 16.406s 0.002s 16.414s 17 11 1.183s 0.001s 1.188s 18 48 5.081s 0.002s 5.09s 19 39 4.076s 0.002s 4.085s 20 227 22.912s 0.002s 22.921s 21 122 12.396s 0.002s 12.405s 22 99 10.099s 0.002s 10.109s 23 98 10.02s 0.002s 10.049s Day Hour Added Removed Recycled Synced files Longest sync Average sync Feb 27 00 0 0 0 64 0.001s 0.002s 01 0 1 0 32 0.001s 0.002s 02 0 0 0 19 0.001s 0.002s 03 0 0 0 23 0.001s 0.002s 04 0 0 0 40 0.001s 0.002s 05 0 0 0 26 0.001s 0.002s 06 0 0 0 79 0.001s 0.002s 07 0 3 0 130 0.001s 0.002s 08 0 0 0 81 0.001s 0.002s 09 0 7 0 125 0.001s 0.002s 10 0 0 0 65 0.001s 0.001s 11 0 33 0 250 0.001s 0.003s 12 0 0 0 74 0.001s 0.002s 13 0 0 0 117 0.001s 0.002s 14 0 0 0 160 0.001s 0.002s 15 0 2 0 73 0.001s 0.002s 16 0 0 0 24 0.001s 0.002s 17 0 0 0 8 0.001s 0.001s 18 0 0 0 20 0.001s 0.002s 19 0 0 0 16 0.001s 0.002s 20 0 0 0 40 0.001s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 0 26 0.001s 0.002s Day Hour Count Avg time (sec) Feb 27 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 Feb 27 00 1,810.50 kB 474,829.50 kB 01 381.00 kB 384,664.00 kB 02 57.00 kB 311,608.00 kB 03 205.50 kB 252,440.50 kB 04 4,301.50 kB 205,295.00 kB 05 274.00 kB 166,322.00 kB 06 743.00 kB 134,841.00 kB 07 20,147.00 kB 111,322.50 kB 08 1,038.50 kB 92,063.00 kB 09 58,074.50 kB 109,391.50 kB 10 809.00 kB 93,402.00 kB 11 179,758.00 kB 478,654.67 kB 12 600.50 kB 367,522.00 kB 13 899.50 kB 297,852.00 kB 14 954.50 kB 241,443.50 kB 15 13,386.00 kB 198,141.00 kB 16 151.50 kB 160,527.00 kB 17 21.00 kB 136,874.00 kB 18 41.00 kB 117,033.50 kB 19 36.00 kB 94,804.00 kB 20 429.00 kB 76,869.50 kB 21 128.00 kB 62,285.50 kB 22 129.50 kB 50,479.00 kB 23 243.00 kB 40,936.50 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 Feb 27 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
- 0.61 sec Highest CPU-cost vacuum
Table pg_toast.pg_toast_2619
Database ctdprd51 - 2026-02-27 00:09:56 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 0.61 sec Highest CPU-cost vacuum
Table pg_toast.pg_toast_2619
Database ctdprd51 - 2026-02-27 00:09:56 Date
Analyzes per table
Key values
- pubc.log_query (16) Main table analyzed (database ctdprd51)
- 19 analyzes Total
Vacuums per table
Key values
- pubc.log_query (2) Main table vacuumed on database ctdprd51
- 6 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 2 2 514 0 70 0 0 164 52 352,451 ctdprd51.pg_toast.pg_toast_2619 1 1 3,337 0 2,343 0 10,003 3,592 989 571,362 ctdprd51.pub2.term_set_enrichment_agent 1 0 39,569 0 0 0 0 19,764 1 1,174,495 ctdprd51.pg_catalog.pg_attribute 1 1 534 0 115 0 48 228 95 480,529 ctdprd51.pub2.term_set_enrichment 1 0 669 0 1 0 0 282 2 28,245 Total 6 4 44,623 2,137 2,529 0 10,051 24,030 1,139 2,607,082 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (3891) Main table with removed tuples on database ctdprd51
- 4460 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 1 1 3,891 20,721 0 0 12,592 ctdprd51.pg_catalog.pg_attribute 1 1 550 9,317 0 0 230 ctdprd51.pubc.log_query 2 2 19 2,026 0 0 76 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 2,199,369 0 0 24,994 ctdprd51.pub2.term_set_enrichment 1 0 0 31,280 0 0 516 Total 6 4 4,460 2,262,713 0 0 38,408 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_toast.pg_toast_2619 1 1 3891 0 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 0 ctdprd51.pg_catalog.pg_attribute 1 1 550 0 ctdprd51.pub2.term_set_enrichment 1 0 0 0 ctdprd51.pubc.log_query 2 2 19 0 Total 6 4 4,460 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Feb 27 00 2 1 01 1 3 02 0 0 03 0 2 04 0 0 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 2 2 11 0 1 12 0 1 13 1 0 14 0 1 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 - 0.61 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
- 44 Total read queries
- 36 Total write queries
Queries by database
Key values
- unknown Main database
- 41 Requests
- 23m5s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 110 Requests
User Request type Count Duration edit Total 1 12s664ms select 1 12s664ms editeu Total 2 26s79ms select 2 26s79ms load Total 1 5s148ms select 1 5s148ms postgres Total 16 17m26s copy to 16 17m26s pub1 Total 3 36s277ms select 3 36s277ms pub2 Total 4 42s12ms select 4 42s12ms pubc Total 1 9m9s select 1 9m9s pubeu Total 37 6m11s select 37 6m11s qaeu Total 25 47m29s select 25 47m29s unknown Total 110 6h51m30s copy to 56 11m48s ddl 3 1m2s others 12 59m34s select 39 5h39m5s Duration by user
Key values
- 6h51m30s (unknown) Main time consuming user
User Request type Count Duration edit Total 1 12s664ms select 1 12s664ms editeu Total 2 26s79ms select 2 26s79ms load Total 1 5s148ms select 1 5s148ms postgres Total 16 17m26s copy to 16 17m26s pub1 Total 3 36s277ms select 3 36s277ms pub2 Total 4 42s12ms select 4 42s12ms pubc Total 1 9m9s select 1 9m9s pubeu Total 37 6m11s select 37 6m11s qaeu Total 25 47m29s select 25 47m29s unknown Total 110 6h51m30s copy to 56 11m48s ddl 3 1m2s others 12 59m34s select 39 5h39m5s Queries by host
Key values
- unknown Main host
- 200 Requests
- 8h13m49s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 67 Requests
- 12m8s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-02-27 12:14:06 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 41 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 9m9s /* * 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: 2026-02-27 00:09:11 - Database: ctdprd51 - User: pubc - Application: psql ]
2 1m51s COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;[ Date: 2026-02-27 06:06:53 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
3 1m51s COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;[ Date: 2026-02-27 18:06:53 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
4 1m51s COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;[ Date: 2026-02-27 14:06:53 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
5 1m50s COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;[ Date: 2026-02-27 10:06:52 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
6 45s743ms SELECT /* NCBILinkOutDAO */ CAST(XMLELEMENT(name "Link", XMLELEMENT(name "LinkId", g.acc_txt), XMLELEMENT(name "ProviderId", '7845'), XMLELEMENT(name "ObjectSelector", XMLELEMENT(name "Database", 'Gene'), XMLELEMENT(name "ObjectList", ( SELECT XMLAGG(XMLFOREST(l.acc_txt AS "ObjId")) FROM db_link l WHERE l.object_type_id = g.object_type_id AND l.object_id = g.id AND l.type_cd = 'A'))), XMLELEMENT(name "ObjectUrl", XMLELEMENT(name "Base", 'http://ctdbase.org/detail.go?'), XMLELEMENT(name "Rule", 'type=gene&acc=' || g.acc_txt), XMLELEMENT(name "UrlName", 'CTD: Comparative Toxicogenomics Database - ' || g.nm))) AS TEXT) linkxml FROM term g WHERE g.object_type_id = get_object_type_id ('gene') ORDER BY g.acc_txt::int;[ Date: 2026-02-27 16:06:11 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
7 24s80ms COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;[ Date: 2026-02-27 18:07:17 ]
8 23s958ms COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;[ Date: 2026-02-27 10:07:16 ]
9 23s881ms COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;[ Date: 2026-02-27 14:07:17 ]
10 23s818ms COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;[ Date: 2026-02-27 06:07:17 ]
11 21s124ms SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2129321') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2026-02-27 01:29:54 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 19s519ms SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName, stressorTerm.acc_txt ExposureStressorID, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory, stressor.src_details StressorSourceDetails, stressor.sample_qty NumberOfStressorSamples, stressor.note StressorNotes, receptor.qty NumberOfReceptors, concat(receptor.description || ' ', receptorTerm.nm) Receptors, receptor.note ReceptorNotes, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus, receptor.age Age, receptor.age_uom_nm AgeUnitsOfMeasurement, receptor.age_qualifier_nm AgeQualifier, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, '|')) Methods, event.detection_limit DetectionLimit, event.detection_limit_uom DetectionLimitUOM, event.detection_freq DetectionFrequency, event.medium_nm Medium, exposureMarkerTerm.nm ExposureMarker, exposureMarkerTerm.acc_txt ExposureMarkerID, event.exp_marker_lvl MarkerLevel, assay_uom MarkerUnitsOfMeasurement, assay_measurement_stat MarkerMeasurementStatistic, assay_note AssayNotes, ( SELECT STRING_AGG(distinct country.nm, '|')) StudyCountries, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, '|')) StateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, '|')) CityTownRegionArea, event.note ExposureEventNotes, eiot.description OutcomeRelationship, diseaseTerm.nm DiseaseName, diseaseTerm.acc_txt DiseaseID, phenotypeTerm.nm PhenotypeName, phenotypeTerm.acc_txt PhenotypeID, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, '|')) Anatomy, outcome.note ExposureOutcomeNotes, e.reference_acc_txt Reference, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, '|')) AssociatedStudyTitles, event.collection_start_yr EnrollmentStartYear, event.collection_end_yr EnrollmentEndYear, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, '|')) StudyFactors, eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id GROUP BY ExposureStressorName, ExposureStressorID, StressorSourceDetails, NumberOfStressorSamples, StressorNotes, NumberOfReceptors, Receptors, ReceptorNotes, Medium, ExposureMarker, ExposureMarkerID, MarkerLevel, MarkerUnitsOfMeasurement, MarkerMeasurementStatistic, AssayNotes, OutcomeRelationship, DiseaseName, DiseaseID, PhenotypeName, PhenotypeID, PhenotypeActionDegreeType, Reference, EnrollmentStartYear, EnrollmentEndYear, Age, AgeUnitsOfMeasurement, AgeQualifier, DetectionLimit, DetectionLimitUOM, DetectionFrequency, ExposureEventNotes, ExposureOutcomeNotes, ignorecolumneventID order by ExposureStressorName;[ Date: 2026-02-27 16:06:34 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
13 19s191ms SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2129321') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2026-02-27 01:27:33 - Bind query: yes ]
14 18s891ms COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;[ Date: 2026-02-27 10:00:21 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
15 18s887ms COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;[ Date: 2026-02-27 14:00:21 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
16 18s884ms COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;[ Date: 2026-02-27 18:00:21 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
17 18s825ms COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;[ Date: 2026-02-27 06:00:21 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
18 15s485ms COPY pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;[ Date: 2026-02-27 14:07:32 ]
19 15s424ms COPY pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;[ Date: 2026-02-27 18:07:33 ]
20 15s414ms COPY pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;[ Date: 2026-02-27 10:07:31 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 9m9s 1 9m9s 9m9s 9m9s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 27 00 1 9m9s 9m9s [ User: pubc - Total duration: 9m9s - Times executed: 1 ]
[ Application: psql - Total duration: 9m9s - Times executed: 1 ]
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2026-02-27 00:09:11 Duration: 9m9s Database: ctdprd51 User: pubc Application: psql
2 7m24s 4 1m50s 1m51s 1m51s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 27 06 1 1m51s 1m51s 10 1 1m50s 1m50s 14 1 1m51s 1m51s 18 1 1m51s 1m51s [ User: postgres - Total duration: 7m24s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m24s - Times executed: 4 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 06:06:53 Duration: 1m51s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 18:06:53 Duration: 1m51s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 14:06:53 Duration: 1m51s Database: ctdprd51 User: postgres Application: pg_dump
3 1m35s 4 23s818ms 24s80ms 23s934ms copy pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 27 06 1 23s818ms 23s818ms 10 1 23s958ms 23s958ms 14 1 23s881ms 23s881ms 18 1 24s80ms 24s80ms -
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 18:07:17 Duration: 24s80ms
-
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 10:07:16 Duration: 23s958ms
-
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 14:07:17 Duration: 23s881ms
4 1m15s 4 18s825ms 18s891ms 18s872ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 27 06 1 18s825ms 18s825ms 10 1 18s891ms 18s891ms 14 1 18s887ms 18s887ms 18 1 18s884ms 18s884ms [ User: postgres - Total duration: 1m15s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 1m15s - Times executed: 4 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 10:00:21 Duration: 18s891ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:00:21 Duration: 18s887ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:00:21 Duration: 18s884ms Database: ctdprd51 User: postgres Application: pg_dump
5 1m4s 11 5s83ms 8s907ms 5s885ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 27 15 10 55s837ms 5s583ms 20 1 8s907ms 8s907ms [ User: pubeu - Total duration: 53s977ms - Times executed: 9 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1471150') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1471150') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2026-02-27 20:08:33 Duration: 8s907ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1300861') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1300861') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2026-02-27 15:43:20 Duration: 6s392ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1450321') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1450321') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2026-02-27 15:47:34 Duration: 6s257ms Database: ctdprd51 User: pubeu Bind query: yes
6 1m1s 4 15s356ms 15s485ms 15s420ms copy pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 27 06 1 15s356ms 15s356ms 10 1 15s414ms 15s414ms 14 1 15s485ms 15s485ms 18 1 15s424ms 15s424ms -
COPY pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2026-02-27 14:07:32 Duration: 15s485ms
-
COPY pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2026-02-27 18:07:33 Duration: 15s424ms
-
COPY pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2026-02-27 10:07:31 Duration: 15s414ms
7 58s573ms 4 14s549ms 14s700ms 14s643ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 27 06 1 14s629ms 14s629ms 10 1 14s549ms 14s549ms 14 1 14s700ms 14s700ms 18 1 14s692ms 14s692ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:00:51 Duration: 14s700ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:00:51 Duration: 14s692ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 06:00:51 Duration: 14s629ms
8 57s897ms 4 14s340ms 14s569ms 14s474ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 27 06 1 14s340ms 14s340ms 10 1 14s430ms 14s430ms 14 1 14s569ms 14s569ms 18 1 14s556ms 14s556ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:01:06 Duration: 14s569ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:01:06 Duration: 14s556ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 10:01:06 Duration: 14s430ms
9 45s743ms 1 45s743ms 45s743ms 45s743ms select cast(xmlelement(name "Link", xmlelement(name "LinkId", g.acc_txt), xmlelement(name "ProviderId", ?), xmlelement(name "ObjectSelector", xmlelement(name "Database", ?), xmlelement(name "ObjectList", ( select xmlagg(xmlforest(l.acc_txt AS "ObjId")) from db_link l where l.object_type_id = g.object_type_id and l.object_id = g.id and l.type_cd = ?))), xmlelement(name "ObjectUrl", xmlelement(name "Base", ?), xmlelement(name "Rule", ? || g.acc_txt), xmlelement(name "UrlName", ? || g.nm))) as text) linkxml from term g where g.object_type_id = get_object_type_id (?) order by g.acc_txt::int;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 27 16 1 45s743ms 45s743ms [ User: qaeu - Total duration: 45s743ms - Times executed: 1 ]
-
SELECT /* NCBILinkOutDAO */ CAST(XMLELEMENT(name "Link", XMLELEMENT(name "LinkId", g.acc_txt), XMLELEMENT(name "ProviderId", '7845'), XMLELEMENT(name "ObjectSelector", XMLELEMENT(name "Database", 'Gene'), XMLELEMENT(name "ObjectList", ( SELECT XMLAGG(XMLFOREST(l.acc_txt AS "ObjId")) FROM db_link l WHERE l.object_type_id = g.object_type_id AND l.object_id = g.id AND l.type_cd = 'A'))), XMLELEMENT(name "ObjectUrl", XMLELEMENT(name "Base", 'http://ctdbase.org/detail.go?'), XMLELEMENT(name "Rule", 'type=gene&acc=' || g.acc_txt), XMLELEMENT(name "UrlName", 'CTD: Comparative Toxicogenomics Database - ' || g.nm))) AS TEXT) linkxml FROM term g WHERE g.object_type_id = get_object_type_id ('gene') ORDER BY g.acc_txt::int;
Date: 2026-02-27 16:06:11 Duration: 45s743ms Database: ctdprd51 User: qaeu Bind query: yes
10 42s978ms 3 14s125ms 14s619ms 14s326ms select distinct # ? stressorterm.nm exposurestressorname # ?, stressorterm.acc_txt exposurestressorid # ?, ( select string_agg(distinct stressorsrctype.nm, ?)) stressorsourcecategory # ?, stressor.src_details stressorsourcedetails # ?, stressor.sample_qty numberofstressorsamples # ?, stressor.note stressornotes # ?, receptor.qty numberofreceptors # ?, concat(receptor.description || ?, receptorterm.nm) receptors # ?, receptor.note receptornotes # ?, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || replace(to_char(receptortobaccouse.pct, ?), ?, ?), ?)) smokingstatus # ?, receptor.age age # ?, receptor.age_uom_nm ageunitsofmeasurement # ?, receptor.age_qualifier_nm agequalifier # ?, ( select string_agg(distinct receptorgender.gender_nm || ? || replace(to_char(receptorgender.pct, ?), ?, ?), ?)) sex # ?, ( select string_agg(distinct receptorrace.race_nm || ? || replace(to_char(receptorrace.pct, ?), ?, ?), ?)) race # ?, ( select string_agg(distinct eventassaymethod.nm, ?)) methods # ?, event.detection_limit detectionlimit # ?, event.detection_limit_uom detectionlimituom # ?, event.detection_freq detectionfrequency # ?, event.medium_nm medium # ?, exposuremarkerterm.nm exposuremarker # ?, exposuremarkerterm.acc_txt exposuremarkerid # ?, event.exp_marker_lvl markerlevel # ?, assay_uom markerunitsofmeasurement # ?, assay_measurement_stat markermeasurementstatistic # ?, assay_note assaynotes # ?, ( select string_agg(distinct country.nm, ?)) studycountries # ?, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) stateorprovince # ?, ( select string_agg(distinct eventlocation.locality_txt, ?)) citytownregionarea # ?, event.note exposureeventnotes # ?, eiot.description outcomerelationship # ?, diseaseterm.nm diseasename # ?, diseaseterm.acc_txt diseaseid # ?, phenotypeterm.nm phenotypename # ?, phenotypeterm.acc_txt phenotypeid # ?, outcome.phenotype_action_degree_type_nm phenotypeactiondegreetype # ?, ( select string_agg(distinct anatomyterm.nm, ?)) anatomy # ?, outcome.note exposureoutcomenotes # ?, e.reference_acc_txt reference # ?, ( select string_agg(distinct eventproject.project_nm, ?)) associatedstudytitles # ?, event.collection_start_yr enrollmentstartyear # ?, event.collection_end_yr enrollmentendyear # ?, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) studyfactors # ?, eventlocation.exp_event_id ignorecolumneventid # ? from exposure e # ? inner join exp_stressor stressor on e.exp_stressor_id = stressor.id # ? inner join term stressorterm on stressor.chem_id = stressorterm.id # ? left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id # ? left outer join exp_event event on e.exp_event_id = event.id # ? left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id # ? left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id # ? left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id # ? left outer join term diseaseterm on outcome.disease_id = diseaseterm.id # ? left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id # ? left outer join term receptorterm on receptor.term_id = receptorterm.id # ? inner join reference r on e.reference_id = r.id # ? left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id # ? left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id # ? left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id # ? left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id # ? left outer join exp_receptor_gender receptorgender on receptor.id = receptorgender.exp_receptor_id # ? left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id # ? left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id # ? left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id # ? left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id # ? left outer join country on eventlocation.country_id = country.id # ? left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id # ? left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id # ? left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id # ? group by exposurestressorname # ?, exposurestressorid # ?, stressorsourcedetails # ?, numberofstressorsamples # ?, stressornotes # ?, numberofreceptors # ?, receptors # ?, receptornotes # ?, medium # ?, exposuremarker # ?, exposuremarkerid # ?, markerlevel # ?, markerunitsofmeasurement # ?, markermeasurementstatistic # ?, assaynotes # ?, outcomerelationship # ?, diseasename # ?, diseaseid # ?, phenotypename # ?, phenotypeid # ?, phenotypeactiondegreetype # ?, reference # ?, enrollmentstartyear # ?, enrollmentendyear # ?, age # ?, ageunitsofmeasurement # ?, agequalifier # ?, detectionlimit # ?, detectionlimituom # ?, detectionfrequency # ?, exposureeventnotes # ?, exposureoutcomenotes # ?, ignorecolumneventid # ? order by exposurestressorname # ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 27 11 2 28s359ms 14s179ms 15 1 14s619ms 14s619ms [ User: pub2 - Total duration: 28s745ms - Times executed: 2 ]
[ User: pub1 - Total duration: 14s233ms - Times executed: 1 ]
[ Application: psql - Total duration: 42s978ms - Times executed: 3 ]
-
SELECT DISTINCT /* AllExposuresDAO */ # 015 stressorTerm.nm ExposureStressorName # 015, stressorTerm.acc_txt ExposureStressorID # 015, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory # 015, stressor.src_details StressorSourceDetails # 015, stressor.sample_qty NumberOfStressorSamples # 015, stressor.note StressorNotes # 015, receptor.qty NumberOfReceptors # 015, concat(receptor.description || ' ', receptorTerm.nm) Receptors # 015, receptor.note ReceptorNotes # 015, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus # 015, receptor.age Age # 015, receptor.age_uom_nm AgeUnitsOfMeasurement # 015, receptor.age_qualifier_nm AgeQualifier # 015, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex # 015, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race # 015, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods # 015, event.detection_limit DetectionLimit # 015, event.detection_limit_uom DetectionLimitUOM # 015, event.detection_freq DetectionFrequency # 015, event.medium_nm Medium # 015, exposureMarkerTerm.nm ExposureMarker # 015, exposureMarkerTerm.acc_txt ExposureMarkerID # 015, event.exp_marker_lvl MarkerLevel # 015, assay_uom MarkerUnitsOfMeasurement # 015, assay_measurement_stat MarkerMeasurementStatistic # 015, assay_note AssayNotes # 015, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea # 015, event.note ExposureEventNotes # 015, eiot.description OutcomeRelationship # 015, diseaseTerm.nm DiseaseName # 015, diseaseTerm.acc_txt DiseaseID # 015, phenotypeTerm.nm PhenotypeName # 015, phenotypeTerm.acc_txt PhenotypeID # 015, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType # 015, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy # 015, outcome.note ExposureOutcomeNotes # 015, e.reference_acc_txt Reference # 015, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles # 015, event.collection_start_yr EnrollmentStartYear # 015, event.collection_end_yr EnrollmentEndYear # 015, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors # 015, eventLocation.exp_event_id ignorecolumneventID # 015 FROM exposure e # 015 inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id # 015 inner join term stressorTerm ON stressor.chem_id = stressorTerm.id # 015 left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id # 015 left outer join exp_event event ON e.exp_event_id = event.id # 015 left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id # 015 left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id # 015 left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id # 015 left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id # 015 left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id # 015 left outer join term receptorTerm ON receptor.term_id = receptorTerm.id # 015 inner join reference r ON e.reference_id = r.id # 015 left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id # 015 left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id # 015 left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id # 015 left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id # 015 left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id # 015 left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id # 015 left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id # 015 left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id # 015 left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id # 015 left outer join country ON eventLocation.country_id = country.id # 015 left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id # 015 left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id # 015 left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id # 015 GROUP BY ExposureStressorName # 015, ExposureStressorID # 015, StressorSourceDetails # 015, NumberOfStressorSamples # 015, StressorNotes # 015, NumberOfReceptors # 015, Receptors # 015, ReceptorNotes # 015, Medium # 015, ExposureMarker # 015, ExposureMarkerID # 015, MarkerLevel # 015, MarkerUnitsOfMeasurement # 015, MarkerMeasurementStatistic # 015, AssayNotes # 015, OutcomeRelationship # 015, DiseaseName # 015, DiseaseID # 015, PhenotypeName # 015, PhenotypeID # 015, PhenotypeActionDegreeType # 015, Reference # 015, EnrollmentStartYear # 015, EnrollmentEndYear # 015, Age # 015, AgeUnitsOfMeasurement # 015, AgeQualifier # 015, DetectionLimit # 015, DetectionLimitUOM # 015, DetectionFrequency # 015, ExposureEventNotes # 015, ExposureOutcomeNotes # 015, ignorecolumneventID # 015 order by ExposureStressorName # 015;
Date: 2026-02-27 15:51:02 Duration: 14s619ms Database: ctdprd51 User: pub2 Application: psql
-
SELECT DISTINCT /* AllExposuresDAO */ # 015 stressorTerm.nm ExposureStressorName # 015, stressorTerm.acc_txt ExposureStressorID # 015, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory # 015, stressor.src_details StressorSourceDetails # 015, stressor.sample_qty NumberOfStressorSamples # 015, stressor.note StressorNotes # 015, receptor.qty NumberOfReceptors # 015, concat(receptor.description || ' ', receptorTerm.nm) Receptors # 015, receptor.note ReceptorNotes # 015, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus # 015, receptor.age Age # 015, receptor.age_uom_nm AgeUnitsOfMeasurement # 015, receptor.age_qualifier_nm AgeQualifier # 015, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex # 015, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race # 015, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods # 015, event.detection_limit DetectionLimit # 015, event.detection_limit_uom DetectionLimitUOM # 015, event.detection_freq DetectionFrequency # 015, event.medium_nm Medium # 015, exposureMarkerTerm.nm ExposureMarker # 015, exposureMarkerTerm.acc_txt ExposureMarkerID # 015, event.exp_marker_lvl MarkerLevel # 015, assay_uom MarkerUnitsOfMeasurement # 015, assay_measurement_stat MarkerMeasurementStatistic # 015, assay_note AssayNotes # 015, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea # 015, event.note ExposureEventNotes # 015, eiot.description OutcomeRelationship # 015, diseaseTerm.nm DiseaseName # 015, diseaseTerm.acc_txt DiseaseID # 015, phenotypeTerm.nm PhenotypeName # 015, phenotypeTerm.acc_txt PhenotypeID # 015, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType # 015, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy # 015, outcome.note ExposureOutcomeNotes # 015, e.reference_acc_txt Reference # 015, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles # 015, event.collection_start_yr EnrollmentStartYear # 015, event.collection_end_yr EnrollmentEndYear # 015, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors # 015, eventLocation.exp_event_id ignorecolumneventID # 015 FROM exposure e # 015 inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id # 015 inner join term stressorTerm ON stressor.chem_id = stressorTerm.id # 015 left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id # 015 left outer join exp_event event ON e.exp_event_id = event.id # 015 left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id # 015 left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id # 015 left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id # 015 left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id # 015 left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id # 015 left outer join term receptorTerm ON receptor.term_id = receptorTerm.id # 015 inner join reference r ON e.reference_id = r.id # 015 left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id # 015 left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id # 015 left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id # 015 left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id # 015 left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id # 015 left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id # 015 left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id # 015 left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id # 015 left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id # 015 left outer join country ON eventLocation.country_id = country.id # 015 left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id # 015 left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id # 015 left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id # 015 GROUP BY ExposureStressorName # 015, ExposureStressorID # 015, StressorSourceDetails # 015, NumberOfStressorSamples # 015, StressorNotes # 015, NumberOfReceptors # 015, Receptors # 015, ReceptorNotes # 015, Medium # 015, ExposureMarker # 015, ExposureMarkerID # 015, MarkerLevel # 015, MarkerUnitsOfMeasurement # 015, MarkerMeasurementStatistic # 015, AssayNotes # 015, OutcomeRelationship # 015, DiseaseName # 015, DiseaseID # 015, PhenotypeName # 015, PhenotypeID # 015, PhenotypeActionDegreeType # 015, Reference # 015, EnrollmentStartYear # 015, EnrollmentEndYear # 015, Age # 015, AgeUnitsOfMeasurement # 015, AgeQualifier # 015, DetectionLimit # 015, DetectionLimitUOM # 015, DetectionFrequency # 015, ExposureEventNotes # 015, ExposureOutcomeNotes # 015, ignorecolumneventID # 015 order by ExposureStressorName # 015;
Date: 2026-02-27 11:49:04 Duration: 14s233ms Database: ctdprd51 User: pub1 Application: psql
-
SELECT DISTINCT /* AllExposuresDAO */ # 015 stressorTerm.nm ExposureStressorName # 015, stressorTerm.acc_txt ExposureStressorID # 015, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory # 015, stressor.src_details StressorSourceDetails # 015, stressor.sample_qty NumberOfStressorSamples # 015, stressor.note StressorNotes # 015, receptor.qty NumberOfReceptors # 015, concat(receptor.description || ' ', receptorTerm.nm) Receptors # 015, receptor.note ReceptorNotes # 015, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus # 015, receptor.age Age # 015, receptor.age_uom_nm AgeUnitsOfMeasurement # 015, receptor.age_qualifier_nm AgeQualifier # 015, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex # 015, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race # 015, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods # 015, event.detection_limit DetectionLimit # 015, event.detection_limit_uom DetectionLimitUOM # 015, event.detection_freq DetectionFrequency # 015, event.medium_nm Medium # 015, exposureMarkerTerm.nm ExposureMarker # 015, exposureMarkerTerm.acc_txt ExposureMarkerID # 015, event.exp_marker_lvl MarkerLevel # 015, assay_uom MarkerUnitsOfMeasurement # 015, assay_measurement_stat MarkerMeasurementStatistic # 015, assay_note AssayNotes # 015, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea # 015, event.note ExposureEventNotes # 015, eiot.description OutcomeRelationship # 015, diseaseTerm.nm DiseaseName # 015, diseaseTerm.acc_txt DiseaseID # 015, phenotypeTerm.nm PhenotypeName # 015, phenotypeTerm.acc_txt PhenotypeID # 015, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType # 015, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy # 015, outcome.note ExposureOutcomeNotes # 015, e.reference_acc_txt Reference # 015, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles # 015, event.collection_start_yr EnrollmentStartYear # 015, event.collection_end_yr EnrollmentEndYear # 015, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors # 015, eventLocation.exp_event_id ignorecolumneventID # 015 FROM exposure e # 015 inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id # 015 inner join term stressorTerm ON stressor.chem_id = stressorTerm.id # 015 left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id # 015 left outer join exp_event event ON e.exp_event_id = event.id # 015 left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id # 015 left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id # 015 left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id # 015 left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id # 015 left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id # 015 left outer join term receptorTerm ON receptor.term_id = receptorTerm.id # 015 inner join reference r ON e.reference_id = r.id # 015 left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id # 015 left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id # 015 left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id # 015 left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id # 015 left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id # 015 left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id # 015 left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id # 015 left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id # 015 left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id # 015 left outer join country ON eventLocation.country_id = country.id # 015 left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id # 015 left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id # 015 left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id # 015 GROUP BY ExposureStressorName # 015, ExposureStressorID # 015, StressorSourceDetails # 015, NumberOfStressorSamples # 015, StressorNotes # 015, NumberOfReceptors # 015, Receptors # 015, ReceptorNotes # 015, Medium # 015, ExposureMarker # 015, ExposureMarkerID # 015, MarkerLevel # 015, MarkerUnitsOfMeasurement # 015, MarkerMeasurementStatistic # 015, AssayNotes # 015, OutcomeRelationship # 015, DiseaseName # 015, DiseaseID # 015, PhenotypeName # 015, PhenotypeID # 015, PhenotypeActionDegreeType # 015, Reference # 015, EnrollmentStartYear # 015, EnrollmentEndYear # 015, Age # 015, AgeUnitsOfMeasurement # 015, AgeQualifier # 015, DetectionLimit # 015, DetectionLimitUOM # 015, DetectionFrequency # 015, ExposureEventNotes # 015, ExposureOutcomeNotes # 015, ignorecolumneventID # 015 order by ExposureStressorName # 015;
Date: 2026-02-27 11:50:08 Duration: 14s125ms Database: ctdprd51 User: pub2 Application: psql
11 40s316ms 2 19s191ms 21s124ms 20s158ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 27 01 2 40s316ms 20s158ms [ User: pubeu - Total duration: 21s124ms - Times executed: 1 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2129321') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-02-27 01:29:54 Duration: 21s124ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2129321') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-02-27 01:27:33 Duration: 19s191ms Bind query: yes
12 29s752ms 4 7s166ms 7s674ms 7s438ms 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 ptr.term_object_type_id = ? and ptr.phenotype_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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and taxonterm.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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) 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 asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 27 01 1 7s369ms 7s369ms 05 2 14s708ms 7s354ms 14 1 7s674ms 7s674ms [ User: pubeu - Total duration: 22s211ms - Times executed: 3 ]
[ User: qaeu - Total duration: 7s541ms - 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 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 14:05:10 Duration: 7s674ms Database: ctdprd51 User: pubeu Bind query: yes
-
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 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 05:44:20 Duration: 7s541ms Database: ctdprd51 User: qaeu Bind query: yes
-
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 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 01:43:46 Duration: 7s369ms Database: ctdprd51 User: pubeu Bind query: yes
13 29s428ms 4 7s320ms 7s421ms 7s357ms copy edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 27 06 1 7s347ms 7s347ms 10 1 7s320ms 7s320ms 14 1 7s421ms 7s421ms 18 1 7s337ms 7s337ms -
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:00:30 Duration: 7s421ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 06:00:30 Duration: 7s347ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:00:30 Duration: 7s337ms
14 29s418ms 4 7s215ms 7s489ms 7s354ms 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 ptr.term_object_type_id = ? and ptr.phenotype_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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_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 taxonterm.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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) 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 asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 27 01 1 7s215ms 7s215ms 05 2 14s713ms 7s356ms 14 1 7s489ms 7s489ms -
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 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 14:05:18 Duration: 7s489ms Bind query: yes
-
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 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 05:44:27 Duration: 7s434ms Bind query: yes
-
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 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 05:49:08 Duration: 7s278ms Bind query: yes
15 27s967ms 2 13s851ms 14s116ms 13s983ms select count(*) from ( select distinct stressorterm.nm exposurestressorname, stressorterm.acc_txt exposurestressorid, ( select string_agg(distinct stressorsrctype.nm, ?)) stressorsourcecategory, stressor.src_details stressorsourcedetails, stressor.sample_qty numberofstressorsamples, stressor.note stressornotes, receptor.qty numberofreceptors, concat(receptor.description || ?, receptorterm.nm) receptors, receptor.note receptornotes, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || replace(to_char(receptortobaccouse.pct, ?), ?, ?), ?)) smokingstatus, receptor.age age, receptor.age_uom_nm ageunitsofmeasurement, receptor.age_qualifier_nm agequalifier, ( select string_agg(distinct receptorgender.gender_nm || ? || replace(to_char(receptorgender.pct, ?), ?, ?), ?)) sex, ( select string_agg(distinct receptorrace.race_nm || ? || replace(to_char(receptorrace.pct, ?), ?, ?), ?)) race, ( select string_agg(distinct eventassaymethod.nm, ?)) methods, event.detection_limit detectionlimit, event.detection_limit_uom detectionlimituom, event.detection_freq detectionfrequency, event.medium_nm medium, exposuremarkerterm.nm exposuremarker, exposuremarkerterm.acc_txt exposuremarkerid, event.exp_marker_lvl markerlevel, assay_uom markerunitsofmeasurement, assay_measurement_stat markermeasurementstatistic, assay_note assaynotes, ( select string_agg(distinct country.nm, ?)) studycountries, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) citytownregionarea, event.note exposureeventnotes, eiot.description outcomerelationship, diseaseterm.nm diseasename, diseaseterm.acc_txt diseaseid, phenotypeterm.nm phenotypename, phenotypeterm.acc_txt phenotypeid, outcome.phenotype_action_degree_type_nm phenotypeactiondegreetype, ( select string_agg(distinct anatomyterm.nm, ?)) anatomy, outcome.note exposureoutcomenotes, e.reference_acc_txt reference, ( select string_agg(distinct eventproject.project_nm, ?)) associatedstudytitles, event.collection_start_yr enrollmentstartyear, event.collection_end_yr enrollmentendyear, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) studyfactors, eventlocation.exp_event_id ignorecolumneventid from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_receptor_gender receptorgender on receptor.id = receptorgender.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id group by exposurestressorname, exposurestressorid, stressorsourcedetails, numberofstressorsamples, stressornotes, numberofreceptors, receptors, receptornotes, medium, exposuremarker, exposuremarkerid, markerlevel, markerunitsofmeasurement, markermeasurementstatistic, assaynotes, outcomerelationship, diseasename, diseaseid, phenotypename, phenotypeid, phenotypeactiondegreetype, reference, enrollmentstartyear, enrollmentendyear, age, ageunitsofmeasurement, agequalifier, detectionlimit, detectionlimituom, detectionfrequency, exposureeventnotes, exposureoutcomenotes, ignorecolumneventid) as test;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 27 11 1 13s851ms 13s851ms 12 1 14s116ms 14s116ms -
select count(*) from ( SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName, stressorTerm.acc_txt ExposureStressorID, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory, stressor.src_details StressorSourceDetails, stressor.sample_qty NumberOfStressorSamples, stressor.note StressorNotes, receptor.qty NumberOfReceptors, concat(receptor.description || ' ', receptorTerm.nm) Receptors, receptor.note ReceptorNotes, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus, receptor.age Age, receptor.age_uom_nm AgeUnitsOfMeasurement, receptor.age_qualifier_nm AgeQualifier, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods, event.detection_limit DetectionLimit, event.detection_limit_uom DetectionLimitUOM, event.detection_freq DetectionFrequency, event.medium_nm Medium, exposureMarkerTerm.nm ExposureMarker, exposureMarkerTerm.acc_txt ExposureMarkerID, event.exp_marker_lvl MarkerLevel, assay_uom MarkerUnitsOfMeasurement, assay_measurement_stat MarkerMeasurementStatistic, assay_note AssayNotes, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea, event.note ExposureEventNotes, eiot.description OutcomeRelationship, diseaseTerm.nm DiseaseName, diseaseTerm.acc_txt DiseaseID, phenotypeTerm.nm PhenotypeName, phenotypeTerm.acc_txt PhenotypeID, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy, outcome.note ExposureOutcomeNotes, e.reference_acc_txt Reference, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles, event.collection_start_yr EnrollmentStartYear, event.collection_end_yr EnrollmentEndYear, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors, eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id GROUP BY ExposureStressorName, ExposureStressorID, StressorSourceDetails, NumberOfStressorSamples, StressorNotes, NumberOfReceptors, Receptors, ReceptorNotes, Medium, ExposureMarker, ExposureMarkerID, MarkerLevel, MarkerUnitsOfMeasurement, MarkerMeasurementStatistic, AssayNotes, OutcomeRelationship, DiseaseName, DiseaseID, PhenotypeName, PhenotypeID, PhenotypeActionDegreeType, Reference, EnrollmentStartYear, EnrollmentEndYear, Age, AgeUnitsOfMeasurement, AgeQualifier, DetectionLimit, DetectionLimitUOM, DetectionFrequency, ExposureEventNotes, ExposureOutcomeNotes, ignorecolumneventID) as test;
Date: 2026-02-27 12:24:41 Duration: 14s116ms
-
select count(*) from ( SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName, stressorTerm.acc_txt ExposureStressorID, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory, stressor.src_details StressorSourceDetails, stressor.sample_qty NumberOfStressorSamples, stressor.note StressorNotes, receptor.qty NumberOfReceptors, concat(receptor.description || ' ', receptorTerm.nm) Receptors, receptor.note ReceptorNotes, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus, receptor.age Age, receptor.age_uom_nm AgeUnitsOfMeasurement, receptor.age_qualifier_nm AgeQualifier, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods, event.detection_limit DetectionLimit, event.detection_limit_uom DetectionLimitUOM, event.detection_freq DetectionFrequency, event.medium_nm Medium, exposureMarkerTerm.nm ExposureMarker, exposureMarkerTerm.acc_txt ExposureMarkerID, event.exp_marker_lvl MarkerLevel, assay_uom MarkerUnitsOfMeasurement, assay_measurement_stat MarkerMeasurementStatistic, assay_note AssayNotes, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea, event.note ExposureEventNotes, eiot.description OutcomeRelationship, diseaseTerm.nm DiseaseName, diseaseTerm.acc_txt DiseaseID, phenotypeTerm.nm PhenotypeName, phenotypeTerm.acc_txt PhenotypeID, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy, outcome.note ExposureOutcomeNotes, e.reference_acc_txt Reference, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles, event.collection_start_yr EnrollmentStartYear, event.collection_end_yr EnrollmentEndYear, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors, eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id GROUP BY ExposureStressorName, ExposureStressorID, StressorSourceDetails, NumberOfStressorSamples, StressorNotes, NumberOfReceptors, Receptors, ReceptorNotes, Medium, ExposureMarker, ExposureMarkerID, MarkerLevel, MarkerUnitsOfMeasurement, MarkerMeasurementStatistic, AssayNotes, OutcomeRelationship, DiseaseName, DiseaseID, PhenotypeName, PhenotypeID, PhenotypeActionDegreeType, Reference, EnrollmentStartYear, EnrollmentEndYear, Age, AgeUnitsOfMeasurement, AgeQualifier, DetectionLimit, DetectionLimitUOM, DetectionFrequency, ExposureEventNotes, ExposureOutcomeNotes, ignorecolumneventID) as test;
Date: 2026-02-27 11:39:58 Duration: 13s851ms
16 25s527ms 4 6s356ms 6s442ms 6s381ms copy edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 27 06 1 6s362ms 6s362ms 10 1 6s365ms 6s365ms 14 1 6s356ms 6s356ms 18 1 6s442ms 6s442ms -
COPY edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:01:14 Duration: 6s442ms
-
COPY edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 10:01:14 Duration: 6s365ms
-
COPY edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 06:01:14 Duration: 6s362ms
17 24s342ms 4 6s52ms 6s105ms 6s85ms copy edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 27 06 1 6s94ms 6s94ms 10 1 6s52ms 6s52ms 14 1 6s89ms 6s89ms 18 1 6s105ms 6s105ms -
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:00:36 Duration: 6s105ms
-
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 06:00:36 Duration: 6s94ms
-
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:00:36 Duration: 6s89ms
18 19s519ms 1 19s519ms 19s519ms 19s519ms select distinct stressorterm.nm exposurestressorname, stressorterm.acc_txt exposurestressorid, ( select string_agg(distinct stressorsrctype.nm, ?)) stressorsourcecategory, stressor.src_details stressorsourcedetails, stressor.sample_qty numberofstressorsamples, stressor.note stressornotes, receptor.qty numberofreceptors, concat(receptor.description || ?, receptorterm.nm) receptors, receptor.note receptornotes, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || replace(to_char(receptortobaccouse.pct, ?), ?, ?), ?)) smokingstatus, receptor.age age, receptor.age_uom_nm ageunitsofmeasurement, receptor.age_qualifier_nm agequalifier, ( select string_agg(distinct receptorgender.gender_nm || ? || replace(to_char(receptorgender.pct, ?), ?, ?), ?)) sex, ( select string_agg(distinct receptorrace.race_nm || ? || replace(to_char(receptorrace.pct, ?), ?, ?), ?)) race, ( select string_agg(distinct eventassaymethod.nm, ?)) methods, event.detection_limit detectionlimit, event.detection_limit_uom detectionlimituom, event.detection_freq detectionfrequency, event.medium_nm medium, exposuremarkerterm.nm exposuremarker, exposuremarkerterm.acc_txt exposuremarkerid, event.exp_marker_lvl markerlevel, assay_uom markerunitsofmeasurement, assay_measurement_stat markermeasurementstatistic, assay_note assaynotes, ( select string_agg(distinct country.nm, ?)) studycountries, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) citytownregionarea, event.note exposureeventnotes, eiot.description outcomerelationship, diseaseterm.nm diseasename, diseaseterm.acc_txt diseaseid, phenotypeterm.nm phenotypename, phenotypeterm.acc_txt phenotypeid, outcome.phenotype_action_degree_type_nm phenotypeactiondegreetype, ( select string_agg(distinct anatomyterm.nm, ?)) anatomy, outcome.note exposureoutcomenotes, e.reference_acc_txt reference, ( select string_agg(distinct eventproject.project_nm, ?)) associatedstudytitles, event.collection_start_yr enrollmentstartyear, event.collection_end_yr enrollmentendyear, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) studyfactors, eventlocation.exp_event_id ignorecolumneventid from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_receptor_gender receptorgender on receptor.id = receptorgender.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id group by exposurestressorname, exposurestressorid, stressorsourcedetails, numberofstressorsamples, stressornotes, numberofreceptors, receptors, receptornotes, medium, exposuremarker, exposuremarkerid, markerlevel, markerunitsofmeasurement, markermeasurementstatistic, assaynotes, outcomerelationship, diseasename, diseaseid, phenotypename, phenotypeid, phenotypeactiondegreetype, reference, enrollmentstartyear, enrollmentendyear, age, ageunitsofmeasurement, agequalifier, detectionlimit, detectionlimituom, detectionfrequency, exposureeventnotes, exposureoutcomenotes, ignorecolumneventid order by exposurestressorname;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 27 16 1 19s519ms 19s519ms [ User: qaeu - Total duration: 19s519ms - Times executed: 1 ]
-
SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName, stressorTerm.acc_txt ExposureStressorID, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory, stressor.src_details StressorSourceDetails, stressor.sample_qty NumberOfStressorSamples, stressor.note StressorNotes, receptor.qty NumberOfReceptors, concat(receptor.description || ' ', receptorTerm.nm) Receptors, receptor.note ReceptorNotes, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus, receptor.age Age, receptor.age_uom_nm AgeUnitsOfMeasurement, receptor.age_qualifier_nm AgeQualifier, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, '|')) Methods, event.detection_limit DetectionLimit, event.detection_limit_uom DetectionLimitUOM, event.detection_freq DetectionFrequency, event.medium_nm Medium, exposureMarkerTerm.nm ExposureMarker, exposureMarkerTerm.acc_txt ExposureMarkerID, event.exp_marker_lvl MarkerLevel, assay_uom MarkerUnitsOfMeasurement, assay_measurement_stat MarkerMeasurementStatistic, assay_note AssayNotes, ( SELECT STRING_AGG(distinct country.nm, '|')) StudyCountries, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, '|')) StateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, '|')) CityTownRegionArea, event.note ExposureEventNotes, eiot.description OutcomeRelationship, diseaseTerm.nm DiseaseName, diseaseTerm.acc_txt DiseaseID, phenotypeTerm.nm PhenotypeName, phenotypeTerm.acc_txt PhenotypeID, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, '|')) Anatomy, outcome.note ExposureOutcomeNotes, e.reference_acc_txt Reference, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, '|')) AssociatedStudyTitles, event.collection_start_yr EnrollmentStartYear, event.collection_end_yr EnrollmentEndYear, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, '|')) StudyFactors, eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id GROUP BY ExposureStressorName, ExposureStressorID, StressorSourceDetails, NumberOfStressorSamples, StressorNotes, NumberOfReceptors, Receptors, ReceptorNotes, Medium, ExposureMarker, ExposureMarkerID, MarkerLevel, MarkerUnitsOfMeasurement, MarkerMeasurementStatistic, AssayNotes, OutcomeRelationship, DiseaseName, DiseaseID, PhenotypeName, PhenotypeID, PhenotypeActionDegreeType, Reference, EnrollmentStartYear, EnrollmentEndYear, Age, AgeUnitsOfMeasurement, AgeQualifier, DetectionLimit, DetectionLimitUOM, DetectionFrequency, ExposureEventNotes, ExposureOutcomeNotes, ignorecolumneventID order by ExposureStressorName;
Date: 2026-02-27 16:06:34 Duration: 19s519ms Database: ctdprd51 User: qaeu Bind query: yes
19 17s985ms 2 8s152ms 9s833ms 8s992ms 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 i.id in ( select ixn_id from ixn_anatomy where anatomy_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 asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 27 13 2 17s985ms 8s992ms [ User: pubeu - Total duration: 9s833ms - 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 i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'KIDNEY TUBULES, PROXIMAL'))) 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 asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 13:37:59 Duration: 9s833ms Database: ctdprd51 User: pubeu Bind query: yes
-
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 i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'MITOCHONDRIA'))) 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 asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 13:38:20 Duration: 8s152ms Bind query: yes
20 15s30ms 1 15s30ms 15s30ms 15s30ms select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, ?), taxon.nm from edit.ixn_actor a left outer join pub2.term t on a.acc_txt = t.acc_txt and a.object_type_id = t.object_type_id inner join edit.object_type o on a.object_type_id = o.id inner join edit.ixn i on a.ixn_id = i.id inner join edit.reference_ixn ri on i.root_id = ri.ixn_id left outer join pub2.term taxon on ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = ? where (upper(a.object_nm) <> upper(t.nm) or t.nm is null) union select distinct i.root_id, edit.get_ixn_prose (i.root_id), ?, a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, ?, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, ?), taxon.nm from edit.reference_ixn_anatomy a left outer join pub2.term t on a.anatomy_acc_txt = t.acc_txt and t.object_type_id = ? inner join edit.reference_ixn ri on a.reference_ixn_id = ri.id inner join edit.ixn i on ri.ixn_id = i.id left outer join pub2.term taxon on ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = ? where (upper(a.anatomy_nm) <> upper(t.nm) or t.nm is null) union select e.id, ?, ?, etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_anatomy etn left outer join pub2.term t on etn.anatomy_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.exp_outcome_id where (upper(etn.anatomy_term_nm) <> upper(t.nm) or t.nm is null) and anatomy_acc_txt is not null and anatomy_acc_txt <> ? union select e.id, ?, ?, etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_stressor etn left outer join pub2.term t on etn.chem_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_stressor_id = etn.id where (upper(etn.chem_term_nm) <> upper(t.nm) or t.nm is null) and chem_acc_txt is not null and chem_acc_txt <> ? union select e.id, ?, ?, etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_outcome etn left outer join pub2.term t on etn.disease_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.id where (upper(etn.disease_term_nm) <> upper(t.nm) or t.nm is null) and disease_acc_txt is not null and disease_acc_txt <> ? union select e.id, ?, ?, etn.phenotype_acc_txt as term_acc_txt, etn.phenotype_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_outcome etn left outer join pub2.term t on etn.phenotype_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.id where (upper(etn.phenotype_term_nm) <> upper(t.nm) or t.nm is null) and phenotype_acc_txt is not null and phenotype_acc_txt <> ? union select e.id, ?, o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_receptor etn left outer join pub2.term t on etn.term_acc_txt = t.acc_txt and etn.object_type_id = t.object_type_id inner join edit.object_type o on etn.object_type_id = o.id inner join edit.exposure e on e.exp_receptor_id = etn.id where (upper(etn.term_nm) <> upper(t.nm) or t.nm is null) and term_acc_txt is not null and term_acc_txt <> ? union select etn.id, ?, o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, ?, t.nm, t.acc_txt, ?, ?, ?, ? from edit.medium etn left outer join pub2.term t on etn.term_acc_txt = t.acc_txt and etn.term_object_type_id = t.object_type_id inner join edit.object_type o on etn.term_object_type_id = o.id where (upper(etn.term_nm) <> upper(t.nm) or t.nm is null) and etn.term_acc_txt is not null and etn.term_acc_txt <> ? union select etn.id, ?, o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_event etn inner join edit.exp_marker_type emt on etn.exp_marker_type_id = emt.id inner join edit.object_type o on emt.object_type_id = o.id left outer join pub2.term t on etn.exp_marker_acc_txt = t.acc_txt and o.id = t.object_type_id inner join edit.exposure e on e.exp_event_id = etn.id where (upper(etn.exp_marker_term_nm) <> upper(t.nm) or t.nm is null) and etn.exp_marker_acc_txt is not null and exp_marker_acc_txt <> ? order by term_nm, term_acc_txt;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 27 14 1 15s30ms 15s30ms [ User: editeu - Total duration: 15s30ms - Times executed: 1 ]
-
select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.IXN_ACTOR a LEFT OUTER JOIN pub2.TERM t ON a.acc_txt = t.acc_txt AND a.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON a.object_type_id = o.id INNER JOIN edit.IXN i ON a.ixn_id = i.id INNER JOIN edit.REFERENCE_IXN ri ON i.root_id = ri.ixn_id LEFT OUTER JOIN pub2.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.object_nm) <> upper(t.nm) OR t.nm is null) UNION select distinct i.root_id, edit.get_ixn_prose (i.root_id), 'anatomy', a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, '', t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.REFERENCE_IXN_ANATOMY a LEFT OUTER JOIN pub2.TERM t ON a.anatomy_acc_txt = t.acc_txt AND t.object_type_id = 10 INNER JOIN edit.REFERENCE_IXN ri ON a.reference_ixn_id = ri.id INNER JOIN edit.IXN i ON ri.ixn_id = i.id LEFT OUTER JOIN pub2.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.anatomy_nm) <> upper(t.nm) OR t.nm is null) UNION select e.id, '', 'anatomy', etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_ANATOMY etn LEFT OUTER JOIN pub2.TERM t ON etn.anatomy_acc_txt = t.acc_txt AND 10 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 10 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.exp_outcome_id WHERE (upper(etn.anatomy_term_nm) <> upper(t.nm) OR t.nm is null) and anatomy_acc_txt is not null AND anatomy_acc_txt <> '' UNION select e.id, '', 'chem', etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_STRESSOR etn LEFT OUTER JOIN pub2.TERM t ON etn.chem_acc_txt = t.acc_txt AND 2 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 2 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = etn.id WHERE (upper(etn.chem_term_nm) <> upper(t.nm) OR t.nm is null) and chem_acc_txt is not null AND chem_acc_txt <> '' UNION select e.id, '', 'disease', etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub2.TERM t ON etn.disease_acc_txt = t.acc_txt AND 3 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 3 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.disease_term_nm) <> upper(t.nm) OR t.nm is null) and disease_acc_txt is not null AND disease_acc_txt <> '' UNION select e.id, '', 'go', etn.phenotype_acc_txt as term_acc_txt, etn.PHENOTYPE_TERM_NM as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub2.TERM t ON etn.phenotype_acc_txt = t.acc_txt AND 5 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 5 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.PHENOTYPE_TERM_NM) <> upper(t.nm) OR t.nm is null) and phenotype_acc_txt is not null AND phenotype_acc_txt <> '' UNION select e.id, '', o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_RECEPTOR etn LEFT OUTER JOIN pub2.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.object_type_id = o.id INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = etn.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and term_acc_txt is not null AND term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Medium Record - No Seq', t.nm, t.acc_txt, '', -- reference accession '', -- create_by '', -- create_tm 'Medium Record - no Taxon' from edit.MEDIUM etn LEFT OUTER JOIN pub2.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.term_object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.term_object_type_id = o.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and etn.term_acc_txt is not null AND etn.term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_EVENT etn INNER JOIN edit.EXP_MARKER_TYPE emt ON etn.exp_marker_type_id = emt.id INNER JOIN edit.OBJECT_TYPE o ON emt.object_type_id = o.id LEFT OUTER JOIN pub2.TERM t ON etn.exp_marker_acc_txt = t.acc_txt AND o.id = t.object_type_id INNER JOIN edit.EXPOSURE e ON e.exp_event_id = etn.id WHERE (upper(etn.exp_marker_term_nm) <> upper(t.nm) OR t.nm is null) and etn.exp_marker_acc_txt is not null AND exp_marker_acc_txt <> '' order by term_nm, term_acc_txt;
Date: 2026-02-27 14:04:35 Duration: 15s30ms Database: ctdprd51 User: editeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 11 1m4s 5s83ms 8s907ms 5s885ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 27 15 10 55s837ms 5s583ms 20 1 8s907ms 8s907ms [ User: pubeu - Total duration: 53s977ms - Times executed: 9 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1471150') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1471150') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2026-02-27 20:08:33 Duration: 8s907ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1300861') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1300861') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2026-02-27 15:43:20 Duration: 6s392ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1450321') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1450321') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2026-02-27 15:47:34 Duration: 6s257ms Database: ctdprd51 User: pubeu Bind query: yes
2 4 7m24s 1m50s 1m51s 1m51s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 27 06 1 1m51s 1m51s 10 1 1m50s 1m50s 14 1 1m51s 1m51s 18 1 1m51s 1m51s [ User: postgres - Total duration: 7m24s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m24s - Times executed: 4 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 06:06:53 Duration: 1m51s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 18:06:53 Duration: 1m51s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 14:06:53 Duration: 1m51s Database: ctdprd51 User: postgres Application: pg_dump
3 4 1m35s 23s818ms 24s80ms 23s934ms copy pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 27 06 1 23s818ms 23s818ms 10 1 23s958ms 23s958ms 14 1 23s881ms 23s881ms 18 1 24s80ms 24s80ms -
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 18:07:17 Duration: 24s80ms
-
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 10:07:16 Duration: 23s958ms
-
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 14:07:17 Duration: 23s881ms
4 4 1m15s 18s825ms 18s891ms 18s872ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 27 06 1 18s825ms 18s825ms 10 1 18s891ms 18s891ms 14 1 18s887ms 18s887ms 18 1 18s884ms 18s884ms [ User: postgres - Total duration: 1m15s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 1m15s - Times executed: 4 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 10:00:21 Duration: 18s891ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:00:21 Duration: 18s887ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:00:21 Duration: 18s884ms Database: ctdprd51 User: postgres Application: pg_dump
5 4 1m1s 15s356ms 15s485ms 15s420ms copy pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 27 06 1 15s356ms 15s356ms 10 1 15s414ms 15s414ms 14 1 15s485ms 15s485ms 18 1 15s424ms 15s424ms -
COPY pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2026-02-27 14:07:32 Duration: 15s485ms
-
COPY pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2026-02-27 18:07:33 Duration: 15s424ms
-
COPY pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2026-02-27 10:07:31 Duration: 15s414ms
6 4 58s573ms 14s549ms 14s700ms 14s643ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 27 06 1 14s629ms 14s629ms 10 1 14s549ms 14s549ms 14 1 14s700ms 14s700ms 18 1 14s692ms 14s692ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:00:51 Duration: 14s700ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:00:51 Duration: 14s692ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 06:00:51 Duration: 14s629ms
7 4 57s897ms 14s340ms 14s569ms 14s474ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 27 06 1 14s340ms 14s340ms 10 1 14s430ms 14s430ms 14 1 14s569ms 14s569ms 18 1 14s556ms 14s556ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:01:06 Duration: 14s569ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:01:06 Duration: 14s556ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 10:01:06 Duration: 14s430ms
8 4 29s752ms 7s166ms 7s674ms 7s438ms 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 ptr.term_object_type_id = ? and ptr.phenotype_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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and taxonterm.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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) 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 asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 27 01 1 7s369ms 7s369ms 05 2 14s708ms 7s354ms 14 1 7s674ms 7s674ms [ User: pubeu - Total duration: 22s211ms - Times executed: 3 ]
[ User: qaeu - Total duration: 7s541ms - 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 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 14:05:10 Duration: 7s674ms Database: ctdprd51 User: pubeu Bind query: yes
-
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 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 05:44:20 Duration: 7s541ms Database: ctdprd51 User: qaeu Bind query: yes
-
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 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 01:43:46 Duration: 7s369ms Database: ctdprd51 User: pubeu Bind query: yes
9 4 29s428ms 7s320ms 7s421ms 7s357ms copy edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 27 06 1 7s347ms 7s347ms 10 1 7s320ms 7s320ms 14 1 7s421ms 7s421ms 18 1 7s337ms 7s337ms -
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:00:30 Duration: 7s421ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 06:00:30 Duration: 7s347ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:00:30 Duration: 7s337ms
10 4 29s418ms 7s215ms 7s489ms 7s354ms 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 ptr.term_object_type_id = ? and ptr.phenotype_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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_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 taxonterm.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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) 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 asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 27 01 1 7s215ms 7s215ms 05 2 14s713ms 7s356ms 14 1 7s489ms 7s489ms -
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 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 14:05:18 Duration: 7s489ms Bind query: yes
-
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 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 05:44:27 Duration: 7s434ms Bind query: yes
-
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 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 05:49:08 Duration: 7s278ms Bind query: yes
11 4 25s527ms 6s356ms 6s442ms 6s381ms copy edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 27 06 1 6s362ms 6s362ms 10 1 6s365ms 6s365ms 14 1 6s356ms 6s356ms 18 1 6s442ms 6s442ms -
COPY edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:01:14 Duration: 6s442ms
-
COPY edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 10:01:14 Duration: 6s365ms
-
COPY edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 06:01:14 Duration: 6s362ms
12 4 24s342ms 6s52ms 6s105ms 6s85ms copy edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 27 06 1 6s94ms 6s94ms 10 1 6s52ms 6s52ms 14 1 6s89ms 6s89ms 18 1 6s105ms 6s105ms -
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:00:36 Duration: 6s105ms
-
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 06:00:36 Duration: 6s94ms
-
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:00:36 Duration: 6s89ms
13 3 42s978ms 14s125ms 14s619ms 14s326ms select distinct # ? stressorterm.nm exposurestressorname # ?, stressorterm.acc_txt exposurestressorid # ?, ( select string_agg(distinct stressorsrctype.nm, ?)) stressorsourcecategory # ?, stressor.src_details stressorsourcedetails # ?, stressor.sample_qty numberofstressorsamples # ?, stressor.note stressornotes # ?, receptor.qty numberofreceptors # ?, concat(receptor.description || ?, receptorterm.nm) receptors # ?, receptor.note receptornotes # ?, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || replace(to_char(receptortobaccouse.pct, ?), ?, ?), ?)) smokingstatus # ?, receptor.age age # ?, receptor.age_uom_nm ageunitsofmeasurement # ?, receptor.age_qualifier_nm agequalifier # ?, ( select string_agg(distinct receptorgender.gender_nm || ? || replace(to_char(receptorgender.pct, ?), ?, ?), ?)) sex # ?, ( select string_agg(distinct receptorrace.race_nm || ? || replace(to_char(receptorrace.pct, ?), ?, ?), ?)) race # ?, ( select string_agg(distinct eventassaymethod.nm, ?)) methods # ?, event.detection_limit detectionlimit # ?, event.detection_limit_uom detectionlimituom # ?, event.detection_freq detectionfrequency # ?, event.medium_nm medium # ?, exposuremarkerterm.nm exposuremarker # ?, exposuremarkerterm.acc_txt exposuremarkerid # ?, event.exp_marker_lvl markerlevel # ?, assay_uom markerunitsofmeasurement # ?, assay_measurement_stat markermeasurementstatistic # ?, assay_note assaynotes # ?, ( select string_agg(distinct country.nm, ?)) studycountries # ?, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) stateorprovince # ?, ( select string_agg(distinct eventlocation.locality_txt, ?)) citytownregionarea # ?, event.note exposureeventnotes # ?, eiot.description outcomerelationship # ?, diseaseterm.nm diseasename # ?, diseaseterm.acc_txt diseaseid # ?, phenotypeterm.nm phenotypename # ?, phenotypeterm.acc_txt phenotypeid # ?, outcome.phenotype_action_degree_type_nm phenotypeactiondegreetype # ?, ( select string_agg(distinct anatomyterm.nm, ?)) anatomy # ?, outcome.note exposureoutcomenotes # ?, e.reference_acc_txt reference # ?, ( select string_agg(distinct eventproject.project_nm, ?)) associatedstudytitles # ?, event.collection_start_yr enrollmentstartyear # ?, event.collection_end_yr enrollmentendyear # ?, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) studyfactors # ?, eventlocation.exp_event_id ignorecolumneventid # ? from exposure e # ? inner join exp_stressor stressor on e.exp_stressor_id = stressor.id # ? inner join term stressorterm on stressor.chem_id = stressorterm.id # ? left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id # ? left outer join exp_event event on e.exp_event_id = event.id # ? left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id # ? left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id # ? left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id # ? left outer join term diseaseterm on outcome.disease_id = diseaseterm.id # ? left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id # ? left outer join term receptorterm on receptor.term_id = receptorterm.id # ? inner join reference r on e.reference_id = r.id # ? left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id # ? left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id # ? left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id # ? left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id # ? left outer join exp_receptor_gender receptorgender on receptor.id = receptorgender.exp_receptor_id # ? left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id # ? left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id # ? left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id # ? left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id # ? left outer join country on eventlocation.country_id = country.id # ? left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id # ? left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id # ? left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id # ? group by exposurestressorname # ?, exposurestressorid # ?, stressorsourcedetails # ?, numberofstressorsamples # ?, stressornotes # ?, numberofreceptors # ?, receptors # ?, receptornotes # ?, medium # ?, exposuremarker # ?, exposuremarkerid # ?, markerlevel # ?, markerunitsofmeasurement # ?, markermeasurementstatistic # ?, assaynotes # ?, outcomerelationship # ?, diseasename # ?, diseaseid # ?, phenotypename # ?, phenotypeid # ?, phenotypeactiondegreetype # ?, reference # ?, enrollmentstartyear # ?, enrollmentendyear # ?, age # ?, ageunitsofmeasurement # ?, agequalifier # ?, detectionlimit # ?, detectionlimituom # ?, detectionfrequency # ?, exposureeventnotes # ?, exposureoutcomenotes # ?, ignorecolumneventid # ? order by exposurestressorname # ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 27 11 2 28s359ms 14s179ms 15 1 14s619ms 14s619ms [ User: pub2 - Total duration: 28s745ms - Times executed: 2 ]
[ User: pub1 - Total duration: 14s233ms - Times executed: 1 ]
[ Application: psql - Total duration: 42s978ms - Times executed: 3 ]
-
SELECT DISTINCT /* AllExposuresDAO */ # 015 stressorTerm.nm ExposureStressorName # 015, stressorTerm.acc_txt ExposureStressorID # 015, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory # 015, stressor.src_details StressorSourceDetails # 015, stressor.sample_qty NumberOfStressorSamples # 015, stressor.note StressorNotes # 015, receptor.qty NumberOfReceptors # 015, concat(receptor.description || ' ', receptorTerm.nm) Receptors # 015, receptor.note ReceptorNotes # 015, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus # 015, receptor.age Age # 015, receptor.age_uom_nm AgeUnitsOfMeasurement # 015, receptor.age_qualifier_nm AgeQualifier # 015, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex # 015, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race # 015, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods # 015, event.detection_limit DetectionLimit # 015, event.detection_limit_uom DetectionLimitUOM # 015, event.detection_freq DetectionFrequency # 015, event.medium_nm Medium # 015, exposureMarkerTerm.nm ExposureMarker # 015, exposureMarkerTerm.acc_txt ExposureMarkerID # 015, event.exp_marker_lvl MarkerLevel # 015, assay_uom MarkerUnitsOfMeasurement # 015, assay_measurement_stat MarkerMeasurementStatistic # 015, assay_note AssayNotes # 015, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea # 015, event.note ExposureEventNotes # 015, eiot.description OutcomeRelationship # 015, diseaseTerm.nm DiseaseName # 015, diseaseTerm.acc_txt DiseaseID # 015, phenotypeTerm.nm PhenotypeName # 015, phenotypeTerm.acc_txt PhenotypeID # 015, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType # 015, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy # 015, outcome.note ExposureOutcomeNotes # 015, e.reference_acc_txt Reference # 015, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles # 015, event.collection_start_yr EnrollmentStartYear # 015, event.collection_end_yr EnrollmentEndYear # 015, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors # 015, eventLocation.exp_event_id ignorecolumneventID # 015 FROM exposure e # 015 inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id # 015 inner join term stressorTerm ON stressor.chem_id = stressorTerm.id # 015 left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id # 015 left outer join exp_event event ON e.exp_event_id = event.id # 015 left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id # 015 left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id # 015 left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id # 015 left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id # 015 left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id # 015 left outer join term receptorTerm ON receptor.term_id = receptorTerm.id # 015 inner join reference r ON e.reference_id = r.id # 015 left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id # 015 left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id # 015 left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id # 015 left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id # 015 left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id # 015 left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id # 015 left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id # 015 left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id # 015 left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id # 015 left outer join country ON eventLocation.country_id = country.id # 015 left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id # 015 left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id # 015 left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id # 015 GROUP BY ExposureStressorName # 015, ExposureStressorID # 015, StressorSourceDetails # 015, NumberOfStressorSamples # 015, StressorNotes # 015, NumberOfReceptors # 015, Receptors # 015, ReceptorNotes # 015, Medium # 015, ExposureMarker # 015, ExposureMarkerID # 015, MarkerLevel # 015, MarkerUnitsOfMeasurement # 015, MarkerMeasurementStatistic # 015, AssayNotes # 015, OutcomeRelationship # 015, DiseaseName # 015, DiseaseID # 015, PhenotypeName # 015, PhenotypeID # 015, PhenotypeActionDegreeType # 015, Reference # 015, EnrollmentStartYear # 015, EnrollmentEndYear # 015, Age # 015, AgeUnitsOfMeasurement # 015, AgeQualifier # 015, DetectionLimit # 015, DetectionLimitUOM # 015, DetectionFrequency # 015, ExposureEventNotes # 015, ExposureOutcomeNotes # 015, ignorecolumneventID # 015 order by ExposureStressorName # 015;
Date: 2026-02-27 15:51:02 Duration: 14s619ms Database: ctdprd51 User: pub2 Application: psql
-
SELECT DISTINCT /* AllExposuresDAO */ # 015 stressorTerm.nm ExposureStressorName # 015, stressorTerm.acc_txt ExposureStressorID # 015, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory # 015, stressor.src_details StressorSourceDetails # 015, stressor.sample_qty NumberOfStressorSamples # 015, stressor.note StressorNotes # 015, receptor.qty NumberOfReceptors # 015, concat(receptor.description || ' ', receptorTerm.nm) Receptors # 015, receptor.note ReceptorNotes # 015, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus # 015, receptor.age Age # 015, receptor.age_uom_nm AgeUnitsOfMeasurement # 015, receptor.age_qualifier_nm AgeQualifier # 015, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex # 015, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race # 015, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods # 015, event.detection_limit DetectionLimit # 015, event.detection_limit_uom DetectionLimitUOM # 015, event.detection_freq DetectionFrequency # 015, event.medium_nm Medium # 015, exposureMarkerTerm.nm ExposureMarker # 015, exposureMarkerTerm.acc_txt ExposureMarkerID # 015, event.exp_marker_lvl MarkerLevel # 015, assay_uom MarkerUnitsOfMeasurement # 015, assay_measurement_stat MarkerMeasurementStatistic # 015, assay_note AssayNotes # 015, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea # 015, event.note ExposureEventNotes # 015, eiot.description OutcomeRelationship # 015, diseaseTerm.nm DiseaseName # 015, diseaseTerm.acc_txt DiseaseID # 015, phenotypeTerm.nm PhenotypeName # 015, phenotypeTerm.acc_txt PhenotypeID # 015, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType # 015, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy # 015, outcome.note ExposureOutcomeNotes # 015, e.reference_acc_txt Reference # 015, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles # 015, event.collection_start_yr EnrollmentStartYear # 015, event.collection_end_yr EnrollmentEndYear # 015, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors # 015, eventLocation.exp_event_id ignorecolumneventID # 015 FROM exposure e # 015 inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id # 015 inner join term stressorTerm ON stressor.chem_id = stressorTerm.id # 015 left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id # 015 left outer join exp_event event ON e.exp_event_id = event.id # 015 left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id # 015 left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id # 015 left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id # 015 left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id # 015 left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id # 015 left outer join term receptorTerm ON receptor.term_id = receptorTerm.id # 015 inner join reference r ON e.reference_id = r.id # 015 left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id # 015 left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id # 015 left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id # 015 left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id # 015 left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id # 015 left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id # 015 left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id # 015 left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id # 015 left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id # 015 left outer join country ON eventLocation.country_id = country.id # 015 left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id # 015 left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id # 015 left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id # 015 GROUP BY ExposureStressorName # 015, ExposureStressorID # 015, StressorSourceDetails # 015, NumberOfStressorSamples # 015, StressorNotes # 015, NumberOfReceptors # 015, Receptors # 015, ReceptorNotes # 015, Medium # 015, ExposureMarker # 015, ExposureMarkerID # 015, MarkerLevel # 015, MarkerUnitsOfMeasurement # 015, MarkerMeasurementStatistic # 015, AssayNotes # 015, OutcomeRelationship # 015, DiseaseName # 015, DiseaseID # 015, PhenotypeName # 015, PhenotypeID # 015, PhenotypeActionDegreeType # 015, Reference # 015, EnrollmentStartYear # 015, EnrollmentEndYear # 015, Age # 015, AgeUnitsOfMeasurement # 015, AgeQualifier # 015, DetectionLimit # 015, DetectionLimitUOM # 015, DetectionFrequency # 015, ExposureEventNotes # 015, ExposureOutcomeNotes # 015, ignorecolumneventID # 015 order by ExposureStressorName # 015;
Date: 2026-02-27 11:49:04 Duration: 14s233ms Database: ctdprd51 User: pub1 Application: psql
-
SELECT DISTINCT /* AllExposuresDAO */ # 015 stressorTerm.nm ExposureStressorName # 015, stressorTerm.acc_txt ExposureStressorID # 015, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory # 015, stressor.src_details StressorSourceDetails # 015, stressor.sample_qty NumberOfStressorSamples # 015, stressor.note StressorNotes # 015, receptor.qty NumberOfReceptors # 015, concat(receptor.description || ' ', receptorTerm.nm) Receptors # 015, receptor.note ReceptorNotes # 015, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus # 015, receptor.age Age # 015, receptor.age_uom_nm AgeUnitsOfMeasurement # 015, receptor.age_qualifier_nm AgeQualifier # 015, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex # 015, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race # 015, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods # 015, event.detection_limit DetectionLimit # 015, event.detection_limit_uom DetectionLimitUOM # 015, event.detection_freq DetectionFrequency # 015, event.medium_nm Medium # 015, exposureMarkerTerm.nm ExposureMarker # 015, exposureMarkerTerm.acc_txt ExposureMarkerID # 015, event.exp_marker_lvl MarkerLevel # 015, assay_uom MarkerUnitsOfMeasurement # 015, assay_measurement_stat MarkerMeasurementStatistic # 015, assay_note AssayNotes # 015, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea # 015, event.note ExposureEventNotes # 015, eiot.description OutcomeRelationship # 015, diseaseTerm.nm DiseaseName # 015, diseaseTerm.acc_txt DiseaseID # 015, phenotypeTerm.nm PhenotypeName # 015, phenotypeTerm.acc_txt PhenotypeID # 015, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType # 015, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy # 015, outcome.note ExposureOutcomeNotes # 015, e.reference_acc_txt Reference # 015, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles # 015, event.collection_start_yr EnrollmentStartYear # 015, event.collection_end_yr EnrollmentEndYear # 015, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors # 015, eventLocation.exp_event_id ignorecolumneventID # 015 FROM exposure e # 015 inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id # 015 inner join term stressorTerm ON stressor.chem_id = stressorTerm.id # 015 left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id # 015 left outer join exp_event event ON e.exp_event_id = event.id # 015 left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id # 015 left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id # 015 left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id # 015 left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id # 015 left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id # 015 left outer join term receptorTerm ON receptor.term_id = receptorTerm.id # 015 inner join reference r ON e.reference_id = r.id # 015 left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id # 015 left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id # 015 left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id # 015 left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id # 015 left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id # 015 left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id # 015 left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id # 015 left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id # 015 left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id # 015 left outer join country ON eventLocation.country_id = country.id # 015 left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id # 015 left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id # 015 left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id # 015 GROUP BY ExposureStressorName # 015, ExposureStressorID # 015, StressorSourceDetails # 015, NumberOfStressorSamples # 015, StressorNotes # 015, NumberOfReceptors # 015, Receptors # 015, ReceptorNotes # 015, Medium # 015, ExposureMarker # 015, ExposureMarkerID # 015, MarkerLevel # 015, MarkerUnitsOfMeasurement # 015, MarkerMeasurementStatistic # 015, AssayNotes # 015, OutcomeRelationship # 015, DiseaseName # 015, DiseaseID # 015, PhenotypeName # 015, PhenotypeID # 015, PhenotypeActionDegreeType # 015, Reference # 015, EnrollmentStartYear # 015, EnrollmentEndYear # 015, Age # 015, AgeUnitsOfMeasurement # 015, AgeQualifier # 015, DetectionLimit # 015, DetectionLimitUOM # 015, DetectionFrequency # 015, ExposureEventNotes # 015, ExposureOutcomeNotes # 015, ignorecolumneventID # 015 order by ExposureStressorName # 015;
Date: 2026-02-27 11:50:08 Duration: 14s125ms Database: ctdprd51 User: pub2 Application: psql
14 2 40s316ms 19s191ms 21s124ms 20s158ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 27 01 2 40s316ms 20s158ms [ User: pubeu - Total duration: 21s124ms - Times executed: 1 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2129321') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-02-27 01:29:54 Duration: 21s124ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2129321') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-02-27 01:27:33 Duration: 19s191ms Bind query: yes
15 2 27s967ms 13s851ms 14s116ms 13s983ms select count(*) from ( select distinct stressorterm.nm exposurestressorname, stressorterm.acc_txt exposurestressorid, ( select string_agg(distinct stressorsrctype.nm, ?)) stressorsourcecategory, stressor.src_details stressorsourcedetails, stressor.sample_qty numberofstressorsamples, stressor.note stressornotes, receptor.qty numberofreceptors, concat(receptor.description || ?, receptorterm.nm) receptors, receptor.note receptornotes, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || replace(to_char(receptortobaccouse.pct, ?), ?, ?), ?)) smokingstatus, receptor.age age, receptor.age_uom_nm ageunitsofmeasurement, receptor.age_qualifier_nm agequalifier, ( select string_agg(distinct receptorgender.gender_nm || ? || replace(to_char(receptorgender.pct, ?), ?, ?), ?)) sex, ( select string_agg(distinct receptorrace.race_nm || ? || replace(to_char(receptorrace.pct, ?), ?, ?), ?)) race, ( select string_agg(distinct eventassaymethod.nm, ?)) methods, event.detection_limit detectionlimit, event.detection_limit_uom detectionlimituom, event.detection_freq detectionfrequency, event.medium_nm medium, exposuremarkerterm.nm exposuremarker, exposuremarkerterm.acc_txt exposuremarkerid, event.exp_marker_lvl markerlevel, assay_uom markerunitsofmeasurement, assay_measurement_stat markermeasurementstatistic, assay_note assaynotes, ( select string_agg(distinct country.nm, ?)) studycountries, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) citytownregionarea, event.note exposureeventnotes, eiot.description outcomerelationship, diseaseterm.nm diseasename, diseaseterm.acc_txt diseaseid, phenotypeterm.nm phenotypename, phenotypeterm.acc_txt phenotypeid, outcome.phenotype_action_degree_type_nm phenotypeactiondegreetype, ( select string_agg(distinct anatomyterm.nm, ?)) anatomy, outcome.note exposureoutcomenotes, e.reference_acc_txt reference, ( select string_agg(distinct eventproject.project_nm, ?)) associatedstudytitles, event.collection_start_yr enrollmentstartyear, event.collection_end_yr enrollmentendyear, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) studyfactors, eventlocation.exp_event_id ignorecolumneventid from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_receptor_gender receptorgender on receptor.id = receptorgender.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id group by exposurestressorname, exposurestressorid, stressorsourcedetails, numberofstressorsamples, stressornotes, numberofreceptors, receptors, receptornotes, medium, exposuremarker, exposuremarkerid, markerlevel, markerunitsofmeasurement, markermeasurementstatistic, assaynotes, outcomerelationship, diseasename, diseaseid, phenotypename, phenotypeid, phenotypeactiondegreetype, reference, enrollmentstartyear, enrollmentendyear, age, ageunitsofmeasurement, agequalifier, detectionlimit, detectionlimituom, detectionfrequency, exposureeventnotes, exposureoutcomenotes, ignorecolumneventid) as test;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 27 11 1 13s851ms 13s851ms 12 1 14s116ms 14s116ms -
select count(*) from ( SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName, stressorTerm.acc_txt ExposureStressorID, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory, stressor.src_details StressorSourceDetails, stressor.sample_qty NumberOfStressorSamples, stressor.note StressorNotes, receptor.qty NumberOfReceptors, concat(receptor.description || ' ', receptorTerm.nm) Receptors, receptor.note ReceptorNotes, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus, receptor.age Age, receptor.age_uom_nm AgeUnitsOfMeasurement, receptor.age_qualifier_nm AgeQualifier, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods, event.detection_limit DetectionLimit, event.detection_limit_uom DetectionLimitUOM, event.detection_freq DetectionFrequency, event.medium_nm Medium, exposureMarkerTerm.nm ExposureMarker, exposureMarkerTerm.acc_txt ExposureMarkerID, event.exp_marker_lvl MarkerLevel, assay_uom MarkerUnitsOfMeasurement, assay_measurement_stat MarkerMeasurementStatistic, assay_note AssayNotes, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea, event.note ExposureEventNotes, eiot.description OutcomeRelationship, diseaseTerm.nm DiseaseName, diseaseTerm.acc_txt DiseaseID, phenotypeTerm.nm PhenotypeName, phenotypeTerm.acc_txt PhenotypeID, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy, outcome.note ExposureOutcomeNotes, e.reference_acc_txt Reference, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles, event.collection_start_yr EnrollmentStartYear, event.collection_end_yr EnrollmentEndYear, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors, eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id GROUP BY ExposureStressorName, ExposureStressorID, StressorSourceDetails, NumberOfStressorSamples, StressorNotes, NumberOfReceptors, Receptors, ReceptorNotes, Medium, ExposureMarker, ExposureMarkerID, MarkerLevel, MarkerUnitsOfMeasurement, MarkerMeasurementStatistic, AssayNotes, OutcomeRelationship, DiseaseName, DiseaseID, PhenotypeName, PhenotypeID, PhenotypeActionDegreeType, Reference, EnrollmentStartYear, EnrollmentEndYear, Age, AgeUnitsOfMeasurement, AgeQualifier, DetectionLimit, DetectionLimitUOM, DetectionFrequency, ExposureEventNotes, ExposureOutcomeNotes, ignorecolumneventID) as test;
Date: 2026-02-27 12:24:41 Duration: 14s116ms
-
select count(*) from ( SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName, stressorTerm.acc_txt ExposureStressorID, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory, stressor.src_details StressorSourceDetails, stressor.sample_qty NumberOfStressorSamples, stressor.note StressorNotes, receptor.qty NumberOfReceptors, concat(receptor.description || ' ', receptorTerm.nm) Receptors, receptor.note ReceptorNotes, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus, receptor.age Age, receptor.age_uom_nm AgeUnitsOfMeasurement, receptor.age_qualifier_nm AgeQualifier, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods, event.detection_limit DetectionLimit, event.detection_limit_uom DetectionLimitUOM, event.detection_freq DetectionFrequency, event.medium_nm Medium, exposureMarkerTerm.nm ExposureMarker, exposureMarkerTerm.acc_txt ExposureMarkerID, event.exp_marker_lvl MarkerLevel, assay_uom MarkerUnitsOfMeasurement, assay_measurement_stat MarkerMeasurementStatistic, assay_note AssayNotes, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea, event.note ExposureEventNotes, eiot.description OutcomeRelationship, diseaseTerm.nm DiseaseName, diseaseTerm.acc_txt DiseaseID, phenotypeTerm.nm PhenotypeName, phenotypeTerm.acc_txt PhenotypeID, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy, outcome.note ExposureOutcomeNotes, e.reference_acc_txt Reference, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles, event.collection_start_yr EnrollmentStartYear, event.collection_end_yr EnrollmentEndYear, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors, eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id GROUP BY ExposureStressorName, ExposureStressorID, StressorSourceDetails, NumberOfStressorSamples, StressorNotes, NumberOfReceptors, Receptors, ReceptorNotes, Medium, ExposureMarker, ExposureMarkerID, MarkerLevel, MarkerUnitsOfMeasurement, MarkerMeasurementStatistic, AssayNotes, OutcomeRelationship, DiseaseName, DiseaseID, PhenotypeName, PhenotypeID, PhenotypeActionDegreeType, Reference, EnrollmentStartYear, EnrollmentEndYear, Age, AgeUnitsOfMeasurement, AgeQualifier, DetectionLimit, DetectionLimitUOM, DetectionFrequency, ExposureEventNotes, ExposureOutcomeNotes, ignorecolumneventID) as test;
Date: 2026-02-27 11:39:58 Duration: 13s851ms
16 2 17s985ms 8s152ms 9s833ms 8s992ms 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 i.id in ( select ixn_id from ixn_anatomy where anatomy_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 asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 27 13 2 17s985ms 8s992ms [ User: pubeu - Total duration: 9s833ms - 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 i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'KIDNEY TUBULES, PROXIMAL'))) 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 asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 13:37:59 Duration: 9s833ms Database: ctdprd51 User: pubeu Bind query: yes
-
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 i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'MITOCHONDRIA'))) 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 asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 13:38:20 Duration: 8s152ms Bind query: yes
17 2 12s444ms 6s147ms 6s296ms 6s222ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 27 01 1 6s296ms 6s296ms 02 1 6s147ms 6s147ms [ User: pubeu - Total duration: 12s444ms - Times executed: 2 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2129321') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-02-27 01:25:19 Duration: 6s296ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2129321') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-02-27 02:14:56 Duration: 6s147ms Database: ctdprd51 User: pubeu Bind query: yes
18 2 10s405ms 5s35ms 5s370ms 5s202ms 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 #18
Day Hour Count Duration Avg duration Feb 27 11 2 10s405ms 5s202ms [ User: pubeu - Total duration: 10s405ms - Times executed: 2 ]
-
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 = '1399612' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2026-02-27 11:07:13 Duration: 5s370ms Database: ctdprd51 User: pubeu 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 = '1399612' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2026-02-27 11:07:16 Duration: 5s35ms Database: ctdprd51 User: pubeu Bind query: yes
19 2 10s392ms 5s180ms 5s212ms 5s196ms 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 #19
Day Hour Count Duration Avg duration Feb 27 05 1 5s212ms 5s212ms 14 1 5s180ms 5s180ms [ User: qaeu - Total duration: 5s212ms - Times executed: 1 ]
[ User: pubeu - Total duration: 5s180ms - Times executed: 1 ]
-
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 = 1335246)) 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: 2026-02-27 05:43:54 Duration: 5s212ms Database: ctdprd51 User: qaeu 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 = 1335246)) 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: 2026-02-27 14:04:41 Duration: 5s180ms Database: ctdprd51 User: pubeu Bind query: yes
20 1 9m9s 9m9s 9m9s 9m9s select maint_query_logs_archive ();Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 27 00 1 9m9s 9m9s [ User: pubc - Total duration: 9m9s - Times executed: 1 ]
[ Application: psql - Total duration: 9m9s - Times executed: 1 ]
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2026-02-27 00:09:11 Duration: 9m9s Database: ctdprd51 User: pubc Application: psql
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 9m9s 9m9s 9m9s 1 9m9s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 27 00 1 9m9s 9m9s [ User: pubc - Total duration: 9m9s - Times executed: 1 ]
[ Application: psql - Total duration: 9m9s - Times executed: 1 ]
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2026-02-27 00:09:11 Duration: 9m9s Database: ctdprd51 User: pubc Application: psql
2 1m50s 1m51s 1m51s 4 7m24s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 27 06 1 1m51s 1m51s 10 1 1m50s 1m50s 14 1 1m51s 1m51s 18 1 1m51s 1m51s [ User: postgres - Total duration: 7m24s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m24s - Times executed: 4 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 06:06:53 Duration: 1m51s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 18:06:53 Duration: 1m51s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 14:06:53 Duration: 1m51s Database: ctdprd51 User: postgres Application: pg_dump
3 45s743ms 45s743ms 45s743ms 1 45s743ms select cast(xmlelement(name "Link", xmlelement(name "LinkId", g.acc_txt), xmlelement(name "ProviderId", ?), xmlelement(name "ObjectSelector", xmlelement(name "Database", ?), xmlelement(name "ObjectList", ( select xmlagg(xmlforest(l.acc_txt AS "ObjId")) from db_link l where l.object_type_id = g.object_type_id and l.object_id = g.id and l.type_cd = ?))), xmlelement(name "ObjectUrl", xmlelement(name "Base", ?), xmlelement(name "Rule", ? || g.acc_txt), xmlelement(name "UrlName", ? || g.nm))) as text) linkxml from term g where g.object_type_id = get_object_type_id (?) order by g.acc_txt::int;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 27 16 1 45s743ms 45s743ms [ User: qaeu - Total duration: 45s743ms - Times executed: 1 ]
-
SELECT /* NCBILinkOutDAO */ CAST(XMLELEMENT(name "Link", XMLELEMENT(name "LinkId", g.acc_txt), XMLELEMENT(name "ProviderId", '7845'), XMLELEMENT(name "ObjectSelector", XMLELEMENT(name "Database", 'Gene'), XMLELEMENT(name "ObjectList", ( SELECT XMLAGG(XMLFOREST(l.acc_txt AS "ObjId")) FROM db_link l WHERE l.object_type_id = g.object_type_id AND l.object_id = g.id AND l.type_cd = 'A'))), XMLELEMENT(name "ObjectUrl", XMLELEMENT(name "Base", 'http://ctdbase.org/detail.go?'), XMLELEMENT(name "Rule", 'type=gene&acc=' || g.acc_txt), XMLELEMENT(name "UrlName", 'CTD: Comparative Toxicogenomics Database - ' || g.nm))) AS TEXT) linkxml FROM term g WHERE g.object_type_id = get_object_type_id ('gene') ORDER BY g.acc_txt::int;
Date: 2026-02-27 16:06:11 Duration: 45s743ms Database: ctdprd51 User: qaeu Bind query: yes
4 23s818ms 24s80ms 23s934ms 4 1m35s copy pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 27 06 1 23s818ms 23s818ms 10 1 23s958ms 23s958ms 14 1 23s881ms 23s881ms 18 1 24s80ms 24s80ms -
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 18:07:17 Duration: 24s80ms
-
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 10:07:16 Duration: 23s958ms
-
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-02-27 14:07:17 Duration: 23s881ms
5 19s191ms 21s124ms 20s158ms 2 40s316ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 27 01 2 40s316ms 20s158ms [ User: pubeu - Total duration: 21s124ms - Times executed: 1 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2129321') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-02-27 01:29:54 Duration: 21s124ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2129321') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-02-27 01:27:33 Duration: 19s191ms Bind query: yes
6 19s519ms 19s519ms 19s519ms 1 19s519ms select distinct stressorterm.nm exposurestressorname, stressorterm.acc_txt exposurestressorid, ( select string_agg(distinct stressorsrctype.nm, ?)) stressorsourcecategory, stressor.src_details stressorsourcedetails, stressor.sample_qty numberofstressorsamples, stressor.note stressornotes, receptor.qty numberofreceptors, concat(receptor.description || ?, receptorterm.nm) receptors, receptor.note receptornotes, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || replace(to_char(receptortobaccouse.pct, ?), ?, ?), ?)) smokingstatus, receptor.age age, receptor.age_uom_nm ageunitsofmeasurement, receptor.age_qualifier_nm agequalifier, ( select string_agg(distinct receptorgender.gender_nm || ? || replace(to_char(receptorgender.pct, ?), ?, ?), ?)) sex, ( select string_agg(distinct receptorrace.race_nm || ? || replace(to_char(receptorrace.pct, ?), ?, ?), ?)) race, ( select string_agg(distinct eventassaymethod.nm, ?)) methods, event.detection_limit detectionlimit, event.detection_limit_uom detectionlimituom, event.detection_freq detectionfrequency, event.medium_nm medium, exposuremarkerterm.nm exposuremarker, exposuremarkerterm.acc_txt exposuremarkerid, event.exp_marker_lvl markerlevel, assay_uom markerunitsofmeasurement, assay_measurement_stat markermeasurementstatistic, assay_note assaynotes, ( select string_agg(distinct country.nm, ?)) studycountries, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) citytownregionarea, event.note exposureeventnotes, eiot.description outcomerelationship, diseaseterm.nm diseasename, diseaseterm.acc_txt diseaseid, phenotypeterm.nm phenotypename, phenotypeterm.acc_txt phenotypeid, outcome.phenotype_action_degree_type_nm phenotypeactiondegreetype, ( select string_agg(distinct anatomyterm.nm, ?)) anatomy, outcome.note exposureoutcomenotes, e.reference_acc_txt reference, ( select string_agg(distinct eventproject.project_nm, ?)) associatedstudytitles, event.collection_start_yr enrollmentstartyear, event.collection_end_yr enrollmentendyear, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) studyfactors, eventlocation.exp_event_id ignorecolumneventid from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_receptor_gender receptorgender on receptor.id = receptorgender.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id group by exposurestressorname, exposurestressorid, stressorsourcedetails, numberofstressorsamples, stressornotes, numberofreceptors, receptors, receptornotes, medium, exposuremarker, exposuremarkerid, markerlevel, markerunitsofmeasurement, markermeasurementstatistic, assaynotes, outcomerelationship, diseasename, diseaseid, phenotypename, phenotypeid, phenotypeactiondegreetype, reference, enrollmentstartyear, enrollmentendyear, age, ageunitsofmeasurement, agequalifier, detectionlimit, detectionlimituom, detectionfrequency, exposureeventnotes, exposureoutcomenotes, ignorecolumneventid order by exposurestressorname;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 27 16 1 19s519ms 19s519ms [ User: qaeu - Total duration: 19s519ms - Times executed: 1 ]
-
SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName, stressorTerm.acc_txt ExposureStressorID, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory, stressor.src_details StressorSourceDetails, stressor.sample_qty NumberOfStressorSamples, stressor.note StressorNotes, receptor.qty NumberOfReceptors, concat(receptor.description || ' ', receptorTerm.nm) Receptors, receptor.note ReceptorNotes, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus, receptor.age Age, receptor.age_uom_nm AgeUnitsOfMeasurement, receptor.age_qualifier_nm AgeQualifier, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, '|')) Methods, event.detection_limit DetectionLimit, event.detection_limit_uom DetectionLimitUOM, event.detection_freq DetectionFrequency, event.medium_nm Medium, exposureMarkerTerm.nm ExposureMarker, exposureMarkerTerm.acc_txt ExposureMarkerID, event.exp_marker_lvl MarkerLevel, assay_uom MarkerUnitsOfMeasurement, assay_measurement_stat MarkerMeasurementStatistic, assay_note AssayNotes, ( SELECT STRING_AGG(distinct country.nm, '|')) StudyCountries, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, '|')) StateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, '|')) CityTownRegionArea, event.note ExposureEventNotes, eiot.description OutcomeRelationship, diseaseTerm.nm DiseaseName, diseaseTerm.acc_txt DiseaseID, phenotypeTerm.nm PhenotypeName, phenotypeTerm.acc_txt PhenotypeID, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, '|')) Anatomy, outcome.note ExposureOutcomeNotes, e.reference_acc_txt Reference, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, '|')) AssociatedStudyTitles, event.collection_start_yr EnrollmentStartYear, event.collection_end_yr EnrollmentEndYear, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, '|')) StudyFactors, eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id GROUP BY ExposureStressorName, ExposureStressorID, StressorSourceDetails, NumberOfStressorSamples, StressorNotes, NumberOfReceptors, Receptors, ReceptorNotes, Medium, ExposureMarker, ExposureMarkerID, MarkerLevel, MarkerUnitsOfMeasurement, MarkerMeasurementStatistic, AssayNotes, OutcomeRelationship, DiseaseName, DiseaseID, PhenotypeName, PhenotypeID, PhenotypeActionDegreeType, Reference, EnrollmentStartYear, EnrollmentEndYear, Age, AgeUnitsOfMeasurement, AgeQualifier, DetectionLimit, DetectionLimitUOM, DetectionFrequency, ExposureEventNotes, ExposureOutcomeNotes, ignorecolumneventID order by ExposureStressorName;
Date: 2026-02-27 16:06:34 Duration: 19s519ms Database: ctdprd51 User: qaeu Bind query: yes
7 18s825ms 18s891ms 18s872ms 4 1m15s copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 27 06 1 18s825ms 18s825ms 10 1 18s891ms 18s891ms 14 1 18s887ms 18s887ms 18 1 18s884ms 18s884ms [ User: postgres - Total duration: 1m15s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 1m15s - Times executed: 4 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 10:00:21 Duration: 18s891ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:00:21 Duration: 18s887ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:00:21 Duration: 18s884ms Database: ctdprd51 User: postgres Application: pg_dump
8 15s356ms 15s485ms 15s420ms 4 1m1s copy pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 27 06 1 15s356ms 15s356ms 10 1 15s414ms 15s414ms 14 1 15s485ms 15s485ms 18 1 15s424ms 15s424ms -
COPY pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2026-02-27 14:07:32 Duration: 15s485ms
-
COPY pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2026-02-27 18:07:33 Duration: 15s424ms
-
COPY pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2026-02-27 10:07:31 Duration: 15s414ms
9 15s30ms 15s30ms 15s30ms 1 15s30ms select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, ?), taxon.nm from edit.ixn_actor a left outer join pub2.term t on a.acc_txt = t.acc_txt and a.object_type_id = t.object_type_id inner join edit.object_type o on a.object_type_id = o.id inner join edit.ixn i on a.ixn_id = i.id inner join edit.reference_ixn ri on i.root_id = ri.ixn_id left outer join pub2.term taxon on ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = ? where (upper(a.object_nm) <> upper(t.nm) or t.nm is null) union select distinct i.root_id, edit.get_ixn_prose (i.root_id), ?, a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, ?, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, ?), taxon.nm from edit.reference_ixn_anatomy a left outer join pub2.term t on a.anatomy_acc_txt = t.acc_txt and t.object_type_id = ? inner join edit.reference_ixn ri on a.reference_ixn_id = ri.id inner join edit.ixn i on ri.ixn_id = i.id left outer join pub2.term taxon on ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = ? where (upper(a.anatomy_nm) <> upper(t.nm) or t.nm is null) union select e.id, ?, ?, etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_anatomy etn left outer join pub2.term t on etn.anatomy_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.exp_outcome_id where (upper(etn.anatomy_term_nm) <> upper(t.nm) or t.nm is null) and anatomy_acc_txt is not null and anatomy_acc_txt <> ? union select e.id, ?, ?, etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_stressor etn left outer join pub2.term t on etn.chem_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_stressor_id = etn.id where (upper(etn.chem_term_nm) <> upper(t.nm) or t.nm is null) and chem_acc_txt is not null and chem_acc_txt <> ? union select e.id, ?, ?, etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_outcome etn left outer join pub2.term t on etn.disease_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.id where (upper(etn.disease_term_nm) <> upper(t.nm) or t.nm is null) and disease_acc_txt is not null and disease_acc_txt <> ? union select e.id, ?, ?, etn.phenotype_acc_txt as term_acc_txt, etn.phenotype_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_outcome etn left outer join pub2.term t on etn.phenotype_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.id where (upper(etn.phenotype_term_nm) <> upper(t.nm) or t.nm is null) and phenotype_acc_txt is not null and phenotype_acc_txt <> ? union select e.id, ?, o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_receptor etn left outer join pub2.term t on etn.term_acc_txt = t.acc_txt and etn.object_type_id = t.object_type_id inner join edit.object_type o on etn.object_type_id = o.id inner join edit.exposure e on e.exp_receptor_id = etn.id where (upper(etn.term_nm) <> upper(t.nm) or t.nm is null) and term_acc_txt is not null and term_acc_txt <> ? union select etn.id, ?, o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, ?, t.nm, t.acc_txt, ?, ?, ?, ? from edit.medium etn left outer join pub2.term t on etn.term_acc_txt = t.acc_txt and etn.term_object_type_id = t.object_type_id inner join edit.object_type o on etn.term_object_type_id = o.id where (upper(etn.term_nm) <> upper(t.nm) or t.nm is null) and etn.term_acc_txt is not null and etn.term_acc_txt <> ? union select etn.id, ?, o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_event etn inner join edit.exp_marker_type emt on etn.exp_marker_type_id = emt.id inner join edit.object_type o on emt.object_type_id = o.id left outer join pub2.term t on etn.exp_marker_acc_txt = t.acc_txt and o.id = t.object_type_id inner join edit.exposure e on e.exp_event_id = etn.id where (upper(etn.exp_marker_term_nm) <> upper(t.nm) or t.nm is null) and etn.exp_marker_acc_txt is not null and exp_marker_acc_txt <> ? order by term_nm, term_acc_txt;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 27 14 1 15s30ms 15s30ms [ User: editeu - Total duration: 15s30ms - Times executed: 1 ]
-
select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.IXN_ACTOR a LEFT OUTER JOIN pub2.TERM t ON a.acc_txt = t.acc_txt AND a.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON a.object_type_id = o.id INNER JOIN edit.IXN i ON a.ixn_id = i.id INNER JOIN edit.REFERENCE_IXN ri ON i.root_id = ri.ixn_id LEFT OUTER JOIN pub2.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.object_nm) <> upper(t.nm) OR t.nm is null) UNION select distinct i.root_id, edit.get_ixn_prose (i.root_id), 'anatomy', a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, '', t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.REFERENCE_IXN_ANATOMY a LEFT OUTER JOIN pub2.TERM t ON a.anatomy_acc_txt = t.acc_txt AND t.object_type_id = 10 INNER JOIN edit.REFERENCE_IXN ri ON a.reference_ixn_id = ri.id INNER JOIN edit.IXN i ON ri.ixn_id = i.id LEFT OUTER JOIN pub2.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.anatomy_nm) <> upper(t.nm) OR t.nm is null) UNION select e.id, '', 'anatomy', etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_ANATOMY etn LEFT OUTER JOIN pub2.TERM t ON etn.anatomy_acc_txt = t.acc_txt AND 10 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 10 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.exp_outcome_id WHERE (upper(etn.anatomy_term_nm) <> upper(t.nm) OR t.nm is null) and anatomy_acc_txt is not null AND anatomy_acc_txt <> '' UNION select e.id, '', 'chem', etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_STRESSOR etn LEFT OUTER JOIN pub2.TERM t ON etn.chem_acc_txt = t.acc_txt AND 2 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 2 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = etn.id WHERE (upper(etn.chem_term_nm) <> upper(t.nm) OR t.nm is null) and chem_acc_txt is not null AND chem_acc_txt <> '' UNION select e.id, '', 'disease', etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub2.TERM t ON etn.disease_acc_txt = t.acc_txt AND 3 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 3 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.disease_term_nm) <> upper(t.nm) OR t.nm is null) and disease_acc_txt is not null AND disease_acc_txt <> '' UNION select e.id, '', 'go', etn.phenotype_acc_txt as term_acc_txt, etn.PHENOTYPE_TERM_NM as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub2.TERM t ON etn.phenotype_acc_txt = t.acc_txt AND 5 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 5 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.PHENOTYPE_TERM_NM) <> upper(t.nm) OR t.nm is null) and phenotype_acc_txt is not null AND phenotype_acc_txt <> '' UNION select e.id, '', o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_RECEPTOR etn LEFT OUTER JOIN pub2.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.object_type_id = o.id INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = etn.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and term_acc_txt is not null AND term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Medium Record - No Seq', t.nm, t.acc_txt, '', -- reference accession '', -- create_by '', -- create_tm 'Medium Record - no Taxon' from edit.MEDIUM etn LEFT OUTER JOIN pub2.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.term_object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.term_object_type_id = o.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and etn.term_acc_txt is not null AND etn.term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_EVENT etn INNER JOIN edit.EXP_MARKER_TYPE emt ON etn.exp_marker_type_id = emt.id INNER JOIN edit.OBJECT_TYPE o ON emt.object_type_id = o.id LEFT OUTER JOIN pub2.TERM t ON etn.exp_marker_acc_txt = t.acc_txt AND o.id = t.object_type_id INNER JOIN edit.EXPOSURE e ON e.exp_event_id = etn.id WHERE (upper(etn.exp_marker_term_nm) <> upper(t.nm) OR t.nm is null) and etn.exp_marker_acc_txt is not null AND exp_marker_acc_txt <> '' order by term_nm, term_acc_txt;
Date: 2026-02-27 14:04:35 Duration: 15s30ms Database: ctdprd51 User: editeu Bind query: yes
10 14s549ms 14s700ms 14s643ms 4 58s573ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 27 06 1 14s629ms 14s629ms 10 1 14s549ms 14s549ms 14 1 14s700ms 14s700ms 18 1 14s692ms 14s692ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:00:51 Duration: 14s700ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:00:51 Duration: 14s692ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 06:00:51 Duration: 14s629ms
11 14s340ms 14s569ms 14s474ms 4 57s897ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 27 06 1 14s340ms 14s340ms 10 1 14s430ms 14s430ms 14 1 14s569ms 14s569ms 18 1 14s556ms 14s556ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:01:06 Duration: 14s569ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:01:06 Duration: 14s556ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 10:01:06 Duration: 14s430ms
12 14s125ms 14s619ms 14s326ms 3 42s978ms select distinct # ? stressorterm.nm exposurestressorname # ?, stressorterm.acc_txt exposurestressorid # ?, ( select string_agg(distinct stressorsrctype.nm, ?)) stressorsourcecategory # ?, stressor.src_details stressorsourcedetails # ?, stressor.sample_qty numberofstressorsamples # ?, stressor.note stressornotes # ?, receptor.qty numberofreceptors # ?, concat(receptor.description || ?, receptorterm.nm) receptors # ?, receptor.note receptornotes # ?, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || replace(to_char(receptortobaccouse.pct, ?), ?, ?), ?)) smokingstatus # ?, receptor.age age # ?, receptor.age_uom_nm ageunitsofmeasurement # ?, receptor.age_qualifier_nm agequalifier # ?, ( select string_agg(distinct receptorgender.gender_nm || ? || replace(to_char(receptorgender.pct, ?), ?, ?), ?)) sex # ?, ( select string_agg(distinct receptorrace.race_nm || ? || replace(to_char(receptorrace.pct, ?), ?, ?), ?)) race # ?, ( select string_agg(distinct eventassaymethod.nm, ?)) methods # ?, event.detection_limit detectionlimit # ?, event.detection_limit_uom detectionlimituom # ?, event.detection_freq detectionfrequency # ?, event.medium_nm medium # ?, exposuremarkerterm.nm exposuremarker # ?, exposuremarkerterm.acc_txt exposuremarkerid # ?, event.exp_marker_lvl markerlevel # ?, assay_uom markerunitsofmeasurement # ?, assay_measurement_stat markermeasurementstatistic # ?, assay_note assaynotes # ?, ( select string_agg(distinct country.nm, ?)) studycountries # ?, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) stateorprovince # ?, ( select string_agg(distinct eventlocation.locality_txt, ?)) citytownregionarea # ?, event.note exposureeventnotes # ?, eiot.description outcomerelationship # ?, diseaseterm.nm diseasename # ?, diseaseterm.acc_txt diseaseid # ?, phenotypeterm.nm phenotypename # ?, phenotypeterm.acc_txt phenotypeid # ?, outcome.phenotype_action_degree_type_nm phenotypeactiondegreetype # ?, ( select string_agg(distinct anatomyterm.nm, ?)) anatomy # ?, outcome.note exposureoutcomenotes # ?, e.reference_acc_txt reference # ?, ( select string_agg(distinct eventproject.project_nm, ?)) associatedstudytitles # ?, event.collection_start_yr enrollmentstartyear # ?, event.collection_end_yr enrollmentendyear # ?, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) studyfactors # ?, eventlocation.exp_event_id ignorecolumneventid # ? from exposure e # ? inner join exp_stressor stressor on e.exp_stressor_id = stressor.id # ? inner join term stressorterm on stressor.chem_id = stressorterm.id # ? left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id # ? left outer join exp_event event on e.exp_event_id = event.id # ? left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id # ? left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id # ? left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id # ? left outer join term diseaseterm on outcome.disease_id = diseaseterm.id # ? left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id # ? left outer join term receptorterm on receptor.term_id = receptorterm.id # ? inner join reference r on e.reference_id = r.id # ? left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id # ? left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id # ? left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id # ? left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id # ? left outer join exp_receptor_gender receptorgender on receptor.id = receptorgender.exp_receptor_id # ? left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id # ? left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id # ? left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id # ? left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id # ? left outer join country on eventlocation.country_id = country.id # ? left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id # ? left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id # ? left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id # ? group by exposurestressorname # ?, exposurestressorid # ?, stressorsourcedetails # ?, numberofstressorsamples # ?, stressornotes # ?, numberofreceptors # ?, receptors # ?, receptornotes # ?, medium # ?, exposuremarker # ?, exposuremarkerid # ?, markerlevel # ?, markerunitsofmeasurement # ?, markermeasurementstatistic # ?, assaynotes # ?, outcomerelationship # ?, diseasename # ?, diseaseid # ?, phenotypename # ?, phenotypeid # ?, phenotypeactiondegreetype # ?, reference # ?, enrollmentstartyear # ?, enrollmentendyear # ?, age # ?, ageunitsofmeasurement # ?, agequalifier # ?, detectionlimit # ?, detectionlimituom # ?, detectionfrequency # ?, exposureeventnotes # ?, exposureoutcomenotes # ?, ignorecolumneventid # ? order by exposurestressorname # ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 27 11 2 28s359ms 14s179ms 15 1 14s619ms 14s619ms [ User: pub2 - Total duration: 28s745ms - Times executed: 2 ]
[ User: pub1 - Total duration: 14s233ms - Times executed: 1 ]
[ Application: psql - Total duration: 42s978ms - Times executed: 3 ]
-
SELECT DISTINCT /* AllExposuresDAO */ # 015 stressorTerm.nm ExposureStressorName # 015, stressorTerm.acc_txt ExposureStressorID # 015, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory # 015, stressor.src_details StressorSourceDetails # 015, stressor.sample_qty NumberOfStressorSamples # 015, stressor.note StressorNotes # 015, receptor.qty NumberOfReceptors # 015, concat(receptor.description || ' ', receptorTerm.nm) Receptors # 015, receptor.note ReceptorNotes # 015, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus # 015, receptor.age Age # 015, receptor.age_uom_nm AgeUnitsOfMeasurement # 015, receptor.age_qualifier_nm AgeQualifier # 015, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex # 015, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race # 015, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods # 015, event.detection_limit DetectionLimit # 015, event.detection_limit_uom DetectionLimitUOM # 015, event.detection_freq DetectionFrequency # 015, event.medium_nm Medium # 015, exposureMarkerTerm.nm ExposureMarker # 015, exposureMarkerTerm.acc_txt ExposureMarkerID # 015, event.exp_marker_lvl MarkerLevel # 015, assay_uom MarkerUnitsOfMeasurement # 015, assay_measurement_stat MarkerMeasurementStatistic # 015, assay_note AssayNotes # 015, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea # 015, event.note ExposureEventNotes # 015, eiot.description OutcomeRelationship # 015, diseaseTerm.nm DiseaseName # 015, diseaseTerm.acc_txt DiseaseID # 015, phenotypeTerm.nm PhenotypeName # 015, phenotypeTerm.acc_txt PhenotypeID # 015, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType # 015, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy # 015, outcome.note ExposureOutcomeNotes # 015, e.reference_acc_txt Reference # 015, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles # 015, event.collection_start_yr EnrollmentStartYear # 015, event.collection_end_yr EnrollmentEndYear # 015, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors # 015, eventLocation.exp_event_id ignorecolumneventID # 015 FROM exposure e # 015 inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id # 015 inner join term stressorTerm ON stressor.chem_id = stressorTerm.id # 015 left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id # 015 left outer join exp_event event ON e.exp_event_id = event.id # 015 left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id # 015 left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id # 015 left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id # 015 left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id # 015 left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id # 015 left outer join term receptorTerm ON receptor.term_id = receptorTerm.id # 015 inner join reference r ON e.reference_id = r.id # 015 left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id # 015 left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id # 015 left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id # 015 left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id # 015 left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id # 015 left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id # 015 left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id # 015 left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id # 015 left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id # 015 left outer join country ON eventLocation.country_id = country.id # 015 left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id # 015 left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id # 015 left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id # 015 GROUP BY ExposureStressorName # 015, ExposureStressorID # 015, StressorSourceDetails # 015, NumberOfStressorSamples # 015, StressorNotes # 015, NumberOfReceptors # 015, Receptors # 015, ReceptorNotes # 015, Medium # 015, ExposureMarker # 015, ExposureMarkerID # 015, MarkerLevel # 015, MarkerUnitsOfMeasurement # 015, MarkerMeasurementStatistic # 015, AssayNotes # 015, OutcomeRelationship # 015, DiseaseName # 015, DiseaseID # 015, PhenotypeName # 015, PhenotypeID # 015, PhenotypeActionDegreeType # 015, Reference # 015, EnrollmentStartYear # 015, EnrollmentEndYear # 015, Age # 015, AgeUnitsOfMeasurement # 015, AgeQualifier # 015, DetectionLimit # 015, DetectionLimitUOM # 015, DetectionFrequency # 015, ExposureEventNotes # 015, ExposureOutcomeNotes # 015, ignorecolumneventID # 015 order by ExposureStressorName # 015;
Date: 2026-02-27 15:51:02 Duration: 14s619ms Database: ctdprd51 User: pub2 Application: psql
-
SELECT DISTINCT /* AllExposuresDAO */ # 015 stressorTerm.nm ExposureStressorName # 015, stressorTerm.acc_txt ExposureStressorID # 015, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory # 015, stressor.src_details StressorSourceDetails # 015, stressor.sample_qty NumberOfStressorSamples # 015, stressor.note StressorNotes # 015, receptor.qty NumberOfReceptors # 015, concat(receptor.description || ' ', receptorTerm.nm) Receptors # 015, receptor.note ReceptorNotes # 015, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus # 015, receptor.age Age # 015, receptor.age_uom_nm AgeUnitsOfMeasurement # 015, receptor.age_qualifier_nm AgeQualifier # 015, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex # 015, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race # 015, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods # 015, event.detection_limit DetectionLimit # 015, event.detection_limit_uom DetectionLimitUOM # 015, event.detection_freq DetectionFrequency # 015, event.medium_nm Medium # 015, exposureMarkerTerm.nm ExposureMarker # 015, exposureMarkerTerm.acc_txt ExposureMarkerID # 015, event.exp_marker_lvl MarkerLevel # 015, assay_uom MarkerUnitsOfMeasurement # 015, assay_measurement_stat MarkerMeasurementStatistic # 015, assay_note AssayNotes # 015, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea # 015, event.note ExposureEventNotes # 015, eiot.description OutcomeRelationship # 015, diseaseTerm.nm DiseaseName # 015, diseaseTerm.acc_txt DiseaseID # 015, phenotypeTerm.nm PhenotypeName # 015, phenotypeTerm.acc_txt PhenotypeID # 015, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType # 015, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy # 015, outcome.note ExposureOutcomeNotes # 015, e.reference_acc_txt Reference # 015, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles # 015, event.collection_start_yr EnrollmentStartYear # 015, event.collection_end_yr EnrollmentEndYear # 015, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors # 015, eventLocation.exp_event_id ignorecolumneventID # 015 FROM exposure e # 015 inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id # 015 inner join term stressorTerm ON stressor.chem_id = stressorTerm.id # 015 left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id # 015 left outer join exp_event event ON e.exp_event_id = event.id # 015 left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id # 015 left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id # 015 left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id # 015 left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id # 015 left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id # 015 left outer join term receptorTerm ON receptor.term_id = receptorTerm.id # 015 inner join reference r ON e.reference_id = r.id # 015 left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id # 015 left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id # 015 left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id # 015 left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id # 015 left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id # 015 left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id # 015 left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id # 015 left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id # 015 left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id # 015 left outer join country ON eventLocation.country_id = country.id # 015 left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id # 015 left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id # 015 left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id # 015 GROUP BY ExposureStressorName # 015, ExposureStressorID # 015, StressorSourceDetails # 015, NumberOfStressorSamples # 015, StressorNotes # 015, NumberOfReceptors # 015, Receptors # 015, ReceptorNotes # 015, Medium # 015, ExposureMarker # 015, ExposureMarkerID # 015, MarkerLevel # 015, MarkerUnitsOfMeasurement # 015, MarkerMeasurementStatistic # 015, AssayNotes # 015, OutcomeRelationship # 015, DiseaseName # 015, DiseaseID # 015, PhenotypeName # 015, PhenotypeID # 015, PhenotypeActionDegreeType # 015, Reference # 015, EnrollmentStartYear # 015, EnrollmentEndYear # 015, Age # 015, AgeUnitsOfMeasurement # 015, AgeQualifier # 015, DetectionLimit # 015, DetectionLimitUOM # 015, DetectionFrequency # 015, ExposureEventNotes # 015, ExposureOutcomeNotes # 015, ignorecolumneventID # 015 order by ExposureStressorName # 015;
Date: 2026-02-27 11:49:04 Duration: 14s233ms Database: ctdprd51 User: pub1 Application: psql
-
SELECT DISTINCT /* AllExposuresDAO */ # 015 stressorTerm.nm ExposureStressorName # 015, stressorTerm.acc_txt ExposureStressorID # 015, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory # 015, stressor.src_details StressorSourceDetails # 015, stressor.sample_qty NumberOfStressorSamples # 015, stressor.note StressorNotes # 015, receptor.qty NumberOfReceptors # 015, concat(receptor.description || ' ', receptorTerm.nm) Receptors # 015, receptor.note ReceptorNotes # 015, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus # 015, receptor.age Age # 015, receptor.age_uom_nm AgeUnitsOfMeasurement # 015, receptor.age_qualifier_nm AgeQualifier # 015, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex # 015, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race # 015, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods # 015, event.detection_limit DetectionLimit # 015, event.detection_limit_uom DetectionLimitUOM # 015, event.detection_freq DetectionFrequency # 015, event.medium_nm Medium # 015, exposureMarkerTerm.nm ExposureMarker # 015, exposureMarkerTerm.acc_txt ExposureMarkerID # 015, event.exp_marker_lvl MarkerLevel # 015, assay_uom MarkerUnitsOfMeasurement # 015, assay_measurement_stat MarkerMeasurementStatistic # 015, assay_note AssayNotes # 015, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince # 015, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea # 015, event.note ExposureEventNotes # 015, eiot.description OutcomeRelationship # 015, diseaseTerm.nm DiseaseName # 015, diseaseTerm.acc_txt DiseaseID # 015, phenotypeTerm.nm PhenotypeName # 015, phenotypeTerm.acc_txt PhenotypeID # 015, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType # 015, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy # 015, outcome.note ExposureOutcomeNotes # 015, e.reference_acc_txt Reference # 015, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles # 015, event.collection_start_yr EnrollmentStartYear # 015, event.collection_end_yr EnrollmentEndYear # 015, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors # 015, eventLocation.exp_event_id ignorecolumneventID # 015 FROM exposure e # 015 inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id # 015 inner join term stressorTerm ON stressor.chem_id = stressorTerm.id # 015 left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id # 015 left outer join exp_event event ON e.exp_event_id = event.id # 015 left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id # 015 left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id # 015 left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id # 015 left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id # 015 left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id # 015 left outer join term receptorTerm ON receptor.term_id = receptorTerm.id # 015 inner join reference r ON e.reference_id = r.id # 015 left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id # 015 left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id # 015 left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id # 015 left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id # 015 left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id # 015 left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id # 015 left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id # 015 left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id # 015 left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id # 015 left outer join country ON eventLocation.country_id = country.id # 015 left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id # 015 left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id # 015 left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id # 015 GROUP BY ExposureStressorName # 015, ExposureStressorID # 015, StressorSourceDetails # 015, NumberOfStressorSamples # 015, StressorNotes # 015, NumberOfReceptors # 015, Receptors # 015, ReceptorNotes # 015, Medium # 015, ExposureMarker # 015, ExposureMarkerID # 015, MarkerLevel # 015, MarkerUnitsOfMeasurement # 015, MarkerMeasurementStatistic # 015, AssayNotes # 015, OutcomeRelationship # 015, DiseaseName # 015, DiseaseID # 015, PhenotypeName # 015, PhenotypeID # 015, PhenotypeActionDegreeType # 015, Reference # 015, EnrollmentStartYear # 015, EnrollmentEndYear # 015, Age # 015, AgeUnitsOfMeasurement # 015, AgeQualifier # 015, DetectionLimit # 015, DetectionLimitUOM # 015, DetectionFrequency # 015, ExposureEventNotes # 015, ExposureOutcomeNotes # 015, ignorecolumneventID # 015 order by ExposureStressorName # 015;
Date: 2026-02-27 11:50:08 Duration: 14s125ms Database: ctdprd51 User: pub2 Application: psql
13 13s851ms 14s116ms 13s983ms 2 27s967ms select count(*) from ( select distinct stressorterm.nm exposurestressorname, stressorterm.acc_txt exposurestressorid, ( select string_agg(distinct stressorsrctype.nm, ?)) stressorsourcecategory, stressor.src_details stressorsourcedetails, stressor.sample_qty numberofstressorsamples, stressor.note stressornotes, receptor.qty numberofreceptors, concat(receptor.description || ?, receptorterm.nm) receptors, receptor.note receptornotes, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || replace(to_char(receptortobaccouse.pct, ?), ?, ?), ?)) smokingstatus, receptor.age age, receptor.age_uom_nm ageunitsofmeasurement, receptor.age_qualifier_nm agequalifier, ( select string_agg(distinct receptorgender.gender_nm || ? || replace(to_char(receptorgender.pct, ?), ?, ?), ?)) sex, ( select string_agg(distinct receptorrace.race_nm || ? || replace(to_char(receptorrace.pct, ?), ?, ?), ?)) race, ( select string_agg(distinct eventassaymethod.nm, ?)) methods, event.detection_limit detectionlimit, event.detection_limit_uom detectionlimituom, event.detection_freq detectionfrequency, event.medium_nm medium, exposuremarkerterm.nm exposuremarker, exposuremarkerterm.acc_txt exposuremarkerid, event.exp_marker_lvl markerlevel, assay_uom markerunitsofmeasurement, assay_measurement_stat markermeasurementstatistic, assay_note assaynotes, ( select string_agg(distinct country.nm, ?)) studycountries, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) citytownregionarea, event.note exposureeventnotes, eiot.description outcomerelationship, diseaseterm.nm diseasename, diseaseterm.acc_txt diseaseid, phenotypeterm.nm phenotypename, phenotypeterm.acc_txt phenotypeid, outcome.phenotype_action_degree_type_nm phenotypeactiondegreetype, ( select string_agg(distinct anatomyterm.nm, ?)) anatomy, outcome.note exposureoutcomenotes, e.reference_acc_txt reference, ( select string_agg(distinct eventproject.project_nm, ?)) associatedstudytitles, event.collection_start_yr enrollmentstartyear, event.collection_end_yr enrollmentendyear, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) studyfactors, eventlocation.exp_event_id ignorecolumneventid from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_receptor_gender receptorgender on receptor.id = receptorgender.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id group by exposurestressorname, exposurestressorid, stressorsourcedetails, numberofstressorsamples, stressornotes, numberofreceptors, receptors, receptornotes, medium, exposuremarker, exposuremarkerid, markerlevel, markerunitsofmeasurement, markermeasurementstatistic, assaynotes, outcomerelationship, diseasename, diseaseid, phenotypename, phenotypeid, phenotypeactiondegreetype, reference, enrollmentstartyear, enrollmentendyear, age, ageunitsofmeasurement, agequalifier, detectionlimit, detectionlimituom, detectionfrequency, exposureeventnotes, exposureoutcomenotes, ignorecolumneventid) as test;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 27 11 1 13s851ms 13s851ms 12 1 14s116ms 14s116ms -
select count(*) from ( SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName, stressorTerm.acc_txt ExposureStressorID, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory, stressor.src_details StressorSourceDetails, stressor.sample_qty NumberOfStressorSamples, stressor.note StressorNotes, receptor.qty NumberOfReceptors, concat(receptor.description || ' ', receptorTerm.nm) Receptors, receptor.note ReceptorNotes, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus, receptor.age Age, receptor.age_uom_nm AgeUnitsOfMeasurement, receptor.age_qualifier_nm AgeQualifier, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods, event.detection_limit DetectionLimit, event.detection_limit_uom DetectionLimitUOM, event.detection_freq DetectionFrequency, event.medium_nm Medium, exposureMarkerTerm.nm ExposureMarker, exposureMarkerTerm.acc_txt ExposureMarkerID, event.exp_marker_lvl MarkerLevel, assay_uom MarkerUnitsOfMeasurement, assay_measurement_stat MarkerMeasurementStatistic, assay_note AssayNotes, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea, event.note ExposureEventNotes, eiot.description OutcomeRelationship, diseaseTerm.nm DiseaseName, diseaseTerm.acc_txt DiseaseID, phenotypeTerm.nm PhenotypeName, phenotypeTerm.acc_txt PhenotypeID, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy, outcome.note ExposureOutcomeNotes, e.reference_acc_txt Reference, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles, event.collection_start_yr EnrollmentStartYear, event.collection_end_yr EnrollmentEndYear, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors, eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id GROUP BY ExposureStressorName, ExposureStressorID, StressorSourceDetails, NumberOfStressorSamples, StressorNotes, NumberOfReceptors, Receptors, ReceptorNotes, Medium, ExposureMarker, ExposureMarkerID, MarkerLevel, MarkerUnitsOfMeasurement, MarkerMeasurementStatistic, AssayNotes, OutcomeRelationship, DiseaseName, DiseaseID, PhenotypeName, PhenotypeID, PhenotypeActionDegreeType, Reference, EnrollmentStartYear, EnrollmentEndYear, Age, AgeUnitsOfMeasurement, AgeQualifier, DetectionLimit, DetectionLimitUOM, DetectionFrequency, ExposureEventNotes, ExposureOutcomeNotes, ignorecolumneventID) as test;
Date: 2026-02-27 12:24:41 Duration: 14s116ms
-
select count(*) from ( SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName, stressorTerm.acc_txt ExposureStressorID, ( SELECT STRING_AGG(distinct stressorSrcType.nm, '|')) StressorSourceCategory, stressor.src_details StressorSourceDetails, stressor.sample_qty NumberOfStressorSamples, stressor.note StressorNotes, receptor.qty NumberOfReceptors, concat(receptor.description || ' ', receptorTerm.nm) Receptors, receptor.note ReceptorNotes, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct, '999D99'), '.00', ''), ' | ')) SmokingStatus, receptor.age Age, receptor.age_uom_nm AgeUnitsOfMeasurement, receptor.age_qualifier_nm AgeQualifier, ( SELECT STRING_AGG(DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct, '999D99'), '.00', ''), ' | ')) Sex, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct, '999D99'), '.00', ''), ' | ')) Race, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) Methods, event.detection_limit DetectionLimit, event.detection_limit_uom DetectionLimitUOM, event.detection_freq DetectionFrequency, event.medium_nm Medium, exposureMarkerTerm.nm ExposureMarker, exposureMarkerTerm.acc_txt ExposureMarkerID, event.exp_marker_lvl MarkerLevel, assay_uom MarkerUnitsOfMeasurement, assay_measurement_stat MarkerMeasurementStatistic, assay_note AssayNotes, ( SELECT STRING_AGG(distinct country.nm, ' | ')) StudyCountries, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) StateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) CityTownRegionArea, event.note ExposureEventNotes, eiot.description OutcomeRelationship, diseaseTerm.nm DiseaseName, diseaseTerm.acc_txt DiseaseID, phenotypeTerm.nm PhenotypeName, phenotypeTerm.acc_txt PhenotypeID, outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType, ( SELECT STRING_AGG(DISTINCT anatomyTerm.nm, ' | ')) Anatomy, outcome.note ExposureOutcomeNotes, e.reference_acc_txt Reference, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) AssociatedStudyTitles, event.collection_start_yr EnrollmentStartYear, event.collection_end_yr EnrollmentEndYear, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) StudyFactors, eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id GROUP BY ExposureStressorName, ExposureStressorID, StressorSourceDetails, NumberOfStressorSamples, StressorNotes, NumberOfReceptors, Receptors, ReceptorNotes, Medium, ExposureMarker, ExposureMarkerID, MarkerLevel, MarkerUnitsOfMeasurement, MarkerMeasurementStatistic, AssayNotes, OutcomeRelationship, DiseaseName, DiseaseID, PhenotypeName, PhenotypeID, PhenotypeActionDegreeType, Reference, EnrollmentStartYear, EnrollmentEndYear, Age, AgeUnitsOfMeasurement, AgeQualifier, DetectionLimit, DetectionLimitUOM, DetectionFrequency, ExposureEventNotes, ExposureOutcomeNotes, ignorecolumneventID) as test;
Date: 2026-02-27 11:39:58 Duration: 13s851ms
14 8s152ms 9s833ms 8s992ms 2 17s985ms 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 i.id in ( select ixn_id from ixn_anatomy where anatomy_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 asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 27 13 2 17s985ms 8s992ms [ User: pubeu - Total duration: 9s833ms - 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 i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'KIDNEY TUBULES, PROXIMAL'))) 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 asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 13:37:59 Duration: 9s833ms Database: ctdprd51 User: pubeu Bind query: yes
-
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 i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'MITOCHONDRIA'))) 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 asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 13:38:20 Duration: 8s152ms Bind query: yes
15 7s166ms 7s674ms 7s438ms 4 29s752ms 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 ptr.term_object_type_id = ? and ptr.phenotype_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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and taxonterm.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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) 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 asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 27 01 1 7s369ms 7s369ms 05 2 14s708ms 7s354ms 14 1 7s674ms 7s674ms [ User: pubeu - Total duration: 22s211ms - Times executed: 3 ]
[ User: qaeu - Total duration: 7s541ms - 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 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 14:05:10 Duration: 7s674ms Database: ctdprd51 User: pubeu Bind query: yes
-
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 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 05:44:20 Duration: 7s541ms Database: ctdprd51 User: qaeu Bind query: yes
-
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 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 01:43:46 Duration: 7s369ms Database: ctdprd51 User: pubeu Bind query: yes
16 7s320ms 7s421ms 7s357ms 4 29s428ms copy edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 27 06 1 7s347ms 7s347ms 10 1 7s320ms 7s320ms 14 1 7s421ms 7s421ms 18 1 7s337ms 7s337ms -
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:00:30 Duration: 7s421ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 06:00:30 Duration: 7s347ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:00:30 Duration: 7s337ms
17 7s215ms 7s489ms 7s354ms 4 29s418ms 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 ptr.term_object_type_id = ? and ptr.phenotype_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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_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 taxonterm.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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) 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 asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 27 01 1 7s215ms 7s215ms 05 2 14s713ms 7s356ms 14 1 7s489ms 7s489ms -
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 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 14:05:18 Duration: 7s489ms Bind query: yes
-
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 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 05:44:27 Duration: 7s434ms Bind query: yes
-
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 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_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 = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_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 = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-02-27 05:49:08 Duration: 7s278ms Bind query: yes
18 6s356ms 6s442ms 6s381ms 4 25s527ms copy edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 27 06 1 6s362ms 6s362ms 10 1 6s365ms 6s365ms 14 1 6s356ms 6s356ms 18 1 6s442ms 6s442ms -
COPY edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:01:14 Duration: 6s442ms
-
COPY edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 10:01:14 Duration: 6s365ms
-
COPY edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 06:01:14 Duration: 6s362ms
19 6s147ms 6s296ms 6s222ms 2 12s444ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 27 01 1 6s296ms 6s296ms 02 1 6s147ms 6s147ms [ User: pubeu - Total duration: 12s444ms - Times executed: 2 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2129321') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-02-27 01:25:19 Duration: 6s296ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2129321') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-02-27 02:14:56 Duration: 6s147ms Database: ctdprd51 User: pubeu Bind query: yes
20 6s52ms 6s105ms 6s85ms 4 24s342ms copy edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 27 06 1 6s94ms 6s94ms 10 1 6s52ms 6s52ms 14 1 6s89ms 6s89ms 18 1 6s105ms 6s105ms -
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 18:00:36 Duration: 6s105ms
-
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 06:00:36 Duration: 6s94ms
-
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-02-27 14:00:36 Duration: 6s89ms
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 NO DATASET
-
Events
Log levels
Key values
- 8,265 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 1 FATAL entries
- 16 ERROR entries
- 0 WARNING entries
- 7 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 10 Max number of times the same event was reported
- 24 Total events found
Rank Times reported Error 1 10 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Feb 27 10 1 11 1 14 5 15 3 - ERROR: syntax error at or near "group" at character 96
- ERROR: syntax error at or near "\" at character 61
- ERROR: syntax error at or near "228041" at character 105
Statement: select id, reference_acc_txt, mod_by, mod_tm from reference_exp order by mod_tm DESC limit 30 group by mod_by
Date: 2026-02-27 10:46:07 Database: ctdprd51 Application: pgAdmin 4 - CONN:501178 User: edit Remote:
Statement: select count(*) from ( SELECT DISTINCT /* AllExposuresDAO */\n") stressorTerm.nm ExposureStressorName") ,stressorTerm.acc_txt ExposureStressorID") ,( SELECT STRING_AGG( distinct stressorSrcType.nm ,'|' ) ) StressorSourceCategory ") ,stressor.src_details StressorSourceDetails ") ,stressor.sample_qty NumberOfStressorSamples ") ,stressor.note StressorNotes ") ,receptor.qty NumberOfReceptors ") ,concat( receptor.description || ' ' , receptorTerm.nm ) Receptors ") ,receptor.note ReceptorNotes ") ,( SELECT STRING_AGG( distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct,'999D99'),'.00',''),' | ' ) ) SmokingStatus") ,receptor.age Age ") ,receptor.age_uom_nm AgeUnitsOfMeasurement ") ,receptor.age_qualifier_nm AgeQualifier ") ,( SELECT STRING_AGG( DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct,'999D99'),'.00',''),' | ' ) ) Sex") ,( SELECT STRING_AGG( DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct,'999D99'),'.00',''),' | ' ) ) Race") ,( SELECT STRING_AGG( DISTINCT eventAssayMethod.nm ,'|' ) ) Methods ") ,event.detection_limit DetectionLimit ") ,event.detection_limit_uom DetectionLimitUOM ") ,event.detection_freq DetectionFrequency ") ,event.medium_nm Medium ") ,exposureMarkerTerm.nm ExposureMarker ") ,exposureMarkerTerm.acc_txt ExposureMarkerID ") ,event.exp_marker_lvl MarkerLevel ") ,assay_uom MarkerUnitsOfMeasurement ") ,assay_measurement_stat MarkerMeasurementStatistic ") ,assay_note AssayNotes ") ,( SELECT STRING_AGG( distinct country.nm,'|' ) ) StudyCountries ") ,( SELECT STRING_AGG( DISTINCT eventLocation.geographic_region_nm,'|' ) ) StateOrProvince ") ,( SELECT STRING_AGG( DISTINCT eventLocation.locality_txt,'|' ) ) CityTownRegionArea ") ,event.note ExposureEventNotes ") ,eiot.description OutcomeRelationship ") ,diseaseTerm.nm DiseaseName ") ,diseaseTerm.acc_txt DiseaseID ") ,phenotypeTerm.nm PhenotypeName ") ,phenotypeTerm.acc_txt PhenotypeID ") ,outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType ") ,( SELECT STRING_AGG( DISTINCT anatomyTerm.nm,'|' ) ) Anatomy ") ,outcome.note ExposureOutcomeNotes ") ,e.reference_acc_txt Reference ") ,( SELECT STRING_AGG( DISTINCT eventProject.project_nm ,'|' ) ) AssociatedStudyTitles ") ,event.collection_start_yr EnrollmentStartYear ") ,event.collection_end_yr EnrollmentEndYear ") ,( SELECT STRING_AGG( DISTINCT expStudyFactor.study_factor_nm,'|' ) ) StudyFactors ") ,eventLocation.exp_event_id ignorecolumneventID ") FROM exposure e ") inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id ") inner join term stressorTerm ON stressor.chem_id = stressorTerm.id ") left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id ") left outer join exp_event event ON e.exp_event_id = event.id ") left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id ") left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id ") left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id ") left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id ") left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id ") left outer join term receptorTerm ON receptor.term_id = receptorTerm.id ") inner join reference r ON e.reference_id = r.id ") left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id ") left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id ") left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id ") left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id ") left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id ") left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id ") left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id ") left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id ") left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id ") left outer join country ON eventLocation.country_id = country.id ") left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id ") left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id ") left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id ") ) as test
Date: 2026-02-27 11:19:43 Database: ctdprd51 Application: pgAdmin 4 - CONN:8416233 User: pub2 Remote:
Statement: --select * from exposure where reference_acc_txt='39461408' select * from exp_stressor id where between 228041 and 228067
Date: 2026-02-27 14:51:36 Database: ctdprd51 Application: pgAdmin 4 - CONN:5464281 User: edit Remote:
2 5 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #2
Day Hour Count Feb 27 17 1 18 4 3 2 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #3
Day Hour Count Feb 27 16 2 4 2 ERROR: column "..." must appear in the GROUP BY clause or be used in an aggregate function
Times Reported Most Frequent Error / Event #4
Day Hour Count Feb 27 11 2 - ERROR: column "stressorterm.nm" must appear in the GROUP BY clause or be used in an aggregate function at character 43
- ERROR: column "stressorterm.nm" must appear in the GROUP BY clause or be used in an aggregate function at character 66
Statement: SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName ,stressorTerm.acc_txt ExposureStressorID ,( SELECT STRING_AGG( distinct stressorSrcType.nm ,'|' ) ) StressorSourceCategory ,stressor.src_details StressorSourceDetails ,stressor.sample_qty NumberOfStressorSamples ,stressor.note StressorNotes ,receptor.qty NumberOfReceptors ,concat( receptor.description || ' ' , receptorTerm.nm ) Receptors ,receptor.note ReceptorNotes ,( SELECT STRING_AGG( distinct receptorTobaccoUse.tobacco_use_nm,' | ' ) ) SmokingStatus ,receptor.age Age ,receptor.age_uom_nm AgeUnitsOfMeasurement ,receptor.age_qualifier_nm AgeQualifier ,( SELECT STRING_AGG( DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct,'999D99'),'.00',''),' | ' ) ) Sex ,( SELECT STRING_AGG( DISTINCT receptorRace.race_nm || ' ' || receptorRace.pct,' | ' ) ) Race ,( SELECT STRING_AGG( DISTINCT eventAssayMethod.nm ,' | ' ) ) Methods ,event.detection_limit DetectionLimit ,event.detection_limit_uom DetectionLimitUOM ,event.detection_freq DetectionFrequency ,event.medium_nm Medium ,exposureMarkerTerm.nm ExposureMarker ,exposureMarkerTerm.acc_txt ExposureMarkerID ,event.exp_marker_lvl MarkerLevel ,assay_uom MarkerUnitsOfMeasurement ,assay_measurement_stat MarkerMeasurementStatistic ,assay_note AssayNotes ,( SELECT STRING_AGG( distinct country.nm,' | ' ) ) StudyCountries ,( SELECT STRING_AGG( DISTINCT eventLocation.geographic_region_nm,' | ' ) ) StateOrProvince ,( SELECT STRING_AGG( DISTINCT eventLocation.locality_txt,' | ' ) ) CityTownRegionArea ,event.note ExposureEventNotes ,eiot.description OutcomeRelationship ,diseaseTerm.nm DiseaseName ,diseaseTerm.acc_txt DiseaseID ,phenotypeTerm.nm PhenotypeName ,phenotypeTerm.acc_txt PhenotypeID ,outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType ,( SELECT STRING_AGG( DISTINCT anatomyTerm.nm,' | ' ) ) Anatomy ,outcome.note ExposureOutcomeNotes ,e.reference_acc_txt Reference ,( SELECT STRING_AGG( DISTINCT eventProject.project_nm ,' | ' ) ) AssociatedStudyTitles ,event.collection_start_yr EnrollmentStartYear ,event.collection_end_yr EnrollmentEndYear ,( SELECT STRING_AGG( DISTINCT expStudyFactor.study_factor_nm,' | ' ) ) StudyFactors ,eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id
Date: 2026-02-27 11:24:01
Statement: select count(*) from ( SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName ,stressorTerm.acc_txt ExposureStressorID ,( SELECT STRING_AGG( distinct stressorSrcType.nm ,'|' ) ) StressorSourceCategory ,stressor.src_details StressorSourceDetails ,stressor.sample_qty NumberOfStressorSamples ,stressor.note StressorNotes ,receptor.qty NumberOfReceptors ,concat( receptor.description || ' ' , receptorTerm.nm ) Receptors ,receptor.note ReceptorNotes ,( SELECT STRING_AGG( distinct receptorTobaccoUse.tobacco_use_nm,' | ' ) ) SmokingStatus ,receptor.age Age ,receptor.age_uom_nm AgeUnitsOfMeasurement ,receptor.age_qualifier_nm AgeQualifier ,( SELECT STRING_AGG( DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct,'999D99'),'.00',''),' | ' ) ) Sex ,( SELECT STRING_AGG( DISTINCT receptorRace.race_nm || ' ' || receptorRace.pct,' | ' ) ) Race ,( SELECT STRING_AGG( DISTINCT eventAssayMethod.nm ,' | ' ) ) Methods ,event.detection_limit DetectionLimit ,event.detection_limit_uom DetectionLimitUOM ,event.detection_freq DetectionFrequency ,event.medium_nm Medium ,exposureMarkerTerm.nm ExposureMarker ,exposureMarkerTerm.acc_txt ExposureMarkerID ,event.exp_marker_lvl MarkerLevel ,assay_uom MarkerUnitsOfMeasurement ,assay_measurement_stat MarkerMeasurementStatistic ,assay_note AssayNotes ,( SELECT STRING_AGG( distinct country.nm,' | ' ) ) StudyCountries ,( SELECT STRING_AGG( DISTINCT eventLocation.geographic_region_nm,' | ' ) ) StateOrProvince ,( SELECT STRING_AGG( DISTINCT eventLocation.locality_txt,' | ' ) ) CityTownRegionArea ,event.note ExposureEventNotes ,eiot.description OutcomeRelationship ,diseaseTerm.nm DiseaseName ,diseaseTerm.acc_txt DiseaseID ,phenotypeTerm.nm PhenotypeName ,phenotypeTerm.acc_txt PhenotypeID ,outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType ,( SELECT STRING_AGG( DISTINCT anatomyTerm.nm,' | ' ) ) Anatomy ,outcome.note ExposureOutcomeNotes ,e.reference_acc_txt Reference ,( SELECT STRING_AGG( DISTINCT eventProject.project_nm ,' | ' ) ) AssociatedStudyTitles ,event.collection_start_yr EnrollmentStartYear ,event.collection_end_yr EnrollmentEndYear ,( SELECT STRING_AGG( DISTINCT expStudyFactor.study_factor_nm,' | ' ) ) StudyFactors ,eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id ) as test
Date: 2026-02-27 11:28:34
5 2 ERROR: unterminated quoted identifier at or near ""..."
Times Reported Most Frequent Error / Event #5
Day Hour Count Feb 27 11 2 - ERROR: unterminated quoted identifier at or near "") left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id ) as test" at character 4213
- ERROR: unterminated quoted identifier at or near "") ,receptor.age Age ,receptor.age_uom_nm AgeUnitsOfMeasurement ,receptor.age_qualifier_nm AgeQualifier ,( SELECT STRING_AGG( DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct,'999D99'),'.00',''),' | ' ) ) Sex ,( SELECT STRING_AGG( DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct,'999D99'),'.00',''),' | ' ) ) Race ,( SELECT STRING_AGG( DISTINCT eventAssayMethod.nm ,' | ' ) ) Methods ,event.detection_limit DetectionLimit ,event.detection_limit_uom DetectionLimitUOM ,event.detection_freq DetectionFrequency ,event.medium_nm Medium ,exposureMarkerTerm.nm ExposureMarker ,exposureMarkerTerm.acc_txt ExposureMarkerID ,event.exp_marker_lvl MarkerLevel ,assay_uom MarkerUnitsOfMeasurement ,assay_measurement_stat MarkerMeasurementStatistic ,assay_note AssayNotes ,( SELECT STRING_AGG( distinct country.nm,' | ' ) ) StudyCountries ,( SELECT STRING_AGG( DISTINCT eventLocation.geographic_region_nm,' | ' ) ) StateOrProvince ,( SELECT STRING_AGG( DISTINCT eventLocation.locality_txt,' | ' ) ) CityTownRegionArea ,event.note ExposureEventNotes ,eiot.description OutcomeRelationship ,diseaseTerm.nm DiseaseName ,diseaseTerm.acc_txt DiseaseID ,phenotypeTerm.nm PhenotypeName ,phenotypeTerm.acc_txt PhenotypeID ,outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType ,( SELECT STRING_AGG( DISTINCT anatomyTerm.nm,' | ' ) ) Anatomy ,outcome.note ExposureOutcomeNotes ,e.reference_acc_txt Reference ,( SELECT STRING_AGG( DISTINCT eventProject.project_nm ,' | ' ) ) AssociatedStudyTitles ,event.collection_start_yr EnrollmentStartYear ,event.collection_end_yr EnrollmentEndYear ,( SELECT STRING_AGG( DISTINCT expStudyFactor.study_factor_nm,' | ' ) ) StudyFactors ,eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id GROUP BY ExposureStressorName ,ExposureStressorID ,StressorSourceDetails ,NumberOfStressorSamples ,StressorNotes ,NumberOfReceptors ,Receptors ,ReceptorNotes ,Medium ,ExposureMarker ,ExposureMarkerID ,MarkerLevel ,MarkerUnitsOfMeasurement ,MarkerMeasurementStatistic ,AssayNotes ,OutcomeRelationship ,DiseaseName ,DiseaseID ,PhenotypeName ,PhenotypeID ,PhenotypeActionDegreeType ,Reference ,EnrollmentStartYear ,EnrollmentEndYear ,Age ,AgeUnitsOfMeasurement ,AgeQualifier ,DetectionLimit ,DetectionLimitUOM ,DetectionFrequency ,ExposureEventNotes ,ExposureOutcomeNotes ,ignorecolumneventID ) as test" at character 750
Statement: select count(*) from ( SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName ,stressorTerm.acc_txt ExposureStressorID ,( SELECT STRING_AGG( distinct stressorSrcType.nm ,'|' ) ) StressorSourceCategory ,stressor.src_details StressorSourceDetails ,stressor.sample_qty NumberOfStressorSamples ,stressor.note StressorNotes ,receptor.qty NumberOfReceptors ,concat( receptor.description || ' ' , receptorTerm.nm ) Receptors ,receptor.note ReceptorNotes ,( SELECT STRING_AGG( distinct receptorTobaccoUse.tobacco_use_nm,' | ' ) ) SmokingStatus ,receptor.age Age ,receptor.age_uom_nm AgeUnitsOfMeasurement ,receptor.age_qualifier_nm AgeQualifier ,( SELECT STRING_AGG( DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct,'999D99'),'.00',''),' | ' ) ) Sex ,( SELECT STRING_AGG( DISTINCT receptorRace.race_nm || ' ' || receptorRace.pct,' | ' ) ) Race ,( SELECT STRING_AGG( DISTINCT eventAssayMethod.nm ,' | ' ) ) Methods ,event.detection_limit DetectionLimit ,event.detection_limit_uom DetectionLimitUOM ,event.detection_freq DetectionFrequency ,event.medium_nm Medium ,exposureMarkerTerm.nm ExposureMarker ,exposureMarkerTerm.acc_txt ExposureMarkerID ,event.exp_marker_lvl MarkerLevel ,assay_uom MarkerUnitsOfMeasurement ,assay_measurement_stat MarkerMeasurementStatistic ,assay_note AssayNotes ,( SELECT STRING_AGG( distinct country.nm,' | ' ) ) StudyCountries ,( SELECT STRING_AGG( DISTINCT eventLocation.geographic_region_nm,' | ' ) ) StateOrProvince ,( SELECT STRING_AGG( DISTINCT eventLocation.locality_txt,' | ' ) ) CityTownRegionArea ,event.note ExposureEventNotes ,eiot.description OutcomeRelationship ,diseaseTerm.nm DiseaseName ,diseaseTerm.acc_txt DiseaseID ,phenotypeTerm.nm PhenotypeName ,phenotypeTerm.acc_txt PhenotypeID ,outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType ,( SELECT STRING_AGG( DISTINCT anatomyTerm.nm,' | ' ) ) Anatomy ,outcome.note ExposureOutcomeNotes ,e.reference_acc_txt Reference ,( SELECT STRING_AGG( DISTINCT eventProject.project_nm ,' | ' ) ) AssociatedStudyTitles ,event.collection_start_yr EnrollmentStartYear ,event.collection_end_yr EnrollmentEndYear ,( SELECT STRING_AGG( DISTINCT expStudyFactor.study_factor_nm,' | ' ) ) StudyFactors ,eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id ") left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id ) as test
Date: 2026-02-27 11:23:22
Statement: select count(*) from ( SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName ,stressorTerm.acc_txt ExposureStressorID ,( SELECT STRING_AGG( distinct stressorSrcType.nm ,'|' ) ) StressorSourceCategory ,stressor.src_details StressorSourceDetails ,stressor.sample_qty NumberOfStressorSamples ,stressor.note StressorNotes ,receptor.qty NumberOfReceptors ,concat( receptor.description || ' ' , receptorTerm.nm ) Receptors ,receptor.note ReceptorNotes ,( SELECT STRING_AGG( distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct,'999D99'),'.00',''),' | ' ) ) SmokingStatus") ,receptor.age Age ,receptor.age_uom_nm AgeUnitsOfMeasurement ,receptor.age_qualifier_nm AgeQualifier ,( SELECT STRING_AGG( DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct,'999D99'),'.00',''),' | ' ) ) Sex ,( SELECT STRING_AGG( DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct,'999D99'),'.00',''),' | ' ) ) Race ,( SELECT STRING_AGG( DISTINCT eventAssayMethod.nm ,' | ' ) ) Methods ,event.detection_limit DetectionLimit ,event.detection_limit_uom DetectionLimitUOM ,event.detection_freq DetectionFrequency ,event.medium_nm Medium ,exposureMarkerTerm.nm ExposureMarker ,exposureMarkerTerm.acc_txt ExposureMarkerID ,event.exp_marker_lvl MarkerLevel ,assay_uom MarkerUnitsOfMeasurement ,assay_measurement_stat MarkerMeasurementStatistic ,assay_note AssayNotes ,( SELECT STRING_AGG( distinct country.nm,' | ' ) ) StudyCountries ,( SELECT STRING_AGG( DISTINCT eventLocation.geographic_region_nm,' | ' ) ) StateOrProvince ,( SELECT STRING_AGG( DISTINCT eventLocation.locality_txt,' | ' ) ) CityTownRegionArea ,event.note ExposureEventNotes ,eiot.description OutcomeRelationship ,diseaseTerm.nm DiseaseName ,diseaseTerm.acc_txt DiseaseID ,phenotypeTerm.nm PhenotypeName ,phenotypeTerm.acc_txt PhenotypeID ,outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType ,( SELECT STRING_AGG( DISTINCT anatomyTerm.nm,' | ' ) ) Anatomy ,outcome.note ExposureOutcomeNotes ,e.reference_acc_txt Reference ,( SELECT STRING_AGG( DISTINCT eventProject.project_nm ,' | ' ) ) AssociatedStudyTitles ,event.collection_start_yr EnrollmentStartYear ,event.collection_end_yr EnrollmentEndYear ,( SELECT STRING_AGG( DISTINCT expStudyFactor.study_factor_nm,' | ' ) ) StudyFactors ,eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id GROUP BY ExposureStressorName ,ExposureStressorID ,StressorSourceDetails ,NumberOfStressorSamples ,StressorNotes ,NumberOfReceptors ,Receptors ,ReceptorNotes ,Medium ,ExposureMarker ,ExposureMarkerID ,MarkerLevel ,MarkerUnitsOfMeasurement ,MarkerMeasurementStatistic ,AssayNotes ,OutcomeRelationship ,DiseaseName ,DiseaseID ,PhenotypeName ,PhenotypeID ,PhenotypeActionDegreeType ,Reference ,EnrollmentStartYear ,EnrollmentEndYear ,Age ,AgeUnitsOfMeasurement ,AgeQualifier ,DetectionLimit ,DetectionLimitUOM ,DetectionFrequency ,ExposureEventNotes ,ExposureOutcomeNotes ,ignorecolumneventID ) as test
Date: 2026-02-27 11:39:27
6 1 ERROR: operator does not exist: character varying = integer
Times Reported Most Frequent Error / Event #6
Day Hour Count Feb 27 14 1 - ERROR: operator does not exist: character varying = integer at character 53
Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
Statement: select * from reference_exp where reference_acc_txt in (39461408,39094898)Date: 2026-02-27 14:18:34 Database: ctdprd51 Application: pgAdmin 4 - CONN:5310790 User: edit Remote:
7 1 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #7
Day Hour Count Feb 27 01 1 8 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #8
Day Hour Count Feb 27 12 1 - ERROR: column "ignorecolumneventid" does not exist at character 5787
Statement: select count(*) from ( SELECT DISTINCT /* AllExposuresDAO */ stressorTerm.nm ExposureStressorName ,stressorTerm.acc_txt ExposureStressorID ,( SELECT STRING_AGG( distinct stressorSrcType.nm ,'|' ) ) StressorSourceCategory ,stressor.src_details StressorSourceDetails ,stressor.sample_qty NumberOfStressorSamples ,stressor.note StressorNotes ,receptor.qty NumberOfReceptors ,concat( receptor.description || ' ' , receptorTerm.nm ) Receptors ,receptor.note ReceptorNotes ,( SELECT STRING_AGG( distinct receptorTobaccoUse.tobacco_use_nm || ' ' || REPLACE(to_char(receptorTobaccoUse.pct,'999D99'),'.00',''),' | ' ) ) SmokingStatus ,receptor.age Age ,receptor.age_uom_nm AgeUnitsOfMeasurement ,receptor.age_qualifier_nm AgeQualifier ,( SELECT STRING_AGG( DISTINCT receptorGender.gender_nm || ' ' || REPLACE(to_char(receptorGender.pct,'999D99'),'.00',''),' | ' ) ) Sex ,( SELECT STRING_AGG( DISTINCT receptorRace.race_nm || ' ' || REPLACE(to_char(receptorRace.pct,'999D99'),'.00',''),' | ' ) ) Race ,( SELECT STRING_AGG( DISTINCT eventAssayMethod.nm ,' | ' ) ) Methods ,event.detection_limit DetectionLimit ,event.detection_limit_uom DetectionLimitUOM ,event.detection_freq DetectionFrequency ,event.medium_nm Medium ,exposureMarkerTerm.nm ExposureMarker ,exposureMarkerTerm.acc_txt ExposureMarkerID ,event.exp_marker_lvl MarkerLevel ,assay_uom MarkerUnitsOfMeasurement ,assay_measurement_stat MarkerMeasurementStatistic ,assay_note AssayNotes ,( SELECT STRING_AGG( distinct country.nm,' | ' ) ) StudyCountries ,( SELECT STRING_AGG( DISTINCT eventLocation.geographic_region_nm,' | ' ) ) StateOrProvince ,( SELECT STRING_AGG( DISTINCT eventLocation.locality_txt,' | ' ) ) CityTownRegionArea ,event.note ExposureEventNotes ,eiot.description OutcomeRelationship ,diseaseTerm.nm DiseaseName ,diseaseTerm.acc_txt DiseaseID ,phenotypeTerm.nm PhenotypeName ,phenotypeTerm.acc_txt PhenotypeID ,outcome.phenotype_action_degree_type_nm PhenotypeActionDegreeType ,( SELECT STRING_AGG( DISTINCT anatomyTerm.nm,' | ' ) ) Anatomy ,outcome.note ExposureOutcomeNotes ,e.reference_acc_txt Reference ,( SELECT STRING_AGG( DISTINCT eventProject.project_nm ,' | ' ) ) AssociatedStudyTitles ,event.collection_start_yr EnrollmentStartYear ,event.collection_end_yr EnrollmentEndYear ,( SELECT STRING_AGG( DISTINCT expStudyFactor.study_factor_nm,' | ' ) ) StudyFactors -- ,eventLocation.exp_event_id ignorecolumneventID FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_receptor_gender receptorGender ON receptor.id = receptorGender.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id GROUP BY ExposureStressorName ,ExposureStressorID ,StressorSourceDetails ,NumberOfStressorSamples ,StressorNotes ,NumberOfReceptors ,Receptors ,ReceptorNotes ,Medium ,ExposureMarker ,ExposureMarkerID ,MarkerLevel ,MarkerUnitsOfMeasurement ,MarkerMeasurementStatistic ,AssayNotes ,OutcomeRelationship ,DiseaseName ,DiseaseID ,PhenotypeName ,PhenotypeID ,PhenotypeActionDegreeType ,Reference ,EnrollmentStartYear ,EnrollmentEndYear ,Age ,AgeUnitsOfMeasurement ,AgeQualifier ,DetectionLimit ,DetectionLimitUOM ,DetectionFrequency ,ExposureEventNotes ,ExposureOutcomeNotes ,ignorecolumneventID ) as test
Date: 2026-02-27 12:23:04