-
Global information
- Generated on Thu Sep 10 04:15:04 2026
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20260909
- Parsed 20,441 log entries in 2s
- Log start from 2026-09-09 00:00:01 to 2026-09-09 23:59:56
-
Overview
Global Stats
- 22 Number of unique normalized queries
- 112 Number of queries
- 36m49s Total query duration
- 2026-09-09 00:09:25 First query
- 2026-09-09 18:07:35 Last query
- 3 queries/s at 2026-09-09 09:49:18 Query peak
- 36m49s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 36m49s Execute total duration
- 11 Number of events
- 7 Number of unique normalized events
- 3 Max number of times the same event was reported
- 0 Number of cancellation
- 3 Total number of automatic vacuums
- 15 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 2,472 Total number of sessions
- 50 sessions at 2026-09-09 10:58:45 Session peak
- 40d2h18m9s Total duration of sessions
- 23m21s Average duration of sessions
- 0 Average queries per session
- 893ms Average queries duration per session
- 23m20s Average idle time per session
- 2,472 Total number of connections
- 25 connections/s at 2026-09-09 09:44:54 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 3 queries/s Query Peak
- 2026-09-09 09:49:18 Date
SELECT Traffic
Key values
- 3 queries/s Query Peak
- 2026-09-09 09:49:18 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-09-09 14:00:38 Date
Queries duration
Key values
- 36m49s 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 09 00 3 0ms 9m24s 3m12s 0ms 6s167ms 9m30s 01 6 0ms 18s611ms 8s76ms 0ms 0ms 29s845ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 3 0ms 6s521ms 5s931ms 0ms 5s182ms 6s521ms 06 9 0ms 1m54s 24s934ms 21s220ms 49s237ms 1m54s 07 3 0ms 9s134ms 8s428ms 0ms 7s747ms 9s134ms 08 2 0ms 6s495ms 5s780ms 0ms 5s66ms 6s495ms 09 24 0ms 22s736ms 10s452ms 23s642ms 36s746ms 49s391ms 10 23 0ms 1m54s 15s507ms 27s116ms 40s875ms 2m3s 11 12 0ms 9s349ms 8s223ms 15s563ms 17s12ms 18s148ms 12 0 0ms 0ms 0ms 0ms 0ms 0ms 13 5 0ms 9s631ms 9s466ms 9s321ms 9s631ms 18s795ms 14 12 0ms 1m53s 26s735ms 39s932ms 1m10s 1m53s 15 0 0ms 0ms 0ms 0ms 0ms 0ms 16 1 0ms 6s704ms 6s704ms 0ms 0ms 6s704ms 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 9 0ms 1m53s 24s859ms 21s137ms 48s956ms 1m53s 19 0 0ms 0ms 0ms 0ms 0ms 0ms 20 0 0ms 0ms 0ms 0ms 0ms 0ms 21 0 0ms 0ms 0ms 0ms 0ms 0ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 09 00 2 0 4m45s 0ms 0ms 9m24s 01 6 0 8s76ms 0ms 0ms 29s845ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 3 0 5s931ms 0ms 0ms 6s521ms 06 0 9 24s934ms 0ms 21s220ms 1m54s 07 3 0 8s428ms 0ms 0ms 9s134ms 08 2 0 5s780ms 0ms 0ms 6s495ms 09 24 0 10s452ms 8s972ms 23s642ms 49s391ms 10 14 9 15s507ms 8s456ms 27s116ms 1m54s 11 12 0 8s223ms 6s159ms 15s563ms 18s148ms 12 0 0 0ms 0ms 0ms 0ms 13 5 0 9s466ms 0ms 9s321ms 18s795ms 14 2 9 22s745ms 0ms 21s337ms 1m53s 15 0 0 0ms 0ms 0ms 0ms 16 1 0 6s704ms 0ms 0ms 6s704ms 17 0 0 0ms 0ms 0ms 0ms 18 0 9 24s859ms 0ms 21s137ms 1m53s 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 0 0 0ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 09 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 09 00 0 1 1.00 0.00% 01 0 6 6.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 3 3.00 0.00% 06 0 0 0.00 0.00% 07 0 3 3.00 0.00% 08 0 2 2.00 0.00% 09 0 24 24.00 0.00% 10 0 14 14.00 0.00% 11 0 12 12.00 0.00% 12 0 0 0.00 0.00% 13 0 5 5.00 0.00% 14 0 3 3.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 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Sep 09 00 74 0.02/s 01 95 0.03/s 02 82 0.02/s 03 75 0.02/s 04 77 0.02/s 05 89 0.02/s 06 83 0.02/s 07 111 0.03/s 08 89 0.02/s 09 387 0.11/s 10 189 0.05/s 11 201 0.06/s 12 77 0.02/s 13 82 0.02/s 14 79 0.02/s 15 77 0.02/s 16 80 0.02/s 17 77 0.02/s 18 82 0.02/s 19 75 0.02/s 20 75 0.02/s 21 67 0.02/s 22 74 0.02/s 23 75 0.02/s Day Hour Count Average Duration Average idle time Sep 09 00 74 32m54s 32m47s 01 95 26m24s 26m24s 02 82 29m40s 29m40s 03 75 30m58s 30m58s 04 77 29m53s 29m53s 05 89 25m37s 25m37s 06 83 29m3s 29m 07 111 23m8s 23m7s 08 89 24m51s 24m51s 09 387 6m47s 6m47s 10 182 13m29s 13m27s 11 208 11m18s 11m18s 12 77 31m31s 31m31s 13 82 29m51s 29m50s 14 79 30m27s 30m23s 15 77 31m7s 31m7s 16 80 31m13s 31m13s 17 77 31m38s 31m38s 18 82 30m28s 30m25s 19 75 30m46s 30m46s 20 75 31m16s 31m16s 21 67 32m38s 32m38s 22 74 33m8s 33m8s 23 75 32m15s 32m15s -
Connections
Established Connections
Key values
- 25 connections Connection Peak
- 2026-09-09 09:44:54 Date
Connections per database
Key values
- ctdprd51 Main Database
- 2,472 connections Total
Connections per user
Key values
- pubeu Main User
- 2,472 connections Total
-
Sessions
Simultaneous sessions
Key values
- 50 sessions Session Peak
- 2026-09-09 10:58:45 Date
Histogram of session times
Key values
- 1,750 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 2,472 sessions Total
Sessions per user
Key values
- pubeu Main User
- 2,472 sessions Total
Sessions per host
Key values
- 10.12.5.53 Main Host
- 2,472 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 5,630 buffers Checkpoint Peak
- 2026-09-09 16:09:16 Date
- 563.548 seconds Highest write time
- 0.002 seconds Sync time
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- 2026-09-09 02:00:00 Date
Checkpoints distance
Key values
- 111.09 Mo Distance Peak
- 2026-09-09 16:09:16 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Sep 09 00 361 36.291s 0.002s 36.299s 01 838 84.106s 0.002s 84.115s 02 290 29.283s 0.002s 29.293s 03 300 30.24s 0.002s 30.25s 04 477 47.951s 0.002s 47.961s 05 626 62.879s 0.002s 62.933s 06 273 27.623s 0.003s 27.636s 07 52 5.29s 0.001s 5.294s 08 474 47.711s 0.002s 47.721s 09 510 51.067s 0.003s 51.076s 10 397 40.098s 0.003s 40.113s 11 238 23.864s 0.002s 23.874s 12 407 40.847s 0.001s 40.852s 13 159 16.167s 0.003s 16.182s 14 47 4.871s 0.002s 4.882s 15 25 2.6s 0.001s 2.605s 16 5,649 565.623s 0.003s 565.689s 17 876 87.914s 0.002s 87.922s 18 9 1.007s 0.001s 1.012s 19 0 0s 0s 0s 20 74 7.573s 0.002s 7.582s 21 76 7.79s 0.002s 7.798s 22 91 9.194s 0.001s 9.199s 23 111 11.278s 0.002s 11.287s Day Hour Added Removed Recycled Synced files Longest sync Average sync Sep 09 00 0 0 0 57 0.001s 0.001s 01 0 0 0 41 0.001s 0.002s 02 0 0 0 29 0.001s 0.002s 03 0 0 0 30 0.001s 0.002s 04 0 0 0 28 0.001s 0.002s 05 0 1 0 38 0.001s 0.002s 06 0 0 0 44 0.001s 0.003s 07 0 0 0 10 0.001s 0.001s 08 0 0 0 88 0.001s 0.002s 09 0 0 0 125 0.001s 0.002s 10 0 0 0 123 0.001s 0.003s 11 0 0 0 71 0.001s 0.002s 12 0 0 0 21 0.001s 0.001s 13 0 0 0 29 0.001s 0.003s 14 0 0 0 23 0.001s 0.002s 15 0 0 0 9 0.001s 0.001s 16 0 4 0 33 0.001s 0.003s 17 0 0 0 36 0.001s 0.002s 18 0 0 0 7 0.001s 0.001s 19 0 0 0 0 0s 0s 20 0 0 0 21 0.001s 0.002s 21 0 0 0 21 0.001s 0.002s 22 0 0 0 10 0.001s 0.001s 23 0 0 0 18 0.001s 0.002s Day Hour Count Avg time (sec) Sep 09 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 09 00 2,868.00 kB 10,126.00 kB 01 2,279.50 kB 8,899.00 kB 02 195.50 kB 7,423.00 kB 03 204.50 kB 6,062.50 kB 04 216.50 kB 4,952.50 kB 05 934.00 kB 4,187.50 kB 06 309.00 kB 3,305.33 kB 07 111.00 kB 2,687.00 kB 08 1,156.00 kB 2,468.00 kB 09 1,652.50 kB 2,287.50 kB 10 755.67 kB 2,062.33 kB 11 580.50 kB 1,718.00 kB 12 2,334.00 kB 2,334.00 kB 13 76.00 kB 1,913.00 kB 14 75.50 kB 1,483.00 kB 15 65.00 kB 1,275.00 kB 16 18,986.33 kB 51,382.33 kB 17 2,954.00 kB 39,955.00 kB 18 44.00 kB 34,074.00 kB 19 0.00 kB 0.00 kB 20 57.00 kB 29,141.50 kB 21 102.00 kB 23,621.00 kB 22 72.00 kB 20,153.00 kB 23 62.00 kB 17,240.50 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Sep 09 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.10 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment
Database ctdprd51 - 2026-09-09 15:55:37 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 0.10 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment
Database ctdprd51 - 2026-09-09 15:55:37 Date
Analyzes per table
Key values
- pubc.log_query (15) Main table analyzed (database ctdprd51)
- 15 analyzes Total
Vacuums per table
Key values
- pubc.log_query (1) Main table vacuumed on database ctdprd51
- 3 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples ctdprd51.pubc.log_query 1 1 264 0 39 0 0 93 32 246,948 0 0 ctdprd51.pg_toast.pg_toast_486223 1 0 48 0 0 0 0 1 0 188 0 0 ctdprd51.pub2.term_set_enrichment 1 0 1,061 0 438 0 0 478 2 40,373 0 0 Total 3 1 1,373 3 477 0 0 572 34 287,509 0 0 Vacuum throughput per table
Key values
- pub2.term_set_enrichment (0.1) 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 (14) Main table with removed tuples on database ctdprd51
- 14 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 09 00 1 1 01 0 1 02 0 2 03 0 1 04 0 1 05 0 3 06 0 0 07 1 1 08 0 2 09 0 0 10 0 0 11 0 2 12 0 0 13 0 0 14 0 0 15 1 0 16 0 0 17 0 1 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 - 0.10 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
- 74 Total read queries
- 37 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 74 Requests
- 29m11s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 101 Requests
User Request type Count Duration postgres Total 16 18m copy to 16 18m pubc Total 1 9m24s select 1 9m24s pubeu Total 101 17m50s cte 1 1m10s select 100 16m40s qaeu Total 2 12s272ms select 2 12s272ms unknown Total 71 14m37s copy to 56 12m11s others 1 6s735ms select 14 2m19s Duration by user
Key values
- 18m (postgres) Main time consuming user
User Request type Count Duration postgres Total 16 18m copy to 16 18m pubc Total 1 9m24s select 1 9m24s pubeu Total 101 17m50s cte 1 1m10s select 100 16m40s qaeu Total 2 12s272ms select 2 12s272ms unknown Total 71 14m37s copy to 56 12m11s others 1 6s735ms select 14 2m19s Queries by host
Key values
- unknown Main host
- 191 Requests
- 1h5s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 103 Requests
- 18m27s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-09-09 09:51:32 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 72 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 9m24s /* * 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-09 00:09:25 - Database: ctdprd51 - User: pubc - Application: psql ]
2 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-09 10:06:56 - 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-09 06: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-09 18:06:55 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
5 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-09 14:06:54 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
6 1m10s 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 = '1522921') ORDER BY organism LIMIT 50;[ Date: 2026-09-09 14:37:42 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
7 24s832ms 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-09 10:07:21 ]
8 24s400ms 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-09 18:07:19 ]
9 24s344ms 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-09 14:07:19 ]
10 24s206ms 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-09 06:07:20 ]
11 22s736ms 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 = '2203052') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2026-09-09 09:42:54 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 20s660ms 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-09 10:00:22 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
13 20s291ms 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-09 06:00:22 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
14 20s270ms 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-09 14:00:22 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
15 20s195ms 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-09 18:00:22 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
16 18s611ms 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 = '2204976') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2026-09-09 01:43:19 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 16s561ms 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 = '2203052') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2026-09-09 10:57:34 - Bind query: yes ]
18 16s181ms 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-09 14:08:47 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
19 16s42ms 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-09 10:07:37 ]
20 15s587ms 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-09 14:07:34 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 9m24s 1 9m24s 9m24s 9m24s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 09 00 1 9m24s 9m24s [ User: pubc - Total duration: 9m24s - Times executed: 1 ]
[ Application: psql - Total duration: 9m24s - 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-09 00:09:25 Duration: 9m24s Database: ctdprd51 User: pubc Application: psql
2 7m35s 4 1m53s 1m54s 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;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 09 06 1 1m54s 1m54s 10 1 1m54s 1m54s 14 1 1m53s 1m53s 18 1 1m53s 1m53s [ User: postgres - Total duration: 7m35s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m35s - 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-09 10:06:56 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-09 06: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-09 18:06:55 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
3 7m31s 47 7s747ms 22s736ms 9s602ms 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 09 01 1 18s611ms 18s611ms 07 3 25s285ms 8s428ms 09 18 3m5s 10s286ms 10 14 2m9s 9s265ms 11 11 1m32s 8s411ms [ User: pubeu - Total duration: 6m29s - Times executed: 41 ]
-
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 = '2203052') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-09 09:42:54 Duration: 22s736ms 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 = '2204976') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-09 01:43:19 Duration: 18s611ms 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 = '2203052') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-09 10:57:34 Duration: 16s561ms Bind query: yes
4 1m44s 12 5s206ms 12s239ms 8s703ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 09 00 1 6s167ms 6s167ms 01 5 29s845ms 5s969ms 09 5 58s190ms 11s638ms 14 1 10s237ms 10s237ms [ User: pubeu - Total duration: 1m26s - Times executed: 10 ]
-
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 = '2205217') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-09-09 09:16:54 Duration: 12s239ms 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 = '2205217') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-09-09 09:17:07 Duration: 11s880ms 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 = '2205217') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-09-09 09:17:01 Duration: 11s762ms Bind query: yes
5 1m37s 4 24s206ms 24s832ms 24s445ms 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 #5
Day Hour Count Duration Avg duration Sep 09 06 1 24s206ms 24s206ms 10 1 24s832ms 24s832ms 14 1 24s344ms 24s344ms 18 1 24s400ms 24s400ms -
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-09 10:07:21 Duration: 24s832ms
-
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-09 18:07:19 Duration: 24s400ms
-
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-09 14:07:19 Duration: 24s344ms
6 1m21s 4 20s195ms 20s660ms 20s354ms 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 09 06 1 20s291ms 20s291ms 10 1 20s660ms 20s660ms 14 1 20s270ms 20s270ms 18 1 20s195ms 20s195ms [ User: postgres - Total duration: 1m21s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 1m21s - 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-09 10:00:22 Duration: 20s660ms 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-09 06:00:22 Duration: 20s291ms 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-09 14:00:22 Duration: 20s270ms Database: ctdprd51 User: postgres Application: pg_dump
7 1m10s 1 1m10s 1m10s 1m10s 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 09 14 1 1m10s 1m10s [ User: pubeu - Total duration: 1m10s - Times executed: 1 ]
-
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 = '1522921') ORDER BY organism LIMIT 50;
Date: 2026-09-09 14:37:42 Duration: 1m10s Database: ctdprd51 User: pubeu Bind query: yes
8 1m2s 4 15s501ms 16s42ms 15s670ms copy pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 09 06 1 15s501ms 15s501ms 10 1 16s42ms 16s42ms 14 1 15s587ms 15s587ms 18 1 15s551ms 15s551ms -
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-09 10:07:37 Duration: 16s42ms
-
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-09 14:07:34 Duration: 15s587ms
-
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-09 18:07:35 Duration: 15s551ms
9 1m 4 14s999ms 15s88ms 15s55ms 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 #9
Day Hour Count Duration Avg duration Sep 09 06 1 15s62ms 15s62ms 10 1 15s88ms 15s88ms 14 1 15s72ms 15s72ms 18 1 14s999ms 14s999ms -
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-09 10:00:53 Duration: 15s88ms
-
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-09 14:00:54 Duration: 15s72ms
-
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-09 06:00:53 Duration: 15s62ms
10 58s851ms 4 14s582ms 14s930ms 14s712ms 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 #10
Day Hour Count Duration Avg duration Sep 09 06 1 14s637ms 14s637ms 10 1 14s930ms 14s930ms 14 1 14s700ms 14s700ms 18 1 14s582ms 14s582ms -
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-09 10:01:09 Duration: 14s930ms
-
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-09 14:01:09 Duration: 14s700ms
-
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-09 06:01:08 Duration: 14s637ms
11 30s546ms 4 7s547ms 7s745ms 7s636ms 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 #11
Day Hour Count Duration Avg duration Sep 09 06 1 7s609ms 7s609ms 10 1 7s644ms 7s644ms 14 1 7s745ms 7s745ms 18 1 7s547ms 7s547ms -
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-09 14:00:32 Duration: 7s745ms
-
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-09 10:00:32 Duration: 7s644ms
-
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-09 06:00:31 Duration: 7s609ms
12 28s181ms 3 9s228ms 9s631ms 9s393ms 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_label l on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.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 c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 09 13 3 28s181ms 9s393ms [ User: pubeu - Total duration: 28s181ms - Times executed: 3 ]
-
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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'expression'))) 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 LIMIT 500;
Date: 2026-09-09 13:04:36 Duration: 9s631ms 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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'cotreatment'))) 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 LIMIT 500;
Date: 2026-09-09 13:02:36 Duration: 9s321ms 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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'cotreatment'))) 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 LIMIT 500;
Date: 2026-09-09 13:06:16 Duration: 9s228ms Database: ctdprd51 User: pubeu Bind query: yes
13 26s388ms 4 6s555ms 6s636ms 6s597ms 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 #13
Day Hour Count Duration Avg duration Sep 09 06 1 6s583ms 6s583ms 10 1 6s612ms 6s612ms 14 1 6s636ms 6s636ms 18 1 6s555ms 6s555ms -
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-09 14:01:17 Duration: 6s636ms
-
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-09 10:01:17 Duration: 6s612ms
-
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-09 06:01:16 Duration: 6s583ms
14 25s268ms 4 6s92ms 6s521ms 6s317ms 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 #14
Day Hour Count Duration Avg duration Sep 09 05 2 12s613ms 6s306ms 08 1 6s495ms 6s495ms 11 1 6s159ms 6s159ms [ User: pubeu - Total duration: 18s747ms - Times executed: 3 ]
[ User: qaeu - Total duration: 6s521ms - 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-09 05:43:41 Duration: 6s521ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 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-09 08:09:32 Duration: 6s495ms 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-09 11:07:06 Duration: 6s159ms Database: ctdprd51 User: pubeu Bind query: yes
15 25s119ms 4 6s213ms 6s340ms 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;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 09 06 1 6s274ms 6s274ms 10 1 6s290ms 6s290ms 14 1 6s340ms 6s340ms 18 1 6s213ms 6s213ms -
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-09 14:00:38 Duration: 6s340ms
-
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-09 10:00:38 Duration: 6s290ms
-
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-09 06:00:38 Duration: 6s274ms
16 19s151ms 2 9s566ms 9s585ms 9s575ms 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_label l on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.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 c.nm_sort, g.nm_sort, i.sort_txt;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 09 13 2 19s151ms 9s575ms [ User: pubeu - Total duration: 9s566ms - 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 */ 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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'expression'))) 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-09 13:05:08 Duration: 9s585ms 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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'cotreatment'))) 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-09 13:06:36 Duration: 9s566ms Database: ctdprd51 User: pubeu Bind query: yes
17 16s181ms 1 16s181ms 16s181ms 16s181ms 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 #17
Day Hour Count Duration Avg duration Sep 09 14 1 16s181ms 16s181ms [ User: pubeu - Total duration: 16s181ms - 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-09 14:08:47 Duration: 16s181ms Database: ctdprd51 User: pubeu Bind query: yes
18 7s512ms 1 7s512ms 7s512ms 7s512ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 09 09 1 7s512ms 7s512ms [ User: pubeu - Total duration: 7s512ms - Times executed: 1 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2203052') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1057400;
Date: 2026-09-09 09:33:18 Duration: 7s512ms Database: ctdprd51 User: pubeu Bind query: yes
19 6s735ms 1 6s735ms 6s735ms 6s735ms vacuum analyze log_query_archive;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 09 00 1 6s735ms 6s735ms -
VACUUM ANALYZE log_query_archive;
Date: 2026-09-09 00:09:32 Duration: 6s735ms
20 6s704ms 1 6s704ms 6s704ms 6s704ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 09 16 1 6s704ms 6s704ms [ User: pubeu - Total duration: 6s704ms - Times executed: 1 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '705467' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '705467') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2026-09-09 16:20:02 Duration: 6s704ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 47 7m31s 7s747ms 22s736ms 9s602ms 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 09 01 1 18s611ms 18s611ms 07 3 25s285ms 8s428ms 09 18 3m5s 10s286ms 10 14 2m9s 9s265ms 11 11 1m32s 8s411ms [ User: pubeu - Total duration: 6m29s - Times executed: 41 ]
-
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 = '2203052') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-09 09:42:54 Duration: 22s736ms 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 = '2204976') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-09 01:43:19 Duration: 18s611ms 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 = '2203052') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-09 10:57:34 Duration: 16s561ms Bind query: yes
2 12 1m44s 5s206ms 12s239ms 8s703ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 09 00 1 6s167ms 6s167ms 01 5 29s845ms 5s969ms 09 5 58s190ms 11s638ms 14 1 10s237ms 10s237ms [ User: pubeu - Total duration: 1m26s - Times executed: 10 ]
-
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 = '2205217') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-09-09 09:16:54 Duration: 12s239ms 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 = '2205217') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-09-09 09:17:07 Duration: 11s880ms 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 = '2205217') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-09-09 09:17:01 Duration: 11s762ms Bind query: yes
3 4 7m35s 1m53s 1m54s 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;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 09 06 1 1m54s 1m54s 10 1 1m54s 1m54s 14 1 1m53s 1m53s 18 1 1m53s 1m53s [ User: postgres - Total duration: 7m35s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m35s - 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-09 10:06:56 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-09 06: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-09 18:06:55 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
4 4 1m37s 24s206ms 24s832ms 24s445ms 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 09 06 1 24s206ms 24s206ms 10 1 24s832ms 24s832ms 14 1 24s344ms 24s344ms 18 1 24s400ms 24s400ms -
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-09 10:07:21 Duration: 24s832ms
-
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-09 18:07:19 Duration: 24s400ms
-
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-09 14:07:19 Duration: 24s344ms
5 4 1m21s 20s195ms 20s660ms 20s354ms 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 09 06 1 20s291ms 20s291ms 10 1 20s660ms 20s660ms 14 1 20s270ms 20s270ms 18 1 20s195ms 20s195ms [ User: postgres - Total duration: 1m21s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 1m21s - 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-09 10:00:22 Duration: 20s660ms 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-09 06:00:22 Duration: 20s291ms 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-09 14:00:22 Duration: 20s270ms Database: ctdprd51 User: postgres Application: pg_dump
6 4 1m2s 15s501ms 16s42ms 15s670ms 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 09 06 1 15s501ms 15s501ms 10 1 16s42ms 16s42ms 14 1 15s587ms 15s587ms 18 1 15s551ms 15s551ms -
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-09 10:07:37 Duration: 16s42ms
-
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-09 14:07:34 Duration: 15s587ms
-
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-09 18:07:35 Duration: 15s551ms
7 4 1m 14s999ms 15s88ms 15s55ms 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 09 06 1 15s62ms 15s62ms 10 1 15s88ms 15s88ms 14 1 15s72ms 15s72ms 18 1 14s999ms 14s999ms -
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-09 10:00:53 Duration: 15s88ms
-
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-09 14:00:54 Duration: 15s72ms
-
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-09 06:00:53 Duration: 15s62ms
8 4 58s851ms 14s582ms 14s930ms 14s712ms 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 09 06 1 14s637ms 14s637ms 10 1 14s930ms 14s930ms 14 1 14s700ms 14s700ms 18 1 14s582ms 14s582ms -
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-09 10:01:09 Duration: 14s930ms
-
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-09 14:01:09 Duration: 14s700ms
-
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-09 06:01:08 Duration: 14s637ms
9 4 30s546ms 7s547ms 7s745ms 7s636ms copy edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 09 06 1 7s609ms 7s609ms 10 1 7s644ms 7s644ms 14 1 7s745ms 7s745ms 18 1 7s547ms 7s547ms -
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-09 14:00:32 Duration: 7s745ms
-
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-09 10:00:32 Duration: 7s644ms
-
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-09 06:00:31 Duration: 7s609ms
10 4 26s388ms 6s555ms 6s636ms 6s597ms 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 #10
Day Hour Count Duration Avg duration Sep 09 06 1 6s583ms 6s583ms 10 1 6s612ms 6s612ms 14 1 6s636ms 6s636ms 18 1 6s555ms 6s555ms -
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-09 14:01:17 Duration: 6s636ms
-
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-09 10:01:17 Duration: 6s612ms
-
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-09 06:01:16 Duration: 6s583ms
11 4 25s268ms 6s92ms 6s521ms 6s317ms 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 #11
Day Hour Count Duration Avg duration Sep 09 05 2 12s613ms 6s306ms 08 1 6s495ms 6s495ms 11 1 6s159ms 6s159ms [ User: pubeu - Total duration: 18s747ms - Times executed: 3 ]
[ User: qaeu - Total duration: 6s521ms - 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-09 05:43:41 Duration: 6s521ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 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-09 08:09:32 Duration: 6s495ms 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-09 11:07:06 Duration: 6s159ms Database: ctdprd51 User: pubeu Bind query: yes
12 4 25s119ms 6s213ms 6s340ms 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;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 09 06 1 6s274ms 6s274ms 10 1 6s290ms 6s290ms 14 1 6s340ms 6s340ms 18 1 6s213ms 6s213ms -
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-09 14:00:38 Duration: 6s340ms
-
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-09 10:00:38 Duration: 6s290ms
-
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-09 06:00:38 Duration: 6s274ms
13 3 28s181ms 9s228ms 9s631ms 9s393ms 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_label l on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.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 c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 09 13 3 28s181ms 9s393ms [ User: pubeu - Total duration: 28s181ms - Times executed: 3 ]
-
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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'expression'))) 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 LIMIT 500;
Date: 2026-09-09 13:04:36 Duration: 9s631ms 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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'cotreatment'))) 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 LIMIT 500;
Date: 2026-09-09 13:02:36 Duration: 9s321ms 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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'cotreatment'))) 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 LIMIT 500;
Date: 2026-09-09 13:06:16 Duration: 9s228ms Database: ctdprd51 User: pubeu Bind query: yes
14 2 19s151ms 9s566ms 9s585ms 9s575ms 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_label l on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.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 c.nm_sort, g.nm_sort, i.sort_txt;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 09 13 2 19s151ms 9s575ms [ User: pubeu - Total duration: 9s566ms - 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 */ 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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'expression'))) 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-09 13:05:08 Duration: 9s585ms 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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'cotreatment'))) 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-09 13:06:36 Duration: 9s566ms Database: ctdprd51 User: pubeu Bind query: yes
15 1 9m24s 9m24s 9m24s 9m24s select maint_query_logs_archive ();Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 09 00 1 9m24s 9m24s [ User: pubc - Total duration: 9m24s - Times executed: 1 ]
[ Application: psql - Total duration: 9m24s - 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-09 00:09:25 Duration: 9m24s Database: ctdprd51 User: pubc Application: psql
16 1 1m10s 1m10s 1m10s 1m10s 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 #16
Day Hour Count Duration Avg duration Sep 09 14 1 1m10s 1m10s [ User: pubeu - Total duration: 1m10s - Times executed: 1 ]
-
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 = '1522921') ORDER BY organism LIMIT 50;
Date: 2026-09-09 14:37:42 Duration: 1m10s Database: ctdprd51 User: pubeu Bind query: yes
17 1 16s181ms 16s181ms 16s181ms 16s181ms 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 #17
Day Hour Count Duration Avg duration Sep 09 14 1 16s181ms 16s181ms [ User: pubeu - Total duration: 16s181ms - 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-09 14:08:47 Duration: 16s181ms Database: ctdprd51 User: pubeu Bind query: yes
18 1 7s512ms 7s512ms 7s512ms 7s512ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 09 09 1 7s512ms 7s512ms [ User: pubeu - Total duration: 7s512ms - Times executed: 1 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2203052') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1057400;
Date: 2026-09-09 09:33:18 Duration: 7s512ms Database: ctdprd51 User: pubeu Bind query: yes
19 1 6s735ms 6s735ms 6s735ms 6s735ms vacuum analyze log_query_archive;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 09 00 1 6s735ms 6s735ms -
VACUUM ANALYZE log_query_archive;
Date: 2026-09-09 00:09:32 Duration: 6s735ms
20 1 6s704ms 6s704ms 6s704ms 6s704ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 09 16 1 6s704ms 6s704ms [ User: pubeu - Total duration: 6s704ms - Times executed: 1 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '705467' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '705467') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2026-09-09 16:20:02 Duration: 6s704ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 9m24s 9m24s 9m24s 1 9m24s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 09 00 1 9m24s 9m24s [ User: pubc - Total duration: 9m24s - Times executed: 1 ]
[ Application: psql - Total duration: 9m24s - 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-09 00:09:25 Duration: 9m24s Database: ctdprd51 User: pubc Application: psql
2 1m53s 1m54s 1m53s 4 7m35s 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 09 06 1 1m54s 1m54s 10 1 1m54s 1m54s 14 1 1m53s 1m53s 18 1 1m53s 1m53s [ User: postgres - Total duration: 7m35s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m35s - 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-09 10:06:56 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-09 06: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-09 18:06:55 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
3 1m10s 1m10s 1m10s 1 1m10s 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 #3
Day Hour Count Duration Avg duration Sep 09 14 1 1m10s 1m10s [ User: pubeu - Total duration: 1m10s - Times executed: 1 ]
-
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 = '1522921') ORDER BY organism LIMIT 50;
Date: 2026-09-09 14:37:42 Duration: 1m10s Database: ctdprd51 User: pubeu Bind query: yes
4 24s206ms 24s832ms 24s445ms 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 09 06 1 24s206ms 24s206ms 10 1 24s832ms 24s832ms 14 1 24s344ms 24s344ms 18 1 24s400ms 24s400ms -
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-09 10:07:21 Duration: 24s832ms
-
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-09 18:07:19 Duration: 24s400ms
-
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-09 14:07:19 Duration: 24s344ms
5 20s195ms 20s660ms 20s354ms 4 1m21s 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 09 06 1 20s291ms 20s291ms 10 1 20s660ms 20s660ms 14 1 20s270ms 20s270ms 18 1 20s195ms 20s195ms [ User: postgres - Total duration: 1m21s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 1m21s - 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-09 10:00:22 Duration: 20s660ms 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-09 06:00:22 Duration: 20s291ms 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-09 14:00:22 Duration: 20s270ms Database: ctdprd51 User: postgres Application: pg_dump
6 16s181ms 16s181ms 16s181ms 1 16s181ms 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 #6
Day Hour Count Duration Avg duration Sep 09 14 1 16s181ms 16s181ms [ User: pubeu - Total duration: 16s181ms - 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-09 14:08:47 Duration: 16s181ms Database: ctdprd51 User: pubeu Bind query: yes
7 15s501ms 16s42ms 15s670ms 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 #7
Day Hour Count Duration Avg duration Sep 09 06 1 15s501ms 15s501ms 10 1 16s42ms 16s42ms 14 1 15s587ms 15s587ms 18 1 15s551ms 15s551ms -
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-09 10:07:37 Duration: 16s42ms
-
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-09 14:07:34 Duration: 15s587ms
-
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-09 18:07:35 Duration: 15s551ms
8 14s999ms 15s88ms 15s55ms 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 #8
Day Hour Count Duration Avg duration Sep 09 06 1 15s62ms 15s62ms 10 1 15s88ms 15s88ms 14 1 15s72ms 15s72ms 18 1 14s999ms 14s999ms -
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-09 10:00:53 Duration: 15s88ms
-
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-09 14:00:54 Duration: 15s72ms
-
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-09 06:00:53 Duration: 15s62ms
9 14s582ms 14s930ms 14s712ms 4 58s851ms 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 #9
Day Hour Count Duration Avg duration Sep 09 06 1 14s637ms 14s637ms 10 1 14s930ms 14s930ms 14 1 14s700ms 14s700ms 18 1 14s582ms 14s582ms -
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-09 10:01:09 Duration: 14s930ms
-
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-09 14:01:09 Duration: 14s700ms
-
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-09 06:01:08 Duration: 14s637ms
10 7s747ms 22s736ms 9s602ms 47 7m31s 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 #10
Day Hour Count Duration Avg duration Sep 09 01 1 18s611ms 18s611ms 07 3 25s285ms 8s428ms 09 18 3m5s 10s286ms 10 14 2m9s 9s265ms 11 11 1m32s 8s411ms [ User: pubeu - Total duration: 6m29s - Times executed: 41 ]
-
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 = '2203052') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-09 09:42:54 Duration: 22s736ms 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 = '2204976') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-09 01:43:19 Duration: 18s611ms 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 = '2203052') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-09-09 10:57:34 Duration: 16s561ms Bind query: yes
11 9s566ms 9s585ms 9s575ms 2 19s151ms 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_label l on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.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 c.nm_sort, g.nm_sort, i.sort_txt;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 09 13 2 19s151ms 9s575ms [ User: pubeu - Total duration: 9s566ms - 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 */ 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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'expression'))) 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-09 13:05:08 Duration: 9s585ms 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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'cotreatment'))) 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-09 13:06:36 Duration: 9s566ms Database: ctdprd51 User: pubeu Bind query: yes
12 9s228ms 9s631ms 9s393ms 3 28s181ms 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_label l on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.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 c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 09 13 3 28s181ms 9s393ms [ User: pubeu - Total duration: 28s181ms - Times executed: 3 ]
-
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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'expression'))) 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 LIMIT 500;
Date: 2026-09-09 13:04:36 Duration: 9s631ms 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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'cotreatment'))) 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 LIMIT 500;
Date: 2026-09-09 13:02:36 Duration: 9s321ms 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.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BISPHENOL A' AND l.object_type_id = 2)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'cotreatment'))) 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 LIMIT 500;
Date: 2026-09-09 13:06:16 Duration: 9s228ms Database: ctdprd51 User: pubeu Bind query: yes
13 5s206ms 12s239ms 8s703ms 12 1m44s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 09 00 1 6s167ms 6s167ms 01 5 29s845ms 5s969ms 09 5 58s190ms 11s638ms 14 1 10s237ms 10s237ms [ User: pubeu - Total duration: 1m26s - Times executed: 10 ]
-
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 = '2205217') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-09-09 09:16:54 Duration: 12s239ms 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 = '2205217') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-09-09 09:17:07 Duration: 11s880ms 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 = '2205217') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-09-09 09:17:01 Duration: 11s762ms Bind query: yes
14 7s547ms 7s745ms 7s636ms 4 30s546ms 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 #14
Day Hour Count Duration Avg duration Sep 09 06 1 7s609ms 7s609ms 10 1 7s644ms 7s644ms 14 1 7s745ms 7s745ms 18 1 7s547ms 7s547ms -
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-09 14:00:32 Duration: 7s745ms
-
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-09 10:00:32 Duration: 7s644ms
-
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-09 06:00:31 Duration: 7s609ms
15 7s512ms 7s512ms 7s512ms 1 7s512ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 09 09 1 7s512ms 7s512ms [ User: pubeu - Total duration: 7s512ms - Times executed: 1 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2203052') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1057400;
Date: 2026-09-09 09:33:18 Duration: 7s512ms Database: ctdprd51 User: pubeu Bind query: yes
16 6s735ms 6s735ms 6s735ms 1 6s735ms vacuum analyze log_query_archive;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 09 00 1 6s735ms 6s735ms -
VACUUM ANALYZE log_query_archive;
Date: 2026-09-09 00:09:32 Duration: 6s735ms
17 6s704ms 6s704ms 6s704ms 1 6s704ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 09 16 1 6s704ms 6s704ms [ User: pubeu - Total duration: 6s704ms - Times executed: 1 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '705467' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '705467') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2026-09-09 16:20:02 Duration: 6s704ms Database: ctdprd51 User: pubeu Bind query: yes
18 6s555ms 6s636ms 6s597ms 4 26s388ms 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 09 06 1 6s583ms 6s583ms 10 1 6s612ms 6s612ms 14 1 6s636ms 6s636ms 18 1 6s555ms 6s555ms -
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-09 14:01:17 Duration: 6s636ms
-
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-09 10:01:17 Duration: 6s612ms
-
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-09 06:01:16 Duration: 6s583ms
19 6s92ms 6s521ms 6s317ms 4 25s268ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ? or d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 09 05 2 12s613ms 6s306ms 08 1 6s495ms 6s495ms 11 1 6s159ms 6s159ms [ User: pubeu - Total duration: 18s747ms - Times executed: 3 ]
[ User: qaeu - Total duration: 6s521ms - 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-09 05:43:41 Duration: 6s521ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 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-09 08:09:32 Duration: 6s495ms 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-09 11:07:06 Duration: 6s159ms Database: ctdprd51 User: pubeu Bind query: yes
20 6s213ms 6s340ms 6s279ms 4 25s119ms copy edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 09 06 1 6s274ms 6s274ms 10 1 6s290ms 6s290ms 14 1 6s340ms 6s340ms 18 1 6s213ms 6s213ms -
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-09 14:00:38 Duration: 6s340ms
-
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-09 10:00:38 Duration: 6s290ms
-
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-09 06:00:38 Duration: 6s274ms
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
- 10,203 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 4 FATAL entries
- 2 ERROR entries
- 0 WARNING entries
- 5 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 3 Max number of times the same event was reported
- 11 Total events found
Rank Times reported Error 1 3 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #1
Day Hour Count Sep 09 11 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
Date: 2026-09-09 11:03:19 Database: ctdprd51 Application: User: pubeu Remote:
Date: 2026-09-09 11:03: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-09 11:03:19 Database: ctdprd51 Application: User: pubeu Remote:
2 2 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Sep 09 08 1 11 1 - ERROR: syntax error at or near "select" at character 498
- ERROR: syntax error at or near "select" at character 493
Statement: -- Check for large queries and repeating queries with same results_qty select remote_addr, results_qty, execution_ms, query_tm, type_cd,basic_query_txt --select * from pubc.log_query where query_tm >= '20260909 08:00:00' --order by results_qty desc, query_tm desc, remote_addr and remote_addr not in ('152.7.178.45','152.7.178.53') --and remote_addr = '115.245.248.147' order by results_qty desc, remote_addr, query_tm desc --order by query_tm desc limit 100 -- Check for ips with heavy activity select remote_addr, count(*) from pubc.log_query where query_tm >= '20260820' and remote_addr not in ('152.7.178.45','152.7.178.53') group by remote_addr order by count(*) desc limit 50
Date: 2026-09-09 08:36:50
Statement: -- Check for large queries and repeating queries with same results_qty select remote_addr, results_qty, execution_ms, query_tm, type_cd,basic_query_txt --select * from pubc.log_query where query_tm >= '20260909 08:00:00' --order by results_qty desc, query_tm desc, remote_addr and remote_addr not in ('152.7.178.45','152.7.178.53') and remote_addr = '66.24.155.11' --order by results_qty desc, remote_addr, query_tm desc order by query_tm desc limit 100 -- Check for ips with heavy activity select remote_addr, count(*) from pubc.log_query where query_tm >= '20260909 10:00:00' and remote_addr not in ('152.7.178.45','152.7.178.53') group by remote_addr order by count(*) desc limit 50
Date: 2026-09-09 11:17:08
3 2 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #3
Day Hour Count Sep 09 08 2 - 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-09 08:05:49 Database: ctdprd51 Application: User: pubeu Remote:
Date: 2026-09-09 08:05:49 Database: ctdprd51 Application: User: pubeu Remote:
4 1 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #4
Day Hour Count Sep 09 11 1 - 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-09 11:03:19
5 1 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #5
Day Hour Count Sep 09 10 1 - FATAL: canceling authentication due to timeout
Date: 2026-09-09 10:59:45
6 1 FATAL: ,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 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 #6
Day Hour Count Sep 09 11 1 - FATAL: ,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 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-09 11:03:19
7 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 #7
Day Hour Count Sep 09 11 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-09 11:03:19