-
Global information
- Generated on Wed Sep 30 04:15:03 2026
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20260929
- Parsed 25,444 log entries in 2s
- Log start from 2026-09-29 00:00:01 to 2026-09-29 23:57:27
-
Overview
Global Stats
- 118 Number of unique normalized queries
- 168 Number of queries
- 11h26m22s Total query duration
- 2026-09-29 00:09:27 First query
- 2026-09-29 23:44:12 Last query
- 2 queries/s at 2026-09-29 01:01:43 Query peak
- 11h26m22s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 11h26m22s Execute total duration
- 1,375 Number of events
- 6 Number of unique normalized events
- 1,070 Max number of times the same event was reported
- 0 Number of cancellation
- 42 Total number of automatic vacuums
- 65 Total number of automatic analyzes
- 1,372 Number temporary file
- 47.42 GiB Max size of temporary file
- 202.26 MiB Average size of temporary file
- 2,022 Total number of sessions
- 162 sessions at 2026-09-29 01:01:27 Session peak
- 44d12h24m49s Total duration of sessions
- 31m42s Average duration of sessions
- 0 Average queries per session
- 20s367ms Average queries duration per session
- 31m21s Average idle time per session
- 2,018 Total number of connections
- 9 connections/s at 2026-09-29 12:55:06 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2026-09-29 01:01:43 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-09-29 01:01:43 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-09-29 10:01:09 Date
Queries duration
Key values
- 11h26m22s 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 29 00 27 0ms 12m53s 1m24s 2m20s 3m8s 12m53s 01 13 0ms 27m53s 2m50s 1m17s 1m29s 27m53s 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 6 0ms 1h57m55s 20m14s 6s8ms 13s620ms 1h57m55s 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 6 0ms 31s611ms 12s908ms 9s162ms 14s724ms 31s611ms 06 22 0ms 2h43m52s 8m 49s567ms 1m53s 2h44m2s 07 5 0ms 51m57s 10m28s 0ms 0ms 52m19s 08 5 0ms 19s223ms 12s529ms 8s422ms 10s453ms 19s223ms 09 4 0ms 2h24m59s 38m48s 0ms 52s29ms 2h25m11s 10 11 0ms 35m55s 3m37s 21s204ms 50s121ms 35m55s 11 0 0ms 0ms 0ms 0ms 0ms 0ms 12 13 0ms 36s76ms 10s816ms 19s230ms 22s293ms 41s883ms 13 9 0ms 1m23s 32s911ms 30s623ms 39s432ms 1m23s 14 23 0ms 38m33s 1m53s 21s167ms 50s376ms 38m33s 15 8 0ms 2m42s 44s722ms 7s591ms 21s116ms 3m2s 16 3 0ms 1m20s 1m4s 0ms 1m15s 1m20s 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 9 0ms 1m53s 24s896ms 0ms 39s924ms 1m53s 19 0 0ms 0ms 0ms 0ms 0ms 0ms 20 0 0ms 0ms 0ms 0ms 0ms 0ms 21 2 0ms 8s834ms 8s479ms 0ms 0ms 8s834ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 2 0ms 6s912ms 6s767ms 0ms 0ms 13s535ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 29 00 8 0 1m43s 0ms 15s644ms 9m26s 01 5 0 21s120ms 0ms 0ms 1m17s 02 0 0 0ms 0ms 0ms 0ms 03 4 0 29m35s 0ms 0ms 1h57m55s 04 0 0 0ms 0ms 0ms 0ms 05 6 0 12s908ms 0ms 9s162ms 31s611ms 06 4 9 13m15s 0ms 40s165ms 3m16s 07 1 0 5s209ms 0ms 0ms 5s209ms 08 5 0 12s529ms 0ms 8s422ms 19s223ms 09 4 0 38m48s 0ms 0ms 2h25m11s 10 2 9 3m37s 0ms 21s204ms 35m55s 11 0 0 0ms 0ms 0ms 0ms 12 13 0 10s816ms 0ms 19s230ms 41s883ms 13 9 0 32s911ms 0ms 30s623ms 1m23s 14 14 9 1m53s 10s432ms 21s167ms 38m33s 15 8 0 44s722ms 0ms 7s591ms 3m2s 16 1 0 38s293ms 0ms 0ms 38s293ms 17 0 0 0ms 0ms 0ms 0ms 18 0 9 24s896ms 0ms 0ms 1m53s 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 2 0 8s479ms 0ms 0ms 8s834ms 22 0 0 0ms 0ms 0ms 0ms 23 2 0 6s767ms 0ms 0ms 13s535ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 29 00 5 4 0 0 30s518ms 0ms 0ms 1m22s 01 4 4 0 0 4m24s 0ms 0ms 2m31s 02 0 0 0 0 0ms 0ms 0ms 0ms 03 1 0 0 0 2m55s 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 29 00 0 25 25.00 0.00% 01 0 13 13.00 0.00% 02 0 0 0.00 0.00% 03 0 6 6.00 0.00% 04 0 0 0.00 0.00% 05 0 6 6.00 0.00% 06 0 13 13.00 0.00% 07 0 5 5.00 0.00% 08 0 5 5.00 0.00% 09 0 4 4.00 0.00% 10 0 2 2.00 0.00% 11 0 0 0.00 0.00% 12 0 4 4.00 0.00% 13 0 9 9.00 0.00% 14 0 14 14.00 0.00% 15 0 8 8.00 0.00% 16 0 0 0.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 2 2.00 0.00% 22 0 0 0.00 0.00% 23 0 2 2.00 0.00% Day Hour Count Average / Second Sep 29 00 93 0.03/s 01 104 0.03/s 02 78 0.02/s 03 83 0.02/s 04 95 0.03/s 05 95 0.03/s 06 91 0.03/s 07 74 0.02/s 08 81 0.02/s 09 78 0.02/s 10 87 0.02/s 11 78 0.02/s 12 108 0.03/s 13 99 0.03/s 14 81 0.02/s 15 84 0.02/s 16 79 0.02/s 17 71 0.02/s 18 80 0.02/s 19 76 0.02/s 20 73 0.02/s 21 77 0.02/s 22 76 0.02/s 23 77 0.02/s Day Hour Count Average Duration Average idle time Sep 29 00 93 25m30s 25m6s 01 104 23m56s 23m35s 02 78 30m31s 30m31s 03 83 30m14s 28m46s 04 95 25m30s 25m30s 05 95 25m5s 25m4s 06 91 26m50s 24m54s 07 74 32m27s 31m45s 08 81 30m32s 30m31s 09 78 30m50s 28m51s 10 88 33m22s 32m55s 11 78 31m31s 31m31s 12 108 23m5s 23m4s 13 98 24m43s 24m40s 14 81 29m37s 29m5s 15 85 28m40s 28m36s 16 77 29m36s 29m33s 17 71 31m8s 31m8s 18 85 1h35m47s 1h35m44s 19 76 31m 31m 20 73 31m30s 31m30s 21 77 32m40s 32m40s 22 76 31m55s 31m55s 23 77 31m40s 31m40s -
Connections
Established Connections
Key values
- 9 connections Connection Peak
- 2026-09-29 12:55:06 Date
Connections per database
Key values
- ctdprd51 Main Database
- 2,018 connections Total
Connections per user
Key values
- pubeu Main User
- 2,018 connections Total
-
Sessions
Simultaneous sessions
Key values
- 162 sessions Session Peak
- 2026-09-29 01:01:27 Date
Histogram of session times
Key values
- 1,769 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 2,022 sessions Total
Sessions per user
Key values
- pubeu Main User
- 2,022 sessions Total
Sessions per host
Key values
- 10.12.5.53 Main Host
- 2,022 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 1,355,368 buffers Checkpoint Peak
- 2026-09-29 01:00:21 Date
- 1619.936 seconds Highest write time
- 0.780 seconds Sync time
Checkpoints Wal files
Key values
- 780 files Wal files usage Peak
- 2026-09-29 06:43:55 Date
Checkpoints distance
Key values
- 19,058.78 Mo Distance Peak
- 2026-09-29 00:36:56 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Sep 29 00 1,647,751 2,901.07s 0.814s 2,927.453s 01 2,735,527 2,005.827s 0.456s 2,034.713s 02 1,725,922 3,250.117s 0.007s 3,259.839s 03 1,219 122.184s 0.001s 122.2s 04 321,760 3,238.587s 0.01s 3,240.415s 05 256,513 3,239.285s 0.019s 3,240.378s 06 860,984 3,234.755s 3.47s 3,345.614s 07 592,385 431.915s 0.193s 515.584s 08 831,611 3,933.052s 0.176s 3,949.555s 09 961,490 3,142.006s 0.219s 3,153.791s 10 1,134,271 3,243.335s 0.005s 3,250.469s 11 109 11.081s 0.002s 11.11s 12 22 2.294s 0.001s 2.309s 13 46,534 3,245.78s 0.006s 3,245.968s 14 36 3.696s 0.001s 3.711s 15 4,400 440.726s 0.003s 440.842s 16 61,325 1,619.111s 0.006s 1,620.355s 17 115 11.699s 0.002s 11.731s 18 84 8.584s 0.002s 8.615s 19 5,437 544.597s 0.002s 544.696s 20 224 22.605s 0.002s 22.635s 21 275 27.712s 0.002s 27.74s 22 242 24.398s 0.002s 24.427s 23 4,487 449.364s 0.002s 449.439s Day Hour Added Removed Recycled Synced files Longest sync Average sync Sep 29 00 0 23 1,772 192 0.778s 0.01s 01 0 301 2,153 525 0.208s 0.01s 02 0 0 794 149 0.001s 0.003s 03 0 0 0 30 0.001s 0.001s 04 0 222 87 107 0.003s 0.002s 05 0 119 44 66 0.006s 0.002s 06 0 230 7,446 661 0.777s 0.154s 07 0 165 5,825 735 0.071s 0.01s 08 0 0 1,279 102 0.072s 0.007s 09 0 32 910 161 0.100s 0.005s 10 0 0 571 149 0.001s 0.003s 11 0 0 0 23 0.001s 0.002s 12 0 0 0 11 0.001s 0.001s 13 0 19 0 103 0.001s 0.003s 14 0 0 0 10 0.001s 0.001s 15 0 2 0 112 0.001s 0.003s 16 0 301 18 73 0.001s 0.001s 17 0 0 0 59 0.001s 0.002s 18 0 0 0 25 0.001s 0.002s 19 0 4 0 35 0.001s 0.002s 20 0 0 0 31 0.001s 0.002s 21 0 0 0 37 0.001s 0.002s 22 0 0 0 27 0.001s 0.002s 23 0 3 0 45 0.001s 0.002s Day Hour Count Avg time (sec) Sep 29 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 29 00 8,458,524.00 kB 9,080,919.00 kB 01 8,811,268.00 kB 9,543,566.25 kB 02 4,513,403.33 kB 8,764,349.33 kB 03 7,912.00 kB 7,214,876.00 kB 04 2,264,319.00 kB 6,508,495.50 kB 05 1,338,998.00 kB 5,557,621.50 kB 06 7,871,331.00 kB 8,317,202.31 kB 07 8,904,635.36 kB 9,060,032.64 kB 08 6,985,787.33 kB 8,789,880.00 kB 09 5,145,571.67 kB 8,367,409.00 kB 10 3,293,872.67 kB 8,026,707.00 kB 11 278.50 kB 6,184,289.00 kB 12 93.00 kB 5,272,933.00 kB 13 101,573.67 kB 4,310,378.67 kB 14 128.00 kB 3,483,012.00 kB 15 15,054.33 kB 2,835,744.00 kB 16 5,224,286.00 kB 5,224,286.00 kB 17 259.50 kB 4,466,810.50 kB 18 140.50 kB 3,618,141.00 kB 19 29,148.50 kB 2,936,235.00 kB 20 111.00 kB 2,378,368.00 kB 21 320.50 kB 1,926,537.50 kB 22 138.50 kB 1,560,524.50 kB 23 22,741.50 kB 1,268,318.00 kB -
Temporary Files
Size of temporary files
Key values
- 15.26 GiB Temp Files size Peak
- 2026-09-29 07:15:32 Date
Number of temporary files
Key values
- 21 per second Temp Files Peak
- 2026-09-29 06:34:55 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Sep 29 00 166 32.08 GiB 197.90 MiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 580 111.23 GiB 196.38 MiB 07 442 63.74 GiB 147.67 MiB 08 0 0 0 09 0 0 0 10 10 9.30 GiB 952.48 MiB 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 54 53.13 GiB 1007.48 MiB 16 120 1.52 GiB 12.94 MiB 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 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 942 173.30 GiB 128.00 KiB 1.00 GiB 188.39 MiB vacuum full analyze;-
VACUUM FULL ANALYZE;
Date: 2026-09-29 07:18:20 Duration: 51m57s
-
VACUUM FULL ANALYZE;
Date: 2026-09-29 06:26:25 Duration: 0ms
2 120 1.52 GiB 6.38 MiB 27.38 MiB 12.94 MiB vacuum full analyze term;-
vacuum FULL analyze TERM;
Date: 2026-09-29 16:14:34 Duration: 1m20s
-
vacuum FULL analyze TERM;
Date: 2026-09-29 16:16:42 Duration: 1m15s
-
vacuum FULL analyze TERM;
Date: 2026-09-29 16:13:24 Duration: 0ms Database: ctdprd51 User: pub1 Application: pgAdmin 4 - CONN:5282008
3 60 776.54 MiB 7.84 MiB 27.99 MiB 12.94 MiB cluster pub1.term;-
CLUSTER pub1.TERM;
Date: 2026-09-29 06:25:33 Duration: 1m9s
-
CLUSTER pub1.TERM;
Date: 2026-09-29 06:24:35 Duration: 0ms
4 25 16.26 GiB 8.00 KiB 1.00 GiB 666.02 MiB alter table pub1.term_enrichment_agent add constraint term_enrichment_agent_pk primary key (term_id, enriched_term_id, agent_term_id);-
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2026-09-29 00:37:12 Duration: 2m50s
-
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2026-09-29 00:37:11 Duration: 0ms
5 20 933.66 MiB 28.21 MiB 76.08 MiB 46.68 MiB cluster pub1.term_label;-
CLUSTER pub1.TERM_LABEL;
Date: 2026-09-29 06:26:21 Duration: 47s420ms
-
CLUSTER pub1.TERM_LABEL;
Date: 2026-09-29 06:25:43 Duration: 0ms
6 15 11.61 GiB 261.86 MiB 1.00 GiB 792.87 MiB create index ix_term_enrich_agent_enr_term on pub1.term_enrichment_agent using btree (enriched_term_id);-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);
Date: 2026-09-29 00:34:22 Duration: 1m44s
-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);
Date: 2026-09-29 00:34:21 Duration: 0ms
7 10 9.30 GiB 308.77 MiB 1.00 GiB 952.48 MiB select pub1.maint_cached_value_refresh_data_metrics ();-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2026-09-29 10:29:55 Duration: 35m55s
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2026-09-29 10:25:11 Duration: 0ms
8 10 157.21 MiB 8.00 KiB 32.02 MiB 15.72 MiB alter table pub1.term_enrichment add constraint term_enrichment_pk primary key (term_id, enriched_term_id);-
ALTER TABLE pub1.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2026-09-29 00:19:43 Duration: 0ms
9 10 682.27 MiB 8.00 KiB 138.80 MiB 68.23 MiB alter table pub1.gene_disease add constraint gene_disease_pk primary key (gene_id, disease_id);-
ALTER TABLE pub1.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2026-09-29 00:53:43 Duration: 6s463ms
-
ALTER TABLE pub1.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2026-09-29 00:53:43 Duration: 0ms
10 10 68.52 MiB 8.00 KiB 13.82 MiB 6.85 MiB alter table pub1.phenotype_term add constraint phenotype_term_pk primary key (phenotype_id, term_id);-
ALTER TABLE pub1.phenotype_term ADD CONSTRAINT phenotype_term_pk PRIMARY KEY (phenotype_id, term_id);
Date: 2026-09-29 00:54:05 Duration: 0ms
11 8 68.37 MiB 8.00 KiB 17.45 MiB 8.55 MiB alter table pub1.chem_disease add constraint chem_disease_pk primary key (chem_id, disease_id);-
ALTER TABLE pub1.chem_disease ADD CONSTRAINT chem_disease_pk PRIMARY KEY (chem_id, disease_id);
Date: 2026-09-29 00:54:09 Duration: 0ms
12 5 68.48 MiB 13.04 MiB 13.99 MiB 13.70 MiB create index ix_phenotype_term_term_id on pub1.phenotype_term using btree (term_id);-
CREATE INDEX ix_phenotype_term_term_id ON pub1.phenotype_term USING btree (term_id);
Date: 2026-09-29 00:54:06 Duration: 0ms
13 5 157.16 MiB 28.02 MiB 33.26 MiB 31.43 MiB create index ix_term_enrich_enr_obj_type on pub1.term_enrichment using btree (enriched_object_type_id);-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub1.term_enrichment USING btree (enriched_object_type_id);
Date: 2026-09-29 00:19:32 Duration: 0ms
14 5 682.23 MiB 133.92 MiB 138.47 MiB 136.45 MiB create index ix_gene_disease_disease on pub1.gene_disease using btree (disease_id);-
CREATE INDEX ix_gene_disease_disease ON pub1.gene_disease USING btree (disease_id);
Date: 2026-09-29 00:53:50 Duration: 6s617ms
-
CREATE INDEX ix_gene_disease_disease ON pub1.gene_disease USING btree (disease_id);
Date: 2026-09-29 00:53:50 Duration: 0ms
15 5 157.17 MiB 29.27 MiB 32.05 MiB 31.43 MiB create index ix_term_enrich_obj_type on pub1.term_enrichment using btree (object_type_id);-
CREATE INDEX ix_term_enrich_obj_type ON pub1.term_enrichment USING btree (object_type_id);
Date: 2026-09-29 00:19:29 Duration: 0ms Database: ctdprd51 User: pub1
16 5 68.49 MiB 12.69 MiB 14.29 MiB 13.70 MiB create index ix_phenotype_term_phenotype_id on pub1.phenotype_term using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_phenotype_id ON pub1.phenotype_term USING btree (phenotype_id);
Date: 2026-09-29 00:54:05 Duration: 0ms
17 5 682.09 MiB 127.70 MiB 145.12 MiB 136.42 MiB create index ix_gene_disease_ind_chem_qty on pub1.gene_disease using btree (indirect_chem_qty) where (indirect_chem_qty > ?);-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub1.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2026-09-29 00:53:36 Duration: 6s911ms
-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub1.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2026-09-29 00:53:36 Duration: 0ms
18 5 40.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_gene_disease_exp_ref_qty on pub1.gene_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_gene_disease_exp_ref_qty ON pub1.gene_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2026-09-29 00:53:36 Duration: 0ms
19 5 219.41 MiB 41.82 MiB 44.66 MiB 43.88 MiB create index ix_term_enrich_corr_p_val on pub1.term_enrichment using btree (corrected_p_val);-
CREATE INDEX ix_term_enrich_corr_p_val ON pub1.term_enrichment USING btree (corrected_p_val);
Date: 2026-09-29 00:19:37 Duration: 0ms
20 5 704.00 KiB 120.00 KiB 152.00 KiB 140.80 KiB create index ix_gene_disease_cur_ref_qty on pub1.gene_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_gene_disease_cur_ref_qty ON pub1.gene_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2026-09-29 00:53:29 Duration: 0ms Database: ctdprd51 User: pub1
21 5 157.17 MiB 30.59 MiB 32.56 MiB 31.43 MiB create index ix_term_enrich_tgt_match on pub1.term_enrichment using btree (target_match_qty);-
CREATE INDEX ix_term_enrich_tgt_match ON pub1.term_enrichment USING btree (target_match_qty);
Date: 2026-09-29 00:19:31 Duration: 0ms
22 5 682.23 MiB 133.83 MiB 139.24 MiB 136.45 MiB create index ix_gene_disease_network_score on pub1.gene_disease using btree (network_score);-
CREATE INDEX ix_gene_disease_network_score ON pub1.gene_disease USING btree (network_score);
Date: 2026-09-29 00:54:04 Duration: 14s114ms
-
CREATE INDEX ix_gene_disease_network_score ON pub1.gene_disease USING btree (network_score);
Date: 2026-09-29 00:54:04 Duration: 0ms
23 5 219.40 MiB 42.94 MiB 44.65 MiB 43.88 MiB create index ix_term_enrich_raw_p_val on pub1.term_enrichment using btree (raw_p_val);-
CREATE INDEX ix_term_enrich_raw_p_val ON pub1.term_enrichment USING btree (raw_p_val);
Date: 2026-09-29 00:19:41 Duration: 0ms
24 4 32.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_chem_disease_exp_ref_qty on pub1.chem_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_chem_disease_exp_ref_qty ON pub1.chem_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2026-09-29 00:54:08 Duration: 0ms
25 4 2.04 MiB 472.00 KiB 592.00 KiB 522.00 KiB create index ix_chem_disease_cur_ref_qty on pub1.chem_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_chem_disease_cur_ref_qty ON pub1.chem_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2026-09-29 00:54:07 Duration: 0ms
26 4 68.34 MiB 15.20 MiB 18.03 MiB 17.08 MiB create index ix_chem_disease_network_score on pub1.chem_disease using btree (network_score);-
CREATE INDEX ix_chem_disease_network_score ON pub1.chem_disease USING btree (network_score);
Date: 2026-09-29 00:54:10 Duration: 0ms
27 4 15.63 MiB 8.00 KiB 7.89 MiB 3.91 MiB alter table pub1.phenotype_term_axn add constraint phenotype_term_axn_pk primary key (phenotype_id, term_id, action_type_nm, action_degree_type_nm);-
ALTER TABLE pub1.phenotype_term_axn ADD CONSTRAINT phenotype_term_axn_pk PRIMARY KEY (phenotype_id, term_id, action_type_nm, action_degree_type_nm);
Date: 2026-09-29 00:54:07 Duration: 0ms
28 4 68.34 MiB 15.94 MiB 17.80 MiB 17.08 MiB create index ix_chem_disease_disease on pub1.chem_disease using btree (disease_id);-
CREATE INDEX ix_chem_disease_disease ON pub1.chem_disease USING btree (disease_id);
Date: 2026-09-29 00:54:11 Duration: 0ms
29 4 67.45 MiB 16.56 MiB 17.13 MiB 16.86 MiB create index ix_chem_disease_ind_gene_qty on pub1.chem_disease using btree (indirect_gene_qty) where (indirect_gene_qty > ?);-
CREATE INDEX ix_chem_disease_ind_gene_qty ON pub1.chem_disease USING btree (indirect_gene_qty) WHERE (indirect_gene_qty > 0);
Date: 2026-09-29 00:54:08 Duration: 0ms
30 2 7.09 MiB 3.18 MiB 3.91 MiB 3.54 MiB create index ix_phenotype_term_axn_phenotype_id on pub1.phenotype_term_axn using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_axn_phenotype_id ON pub1.phenotype_term_axn USING btree (phenotype_id);
Date: 2026-09-29 00:54:07 Duration: 0ms
31 2 7.09 MiB 3.20 MiB 3.89 MiB 3.54 MiB create index ix_phenotype_term_axn_term_id on pub1.phenotype_term_axn using btree (term_id);-
CREATE INDEX ix_phenotype_term_axn_term_id ON pub1.phenotype_term_axn USING btree (term_id);
Date: 2026-09-29 00:54:07 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:41:05 ]
2 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:41:05 ]
3 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:41:05 ]
4 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:41:05 ]
5 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:41:05 ]
6 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:00 ]
7 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:00 ]
8 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:01 ]
9 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:01 ]
10 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:01 ]
11 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:01 ]
12 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:01 ]
13 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:01 ]
14 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:01 ]
15 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:01 ]
16 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:01 ]
17 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:57 ]
18 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:57 ]
19 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:57 ]
20 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-09-29 06:45:57 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 227.80 sec Highest CPU-cost vacuum
Table pub1.term
Database ctdprd51 - 2026-09-29 09:58:36 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 227.80 sec Highest CPU-cost vacuum
Table pub1.term
Database ctdprd51 - 2026-09-29 09:58:36 Date
Analyzes per table
Key values
- pubc.log_query (19) Main table analyzed (database ctdprd51)
- 65 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 19 ctdprd51.pub1.reference 2 ctdprd51.pub1.phenotype_term 2 ctdprd51.pub1.term_set_enrichment 2 ctdprd51.pub1.term_set_enrichment_agent 2 ctdprd51.pub1.term 2 ctdprd51.pg_catalog.pg_class 2 ctdprd51.pub1.chem_disease 1 ctdprd51.pub1.exp_receptor_race 1 ctdprd51.pub1.gene_gene_reference 1 ctdprd51.pub1.dag_node 1 ctdprd51.pub1.gene_gene_ref_throughput 1 ctdprd51.pub1.exp_receptor_tobacco_use 1 ctdprd51.pub1.medium 1 ctdprd51.pub1.exp_anatomy 1 ctdprd51.pub1.exp_receptor 1 ctdprd51.pub1.gene_disease 1 ctdprd51.pub1.exp_study_factor 1 ctdprd51.pub2.term_set_enrichment 1 ctdprd51.pub1.slim_term_mapping 1 ctdprd51.pg_catalog.pg_attribute 1 ctdprd51.pub1.exp_receptor_gender 1 ctdprd51.pg_catalog.pg_depend 1 ctdprd51.pub1.exp_stressor_stressor_src 1 ctdprd51.pub1.country 1 ctdprd51.pub1.exp_stressor 1 ctdprd51.pg_catalog.pg_type 1 ctdprd51.pub1.exposure 1 ctdprd51.pub1.term_comp_agent 1 ctdprd51.pub1.reference_exp 1 ctdprd51.pub1.term_comp 1 ctdprd51.pub1.exp_outcome 1 ctdprd51.pub1.gene_gene 1 ctdprd51.pub1.exp_event 1 ctdprd51.pub1.term_reference 1 ctdprd51.pub1.ixn 1 ctdprd51.pub1.exp_event_assay_method 1 ctdprd51.pub1.geographic_region 1 ctdprd51.pub1.exp_event_location 1 ctdprd51.pub1.exp_event_project 1 ctdprd51.pub1.gene_chem_ref_gene_form 1 Total 65 Vacuums per table
Key values
- pub1.phenotype_term (2) Main table vacuumed on database ctdprd51
- 42 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples ctdprd51.pub1.phenotype_term 2 2 1,027,462 0 1,357 0 0 822,772 1,337 184,914,297 0 0 ctdprd51.pub1.reference 2 2 572,883 0 59,703 0 0 372,407 74,779 208,607,804 0 0 ctdprd51.pg_catalog.pg_statistic 2 2 1,313 0 384 0 242 822 278 1,236,222 0 0 ctdprd51.pubc.log_query 2 2 602 0 102 0 0 205 69 450,247 0 0 ctdprd51.pub1.term 2 2 2,209,527 0 730,753 0 0 1,405,569 586,372 1,206,577,196 0 0 ctdprd51.pub1.gene_gene_reference 1 0 33,818 0 3 0 0 16,832 1 1,001,507 0 0 ctdprd51.pub1.exp_receptor_race 1 0 1,438 0 3 0 0 684 1 48,775 0 0 ctdprd51.pub1.chem_disease 1 1 283,084 0 10,480 0 0 172,840 10,468 126,028,945 0 0 ctdprd51.pg_toast.pg_toast_2619 1 1 3,666 0 1,814 0 10,194 3,053 840 538,800 0 0 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 1,326 0 3 0 0 628 1 45,471 0 0 ctdprd51.pub1.gene_gene_ref_throughput 1 0 16,235 0 4 0 0 8,078 2 489,581 0 0 ctdprd51.pub1.dag_node 1 1 339,285 0 628 0 0 290,191 620 98,609,863 0 0 ctdprd51.pub1.slim_term_mapping 1 0 606 0 4 0 0 265 2 27,994 0 0 ctdprd51.pg_catalog.pg_attribute 1 1 546 0 113 0 61 257 102 575,413 0 0 ctdprd51.pub1.exp_study_factor 1 0 115 0 16 0 0 12 2 12,567 0 0 ctdprd51.pub1.term_set_enrichment 1 0 559 0 3 0 0 239 1 22,520 0 0 ctdprd51.pub1.gene_disease 1 1 3,038,287 0 629,844 0 0 1,725,683 591,993 2,181,269,448 0 0 ctdprd51.pub1.exp_receptor 1 0 8,233 0 3 0 0 4,086 1 249,493 0 0 ctdprd51.pub1.exp_anatomy 1 0 169 0 3 0 0 39 1 10,720 0 0 ctdprd51.pub1.exp_stressor_stressor_src 1 0 3,061 0 4 0 0 1,502 1 97,037 0 0 ctdprd51.pub1.exp_receptor_gender 1 0 3,022 0 3 0 0 1,496 1 96,683 0 0 ctdprd51.pub1.term_comp_agent 1 0 180 0 4 0 0 46 2 15,173 0 0 ctdprd51.pub1.exposure 1 0 4,211 0 3 0 0 2,052 1 129,487 0 0 ctdprd51.pub1.exp_stressor 1 0 7,113 0 3 0 0 3,527 1 216,512 0 0 ctdprd51.pub1.reference_exp 1 0 349 0 3 0 0 137 1 16,502 0 0 ctdprd51.pub1.term_set_enrichment_agent 1 0 10,428 0 3 0 0 5,197 1 315,042 0 0 ctdprd51.pub1.exp_event_assay_method 1 0 5,617 0 4 0 0 2,780 2 175,971 0 0 ctdprd51.pub1.ixn 1 1 1,667,195 0 117 0 0 1,107,558 19 76,001,335 0 0 ctdprd51.pub1.term_reference 1 0 41,264 0 5 0 0 20,577 2 1,226,750 0 0 ctdprd51.pub1.exp_event 1 0 14,158 0 3 0 0 7,001 1 421,478 0 0 ctdprd51.pub1.gene_gene 1 0 13,512 0 5 0 0 6,703 2 408,456 0 0 ctdprd51.pub1.exp_outcome 1 0 1,022 0 4 0 0 452 2 38,851 0 0 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 36,688 0 4 0 0 18,294 2 1,092,077 0 0 ctdprd51.pub1.exp_event_project 1 0 2,440 0 3 0 0 1,198 1 79,101 0 0 ctdprd51.pg_catalog.pg_class 1 1 276 0 29 0 17 146 28 135,108 0 0 ctdprd51.pg_toast.pg_toast_12465689 1 1 92 0 7 0 0 50 2 11,674 0 0 ctdprd51.pub1.exp_event_location 1 0 3,904 0 3 0 0 1,901 1 120,578 0 0 Total 42 18 9,353,686 180,020 1,435,427 0 10,514 6,005,279 1,266,940 4,091,314,678 0 0 Vacuum throughput per table
Key values
- pub1.term (241.58) 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
I/O timing (ms) CPU (s) Table read write elapsed ctdprd51.pub1.phenotype_term 0 0 25.53 ctdprd51.pub1.reference 0 0 38.35 ctdprd51.pg_catalog.pg_statistic 0 0 0.11 ctdprd51.pubc.log_query 0 0 0.02 ctdprd51.pub1.term 0 0 241.58 ctdprd51.pub1.gene_gene_reference 0 0 0.45 ctdprd51.pub1.exp_receptor_race 0 0 0.02 ctdprd51.pub1.chem_disease 0 0 8.6 ctdprd51.pg_toast.pg_toast_2619 0 0 0.49 ctdprd51.pub1.exp_receptor_tobacco_use 0 0 0.01 ctdprd51.pub1.gene_gene_ref_throughput 0 0 0.26 ctdprd51.pub1.dag_node 0 0 9.73 ctdprd51.pub1.slim_term_mapping 0 0 0 ctdprd51.pg_catalog.pg_attribute 0 0 0.03 ctdprd51.pub1.exp_study_factor 0 0 0 ctdprd51.pub1.term_set_enrichment 0 0 0 ctdprd51.pub1.gene_disease 0 0 217.79 ctdprd51.pub1.exp_receptor 0 0 0.09 ctdprd51.pub1.exp_anatomy 0 0 0 ctdprd51.pub1.exp_stressor_stressor_src 0 0 0.04 ctdprd51.pub1.exp_receptor_gender 0 0 0.04 ctdprd51.pub1.term_comp_agent 0 0 0 ctdprd51.pub1.exposure 0 0 0.05 ctdprd51.pub1.exp_stressor 0 0 0.1 ctdprd51.pub1.reference_exp 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 0 0 0.13 ctdprd51.pub1.exp_event_assay_method 0 0 0.07 ctdprd51.pub1.ixn 0 0 20.73 ctdprd51.pub1.term_reference 0 0 0.6 ctdprd51.pub1.exp_event 0 0 0.17 ctdprd51.pub1.gene_gene 0 0 0.34 ctdprd51.pub1.exp_outcome 0 0 0.01 ctdprd51.pub1.gene_chem_ref_gene_form 0 0 0.56 ctdprd51.pub1.exp_event_project 0 0 0.03 ctdprd51.pg_catalog.pg_class 0 0 0.01 ctdprd51.pg_toast.pg_toast_12465689 0 0 0 ctdprd51.pub1.exp_event_location 0 0 0.05 Total 0 0 565.99 Tuples removed per table
Key values
- pub1.gene_disease (35697612) Main table with removed tuples on database ctdprd51
- 64937970 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pub1.gene_disease 1 1 35,697,612 35,697,612 0 0 524,965 ctdprd51.pub1.phenotype_term 2 2 21,501,431 7,164,400 0 0 267,906 ctdprd51.pub1.chem_disease 1 1 3,575,017 3,575,017 0 0 52,525 ctdprd51.pub1.term 2 2 2,219,222 4,425,018 0 0 560,723 ctdprd51.pub1.dag_node 1 1 1,828,885 1,821,002 0 0 87,493 ctdprd51.pub1.ixn 1 1 58,031 2,563,367 0 0 611,423 ctdprd51.pub1.reference 2 2 53,060 407,636 0 0 168,904 ctdprd51.pg_toast.pg_toast_2619 1 1 3,134 22,860 0 0 12,592 ctdprd51.pg_catalog.pg_statistic 2 2 920 6,419 43 0 820 ctdprd51.pg_catalog.pg_attribute 1 1 437 9,875 0 0 236 ctdprd51.pg_catalog.pg_class 1 1 123 2,172 0 0 94 ctdprd51.pg_toast.pg_toast_12465689 1 1 69 72 0 0 22 ctdprd51.pubc.log_query 2 2 29 2,903 59 0 113 ctdprd51.pub1.gene_gene_reference 1 0 0 1,543,141 0 0 16,831 ctdprd51.pub1.exp_receptor_race 1 0 0 105,362 0 0 683 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 0 88,747 0 0 627 ctdprd51.pub1.gene_gene_ref_throughput 1 0 0 1,550,805 0 0 8,077 ctdprd51.pub1.slim_term_mapping 1 0 0 33,521 0 0 264 ctdprd51.pub1.exp_study_factor 1 0 0 1,807 0 0 11 ctdprd51.pub1.term_set_enrichment 1 0 0 14,344 0 0 238 ctdprd51.pub1.exp_receptor 1 0 0 219,507 0 0 4,085 ctdprd51.pub1.exp_anatomy 1 0 0 4,459 0 0 38 ctdprd51.pub1.exp_stressor_stressor_src 1 0 0 339,053 0 0 1,501 ctdprd51.pub1.exp_receptor_gender 1 0 0 215,856 0 0 1,495 ctdprd51.pub1.term_comp_agent 1 0 0 4,639 0 0 45 ctdprd51.pub1.exposure 1 0 0 248,595 0 0 2,051 ctdprd51.pub1.exp_stressor 1 0 0 240,764 0 0 3,526 ctdprd51.pub1.reference_exp 1 0 0 3,769 0 0 136 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 457,227 0 0 5,196 ctdprd51.pub1.exp_event_assay_method 1 0 0 275,593 0 0 2,779 ctdprd51.pub1.term_reference 1 0 0 3,806,499 0 0 20,576 ctdprd51.pub1.exp_event 1 0 0 236,945 0 0 7,000 ctdprd51.pub1.gene_gene 1 0 0 1,239,803 0 0 6,702 ctdprd51.pub1.exp_outcome 1 0 0 49,692 0 0 451 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 0 3,377,155 0 0 18,293 ctdprd51.pub1.exp_event_project 1 0 0 114,623 0 0 1,197 ctdprd51.pub1.exp_event_location 1 0 0 284,341 0 0 1,900 Total 42 18 64,937,970 70,154,600 102 0 2,391,518 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pub1.gene_gene_reference 1 0 0 0 ctdprd51.pub1.phenotype_term 2 2 21501431 0 ctdprd51.pub1.exp_receptor_race 1 0 0 0 ctdprd51.pub1.reference 2 2 53060 0 ctdprd51.pub1.chem_disease 1 1 3575017 0 ctdprd51.pg_toast.pg_toast_2619 1 1 3134 0 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 0 0 ctdprd51.pub1.gene_gene_ref_throughput 1 0 0 0 ctdprd51.pub1.dag_node 1 1 1828885 0 ctdprd51.pg_catalog.pg_statistic 2 2 920 0 ctdprd51.pub1.slim_term_mapping 1 0 0 0 ctdprd51.pg_catalog.pg_attribute 1 1 437 0 ctdprd51.pubc.log_query 2 2 29 0 ctdprd51.pub1.exp_study_factor 1 0 0 0 ctdprd51.pub1.term_set_enrichment 1 0 0 0 ctdprd51.pub1.gene_disease 1 1 35697612 0 ctdprd51.pub1.exp_receptor 1 0 0 0 ctdprd51.pub1.exp_anatomy 1 0 0 0 ctdprd51.pub1.exp_stressor_stressor_src 1 0 0 0 ctdprd51.pub1.exp_receptor_gender 1 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pub1.exposure 1 0 0 0 ctdprd51.pub1.exp_stressor 1 0 0 0 ctdprd51.pub1.reference_exp 1 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 0 ctdprd51.pub1.exp_event_assay_method 1 0 0 0 ctdprd51.pub1.term 2 2 2219222 0 ctdprd51.pub1.ixn 1 1 58031 0 ctdprd51.pub1.term_reference 1 0 0 0 ctdprd51.pub1.exp_event 1 0 0 0 ctdprd51.pub1.gene_gene 1 0 0 0 ctdprd51.pub1.exp_outcome 1 0 0 0 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 0 0 ctdprd51.pub1.exp_event_project 1 0 0 0 ctdprd51.pg_catalog.pg_class 1 1 123 0 ctdprd51.pg_toast.pg_toast_12465689 1 1 69 0 ctdprd51.pub1.exp_event_location 1 0 0 0 Total 42 18 64,937,970 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Sep 29 00 17 20 01 11 11 02 0 3 03 2 4 04 0 1 05 1 5 06 1 0 07 3 5 08 0 2 09 3 3 10 0 0 11 0 1 12 4 5 13 0 2 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 - 227.80 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
- 88 Total read queries
- 64 Total write queries
Queries by database
Key values
- unknown Main database
- 109 Requests
- 10h6m45s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 249 Requests
User Request type Count Duration edit Total 1 9s183ms insert 1 9s183ms load Total 24 1h4m17s select 24 1h4m17s postgres Total 16 17m45s copy to 16 17m45s pub1 Total 6 18m22s insert 3 18m1s select 3 20s570ms pub2 Total 1 36s76ms select 1 36s76ms pubc Total 1 9m26s select 1 9m26s pubeu Total 41 10m36s select 41 10m36s qaeu Total 20 50m8s select 20 50m8s unknown Total 249 14h39m2s copy to 55 11m57s ddl 35 42m11s insert 17 51m56s others 20 1h2m8s select 114 11h13m40s update 8 37m8s Duration by user
Key values
- 14h39m2s (unknown) Main time consuming user
User Request type Count Duration edit Total 1 9s183ms insert 1 9s183ms load Total 24 1h4m17s select 24 1h4m17s postgres Total 16 17m45s copy to 16 17m45s pub1 Total 6 18m22s insert 3 18m1s select 3 20s570ms pub2 Total 1 36s76ms select 1 36s76ms pubc Total 1 9m26s select 1 9m26s pubeu Total 41 10m36s select 41 10m36s qaeu Total 20 50m8s select 20 50m8s unknown Total 249 14h39m2s copy to 55 11m57s ddl 35 42m11s insert 17 51m56s others 20 1h2m8s select 114 11h13m40s update 8 37m8s Queries by host
Key values
- unknown Main host
- 359 Requests
- 17h30m24s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 151 Requests
- 11h3m15s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-09-29 15:27:36 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 94 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 2h43m52s SELECT maint_term_derive_nm_fts ();[ Date: 2026-09-29 06:19:20 - Bind query: yes ]
2 2h24m59s select pub1.maint_term_derive_data ();[ Date: 2026-09-29 09:43:43 - Bind query: yes ]
3 1h57m55s select pub1.maint_gene_chem_ref_gene_form_refresh ();[ Date: 2026-09-29 03:32:24 - Bind query: yes ]
4 51m57s VACUUM FULL ANALYZE;[ Date: 2026-09-29 07:18:20 - Bind query: yes ]
5 38m33s SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;[ Date: 2026-09-29 14:03:24 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
6 35m55s select pub1.maint_cached_value_refresh_data_metrics ();[ Date: 2026-09-29 10:29:55 - Bind query: yes ]
7 27m53s update pub1.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub1.REFERENCE r where has_exposures = true));[ Date: 2026-09-29 01:28:32 - Bind query: yes ]
8 12m53s ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enr_agent_term_enr_fk FOREIGN KEY (term_id, enriched_term_id) REFERENCES term_enrichment (term_id, enriched_term_id);[ Date: 2026-09-29 00:32:37 - Bind query: yes ]
9 9m26s /* * 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-29 00:09:27 - Database: ctdprd51 - User: pubc - Application: psql ]
10 9m11s select pub1.maint_phenotype_term_derive_data ();[ Date: 2026-09-29 09:53:59 - Bind query: yes ]
11 3m16s SELECT maint_term_label_derive_nm_fts ();[ Date: 2026-09-29 06:22:47 - Bind query: yes ]
12 3m2s SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.DUPE}');[ Date: 2026-09-29 00:16:51 - Database: ctdprd51 - User: load - Application: pg_bulkload - Bind query: yes ]
13 2m55s INSERT INTO pub1.TERM_REFERENCE (term_id, object_type_id, reference_id, ixn_type_id) SELECT DISTINCT term_id, object_type_id, reference_id, ixn_type_id FROM ( SELECT gene_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub1.GENE_CHEM_REFERENCE UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = chem_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub1.GENE_CHEM_REFERENCE UNION SELECT taxon_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub1.GENE_CHEM_REFERENCE WHERE taxon_id IS NOT NULL UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = chem_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-DISEASE') as ixn_type_id FROM pub1.CHEM_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = disease_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-DISEASE') as ixn_type_id FROM pub1.CHEM_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT gene_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-DISEASE') as ixn_type_id FROM pub1.GENE_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = disease_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-DISEASE') as ixn_type_id FROM pub1.GENE_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT ee.exp_marker_term_id as term_id, ( SELECT object_type_id FROM term WHERE id = exp_marker_term_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_EVENT ee WHERE e.exp_event_id = ee.id AND exp_marker_term_id IS NOT NULL UNION SELECT er.term_id, ( SELECT object_type_id FROM term WHERE id = er.term_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_RECEPTOR er WHERE e.exp_receptor_id = er.id AND er.term_id IS NOT NULL UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM term WHERE id = chem_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_STRESSOR es WHERE e.exp_stressor_id = es.id AND chem_id IS NOT NULL UNION SELECT phenotype_id as term_id, ( SELECT object_type_id FROM term WHERE id = phenotype_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_OUTCOME eo WHERE e.exp_outcome_id = eo.id AND phenotype_id IS NOT NULL UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM term WHERE id = disease_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_OUTCOME eo WHERE e.exp_outcome_id = eo.id AND disease_id IS NOT NULL UNION SELECT phenotype_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = phenotype_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub1.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' UNION SELECT term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = term_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub1.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' UNION SELECT taxon_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub1.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' AND taxon_id IS NOT NULL UNION SELECT from_gene_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = from_gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub1.GENE_GENE_REFERENCE UNION SELECT to_gene_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = to_gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub1.GENE_GENE_REFERENCE UNION SELECT from_taxon_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = from_taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub1.GENE_GENE_REFERENCE UNION SELECT to_taxon_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = to_taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub1.GENE_GENE_REFERENCE UNION SELECT DISTINCT t.id as taxon_id, t.object_type_id as taxon_object_id, r.id as reference_id, i.ixn_type_id as ixn_type_id FROM edit.REFERENCE_IXN ri, pub1.TERM t, edit.IXN i, pub1.REFERENCE r WHERE ri.taxon_acc_txt = t.acc_txt AND t.object_type_id = ( SELECT id FROM pub1.OBJECT_TYPE WHERE cd = 'taxon') AND ri.ixn_id = i.root_id AND i.ixn_type_id in ( SELECT id FROM edit.IXN_TYPE WHERE nm in ('CHEMICAL-DISEASE', 'GENE-DISEASE')) AND ri.reference_acc_txt = r.acc_txt AND ri.taxon_acc_txt IS NOT NULL AND ri.taxon_acc_txt <> '') as test UNION select ea.anatomy_id as term_id, ( select id from object_type where cd = 'anatomy') as object_type_id, r.id as reference_id, ( select id from ixn_type where nm = 'EXPOSURE') as ixn_type_id from pub1.EXP_ANATOMY ea, pub1.EXP_OUTCOME eo, pub1.EXPOSURE e, pub1.REFERENCE r where ea.exp_outcome_id = eo.id and eo.id = e.exp_outcome_id and e.reference_acc_txt = r.acc_txt UNION select anatomy_id as term_id, ( select id from object_type where cd = 'anatomy') as object_type_id, r.id as reference_id, ( select id from ixn_type where nm = 'PHENOTYPE') as ixn_type_id from pub1.IXN i, pub1.IXN_ANATOMY ia, edit.REFERENCE_IXN ri, pub1.REFERENCE r where i.id = ri.ixn_id and ri.reference_acc_txt = r.acc_txt and i.id = ia.ixn_id UNION select medium_term_id as term_id, ( select id from object_type where cd = 'anatomy') as object_type_id, r.id, ( select id from ixn_type where nm = 'EXPOSURE') as ixn_type_id from pub1.EXP_EVENT ee, pub1.EXPOSURE e, pub1.REFERENCE r where ee.id = e.exp_event_id and e.reference_acc_txt = r.acc_txt and medium_term_id is not null;[ Date: 2026-09-29 03:35:20 - Bind query: yes ]
14 2m50s ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);[ Date: 2026-09-29 00:37:12 - Bind query: yes ]
15 2m42s SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;[ Date: 2026-09-29 15:21:16 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
16 2m31s update pub1.PHENOTYPE_TERM pt set exposure_reference_qty = ( select count(distinct reference_id) from pub1.PHENOTYPE_TERM_REFERENCE ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and reference_id in ( select id from pub1.REFERENCE r where has_exposures = true));[ Date: 2026-09-29 01:31:04 - Bind query: yes ]
17 2m14s update pub1.TERM set has_exposures = false;[ Date: 2026-09-29 00:57:25 - Bind query: yes ]
18 2m12s SELECT /* AllCuratedChemPhenoIxnsDAO */ chemTerm.nm ChemicalName, chemTerm.acc_txt ChemicalID, chemTerm.secondary_nm CasRN, phenoTerm.nm PhenotypeName, phenoTerm.acc_txt PhenotypeID, ( SELECT STRING_AGG(distinct coMentionTerm.nm || '^' || coMentionTerm.acc_txt || '^' || coMentionTerm.acc_db_cd, '|')) as coMentionedTerms, taxonTerm.nm Organism, taxonTerm.acc_txt OrganismID, i.ixn_prose_txt Interaction, i.actions_txt InteractionActions, ( SELECT STRING_AGG(distinct ia.level_seq + 1 || '^' || anatomyTerm.nm || '^' || anatomyTerm.acc_txt, '|' ORDER BY ia.level_seq + 1 || '^' || anatomyTerm.nm || '^' || anatomyTerm.acc_txt)) as anatomyTerms, STRING_AGG(distinct inferredTerm.nm || '^' || inferredTerm.acc_txt || '^' || inferredTerm.acc_db_cd, '|' ORDER BY inferredTerm.nm || '^' || inferredTerm.acc_txt || '^' || inferredTerm.acc_db_cd) InferenceGeneSymbols, STRING_AGG(distinct r.acc_txt, '|' ORDER BY r.acc_txt) PubMedIDs, ptr.ixn_id ignorecolumnIxnId FROM phenotype_term_reference ptr LEFT OUTER JOIN term taxonTerm ON ptr.taxon_id = taxonTerm.id INNER JOIN ixn i ON ptr.ixn_id = i.id INNER JOIN term phenoTerm ON ptr.phenotype_id = phenoTerm.id INNER JOIN reference r ON ptr.reference_id = r.id INNER JOIN term chemTerm ON ptr.term_id = chemTerm.id LEFT OUTER JOIN ixn_anatomy ia ON ptr.ixn_id = ia.ixn_id LEFT OUTER JOIN term anatomyTerm ON ia.anatomy_id = anatomyTerm.id LEFT OUTER JOIN phenotype_term_reference ptr2 ON ptr.ixn_id = ptr2.ixn_id and (ptr.term_id <> ptr2.term_id or ptr.phenotype_id <> ptr2.phenotype_id) LEFT OUTER JOIN phenotype_term_reference ptr3 ON ptr.term_id = ptr3.term_id and (ptr.phenotype_id = ptr3.phenotype_id and ptr3.source_cd = 'I') LEFT OUTER JOIN term coMentionTerm ON coMentionTerm.id = ptr2.term_id LEFT OUTER JOIN term inferredTerm ON inferredTerm.id = ptr3.via_term_id WHERE ptr.source_cd = 'C' AND ptr.term_object_type_id = ( SELECT ot.id FROM object_type ot WHERE ot.cd = 'chem') GROUP BY chemTerm.nm, chemTerm.acc_txt, chemTerm.secondary_nm, phenoTerm.nm, phenoTerm.acc_txt, taxonTerm.nm, taxonTerm.acc_txt, i.ixn_prose_txt, i.actions_txt, ptr.ixn_id ORDER BY chemTerm.nm, phenoTerm.nm;[ Date: 2026-09-29 15:17:52 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
19 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-29 14:06:56 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
20 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-29 10:06:55 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2h43m52s 1 2h43m52s 2h43m52s 2h43m52s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 29 06 1 2h43m52s 2h43m52s -
SELECT maint_term_derive_nm_fts ();
Date: 2026-09-29 06:19:20 Duration: 2h43m52s Bind query: yes
2 2h24m59s 1 2h24m59s 2h24m59s 2h24m59s select pub1.maint_term_derive_data ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 29 09 1 2h24m59s 2h24m59s -
select pub1.maint_term_derive_data ();
Date: 2026-09-29 09:43:43 Duration: 2h24m59s Bind query: yes
3 1h57m55s 1 1h57m55s 1h57m55s 1h57m55s select pub1.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 29 03 1 1h57m55s 1h57m55s -
select pub1.maint_gene_chem_ref_gene_form_refresh ();
Date: 2026-09-29 03:32:24 Duration: 1h57m55s Bind query: yes
4 51m57s 1 51m57s 51m57s 51m57s vacuum full analyze;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 29 07 1 51m57s 51m57s -
VACUUM FULL ANALYZE;
Date: 2026-09-29 07:18:20 Duration: 51m57s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2026-09-29 06:26:25 Duration: 0ms
5 39m45s 14 5s66ms 38m33s 2m50s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 29 14 14 39m45s 2m50s [ User: qaeu - Total duration: 38m33s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-09-29 14:03:24 Duration: 38m33s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-09-29 14:10:48 Duration: 6s137ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-09-29 14:11:00 Duration: 5s941ms Bind query: yes
6 35m55s 1 35m55s 35m55s 35m55s select pub1.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 29 10 1 35m55s 35m55s -
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2026-09-29 10:29:55 Duration: 35m55s Bind query: yes
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2026-09-29 10:25:11 Duration: 0ms
7 27m53s 1 27m53s 27m53s 27m53s update pub1.gene_disease gd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.gene_disease_reference gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub1.reference r where has_exposures = true));Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 29 01 1 27m53s 27m53s -
update pub1.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub1.REFERENCE r where has_exposures = true));
Date: 2026-09-29 01:28:32 Duration: 27m53s Bind query: yes
8 12m53s 1 12m53s 12m53s 12m53s alter table pub1.term_enrichment_agent add constraint term_enr_agent_term_enr_fk foreign key (term_id, enriched_term_id) references term_enrichment (term_id, enriched_term_id);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 29 00 1 12m53s 12m53s -
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enr_agent_term_enr_fk FOREIGN KEY (term_id, enriched_term_id) REFERENCES term_enrichment (term_id, enriched_term_id);
Date: 2026-09-29 00:32:37 Duration: 12m53s Bind query: yes
9 9m26s 1 9m26s 9m26s 9m26s select maint_query_logs_archive ();Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 29 00 1 9m26s 9m26s [ User: pubc - Total duration: 9m26s - Times executed: 1 ]
[ Application: psql - Total duration: 9m26s - 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-29 00:09:27 Duration: 9m26s Database: ctdprd51 User: pubc Application: psql
10 9m11s 1 9m11s 9m11s 9m11s select pub1.maint_phenotype_term_derive_data ();Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 29 09 1 9m11s 9m11s -
select pub1.maint_phenotype_term_derive_data ();
Date: 2026-09-29 09:53:59 Duration: 9m11s Bind query: yes
11 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 #11
Day Hour Count Duration Avg duration Sep 29 06 1 1m53s 1m53s 10 1 1m53s 1m53s 14 1 1m54s 1m54s 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-29 14: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-29 10:06:55 Duration: 1m53s 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-29 06:06:56 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
12 3m47s 4 8s308ms 3m2s 56s795ms select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 29 00 4 3m47s 56s795ms [ User: load - Total duration: 3m47s - Times executed: 4 ]
[ Application: pg_bulkload - Total duration: 3m47s - Times executed: 4 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.DUPE}');
Date: 2026-09-29 00:16:51 Duration: 3m2s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.GENE_DISEASE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.log,parse-badfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.DUPE}');
Date: 2026-09-29 00:53:25 Duration: 20s392ms Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.DUPE}');
Date: 2026-09-29 00:19:28 Duration: 15s644ms Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
13 3m23s 6 5s402ms 2m42s 33s997ms select phenotypeterm.nm "GOName", phenotypeterm.acc_txt "GOID", diseaseterm.nm "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( select string_agg(distinct chemtermnetwork.nm, ?)) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( select string_agg(distinct genetermnetwork.nm, ?)) "InferenceGeneSymbols" from phenotype_term_reference ptr inner join phenotype_term pt on ptr.phenotype_id = pt.phenotype_id and ptr.term_id = pt.term_id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id inner join term diseaseterm on ptr.term_id = diseaseterm.id and diseaseterm.object_type_id = ( select id from object_type where cd = ?) left outer join term genetermnetwork on ptr.via_term_id = genetermnetwork.id and genetermnetwork.object_type_id = ( select id from object_type where cd = ?) left outer join term chemtermnetwork on ptr.via_term_id = chemtermnetwork.id and chemtermnetwork.object_type_id = ( select id from object_type where cd = ?) where phenotypeterm.id in ( select dp.descendant_dag_node_id from dag_path dp where dp.ancestor_object_id = ( select id from term where nm = ?)) and ptr.source_cd = ? and ptr.phenotype_id = phenotypeterm.id and ptr.term_id = diseaseterm.id group by phenotypeterm.nm, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 29 15 6 3m23s 33s997ms [ User: qaeu - Total duration: 2m56s - Times executed: 2 ]
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2026-09-29 15:21:16 Duration: 2m42s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'molecular_function')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2026-09-29 15:23:23 Duration: 14s131ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2026-09-29 15:21:31 Duration: 8s635ms Bind query: yes
14 3m16s 1 3m16s 3m16s 3m16s select maint_term_label_derive_nm_fts ();Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 29 06 1 3m16s 3m16s -
SELECT maint_term_label_derive_nm_fts ();
Date: 2026-09-29 06:22:47 Duration: 3m16s Bind query: yes
15 2m55s 1 2m55s 2m55s 2m55s insert into pub1.term_reference (term_id, object_type_id, reference_id, ixn_type_id) select distinct term_id, object_type_id, reference_id, ixn_type_id from ( select gene_id as term_id, ( select object_type_id from pub1.term where id = gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_chem_reference union select chem_id as term_id, ( select object_type_id from pub1.term where id = chem_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_chem_reference union select taxon_id as term_id, ( select object_type_id from pub1.term where id = taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_chem_reference where taxon_id is not null union select chem_id as term_id, ( select object_type_id from pub1.term where id = chem_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.chem_disease_reference where source_cd = ? union select disease_id as term_id, ( select object_type_id from pub1.term where id = disease_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.chem_disease_reference where source_cd = ? union select gene_id as term_id, ( select object_type_id from pub1.term where id = gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_disease_reference where source_cd = ? union select disease_id as term_id, ( select object_type_id from pub1.term where id = disease_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_disease_reference where source_cd = ? union select ee.exp_marker_term_id as term_id, ( select object_type_id from term where id = exp_marker_term_id), e.reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.exposure e, pub1.exp_event ee where e.exp_event_id = ee.id and exp_marker_term_id is not null union select er.term_id, ( select object_type_id from term where id = er.term_id), e.reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.exposure e, pub1.exp_receptor er where e.exp_receptor_id = er.id and er.term_id is not null union select chem_id as term_id, ( select object_type_id from term where id = chem_id), e.reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.exposure e, pub1.exp_stressor es where e.exp_stressor_id = es.id and chem_id is not null union select phenotype_id as term_id, ( select object_type_id from term where id = phenotype_id), e.reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.exposure e, pub1.exp_outcome eo where e.exp_outcome_id = eo.id and phenotype_id is not null union select disease_id as term_id, ( select object_type_id from term where id = disease_id), e.reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.exposure e, pub1.exp_outcome eo where e.exp_outcome_id = eo.id and disease_id is not null union select phenotype_id as term_id, ( select object_type_id from pub1.term where id = phenotype_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.phenotype_term_reference where source_cd = ? union select term_id, ( select object_type_id from pub1.term where id = term_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.phenotype_term_reference where source_cd = ? union select taxon_id as term_id, ( select object_type_id from pub1.term where id = taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.phenotype_term_reference where source_cd = ? and taxon_id is not null union select from_gene_id as term_id, ( select object_type_id from pub1.term where id = from_gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_gene_reference union select to_gene_id as term_id, ( select object_type_id from pub1.term where id = to_gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_gene_reference union select from_taxon_id as term_id, ( select object_type_id from pub1.term where id = from_taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_gene_reference union select to_taxon_id as term_id, ( select object_type_id from pub1.term where id = to_taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_gene_reference union select distinct t.id as taxon_id, t.object_type_id as taxon_object_id, r.id as reference_id, i.ixn_type_id as ixn_type_id from edit.reference_ixn ri, pub1.term t, edit.ixn i, pub1.reference r where ri.taxon_acc_txt = t.acc_txt and t.object_type_id = ( select id from pub1.object_type where cd = ?) and ri.ixn_id = i.root_id and i.ixn_type_id in ( select id from edit.ixn_type where nm in (...)) and ri.reference_acc_txt = r.acc_txt and ri.taxon_acc_txt is not null and ri.taxon_acc_txt <> ?) as test union select ea.anatomy_id as term_id, ( select id from object_type where cd = ?) as object_type_id, r.id as reference_id, ( select id from ixn_type where nm = ?) as ixn_type_id from pub1.exp_anatomy ea, pub1.exp_outcome eo, pub1.exposure e, pub1.reference r where ea.exp_outcome_id = eo.id and eo.id = e.exp_outcome_id and e.reference_acc_txt = r.acc_txt union select anatomy_id as term_id, ( select id from object_type where cd = ?) as object_type_id, r.id as reference_id, ( select id from ixn_type where nm = ?) as ixn_type_id from pub1.ixn i, pub1.ixn_anatomy ia, edit.reference_ixn ri, pub1.reference r where i.id = ri.ixn_id and ri.reference_acc_txt = r.acc_txt and i.id = ia.ixn_id union select medium_term_id as term_id, ( select id from object_type where cd = ?) as object_type_id, r.id, ( select id from ixn_type where nm = ?) as ixn_type_id from pub1.exp_event ee, pub1.exposure e, pub1.reference r where ee.id = e.exp_event_id and e.reference_acc_txt = r.acc_txt and medium_term_id is not null;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 29 03 1 2m55s 2m55s -
INSERT INTO pub1.TERM_REFERENCE (term_id, object_type_id, reference_id, ixn_type_id) SELECT DISTINCT term_id, object_type_id, reference_id, ixn_type_id FROM ( SELECT gene_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub1.GENE_CHEM_REFERENCE UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = chem_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub1.GENE_CHEM_REFERENCE UNION SELECT taxon_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub1.GENE_CHEM_REFERENCE WHERE taxon_id IS NOT NULL UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = chem_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-DISEASE') as ixn_type_id FROM pub1.CHEM_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = disease_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-DISEASE') as ixn_type_id FROM pub1.CHEM_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT gene_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-DISEASE') as ixn_type_id FROM pub1.GENE_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = disease_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-DISEASE') as ixn_type_id FROM pub1.GENE_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT ee.exp_marker_term_id as term_id, ( SELECT object_type_id FROM term WHERE id = exp_marker_term_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_EVENT ee WHERE e.exp_event_id = ee.id AND exp_marker_term_id IS NOT NULL UNION SELECT er.term_id, ( SELECT object_type_id FROM term WHERE id = er.term_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_RECEPTOR er WHERE e.exp_receptor_id = er.id AND er.term_id IS NOT NULL UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM term WHERE id = chem_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_STRESSOR es WHERE e.exp_stressor_id = es.id AND chem_id IS NOT NULL UNION SELECT phenotype_id as term_id, ( SELECT object_type_id FROM term WHERE id = phenotype_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_OUTCOME eo WHERE e.exp_outcome_id = eo.id AND phenotype_id IS NOT NULL UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM term WHERE id = disease_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_OUTCOME eo WHERE e.exp_outcome_id = eo.id AND disease_id IS NOT NULL UNION SELECT phenotype_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = phenotype_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub1.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' UNION SELECT term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = term_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub1.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' UNION SELECT taxon_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub1.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' AND taxon_id IS NOT NULL UNION SELECT from_gene_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = from_gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub1.GENE_GENE_REFERENCE UNION SELECT to_gene_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = to_gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub1.GENE_GENE_REFERENCE UNION SELECT from_taxon_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = from_taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub1.GENE_GENE_REFERENCE UNION SELECT to_taxon_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = to_taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub1.GENE_GENE_REFERENCE UNION SELECT DISTINCT t.id as taxon_id, t.object_type_id as taxon_object_id, r.id as reference_id, i.ixn_type_id as ixn_type_id FROM edit.REFERENCE_IXN ri, pub1.TERM t, edit.IXN i, pub1.REFERENCE r WHERE ri.taxon_acc_txt = t.acc_txt AND t.object_type_id = ( SELECT id FROM pub1.OBJECT_TYPE WHERE cd = 'taxon') AND ri.ixn_id = i.root_id AND i.ixn_type_id in ( SELECT id FROM edit.IXN_TYPE WHERE nm in ('CHEMICAL-DISEASE', 'GENE-DISEASE')) AND ri.reference_acc_txt = r.acc_txt AND ri.taxon_acc_txt IS NOT NULL AND ri.taxon_acc_txt <> '') as test UNION select ea.anatomy_id as term_id, ( select id from object_type where cd = 'anatomy') as object_type_id, r.id as reference_id, ( select id from ixn_type where nm = 'EXPOSURE') as ixn_type_id from pub1.EXP_ANATOMY ea, pub1.EXP_OUTCOME eo, pub1.EXPOSURE e, pub1.REFERENCE r where ea.exp_outcome_id = eo.id and eo.id = e.exp_outcome_id and e.reference_acc_txt = r.acc_txt UNION select anatomy_id as term_id, ( select id from object_type where cd = 'anatomy') as object_type_id, r.id as reference_id, ( select id from ixn_type where nm = 'PHENOTYPE') as ixn_type_id from pub1.IXN i, pub1.IXN_ANATOMY ia, edit.REFERENCE_IXN ri, pub1.REFERENCE r where i.id = ri.ixn_id and ri.reference_acc_txt = r.acc_txt and i.id = ia.ixn_id UNION select medium_term_id as term_id, ( select id from object_type where cd = 'anatomy') as object_type_id, r.id, ( select id from ixn_type where nm = 'EXPOSURE') as ixn_type_id from pub1.EXP_EVENT ee, pub1.EXPOSURE e, pub1.REFERENCE r where ee.id = e.exp_event_id and e.reference_acc_txt = r.acc_txt and medium_term_id is not null;
Date: 2026-09-29 03:35:20 Duration: 2m55s Bind query: yes
16 2m50s 1 2m50s 2m50s 2m50s alter table pub1.term_enrichment_agent add constraint term_enrichment_agent_pk primary key (term_id, enriched_term_id, agent_term_id);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 29 00 1 2m50s 2m50s -
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2026-09-29 00:37:12 Duration: 2m50s Bind query: yes
-
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2026-09-29 00:37:11 Duration: 0ms
17 2m36s 2 1m15s 1m20s 1m18s vacuum full analyze term;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 29 16 2 2m36s 1m18s -
vacuum FULL analyze TERM;
Date: 2026-09-29 16:14:34 Duration: 1m20s
-
vacuum FULL analyze TERM;
Date: 2026-09-29 16:16:42 Duration: 1m15s
-
vacuum FULL analyze TERM;
Date: 2026-09-29 16:13:24 Duration: 0ms Database: ctdprd51 User: pub1 Application: pgAdmin 4 - CONN:5282008
18 2m31s 1 2m31s 2m31s 2m31s update pub1.phenotype_term pt set exposure_reference_qty = ( select count(distinct reference_id) from pub1.phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and reference_id in ( select id from pub1.reference r where has_exposures = true));Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 29 01 1 2m31s 2m31s -
update pub1.PHENOTYPE_TERM pt set exposure_reference_qty = ( select count(distinct reference_id) from pub1.PHENOTYPE_TERM_REFERENCE ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and reference_id in ( select id from pub1.REFERENCE r where has_exposures = true));
Date: 2026-09-29 01:31:04 Duration: 2m31s Bind query: yes
19 2m14s 1 2m14s 2m14s 2m14s update pub1.term set has_exposures = false;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 29 00 1 2m14s 2m14s -
update pub1.TERM set has_exposures = false;
Date: 2026-09-29 00:57:25 Duration: 2m14s Bind query: yes
20 2m12s 1 2m12s 2m12s 2m12s select chemterm.nm chemicalname, chemterm.acc_txt chemicalid, chemterm.secondary_nm casrn, phenoterm.nm phenotypename, phenoterm.acc_txt phenotypeid, ( select string_agg(distinct comentionterm.nm || ? || comentionterm.acc_txt || ? || comentionterm.acc_db_cd, ?)) as comentionedterms, taxonterm.nm organism, taxonterm.acc_txt organismid, i.ixn_prose_txt interaction, i.actions_txt interactionactions, ( select string_agg(distinct ia.level_seq + ? || ? || anatomyterm.nm || ? || anatomyterm.acc_txt, ? order by ia.level_seq + ? || ? || anatomyterm.nm || ? || anatomyterm.acc_txt)) as anatomyterms, string_agg(distinct inferredterm.nm || ? || inferredterm.acc_txt || ? || inferredterm.acc_db_cd, ? order by inferredterm.nm || ? || inferredterm.acc_txt || ? || inferredterm.acc_db_cd) inferencegenesymbols, string_agg(distinct r.acc_txt, ? order by r.acc_txt) pubmedids, ptr.ixn_id ignorecolumnixnid from phenotype_term_reference ptr left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join ixn i on ptr.ixn_id = i.id inner join term phenoterm on ptr.phenotype_id = phenoterm.id inner join reference r on ptr.reference_id = r.id inner join term chemterm on ptr.term_id = chemterm.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id left outer join phenotype_term_reference ptr2 on ptr.ixn_id = ptr2.ixn_id and (ptr.term_id <> ptr2.term_id or ptr.phenotype_id <> ptr2.phenotype_id) left outer join phenotype_term_reference ptr3 on ptr.term_id = ptr3.term_id and (ptr.phenotype_id = ptr3.phenotype_id and ptr3.source_cd = ?) left outer join term comentionterm on comentionterm.id = ptr2.term_id left outer join term inferredterm on inferredterm.id = ptr3.via_term_id where ptr.source_cd = ? and ptr.term_object_type_id = ( select ot.id from object_type ot where ot.cd = ?) group by chemterm.nm, chemterm.acc_txt, chemterm.secondary_nm, phenoterm.nm, phenoterm.acc_txt, taxonterm.nm, taxonterm.acc_txt, i.ixn_prose_txt, i.actions_txt, ptr.ixn_id order by chemterm.nm, phenoterm.nm;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 29 15 1 2m12s 2m12s [ User: qaeu - Total duration: 2m12s - Times executed: 1 ]
-
SELECT /* AllCuratedChemPhenoIxnsDAO */ chemTerm.nm ChemicalName, chemTerm.acc_txt ChemicalID, chemTerm.secondary_nm CasRN, phenoTerm.nm PhenotypeName, phenoTerm.acc_txt PhenotypeID, ( SELECT STRING_AGG(distinct coMentionTerm.nm || '^' || coMentionTerm.acc_txt || '^' || coMentionTerm.acc_db_cd, '|')) as coMentionedTerms, taxonTerm.nm Organism, taxonTerm.acc_txt OrganismID, i.ixn_prose_txt Interaction, i.actions_txt InteractionActions, ( SELECT STRING_AGG(distinct ia.level_seq + 1 || '^' || anatomyTerm.nm || '^' || anatomyTerm.acc_txt, '|' ORDER BY ia.level_seq + 1 || '^' || anatomyTerm.nm || '^' || anatomyTerm.acc_txt)) as anatomyTerms, STRING_AGG(distinct inferredTerm.nm || '^' || inferredTerm.acc_txt || '^' || inferredTerm.acc_db_cd, '|' ORDER BY inferredTerm.nm || '^' || inferredTerm.acc_txt || '^' || inferredTerm.acc_db_cd) InferenceGeneSymbols, STRING_AGG(distinct r.acc_txt, '|' ORDER BY r.acc_txt) PubMedIDs, ptr.ixn_id ignorecolumnIxnId FROM phenotype_term_reference ptr LEFT OUTER JOIN term taxonTerm ON ptr.taxon_id = taxonTerm.id INNER JOIN ixn i ON ptr.ixn_id = i.id INNER JOIN term phenoTerm ON ptr.phenotype_id = phenoTerm.id INNER JOIN reference r ON ptr.reference_id = r.id INNER JOIN term chemTerm ON ptr.term_id = chemTerm.id LEFT OUTER JOIN ixn_anatomy ia ON ptr.ixn_id = ia.ixn_id LEFT OUTER JOIN term anatomyTerm ON ia.anatomy_id = anatomyTerm.id LEFT OUTER JOIN phenotype_term_reference ptr2 ON ptr.ixn_id = ptr2.ixn_id and (ptr.term_id <> ptr2.term_id or ptr.phenotype_id <> ptr2.phenotype_id) LEFT OUTER JOIN phenotype_term_reference ptr3 ON ptr.term_id = ptr3.term_id and (ptr.phenotype_id = ptr3.phenotype_id and ptr3.source_cd = 'I') LEFT OUTER JOIN term coMentionTerm ON coMentionTerm.id = ptr2.term_id LEFT OUTER JOIN term inferredTerm ON inferredTerm.id = ptr3.via_term_id WHERE ptr.source_cd = 'C' AND ptr.term_object_type_id = ( SELECT ot.id FROM object_type ot WHERE ot.cd = 'chem') GROUP BY chemTerm.nm, chemTerm.acc_txt, chemTerm.secondary_nm, phenoTerm.nm, phenoTerm.acc_txt, taxonTerm.nm, taxonTerm.acc_txt, i.ixn_prose_txt, i.actions_txt, ptr.ixn_id ORDER BY chemTerm.nm, phenoTerm.nm;
Date: 2026-09-29 15:17:52 Duration: 2m12s Database: ctdprd51 User: qaeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 14 39m45s 5s66ms 38m33s 2m50s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 29 14 14 39m45s 2m50s [ User: qaeu - Total duration: 38m33s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-09-29 14:03:24 Duration: 38m33s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-09-29 14:10:48 Duration: 6s137ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-09-29 14:11:00 Duration: 5s941ms Bind query: yes
2 8 1m28s 8s123ms 19s223ms 11s96ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 29 05 1 9s162ms 9s162ms 08 5 1m2s 12s529ms 21 2 16s958ms 8s479ms [ User: pubeu - Total duration: 1m1s - Times executed: 6 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d058186' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2204088) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-09-29 08:55:33 Duration: 19s223ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'insulin resistance' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2204507) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-09-29 08:52:16 Duration: 14s427ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'obesity' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2196371) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-09-29 08:40:43 Duration: 10s453ms Database: ctdprd51 User: pubeu Bind query: yes
3 6 3m23s 5s402ms 2m42s 33s997ms select phenotypeterm.nm "GOName", phenotypeterm.acc_txt "GOID", diseaseterm.nm "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( select string_agg(distinct chemtermnetwork.nm, ?)) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( select string_agg(distinct genetermnetwork.nm, ?)) "InferenceGeneSymbols" from phenotype_term_reference ptr inner join phenotype_term pt on ptr.phenotype_id = pt.phenotype_id and ptr.term_id = pt.term_id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id inner join term diseaseterm on ptr.term_id = diseaseterm.id and diseaseterm.object_type_id = ( select id from object_type where cd = ?) left outer join term genetermnetwork on ptr.via_term_id = genetermnetwork.id and genetermnetwork.object_type_id = ( select id from object_type where cd = ?) left outer join term chemtermnetwork on ptr.via_term_id = chemtermnetwork.id and chemtermnetwork.object_type_id = ( select id from object_type where cd = ?) where phenotypeterm.id in ( select dp.descendant_dag_node_id from dag_path dp where dp.ancestor_object_id = ( select id from term where nm = ?)) and ptr.source_cd = ? and ptr.phenotype_id = phenotypeterm.id and ptr.term_id = diseaseterm.id group by phenotypeterm.nm, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 29 15 6 3m23s 33s997ms [ User: qaeu - Total duration: 2m56s - Times executed: 2 ]
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2026-09-29 15:21:16 Duration: 2m42s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'molecular_function')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2026-09-29 15:23:23 Duration: 14s131ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2026-09-29 15:21:31 Duration: 8s635ms Bind query: yes
4 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 #4
Day Hour Count Duration Avg duration Sep 29 06 1 1m53s 1m53s 10 1 1m53s 1m53s 14 1 1m54s 1m54s 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-29 14: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-29 10:06:55 Duration: 1m53s 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-29 06:06:56 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
5 4 3m47s 8s308ms 3m2s 56s795ms select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 29 00 4 3m47s 56s795ms [ User: load - Total duration: 3m47s - Times executed: 4 ]
[ Application: pg_bulkload - Total duration: 3m47s - Times executed: 4 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.DUPE}');
Date: 2026-09-29 00:16:51 Duration: 3m2s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.GENE_DISEASE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.log,parse-badfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.DUPE}');
Date: 2026-09-29 00:53:25 Duration: 20s392ms Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.DUPE}');
Date: 2026-09-29 00:19:28 Duration: 15s644ms Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
6 4 1m37s 24s366ms 24s540ms 24s467ms 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 #6
Day Hour Count Duration Avg duration Sep 29 06 1 24s540ms 24s540ms 10 1 24s507ms 24s507ms 14 1 24s366ms 24s366ms 18 1 24s455ms 24s455ms -
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-29 06:07:20 Duration: 24s540ms
-
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-29 10:07:20 Duration: 24s507ms
-
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-29 18:07:20 Duration: 24s455ms
7 4 1m22s 20s463ms 20s871ms 20s615ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 29 06 1 20s464ms 20s464ms 10 1 20s663ms 20s663ms 14 1 20s871ms 20s871ms 18 1 20s463ms 20s463ms [ User: postgres - Total duration: 1m22s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 1m22s - Times executed: 4 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-09-29 14:00:23 Duration: 20s871ms 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-29 10:00:22 Duration: 20s663ms 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-29 06:00:22 Duration: 20s464ms Database: ctdprd51 User: postgres Application: pg_dump
8 4 1m2s 15s468ms 15s624ms 15s548ms 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 29 06 1 15s624ms 15s624ms 10 1 15s551ms 15s551ms 14 1 15s548ms 15s548ms 18 1 15s468ms 15s468ms -
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-29 06:07:36 Duration: 15s624ms
-
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-29 10:07:35 Duration: 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-29 14:07:36 Duration: 15s548ms
9 4 1m 15s64ms 15s364ms 15s191ms 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 29 06 1 15s135ms 15s135ms 10 1 15s364ms 15s364ms 14 1 15s201ms 15s201ms 18 1 15s64ms 15s64ms -
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-29 10:00:54 Duration: 15s364ms
-
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-29 14:00:55 Duration: 15s201ms
-
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-29 06:00:54 Duration: 15s135ms
10 4 58s739ms 14s621ms 14s862ms 14s684ms 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 29 06 1 14s862ms 14s862ms 10 1 14s628ms 14s628ms 14 1 14s621ms 14s621ms 18 1 14s626ms 14s626ms -
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-29 06:01:09 Duration: 14s862ms
-
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-29 10:01:09 Duration: 14s628ms
-
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-29 18:01:08 Duration: 14s626ms
11 4 30s548ms 7s589ms 7s691ms 7s637ms 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 29 06 1 7s622ms 7s622ms 10 1 7s691ms 7s691ms 14 1 7s589ms 7s589ms 18 1 7s644ms 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-29 10:00:32 Duration: 7s691ms
-
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-29 18:00:31 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-29 06:00:32 Duration: 7s622ms
12 4 26s201ms 6s534ms 6s576ms 6s550ms copy edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 29 06 1 6s534ms 6s534ms 10 1 6s576ms 6s576ms 14 1 6s546ms 6s546ms 18 1 6s544ms 6s544ms -
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-29 10:01:17 Duration: 6s576ms
-
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-29 14:01:18 Duration: 6s546ms
-
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-29 18:01:16 Duration: 6s544ms
13 4 25s728ms 6s268ms 6s713ms 6s432ms copy edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 29 06 1 6s345ms 6s345ms 10 1 6s401ms 6s401ms 14 1 6s713ms 6s713ms 18 1 6s268ms 6s268ms -
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-29 14:00:40 Duration: 6s713ms
-
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-29 10:00:38 Duration: 6s401ms
-
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-29 06:00:38 Duration: 6s345ms
14 3 1m29s 6s623ms 1m16s 29s850ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) and gdr.source_cd = ? group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score order by d.nm_sort, g.nm, c.nm;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 29 06 1 1m16s 1m16s 23 2 13s535ms 6s767ms [ User: pubeu - Total duration: 1m22s - Times executed: 2 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'drug-induced liver injury' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2194138) AND gdr.source_cd = 'I' GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, c.nm;
Date: 2026-09-29 06:53:51 Duration: 1m16s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd020258' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2195559) AND gdr.source_cd = 'I' GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, c.nm;
Date: 2026-09-29 23:44:05 Duration: 6s912ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd020258' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2195559) AND gdr.source_cd = 'I' GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, c.nm;
Date: 2026-09-29 23:44:12 Duration: 6s623ms Bind query: yes
15 3 26s357ms 7s812ms 10s713ms 8s785ms vacuum analyze pub1.term;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 29 06 2 18s545ms 9s272ms 07 1 7s812ms 7s812ms -
VACUUM ANALYZE pub1.TERM;
Date: 2026-09-29 06:19:30 Duration: 10s713ms Bind query: yes
-
VACUUM ANALYZE pub1.TERM;
Date: 2026-09-29 06:23:42 Duration: 7s831ms Bind query: yes
-
VACUUM ANALYZE pub1.TERM;
Date: 2026-09-29 07:18:28 Duration: 7s812ms Bind query: yes
16 3 24s951ms 7s824ms 8s575ms 8s317ms vacuum analyze pub1.reference;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 29 03 1 7s824ms 7s824ms 06 1 8s575ms 8s575ms 07 1 8s552ms 8s552ms -
VACUUM ANALYZE pub1.REFERENCE;
Date: 2026-09-29 06:24:24 Duration: 8s575ms Bind query: yes
-
VACUUM ANALYZE pub1.REFERENCE;
Date: 2026-09-29 07:18:43 Duration: 8s552ms Bind query: yes
-
VACUUM ANALYZE pub1.REFERENCE;
Date: 2026-09-29 03:35:28 Duration: 7s824ms Bind query: yes
17 3 18s150ms 5s862ms 6s287ms 6s50ms 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 #17
Day Hour Count Duration Avg duration Sep 29 05 2 11s862ms 5s931ms 12 1 6s287ms 6s287ms [ User: qaeu - Total duration: 12s287ms - Times executed: 2 ]
[ User: pubeu - Total duration: 5s862ms - 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 = 1406934)) 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-29 12:58:10 Duration: 6s287ms 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-29 05:44:24 Duration: 5s999ms 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-29 05:48:49 Duration: 5s862ms Database: ctdprd51 User: pubeu Bind query: yes
18 2 2m36s 1m15s 1m20s 1m18s vacuum full analyze term;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 29 16 2 2m36s 1m18s -
vacuum FULL analyze TERM;
Date: 2026-09-29 16:14:34 Duration: 1m20s
-
vacuum FULL analyze TERM;
Date: 2026-09-29 16:16:42 Duration: 1m15s
-
vacuum FULL analyze TERM;
Date: 2026-09-29 16:13:24 Duration: 0ms Database: ctdprd51 User: pub1 Application: pgAdmin 4 - CONN:5282008
19 2 49s725ms 12s379ms 37s345ms 24s862ms select t.nm "GeneSymbol", t.secondary_nm "GeneName", t.acc_txt "GeneID", ( select string_agg(distinct l.acc_txt, ? order by l.acc_txt) from db_link l where l.object_type_id = t.object_type_id and l.object_id = t.id and l.type_cd = ? and l.is_primary = false) "AltGeneIDs", ( select string_agg(distinct tl.nm, ? order by tl.nm) from term_label tl inner join term_label_type tlt on tl.term_label_type_id = tlt.id where tl.term_id = t.id and tlt.nm = ?) "Synonyms", ( select string_agg(l.acc_txt, ? order by l.acc_txt) from db_link l inner join db d on l.db_id = d.id where l.object_id = t.id and d.cd = ? and l.type_cd = ?) "BioGRIDIDs", ( select string_agg(l.acc_txt, ? order by l.acc_txt) from db_link l inner join db d on l.db_id = d.id where l.object_id = t.id and d.cd = ? and l.type_cd = ?) "PharmGKBIDs", ( select string_agg(l.acc_txt, ? order by l.acc_txt) from db_link l inner join db d on l.db_id = d.id where l.object_id = t.id and d.cd = ? and l.type_cd = ?) "UniProtIDs" from term t where t.object_type_id = ( select ot.id from object_type ot where ot.cd = ?) order by t.nm_sort;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 29 13 2 49s725ms 24s862ms [ User: qaeu - Total duration: 37s345ms - Times executed: 1 ]
-
SELECT /* AllGenesDAO */ t.nm "GeneSymbol", t.secondary_nm "GeneName", t.acc_txt "GeneID", ( SELECT STRING_AGG(DISTINCT l.acc_txt, '|' ORDER BY l.acc_txt) FROM db_link l WHERE l.object_type_id = t.object_type_id AND l.object_id = t.id AND l.type_cd = 'A' AND l.is_primary = false) "AltGeneIDs", ( SELECT STRING_AGG(DISTINCT tl.nm, '|' ORDER BY tl.nm) FROM term_label tl INNER JOIN term_label_type tlt ON tl.term_label_type_id = tlt.id WHERE tl.term_id = t.id AND tlt.nm = 'SYNONYM') "Synonyms", ( SELECT STRING_AGG(l.acc_txt, '|' ORDER BY l.acc_txt) FROM db_link l INNER JOIN db d on l.db_id = d.id WHERE l.object_id = t.id AND d.cd = 'BIOGRID' AND l.type_cd = 'X') "BioGRIDIDs", ( SELECT STRING_AGG(l.acc_txt, '|' ORDER BY l.acc_txt) FROM db_link l INNER JOIN db d on l.db_id = d.id WHERE l.object_id = t.id AND d.cd = 'PGKB' AND l.type_cd = 'X') "PharmGKBIDs", ( SELECT STRING_AGG(l.acc_txt, '|' ORDER BY l.acc_txt) FROM db_link l INNER JOIN db d on l.db_id = d.id WHERE l.object_id = t.id AND d.cd = 'SPTREM' AND l.type_cd = 'X') "UniProtIDs" FROM term t WHERE t.object_type_id = ( SELECT ot.id FROM object_type ot WHERE ot.cd = 'gene') ORDER BY t.nm_sort;
Date: 2026-09-29 13:07:53 Duration: 37s345ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGenesDAO */ t.nm "GeneSymbol", t.secondary_nm "GeneName", t.acc_txt "GeneID", ( SELECT STRING_AGG(DISTINCT l.acc_txt, '|' ORDER BY l.acc_txt) FROM db_link l WHERE l.object_type_id = t.object_type_id AND l.object_id = t.id AND l.type_cd = 'A' AND l.is_primary = false) "AltGeneIDs", ( SELECT STRING_AGG(DISTINCT tl.nm, '|' ORDER BY tl.nm) FROM term_label tl INNER JOIN term_label_type tlt ON tl.term_label_type_id = tlt.id WHERE tl.term_id = t.id AND tlt.nm = 'SYNONYM') "Synonyms", ( SELECT STRING_AGG(l.acc_txt, '|' ORDER BY l.acc_txt) FROM db_link l INNER JOIN db d on l.db_id = d.id WHERE l.object_id = t.id AND d.cd = 'BIOGRID' AND l.type_cd = 'X') "BioGRIDIDs", ( SELECT STRING_AGG(l.acc_txt, '|' ORDER BY l.acc_txt) FROM db_link l INNER JOIN db d on l.db_id = d.id WHERE l.object_id = t.id AND d.cd = 'PGKB' AND l.type_cd = 'X') "PharmGKBIDs", ( SELECT STRING_AGG(l.acc_txt, '|' ORDER BY l.acc_txt) FROM db_link l INNER JOIN db d on l.db_id = d.id WHERE l.object_id = t.id AND d.cd = 'SPTREM' AND l.type_cd = 'X') "UniProtIDs" FROM term t WHERE t.object_type_id = ( SELECT ot.id FROM object_type ot WHERE ot.cd = 'gene') ORDER BY t.nm_sort;
Date: 2026-09-29 13:08:20 Duration: 12s379ms Bind query: yes
20 2 25s37ms 5s806ms 19s230ms 12s518ms select ?, count(*) from term_enrichment_agent;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 29 12 2 25s37ms 12s518ms [ User: pub1 - Total duration: 5s806ms - Times executed: 1 ]
[ Application: psql - Total duration: 5s806ms - Times executed: 1 ]
-
select 'TERM_ENRICHMENT_AGENT', count(*) from TERM_ENRICHMENT_AGENT;
Date: 2026-09-29 12:40:23 Duration: 19s230ms
-
select 'TERM_ENRICHMENT_AGENT', count(*) from TERM_ENRICHMENT_AGENT;
Date: 2026-09-29 12:39:08 Duration: 5s806ms Database: ctdprd51 User: pub1 Application: psql
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2h43m52s 2h43m52s 2h43m52s 1 2h43m52s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 29 06 1 2h43m52s 2h43m52s -
SELECT maint_term_derive_nm_fts ();
Date: 2026-09-29 06:19:20 Duration: 2h43m52s Bind query: yes
2 2h24m59s 2h24m59s 2h24m59s 1 2h24m59s select pub1.maint_term_derive_data ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 29 09 1 2h24m59s 2h24m59s -
select pub1.maint_term_derive_data ();
Date: 2026-09-29 09:43:43 Duration: 2h24m59s Bind query: yes
3 1h57m55s 1h57m55s 1h57m55s 1 1h57m55s select pub1.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 29 03 1 1h57m55s 1h57m55s -
select pub1.maint_gene_chem_ref_gene_form_refresh ();
Date: 2026-09-29 03:32:24 Duration: 1h57m55s Bind query: yes
4 51m57s 51m57s 51m57s 1 51m57s vacuum full analyze;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 29 07 1 51m57s 51m57s -
VACUUM FULL ANALYZE;
Date: 2026-09-29 07:18:20 Duration: 51m57s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2026-09-29 06:26:25 Duration: 0ms
5 35m55s 35m55s 35m55s 1 35m55s select pub1.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 29 10 1 35m55s 35m55s -
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2026-09-29 10:29:55 Duration: 35m55s Bind query: yes
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2026-09-29 10:25:11 Duration: 0ms
6 27m53s 27m53s 27m53s 1 27m53s update pub1.gene_disease gd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.gene_disease_reference gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub1.reference r where has_exposures = true));Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 29 01 1 27m53s 27m53s -
update pub1.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub1.REFERENCE r where has_exposures = true));
Date: 2026-09-29 01:28:32 Duration: 27m53s Bind query: yes
7 12m53s 12m53s 12m53s 1 12m53s alter table pub1.term_enrichment_agent add constraint term_enr_agent_term_enr_fk foreign key (term_id, enriched_term_id) references term_enrichment (term_id, enriched_term_id);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 29 00 1 12m53s 12m53s -
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enr_agent_term_enr_fk FOREIGN KEY (term_id, enriched_term_id) REFERENCES term_enrichment (term_id, enriched_term_id);
Date: 2026-09-29 00:32:37 Duration: 12m53s Bind query: yes
8 9m26s 9m26s 9m26s 1 9m26s select maint_query_logs_archive ();Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 29 00 1 9m26s 9m26s [ User: pubc - Total duration: 9m26s - Times executed: 1 ]
[ Application: psql - Total duration: 9m26s - 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-29 00:09:27 Duration: 9m26s Database: ctdprd51 User: pubc Application: psql
9 9m11s 9m11s 9m11s 1 9m11s select pub1.maint_phenotype_term_derive_data ();Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 29 09 1 9m11s 9m11s -
select pub1.maint_phenotype_term_derive_data ();
Date: 2026-09-29 09:53:59 Duration: 9m11s Bind query: yes
10 3m16s 3m16s 3m16s 1 3m16s select maint_term_label_derive_nm_fts ();Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 29 06 1 3m16s 3m16s -
SELECT maint_term_label_derive_nm_fts ();
Date: 2026-09-29 06:22:47 Duration: 3m16s Bind query: yes
11 2m55s 2m55s 2m55s 1 2m55s insert into pub1.term_reference (term_id, object_type_id, reference_id, ixn_type_id) select distinct term_id, object_type_id, reference_id, ixn_type_id from ( select gene_id as term_id, ( select object_type_id from pub1.term where id = gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_chem_reference union select chem_id as term_id, ( select object_type_id from pub1.term where id = chem_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_chem_reference union select taxon_id as term_id, ( select object_type_id from pub1.term where id = taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_chem_reference where taxon_id is not null union select chem_id as term_id, ( select object_type_id from pub1.term where id = chem_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.chem_disease_reference where source_cd = ? union select disease_id as term_id, ( select object_type_id from pub1.term where id = disease_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.chem_disease_reference where source_cd = ? union select gene_id as term_id, ( select object_type_id from pub1.term where id = gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_disease_reference where source_cd = ? union select disease_id as term_id, ( select object_type_id from pub1.term where id = disease_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_disease_reference where source_cd = ? union select ee.exp_marker_term_id as term_id, ( select object_type_id from term where id = exp_marker_term_id), e.reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.exposure e, pub1.exp_event ee where e.exp_event_id = ee.id and exp_marker_term_id is not null union select er.term_id, ( select object_type_id from term where id = er.term_id), e.reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.exposure e, pub1.exp_receptor er where e.exp_receptor_id = er.id and er.term_id is not null union select chem_id as term_id, ( select object_type_id from term where id = chem_id), e.reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.exposure e, pub1.exp_stressor es where e.exp_stressor_id = es.id and chem_id is not null union select phenotype_id as term_id, ( select object_type_id from term where id = phenotype_id), e.reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.exposure e, pub1.exp_outcome eo where e.exp_outcome_id = eo.id and phenotype_id is not null union select disease_id as term_id, ( select object_type_id from term where id = disease_id), e.reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.exposure e, pub1.exp_outcome eo where e.exp_outcome_id = eo.id and disease_id is not null union select phenotype_id as term_id, ( select object_type_id from pub1.term where id = phenotype_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.phenotype_term_reference where source_cd = ? union select term_id, ( select object_type_id from pub1.term where id = term_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.phenotype_term_reference where source_cd = ? union select taxon_id as term_id, ( select object_type_id from pub1.term where id = taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.phenotype_term_reference where source_cd = ? and taxon_id is not null union select from_gene_id as term_id, ( select object_type_id from pub1.term where id = from_gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_gene_reference union select to_gene_id as term_id, ( select object_type_id from pub1.term where id = to_gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_gene_reference union select from_taxon_id as term_id, ( select object_type_id from pub1.term where id = from_taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_gene_reference union select to_taxon_id as term_id, ( select object_type_id from pub1.term where id = to_taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub1.gene_gene_reference union select distinct t.id as taxon_id, t.object_type_id as taxon_object_id, r.id as reference_id, i.ixn_type_id as ixn_type_id from edit.reference_ixn ri, pub1.term t, edit.ixn i, pub1.reference r where ri.taxon_acc_txt = t.acc_txt and t.object_type_id = ( select id from pub1.object_type where cd = ?) and ri.ixn_id = i.root_id and i.ixn_type_id in ( select id from edit.ixn_type where nm in (...)) and ri.reference_acc_txt = r.acc_txt and ri.taxon_acc_txt is not null and ri.taxon_acc_txt <> ?) as test union select ea.anatomy_id as term_id, ( select id from object_type where cd = ?) as object_type_id, r.id as reference_id, ( select id from ixn_type where nm = ?) as ixn_type_id from pub1.exp_anatomy ea, pub1.exp_outcome eo, pub1.exposure e, pub1.reference r where ea.exp_outcome_id = eo.id and eo.id = e.exp_outcome_id and e.reference_acc_txt = r.acc_txt union select anatomy_id as term_id, ( select id from object_type where cd = ?) as object_type_id, r.id as reference_id, ( select id from ixn_type where nm = ?) as ixn_type_id from pub1.ixn i, pub1.ixn_anatomy ia, edit.reference_ixn ri, pub1.reference r where i.id = ri.ixn_id and ri.reference_acc_txt = r.acc_txt and i.id = ia.ixn_id union select medium_term_id as term_id, ( select id from object_type where cd = ?) as object_type_id, r.id, ( select id from ixn_type where nm = ?) as ixn_type_id from pub1.exp_event ee, pub1.exposure e, pub1.reference r where ee.id = e.exp_event_id and e.reference_acc_txt = r.acc_txt and medium_term_id is not null;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 29 03 1 2m55s 2m55s -
INSERT INTO pub1.TERM_REFERENCE (term_id, object_type_id, reference_id, ixn_type_id) SELECT DISTINCT term_id, object_type_id, reference_id, ixn_type_id FROM ( SELECT gene_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub1.GENE_CHEM_REFERENCE UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = chem_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub1.GENE_CHEM_REFERENCE UNION SELECT taxon_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub1.GENE_CHEM_REFERENCE WHERE taxon_id IS NOT NULL UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = chem_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-DISEASE') as ixn_type_id FROM pub1.CHEM_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = disease_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-DISEASE') as ixn_type_id FROM pub1.CHEM_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT gene_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-DISEASE') as ixn_type_id FROM pub1.GENE_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = disease_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-DISEASE') as ixn_type_id FROM pub1.GENE_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT ee.exp_marker_term_id as term_id, ( SELECT object_type_id FROM term WHERE id = exp_marker_term_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_EVENT ee WHERE e.exp_event_id = ee.id AND exp_marker_term_id IS NOT NULL UNION SELECT er.term_id, ( SELECT object_type_id FROM term WHERE id = er.term_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_RECEPTOR er WHERE e.exp_receptor_id = er.id AND er.term_id IS NOT NULL UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM term WHERE id = chem_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_STRESSOR es WHERE e.exp_stressor_id = es.id AND chem_id IS NOT NULL UNION SELECT phenotype_id as term_id, ( SELECT object_type_id FROM term WHERE id = phenotype_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_OUTCOME eo WHERE e.exp_outcome_id = eo.id AND phenotype_id IS NOT NULL UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM term WHERE id = disease_id), e.reference_id, ( SELECT id FROM edit.ixn_type WHERE nm = 'EXPOSURE') as ixn_type_id FROM pub1.EXPOSURE e, pub1.EXP_OUTCOME eo WHERE e.exp_outcome_id = eo.id AND disease_id IS NOT NULL UNION SELECT phenotype_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = phenotype_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub1.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' UNION SELECT term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = term_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub1.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' UNION SELECT taxon_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub1.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' AND taxon_id IS NOT NULL UNION SELECT from_gene_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = from_gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub1.GENE_GENE_REFERENCE UNION SELECT to_gene_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = to_gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub1.GENE_GENE_REFERENCE UNION SELECT from_taxon_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = from_taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub1.GENE_GENE_REFERENCE UNION SELECT to_taxon_id as term_id, ( SELECT object_type_id FROM pub1.TERM WHERE id = to_taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub1.GENE_GENE_REFERENCE UNION SELECT DISTINCT t.id as taxon_id, t.object_type_id as taxon_object_id, r.id as reference_id, i.ixn_type_id as ixn_type_id FROM edit.REFERENCE_IXN ri, pub1.TERM t, edit.IXN i, pub1.REFERENCE r WHERE ri.taxon_acc_txt = t.acc_txt AND t.object_type_id = ( SELECT id FROM pub1.OBJECT_TYPE WHERE cd = 'taxon') AND ri.ixn_id = i.root_id AND i.ixn_type_id in ( SELECT id FROM edit.IXN_TYPE WHERE nm in ('CHEMICAL-DISEASE', 'GENE-DISEASE')) AND ri.reference_acc_txt = r.acc_txt AND ri.taxon_acc_txt IS NOT NULL AND ri.taxon_acc_txt <> '') as test UNION select ea.anatomy_id as term_id, ( select id from object_type where cd = 'anatomy') as object_type_id, r.id as reference_id, ( select id from ixn_type where nm = 'EXPOSURE') as ixn_type_id from pub1.EXP_ANATOMY ea, pub1.EXP_OUTCOME eo, pub1.EXPOSURE e, pub1.REFERENCE r where ea.exp_outcome_id = eo.id and eo.id = e.exp_outcome_id and e.reference_acc_txt = r.acc_txt UNION select anatomy_id as term_id, ( select id from object_type where cd = 'anatomy') as object_type_id, r.id as reference_id, ( select id from ixn_type where nm = 'PHENOTYPE') as ixn_type_id from pub1.IXN i, pub1.IXN_ANATOMY ia, edit.REFERENCE_IXN ri, pub1.REFERENCE r where i.id = ri.ixn_id and ri.reference_acc_txt = r.acc_txt and i.id = ia.ixn_id UNION select medium_term_id as term_id, ( select id from object_type where cd = 'anatomy') as object_type_id, r.id, ( select id from ixn_type where nm = 'EXPOSURE') as ixn_type_id from pub1.EXP_EVENT ee, pub1.EXPOSURE e, pub1.REFERENCE r where ee.id = e.exp_event_id and e.reference_acc_txt = r.acc_txt and medium_term_id is not null;
Date: 2026-09-29 03:35:20 Duration: 2m55s Bind query: yes
12 2m50s 2m50s 2m50s 1 2m50s alter table pub1.term_enrichment_agent add constraint term_enrichment_agent_pk primary key (term_id, enriched_term_id, agent_term_id);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 29 00 1 2m50s 2m50s -
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2026-09-29 00:37:12 Duration: 2m50s Bind query: yes
-
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2026-09-29 00:37:11 Duration: 0ms
13 5s66ms 38m33s 2m50s 14 39m45s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 29 14 14 39m45s 2m50s [ User: qaeu - Total duration: 38m33s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-09-29 14:03:24 Duration: 38m33s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-09-29 14:10:48 Duration: 6s137ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-09-29 14:11:00 Duration: 5s941ms Bind query: yes
14 2m31s 2m31s 2m31s 1 2m31s update pub1.phenotype_term pt set exposure_reference_qty = ( select count(distinct reference_id) from pub1.phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and reference_id in ( select id from pub1.reference r where has_exposures = true));Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 29 01 1 2m31s 2m31s -
update pub1.PHENOTYPE_TERM pt set exposure_reference_qty = ( select count(distinct reference_id) from pub1.PHENOTYPE_TERM_REFERENCE ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and reference_id in ( select id from pub1.REFERENCE r where has_exposures = true));
Date: 2026-09-29 01:31:04 Duration: 2m31s Bind query: yes
15 2m14s 2m14s 2m14s 1 2m14s update pub1.term set has_exposures = false;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 29 00 1 2m14s 2m14s -
update pub1.TERM set has_exposures = false;
Date: 2026-09-29 00:57:25 Duration: 2m14s Bind query: yes
16 2m12s 2m12s 2m12s 1 2m12s select chemterm.nm chemicalname, chemterm.acc_txt chemicalid, chemterm.secondary_nm casrn, phenoterm.nm phenotypename, phenoterm.acc_txt phenotypeid, ( select string_agg(distinct comentionterm.nm || ? || comentionterm.acc_txt || ? || comentionterm.acc_db_cd, ?)) as comentionedterms, taxonterm.nm organism, taxonterm.acc_txt organismid, i.ixn_prose_txt interaction, i.actions_txt interactionactions, ( select string_agg(distinct ia.level_seq + ? || ? || anatomyterm.nm || ? || anatomyterm.acc_txt, ? order by ia.level_seq + ? || ? || anatomyterm.nm || ? || anatomyterm.acc_txt)) as anatomyterms, string_agg(distinct inferredterm.nm || ? || inferredterm.acc_txt || ? || inferredterm.acc_db_cd, ? order by inferredterm.nm || ? || inferredterm.acc_txt || ? || inferredterm.acc_db_cd) inferencegenesymbols, string_agg(distinct r.acc_txt, ? order by r.acc_txt) pubmedids, ptr.ixn_id ignorecolumnixnid from phenotype_term_reference ptr left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join ixn i on ptr.ixn_id = i.id inner join term phenoterm on ptr.phenotype_id = phenoterm.id inner join reference r on ptr.reference_id = r.id inner join term chemterm on ptr.term_id = chemterm.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id left outer join phenotype_term_reference ptr2 on ptr.ixn_id = ptr2.ixn_id and (ptr.term_id <> ptr2.term_id or ptr.phenotype_id <> ptr2.phenotype_id) left outer join phenotype_term_reference ptr3 on ptr.term_id = ptr3.term_id and (ptr.phenotype_id = ptr3.phenotype_id and ptr3.source_cd = ?) left outer join term comentionterm on comentionterm.id = ptr2.term_id left outer join term inferredterm on inferredterm.id = ptr3.via_term_id where ptr.source_cd = ? and ptr.term_object_type_id = ( select ot.id from object_type ot where ot.cd = ?) group by chemterm.nm, chemterm.acc_txt, chemterm.secondary_nm, phenoterm.nm, phenoterm.acc_txt, taxonterm.nm, taxonterm.acc_txt, i.ixn_prose_txt, i.actions_txt, ptr.ixn_id order by chemterm.nm, phenoterm.nm;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 29 15 1 2m12s 2m12s [ User: qaeu - Total duration: 2m12s - Times executed: 1 ]
-
SELECT /* AllCuratedChemPhenoIxnsDAO */ chemTerm.nm ChemicalName, chemTerm.acc_txt ChemicalID, chemTerm.secondary_nm CasRN, phenoTerm.nm PhenotypeName, phenoTerm.acc_txt PhenotypeID, ( SELECT STRING_AGG(distinct coMentionTerm.nm || '^' || coMentionTerm.acc_txt || '^' || coMentionTerm.acc_db_cd, '|')) as coMentionedTerms, taxonTerm.nm Organism, taxonTerm.acc_txt OrganismID, i.ixn_prose_txt Interaction, i.actions_txt InteractionActions, ( SELECT STRING_AGG(distinct ia.level_seq + 1 || '^' || anatomyTerm.nm || '^' || anatomyTerm.acc_txt, '|' ORDER BY ia.level_seq + 1 || '^' || anatomyTerm.nm || '^' || anatomyTerm.acc_txt)) as anatomyTerms, STRING_AGG(distinct inferredTerm.nm || '^' || inferredTerm.acc_txt || '^' || inferredTerm.acc_db_cd, '|' ORDER BY inferredTerm.nm || '^' || inferredTerm.acc_txt || '^' || inferredTerm.acc_db_cd) InferenceGeneSymbols, STRING_AGG(distinct r.acc_txt, '|' ORDER BY r.acc_txt) PubMedIDs, ptr.ixn_id ignorecolumnIxnId FROM phenotype_term_reference ptr LEFT OUTER JOIN term taxonTerm ON ptr.taxon_id = taxonTerm.id INNER JOIN ixn i ON ptr.ixn_id = i.id INNER JOIN term phenoTerm ON ptr.phenotype_id = phenoTerm.id INNER JOIN reference r ON ptr.reference_id = r.id INNER JOIN term chemTerm ON ptr.term_id = chemTerm.id LEFT OUTER JOIN ixn_anatomy ia ON ptr.ixn_id = ia.ixn_id LEFT OUTER JOIN term anatomyTerm ON ia.anatomy_id = anatomyTerm.id LEFT OUTER JOIN phenotype_term_reference ptr2 ON ptr.ixn_id = ptr2.ixn_id and (ptr.term_id <> ptr2.term_id or ptr.phenotype_id <> ptr2.phenotype_id) LEFT OUTER JOIN phenotype_term_reference ptr3 ON ptr.term_id = ptr3.term_id and (ptr.phenotype_id = ptr3.phenotype_id and ptr3.source_cd = 'I') LEFT OUTER JOIN term coMentionTerm ON coMentionTerm.id = ptr2.term_id LEFT OUTER JOIN term inferredTerm ON inferredTerm.id = ptr3.via_term_id WHERE ptr.source_cd = 'C' AND ptr.term_object_type_id = ( SELECT ot.id FROM object_type ot WHERE ot.cd = 'chem') GROUP BY chemTerm.nm, chemTerm.acc_txt, chemTerm.secondary_nm, phenoTerm.nm, phenoTerm.acc_txt, taxonTerm.nm, taxonTerm.acc_txt, i.ixn_prose_txt, i.actions_txt, ptr.ixn_id ORDER BY chemTerm.nm, phenoTerm.nm;
Date: 2026-09-29 15:17:52 Duration: 2m12s Database: ctdprd51 User: qaeu Bind query: yes
17 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 #17
Day Hour Count Duration Avg duration Sep 29 06 1 1m53s 1m53s 10 1 1m53s 1m53s 14 1 1m54s 1m54s 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-29 14: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-29 10:06:55 Duration: 1m53s 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-29 06:06:56 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
18 1m15s 1m20s 1m18s 2 2m36s vacuum full analyze term;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 29 16 2 2m36s 1m18s -
vacuum FULL analyze TERM;
Date: 2026-09-29 16:14:34 Duration: 1m20s
-
vacuum FULL analyze TERM;
Date: 2026-09-29 16:16:42 Duration: 1m15s
-
vacuum FULL analyze TERM;
Date: 2026-09-29 16:13:24 Duration: 0ms Database: ctdprd51 User: pub1 Application: pgAdmin 4 - CONN:5282008
19 8s308ms 3m2s 56s795ms 4 3m47s select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 29 00 4 3m47s 56s795ms [ User: load - Total duration: 3m47s - Times executed: 4 ]
[ Application: pg_bulkload - Total duration: 3m47s - Times executed: 4 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.DUPE}');
Date: 2026-09-29 00:16:51 Duration: 3m2s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.GENE_DISEASE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.log,parse-badfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.DUPE}');
Date: 2026-09-29 00:53:25 Duration: 20s392ms Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.DUPE}');
Date: 2026-09-29 00:19:28 Duration: 15s644ms Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
20 5s402ms 2m42s 33s997ms 6 3m23s select phenotypeterm.nm "GOName", phenotypeterm.acc_txt "GOID", diseaseterm.nm "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( select string_agg(distinct chemtermnetwork.nm, ?)) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( select string_agg(distinct genetermnetwork.nm, ?)) "InferenceGeneSymbols" from phenotype_term_reference ptr inner join phenotype_term pt on ptr.phenotype_id = pt.phenotype_id and ptr.term_id = pt.term_id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id inner join term diseaseterm on ptr.term_id = diseaseterm.id and diseaseterm.object_type_id = ( select id from object_type where cd = ?) left outer join term genetermnetwork on ptr.via_term_id = genetermnetwork.id and genetermnetwork.object_type_id = ( select id from object_type where cd = ?) left outer join term chemtermnetwork on ptr.via_term_id = chemtermnetwork.id and chemtermnetwork.object_type_id = ( select id from object_type where cd = ?) where phenotypeterm.id in ( select dp.descendant_dag_node_id from dag_path dp where dp.ancestor_object_id = ( select id from term where nm = ?)) and ptr.source_cd = ? and ptr.phenotype_id = phenotypeterm.id and ptr.term_id = diseaseterm.id group by phenotypeterm.nm, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 29 15 6 3m23s 33s997ms [ User: qaeu - Total duration: 2m56s - Times executed: 2 ]
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2026-09-29 15:21:16 Duration: 2m42s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'molecular_function')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2026-09-29 15:23:23 Duration: 14s131ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2026-09-29 15:21:31 Duration: 8s635ms Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 12,634 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 0 FATAL entries
- 0 ERROR entries
- 1344 WARNING entries
- 31 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 1,070 Max number of times the same event was reported
- 1,375 Total events found
Rank Times reported Error 1 1,070 WARNING: skipping "..." --- only table or database owner can vacuum it
Times Reported Most Frequent Error / Event #1
Day Hour Count Sep 29 06 1,070 - WARNING: skipping "pg_toast_12467187" --- only table or database owner can vacuum it
- WARNING: skipping "pg_toast_12467187_index" --- only table or database owner can vacuum it
- WARNING: skipping "age_qualifer_pk" --- only table or database owner can vacuum it
Date: 2026-09-29 06:26:23
Date: 2026-09-29 06:26:23
Date: 2026-09-29 06:26:23
2 224 WARNING: skipping "..." --- only superuser or database owner can vacuum it
Times Reported Most Frequent Error / Event #2
Day Hour Count Sep 29 06 224 - WARNING: skipping "pg_statistic" --- only superuser or database owner can vacuum it
- WARNING: skipping "pg_type" --- only superuser or database owner can vacuum it
- WARNING: skipping "pg_foreign_table" --- only superuser or database owner can vacuum it
Date: 2026-09-29 06:26:23
Date: 2026-09-29 06:26:23
Date: 2026-09-29 06:26:23
3 43 WARNING: skipping "..." --- only superuser can vacuum it
Times Reported Most Frequent Error / Event #3
Day Hour Count Sep 29 06 43 - WARNING: skipping "pg_toast_1262" --- only superuser can vacuum it
- WARNING: skipping "pg_toast_1262_index" --- only superuser can vacuum it
- WARNING: skipping "pg_toast_2964" --- only superuser can vacuum it
Date: 2026-09-29 06:26:23
Date: 2026-09-29 06:26:23
Date: 2026-09-29 06:26:23
4 26 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #4
Day Hour Count Sep 29 13 17 15 9 - ERROR: unexpected EOF on client connection with an open transaction
- ERROR: unexpected EOF on client connection with an open transaction
- ERROR: unexpected EOF on client connection with an open transaction
Date: 2026-09-29 13:05:48
Date: 2026-09-29 13:06:48
Date: 2026-09-29 13:06:48 Database: ctdprd51 Application: User: qaeu Remote:
5 7 WARNING: there is no transaction in progress
Times Reported Most Frequent Error / Event #5
Day Hour Count Sep 29 06 2 09 4 12 1 - WARNING: there is no transaction in progress
- WARNING: there is no transaction in progress
- WARNING: there is no transaction in progress
Date: 2026-09-29 06:19:20
Date: 2026-09-29 06:22:47
Date: 2026-09-29 09:43:43
6 5 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #6
Day Hour Count Sep 29 18 5 - LOG: could not receive data from client: Connection timed out
- LOG: could not receive data from client: Connection timed out
- LOG: could not receive data from client: Connection timed out
Date: 2026-09-29 18:26:16 Database: ctdprd51 Application: pgAdmin 4 - DB:ctdprd51 User: pub1 Remote:
Date: 2026-09-29 18:26:16
Date: 2026-09-29 18:28:23