-
Global information
- Generated on Fri Sep 25 04:15:04 2026
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20260924
- Parsed 17,796 log entries in 3s
- Log start from 2026-09-24 00:00:01 to 2026-09-24 23:59:58
-
Overview
Global Stats
- 31 Number of unique normalized queries
- 94 Number of queries
- 33m16s Total query duration
- 2026-09-24 00:09:28 First query
- 2026-09-24 21:40:42 Last query
- 2 queries/s at 2026-09-24 21:26:51 Query peak
- 33m16s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 33m16s Execute total duration
- 31 Number of events
- 10 Number of unique normalized events
- 13 Max number of times the same event was reported
- 0 Number of cancellation
- 3 Total number of automatic vacuums
- 17 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 2,154 Total number of sessions
- 59 sessions at 2026-09-24 01:58:34 Session peak
- 353d6h31m21s Total duration of sessions
- 3h56m10s Average duration of sessions
- 0 Average queries per session
- 926ms Average queries duration per session
- 3h56m9s Average idle time per session
- 2,135 Total number of connections
- 11 connections/s at 2026-09-24 01:56:12 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2026-09-24 21:26:51 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-09-24 21:26:51 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-09-24 06:00:39 Date
Queries duration
Key values
- 33m16s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 24 00 3 0ms 9m27s 3m13s 0ms 0ms 9m34s 01 11 0ms 9s271ms 7s959ms 8s226ms 17s520ms 17s880ms 02 18 0ms 17s956ms 9s524ms 8s622ms 16s733ms 52s677ms 03 3 0ms 17s34ms 9s374ms 0ms 5s217ms 17s34ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 2 0ms 5s861ms 5s777ms 0ms 0ms 5s861ms 06 10 0ms 1m53s 22s946ms 21s119ms 49s773ms 1m53s 07 0 0ms 0ms 0ms 0ms 0ms 0ms 08 0 0ms 0ms 0ms 0ms 0ms 0ms 09 1 0ms 5s968ms 5s968ms 0ms 0ms 5s968ms 10 9 0ms 1m54s 25s35ms 0ms 40s436ms 1m54s 11 0 0ms 0ms 0ms 0ms 0ms 0ms 12 2 0ms 10s192ms 9s831ms 0ms 0ms 10s192ms 13 1 0ms 6s161ms 6s161ms 0ms 0ms 6s161ms 14 9 0ms 1m52s 24s776ms 0ms 39s680ms 1m52s 15 0 0ms 0ms 0ms 0ms 0ms 0ms 16 1 0ms 15s464ms 15s464ms 0ms 0ms 15s464ms 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 9 0ms 1m56s 25s319ms 21s945ms 50s3ms 1m56s 19 0 0ms 0ms 0ms 0ms 0ms 0ms 20 0 0ms 0ms 0ms 0ms 0ms 0ms 21 15 0ms 39s551ms 10s913ms 16s903ms 36s279ms 44s611ms 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) Sep 24 00 2 0 4m47s 0ms 0ms 9m27s 01 11 0 7s959ms 0ms 8s226ms 17s880ms 02 15 0 7s917ms 5s654ms 8s530ms 16s733ms 03 3 0 9s374ms 0ms 0ms 17s34ms 04 0 0 0ms 0ms 0ms 0ms 05 2 0 5s777ms 0ms 0ms 5s861ms 06 1 9 22s946ms 0ms 21s119ms 1m53s 07 0 0 0ms 0ms 0ms 0ms 08 0 0 0ms 0ms 0ms 0ms 09 1 0 5s968ms 0ms 0ms 5s968ms 10 0 9 25s35ms 0ms 0ms 1m54s 11 0 0 0ms 0ms 0ms 0ms 12 2 0 9s831ms 0ms 0ms 10s192ms 13 1 0 6s161ms 0ms 0ms 6s161ms 14 0 9 24s776ms 0ms 0ms 1m52s 15 0 0 0ms 0ms 0ms 0ms 16 1 0 15s464ms 0ms 0ms 15s464ms 17 0 0 0ms 0ms 0ms 0ms 18 0 9 25s319ms 0ms 21s945ms 1m56s 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 15 0 10s913ms 0ms 16s903ms 44s611ms 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) Sep 24 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Sep 24 00 0 1 1.00 0.00% 01 0 11 11.00 0.00% 02 0 18 18.00 0.00% 03 0 3 3.00 0.00% 04 0 0 0.00 0.00% 05 0 2 2.00 0.00% 06 0 1 1.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 1 1.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 2 2.00 0.00% 13 0 1 1.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 1 1.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 0 0.00 0.00% 21 0 15 15.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Sep 24 00 77 0.02/s 01 157 0.04/s 02 176 0.05/s 03 111 0.03/s 04 79 0.02/s 05 100 0.03/s 06 89 0.02/s 07 73 0.02/s 08 76 0.02/s 09 75 0.02/s 10 79 0.02/s 11 78 0.02/s 12 71 0.02/s 13 75 0.02/s 14 80 0.02/s 15 88 0.02/s 16 75 0.02/s 17 77 0.02/s 18 79 0.02/s 19 76 0.02/s 20 76 0.02/s 21 128 0.04/s 22 83 0.02/s 23 57 0.02/s Day Hour Count Average Duration Average idle time Sep 24 00 77 31m37s 31m29s 01 148 17m5s 17m4s 02 185 13m27s 13m26s 03 111 20m58s 20m58s 04 79 29m32s 29m32s 05 100 24m34s 24m34s 06 89 26m48s 26m46s 07 73 31m17s 31m17s 08 76 31m40s 31m40s 09 75 31m19s 31m19s 10 79 30m42s 30m39s 11 78 31m15s 31m15s 12 71 31m33s 31m33s 13 75 31m57s 31m57s 14 80 30m57s 30m54s 15 88 25m32s 25m32s 16 75 32m32s 32m31s 17 77 31m35s 31m35s 18 79 30m52s 30m49s 19 76 31m46s 31m46s 20 76 32m1s 32m1s 21 147 2d3h33m15s 2d3h33m14s 22 83 22m21s 22m21s 23 57 30m52s 30m52s -
Connections
Established Connections
Key values
- 11 connections Connection Peak
- 2026-09-24 01:56:12 Date
Connections per database
Key values
- ctdprd51 Main Database
- 2,135 connections Total
Connections per user
Key values
- pubeu Main User
- 2,135 connections Total
-
Sessions
Simultaneous sessions
Key values
- 59 sessions Session Peak
- 2026-09-24 01:58:34 Date
Histogram of session times
Key values
- 1,702 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 2,154 sessions Total
Sessions per user
Key values
- pubeu Main User
- 2,154 sessions Total
Sessions per host
Key values
- 10.12.5.53 Main Host
- 2,154 sessions Total
Host Count Total Duration Average Duration 10.12.5.122 12 257d20h31m21s 21d11h42m36s 10.12.5.185 7 15d6h31m7s 2d4h21m35s 10.12.5.45 325 7d5h31m25s 32m2s 10.12.5.46 381 7d23h17m8s 30m7s 10.12.5.53 652 8d33m58s 17m43s 10.12.5.54 382 8d14m25s 30m11s 10.12.5.55 379 7d23h25m47s 30m18s 10.12.5.56 1 7m37s 7m37s 192.168.201.10 1 1m17s 1m17s 192.168.201.14 5 8d16h36m51s 1d17h43m22s ::1 9 32d5h40m20s 3d13h57m48s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 3,801 buffers Checkpoint Peak
- 2026-09-24 11:37:07 Date
- 380.787 seconds Highest write time
- 0.002 seconds Sync time
Checkpoints Wal files
Key values
- 3 files Wal files usage Peak
- 2026-09-24 11:37:07 Date
Checkpoints distance
Key values
- 80.78 Mo Distance Peak
- 2026-09-24 11:37:07 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Sep 24 00 484 48.664s 0.003s 48.676s 01 140 14.209s 0.002s 14.218s 02 221 22.341s 0.002s 22.35s 03 192 19.448s 0.002s 19.458s 04 2,748 275.219s 0.003s 275.27s 05 146 14.798s 0.002s 14.808s 06 1,611 161.571s 0.002s 161.621s 07 58 5.997s 0.002s 6.007s 08 49 5.071s 0.002s 5.08s 09 422 42.481s 0.002s 42.491s 10 199 20.104s 0.002s 20.116s 11 3,830 383.786s 0.002s 383.842s 12 50 5.184s 0.002s 5.194s 13 48 4.969s 0.002s 4.978s 14 154 15.59s 0.002s 15.6s 15 89 9.084s 0.002s 9.093s 16 13 1.391s 0.001s 1.395s 17 37 3.888s 0.002s 3.897s 18 26 2.888s 0.002s 2.899s 19 37 3.877s 0.002s 3.887s 20 20 2.176s 0.002s 2.186s 21 135 13.606s 0.002s 13.628s 22 82 8.398s 0.002s 8.429s 23 27 2.863s 0.002s 2.893s Day Hour Added Removed Recycled Synced files Longest sync Average sync Sep 24 00 0 0 0 64 0.001s 0.002s 01 0 0 0 26 0.001s 0.002s 02 0 0 0 36 0.001s 0.002s 03 0 0 0 38 0.001s 0.002s 04 0 0 1 47 0.001s 0.002s 05 0 0 0 30 0.001s 0.002s 06 0 0 1 146 0.001s 0.002s 07 0 0 0 32 0.001s 0.002s 08 0 0 0 18 0.001s 0.002s 09 0 0 0 35 0.001s 0.002s 10 0 0 0 41 0.001s 0.002s 11 0 0 3 44 0.001s 0.002s 12 0 0 0 19 0.001s 0.002s 13 0 0 0 16 0.001s 0.002s 14 0 0 0 27 0.001s 0.002s 15 0 0 0 23 0.001s 0.002s 16 0 0 0 8 0.001s 0.001s 17 0 0 0 19 0.001s 0.002s 18 0 0 0 12 0.001s 0.002s 19 0 0 0 17 0.001s 0.002s 20 0 0 0 14 0.001s 0.002s 21 0 0 0 27 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 0 16 0.001s 0.002s Day Hour Count Avg time (sec) Sep 24 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Sep 24 00 1,352.50 kB 4,876.50 kB 01 144.50 kB 4,028.50 kB 02 392.50 kB 3,317.00 kB 03 530.00 kB 2,785.50 kB 04 10,196.00 kB 15,883.00 kB 05 251.00 kB 13,083.50 kB 06 4,894.00 kB 11,141.00 kB 07 116.50 kB 9,434.00 kB 08 91.00 kB 7,658.00 kB 09 1,220.50 kB 6,433.00 kB 10 465.00 kB 5,281.00 kB 11 20,745.50 kB 22,949.00 kB 12 105.00 kB 35,376.00 kB 13 67.50 kB 28,669.50 kB 14 244.00 kB 23,250.50 kB 15 106.50 kB 18,867.50 kB 16 43.00 kB 16,097.00 kB 17 44.50 kB 13,770.00 kB 18 28.50 kB 11,158.50 kB 19 30.50 kB 9,045.50 kB 20 40.50 kB 7,333.50 kB 21 326.00 kB 3,421.00 kB 22 139.00 kB 516.00 kB 23 49.50 kB 432.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Sep 24 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.03 sec Highest CPU-cost vacuum
Table pub2.term_comp_agent
Database ctdprd51 - 2026-09-24 11:04:09 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 0.03 sec Highest CPU-cost vacuum
Table pub2.term_comp_agent
Database ctdprd51 - 2026-09-24 11:04:09 Date
Analyzes per table
Key values
- pubc.log_query (15) Main table analyzed (database ctdprd51)
- 17 analyzes Total
Vacuums per table
Key values
- pubc.log_query (2) Main table vacuumed on database ctdprd51
- 3 vacuums Total
Vacuum throughput per table
Key values
- pub2.term_comp_agent (0.03) Max CPU elapsed for vacuum on database ctdprd51
- unknown (0 ms) Max I/O read time for vacuum on database ctdprd51
- unknown (0 ms) Max I/O write time for vacuum on database ctdprd51
Tuples removed per table
Key values
- pubc.log_query (13) Main table with removed tuples on database ctdprd51
- 13 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Sep 24 00 0 1 01 0 1 02 1 4 03 0 2 04 0 2 05 0 2 06 0 1 07 0 0 08 0 0 09 1 0 10 0 1 11 1 1 12 0 0 13 0 0 14 0 1 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 - 0.03 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
- 54 Total read queries
- 39 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 55 Requests
- 25m40s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 69 Requests
User Request type Count Duration editeu Total 4 30s118ms select 4 30s118ms postgres Total 16 17m58s copy to 16 17m58s pubc Total 1 9m27s select 1 9m27s pubeu Total 53 10m13s cte 2 35s385ms select 51 9m38s qaeu Total 3 18s580ms select 3 18s580ms unknown Total 69 13m50s copy to 56 12m3s cte 1 17s291ms others 1 6s795ms select 11 1m22s Duration by user
Key values
- 17m58s (postgres) Main time consuming user
User Request type Count Duration editeu Total 4 30s118ms select 4 30s118ms postgres Total 16 17m58s copy to 16 17m58s pubc Total 1 9m27s select 1 9m27s pubeu Total 53 10m13s cte 2 35s385ms select 51 9m38s qaeu Total 3 18s580ms select 3 18s580ms unknown Total 69 13m50s copy to 56 12m3s cte 1 17s291ms others 1 6s795ms select 11 1m22s Queries by host
Key values
- unknown Main host
- 146 Requests
- 52m18s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 85 Requests
- 14m50s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-09-24 18:13:47 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 58 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 9m27s /* * 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-09-24 00:09:28 - Database: ctdprd51 - User: pubc - Application: psql ]
2 1m56s 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-09-24 18:06:58 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
3 1m54s 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-09-24 10:06:55 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
4 1m53s 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-09-24 06:06:54 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
5 1m52s 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-09-24 14:06:54 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
6 39s551ms SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN term_label li ON li.term_id = pi.ancestor_object_id WHERE UPPER(li.nm) LIKE 'APOPTOSIS' AND li.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2026-09-24 21:36:54 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
7 24s591ms 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-09-24 10:07:20 ]
8 24s285ms 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-09-24 14:07:19 ]
9 24s273ms 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-09-24 18:07:22 ]
10 24s148ms 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-09-24 06:07:19 ]
11 23s463ms SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, ( 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 r.acc_txt, '|')) as references, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id INNER JOIN reference r on gcr.reference_id = r.id LEFT OUTER JOIN term taxonTerm on gcr.taxon_id = taxonTerm.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterPathwayWhereEquals.Name */ tp.term_id FROM term_pathway tp WHERE UPPER(tp.pathway_nm) LIKE 'METABOLISM' AND tp.object_type_id = 4))) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'increases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50;[ Date: 2026-09-24 21:37:45 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 20s808ms 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-09-24 18:00:23 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
13 20s580ms 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-09-24 06:00:22 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
14 20s333ms 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-09-24 10:00:22 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
15 20s281ms 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-09-24 14:00:22 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
16 17s956ms WITH anatomy AS ( SELECT chem_conc_id, array_agg(anatomy_id ORDER BY anatomy_id) AS anatomy_ids, string_agg(DISTINCT anatomy_nm_html || '^' || anatomy_acc_txt || '^' || position_seq || '^' || anatomy_acc_db_id || '^' || anatomy_nm, '|') AS anatomyTerms FROM chem_conc_anatomy cca GROUP BY chem_conc_id ), reference_groups AS ( SELECT cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, string_agg(DISTINCT r.acc_txt, '|') AS refAcc, COUNT(DISTINCT cc.reference_id) AS referenceCount FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id LEFT JOIN reference r ON r.id = cc.reference_id GROUP BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ), deduplicated_cc AS ( SELECT cc.*, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, a.anatomyTerms, ROW_NUMBER() OVER (PARTITION BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ORDER BY cc.id) AS rn FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id WHERE EXISTS ( SELECT 1 FROM chem_conc cc_ref LEFT JOIN anatomy a_ref ON a_ref.chem_conc_id = cc_ref.id WHERE cc_ref.chem_id IS NOT DISTINCT FROM cc.chem_id AND cc_ref.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND cc_ref.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND cc_ref.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND cc_ref.disease_id IS NOT DISTINCT FROM cc.disease_id AND cc_ref.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND cc_ref.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND cc_ref.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND COALESCE(a_ref.anatomy_ids, ARRAY[]::integer[]) = COALESCE(a.anatomy_ids, ARRAY[]::integer[]))) SELECT /* ChemConcentrationDao */ cc.chem_id AS chem_id, t.nm AS chem, t.nm_html AS chemNmHtml, t.acc_txt AS chemAcc, t.secondary_nm AS casRN, cc.chem_conc || ' ' || cc.chem_conc_uom_nm AS concentration, cc.ixn_qualifier_nm AS vivoVitro, cc.chem_conc_exp_route_nm AS expRoute, cc.taxon_nm_html AS organism, cc.anatomyTerms AS anatomyTerms, cc.anatomyTerms AS anatomyTermsSort, cc.action_type_cd AS directEvidence, cc.action_type_cd AS directEvidenceSort, d.nm AS diseasenm, d.acc_txt AS diseaseacc, d.acc_db_cd AS diseaseaccdbcd, d.id AS diseaseid, tx.nm AS taxonnm, tx.secondary_nm AS taxoncomnm, tx.id AS taxonid, tx.acc_txt AS taxonacc, rg.refAcc, rg.referenceCount, COUNT(*) OVER () fullRowCount FROM deduplicated_cc cc INNER JOIN term t ON cc.chem_id = t.id INNER JOIN term tx ON cc.taxon_id = tx.id LEFT JOIN term d ON cc.disease_id = d.id INNER JOIN reference_groups rg ON rg.chem_id IS NOT DISTINCT FROM cc.chem_id AND rg.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND rg.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND rg.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND rg.disease_id IS NOT DISTINCT FROM cc.disease_id AND rg.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND rg.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND rg.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND rg.anatomy_ids = cc.anatomy_ids WHERE cc.rn = 1 AND t.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1447004') ORDER BY organism LIMIT 50;[ Date: 2026-09-24 02:07:47 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 17s429ms WITH anatomy AS ( SELECT chem_conc_id, array_agg(anatomy_id ORDER BY anatomy_id) AS anatomy_ids, string_agg(DISTINCT anatomy_nm_html || '^' || anatomy_acc_txt || '^' || position_seq || '^' || anatomy_acc_db_id || '^' || anatomy_nm, '|') AS anatomyTerms FROM chem_conc_anatomy cca GROUP BY chem_conc_id ), reference_groups AS ( SELECT cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, string_agg(DISTINCT r.acc_txt, '|') AS refAcc, COUNT(DISTINCT cc.reference_id) AS referenceCount FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id LEFT JOIN reference r ON r.id = cc.reference_id GROUP BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ), deduplicated_cc AS ( SELECT cc.*, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, a.anatomyTerms, ROW_NUMBER() OVER (PARTITION BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ORDER BY cc.id) AS rn FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id WHERE EXISTS ( SELECT 1 FROM chem_conc cc_ref LEFT JOIN anatomy a_ref ON a_ref.chem_conc_id = cc_ref.id WHERE cc_ref.chem_id IS NOT DISTINCT FROM cc.chem_id AND cc_ref.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND cc_ref.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND cc_ref.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND cc_ref.disease_id IS NOT DISTINCT FROM cc.disease_id AND cc_ref.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND cc_ref.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND cc_ref.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND COALESCE(a_ref.anatomy_ids, ARRAY[]::integer[]) = COALESCE(a.anatomy_ids, ARRAY[]::integer[]))) SELECT /* ChemConcentrationDao */ cc.chem_id AS chem_id, t.nm AS chem, t.nm_html AS chemNmHtml, t.acc_txt AS chemAcc, t.secondary_nm AS casRN, cc.chem_conc || ' ' || cc.chem_conc_uom_nm AS concentration, cc.ixn_qualifier_nm AS vivoVitro, cc.chem_conc_exp_route_nm AS expRoute, cc.taxon_nm_html AS organism, cc.anatomyTerms AS anatomyTerms, cc.anatomyTerms AS anatomyTermsSort, cc.action_type_cd AS directEvidence, cc.action_type_cd AS directEvidenceSort, d.nm AS diseasenm, d.acc_txt AS diseaseacc, d.acc_db_cd AS diseaseaccdbcd, d.id AS diseaseid, tx.nm AS taxonnm, tx.secondary_nm AS taxoncomnm, tx.id AS taxonid, tx.acc_txt AS taxonacc, rg.refAcc, rg.referenceCount, COUNT(*) OVER () fullRowCount FROM deduplicated_cc cc INNER JOIN term t ON cc.chem_id = t.id INNER JOIN term tx ON cc.taxon_id = tx.id LEFT JOIN term d ON cc.disease_id = d.id INNER JOIN reference_groups rg ON rg.chem_id IS NOT DISTINCT FROM cc.chem_id AND rg.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND rg.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND rg.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND rg.disease_id IS NOT DISTINCT FROM cc.disease_id AND rg.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND rg.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND rg.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND rg.anatomy_ids = cc.anatomy_ids WHERE cc.rn = 1 AND t.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1447004') ORDER BY organism LIMIT 50;[ Date: 2026-09-24 02:07:31 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 17s291ms WITH anatomy AS ( SELECT chem_conc_id, array_agg(anatomy_id ORDER BY anatomy_id) AS anatomy_ids, string_agg(DISTINCT anatomy_nm_html || '^' || anatomy_acc_txt || '^' || position_seq || '^' || anatomy_acc_db_id || '^' || anatomy_nm, '|') AS anatomyTerms FROM chem_conc_anatomy cca GROUP BY chem_conc_id ), reference_groups AS ( SELECT cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, string_agg(DISTINCT r.acc_txt, '|') AS refAcc, COUNT(DISTINCT cc.reference_id) AS referenceCount FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id LEFT JOIN reference r ON r.id = cc.reference_id GROUP BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ), deduplicated_cc AS ( SELECT cc.*, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, a.anatomyTerms, ROW_NUMBER() OVER (PARTITION BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ORDER BY cc.id) AS rn FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id WHERE EXISTS ( SELECT 1 FROM chem_conc cc_ref LEFT JOIN anatomy a_ref ON a_ref.chem_conc_id = cc_ref.id WHERE cc_ref.chem_id IS NOT DISTINCT FROM cc.chem_id AND cc_ref.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND cc_ref.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND cc_ref.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND cc_ref.disease_id IS NOT DISTINCT FROM cc.disease_id AND cc_ref.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND cc_ref.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND cc_ref.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND COALESCE(a_ref.anatomy_ids, ARRAY[]::integer[]) = COALESCE(a.anatomy_ids, ARRAY[]::integer[]))) SELECT /* ChemConcentrationDao */ cc.chem_id AS chem_id, t.nm AS chem, t.nm_html AS chemNmHtml, t.acc_txt AS chemAcc, t.secondary_nm AS casRN, cc.chem_conc || ' ' || cc.chem_conc_uom_nm AS concentration, cc.ixn_qualifier_nm AS vivoVitro, cc.chem_conc_exp_route_nm AS expRoute, cc.taxon_nm_html AS organism, cc.anatomyTerms AS anatomyTerms, cc.anatomyTerms AS anatomyTermsSort, cc.action_type_cd AS directEvidence, cc.action_type_cd AS directEvidenceSort, d.nm AS diseasenm, d.acc_txt AS diseaseacc, d.acc_db_cd AS diseaseaccdbcd, d.id AS diseaseid, tx.nm AS taxonnm, tx.secondary_nm AS taxoncomnm, tx.id AS taxonid, tx.acc_txt AS taxonacc, rg.refAcc, rg.referenceCount, COUNT(*) OVER () fullRowCount FROM deduplicated_cc cc INNER JOIN term t ON cc.chem_id = t.id INNER JOIN term tx ON cc.taxon_id = tx.id LEFT JOIN term d ON cc.disease_id = d.id INNER JOIN reference_groups rg ON rg.chem_id IS NOT DISTINCT FROM cc.chem_id AND rg.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND rg.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND rg.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND rg.disease_id IS NOT DISTINCT FROM cc.disease_id AND rg.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND rg.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND rg.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND rg.anatomy_ids = cc.anatomy_ids WHERE cc.rn = 1 AND t.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1447004') ORDER BY organism LIMIT 50;[ Date: 2026-09-24 02:07:35 - Bind query: yes ]
19 17s34ms SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d009765' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2196371) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;[ Date: 2026-09-24 03:03:54 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 16s138ms 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-09-24 21:40:42 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 9m27s 1 9m27s 9m27s 9m27s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 24 00 1 9m27s 9m27s [ User: pubc - Total duration: 9m27s - Times executed: 1 ]
[ Application: psql - Total duration: 9m27s - 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-09-24 00:09:28 Duration: 9m27s Database: ctdprd51 User: pubc Application: psql
2 7m36s 4 1m52s 1m56s 1m54s 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 Sep 24 06 1 1m53s 1m53s 10 1 1m54s 1m54s 14 1 1m52s 1m52s 18 1 1m56s 1m56s [ User: postgres - Total duration: 7m36s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m36s - 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-09-24 18:06:58 Duration: 1m56s 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-09-24 10:06:55 Duration: 1m54s 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-09-24 06:06:54 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
3 2m40s 19 7s756ms 9s271ms 8s450ms 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 #3
Day Hour Count Duration Avg duration Sep 24 01 9 1m17s 8s613ms 02 10 1m23s 8s304ms [ User: pubeu - Total duration: 2m5s - Times executed: 15 ]
-
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 = '2203172') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-24 01:53:24 Duration: 9s271ms 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 = '2203172') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-24 01:55:10 Duration: 8s969ms 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 = '2203172') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-24 01:54:44 Duration: 8s963ms Bind query: yes
4 1m37s 4 24s148ms 24s591ms 24s325ms 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 Sep 24 06 1 24s148ms 24s148ms 10 1 24s591ms 24s591ms 14 1 24s285ms 24s285ms 18 1 24s273ms 24s273ms -
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-09-24 10:07:20 Duration: 24s591ms
-
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-09-24 14:07:19 Duration: 24s285ms
-
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-09-24 18:07:22 Duration: 24s273ms
5 1m22s 4 20s281ms 20s808ms 20s500ms 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 #5
Day Hour Count Duration Avg duration Sep 24 06 1 20s580ms 20s580ms 10 1 20s333ms 20s333ms 14 1 20s281ms 20s281ms 18 1 20s808ms 20s808ms [ User: postgres - Total duration: 1m22s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 1m22s - 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-09-24 18:00:23 Duration: 20s808ms 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-09-24 06:00:22 Duration: 20s580ms 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-09-24 10:00:22 Duration: 20s333ms Database: ctdprd51 User: postgres Application: pg_dump
6 1m2s 4 15s394ms 15s845ms 15s545ms 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 Sep 24 06 1 15s430ms 15s430ms 10 1 15s845ms 15s845ms 14 1 15s394ms 15s394ms 18 1 15s513ms 15s513ms -
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-09-24 10:07:36 Duration: 15s845ms
-
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-09-24 18:07:38 Duration: 15s513ms
-
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-09-24 06:07:34 Duration: 15s430ms
7 1m 4 15s64ms 15s314ms 15s168ms 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 Sep 24 06 1 15s64ms 15s64ms 10 1 15s143ms 15s143ms 14 1 15s153ms 15s153ms 18 1 15s314ms 15s314ms -
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-09-24 18:00:54 Duration: 15s314ms
-
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-09-24 14:00:53 Duration: 15s153ms
-
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-09-24 10:00:54 Duration: 15s143ms
8 59s173ms 4 14s616ms 15s238ms 14s793ms 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 Sep 24 06 1 14s616ms 14s616ms 10 1 14s676ms 14s676ms 14 1 14s641ms 14s641ms 18 1 15s238ms 15s238ms -
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-09-24 18:01:10 Duration: 15s238ms
-
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-09-24 10:01:09 Duration: 14s676ms
-
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-09-24 14:01:08 Duration: 14s641ms
9 52s677ms 3 17s291ms 17s956ms 17s559ms with anatomy as ( select chem_conc_id, array_agg(anatomy_id order by anatomy_id) as anatomy_ids, string_agg(distinct anatomy_nm_html || ? || anatomy_acc_txt || ? || position_seq || ? || anatomy_acc_db_id || ? || anatomy_nm, ?) as anatomyterms from chem_conc_anatomy cca group by chem_conc_id ), reference_groups as ( select cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, coalesce(a.anatomy_ids, array[]::integer[]) as anatomy_ids, string_agg(distinct r.acc_txt, ?) as refacc, count(distinct cc.reference_id) as referencecount from chem_conc cc left join anatomy a on a.chem_conc_id = cc.id left join reference r on r.id = cc.reference_id group by cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, coalesce(a.anatomy_ids, array[]::integer[]) ), deduplicated_cc as ( select cc.*, coalesce(a.anatomy_ids, array[]::integer[]) as anatomy_ids, a.anatomyterms, row_number() over (partition by cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, coalesce(a.anatomy_ids, array[]::integer[]) order by cc.id) as rn from chem_conc cc left join anatomy a on a.chem_conc_id = cc.id where exists ( select ? from chem_conc cc_ref left join anatomy a_ref on a_ref.chem_conc_id = cc_ref.id where cc_ref.chem_id is not distinct from cc.chem_id and cc_ref.chem_conc is not distinct from cc.chem_conc and cc_ref.chem_conc_uom_nm is not distinct from cc.chem_conc_uom_nm and cc_ref.taxon_id is not distinct from cc.taxon_id and cc_ref.disease_id is not distinct from cc.disease_id and cc_ref.chem_conc_exp_route_nm is not distinct from cc.chem_conc_exp_route_nm and cc_ref.ixn_qualifier_nm is not distinct from cc.ixn_qualifier_nm and cc_ref.action_type_cd is not distinct from cc.action_type_cd and coalesce(a_ref.anatomy_ids, array[]::integer[]) = coalesce(a.anatomy_ids, array[]::integer[]))) select cc.chem_id as chem_id, t.nm as chem, t.nm_html as chemnmhtml, t.acc_txt as chemacc, t.secondary_nm as casrn, cc.chem_conc || ? || cc.chem_conc_uom_nm as concentration, cc.ixn_qualifier_nm as vivovitro, cc.chem_conc_exp_route_nm as exproute, cc.taxon_nm_html as organism, cc.anatomyterms as anatomyterms, cc.anatomyterms as anatomytermssort, cc.action_type_cd as directevidence, cc.action_type_cd as directevidencesort, d.nm as diseasenm, d.acc_txt as diseaseacc, d.acc_db_cd as diseaseaccdbcd, d.id as diseaseid, tx.nm as taxonnm, tx.secondary_nm as taxoncomnm, tx.id as taxonid, tx.acc_txt as taxonacc, rg.refacc, rg.referencecount, count(*) over () fullrowcount from deduplicated_cc cc inner join term t on cc.chem_id = t.id inner join term tx on cc.taxon_id = tx.id left join term d on cc.disease_id = d.id inner join reference_groups rg on rg.chem_id is not distinct from cc.chem_id and rg.chem_conc is not distinct from cc.chem_conc and rg.chem_conc_uom_nm is not distinct from cc.chem_conc_uom_nm and rg.taxon_id is not distinct from cc.taxon_id and rg.disease_id is not distinct from cc.disease_id and rg.chem_conc_exp_route_nm is not distinct from cc.chem_conc_exp_route_nm and rg.ixn_qualifier_nm is not distinct from cc.ixn_qualifier_nm and rg.action_type_cd is not distinct from cc.action_type_cd and rg.anatomy_ids = cc.anatomy_ids where cc.rn = ? and t.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) order by organism limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 24 02 3 52s677ms 17s559ms [ User: pubeu - Total duration: 35s385ms - Times executed: 2 ]
-
WITH anatomy AS ( SELECT chem_conc_id, array_agg(anatomy_id ORDER BY anatomy_id) AS anatomy_ids, string_agg(DISTINCT anatomy_nm_html || '^' || anatomy_acc_txt || '^' || position_seq || '^' || anatomy_acc_db_id || '^' || anatomy_nm, '|') AS anatomyTerms FROM chem_conc_anatomy cca GROUP BY chem_conc_id ), reference_groups AS ( SELECT cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, string_agg(DISTINCT r.acc_txt, '|') AS refAcc, COUNT(DISTINCT cc.reference_id) AS referenceCount FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id LEFT JOIN reference r ON r.id = cc.reference_id GROUP BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ), deduplicated_cc AS ( SELECT cc.*, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, a.anatomyTerms, ROW_NUMBER() OVER (PARTITION BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ORDER BY cc.id) AS rn FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id WHERE EXISTS ( SELECT 1 FROM chem_conc cc_ref LEFT JOIN anatomy a_ref ON a_ref.chem_conc_id = cc_ref.id WHERE cc_ref.chem_id IS NOT DISTINCT FROM cc.chem_id AND cc_ref.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND cc_ref.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND cc_ref.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND cc_ref.disease_id IS NOT DISTINCT FROM cc.disease_id AND cc_ref.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND cc_ref.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND cc_ref.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND COALESCE(a_ref.anatomy_ids, ARRAY[]::integer[]) = COALESCE(a.anatomy_ids, ARRAY[]::integer[]))) SELECT /* ChemConcentrationDao */ cc.chem_id AS chem_id, t.nm AS chem, t.nm_html AS chemNmHtml, t.acc_txt AS chemAcc, t.secondary_nm AS casRN, cc.chem_conc || ' ' || cc.chem_conc_uom_nm AS concentration, cc.ixn_qualifier_nm AS vivoVitro, cc.chem_conc_exp_route_nm AS expRoute, cc.taxon_nm_html AS organism, cc.anatomyTerms AS anatomyTerms, cc.anatomyTerms AS anatomyTermsSort, cc.action_type_cd AS directEvidence, cc.action_type_cd AS directEvidenceSort, d.nm AS diseasenm, d.acc_txt AS diseaseacc, d.acc_db_cd AS diseaseaccdbcd, d.id AS diseaseid, tx.nm AS taxonnm, tx.secondary_nm AS taxoncomnm, tx.id AS taxonid, tx.acc_txt AS taxonacc, rg.refAcc, rg.referenceCount, COUNT(*) OVER () fullRowCount FROM deduplicated_cc cc INNER JOIN term t ON cc.chem_id = t.id INNER JOIN term tx ON cc.taxon_id = tx.id LEFT JOIN term d ON cc.disease_id = d.id INNER JOIN reference_groups rg ON rg.chem_id IS NOT DISTINCT FROM cc.chem_id AND rg.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND rg.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND rg.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND rg.disease_id IS NOT DISTINCT FROM cc.disease_id AND rg.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND rg.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND rg.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND rg.anatomy_ids = cc.anatomy_ids WHERE cc.rn = 1 AND t.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1447004') ORDER BY organism LIMIT 50;
Date: 2026-09-24 02:07:47 Duration: 17s956ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH anatomy AS ( SELECT chem_conc_id, array_agg(anatomy_id ORDER BY anatomy_id) AS anatomy_ids, string_agg(DISTINCT anatomy_nm_html || '^' || anatomy_acc_txt || '^' || position_seq || '^' || anatomy_acc_db_id || '^' || anatomy_nm, '|') AS anatomyTerms FROM chem_conc_anatomy cca GROUP BY chem_conc_id ), reference_groups AS ( SELECT cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, string_agg(DISTINCT r.acc_txt, '|') AS refAcc, COUNT(DISTINCT cc.reference_id) AS referenceCount FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id LEFT JOIN reference r ON r.id = cc.reference_id GROUP BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ), deduplicated_cc AS ( SELECT cc.*, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, a.anatomyTerms, ROW_NUMBER() OVER (PARTITION BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ORDER BY cc.id) AS rn FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id WHERE EXISTS ( SELECT 1 FROM chem_conc cc_ref LEFT JOIN anatomy a_ref ON a_ref.chem_conc_id = cc_ref.id WHERE cc_ref.chem_id IS NOT DISTINCT FROM cc.chem_id AND cc_ref.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND cc_ref.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND cc_ref.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND cc_ref.disease_id IS NOT DISTINCT FROM cc.disease_id AND cc_ref.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND cc_ref.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND cc_ref.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND COALESCE(a_ref.anatomy_ids, ARRAY[]::integer[]) = COALESCE(a.anatomy_ids, ARRAY[]::integer[]))) SELECT /* ChemConcentrationDao */ cc.chem_id AS chem_id, t.nm AS chem, t.nm_html AS chemNmHtml, t.acc_txt AS chemAcc, t.secondary_nm AS casRN, cc.chem_conc || ' ' || cc.chem_conc_uom_nm AS concentration, cc.ixn_qualifier_nm AS vivoVitro, cc.chem_conc_exp_route_nm AS expRoute, cc.taxon_nm_html AS organism, cc.anatomyTerms AS anatomyTerms, cc.anatomyTerms AS anatomyTermsSort, cc.action_type_cd AS directEvidence, cc.action_type_cd AS directEvidenceSort, d.nm AS diseasenm, d.acc_txt AS diseaseacc, d.acc_db_cd AS diseaseaccdbcd, d.id AS diseaseid, tx.nm AS taxonnm, tx.secondary_nm AS taxoncomnm, tx.id AS taxonid, tx.acc_txt AS taxonacc, rg.refAcc, rg.referenceCount, COUNT(*) OVER () fullRowCount FROM deduplicated_cc cc INNER JOIN term t ON cc.chem_id = t.id INNER JOIN term tx ON cc.taxon_id = tx.id LEFT JOIN term d ON cc.disease_id = d.id INNER JOIN reference_groups rg ON rg.chem_id IS NOT DISTINCT FROM cc.chem_id AND rg.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND rg.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND rg.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND rg.disease_id IS NOT DISTINCT FROM cc.disease_id AND rg.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND rg.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND rg.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND rg.anatomy_ids = cc.anatomy_ids WHERE cc.rn = 1 AND t.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1447004') ORDER BY organism LIMIT 50;
Date: 2026-09-24 02:07:31 Duration: 17s429ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH anatomy AS ( SELECT chem_conc_id, array_agg(anatomy_id ORDER BY anatomy_id) AS anatomy_ids, string_agg(DISTINCT anatomy_nm_html || '^' || anatomy_acc_txt || '^' || position_seq || '^' || anatomy_acc_db_id || '^' || anatomy_nm, '|') AS anatomyTerms FROM chem_conc_anatomy cca GROUP BY chem_conc_id ), reference_groups AS ( SELECT cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, string_agg(DISTINCT r.acc_txt, '|') AS refAcc, COUNT(DISTINCT cc.reference_id) AS referenceCount FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id LEFT JOIN reference r ON r.id = cc.reference_id GROUP BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ), deduplicated_cc AS ( SELECT cc.*, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, a.anatomyTerms, ROW_NUMBER() OVER (PARTITION BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ORDER BY cc.id) AS rn FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id WHERE EXISTS ( SELECT 1 FROM chem_conc cc_ref LEFT JOIN anatomy a_ref ON a_ref.chem_conc_id = cc_ref.id WHERE cc_ref.chem_id IS NOT DISTINCT FROM cc.chem_id AND cc_ref.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND cc_ref.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND cc_ref.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND cc_ref.disease_id IS NOT DISTINCT FROM cc.disease_id AND cc_ref.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND cc_ref.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND cc_ref.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND COALESCE(a_ref.anatomy_ids, ARRAY[]::integer[]) = COALESCE(a.anatomy_ids, ARRAY[]::integer[]))) SELECT /* ChemConcentrationDao */ cc.chem_id AS chem_id, t.nm AS chem, t.nm_html AS chemNmHtml, t.acc_txt AS chemAcc, t.secondary_nm AS casRN, cc.chem_conc || ' ' || cc.chem_conc_uom_nm AS concentration, cc.ixn_qualifier_nm AS vivoVitro, cc.chem_conc_exp_route_nm AS expRoute, cc.taxon_nm_html AS organism, cc.anatomyTerms AS anatomyTerms, cc.anatomyTerms AS anatomyTermsSort, cc.action_type_cd AS directEvidence, cc.action_type_cd AS directEvidenceSort, d.nm AS diseasenm, d.acc_txt AS diseaseacc, d.acc_db_cd AS diseaseaccdbcd, d.id AS diseaseid, tx.nm AS taxonnm, tx.secondary_nm AS taxoncomnm, tx.id AS taxonid, tx.acc_txt AS taxonacc, rg.refAcc, rg.referenceCount, COUNT(*) OVER () fullRowCount FROM deduplicated_cc cc INNER JOIN term t ON cc.chem_id = t.id INNER JOIN term tx ON cc.taxon_id = tx.id LEFT JOIN term d ON cc.disease_id = d.id INNER JOIN reference_groups rg ON rg.chem_id IS NOT DISTINCT FROM cc.chem_id AND rg.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND rg.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND rg.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND rg.disease_id IS NOT DISTINCT FROM cc.disease_id AND rg.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND rg.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND rg.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND rg.anatomy_ids = cc.anatomy_ids WHERE cc.rn = 1 AND t.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1447004') ORDER BY organism LIMIT 50;
Date: 2026-09-24 02:07:35 Duration: 17s291ms Bind query: yes
10 43s700ms 4 5s476ms 17s34ms 10s925ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 24 02 1 10s998ms 10s998ms 03 1 17s34ms 17s34ms 06 1 5s476ms 5s476ms 12 1 10s192ms 10s192ms [ User: pubeu - Total duration: 32s702ms - Times executed: 3 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d009765' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2196371) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-09-24 03:03:54 Duration: 17s34ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d003072' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2204090) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-09-24 02:47:17 Duration: 10s998ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'obesity' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2196371) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-09-24 12:00:30 Duration: 10s192ms Database: ctdprd51 User: pubeu Bind query: yes
11 39s551ms 1 39s551ms 39s551ms 39s551ms select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in (( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join term_label li on li.term_id = pi.ancestor_object_id where upper(li.nm) like ? and li.object_type_id = ?)) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 24 21 1 39s551ms 39s551ms [ User: pubeu - Total duration: 39s551ms - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN term_label li ON li.term_id = pi.ancestor_object_id WHERE UPPER(li.nm) LIKE 'APOPTOSIS' AND li.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2026-09-24 21:36:54 Duration: 39s551ms Database: ctdprd51 User: pubeu Bind query: yes
12 36s278ms 6 5s693ms 7s191ms 6s46ms 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 #12
Day Hour Count Duration Avg duration Sep 24 02 2 12s927ms 6s463ms 03 1 5s870ms 5s870ms 05 2 11s554ms 5s777ms 21 1 5s925ms 5s925ms [ User: pubeu - Total duration: 24s490ms - Times executed: 4 ]
[ User: qaeu - Total duration: 5s861ms - 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 = 1404748)) 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-09-24 02:06:06 Duration: 7s191ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1404748)) 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-09-24 21:39:53 Duration: 5s925ms 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 = 1404748)) 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-09-24 03:14:00 Duration: 5s870ms Database: ctdprd51 User: pubeu Bind query: yes
13 30s412ms 4 7s545ms 7s685ms 7s603ms 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 Sep 24 06 1 7s580ms 7s580ms 10 1 7s685ms 7s685ms 14 1 7s545ms 7s545ms 18 1 7s601ms 7s601ms -
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-09-24 10:00:32 Duration: 7s685ms
-
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-09-24 18:00:32 Duration: 7s601ms
-
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-09-24 06:00:32 Duration: 7s580ms
14 30s118ms 4 5s380ms 9s942ms 7s529ms select t.id, t.object_type_id, t.acc_txt, t.acc_db_cd, t.nm, t.nm_sort, t.secondary_nm, t.description, t.note, l.nm from pub2.term t, pub2.term_label l where t.object_type_id = ? and t.id = l.term_id;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 24 21 4 30s118ms 7s529ms [ User: editeu - Total duration: 30s118ms - Times executed: 4 ]
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub2.TERM t, pub2.TERM_LABEL l where t.OBJECT_TYPE_ID = 4 and t.id = l.TERM_ID;
Date: 2026-09-24 21:26:51 Duration: 9s942ms Database: ctdprd51 User: editeu Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub2.TERM t, pub2.TERM_LABEL l where t.OBJECT_TYPE_ID = 4 and t.id = l.TERM_ID;
Date: 2026-09-24 21:26:51 Duration: 8s659ms Database: ctdprd51 User: editeu Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub2.TERM t, pub2.TERM_LABEL l where t.OBJECT_TYPE_ID = 1 and t.id = l.TERM_ID;
Date: 2026-09-24 21:26:47 Duration: 6s136ms Database: ctdprd51 User: editeu Bind query: yes
15 26s407ms 4 6s503ms 6s706ms 6s601ms 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 #15
Day Hour Count Duration Avg duration Sep 24 06 1 6s503ms 6s503ms 10 1 6s678ms 6s678ms 14 1 6s519ms 6s519ms 18 1 6s706ms 6s706ms -
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-09-24 18:01:18 Duration: 6s706ms
-
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-09-24 10:01:17 Duration: 6s678ms
-
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-09-24 14:01:17 Duration: 6s519ms
16 25s468ms 4 6s279ms 6s548ms 6s367ms 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 #16
Day Hour Count Duration Avg duration Sep 24 06 1 6s548ms 6s548ms 10 1 6s295ms 6s295ms 14 1 6s345ms 6s345ms 18 1 6s279ms 6s279ms -
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-09-24 06:00:39 Duration: 6s548ms
-
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-09-24 14:00:38 Duration: 6s345ms
-
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-09-24 10:00:38 Duration: 6s295ms
17 23s463ms 1 23s463ms 23s463ms 23s463ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, ( 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 r.acc_txt, ?)) as references, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id inner join reference r on gcr.reference_id = r.id left outer join term taxonterm on gcr.taxon_id = taxonterm.id where gcr.gene_id = any (array (( select tp.term_id from term_pathway tp where upper(tp.pathway_nm) like ? and tp.object_type_id = ?))) and gcr.id in ( select gcra.gene_chem_reference_id from gene_chem_reference_axn gcra where (gcra.action_degree_type_nm = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by g.nm_sort, c.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 24 21 1 23s463ms 23s463ms [ User: pubeu - Total duration: 23s463ms - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, ( 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 r.acc_txt, '|')) as references, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id INNER JOIN reference r on gcr.reference_id = r.id LEFT OUTER JOIN term taxonTerm on gcr.taxon_id = taxonTerm.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterPathwayWhereEquals.Name */ tp.term_id FROM term_pathway tp WHERE UPPER(tp.pathway_nm) LIKE 'METABOLISM' AND tp.object_type_id = 4))) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'increases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50;
Date: 2026-09-24 21:37:45 Duration: 23s463ms Database: ctdprd51 User: pubeu Bind query: yes
18 16s138ms 1 16s138ms 16s138ms 16s138ms 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 #18
Day Hour Count Duration Avg duration Sep 24 21 1 16s138ms 16s138ms [ User: pubeu - Total duration: 16s138ms - 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-09-24 21:40:42 Duration: 16s138ms Database: ctdprd51 User: pubeu Bind query: yes
19 15s888ms 3 5s16ms 5s654ms 5s296ms 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 #19
Day Hour Count Duration Avg duration Sep 24 01 1 5s16ms 5s16ms 02 1 5s654ms 5s654ms 03 1 5s217ms 5s217ms [ User: pubeu - Total duration: 15s888ms - Times executed: 3 ]
-
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 = '1447004' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2026-09-24 02:03:54 Duration: 5s654ms 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 = '1384598' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2026-09-24 03:38:56 Duration: 5s217ms 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 = '1403082' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2026-09-24 01:36:38 Duration: 5s16ms Database: ctdprd51 User: pubeu Bind query: yes
20 15s464ms 1 15s464ms 15s464ms 15s464ms select phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, t.reference_score as referencescore, count(*) over () fullrowcount from tetramer t inner join term phenotypeterm on t.phenotype_id = phenotypeterm.id inner join term diseaseterm on t.disease_id = diseaseterm.id inner join term geneterm on t.gene_id = geneterm.id inner join term chemterm on t.chem_id = chemterm.id where disease_id = any (array ( 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 exists ( select ? from chem_disease_reference cdr where chemterm.id = cdr.chem_id and diseaseterm.id = cdr.disease_id and cdr.source_cd = ? and exists ( select ? from chem_disease_reference_axn cdra where cdr.id = cdra.chem_disease_reference_id and cdra.action_type_cd = ?)) and exists ( select ? from gene_disease_reference gdr where gdr.gene_id = t.gene_id and gdr.disease_id = t.disease_id and ((source_cd = ? and exists ( select ? from gene_disease_reference_axn gdra where gdr.id = gdra.gene_disease_reference_id and gdra.action_type_cd = ?)) or (source_cd = ?))) order by t.reference_score desc, chemterm.nm, geneterm.nm, phenotypeterm.nm, diseaseterm.nm;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 24 16 1 15s464ms 15s464ms [ User: pubeu - Total duration: 15s464ms - Times executed: 1 ]
-
select phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, t.reference_score AS referenceScore, COUNT(*) OVER () fullRowCount from TETRAMER t inner join TERM phenotypeTerm on t.phenotype_id = phenotypeTerm.id inner join TERM diseaseTerm on t.disease_id = diseaseTerm.id inner join TERM geneTerm on t.gene_id = geneTerm.id inner join TERM chemTerm on t.chem_id = chemTerm.id where disease_id = ANY (ARRAY ( 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 = 3 and upper(baseTerm.nm) LIKE 'ALZHEIMER DISEASE'))) and EXISTS ( SELECT 1 FROM chem_disease_reference cdr WHERE chemTerm.id = cdr.chem_id AND diseaseTerm.id = cdr.disease_id AND cdr.source_cd = 'C' AND EXISTS ( SELECT 1 FROM chem_disease_reference_axn cdra WHERE cdr.id = cdra.chem_disease_reference_id AND cdra.action_type_cd = 'm')) and EXISTS ( SELECT 1 FROM gene_disease_reference gdr WHERE gdr.gene_id = t.gene_id AND gdr.disease_id = t.disease_id -- BASE_GENE_DISEASE_RLTNP_FRAGMENT AND ((source_cd = 'C' -- DBConstants.CURATED_FILTER_SQL AND EXISTS ( SELECT 1 FROM gene_disease_reference_axn gdra WHERE gdr.id = gdra.gene_disease_reference_id AND gdra.action_type_cd = 'm' --GENE_DISEASE_CTD_CURATED_MARKER_RLTNP_WHERE_FRAGMENT )) OR (source_cd = 'O') -- DBConstants.OMIM_CURATED_FILTER_SQL )) order by t.reference_score desc, chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm;
Date: 2026-09-24 16:31:06 Duration: 15s464ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 19 2m40s 7s756ms 9s271ms 8s450ms 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 #1
Day Hour Count Duration Avg duration Sep 24 01 9 1m17s 8s613ms 02 10 1m23s 8s304ms [ User: pubeu - Total duration: 2m5s - Times executed: 15 ]
-
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 = '2203172') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-24 01:53:24 Duration: 9s271ms 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 = '2203172') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-24 01:55:10 Duration: 8s969ms 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 = '2203172') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-24 01:54:44 Duration: 8s963ms Bind query: yes
2 6 36s278ms 5s693ms 7s191ms 6s46ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ? or d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 24 02 2 12s927ms 6s463ms 03 1 5s870ms 5s870ms 05 2 11s554ms 5s777ms 21 1 5s925ms 5s925ms [ User: pubeu - Total duration: 24s490ms - Times executed: 4 ]
[ User: qaeu - Total duration: 5s861ms - 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 = 1404748)) 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-09-24 02:06:06 Duration: 7s191ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1404748)) 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-09-24 21:39:53 Duration: 5s925ms 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 = 1404748)) 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-09-24 03:14:00 Duration: 5s870ms Database: ctdprd51 User: pubeu Bind query: yes
3 4 7m36s 1m52s 1m56s 1m54s 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 #3
Day Hour Count Duration Avg duration Sep 24 06 1 1m53s 1m53s 10 1 1m54s 1m54s 14 1 1m52s 1m52s 18 1 1m56s 1m56s [ User: postgres - Total duration: 7m36s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m36s - 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-09-24 18:06:58 Duration: 1m56s 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-09-24 10:06:55 Duration: 1m54s 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-09-24 06:06:54 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
4 4 1m37s 24s148ms 24s591ms 24s325ms 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 Sep 24 06 1 24s148ms 24s148ms 10 1 24s591ms 24s591ms 14 1 24s285ms 24s285ms 18 1 24s273ms 24s273ms -
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-09-24 10:07:20 Duration: 24s591ms
-
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-09-24 14:07:19 Duration: 24s285ms
-
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-09-24 18:07:22 Duration: 24s273ms
5 4 1m22s 20s281ms 20s808ms 20s500ms 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 #5
Day Hour Count Duration Avg duration Sep 24 06 1 20s580ms 20s580ms 10 1 20s333ms 20s333ms 14 1 20s281ms 20s281ms 18 1 20s808ms 20s808ms [ User: postgres - Total duration: 1m22s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 1m22s - 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-09-24 18:00:23 Duration: 20s808ms 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-09-24 06:00:22 Duration: 20s580ms 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-09-24 10:00:22 Duration: 20s333ms Database: ctdprd51 User: postgres Application: pg_dump
6 4 1m2s 15s394ms 15s845ms 15s545ms 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 Sep 24 06 1 15s430ms 15s430ms 10 1 15s845ms 15s845ms 14 1 15s394ms 15s394ms 18 1 15s513ms 15s513ms -
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-09-24 10:07:36 Duration: 15s845ms
-
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-09-24 18:07:38 Duration: 15s513ms
-
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-09-24 06:07:34 Duration: 15s430ms
7 4 1m 15s64ms 15s314ms 15s168ms 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 Sep 24 06 1 15s64ms 15s64ms 10 1 15s143ms 15s143ms 14 1 15s153ms 15s153ms 18 1 15s314ms 15s314ms -
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-09-24 18:00:54 Duration: 15s314ms
-
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-09-24 14:00:53 Duration: 15s153ms
-
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-09-24 10:00:54 Duration: 15s143ms
8 4 59s173ms 14s616ms 15s238ms 14s793ms 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 Sep 24 06 1 14s616ms 14s616ms 10 1 14s676ms 14s676ms 14 1 14s641ms 14s641ms 18 1 15s238ms 15s238ms -
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-09-24 18:01:10 Duration: 15s238ms
-
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-09-24 10:01:09 Duration: 14s676ms
-
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-09-24 14:01:08 Duration: 14s641ms
9 4 43s700ms 5s476ms 17s34ms 10s925ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 24 02 1 10s998ms 10s998ms 03 1 17s34ms 17s34ms 06 1 5s476ms 5s476ms 12 1 10s192ms 10s192ms [ User: pubeu - Total duration: 32s702ms - Times executed: 3 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d009765' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2196371) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-09-24 03:03:54 Duration: 17s34ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d003072' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2204090) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-09-24 02:47:17 Duration: 10s998ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'obesity' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2196371) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-09-24 12:00:30 Duration: 10s192ms Database: ctdprd51 User: pubeu Bind query: yes
10 4 30s412ms 7s545ms 7s685ms 7s603ms 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 #10
Day Hour Count Duration Avg duration Sep 24 06 1 7s580ms 7s580ms 10 1 7s685ms 7s685ms 14 1 7s545ms 7s545ms 18 1 7s601ms 7s601ms -
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-09-24 10:00:32 Duration: 7s685ms
-
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-09-24 18:00:32 Duration: 7s601ms
-
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-09-24 06:00:32 Duration: 7s580ms
11 4 30s118ms 5s380ms 9s942ms 7s529ms select t.id, t.object_type_id, t.acc_txt, t.acc_db_cd, t.nm, t.nm_sort, t.secondary_nm, t.description, t.note, l.nm from pub2.term t, pub2.term_label l where t.object_type_id = ? and t.id = l.term_id;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 24 21 4 30s118ms 7s529ms [ User: editeu - Total duration: 30s118ms - Times executed: 4 ]
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub2.TERM t, pub2.TERM_LABEL l where t.OBJECT_TYPE_ID = 4 and t.id = l.TERM_ID;
Date: 2026-09-24 21:26:51 Duration: 9s942ms Database: ctdprd51 User: editeu Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub2.TERM t, pub2.TERM_LABEL l where t.OBJECT_TYPE_ID = 4 and t.id = l.TERM_ID;
Date: 2026-09-24 21:26:51 Duration: 8s659ms Database: ctdprd51 User: editeu Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub2.TERM t, pub2.TERM_LABEL l where t.OBJECT_TYPE_ID = 1 and t.id = l.TERM_ID;
Date: 2026-09-24 21:26:47 Duration: 6s136ms Database: ctdprd51 User: editeu Bind query: yes
12 4 26s407ms 6s503ms 6s706ms 6s601ms 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 #12
Day Hour Count Duration Avg duration Sep 24 06 1 6s503ms 6s503ms 10 1 6s678ms 6s678ms 14 1 6s519ms 6s519ms 18 1 6s706ms 6s706ms -
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-09-24 18:01:18 Duration: 6s706ms
-
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-09-24 10:01:17 Duration: 6s678ms
-
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-09-24 14:01:17 Duration: 6s519ms
13 4 25s468ms 6s279ms 6s548ms 6s367ms 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 #13
Day Hour Count Duration Avg duration Sep 24 06 1 6s548ms 6s548ms 10 1 6s295ms 6s295ms 14 1 6s345ms 6s345ms 18 1 6s279ms 6s279ms -
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-09-24 06:00:39 Duration: 6s548ms
-
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-09-24 14:00:38 Duration: 6s345ms
-
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-09-24 10:00:38 Duration: 6s295ms
14 3 52s677ms 17s291ms 17s956ms 17s559ms with anatomy as ( select chem_conc_id, array_agg(anatomy_id order by anatomy_id) as anatomy_ids, string_agg(distinct anatomy_nm_html || ? || anatomy_acc_txt || ? || position_seq || ? || anatomy_acc_db_id || ? || anatomy_nm, ?) as anatomyterms from chem_conc_anatomy cca group by chem_conc_id ), reference_groups as ( select cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, coalesce(a.anatomy_ids, array[]::integer[]) as anatomy_ids, string_agg(distinct r.acc_txt, ?) as refacc, count(distinct cc.reference_id) as referencecount from chem_conc cc left join anatomy a on a.chem_conc_id = cc.id left join reference r on r.id = cc.reference_id group by cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, coalesce(a.anatomy_ids, array[]::integer[]) ), deduplicated_cc as ( select cc.*, coalesce(a.anatomy_ids, array[]::integer[]) as anatomy_ids, a.anatomyterms, row_number() over (partition by cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, coalesce(a.anatomy_ids, array[]::integer[]) order by cc.id) as rn from chem_conc cc left join anatomy a on a.chem_conc_id = cc.id where exists ( select ? from chem_conc cc_ref left join anatomy a_ref on a_ref.chem_conc_id = cc_ref.id where cc_ref.chem_id is not distinct from cc.chem_id and cc_ref.chem_conc is not distinct from cc.chem_conc and cc_ref.chem_conc_uom_nm is not distinct from cc.chem_conc_uom_nm and cc_ref.taxon_id is not distinct from cc.taxon_id and cc_ref.disease_id is not distinct from cc.disease_id and cc_ref.chem_conc_exp_route_nm is not distinct from cc.chem_conc_exp_route_nm and cc_ref.ixn_qualifier_nm is not distinct from cc.ixn_qualifier_nm and cc_ref.action_type_cd is not distinct from cc.action_type_cd and coalesce(a_ref.anatomy_ids, array[]::integer[]) = coalesce(a.anatomy_ids, array[]::integer[]))) select cc.chem_id as chem_id, t.nm as chem, t.nm_html as chemnmhtml, t.acc_txt as chemacc, t.secondary_nm as casrn, cc.chem_conc || ? || cc.chem_conc_uom_nm as concentration, cc.ixn_qualifier_nm as vivovitro, cc.chem_conc_exp_route_nm as exproute, cc.taxon_nm_html as organism, cc.anatomyterms as anatomyterms, cc.anatomyterms as anatomytermssort, cc.action_type_cd as directevidence, cc.action_type_cd as directevidencesort, d.nm as diseasenm, d.acc_txt as diseaseacc, d.acc_db_cd as diseaseaccdbcd, d.id as diseaseid, tx.nm as taxonnm, tx.secondary_nm as taxoncomnm, tx.id as taxonid, tx.acc_txt as taxonacc, rg.refacc, rg.referencecount, count(*) over () fullrowcount from deduplicated_cc cc inner join term t on cc.chem_id = t.id inner join term tx on cc.taxon_id = tx.id left join term d on cc.disease_id = d.id inner join reference_groups rg on rg.chem_id is not distinct from cc.chem_id and rg.chem_conc is not distinct from cc.chem_conc and rg.chem_conc_uom_nm is not distinct from cc.chem_conc_uom_nm and rg.taxon_id is not distinct from cc.taxon_id and rg.disease_id is not distinct from cc.disease_id and rg.chem_conc_exp_route_nm is not distinct from cc.chem_conc_exp_route_nm and rg.ixn_qualifier_nm is not distinct from cc.ixn_qualifier_nm and rg.action_type_cd is not distinct from cc.action_type_cd and rg.anatomy_ids = cc.anatomy_ids where cc.rn = ? and t.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) order by organism limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 24 02 3 52s677ms 17s559ms [ User: pubeu - Total duration: 35s385ms - Times executed: 2 ]
-
WITH anatomy AS ( SELECT chem_conc_id, array_agg(anatomy_id ORDER BY anatomy_id) AS anatomy_ids, string_agg(DISTINCT anatomy_nm_html || '^' || anatomy_acc_txt || '^' || position_seq || '^' || anatomy_acc_db_id || '^' || anatomy_nm, '|') AS anatomyTerms FROM chem_conc_anatomy cca GROUP BY chem_conc_id ), reference_groups AS ( SELECT cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, string_agg(DISTINCT r.acc_txt, '|') AS refAcc, COUNT(DISTINCT cc.reference_id) AS referenceCount FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id LEFT JOIN reference r ON r.id = cc.reference_id GROUP BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ), deduplicated_cc AS ( SELECT cc.*, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, a.anatomyTerms, ROW_NUMBER() OVER (PARTITION BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ORDER BY cc.id) AS rn FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id WHERE EXISTS ( SELECT 1 FROM chem_conc cc_ref LEFT JOIN anatomy a_ref ON a_ref.chem_conc_id = cc_ref.id WHERE cc_ref.chem_id IS NOT DISTINCT FROM cc.chem_id AND cc_ref.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND cc_ref.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND cc_ref.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND cc_ref.disease_id IS NOT DISTINCT FROM cc.disease_id AND cc_ref.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND cc_ref.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND cc_ref.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND COALESCE(a_ref.anatomy_ids, ARRAY[]::integer[]) = COALESCE(a.anatomy_ids, ARRAY[]::integer[]))) SELECT /* ChemConcentrationDao */ cc.chem_id AS chem_id, t.nm AS chem, t.nm_html AS chemNmHtml, t.acc_txt AS chemAcc, t.secondary_nm AS casRN, cc.chem_conc || ' ' || cc.chem_conc_uom_nm AS concentration, cc.ixn_qualifier_nm AS vivoVitro, cc.chem_conc_exp_route_nm AS expRoute, cc.taxon_nm_html AS organism, cc.anatomyTerms AS anatomyTerms, cc.anatomyTerms AS anatomyTermsSort, cc.action_type_cd AS directEvidence, cc.action_type_cd AS directEvidenceSort, d.nm AS diseasenm, d.acc_txt AS diseaseacc, d.acc_db_cd AS diseaseaccdbcd, d.id AS diseaseid, tx.nm AS taxonnm, tx.secondary_nm AS taxoncomnm, tx.id AS taxonid, tx.acc_txt AS taxonacc, rg.refAcc, rg.referenceCount, COUNT(*) OVER () fullRowCount FROM deduplicated_cc cc INNER JOIN term t ON cc.chem_id = t.id INNER JOIN term tx ON cc.taxon_id = tx.id LEFT JOIN term d ON cc.disease_id = d.id INNER JOIN reference_groups rg ON rg.chem_id IS NOT DISTINCT FROM cc.chem_id AND rg.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND rg.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND rg.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND rg.disease_id IS NOT DISTINCT FROM cc.disease_id AND rg.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND rg.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND rg.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND rg.anatomy_ids = cc.anatomy_ids WHERE cc.rn = 1 AND t.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1447004') ORDER BY organism LIMIT 50;
Date: 2026-09-24 02:07:47 Duration: 17s956ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH anatomy AS ( SELECT chem_conc_id, array_agg(anatomy_id ORDER BY anatomy_id) AS anatomy_ids, string_agg(DISTINCT anatomy_nm_html || '^' || anatomy_acc_txt || '^' || position_seq || '^' || anatomy_acc_db_id || '^' || anatomy_nm, '|') AS anatomyTerms FROM chem_conc_anatomy cca GROUP BY chem_conc_id ), reference_groups AS ( SELECT cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, string_agg(DISTINCT r.acc_txt, '|') AS refAcc, COUNT(DISTINCT cc.reference_id) AS referenceCount FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id LEFT JOIN reference r ON r.id = cc.reference_id GROUP BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ), deduplicated_cc AS ( SELECT cc.*, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, a.anatomyTerms, ROW_NUMBER() OVER (PARTITION BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ORDER BY cc.id) AS rn FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id WHERE EXISTS ( SELECT 1 FROM chem_conc cc_ref LEFT JOIN anatomy a_ref ON a_ref.chem_conc_id = cc_ref.id WHERE cc_ref.chem_id IS NOT DISTINCT FROM cc.chem_id AND cc_ref.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND cc_ref.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND cc_ref.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND cc_ref.disease_id IS NOT DISTINCT FROM cc.disease_id AND cc_ref.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND cc_ref.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND cc_ref.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND COALESCE(a_ref.anatomy_ids, ARRAY[]::integer[]) = COALESCE(a.anatomy_ids, ARRAY[]::integer[]))) SELECT /* ChemConcentrationDao */ cc.chem_id AS chem_id, t.nm AS chem, t.nm_html AS chemNmHtml, t.acc_txt AS chemAcc, t.secondary_nm AS casRN, cc.chem_conc || ' ' || cc.chem_conc_uom_nm AS concentration, cc.ixn_qualifier_nm AS vivoVitro, cc.chem_conc_exp_route_nm AS expRoute, cc.taxon_nm_html AS organism, cc.anatomyTerms AS anatomyTerms, cc.anatomyTerms AS anatomyTermsSort, cc.action_type_cd AS directEvidence, cc.action_type_cd AS directEvidenceSort, d.nm AS diseasenm, d.acc_txt AS diseaseacc, d.acc_db_cd AS diseaseaccdbcd, d.id AS diseaseid, tx.nm AS taxonnm, tx.secondary_nm AS taxoncomnm, tx.id AS taxonid, tx.acc_txt AS taxonacc, rg.refAcc, rg.referenceCount, COUNT(*) OVER () fullRowCount FROM deduplicated_cc cc INNER JOIN term t ON cc.chem_id = t.id INNER JOIN term tx ON cc.taxon_id = tx.id LEFT JOIN term d ON cc.disease_id = d.id INNER JOIN reference_groups rg ON rg.chem_id IS NOT DISTINCT FROM cc.chem_id AND rg.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND rg.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND rg.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND rg.disease_id IS NOT DISTINCT FROM cc.disease_id AND rg.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND rg.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND rg.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND rg.anatomy_ids = cc.anatomy_ids WHERE cc.rn = 1 AND t.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1447004') ORDER BY organism LIMIT 50;
Date: 2026-09-24 02:07:31 Duration: 17s429ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH anatomy AS ( SELECT chem_conc_id, array_agg(anatomy_id ORDER BY anatomy_id) AS anatomy_ids, string_agg(DISTINCT anatomy_nm_html || '^' || anatomy_acc_txt || '^' || position_seq || '^' || anatomy_acc_db_id || '^' || anatomy_nm, '|') AS anatomyTerms FROM chem_conc_anatomy cca GROUP BY chem_conc_id ), reference_groups AS ( SELECT cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, string_agg(DISTINCT r.acc_txt, '|') AS refAcc, COUNT(DISTINCT cc.reference_id) AS referenceCount FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id LEFT JOIN reference r ON r.id = cc.reference_id GROUP BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ), deduplicated_cc AS ( SELECT cc.*, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, a.anatomyTerms, ROW_NUMBER() OVER (PARTITION BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ORDER BY cc.id) AS rn FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id WHERE EXISTS ( SELECT 1 FROM chem_conc cc_ref LEFT JOIN anatomy a_ref ON a_ref.chem_conc_id = cc_ref.id WHERE cc_ref.chem_id IS NOT DISTINCT FROM cc.chem_id AND cc_ref.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND cc_ref.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND cc_ref.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND cc_ref.disease_id IS NOT DISTINCT FROM cc.disease_id AND cc_ref.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND cc_ref.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND cc_ref.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND COALESCE(a_ref.anatomy_ids, ARRAY[]::integer[]) = COALESCE(a.anatomy_ids, ARRAY[]::integer[]))) SELECT /* ChemConcentrationDao */ cc.chem_id AS chem_id, t.nm AS chem, t.nm_html AS chemNmHtml, t.acc_txt AS chemAcc, t.secondary_nm AS casRN, cc.chem_conc || ' ' || cc.chem_conc_uom_nm AS concentration, cc.ixn_qualifier_nm AS vivoVitro, cc.chem_conc_exp_route_nm AS expRoute, cc.taxon_nm_html AS organism, cc.anatomyTerms AS anatomyTerms, cc.anatomyTerms AS anatomyTermsSort, cc.action_type_cd AS directEvidence, cc.action_type_cd AS directEvidenceSort, d.nm AS diseasenm, d.acc_txt AS diseaseacc, d.acc_db_cd AS diseaseaccdbcd, d.id AS diseaseid, tx.nm AS taxonnm, tx.secondary_nm AS taxoncomnm, tx.id AS taxonid, tx.acc_txt AS taxonacc, rg.refAcc, rg.referenceCount, COUNT(*) OVER () fullRowCount FROM deduplicated_cc cc INNER JOIN term t ON cc.chem_id = t.id INNER JOIN term tx ON cc.taxon_id = tx.id LEFT JOIN term d ON cc.disease_id = d.id INNER JOIN reference_groups rg ON rg.chem_id IS NOT DISTINCT FROM cc.chem_id AND rg.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND rg.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND rg.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND rg.disease_id IS NOT DISTINCT FROM cc.disease_id AND rg.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND rg.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND rg.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND rg.anatomy_ids = cc.anatomy_ids WHERE cc.rn = 1 AND t.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1447004') ORDER BY organism LIMIT 50;
Date: 2026-09-24 02:07:35 Duration: 17s291ms Bind query: yes
15 3 15s888ms 5s16ms 5s654ms 5s296ms 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 #15
Day Hour Count Duration Avg duration Sep 24 01 1 5s16ms 5s16ms 02 1 5s654ms 5s654ms 03 1 5s217ms 5s217ms [ User: pubeu - Total duration: 15s888ms - Times executed: 3 ]
-
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 = '1447004' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2026-09-24 02:03:54 Duration: 5s654ms 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 = '1384598' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2026-09-24 03:38:56 Duration: 5s217ms 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 = '1403082' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2026-09-24 01:36:38 Duration: 5s16ms Database: ctdprd51 User: pubeu Bind query: yes
16 2 14s17ms 6s936ms 7s81ms 7s8ms select p.ancestor_object_id, p.descendant_object_id from dag_path p where p.descendant_object_id in ( select go_term_id from gene_go_annot gga where gga.taxon_id = ( select id from term where acc_txt = ? and object_type_id = ( select id from object_type where cd = ?)) and gga.is_not = ?) and p.ancestor_object_id not in ( select c.id from term c where c.acc_txt in (...) and c.object_type_id = ( select id from object_type where cd = ?));Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 24 21 2 14s17ms 7s8ms [ User: qaeu - Total duration: 6s936ms - Times executed: 1 ]
-
select p.ancestor_object_id, p.descendant_object_id from DAG_PATH p where p.descendant_object_id in ( select go_term_id from GENE_GO_ANNOT gga where gga.taxon_id = ( select id from TERM where acc_txt = '9606' and object_type_id = ( select id from OBJECT_TYPE where cd = 'taxon')) AND gga.is_not = 'f') and p.ancestor_object_id NOT in ( SELECT c.id FROM TERM c WHERE c.acc_txt in ('ALL') AND c.object_type_id = ( select id from OBJECT_TYPE where cd = 'go'));
Date: 2026-09-24 21:27:07 Duration: 7s81ms Bind query: yes
-
select p.ancestor_object_id, p.descendant_object_id from DAG_PATH p where p.descendant_object_id in ( select go_term_id from GENE_GO_ANNOT gga where gga.taxon_id = ( select id from TERM where acc_txt = '9606' and object_type_id = ( select id from OBJECT_TYPE where cd = 'taxon')) AND gga.is_not = 'f') and p.ancestor_object_id NOT in ( SELECT c.id FROM TERM c WHERE c.acc_txt in ('ALL') AND c.object_type_id = ( select id from OBJECT_TYPE where cd = 'go'));
Date: 2026-09-24 21:27:35 Duration: 6s936ms Database: ctdprd51 User: qaeu Bind query: yes
17 2 12s129ms 5s968ms 6s161ms 6s64ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, ( 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 r.acc_txt, ?)) as references, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id inner join reference r on gcr.reference_id = r.id left outer join term taxonterm on gcr.taxon_id = taxonterm.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 24 09 1 5s968ms 5s968ms 13 1 6s161ms 6s161ms [ User: pubeu - Total duration: 12s129ms - Times executed: 2 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, ( 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 r.acc_txt, '|')) as references, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id INNER JOIN reference r on gcr.reference_id = r.id LEFT OUTER JOIN term taxonTerm on gcr.taxon_id = taxonTerm.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'TETRACHLORODIBENZODIOXIN' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Name */ dp.descendant_object_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'HOMO SAPIENS' AND t.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;
Date: 2026-09-24 13:51:48 Duration: 6s161ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, ( 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 r.acc_txt, '|')) as references, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id INNER JOIN reference r on gcr.reference_id = r.id LEFT OUTER JOIN term taxonTerm on gcr.taxon_id = taxonTerm.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'TETRACHLORODIBENZODIOXIN' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Name */ dp.descendant_object_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'HOMO SAPIENS' AND t.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;
Date: 2026-09-24 09:54:04 Duration: 5s968ms Database: ctdprd51 User: pubeu Bind query: yes
18 2 11s158ms 5s11ms 6s146ms 5s579ms 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 #18
Day Hour Count Duration Avg duration Sep 24 01 1 5s11ms 5s11ms 02 1 6s146ms 6s146ms [ User: pubeu - Total duration: 5s11ms - Times executed: 1 ]
-
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 = '1447004') 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 = '1447004') 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-09-24 02:04:21 Duration: 6s146ms 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 = '1401620') 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 = '1401620') 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-09-24 01:35:33 Duration: 5s11ms Database: ctdprd51 User: pubeu Bind query: yes
19 1 9m27s 9m27s 9m27s 9m27s select maint_query_logs_archive ();Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 24 00 1 9m27s 9m27s [ User: pubc - Total duration: 9m27s - Times executed: 1 ]
[ Application: psql - Total duration: 9m27s - 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-09-24 00:09:28 Duration: 9m27s Database: ctdprd51 User: pubc Application: psql
20 1 39s551ms 39s551ms 39s551ms 39s551ms select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in (( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join term_label li on li.term_id = pi.ancestor_object_id where upper(li.nm) like ? and li.object_type_id = ?)) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 24 21 1 39s551ms 39s551ms [ User: pubeu - Total duration: 39s551ms - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN term_label li ON li.term_id = pi.ancestor_object_id WHERE UPPER(li.nm) LIKE 'APOPTOSIS' AND li.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2026-09-24 21:36:54 Duration: 39s551ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 9m27s 9m27s 9m27s 1 9m27s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 24 00 1 9m27s 9m27s [ User: pubc - Total duration: 9m27s - Times executed: 1 ]
[ Application: psql - Total duration: 9m27s - 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-09-24 00:09:28 Duration: 9m27s Database: ctdprd51 User: pubc Application: psql
2 1m52s 1m56s 1m54s 4 7m36s 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 Sep 24 06 1 1m53s 1m53s 10 1 1m54s 1m54s 14 1 1m52s 1m52s 18 1 1m56s 1m56s [ User: postgres - Total duration: 7m36s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m36s - 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-09-24 18:06:58 Duration: 1m56s 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-09-24 10:06:55 Duration: 1m54s 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-09-24 06:06:54 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
3 39s551ms 39s551ms 39s551ms 1 39s551ms select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in (( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join term_label li on li.term_id = pi.ancestor_object_id where upper(li.nm) like ? and li.object_type_id = ?)) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 24 21 1 39s551ms 39s551ms [ User: pubeu - Total duration: 39s551ms - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN term_label li ON li.term_id = pi.ancestor_object_id WHERE UPPER(li.nm) LIKE 'APOPTOSIS' AND li.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2026-09-24 21:36:54 Duration: 39s551ms Database: ctdprd51 User: pubeu Bind query: yes
4 24s148ms 24s591ms 24s325ms 4 1m37s 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 Sep 24 06 1 24s148ms 24s148ms 10 1 24s591ms 24s591ms 14 1 24s285ms 24s285ms 18 1 24s273ms 24s273ms -
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-09-24 10:07:20 Duration: 24s591ms
-
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-09-24 14:07:19 Duration: 24s285ms
-
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-09-24 18:07:22 Duration: 24s273ms
5 23s463ms 23s463ms 23s463ms 1 23s463ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, ( 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 r.acc_txt, ?)) as references, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id inner join reference r on gcr.reference_id = r.id left outer join term taxonterm on gcr.taxon_id = taxonterm.id where gcr.gene_id = any (array (( select tp.term_id from term_pathway tp where upper(tp.pathway_nm) like ? and tp.object_type_id = ?))) and gcr.id in ( select gcra.gene_chem_reference_id from gene_chem_reference_axn gcra where (gcra.action_degree_type_nm = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by g.nm_sort, c.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 24 21 1 23s463ms 23s463ms [ User: pubeu - Total duration: 23s463ms - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, ( 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 r.acc_txt, '|')) as references, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id INNER JOIN reference r on gcr.reference_id = r.id LEFT OUTER JOIN term taxonTerm on gcr.taxon_id = taxonTerm.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterPathwayWhereEquals.Name */ tp.term_id FROM term_pathway tp WHERE UPPER(tp.pathway_nm) LIKE 'METABOLISM' AND tp.object_type_id = 4))) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'increases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50;
Date: 2026-09-24 21:37:45 Duration: 23s463ms Database: ctdprd51 User: pubeu Bind query: yes
6 20s281ms 20s808ms 20s500ms 4 1m22s 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 #6
Day Hour Count Duration Avg duration Sep 24 06 1 20s580ms 20s580ms 10 1 20s333ms 20s333ms 14 1 20s281ms 20s281ms 18 1 20s808ms 20s808ms [ User: postgres - Total duration: 1m22s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 1m22s - 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-09-24 18:00:23 Duration: 20s808ms 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-09-24 06:00:22 Duration: 20s580ms 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-09-24 10:00:22 Duration: 20s333ms Database: ctdprd51 User: postgres Application: pg_dump
7 17s291ms 17s956ms 17s559ms 3 52s677ms with anatomy as ( select chem_conc_id, array_agg(anatomy_id order by anatomy_id) as anatomy_ids, string_agg(distinct anatomy_nm_html || ? || anatomy_acc_txt || ? || position_seq || ? || anatomy_acc_db_id || ? || anatomy_nm, ?) as anatomyterms from chem_conc_anatomy cca group by chem_conc_id ), reference_groups as ( select cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, coalesce(a.anatomy_ids, array[]::integer[]) as anatomy_ids, string_agg(distinct r.acc_txt, ?) as refacc, count(distinct cc.reference_id) as referencecount from chem_conc cc left join anatomy a on a.chem_conc_id = cc.id left join reference r on r.id = cc.reference_id group by cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, coalesce(a.anatomy_ids, array[]::integer[]) ), deduplicated_cc as ( select cc.*, coalesce(a.anatomy_ids, array[]::integer[]) as anatomy_ids, a.anatomyterms, row_number() over (partition by cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, coalesce(a.anatomy_ids, array[]::integer[]) order by cc.id) as rn from chem_conc cc left join anatomy a on a.chem_conc_id = cc.id where exists ( select ? from chem_conc cc_ref left join anatomy a_ref on a_ref.chem_conc_id = cc_ref.id where cc_ref.chem_id is not distinct from cc.chem_id and cc_ref.chem_conc is not distinct from cc.chem_conc and cc_ref.chem_conc_uom_nm is not distinct from cc.chem_conc_uom_nm and cc_ref.taxon_id is not distinct from cc.taxon_id and cc_ref.disease_id is not distinct from cc.disease_id and cc_ref.chem_conc_exp_route_nm is not distinct from cc.chem_conc_exp_route_nm and cc_ref.ixn_qualifier_nm is not distinct from cc.ixn_qualifier_nm and cc_ref.action_type_cd is not distinct from cc.action_type_cd and coalesce(a_ref.anatomy_ids, array[]::integer[]) = coalesce(a.anatomy_ids, array[]::integer[]))) select cc.chem_id as chem_id, t.nm as chem, t.nm_html as chemnmhtml, t.acc_txt as chemacc, t.secondary_nm as casrn, cc.chem_conc || ? || cc.chem_conc_uom_nm as concentration, cc.ixn_qualifier_nm as vivovitro, cc.chem_conc_exp_route_nm as exproute, cc.taxon_nm_html as organism, cc.anatomyterms as anatomyterms, cc.anatomyterms as anatomytermssort, cc.action_type_cd as directevidence, cc.action_type_cd as directevidencesort, d.nm as diseasenm, d.acc_txt as diseaseacc, d.acc_db_cd as diseaseaccdbcd, d.id as diseaseid, tx.nm as taxonnm, tx.secondary_nm as taxoncomnm, tx.id as taxonid, tx.acc_txt as taxonacc, rg.refacc, rg.referencecount, count(*) over () fullrowcount from deduplicated_cc cc inner join term t on cc.chem_id = t.id inner join term tx on cc.taxon_id = tx.id left join term d on cc.disease_id = d.id inner join reference_groups rg on rg.chem_id is not distinct from cc.chem_id and rg.chem_conc is not distinct from cc.chem_conc and rg.chem_conc_uom_nm is not distinct from cc.chem_conc_uom_nm and rg.taxon_id is not distinct from cc.taxon_id and rg.disease_id is not distinct from cc.disease_id and rg.chem_conc_exp_route_nm is not distinct from cc.chem_conc_exp_route_nm and rg.ixn_qualifier_nm is not distinct from cc.ixn_qualifier_nm and rg.action_type_cd is not distinct from cc.action_type_cd and rg.anatomy_ids = cc.anatomy_ids where cc.rn = ? and t.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) order by organism limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 24 02 3 52s677ms 17s559ms [ User: pubeu - Total duration: 35s385ms - Times executed: 2 ]
-
WITH anatomy AS ( SELECT chem_conc_id, array_agg(anatomy_id ORDER BY anatomy_id) AS anatomy_ids, string_agg(DISTINCT anatomy_nm_html || '^' || anatomy_acc_txt || '^' || position_seq || '^' || anatomy_acc_db_id || '^' || anatomy_nm, '|') AS anatomyTerms FROM chem_conc_anatomy cca GROUP BY chem_conc_id ), reference_groups AS ( SELECT cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, string_agg(DISTINCT r.acc_txt, '|') AS refAcc, COUNT(DISTINCT cc.reference_id) AS referenceCount FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id LEFT JOIN reference r ON r.id = cc.reference_id GROUP BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ), deduplicated_cc AS ( SELECT cc.*, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, a.anatomyTerms, ROW_NUMBER() OVER (PARTITION BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ORDER BY cc.id) AS rn FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id WHERE EXISTS ( SELECT 1 FROM chem_conc cc_ref LEFT JOIN anatomy a_ref ON a_ref.chem_conc_id = cc_ref.id WHERE cc_ref.chem_id IS NOT DISTINCT FROM cc.chem_id AND cc_ref.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND cc_ref.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND cc_ref.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND cc_ref.disease_id IS NOT DISTINCT FROM cc.disease_id AND cc_ref.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND cc_ref.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND cc_ref.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND COALESCE(a_ref.anatomy_ids, ARRAY[]::integer[]) = COALESCE(a.anatomy_ids, ARRAY[]::integer[]))) SELECT /* ChemConcentrationDao */ cc.chem_id AS chem_id, t.nm AS chem, t.nm_html AS chemNmHtml, t.acc_txt AS chemAcc, t.secondary_nm AS casRN, cc.chem_conc || ' ' || cc.chem_conc_uom_nm AS concentration, cc.ixn_qualifier_nm AS vivoVitro, cc.chem_conc_exp_route_nm AS expRoute, cc.taxon_nm_html AS organism, cc.anatomyTerms AS anatomyTerms, cc.anatomyTerms AS anatomyTermsSort, cc.action_type_cd AS directEvidence, cc.action_type_cd AS directEvidenceSort, d.nm AS diseasenm, d.acc_txt AS diseaseacc, d.acc_db_cd AS diseaseaccdbcd, d.id AS diseaseid, tx.nm AS taxonnm, tx.secondary_nm AS taxoncomnm, tx.id AS taxonid, tx.acc_txt AS taxonacc, rg.refAcc, rg.referenceCount, COUNT(*) OVER () fullRowCount FROM deduplicated_cc cc INNER JOIN term t ON cc.chem_id = t.id INNER JOIN term tx ON cc.taxon_id = tx.id LEFT JOIN term d ON cc.disease_id = d.id INNER JOIN reference_groups rg ON rg.chem_id IS NOT DISTINCT FROM cc.chem_id AND rg.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND rg.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND rg.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND rg.disease_id IS NOT DISTINCT FROM cc.disease_id AND rg.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND rg.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND rg.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND rg.anatomy_ids = cc.anatomy_ids WHERE cc.rn = 1 AND t.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1447004') ORDER BY organism LIMIT 50;
Date: 2026-09-24 02:07:47 Duration: 17s956ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH anatomy AS ( SELECT chem_conc_id, array_agg(anatomy_id ORDER BY anatomy_id) AS anatomy_ids, string_agg(DISTINCT anatomy_nm_html || '^' || anatomy_acc_txt || '^' || position_seq || '^' || anatomy_acc_db_id || '^' || anatomy_nm, '|') AS anatomyTerms FROM chem_conc_anatomy cca GROUP BY chem_conc_id ), reference_groups AS ( SELECT cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, string_agg(DISTINCT r.acc_txt, '|') AS refAcc, COUNT(DISTINCT cc.reference_id) AS referenceCount FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id LEFT JOIN reference r ON r.id = cc.reference_id GROUP BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ), deduplicated_cc AS ( SELECT cc.*, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, a.anatomyTerms, ROW_NUMBER() OVER (PARTITION BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ORDER BY cc.id) AS rn FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id WHERE EXISTS ( SELECT 1 FROM chem_conc cc_ref LEFT JOIN anatomy a_ref ON a_ref.chem_conc_id = cc_ref.id WHERE cc_ref.chem_id IS NOT DISTINCT FROM cc.chem_id AND cc_ref.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND cc_ref.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND cc_ref.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND cc_ref.disease_id IS NOT DISTINCT FROM cc.disease_id AND cc_ref.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND cc_ref.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND cc_ref.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND COALESCE(a_ref.anatomy_ids, ARRAY[]::integer[]) = COALESCE(a.anatomy_ids, ARRAY[]::integer[]))) SELECT /* ChemConcentrationDao */ cc.chem_id AS chem_id, t.nm AS chem, t.nm_html AS chemNmHtml, t.acc_txt AS chemAcc, t.secondary_nm AS casRN, cc.chem_conc || ' ' || cc.chem_conc_uom_nm AS concentration, cc.ixn_qualifier_nm AS vivoVitro, cc.chem_conc_exp_route_nm AS expRoute, cc.taxon_nm_html AS organism, cc.anatomyTerms AS anatomyTerms, cc.anatomyTerms AS anatomyTermsSort, cc.action_type_cd AS directEvidence, cc.action_type_cd AS directEvidenceSort, d.nm AS diseasenm, d.acc_txt AS diseaseacc, d.acc_db_cd AS diseaseaccdbcd, d.id AS diseaseid, tx.nm AS taxonnm, tx.secondary_nm AS taxoncomnm, tx.id AS taxonid, tx.acc_txt AS taxonacc, rg.refAcc, rg.referenceCount, COUNT(*) OVER () fullRowCount FROM deduplicated_cc cc INNER JOIN term t ON cc.chem_id = t.id INNER JOIN term tx ON cc.taxon_id = tx.id LEFT JOIN term d ON cc.disease_id = d.id INNER JOIN reference_groups rg ON rg.chem_id IS NOT DISTINCT FROM cc.chem_id AND rg.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND rg.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND rg.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND rg.disease_id IS NOT DISTINCT FROM cc.disease_id AND rg.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND rg.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND rg.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND rg.anatomy_ids = cc.anatomy_ids WHERE cc.rn = 1 AND t.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1447004') ORDER BY organism LIMIT 50;
Date: 2026-09-24 02:07:31 Duration: 17s429ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH anatomy AS ( SELECT chem_conc_id, array_agg(anatomy_id ORDER BY anatomy_id) AS anatomy_ids, string_agg(DISTINCT anatomy_nm_html || '^' || anatomy_acc_txt || '^' || position_seq || '^' || anatomy_acc_db_id || '^' || anatomy_nm, '|') AS anatomyTerms FROM chem_conc_anatomy cca GROUP BY chem_conc_id ), reference_groups AS ( SELECT cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, string_agg(DISTINCT r.acc_txt, '|') AS refAcc, COUNT(DISTINCT cc.reference_id) AS referenceCount FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id LEFT JOIN reference r ON r.id = cc.reference_id GROUP BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ), deduplicated_cc AS ( SELECT cc.*, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) AS anatomy_ids, a.anatomyTerms, ROW_NUMBER() OVER (PARTITION BY cc.chem_id, cc.chem_conc, cc.chem_conc_uom_nm, cc.taxon_id, cc.disease_id, cc.chem_conc_exp_route_nm, cc.ixn_qualifier_nm, cc.action_type_cd, COALESCE(a.anatomy_ids, ARRAY[]::integer[]) ORDER BY cc.id) AS rn FROM chem_conc cc LEFT JOIN anatomy a ON a.chem_conc_id = cc.id WHERE EXISTS ( SELECT 1 FROM chem_conc cc_ref LEFT JOIN anatomy a_ref ON a_ref.chem_conc_id = cc_ref.id WHERE cc_ref.chem_id IS NOT DISTINCT FROM cc.chem_id AND cc_ref.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND cc_ref.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND cc_ref.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND cc_ref.disease_id IS NOT DISTINCT FROM cc.disease_id AND cc_ref.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND cc_ref.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND cc_ref.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND COALESCE(a_ref.anatomy_ids, ARRAY[]::integer[]) = COALESCE(a.anatomy_ids, ARRAY[]::integer[]))) SELECT /* ChemConcentrationDao */ cc.chem_id AS chem_id, t.nm AS chem, t.nm_html AS chemNmHtml, t.acc_txt AS chemAcc, t.secondary_nm AS casRN, cc.chem_conc || ' ' || cc.chem_conc_uom_nm AS concentration, cc.ixn_qualifier_nm AS vivoVitro, cc.chem_conc_exp_route_nm AS expRoute, cc.taxon_nm_html AS organism, cc.anatomyTerms AS anatomyTerms, cc.anatomyTerms AS anatomyTermsSort, cc.action_type_cd AS directEvidence, cc.action_type_cd AS directEvidenceSort, d.nm AS diseasenm, d.acc_txt AS diseaseacc, d.acc_db_cd AS diseaseaccdbcd, d.id AS diseaseid, tx.nm AS taxonnm, tx.secondary_nm AS taxoncomnm, tx.id AS taxonid, tx.acc_txt AS taxonacc, rg.refAcc, rg.referenceCount, COUNT(*) OVER () fullRowCount FROM deduplicated_cc cc INNER JOIN term t ON cc.chem_id = t.id INNER JOIN term tx ON cc.taxon_id = tx.id LEFT JOIN term d ON cc.disease_id = d.id INNER JOIN reference_groups rg ON rg.chem_id IS NOT DISTINCT FROM cc.chem_id AND rg.chem_conc IS NOT DISTINCT FROM cc.chem_conc AND rg.chem_conc_uom_nm IS NOT DISTINCT FROM cc.chem_conc_uom_nm AND rg.taxon_id IS NOT DISTINCT FROM cc.taxon_id AND rg.disease_id IS NOT DISTINCT FROM cc.disease_id AND rg.chem_conc_exp_route_nm IS NOT DISTINCT FROM cc.chem_conc_exp_route_nm AND rg.ixn_qualifier_nm IS NOT DISTINCT FROM cc.ixn_qualifier_nm AND rg.action_type_cd IS NOT DISTINCT FROM cc.action_type_cd AND rg.anatomy_ids = cc.anatomy_ids WHERE cc.rn = 1 AND t.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1447004') ORDER BY organism LIMIT 50;
Date: 2026-09-24 02:07:35 Duration: 17s291ms Bind query: yes
8 16s138ms 16s138ms 16s138ms 1 16s138ms 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 Sep 24 21 1 16s138ms 16s138ms [ User: pubeu - Total duration: 16s138ms - 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-09-24 21:40:42 Duration: 16s138ms Database: ctdprd51 User: pubeu Bind query: yes
9 15s394ms 15s845ms 15s545ms 4 1m2s 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 #9
Day Hour Count Duration Avg duration Sep 24 06 1 15s430ms 15s430ms 10 1 15s845ms 15s845ms 14 1 15s394ms 15s394ms 18 1 15s513ms 15s513ms -
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-09-24 10:07:36 Duration: 15s845ms
-
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-09-24 18:07:38 Duration: 15s513ms
-
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-09-24 06:07:34 Duration: 15s430ms
10 15s464ms 15s464ms 15s464ms 1 15s464ms select phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, t.reference_score as referencescore, count(*) over () fullrowcount from tetramer t inner join term phenotypeterm on t.phenotype_id = phenotypeterm.id inner join term diseaseterm on t.disease_id = diseaseterm.id inner join term geneterm on t.gene_id = geneterm.id inner join term chemterm on t.chem_id = chemterm.id where disease_id = any (array ( 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 exists ( select ? from chem_disease_reference cdr where chemterm.id = cdr.chem_id and diseaseterm.id = cdr.disease_id and cdr.source_cd = ? and exists ( select ? from chem_disease_reference_axn cdra where cdr.id = cdra.chem_disease_reference_id and cdra.action_type_cd = ?)) and exists ( select ? from gene_disease_reference gdr where gdr.gene_id = t.gene_id and gdr.disease_id = t.disease_id and ((source_cd = ? and exists ( select ? from gene_disease_reference_axn gdra where gdr.id = gdra.gene_disease_reference_id and gdra.action_type_cd = ?)) or (source_cd = ?))) order by t.reference_score desc, chemterm.nm, geneterm.nm, phenotypeterm.nm, diseaseterm.nm;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 24 16 1 15s464ms 15s464ms [ User: pubeu - Total duration: 15s464ms - Times executed: 1 ]
-
select phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, t.reference_score AS referenceScore, COUNT(*) OVER () fullRowCount from TETRAMER t inner join TERM phenotypeTerm on t.phenotype_id = phenotypeTerm.id inner join TERM diseaseTerm on t.disease_id = diseaseTerm.id inner join TERM geneTerm on t.gene_id = geneTerm.id inner join TERM chemTerm on t.chem_id = chemTerm.id where disease_id = ANY (ARRAY ( 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 = 3 and upper(baseTerm.nm) LIKE 'ALZHEIMER DISEASE'))) and EXISTS ( SELECT 1 FROM chem_disease_reference cdr WHERE chemTerm.id = cdr.chem_id AND diseaseTerm.id = cdr.disease_id AND cdr.source_cd = 'C' AND EXISTS ( SELECT 1 FROM chem_disease_reference_axn cdra WHERE cdr.id = cdra.chem_disease_reference_id AND cdra.action_type_cd = 'm')) and EXISTS ( SELECT 1 FROM gene_disease_reference gdr WHERE gdr.gene_id = t.gene_id AND gdr.disease_id = t.disease_id -- BASE_GENE_DISEASE_RLTNP_FRAGMENT AND ((source_cd = 'C' -- DBConstants.CURATED_FILTER_SQL AND EXISTS ( SELECT 1 FROM gene_disease_reference_axn gdra WHERE gdr.id = gdra.gene_disease_reference_id AND gdra.action_type_cd = 'm' --GENE_DISEASE_CTD_CURATED_MARKER_RLTNP_WHERE_FRAGMENT )) OR (source_cd = 'O') -- DBConstants.OMIM_CURATED_FILTER_SQL )) order by t.reference_score desc, chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm;
Date: 2026-09-24 16:31:06 Duration: 15s464ms Database: ctdprd51 User: pubeu Bind query: yes
11 15s64ms 15s314ms 15s168ms 4 1m 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 #11
Day Hour Count Duration Avg duration Sep 24 06 1 15s64ms 15s64ms 10 1 15s143ms 15s143ms 14 1 15s153ms 15s153ms 18 1 15s314ms 15s314ms -
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-09-24 18:00:54 Duration: 15s314ms
-
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-09-24 14:00:53 Duration: 15s153ms
-
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-09-24 10:00:54 Duration: 15s143ms
12 14s616ms 15s238ms 14s793ms 4 59s173ms 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 #12
Day Hour Count Duration Avg duration Sep 24 06 1 14s616ms 14s616ms 10 1 14s676ms 14s676ms 14 1 14s641ms 14s641ms 18 1 15s238ms 15s238ms -
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-09-24 18:01:10 Duration: 15s238ms
-
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-09-24 10:01:09 Duration: 14s676ms
-
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-09-24 14:01:08 Duration: 14s641ms
13 5s476ms 17s34ms 10s925ms 4 43s700ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 24 02 1 10s998ms 10s998ms 03 1 17s34ms 17s34ms 06 1 5s476ms 5s476ms 12 1 10s192ms 10s192ms [ User: pubeu - Total duration: 32s702ms - Times executed: 3 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d009765' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2196371) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-09-24 03:03:54 Duration: 17s34ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d003072' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2204090) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-09-24 02:47:17 Duration: 10s998ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'obesity' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2196371) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-09-24 12:00:30 Duration: 10s192ms Database: ctdprd51 User: pubeu Bind query: yes
14 7s756ms 9s271ms 8s450ms 19 2m40s 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 Sep 24 01 9 1m17s 8s613ms 02 10 1m23s 8s304ms [ User: pubeu - Total duration: 2m5s - Times executed: 15 ]
-
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 = '2203172') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-24 01:53:24 Duration: 9s271ms 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 = '2203172') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-24 01:55:10 Duration: 8s969ms 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 = '2203172') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-24 01:54:44 Duration: 8s963ms Bind query: yes
15 7s545ms 7s685ms 7s603ms 4 30s412ms 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 #15
Day Hour Count Duration Avg duration Sep 24 06 1 7s580ms 7s580ms 10 1 7s685ms 7s685ms 14 1 7s545ms 7s545ms 18 1 7s601ms 7s601ms -
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-09-24 10:00:32 Duration: 7s685ms
-
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-09-24 18:00:32 Duration: 7s601ms
-
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-09-24 06:00:32 Duration: 7s580ms
16 5s380ms 9s942ms 7s529ms 4 30s118ms select t.id, t.object_type_id, t.acc_txt, t.acc_db_cd, t.nm, t.nm_sort, t.secondary_nm, t.description, t.note, l.nm from pub2.term t, pub2.term_label l where t.object_type_id = ? and t.id = l.term_id;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 24 21 4 30s118ms 7s529ms [ User: editeu - Total duration: 30s118ms - Times executed: 4 ]
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub2.TERM t, pub2.TERM_LABEL l where t.OBJECT_TYPE_ID = 4 and t.id = l.TERM_ID;
Date: 2026-09-24 21:26:51 Duration: 9s942ms Database: ctdprd51 User: editeu Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub2.TERM t, pub2.TERM_LABEL l where t.OBJECT_TYPE_ID = 4 and t.id = l.TERM_ID;
Date: 2026-09-24 21:26:51 Duration: 8s659ms Database: ctdprd51 User: editeu Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub2.TERM t, pub2.TERM_LABEL l where t.OBJECT_TYPE_ID = 1 and t.id = l.TERM_ID;
Date: 2026-09-24 21:26:47 Duration: 6s136ms Database: ctdprd51 User: editeu Bind query: yes
17 6s936ms 7s81ms 7s8ms 2 14s17ms select p.ancestor_object_id, p.descendant_object_id from dag_path p where p.descendant_object_id in ( select go_term_id from gene_go_annot gga where gga.taxon_id = ( select id from term where acc_txt = ? and object_type_id = ( select id from object_type where cd = ?)) and gga.is_not = ?) and p.ancestor_object_id not in ( select c.id from term c where c.acc_txt in (...) and c.object_type_id = ( select id from object_type where cd = ?));Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 24 21 2 14s17ms 7s8ms [ User: qaeu - Total duration: 6s936ms - Times executed: 1 ]
-
select p.ancestor_object_id, p.descendant_object_id from DAG_PATH p where p.descendant_object_id in ( select go_term_id from GENE_GO_ANNOT gga where gga.taxon_id = ( select id from TERM where acc_txt = '9606' and object_type_id = ( select id from OBJECT_TYPE where cd = 'taxon')) AND gga.is_not = 'f') and p.ancestor_object_id NOT in ( SELECT c.id FROM TERM c WHERE c.acc_txt in ('ALL') AND c.object_type_id = ( select id from OBJECT_TYPE where cd = 'go'));
Date: 2026-09-24 21:27:07 Duration: 7s81ms Bind query: yes
-
select p.ancestor_object_id, p.descendant_object_id from DAG_PATH p where p.descendant_object_id in ( select go_term_id from GENE_GO_ANNOT gga where gga.taxon_id = ( select id from TERM where acc_txt = '9606' and object_type_id = ( select id from OBJECT_TYPE where cd = 'taxon')) AND gga.is_not = 'f') and p.ancestor_object_id NOT in ( SELECT c.id FROM TERM c WHERE c.acc_txt in ('ALL') AND c.object_type_id = ( select id from OBJECT_TYPE where cd = 'go'));
Date: 2026-09-24 21:27:35 Duration: 6s936ms Database: ctdprd51 User: qaeu Bind query: yes
18 6s503ms 6s706ms 6s601ms 4 26s407ms 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 Sep 24 06 1 6s503ms 6s503ms 10 1 6s678ms 6s678ms 14 1 6s519ms 6s519ms 18 1 6s706ms 6s706ms -
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-09-24 18:01:18 Duration: 6s706ms
-
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-09-24 10:01:17 Duration: 6s678ms
-
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-09-24 14:01:17 Duration: 6s519ms
19 6s279ms 6s548ms 6s367ms 4 25s468ms 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 #19
Day Hour Count Duration Avg duration Sep 24 06 1 6s548ms 6s548ms 10 1 6s295ms 6s295ms 14 1 6s345ms 6s345ms 18 1 6s279ms 6s279ms -
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-09-24 06:00:39 Duration: 6s548ms
-
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-09-24 14:00:38 Duration: 6s345ms
-
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-09-24 10:00:38 Duration: 6s295ms
20 5s968ms 6s161ms 6s64ms 2 12s129ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, ( 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 r.acc_txt, ?)) as references, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id inner join reference r on gcr.reference_id = r.id left outer join term taxonterm on gcr.taxon_id = taxonterm.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 24 09 1 5s968ms 5s968ms 13 1 6s161ms 6s161ms [ User: pubeu - Total duration: 12s129ms - Times executed: 2 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, ( 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 r.acc_txt, '|')) as references, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id INNER JOIN reference r on gcr.reference_id = r.id LEFT OUTER JOIN term taxonTerm on gcr.taxon_id = taxonTerm.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'TETRACHLORODIBENZODIOXIN' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Name */ dp.descendant_object_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'HOMO SAPIENS' AND t.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;
Date: 2026-09-24 13:51:48 Duration: 6s161ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, ( 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 r.acc_txt, '|')) as references, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id INNER JOIN reference r on gcr.reference_id = r.id LEFT OUTER JOIN term taxonTerm on gcr.taxon_id = taxonTerm.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'TETRACHLORODIBENZODIOXIN' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Name */ dp.descendant_object_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'HOMO SAPIENS' AND t.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;
Date: 2026-09-24 09:54:04 Duration: 5s968ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 8,870 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 19 FATAL entries
- 3 ERROR entries
- 0 WARNING entries
- 9 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 13 Max number of times the same event was reported
- 31 Total events found
Rank Times reported Error 1 13 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #1
Day Hour Count Sep 24 21 13 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Date: 2026-09-24 21:25:22
Date: 2026-09-24 21:25:22
Date: 2026-09-24 21:25:22
2 5 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #2
Day Hour Count Sep 24 02 3 03 1 15 1 - LOG: could not receive data from client: Connection reset by peer
- LOG: could not receive data from client: Connection reset by peer
- LOG: could not receive data from client: Connection reset by peer
Date: 2026-09-24 02:43:19 Database: ctdprd51 Application: User: pubeu Remote:
Date: 2026-09-24 02:43:19 Database: ctdprd51 Application: User: pubeu Remote:
Date: 2026-09-24 02:43:19 Database: ctdprd51 Application: User: pubeu Remote:
3 3 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #3
Day Hour Count Sep 24 01 1 02 1 03 1 - FATAL: canceling authentication due to timeout
- FATAL: canceling authentication due to timeout
- FATAL: canceling authentication due to timeout
Date: 2026-09-24 01:59:34
Date: 2026-09-24 02:42:32
Date: 2026-09-24 03:07:28
4 3 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #4
Day Hour Count Sep 24 02 3 - LOG: could not send data to client: Connection reset by peer
- LOG: could not send data to client: Connection reset by peer
- LOG: could not send data to client: Connection reset by peer
Statement: 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 = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2026-09-24 02:02:19 Database: ctdprd51 Application: User: pubeu Remote:
Statement: 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 = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2026-09-24 02:02:19
Statement: 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
Date: 2026-09-24 02:43:19 Database: ctdprd51 Application: User: pubeu Remote:
5 2 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #5
Day Hour Count Sep 24 02 2 - FATAL: connection to client lost
- FATAL: connection to client lost
Statement: 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 = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2026-09-24 02:02:19
Statement: 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 = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2026-09-24 02:02:19
6 1 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Sep 24 06 1 - ERROR: syntax error in ts"4M8 C:*"
Statement: SELECT /* MeshBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm casRN ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isNameMatch ,t.has_genes hasGenes ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_phenotypes hasPhenotypes ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.acc_db_cd accdbcd ,t.has_exposures hasExposures FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE t.object_type_id = 2 AND l.object_type_id = 2 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 2 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* term acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm casRN ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,t.has_genes hasgenes ,t.has_chems haschems ,t.has_diseases hasdiseases ,t.has_phenotypes hasPhenotypes ,1 relevance ,t.nm_sort ,t.id ,t.acc_db_cd accdbcd ,t.has_exposures hasexposures FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 2 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2026-09-24 06:29:03 Database: ctdprd51 Application: User: pubeu Remote:
7 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #7
Day Hour Count Sep 24 14 1 - ERROR: column "field1" does not exist at character 95
Statement: SELECT reference_id, taxon_id, COUNT(*) AS occurrence_count FROM gene_chem_reference GROUP BY field1, field2 HAVING COUNT(*) > 1;
Date: 2026-09-24 14:42:27
8 1 FATAL: connection to client lost 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 (...) 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 (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #8
Day Hour Count Sep 24 02 1 - FATAL: connection to client lost 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 = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2026-09-24 02:43:19
9 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Sep 24 06 1 - ERROR: duplicate key value violates unique constraint "term_label_ak1"
Detail: Key (acc_txt, synonym, term_label_type_id)=(C511621, 301326-22-7, 34) already exists.
Statement: insert into edit.TERM_LABEL ( acc_txt ,nm ,acc_db_id ,synonym ,object_type_id ,term_label_type_id ,reference_acc_txt ,reference_acc_db_id ,notes ,create_by ,mod_by ) values ( 'C511621' ,'2-methyl-2H-pyrazole-3-carboxylic acid (2-methyl-4-o-tolylazophenyl)amide' ,21 ,'301326-22-7' ,2 ,34 ,'41338066' ,16 ,'' ,'dsciaky' ,'dsciaky' )Date: 2026-09-24 06:11:26 Database: ctdprd51 Application: User: editeu Remote:
10 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #10
Day Hour Count Sep 24 21 1 - LOG: database system was shut down at 2026-09-24 21:25:22 EDT
Date: 2026-09-24 21:26:11