-
Global information
- Generated on Wed Nov 25 04:15:03 2026
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20261124
- Parsed 26,143 log entries in 2s
- Log start from 2026-11-24 00:00:01 to 2026-11-24 23:56:59
-
Overview
Global Stats
- 114 Number of unique normalized queries
- 421 Number of queries
- 12h16m20s Total query duration
- 2026-11-24 00:00:12 First query
- 2026-11-24 19:12:43 Last query
- 2 queries/s at 2026-11-24 15:22:30 Query peak
- 12h16m20s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 12h16m20s Execute total duration
- 1,378 Number of events
- 8 Number of unique normalized events
- 1,070 Max number of times the same event was reported
- 0 Number of cancellation
- 49 Total number of automatic vacuums
- 63 Total number of automatic analyzes
- 1,205 Number temporary file
- 48.23 GiB Max size of temporary file
- 217.28 MiB Average size of temporary file
- 2,124 Total number of sessions
- 155 sessions at 2026-11-24 00:16:44 Session peak
- 59d9h27m45s Total duration of sessions
- 40m16s Average duration of sessions
- 0 Average queries per session
- 20s800ms Average queries duration per session
- 39m55s Average idle time per session
- 2,121 Total number of connections
- 18 connections/s at 2026-11-24 11:13:38 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2026-11-24 15:22:30 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-11-24 15:22:30 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-11-24 14:50:35 Date
Queries duration
Key values
- 12h16m20s 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) Nov 24 00 30 0ms 26m42s 1m45s 1m58s 2m54s 26m42s 01 1 0ms 8s847ms 8s847ms 0ms 0ms 8s847ms 02 3 0ms 1h59m58s 41m2s 0ms 3m8s 1h59m58s 03 6 0ms 23s214ms 13s743ms 7s161ms 13s409ms 29s603ms 04 2 0ms 16s240ms 13s608ms 0ms 0ms 16s240ms 05 6 0ms 2h57m45s 29m45s 5s925ms 6s570ms 2h57m57s 06 22 0ms 53m32s 2m56s 50s875ms 2m3s 53m56s 07 2 0ms 11s222ms 8s119ms 0ms 0ms 11s222ms 08 0 0ms 0ms 0ms 0ms 0ms 0ms 09 5 0ms 2h32m20s 32m35s 0ms 53s1ms 2h32m45s 10 18 0ms 38m17s 2m25s 40s333ms 50s521ms 38m17s 11 8 0ms 8s636ms 7s487ms 0ms 7s893ms 23s130ms 12 10 0ms 20s243ms 10s484ms 16s929ms 28s433ms 32s205ms 13 9 0ms 2m29s 42s33ms 26s318ms 51s134ms 2m29s 14 233 0ms 44m24s 21s45ms 44s971ms 1m16s 44m42s 15 54 0ms 2m49s 14s898ms 41s649ms 51s977ms 2m58s 16 1 0ms 9s6ms 9s6ms 0ms 0ms 9s6ms 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 9 0ms 1m53s 25s72ms 21s556ms 50s44ms 1m53s 19 2 0ms 6s140ms 5s645ms 0ms 0ms 11s291ms 20 0 0ms 0ms 0ms 0ms 0ms 0ms 21 0 0ms 0ms 0ms 0ms 0ms 0ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 24 00 4 0 2m34s 0ms 0ms 9m29s 01 1 0 8s847ms 0ms 0ms 8s847ms 02 1 0 1h59m58s 0ms 0ms 1h59m58s 03 6 0 13s743ms 0ms 7s161ms 29s603ms 04 2 0 13s608ms 0ms 0ms 16s240ms 05 5 0 35m39s 0ms 5s925ms 2h57m45s 06 1 9 43s203ms 0ms 0ms 1m56s 07 2 0 8s119ms 0ms 0ms 11s222ms 08 0 0 0ms 0ms 0ms 0ms 09 5 0 32m35s 0ms 0ms 2h32m45s 10 9 9 2m25s 0ms 40s333ms 38m17s 11 8 0 7s487ms 0ms 0ms 23s130ms 12 10 0 10s484ms 0ms 16s929ms 32s205ms 13 8 0 28s658ms 0ms 9s954ms 1m32s 14 0 9 25s549ms 0ms 0ms 51s41ms 15 14 0 31s766ms 0ms 22s43ms 2m58s 16 1 0 9s6ms 0ms 0ms 9s6ms 17 0 0 0ms 0ms 0ms 0ms 18 0 9 25s72ms 0ms 21s556ms 1m53s 19 2 0 5s645ms 0ms 0ms 11s291ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 0 0 0ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 24 00 10 8 0 0 2m9s 0ms 21s939ms 2m31s 01 0 0 0 0 0ms 0ms 0ms 0ms 02 1 0 0 0 2m59s 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Nov 24 00 0 28 28.00 0.00% 01 0 1 1.00 0.00% 02 0 3 3.00 0.00% 03 0 6 6.00 0.00% 04 0 2 2.00 0.00% 05 0 6 6.00 0.00% 06 0 13 13.00 0.00% 07 0 2 2.00 0.00% 08 0 0 0.00 0.00% 09 0 5 5.00 0.00% 10 0 1 1.00 0.00% 11 0 8 8.00 0.00% 12 0 10 10.00 0.00% 13 0 9 9.00 0.00% 14 0 224 224.00 0.00% 15 0 53 53.00 0.00% 16 0 1 1.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 2 2.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Nov 24 00 92 0.03/s 01 91 0.03/s 02 79 0.02/s 03 118 0.03/s 04 109 0.03/s 05 106 0.03/s 06 76 0.02/s 07 76 0.02/s 08 78 0.02/s 09 85 0.02/s 10 96 0.03/s 11 95 0.03/s 12 100 0.03/s 13 101 0.03/s 14 78 0.02/s 15 92 0.03/s 16 77 0.02/s 17 72 0.02/s 18 81 0.02/s 19 76 0.02/s 20 101 0.03/s 21 78 0.02/s 22 77 0.02/s 23 87 0.02/s Day Hour Count Average Duration Average idle time Nov 24 00 92 4h23m2s 4h22m27s 01 91 26m19s 26m19s 02 79 30m33s 29m 03 118 20m32s 20m32s 04 109 22m25s 22m25s 05 106 22m32s 20m51s 06 76 30m24s 29m33s 07 76 32m 31m59s 08 78 31m52s 31m52s 09 85 28m25s 26m30s 10 94 32m29s 32m1s 11 95 24m19s 24m19s 12 99 23m49s 23m48s 13 101 24m7s 24m4s 14 78 30m47s 29m44s 15 93 28m31s 28m22s 16 77 31m27s 31m27s 17 72 31m23s 31m23s 18 82 54m13s 54m10s 19 80 1h12m53s 1h12m53s 20 101 23m43s 23m43s 21 78 29m31s 29m31s 22 77 30m58s 30m58s 23 87 27m4s 27m4s -
Connections
Established Connections
Key values
- 18 connections Connection Peak
- 2026-11-24 11:13:38 Date
Connections per database
Key values
- ctdprd51 Main Database
- 2,121 connections Total
Connections per user
Key values
- pubeu Main User
- 2,121 connections Total
-
Sessions
Simultaneous sessions
Key values
- 155 sessions Session Peak
- 2026-11-24 00:16:44 Date
Histogram of session times
Key values
- 1,739 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 2,124 sessions Total
Sessions per user
Key values
- pubeu Main User
- 2,124 sessions Total
Sessions per host
Key values
- 10.12.5.53 Main Host
- 2,124 sessions Total
Host Count Total Duration Average Duration 10.12.5.45 387 7d22h35m57s 29m33s 10.12.5.46 387 7d23h37s 29m36s 10.12.5.52 26 2h49m42s 6m31s 10.12.5.53 553 8d15m2s 20m51s 10.12.5.54 374 7d23h29m23s 30m43s 10.12.5.55 369 7d23h31m22s 31m8s 10.12.5.56 12 10h37m31s 53m7s 192.168.201.3 7 3d19h34m44s 13h4m57s ::1 9 15d3h33m23s 1d16h23m42s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 1,360,212 buffers Checkpoint Peak
- 2026-11-24 00:23:12 Date
- 1619.895 seconds Highest write time
- 0.845 seconds Sync time
Checkpoints Wal files
Key values
- 799 files Wal files usage Peak
- 2026-11-24 06:23:17 Date
Checkpoints distance
Key values
- 17,849.99 Mo Distance Peak
- 2026-11-24 06:50:08 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Nov 24 00 2,857,904 1,957.645s 0.313s 1,986.149s 01 1,823,078 3,247.311s 0.008s 3,257.95s 02 171 17.348s 0.002s 17.38s 03 304,267 1,619.687s 0.008s 1,621.003s 04 256,131 3,239.151s 0.015s 3,240.117s 05 237,294 3,238.873s 0.012s 3,240.108s 06 830,438 1,089.134s 3.694s 1,276.213s 07 482,638 3,185.001s 0.05s 3,198.162s 08 660,000 2,442.08s 0.176s 2,453.936s 09 978,170 3,412.988s 0.304s 3,424.898s 10 383,999 1,619.315s 0.002s 1,625.866s 11 582,194 1,676.887s 0.004s 1,677.826s 12 19,808 1,628.146s 0.003s 1,628.324s 13 732 73.55s 0.011s 73.605s 14 63 6.509s 0.002s 6.541s 15 1,152 115.524s 0.003s 115.625s 16 234 23.637s 0.002s 23.667s 17 55 5.691s 0.003s 5.721s 18 35 3.682s 0.002s 3.713s 19 254 25.628s 0.002s 25.658s 20 263 26.538s 0.002s 26.569s 21 4,502 450.915s 0.002s 450.993s 22 5,502 551.167s 0.003s 551.208s 23 193 19.5s 0.002s 19.531s Day Hour Added Removed Recycled Synced files Longest sync Average sync Nov 24 00 0 412 2,152 532 0.066s 0.005s 01 0 0 871 151 0.001s 0.003s 02 0 0 0 32 0.001s 0.002s 03 0 236 51 70 0.005s 0.001s 04 0 119 34 57 0.006s 0.002s 05 0 95 66 63 0.003s 0.002s 06 0 229 12,761 1,373 0.844s 0.142s 07 0 0 1,077 277 0.019s 0.002s 08 0 0 933 104 0.073s 0.004s 09 0 33 919 173 0.092s 0.007s 10 0 0 538 68 0.001s 0.001s 11 0 0 63 142 0.001s 0.002s 12 0 9 0 68 0.001s 0.002s 13 0 0 0 33 0.010s 0.002s 14 0 0 0 21 0.001s 0.002s 15 0 1 0 44 0.001s 0.002s 16 0 0 0 80 0.001s 0.002s 17 0 0 0 15 0.002s 0.002s 18 0 0 0 17 0.001s 0.002s 19 0 0 0 22 0.001s 0.002s 20 0 0 0 30 0.001s 0.002s 21 0 3 0 47 0.001s 0.002s 22 0 3 0 38 0.002s 0.002s 23 0 0 0 34 0.001s 0.002s Day Hour Count Avg time (sec) Nov 24 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Nov 24 00 8,812,671.75 kB 9,134,370.50 kB 01 4,935,131.67 kB 8,562,237.00 kB 02 158.00 kB 6,734,353.00 kB 03 4,180,558.00 kB 6,159,991.00 kB 04 1,249,493.50 kB 5,447,166.00 kB 05 1,319,778.50 kB 4,658,120.50 kB 06 8,513,030.16 kB 8,687,800.84 kB 07 8,820,769.00 kB 8,997,351.00 kB 08 7,642,839.50 kB 8,771,372.50 kB 09 5,200,082.33 kB 8,379,470.00 kB 10 8,814,097.00 kB 8,817,489.00 kB 11 781,915.50 kB 7,687,400.00 kB 12 74,819.50 kB 6,241,107.00 kB 13 292.00 kB 5,055,365.00 kB 14 116.00 kB 4,094,868.00 kB 15 3,512.50 kB 3,317,206.00 kB 16 522.50 kB 2,687,326.50 kB 17 86.00 kB 2,176,768.00 kB 18 68.50 kB 1,763,196.00 kB 19 77.50 kB 1,428,203.00 kB 20 126.50 kB 1,156,865.50 kB 21 22,625.50 kB 941,359.00 kB 22 28,979.50 kB 765,411.00 kB 23 283.50 kB 622,634.00 kB -
Temporary Files
Size of temporary files
Key values
- 15.00 GiB Temp Files size Peak
- 2026-11-24 15:40:06 Date
Number of temporary files
Key values
- 24 per second Temp Files Peak
- 2026-11-24 06:13:45 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Nov 24 00 113 14.92 GiB 135.24 MiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 1,027 177.31 GiB 176.79 MiB 07 0 0 0 08 0 0 0 09 0 0 0 10 10 9.46 GiB 968.21 MiB 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 55 54.00 GiB 1005.42 MiB 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 947 175.63 GiB 128.00 KiB 1.00 GiB 189.91 MiB vacuum full analyze;-
VACUUM FULL ANALYZE;
Date: 2026-11-24 06:58:31 Duration: 53m32s
-
VACUUM FULL ANALYZE;
Date: 2026-11-24 06:05:03 Duration: 0ms
2 60 780.41 MiB 7.80 MiB 29.24 MiB 13.01 MiB cluster pub1.term;-
CLUSTER pub1.TERM;
Date: 2026-11-24 06:04:06 Duration: 1m12s
-
CLUSTER pub1.TERM;
Date: 2026-11-24 06:03:04 Duration: 0ms
3 20 939.57 MiB 26.76 MiB 72.95 MiB 46.98 MiB cluster pub1.term_label;-
CLUSTER pub1.TERM_LABEL;
Date: 2026-11-24 06:04:57 Duration: 50s833ms
-
CLUSTER pub1.TERM_LABEL;
Date: 2026-11-24 06:04:16 Duration: 0ms
4 15 11.71 GiB 261.86 MiB 1.00 GiB 799.66 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-11-24 00:00:12 Duration: 1m42s
-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);
Date: 2026-11-24 00:00:12 Duration: 0ms
5 10 693.64 MiB 8.00 KiB 141.12 MiB 69.36 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-11-24 00:16:52 Duration: 7s598ms
-
ALTER TABLE pub1.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2026-11-24 00:16:52 Duration: 0ms Database: ctdprd51 User: pub1
6 10 68.82 MiB 8.00 KiB 14.03 MiB 6.88 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-11-24 00:17:23 Duration: 0ms
7 10 68.54 MiB 8.00 KiB 14.02 MiB 6.85 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-11-24 00:17:26 Duration: 0ms
8 10 9.46 GiB 466.05 MiB 1.00 GiB 968.21 MiB select pub1.maint_cached_value_refresh_data_metrics ();-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2026-11-24 10:20:01 Duration: 38m17s
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2026-11-24 10:14:54 Duration: 0ms
9 6 5.78 GiB 794.06 MiB 1.00 GiB 985.68 MiB 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;-
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;
Date: 2026-11-24 15:48:25 Duration: 0ms
10 5 68.49 MiB 13.41 MiB 13.93 MiB 13.70 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-11-24 00:17:28 Duration: 0ms
11 5 68.78 MiB 11.37 MiB 14.88 MiB 13.76 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-11-24 00:17:24 Duration: 0ms
12 5 693.48 MiB 135.75 MiB 140.98 MiB 138.70 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-11-24 00:17:21 Duration: 7s133ms
-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub1.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2026-11-24 00:17:21 Duration: 0ms
13 5 693.60 MiB 137.98 MiB 140.42 MiB 138.72 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-11-24 00:17:13 Duration: 14s485ms
-
CREATE INDEX ix_gene_disease_network_score ON pub1.gene_disease USING btree (network_score);
Date: 2026-11-24 00:17:13 Duration: 0ms
14 5 68.78 MiB 13.13 MiB 14.04 MiB 13.76 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-11-24 00:17:23 Duration: 0ms
15 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-11-24 00:17:22 Duration: 0ms
16 5 2.05 MiB 304.00 KiB 504.00 KiB 420.80 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-11-24 00:17:28 Duration: 0ms
17 5 68.50 MiB 12.82 MiB 14.07 MiB 13.70 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-11-24 00:17:27 Duration: 0ms
18 5 696.00 KiB 120.00 KiB 152.00 KiB 139.20 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-11-24 00:17:14 Duration: 0ms
19 5 693.59 MiB 135.95 MiB 142.83 MiB 138.72 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-11-24 00:16:59 Duration: 6s720ms
-
CREATE INDEX ix_gene_disease_disease ON pub1.gene_disease USING btree (disease_id);
Date: 2026-11-24 00:16:59 Duration: 0ms
20 5 67.60 MiB 13.30 MiB 13.77 MiB 13.52 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-11-24 00:17:29 Duration: 0ms
21 5 40.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-11-24 00:17:29 Duration: 0ms
22 4 15.77 MiB 8.00 KiB 8.01 MiB 3.94 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-11-24 00:17:25 Duration: 0ms
23 2 7.15 MiB 3.15 MiB 4.00 MiB 3.57 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-11-24 00:17:25 Duration: 0ms
24 2 7.15 MiB 3.17 MiB 3.98 MiB 3.57 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-11-24 00:17:25 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-11-24 00:00:12 ]
2 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-11-24 00:00:12 ]
3 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-11-24 00:00:12 ]
4 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-11-24 00:00:12 ]
5 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-11-24 00:00:12 ]
6 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-11-24 00:00:12 ]
7 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-11-24 00:00:12 ]
8 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-11-24 00:00:12 ]
9 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-11-24 00:00:12 ]
10 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-11-24 00:00:12 ]
11 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-11-24 06:20:25 ]
12 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-11-24 06:20:25 ]
13 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-11-24 06:20:25 ]
14 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-11-24 06:20:26 ]
15 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-11-24 06:20:26 ]
16 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-11-24 06:24:31 ]
17 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-11-24 06:24:31 ]
18 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-11-24 06:24:31 ]
19 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-11-24 06:24:31 ]
20 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2026-11-24 06:24:31 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 250.12 sec Highest CPU-cost vacuum
Table pub1.gene_disease
Database ctdprd51 - 2026-11-24 00:55:12 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 250.12 sec Highest CPU-cost vacuum
Table pub1.gene_disease
Database ctdprd51 - 2026-11-24 00:55:12 Date
Analyzes per table
Key values
- pubc.log_query (18) Main table analyzed (database ctdprd51)
- 63 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 18 ctdprd51.pub1.term_set_enrichment_agent 2 ctdprd51.pub1.phenotype_term 2 ctdprd51.pub1.term_comp_agent 2 ctdprd51.pub1.reference 2 ctdprd51.pub1.term 2 ctdprd51.pub1.term_set_enrichment 2 ctdprd51.pub1.gene_chem_ref_gene_form 1 ctdprd51.pub1.exp_receptor_gender 1 ctdprd51.pub1.exp_event_project 1 ctdprd51.pub1.exp_receptor_race 1 ctdprd51.pub1.medium 1 ctdprd51.pub1.exp_study_factor 1 ctdprd51.pub1.ixn 1 ctdprd51.pub1.gene_gene_reference 1 ctdprd51.pg_catalog.pg_type 1 ctdprd51.pub1.term_comp 1 ctdprd51.pg_catalog.pg_depend 1 ctdprd51.pub1.geographic_region 1 ctdprd51.pub1.exposure 1 ctdprd51.pub1.gene_gene_ref_throughput 1 ctdprd51.pub1.country 1 ctdprd51.pub1.exp_event_location 1 ctdprd51.pub1.dag_node 1 ctdprd51.pub1.exp_receptor_tobacco_use 1 ctdprd51.pg_catalog.pg_attribute 1 ctdprd51.pub1.gene_disease 1 ctdprd51.pub1.chem_disease 1 ctdprd51.pub1.exp_receptor 1 ctdprd51.pg_catalog.pg_class 1 ctdprd51.pub1.slim_term_mapping 1 ctdprd51.pub1.term_reference 1 ctdprd51.pub1.exp_stressor_stressor_src 1 ctdprd51.pub1.exp_event_assay_method 1 ctdprd51.pub1.exp_anatomy 1 ctdprd51.pub1.exp_outcome 1 ctdprd51.pub1.gene_gene 1 ctdprd51.pub1.exp_stressor 1 ctdprd51.pub1.exp_event 1 ctdprd51.pub1.reference_exp 1 Total 63 Vacuums per table
Key values
- pubc.log_query (7) Main table vacuumed on database ctdprd51
- 49 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples ctdprd51.pubc.log_query 7 2 1,893 0 165 0 0 379 55 346,605 0 0 ctdprd51.pg_catalog.pg_statistic 2 2 1,261 0 299 0 242 648 190 878,768 0 0 ctdprd51.pub1.reference 2 2 620,884 0 40,028 0 0 388,791 120,084 372,353,224 0 0 ctdprd51.pub1.term 2 2 2,248,277 0 735,511 0 0 1,422,692 571,318 1,202,888,427 0 0 ctdprd51.pub1.phenotype_term 2 2 1,032,286 0 1,419 0 0 826,483 86,820 177,523,043 0 0 ctdprd51.pg_toast.pg_toast_2619 2 2 8,224 0 4,171 0 19,828 7,020 2,047 1,104,764 0 0 ctdprd51.pub1.term_comp_agent 2 0 242 0 4 0 0 49 2 14,732 0 0 ctdprd51.pub1.gene_gene 1 0 13,713 0 5 0 0 6,805 2 413,358 0 0 ctdprd51.pub1.exp_outcome 1 0 1,104 0 4 0 0 478 2 39,265 0 0 ctdprd51.pub1.exp_anatomy 1 0 171 0 3 0 0 40 1 10,779 0 0 ctdprd51.pub1.exp_stressor 1 0 7,321 0 3 0 0 3,631 1 222,648 0 0 ctdprd51.pub1.reference_exp 1 0 352 0 4 0 0 139 2 18,428 0 0 ctdprd51.pub1.exp_event 1 0 14,392 0 3 0 0 7,118 1 428,381 0 0 ctdprd51.pub1.slim_term_mapping 1 0 641 0 4 0 0 265 2 25,862 0 0 ctdprd51.pg_catalog.pg_class 1 1 370 0 61 0 0 190 62 272,654 0 0 ctdprd51.pub1.exp_receptor 1 0 8,397 0 3 0 0 4,170 1 254,449 0 0 ctdprd51.pub1.term_set_enrichment 1 0 558 0 3 0 0 239 1 22,520 0 0 ctdprd51.pub1.exp_event_assay_method 1 0 5,733 0 3 0 0 2,838 1 175,861 0 0 ctdprd51.pub1.exp_stressor_stressor_src 1 0 3,107 0 4 0 0 1,525 1 98,394 0 0 ctdprd51.pub1.term_reference 1 0 41,829 0 5 0 0 20,859 2 1,240,908 0 0 ctdprd51.pub1.exposure 1 0 4,290 0 3 0 0 2,092 1 131,847 0 0 ctdprd51.pub1.gene_gene_ref_throughput 1 0 16,446 0 3 0 0 8,200 1 492,219 0 0 ctdprd51.pg_catalog.pg_attribute 1 1 636 0 141 0 37 283 117 573,124 0 0 ctdprd51.pub1.exp_event_location 1 0 3,967 0 4 0 0 1,932 2 125,323 0 0 ctdprd51.pub1.dag_node 1 1 341,253 0 610 0 0 291,886 602 99,211,707 0 0 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 1,344 0 3 0 0 637 1 46,002 0 0 ctdprd51.pg_toast.pg_toast_12991760 1 1 95 0 3 0 0 54 1 11,864 0 0 ctdprd51.pub1.chem_disease 1 1 301,371 0 55,348 0 0 187,304 52,319 190,091,772 0 0 ctdprd51.pub1.gene_disease 1 1 3,294,857 0 748,842 0 0 1,896,539 597,401 2,173,869,574 0 0 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 37,082 0 4 0 0 18,491 2 1,102,576 0 0 ctdprd51.pub1.term_set_enrichment_agent 1 0 10,446 0 3 0 0 5,206 1 315,573 0 0 ctdprd51.pub1.exp_receptor_race 1 0 1,458 0 3 0 0 694 1 49,365 0 0 ctdprd51.pub1.exp_event_project 1 0 2,504 0 3 0 0 1,230 1 80,989 0 0 ctdprd51.pub1.exp_receptor_gender 1 0 3,086 0 3 0 0 1,528 1 98,571 0 0 ctdprd51.pub1.gene_gene_reference 1 0 34,326 0 3 0 0 17,086 1 1,016,493 0 0 ctdprd51.pub1.ixn 1 1 1,683,890 0 22,362 0 0 1,118,133 22 76,762,232 0 0 ctdprd51.pub1.exp_study_factor 1 0 115 0 16 0 0 12 2 12,043 0 0 Total 49 19 9,747,921 185,248 1,609,056 0 20,107 6,245,666 1,431,071 4,302,324,344 0 0 Vacuum throughput per table
Key values
- pub1.gene_disease (250.12) 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.pubc.log_query 0 0 0.03 ctdprd51.pg_catalog.pg_statistic 0 0 0.09 ctdprd51.pub1.reference 0 0 20.04 ctdprd51.pub1.term 0 0 213.68 ctdprd51.pub1.phenotype_term 0 0 26.48 ctdprd51.pg_toast.pg_toast_2619 0 0 1.13 ctdprd51.pub1.term_comp_agent 0 0 0 ctdprd51.pub1.gene_gene 0 0 0.36 ctdprd51.pub1.exp_outcome 0 0 0.01 ctdprd51.pub1.exp_anatomy 0 0 0 ctdprd51.pub1.exp_stressor 0 0 0.09 ctdprd51.pub1.reference_exp 0 0 0 ctdprd51.pub1.exp_event 0 0 0.18 ctdprd51.pub1.slim_term_mapping 0 0 0 ctdprd51.pg_catalog.pg_class 0 0 0.02 ctdprd51.pub1.exp_receptor 0 0 0.1 ctdprd51.pub1.term_set_enrichment 0 0 0 ctdprd51.pub1.exp_event_assay_method 0 0 0.07 ctdprd51.pub1.exp_stressor_stressor_src 0 0 0.04 ctdprd51.pub1.term_reference 0 0 0.6 ctdprd51.pub1.exposure 0 0 0.05 ctdprd51.pub1.gene_gene_ref_throughput 0 0 0.42 ctdprd51.pg_catalog.pg_attribute 0 0 0.08 ctdprd51.pub1.exp_event_location 0 0 0.05 ctdprd51.pub1.dag_node 0 0 9.71 ctdprd51.pub1.exp_receptor_tobacco_use 0 0 0.01 ctdprd51.pg_toast.pg_toast_12991760 0 0 0 ctdprd51.pub1.chem_disease 0 0 18.22 ctdprd51.pub1.gene_disease 0 0 250.12 ctdprd51.pub1.gene_chem_ref_gene_form 0 0 0.56 ctdprd51.pub1.term_set_enrichment_agent 0 0 0.13 ctdprd51.pub1.exp_receptor_race 0 0 0.02 ctdprd51.pub1.exp_event_project 0 0 0.03 ctdprd51.pub1.exp_receptor_gender 0 0 0.04 ctdprd51.pub1.gene_gene_reference 0 0 0.78 ctdprd51.pub1.ixn 0 0 25.68 ctdprd51.pub1.exp_study_factor 0 0 0 Total 0 0 568.82 Tuples removed per table
Key values
- pub1.gene_disease (36292725) Main table with removed tuples on database ctdprd51
- 65666883 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pub1.gene_disease 1 1 36,292,725 36,292,725 0 0 604,879 ctdprd51.pub1.phenotype_term 2 2 21,596,230 7,196,184 0 0 269,089 ctdprd51.pub1.chem_disease 1 1 3,583,264 3,583,264 0 0 59,679 ctdprd51.pub1.term 2 2 2,230,535 4,447,458 0 0 564,000 ctdprd51.pub1.dag_node 1 1 1,839,732 1,831,740 0 0 87,969 ctdprd51.pub1.ixn 1 1 58,109 2,590,868 0 0 617,682 ctdprd51.pub1.reference 2 2 55,110 408,580 0 0 169,365 ctdprd51.pg_toast.pg_toast_2619 2 2 7,847 46,411 706 0 25,184 ctdprd51.pubc.log_query 7 2 1,854 10,427 8,955 0 406 ctdprd51.pg_catalog.pg_attribute 1 1 662 8,993 0 0 238 ctdprd51.pg_catalog.pg_statistic 2 2 491 6,616 270 0 820 ctdprd51.pg_catalog.pg_class 1 1 248 1,835 0 0 94 ctdprd51.pg_toast.pg_toast_12991760 1 1 76 73 0 0 23 ctdprd51.pub1.gene_gene 1 0 0 1,258,599 0 0 6,804 ctdprd51.pub1.exp_outcome 1 0 0 53,556 0 0 477 ctdprd51.pub1.exp_anatomy 1 0 0 4,566 0 0 39 ctdprd51.pub1.exp_stressor 1 0 0 245,380 0 0 3,630 ctdprd51.pub1.reference_exp 1 0 0 3,818 0 0 138 ctdprd51.pub1.exp_event 1 0 0 240,809 0 0 7,117 ctdprd51.pub1.slim_term_mapping 1 0 0 33,521 0 0 264 ctdprd51.pub1.exp_receptor 1 0 0 223,607 0 0 4,169 ctdprd51.pub1.term_set_enrichment 1 0 0 14,357 0 0 238 ctdprd51.pub1.exp_event_assay_method 1 0 0 281,165 0 0 2,837 ctdprd51.pub1.exp_stressor_stressor_src 1 0 0 344,422 0 0 1,524 ctdprd51.pub1.term_reference 1 0 0 3,858,591 0 0 20,858 ctdprd51.pub1.exposure 1 0 0 253,455 0 0 2,091 ctdprd51.pub1.gene_gene_ref_throughput 1 0 0 1,573,760 0 0 8,199 ctdprd51.pub1.exp_event_location 1 0 0 288,977 0 0 1,931 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 0 89,967 0 0 636 ctdprd51.pub1.term_comp_agent 2 0 0 8,537 0 0 83 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 0 3,413,579 0 0 18,490 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 457,997 0 0 5,205 ctdprd51.pub1.exp_receptor_race 1 0 0 106,898 0 0 693 ctdprd51.pub1.exp_event_project 1 0 0 118,584 0 0 1,229 ctdprd51.pub1.exp_receptor_gender 1 0 0 220,956 0 0 1,527 ctdprd51.pub1.gene_gene_reference 1 0 0 1,566,044 0 0 17,085 ctdprd51.pub1.exp_study_factor 1 0 0 1,837 0 0 11 Total 49 19 65,666,883 71,088,156 9,931 0 2,504,703 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 1 0 0 0 ctdprd51.pub1.exp_outcome 1 0 0 0 ctdprd51.pub1.exp_anatomy 1 0 0 0 ctdprd51.pub1.exp_stressor 1 0 0 0 ctdprd51.pub1.reference_exp 1 0 0 0 ctdprd51.pub1.exp_event 1 0 0 0 ctdprd51.pg_catalog.pg_statistic 2 2 491 0 ctdprd51.pub1.reference 2 2 55110 0 ctdprd51.pub1.slim_term_mapping 1 0 0 0 ctdprd51.pg_catalog.pg_class 1 1 248 0 ctdprd51.pub1.exp_receptor 1 0 0 0 ctdprd51.pub1.term 2 2 2230535 0 ctdprd51.pub1.term_set_enrichment 1 0 0 0 ctdprd51.pub1.exp_event_assay_method 1 0 0 0 ctdprd51.pub1.exp_stressor_stressor_src 1 0 0 0 ctdprd51.pub1.term_reference 1 0 0 0 ctdprd51.pub1.phenotype_term 2 2 21596230 0 ctdprd51.pub1.exposure 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 2 2 7847 0 ctdprd51.pub1.gene_gene_ref_throughput 1 0 0 0 ctdprd51.pg_catalog.pg_attribute 1 1 662 0 ctdprd51.pub1.exp_event_location 1 0 0 0 ctdprd51.pub1.dag_node 1 1 1839732 0 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 0 0 ctdprd51.pg_toast.pg_toast_12991760 1 1 76 0 ctdprd51.pub1.chem_disease 1 1 3583264 0 ctdprd51.pub1.gene_disease 1 1 36292725 0 ctdprd51.pub1.term_comp_agent 2 0 0 0 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 0 ctdprd51.pub1.exp_receptor_race 1 0 0 0 ctdprd51.pub1.exp_event_project 1 0 0 0 ctdprd51.pub1.exp_receptor_gender 1 0 0 0 ctdprd51.pubc.log_query 7 2 1854 0 ctdprd51.pub1.gene_gene_reference 1 0 0 0 ctdprd51.pub1.ixn 1 1 58109 0 ctdprd51.pub1.exp_study_factor 1 0 0 0 Total 49 19 65,666,883 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Nov 24 00 34 29 01 0 2 02 1 2 03 1 2 04 0 0 05 1 4 06 2 4 07 1 1 08 0 1 09 4 4 10 0 0 11 5 9 12 0 0 13 0 1 14 0 0 15 0 1 16 0 1 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 1 - 250.12 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
- 79 Total read queries
- 328 Total write queries
Queries by database
Key values
- unknown Main database
- 354 Requests
- 10h53m20s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 494 Requests
User Request type Count Duration edit Total 1 9s359ms insert 1 9s359ms load Total 24 1h5m14s select 24 1h5m14s postgres Total 16 18m1s copy to 16 18m1s pub1 Total 6 18m31s insert 3 18m10s select 3 20s924ms pub2 Total 1 27s197ms select 1 27s197ms pubc Total 1 9m29s select 1 9m29s pubeu Total 46 7m34s select 46 7m34s qaeu Total 29 58m20s cte 2 46m53s select 27 11m27s unknown Total 494 15h41m2s copy to 56 12m9s cte 263 39m29s ddl 35 42m44s insert 18 52m28s others 18 1h1m18s select 96 11h36m52s update 8 35m59s Duration by user
Key values
- 15h41m2s (unknown) Main time consuming user
User Request type Count Duration edit Total 1 9s359ms insert 1 9s359ms load Total 24 1h5m14s select 24 1h5m14s postgres Total 16 18m1s copy to 16 18m1s pub1 Total 6 18m31s insert 3 18m10s select 3 20s924ms pub2 Total 1 27s197ms select 1 27s197ms pubc Total 1 9m29s select 1 9m29s pubeu Total 46 7m34s select 46 7m34s qaeu Total 29 58m20s cte 2 46m53s select 27 11m27s unknown Total 494 15h41m2s copy to 56 12m9s cte 263 39m29s ddl 35 42m44s insert 18 52m28s others 18 1h1m18s select 96 11h36m52s update 8 35m59s Queries by host
Key values
- unknown Main host
- 618 Requests
- 18h38m52s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 407 Requests
- 11h56m36s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-11-24 07:10:09 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 327 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 2h57m45s SELECT maint_term_derive_nm_fts ();[ Date: 2026-11-24 05:57:35 - Bind query: yes ]
2 2h32m20s select pub1.maint_term_derive_data ();[ Date: 2026-11-24 09:31:16 - Bind query: yes ]
3 1h59m58s select pub1.maint_gene_chem_ref_gene_form_refresh ();[ Date: 2026-11-24 02:56:40 - Bind query: yes ]
4 53m32s VACUUM FULL ANALYZE;[ Date: 2026-11-24 06:58:31 - Bind query: yes ]
5 44m24s WITH BaseData AS ( SELECT /* AllGDRelationsDAO */ g.nm AS "GeneSymbol", g.acc_txt AS "GeneID", d.nm AS "DiseaseName", d.acc_db_cd || ':' || d.acc_txt AS "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 AS "DirectEvidence", STRING_AGG(DISTINCT t.nm || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || t.acc_txt) AS "OrganismTerms", c.nm AS "InferenceChemicalName", gdr.network_score AS "InferenceScore", gdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" 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 LEFT OUTER JOIN term t ON gdr.taxon_id = t.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, gdr.source_acc_txt, r.acc_txt ) SELECT /* AllGDRelationsDAO - grouped PubMedID and OmimIDs by OrganismTerms */ "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore", STRING_AGG(DISTINCT "OmimID", '|' ORDER BY "OmimID") AS "OmimIDs", STRING_AGG(DISTINCT "PubMedID", '|' ORDER BY "PubMedID") AS "PubMedIDs" FROM BaseData GROUP BY "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore" ORDER BY "GeneSymbol", "DiseaseName";[ Date: 2026-11-24 14:05:26 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
6 38m17s select pub1.maint_cached_value_refresh_data_metrics ();[ Date: 2026-11-24 10:20:01 - Bind query: yes ]
7 26m42s 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-11-24 00:50:43 - Bind query: yes ]
8 9m29s /* * 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-11-24 00:09:31 - Database: ctdprd51 - User: pubc - Application: psql ]
9 9m21s select pub1.maint_phenotype_term_derive_data ();[ Date: 2026-11-24 09:41:43 - Bind query: yes ]
10 3m22s SELECT maint_term_label_derive_nm_fts ();[ Date: 2026-11-24 06:01:09 - Bind query: yes ]
11 2m59s 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-11-24 02:59:40 - Bind query: yes ]
12 2m49s 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-11-24 15:46:37 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
13 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-11-24 00:53:15 - Bind query: yes ]
14 2m29s WITH BaseData AS ( SELECT /* AllCDRelationsDAO */ c.nm AS "ChemicalName", c.nm_sort, c.acc_txt AS "ChemicalID", c.secondary_nm AS "CasRN", d.nm AS "DiseaseName", d.acc_db_cd || ':' || d.acc_txt AS "DiseaseID", a.action_type_nm AS "DirectEvidence", STRING_AGG(DISTINCT t.nm || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || t.acc_txt) AS "OrganismTerms", g.nm AS "InferenceGeneSymbol", cdr.network_score AS "InferenceScore", cdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" FROM chem_disease_reference cdr INNER JOIN term d ON cdr.disease_id = d.id INNER JOIN term c ON cdr.chem_id = c.id LEFT OUTER JOIN chem_disease_reference_axn a ON cdr.id = a.chem_disease_reference_id LEFT OUTER JOIN reference r ON cdr.reference_id = r.id LEFT OUTER JOIN term g ON cdr.via_gene_id = g.id LEFT OUTER JOIN term t ON cdr.taxon_id = t.id GROUP BY c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.nm, d.acc_db_cd || ':' || d.acc_txt, a.action_type_nm, g.nm, cdr.network_score, cdr.source_acc_txt, r.acc_txt ) SELECT "ChemicalName", "ChemicalID", "CasRN", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceGeneSymbol", "InferenceScore", STRING_AGG(DISTINCT "OmimID", '|' ORDER BY "OmimID") AS "OmimIDs", STRING_AGG(DISTINCT "PubMedID", '|' ORDER BY "PubMedID") AS "PubMedIDs" FROM BaseData GROUP BY "ChemicalName", nm_sort, "ChemicalID", "CasRN", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceGeneSymbol", "InferenceScore" ORDER BY nm_sort, "DiseaseName";[ Date: 2026-11-24 13:13:19 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
15 2m16s update pub1.TERM set has_exposures = false;[ Date: 2026-11-24 00:20:48 - Bind query: yes ]
16 2m15s 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-11-24 15:43:04 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
17 1m56s COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;[ Date: 2026-11-24 06:06:58 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
18 1m56s COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;[ Date: 2026-11-24 14:06:57 - Database: ctdprd51 - User: postgres - Application: pg_dump ]
19 1m55s 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-11-24 10: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-11-24 18: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 2h57m45s 1 2h57m45s 2h57m45s 2h57m45s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 24 05 1 2h57m45s 2h57m45s -
SELECT maint_term_derive_nm_fts ();
Date: 2026-11-24 05:57:35 Duration: 2h57m45s Bind query: yes
2 2h32m20s 1 2h32m20s 2h32m20s 2h32m20s select pub1.maint_term_derive_data ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 24 09 1 2h32m20s 2h32m20s -
select pub1.maint_term_derive_data ();
Date: 2026-11-24 09:31:16 Duration: 2h32m20s Bind query: yes
3 1h59m58s 1 1h59m58s 1h59m58s 1h59m58s select pub1.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 24 02 1 1h59m58s 1h59m58s -
select pub1.maint_gene_chem_ref_gene_form_refresh ();
Date: 2026-11-24 02:56:40 Duration: 1h59m58s Bind query: yes
4 1h23m53s 264 7s952ms 44m24s 19s66ms with basedata as ( select g.nm AS "GeneSymbol", g.acc_txt AS "GeneID", d.nm AS "DiseaseName", d.acc_db_cd || ? || d.acc_txt AS "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 AS "DirectEvidence", string_agg(distinct t.nm || ? || t.acc_txt, ? order by t.nm || ? || t.acc_txt) AS "OrganismTerms", c.nm AS "InferenceChemicalName", gdr.network_score AS "InferenceScore", gdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" 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 left outer join term t on gdr.taxon_id = t.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, gdr.source_acc_txt, r.acc_txt ) select "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore", string_agg(distinct "OmimID", ? order by "OmimID") AS "OmimIDs", string_agg(distinct "PubMedID", ? order by "PubMedID") AS "PubMedIDs" from basedata group by "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore" order by "GeneSymbol", "DiseaseName";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 24 14 224 1h17m53s 20s864ms 15 40 5m59s 8s995ms [ User: qaeu - Total duration: 44m24s - Times executed: 1 ]
-
WITH BaseData AS ( SELECT /* AllGDRelationsDAO */ g.nm AS "GeneSymbol", g.acc_txt AS "GeneID", d.nm AS "DiseaseName", d.acc_db_cd || ':' || d.acc_txt AS "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 AS "DirectEvidence", STRING_AGG(DISTINCT t.nm || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || t.acc_txt) AS "OrganismTerms", c.nm AS "InferenceChemicalName", gdr.network_score AS "InferenceScore", gdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" 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 LEFT OUTER JOIN term t ON gdr.taxon_id = t.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, gdr.source_acc_txt, r.acc_txt ) SELECT /* AllGDRelationsDAO - grouped PubMedID and OmimIDs by OrganismTerms */ "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore", STRING_AGG(DISTINCT "OmimID", '|' ORDER BY "OmimID") AS "OmimIDs", STRING_AGG(DISTINCT "PubMedID", '|' ORDER BY "PubMedID") AS "PubMedIDs" FROM BaseData GROUP BY "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore" ORDER BY "GeneSymbol", "DiseaseName";
Date: 2026-11-24 14:05:26 Duration: 44m24s Database: ctdprd51 User: qaeu Bind query: yes
-
WITH BaseData AS ( SELECT /* AllGDRelationsDAO */ g.nm AS "GeneSymbol", g.acc_txt AS "GeneID", d.nm AS "DiseaseName", d.acc_db_cd || ':' || d.acc_txt AS "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 AS "DirectEvidence", STRING_AGG(DISTINCT t.nm || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || t.acc_txt) AS "OrganismTerms", c.nm AS "InferenceChemicalName", gdr.network_score AS "InferenceScore", gdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" 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 LEFT OUTER JOIN term t ON gdr.taxon_id = t.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, gdr.source_acc_txt, r.acc_txt ) SELECT /* AllGDRelationsDAO - grouped PubMedID and OmimIDs by OrganismTerms */ "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore", STRING_AGG(DISTINCT "OmimID", '|' ORDER BY "OmimID") AS "OmimIDs", STRING_AGG(DISTINCT "PubMedID", '|' ORDER BY "PubMedID") AS "PubMedIDs" FROM BaseData GROUP BY "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore" ORDER BY "GeneSymbol", "DiseaseName";
Date: 2026-11-24 14:28:00 Duration: 11s932ms Bind query: yes
-
WITH BaseData AS ( SELECT /* AllGDRelationsDAO */ g.nm AS "GeneSymbol", g.acc_txt AS "GeneID", d.nm AS "DiseaseName", d.acc_db_cd || ':' || d.acc_txt AS "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 AS "DirectEvidence", STRING_AGG(DISTINCT t.nm || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || t.acc_txt) AS "OrganismTerms", c.nm AS "InferenceChemicalName", gdr.network_score AS "InferenceScore", gdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" 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 LEFT OUTER JOIN term t ON gdr.taxon_id = t.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, gdr.source_acc_txt, r.acc_txt ) SELECT /* AllGDRelationsDAO - grouped PubMedID and OmimIDs by OrganismTerms */ "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore", STRING_AGG(DISTINCT "OmimID", '|' ORDER BY "OmimID") AS "OmimIDs", STRING_AGG(DISTINCT "PubMedID", '|' ORDER BY "PubMedID") AS "PubMedIDs" FROM BaseData GROUP BY "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore" ORDER BY "GeneSymbol", "DiseaseName";
Date: 2026-11-24 14:39:11 Duration: 11s231ms Bind query: yes
5 53m32s 1 53m32s 53m32s 53m32s vacuum full analyze;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 24 06 1 53m32s 53m32s -
VACUUM FULL ANALYZE;
Date: 2026-11-24 06:58:31 Duration: 53m32s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2026-11-24 06:05:03 Duration: 0ms
6 38m17s 1 38m17s 38m17s 38m17s select pub1.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 24 10 1 38m17s 38m17s -
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2026-11-24 10:20:01 Duration: 38m17s Bind query: yes
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2026-11-24 10:14:54 Duration: 0ms
7 26m42s 1 26m42s 26m42s 26m42s 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 Nov 24 00 1 26m42s 26m42s -
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-11-24 00:50:43 Duration: 26m42s Bind query: yes
8 9m29s 1 9m29s 9m29s 9m29s select maint_query_logs_archive ();Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 24 00 1 9m29s 9m29s [ User: pubc - Total duration: 9m29s - Times executed: 1 ]
[ Application: psql - Total duration: 9m29s - 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-11-24 00:09:31 Duration: 9m29s Database: ctdprd51 User: pubc Application: psql
9 9m21s 1 9m21s 9m21s 9m21s select pub1.maint_phenotype_term_derive_data ();Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 24 09 1 9m21s 9m21s -
select pub1.maint_phenotype_term_derive_data ();
Date: 2026-11-24 09:41:43 Duration: 9m21s Bind query: yes
10 7m41s 4 1m53s 1m56s 1m55s 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 #10
Day Hour Count Duration Avg duration Nov 24 06 1 1m56s 1m56s 10 1 1m55s 1m55s 14 1 1m56s 1m56s 18 1 1m53s 1m53s [ User: postgres - Total duration: 7m41s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m41s - 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-11-24 06:06:58 Duration: 1m56s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-11-24 14:06:57 Duration: 1m56s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-11-24 10:06:56 Duration: 1m55s Database: ctdprd51 User: postgres Application: pg_dump
11 3m37s 7 5s420ms 2m49s 31s42ms 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 #11
Day Hour Count Duration Avg duration Nov 24 15 7 3m37s 31s42ms [ User: qaeu - Total duration: 3m3s - 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-11-24 15:46:37 Duration: 2m49s 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-11-24 15:48:48 Duration: 14s454ms 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-11-24 15:46:52 Duration: 8s816ms Bind query: yes
12 3m22s 1 3m22s 3m22s 3m22s select maint_term_label_derive_nm_fts ();Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 24 06 1 3m22s 3m22s -
SELECT maint_term_label_derive_nm_fts ();
Date: 2026-11-24 06:01:09 Duration: 3m22s Bind query: yes
13 2m59s 1 2m59s 2m59s 2m59s 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 #13
Day Hour Count Duration Avg duration Nov 24 02 1 2m59s 2m59s -
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-11-24 02:59:40 Duration: 2m59s Bind query: yes
14 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 #14
Day Hour Count Duration Avg duration Nov 24 00 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-11-24 00:53:15 Duration: 2m31s Bind query: yes
15 2m29s 1 2m29s 2m29s 2m29s with basedata as ( select c.nm AS "ChemicalName", c.nm_sort, c.acc_txt AS "ChemicalID", c.secondary_nm AS "CasRN", d.nm AS "DiseaseName", d.acc_db_cd || ? || d.acc_txt AS "DiseaseID", a.action_type_nm AS "DirectEvidence", string_agg(distinct t.nm || ? || t.acc_txt, ? order by t.nm || ? || t.acc_txt) AS "OrganismTerms", g.nm AS "InferenceGeneSymbol", cdr.network_score AS "InferenceScore", cdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" from chem_disease_reference cdr inner join term d on cdr.disease_id = d.id inner join term c on cdr.chem_id = c.id left outer join chem_disease_reference_axn a on cdr.id = a.chem_disease_reference_id left outer join reference r on cdr.reference_id = r.id left outer join term g on cdr.via_gene_id = g.id left outer join term t on cdr.taxon_id = t.id group by c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.nm, d.acc_db_cd || ? || d.acc_txt, a.action_type_nm, g.nm, cdr.network_score, cdr.source_acc_txt, r.acc_txt ) select "ChemicalName", "ChemicalID", "CasRN", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceGeneSymbol", "InferenceScore", string_agg(distinct "OmimID", ? order by "OmimID") AS "OmimIDs", string_agg(distinct "PubMedID", ? order by "PubMedID") AS "PubMedIDs" from basedata group by "ChemicalName", nm_sort, "ChemicalID", "CasRN", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceGeneSymbol", "InferenceScore" order by nm_sort, "DiseaseName";Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 24 13 1 2m29s 2m29s [ User: qaeu - Total duration: 2m29s - Times executed: 1 ]
-
WITH BaseData AS ( SELECT /* AllCDRelationsDAO */ c.nm AS "ChemicalName", c.nm_sort, c.acc_txt AS "ChemicalID", c.secondary_nm AS "CasRN", d.nm AS "DiseaseName", d.acc_db_cd || ':' || d.acc_txt AS "DiseaseID", a.action_type_nm AS "DirectEvidence", STRING_AGG(DISTINCT t.nm || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || t.acc_txt) AS "OrganismTerms", g.nm AS "InferenceGeneSymbol", cdr.network_score AS "InferenceScore", cdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" FROM chem_disease_reference cdr INNER JOIN term d ON cdr.disease_id = d.id INNER JOIN term c ON cdr.chem_id = c.id LEFT OUTER JOIN chem_disease_reference_axn a ON cdr.id = a.chem_disease_reference_id LEFT OUTER JOIN reference r ON cdr.reference_id = r.id LEFT OUTER JOIN term g ON cdr.via_gene_id = g.id LEFT OUTER JOIN term t ON cdr.taxon_id = t.id GROUP BY c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.nm, d.acc_db_cd || ':' || d.acc_txt, a.action_type_nm, g.nm, cdr.network_score, cdr.source_acc_txt, r.acc_txt ) SELECT "ChemicalName", "ChemicalID", "CasRN", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceGeneSymbol", "InferenceScore", STRING_AGG(DISTINCT "OmimID", '|' ORDER BY "OmimID") AS "OmimIDs", STRING_AGG(DISTINCT "PubMedID", '|' ORDER BY "PubMedID") AS "PubMedIDs" FROM BaseData GROUP BY "ChemicalName", nm_sort, "ChemicalID", "CasRN", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceGeneSymbol", "InferenceScore" ORDER BY nm_sort, "DiseaseName";
Date: 2026-11-24 13:13:19 Duration: 2m29s Database: ctdprd51 User: qaeu Bind query: yes
16 2m16s 1 2m16s 2m16s 2m16s update pub1.term set has_exposures = false;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 24 00 1 2m16s 2m16s -
update pub1.TERM set has_exposures = false;
Date: 2026-11-24 00:20:48 Duration: 2m16s Bind query: yes
17 2m15s 1 2m15s 2m15s 2m15s 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 #17
Day Hour Count Duration Avg duration Nov 24 15 1 2m15s 2m15s [ User: qaeu - Total duration: 2m15s - 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-11-24 15:43:04 Duration: 2m15s Database: ctdprd51 User: qaeu Bind query: yes
18 1m42s 1 1m42s 1m42s 1m42s create index ix_term_enrich_agent_enr_term on pub1.term_enrichment_agent using btree (enriched_term_id);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 24 00 1 1m42s 1m42s -
CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);
Date: 2026-11-24 00:00:12 Duration: 1m42s Bind query: yes
-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);
Date: 2026-11-24 00:00:12 Duration: 0ms
19 1m39s 4 24s575ms 25s362ms 24s828ms 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 #19
Day Hour Count Duration Avg duration Nov 24 06 1 24s775ms 24s775ms 10 1 24s575ms 24s575ms 14 1 25s362ms 25s362ms 18 1 24s600ms 24s600ms -
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-11-24 14:07:23 Duration: 25s362ms
-
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-11-24 06:07:23 Duration: 24s775ms
-
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-11-24 18:07:20 Duration: 24s600ms
20 1m27s 1 1m27s 1m27s 1m27s update pub1.chem_disease cd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.chem_disease_reference cdr where cd.chem_id = cdr.chem_id and cd.disease_id = cdr.disease_id and reference_id in ( select id from pub1.reference r where has_exposures = true));Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 24 00 1 1m27s 1m27s -
update pub1.CHEM_DISEASE cd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.CHEM_DISEASE_REFERENCE cdr where cd.chem_id = cdr.chem_id and cd.disease_id = cdr.disease_id and reference_id in ( select id from pub1.REFERENCE r where has_exposures = true));
Date: 2026-11-24 00:24:00 Duration: 1m27s Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 264 1h23m53s 7s952ms 44m24s 19s66ms with basedata as ( select g.nm AS "GeneSymbol", g.acc_txt AS "GeneID", d.nm AS "DiseaseName", d.acc_db_cd || ? || d.acc_txt AS "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 AS "DirectEvidence", string_agg(distinct t.nm || ? || t.acc_txt, ? order by t.nm || ? || t.acc_txt) AS "OrganismTerms", c.nm AS "InferenceChemicalName", gdr.network_score AS "InferenceScore", gdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" 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 left outer join term t on gdr.taxon_id = t.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, gdr.source_acc_txt, r.acc_txt ) select "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore", string_agg(distinct "OmimID", ? order by "OmimID") AS "OmimIDs", string_agg(distinct "PubMedID", ? order by "PubMedID") AS "PubMedIDs" from basedata group by "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore" order by "GeneSymbol", "DiseaseName";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 24 14 224 1h17m53s 20s864ms 15 40 5m59s 8s995ms [ User: qaeu - Total duration: 44m24s - Times executed: 1 ]
-
WITH BaseData AS ( SELECT /* AllGDRelationsDAO */ g.nm AS "GeneSymbol", g.acc_txt AS "GeneID", d.nm AS "DiseaseName", d.acc_db_cd || ':' || d.acc_txt AS "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 AS "DirectEvidence", STRING_AGG(DISTINCT t.nm || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || t.acc_txt) AS "OrganismTerms", c.nm AS "InferenceChemicalName", gdr.network_score AS "InferenceScore", gdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" 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 LEFT OUTER JOIN term t ON gdr.taxon_id = t.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, gdr.source_acc_txt, r.acc_txt ) SELECT /* AllGDRelationsDAO - grouped PubMedID and OmimIDs by OrganismTerms */ "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore", STRING_AGG(DISTINCT "OmimID", '|' ORDER BY "OmimID") AS "OmimIDs", STRING_AGG(DISTINCT "PubMedID", '|' ORDER BY "PubMedID") AS "PubMedIDs" FROM BaseData GROUP BY "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore" ORDER BY "GeneSymbol", "DiseaseName";
Date: 2026-11-24 14:05:26 Duration: 44m24s Database: ctdprd51 User: qaeu Bind query: yes
-
WITH BaseData AS ( SELECT /* AllGDRelationsDAO */ g.nm AS "GeneSymbol", g.acc_txt AS "GeneID", d.nm AS "DiseaseName", d.acc_db_cd || ':' || d.acc_txt AS "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 AS "DirectEvidence", STRING_AGG(DISTINCT t.nm || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || t.acc_txt) AS "OrganismTerms", c.nm AS "InferenceChemicalName", gdr.network_score AS "InferenceScore", gdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" 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 LEFT OUTER JOIN term t ON gdr.taxon_id = t.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, gdr.source_acc_txt, r.acc_txt ) SELECT /* AllGDRelationsDAO - grouped PubMedID and OmimIDs by OrganismTerms */ "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore", STRING_AGG(DISTINCT "OmimID", '|' ORDER BY "OmimID") AS "OmimIDs", STRING_AGG(DISTINCT "PubMedID", '|' ORDER BY "PubMedID") AS "PubMedIDs" FROM BaseData GROUP BY "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore" ORDER BY "GeneSymbol", "DiseaseName";
Date: 2026-11-24 14:28:00 Duration: 11s932ms Bind query: yes
-
WITH BaseData AS ( SELECT /* AllGDRelationsDAO */ g.nm AS "GeneSymbol", g.acc_txt AS "GeneID", d.nm AS "DiseaseName", d.acc_db_cd || ':' || d.acc_txt AS "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 AS "DirectEvidence", STRING_AGG(DISTINCT t.nm || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || t.acc_txt) AS "OrganismTerms", c.nm AS "InferenceChemicalName", gdr.network_score AS "InferenceScore", gdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" 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 LEFT OUTER JOIN term t ON gdr.taxon_id = t.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, gdr.source_acc_txt, r.acc_txt ) SELECT /* AllGDRelationsDAO - grouped PubMedID and OmimIDs by OrganismTerms */ "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore", STRING_AGG(DISTINCT "OmimID", '|' ORDER BY "OmimID") AS "OmimIDs", STRING_AGG(DISTINCT "PubMedID", '|' ORDER BY "PubMedID") AS "PubMedIDs" FROM BaseData GROUP BY "GeneSymbol", "GeneID", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceChemicalName", "InferenceScore" ORDER BY "GeneSymbol", "DiseaseName";
Date: 2026-11-24 14:39:11 Duration: 11s231ms Bind query: yes
2 7 3m37s 5s420ms 2m49s 31s42ms 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 #2
Day Hour Count Duration Avg duration Nov 24 15 7 3m37s 31s42ms [ User: qaeu - Total duration: 3m3s - 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-11-24 15:46:37 Duration: 2m49s 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-11-24 15:48:48 Duration: 14s454ms 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-11-24 15:46:52 Duration: 8s816ms Bind query: yes
3 5 32s460ms 6s269ms 6s823ms 6s492ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ? or d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 24 05 2 12s840ms 6s420ms 11 2 12s796ms 6s398ms 15 1 6s823ms 6s823ms [ User: qaeu - Total duration: 19s367ms - Times executed: 3 ]
[ User: pubeu - Total duration: 13s93ms - Times executed: 2 ]
-
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 = 1409270)) 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-11-24 15:22:30 Duration: 6s823ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1409270)) 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-11-24 05:44:16 Duration: 6s570ms 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 = 1417672)) 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-11-24 11:26:14 Duration: 6s427ms Database: ctdprd51 User: qaeu Bind query: yes
4 4 7m41s 1m53s 1m56s 1m55s 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 Nov 24 06 1 1m56s 1m56s 10 1 1m55s 1m55s 14 1 1m56s 1m56s 18 1 1m53s 1m53s [ User: postgres - Total duration: 7m41s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m41s - 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-11-24 06:06:58 Duration: 1m56s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-11-24 14:06:57 Duration: 1m56s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-11-24 10:06:56 Duration: 1m55s Database: ctdprd51 User: postgres Application: pg_dump
5 4 1m39s 24s575ms 25s362ms 24s828ms copy pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 24 06 1 24s775ms 24s775ms 10 1 24s575ms 24s575ms 14 1 25s362ms 25s362ms 18 1 24s600ms 24s600ms -
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-11-24 14:07:23 Duration: 25s362ms
-
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-11-24 06:07:23 Duration: 24s775ms
-
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-11-24 18:07:20 Duration: 24s600ms
6 4 1m23s 20s623ms 20s971ms 20s795ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 24 06 1 20s971ms 20s971ms 10 1 20s744ms 20s744ms 14 1 20s842ms 20s842ms 18 1 20s623ms 20s623ms [ User: postgres - Total duration: 1m23s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 1m23s - 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-11-24 06:00:22 Duration: 20s971ms 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-11-24 14:00:22 Duration: 20s842ms 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-11-24 10:00:22 Duration: 20s744ms Database: ctdprd51 User: postgres Application: pg_dump
7 4 1m3s 15s606ms 15s923ms 15s796ms copy pubc.log_query_bots_original (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 24 06 1 15s898ms 15s898ms 10 1 15s758ms 15s758ms 14 1 15s923ms 15s923ms 18 1 15s606ms 15s606ms -
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-11-24 14:07:39 Duration: 15s923ms
-
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-11-24 06:07:39 Duration: 15s898ms
-
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-11-24 10:07:37 Duration: 15s758ms
8 4 1m2s 15s377ms 15s796ms 15s528ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 24 06 1 15s514ms 15s514ms 10 1 15s426ms 15s426ms 14 1 15s796ms 15s796ms 18 1 15s377ms 15s377ms -
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-11-24 14:00:55 Duration: 15s796ms
-
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-11-24 06:00:55 Duration: 15s514ms
-
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-11-24 10:00:54 Duration: 15s426ms
9 4 59s443ms 14s717ms 15s13ms 14s860ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 24 06 1 15s13ms 15s13ms 10 1 14s770ms 14s770ms 14 1 14s717ms 14s717ms 18 1 14s943ms 14s943ms -
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-11-24 06:01:10 Duration: 15s13ms
-
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-11-24 18:01:09 Duration: 14s943ms
-
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-11-24 10:01:09 Duration: 14s770ms
10 4 55s487ms 6s640ms 20s243ms 13s871ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes, gd.taxon_qty taxoncount, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id inner join gene_disease_reference gdr on gd.disease_id = gdr.disease_id and gd.gene_id = gdr.gene_id left outer join term taxonterm on gdr.taxon_id = taxonterm.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by d.nm, d.acc_txt, d.acc_db_cd, d.id, g.nm, g.acc_txt, g.acc_db_cd, g.id, gd.network_score, gd.indirect_chem_qty, gd.reference_qty, gd.exposure_reference_qty, gd.curated_reference_qty, gd.gene_id, gd.disease_id order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 24 11 1 6s640ms 6s640ms 12 3 48s847ms 16s282ms [ User: qaeu - Total duration: 35s244ms - Times executed: 3 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes, gd.taxon_qty taxonCount, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN gene_disease_reference gdr ON gd.disease_id = gdr.disease_id AND gd.gene_id = gdr.gene_id left outer join term taxonTerm on gdr.taxon_id = taxonTerm.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2211001') GROUP BY d.nm, d.acc_txt, d.acc_db_cd, d.id, g.nm, g.acc_txt, g.acc_db_cd, g.id, gd.network_score, gd.indirect_chem_qty, gd.reference_qty, gd.exposure_reference_qty, gd.curated_reference_qty, gd.gene_id, gd.disease_id ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-11-24 12:29:07 Duration: 20s243ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes, gd.taxon_qty taxonCount, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN gene_disease_reference gdr ON gd.disease_id = gdr.disease_id AND gd.gene_id = gdr.gene_id left outer join term taxonTerm on gdr.taxon_id = taxonTerm.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2211001') GROUP BY d.nm, d.acc_txt, d.acc_db_cd, d.id, g.nm, g.acc_txt, g.acc_db_cd, g.id, gd.network_score, gd.indirect_chem_qty, gd.reference_qty, gd.exposure_reference_qty, gd.curated_reference_qty, gd.gene_id, gd.disease_id ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-11-24 12:31:10 Duration: 16s929ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes, gd.taxon_qty taxonCount, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN gene_disease_reference gdr ON gd.disease_id = gdr.disease_id AND gd.gene_id = gdr.gene_id left outer join term taxonTerm on gdr.taxon_id = taxonTerm.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2209289') GROUP BY d.nm, d.acc_txt, d.acc_db_cd, d.id, g.nm, g.acc_txt, g.acc_db_cd, g.id, gd.network_score, gd.indirect_chem_qty, gd.reference_qty, gd.exposure_reference_qty, gd.curated_reference_qty, gd.gene_id, gd.disease_id ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-11-24 12:23:17 Duration: 11s673ms Database: ctdprd51 User: qaeu Bind query: yes
11 4 39s302ms 7s161ms 12s158ms 9s825ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 24 03 1 7s161ms 7s161ms 04 1 10s976ms 10s976ms 09 1 12s158ms 12s158ms 16 1 9s6ms 9s6ms [ User: pubeu - Total duration: 39s302ms - Times executed: 4 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2209835') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-11-24 09:31:00 Duration: 12s158ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2209835') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-11-24 04:25:08 Duration: 10s976ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2201479') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-11-24 16:04:56 Duration: 9s6ms Database: ctdprd51 User: pubeu Bind query: yes
12 4 31s549ms 7s703ms 7s993ms 7s887ms 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 #12
Day Hour Count Duration Avg duration Nov 24 06 1 7s943ms 7s943ms 10 1 7s908ms 7s908ms 14 1 7s993ms 7s993ms 18 1 7s703ms 7s703ms -
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-11-24 14:00:32 Duration: 7s993ms
-
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-11-24 06:00:32 Duration: 7s943ms
-
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-11-24 10:00:32 Duration: 7s908ms
13 4 26s629ms 6s605ms 6s798ms 6s657ms copy edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 24 06 1 6s605ms 6s605ms 10 1 6s611ms 6s611ms 14 1 6s798ms 6s798ms 18 1 6s613ms 6s613ms -
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-11-24 14:01:18 Duration: 6s798ms
-
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-11-24 18:01:18 Duration: 6s613ms
-
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-11-24 10:01:18 Duration: 6s611ms
14 4 25s636ms 6s340ms 6s445ms 6s409ms 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 #14
Day Hour Count Duration Avg duration Nov 24 06 1 6s445ms 6s445ms 10 1 6s441ms 6s441ms 14 1 6s408ms 6s408ms 18 1 6s340ms 6s340ms -
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-11-24 06:00:39 Duration: 6s445ms
-
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-11-24 10:00:39 Duration: 6s441ms
-
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-11-24 14:00:39 Duration: 6s408ms
15 3 29s213ms 8s450ms 12s58ms 9s737ms vacuum analyze pub1.term;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 24 05 1 12s58ms 12s58ms 06 2 17s155ms 8s577ms -
VACUUM ANALYZE pub1.TERM;
Date: 2026-11-24 05:57:47 Duration: 12s58ms Bind query: yes
-
VACUUM ANALYZE pub1.TERM;
Date: 2026-11-24 06:58:40 Duration: 8s705ms Bind query: yes
-
VACUUM ANALYZE pub1.TERM;
Date: 2026-11-24 06:02:03 Duration: 8s450ms Bind query: yes
16 3 25s80ms 7s855ms 8s750ms 8s360ms vacuum analyze pub1.reference;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 24 02 1 8s474ms 8s474ms 06 2 16s605ms 8s302ms -
VACUUM ANALYZE pub1.REFERENCE;
Date: 2026-11-24 06:58:56 Duration: 8s750ms Bind query: yes
-
VACUUM ANALYZE pub1.REFERENCE;
Date: 2026-11-24 02:59:49 Duration: 8s474ms Bind query: yes
-
VACUUM ANALYZE pub1.REFERENCE;
Date: 2026-11-24 06:02:53 Duration: 7s855ms Bind query: yes
17 3 24s701ms 5s150ms 13s409ms 8s233ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 24 03 1 13s409ms 13s409ms 19 2 11s291ms 5s645ms [ User: pubeu - Total duration: 11s291ms - Times executed: 2 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1469497' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2026-11-24 03:27:32 Duration: 13s409ms Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1381605' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2026-11-24 19:12:43 Duration: 6s140ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1381605' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2026-11-24 19:12:39 Duration: 5s150ms Database: ctdprd51 User: pubeu Bind query: yes
18 3 23s629ms 6s893ms 8s636ms 7s876ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and ptr.term_object_type_id = ? and ptr.phenotype_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and taxonterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = ? and action_degree_type_nm in (...)) group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 24 11 2 16s735ms 8s367ms 15 1 6s893ms 6s893ms [ User: qaeu - Total duration: 8s98ms - Times executed: 1 ]
[ User: pubeu - Total duration: 6s893ms - Times executed: 1 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-11-24 11:19:41 Duration: 8s636ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-11-24 11:26:43 Duration: 8s98ms Database: ctdprd51 User: qaeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2026-11-24 15:07:29 Duration: 6s893ms Database: ctdprd51 User: pubeu Bind query: yes
19 2 51s134ms 12s786ms 38s347ms 25s567ms 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 Nov 24 13 2 51s134ms 25s567ms [ User: qaeu - Total duration: 38s347ms - 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-11-24 13:02:31 Duration: 38s347ms 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-11-24 13:02:58 Duration: 12s786ms Bind query: yes
20 2 20s434ms 5s603ms 14s830ms 10s217ms select ?, count(*) from term_enrichment_agent;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 24 10 2 20s434ms 10s217ms [ User: pub1 - Total duration: 5s603ms - Times executed: 1 ]
[ Application: psql - Total duration: 5s603ms - Times executed: 1 ]
-
select 'TERM_ENRICHMENT_AGENT', count(*) from TERM_ENRICHMENT_AGENT;
Date: 2026-11-24 10:45:39 Duration: 14s830ms
-
select 'TERM_ENRICHMENT_AGENT', count(*) from TERM_ENRICHMENT_AGENT;
Date: 2026-11-24 10:44:36 Duration: 5s603ms Database: ctdprd51 User: pub1 Application: psql
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2h57m45s 2h57m45s 2h57m45s 1 2h57m45s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 24 05 1 2h57m45s 2h57m45s -
SELECT maint_term_derive_nm_fts ();
Date: 2026-11-24 05:57:35 Duration: 2h57m45s Bind query: yes
2 2h32m20s 2h32m20s 2h32m20s 1 2h32m20s select pub1.maint_term_derive_data ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 24 09 1 2h32m20s 2h32m20s -
select pub1.maint_term_derive_data ();
Date: 2026-11-24 09:31:16 Duration: 2h32m20s Bind query: yes
3 1h59m58s 1h59m58s 1h59m58s 1 1h59m58s select pub1.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 24 02 1 1h59m58s 1h59m58s -
select pub1.maint_gene_chem_ref_gene_form_refresh ();
Date: 2026-11-24 02:56:40 Duration: 1h59m58s Bind query: yes
4 53m32s 53m32s 53m32s 1 53m32s vacuum full analyze;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 24 06 1 53m32s 53m32s -
VACUUM FULL ANALYZE;
Date: 2026-11-24 06:58:31 Duration: 53m32s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2026-11-24 06:05:03 Duration: 0ms
5 38m17s 38m17s 38m17s 1 38m17s select pub1.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 24 10 1 38m17s 38m17s -
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2026-11-24 10:20:01 Duration: 38m17s Bind query: yes
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2026-11-24 10:14:54 Duration: 0ms
6 26m42s 26m42s 26m42s 1 26m42s 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 Nov 24 00 1 26m42s 26m42s -
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-11-24 00:50:43 Duration: 26m42s Bind query: yes
7 9m29s 9m29s 9m29s 1 9m29s select maint_query_logs_archive ();Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 24 00 1 9m29s 9m29s [ User: pubc - Total duration: 9m29s - Times executed: 1 ]
[ Application: psql - Total duration: 9m29s - 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-11-24 00:09:31 Duration: 9m29s Database: ctdprd51 User: pubc Application: psql
8 9m21s 9m21s 9m21s 1 9m21s select pub1.maint_phenotype_term_derive_data ();Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 24 09 1 9m21s 9m21s -
select pub1.maint_phenotype_term_derive_data ();
Date: 2026-11-24 09:41:43 Duration: 9m21s Bind query: yes
9 3m22s 3m22s 3m22s 1 3m22s select maint_term_label_derive_nm_fts ();Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 24 06 1 3m22s 3m22s -
SELECT maint_term_label_derive_nm_fts ();
Date: 2026-11-24 06:01:09 Duration: 3m22s Bind query: yes
10 2m59s 2m59s 2m59s 1 2m59s 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 #10
Day Hour Count Duration Avg duration Nov 24 02 1 2m59s 2m59s -
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-11-24 02:59:40 Duration: 2m59s Bind query: yes
11 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 #11
Day Hour Count Duration Avg duration Nov 24 00 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-11-24 00:53:15 Duration: 2m31s Bind query: yes
12 2m29s 2m29s 2m29s 1 2m29s with basedata as ( select c.nm AS "ChemicalName", c.nm_sort, c.acc_txt AS "ChemicalID", c.secondary_nm AS "CasRN", d.nm AS "DiseaseName", d.acc_db_cd || ? || d.acc_txt AS "DiseaseID", a.action_type_nm AS "DirectEvidence", string_agg(distinct t.nm || ? || t.acc_txt, ? order by t.nm || ? || t.acc_txt) AS "OrganismTerms", g.nm AS "InferenceGeneSymbol", cdr.network_score AS "InferenceScore", cdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" from chem_disease_reference cdr inner join term d on cdr.disease_id = d.id inner join term c on cdr.chem_id = c.id left outer join chem_disease_reference_axn a on cdr.id = a.chem_disease_reference_id left outer join reference r on cdr.reference_id = r.id left outer join term g on cdr.via_gene_id = g.id left outer join term t on cdr.taxon_id = t.id group by c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.nm, d.acc_db_cd || ? || d.acc_txt, a.action_type_nm, g.nm, cdr.network_score, cdr.source_acc_txt, r.acc_txt ) select "ChemicalName", "ChemicalID", "CasRN", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceGeneSymbol", "InferenceScore", string_agg(distinct "OmimID", ? order by "OmimID") AS "OmimIDs", string_agg(distinct "PubMedID", ? order by "PubMedID") AS "PubMedIDs" from basedata group by "ChemicalName", nm_sort, "ChemicalID", "CasRN", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceGeneSymbol", "InferenceScore" order by nm_sort, "DiseaseName";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 24 13 1 2m29s 2m29s [ User: qaeu - Total duration: 2m29s - Times executed: 1 ]
-
WITH BaseData AS ( SELECT /* AllCDRelationsDAO */ c.nm AS "ChemicalName", c.nm_sort, c.acc_txt AS "ChemicalID", c.secondary_nm AS "CasRN", d.nm AS "DiseaseName", d.acc_db_cd || ':' || d.acc_txt AS "DiseaseID", a.action_type_nm AS "DirectEvidence", STRING_AGG(DISTINCT t.nm || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || t.acc_txt) AS "OrganismTerms", g.nm AS "InferenceGeneSymbol", cdr.network_score AS "InferenceScore", cdr.source_acc_txt AS "OmimID", r.acc_txt AS "PubMedID" FROM chem_disease_reference cdr INNER JOIN term d ON cdr.disease_id = d.id INNER JOIN term c ON cdr.chem_id = c.id LEFT OUTER JOIN chem_disease_reference_axn a ON cdr.id = a.chem_disease_reference_id LEFT OUTER JOIN reference r ON cdr.reference_id = r.id LEFT OUTER JOIN term g ON cdr.via_gene_id = g.id LEFT OUTER JOIN term t ON cdr.taxon_id = t.id GROUP BY c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.nm, d.acc_db_cd || ':' || d.acc_txt, a.action_type_nm, g.nm, cdr.network_score, cdr.source_acc_txt, r.acc_txt ) SELECT "ChemicalName", "ChemicalID", "CasRN", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceGeneSymbol", "InferenceScore", STRING_AGG(DISTINCT "OmimID", '|' ORDER BY "OmimID") AS "OmimIDs", STRING_AGG(DISTINCT "PubMedID", '|' ORDER BY "PubMedID") AS "PubMedIDs" FROM BaseData GROUP BY "ChemicalName", nm_sort, "ChemicalID", "CasRN", "DiseaseName", "DiseaseID", "DirectEvidence", "OrganismTerms", "InferenceGeneSymbol", "InferenceScore" ORDER BY nm_sort, "DiseaseName";
Date: 2026-11-24 13:13:19 Duration: 2m29s Database: ctdprd51 User: qaeu Bind query: yes
13 2m16s 2m16s 2m16s 1 2m16s update pub1.term set has_exposures = false;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 24 00 1 2m16s 2m16s -
update pub1.TERM set has_exposures = false;
Date: 2026-11-24 00:20:48 Duration: 2m16s Bind query: yes
14 2m15s 2m15s 2m15s 1 2m15s 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 #14
Day Hour Count Duration Avg duration Nov 24 15 1 2m15s 2m15s [ User: qaeu - Total duration: 2m15s - 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-11-24 15:43:04 Duration: 2m15s Database: ctdprd51 User: qaeu Bind query: yes
15 1m53s 1m56s 1m55s 4 7m41s 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 #15
Day Hour Count Duration Avg duration Nov 24 06 1 1m56s 1m56s 10 1 1m55s 1m55s 14 1 1m56s 1m56s 18 1 1m53s 1m53s [ User: postgres - Total duration: 7m41s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m41s - 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-11-24 06:06:58 Duration: 1m56s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-11-24 14:06:57 Duration: 1m56s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-11-24 10:06:56 Duration: 1m55s Database: ctdprd51 User: postgres Application: pg_dump
16 1m42s 1m42s 1m42s 1 1m42s create index ix_term_enrich_agent_enr_term on pub1.term_enrichment_agent using btree (enriched_term_id);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 24 00 1 1m42s 1m42s -
CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);
Date: 2026-11-24 00:00:12 Duration: 1m42s Bind query: yes
-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);
Date: 2026-11-24 00:00:12 Duration: 0ms
17 1m27s 1m27s 1m27s 1 1m27s update pub1.chem_disease cd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.chem_disease_reference cdr where cd.chem_id = cdr.chem_id and cd.disease_id = cdr.disease_id and reference_id in ( select id from pub1.reference r where has_exposures = true));Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 24 00 1 1m27s 1m27s -
update pub1.CHEM_DISEASE cd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.CHEM_DISEASE_REFERENCE cdr where cd.chem_id = cdr.chem_id and cd.disease_id = cdr.disease_id and reference_id in ( select id from pub1.REFERENCE r where has_exposures = true));
Date: 2026-11-24 00:24:00 Duration: 1m27s Bind query: yes
18 5s420ms 2m49s 31s42ms 7 3m37s 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 #18
Day Hour Count Duration Avg duration Nov 24 15 7 3m37s 31s42ms [ User: qaeu - Total duration: 3m3s - 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-11-24 15:46:37 Duration: 2m49s 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-11-24 15:48:48 Duration: 14s454ms 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-11-24 15:46:52 Duration: 8s816ms Bind query: yes
19 12s786ms 38s347ms 25s567ms 2 51s134ms 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 Nov 24 13 2 51s134ms 25s567ms [ User: qaeu - Total duration: 38s347ms - 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-11-24 13:02:31 Duration: 38s347ms 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-11-24 13:02:58 Duration: 12s786ms Bind query: yes
20 24s575ms 25s362ms 24s828ms 4 1m39s 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 #20
Day Hour Count Duration Avg duration Nov 24 06 1 24s775ms 24s775ms 10 1 24s575ms 24s575ms 14 1 25s362ms 25s362ms 18 1 24s600ms 24s600ms -
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-11-24 14:07:23 Duration: 25s362ms
-
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-11-24 06:07:23 Duration: 24s775ms
-
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-11-24 18:07:20 Duration: 24s600ms
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,967 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
- 4 ERROR entries
- 1343 WARNING entries
- 31 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 1,070 Max number of times the same event was reported
- 1,378 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 Nov 24 06 1,070 - WARNING: skipping "age_qualifer_pk" --- only table or database owner can vacuum it
- WARNING: skipping "db_link_pk" --- only table or database owner can vacuum it
- WARNING: skipping "ix_db_link_obj_type" --- only table or database owner can vacuum it
Date: 2026-11-24 06:04:59
Date: 2026-11-24 06:04:59
Date: 2026-11-24 06:04:59
2 224 WARNING: skipping "..." --- only superuser or database owner can vacuum it
Times Reported Most Frequent Error / Event #2
Day Hour Count Nov 24 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-11-24 06:04:59
Date: 2026-11-24 06:04:59
Date: 2026-11-24 06:04:59
3 43 WARNING: skipping "..." --- only superuser can vacuum it
Times Reported Most Frequent Error / Event #3
Day Hour Count Nov 24 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-11-24 06:04:59
Date: 2026-11-24 06:04:59
Date: 2026-11-24 06:04:59
4 26 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #4
Day Hour Count Nov 24 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-11-24 13:00:25
Date: 2026-11-24 13:01:24
Date: 2026-11-24 13:01:25 Database: ctdprd51 Application: User: qaeu Remote:
5 6 WARNING: there is no transaction in progress
Times Reported Most Frequent Error / Event #5
Day Hour Count Nov 24 05 1 06 1 09 4 - WARNING: there is no transaction in progress
- WARNING: there is no transaction in progress
- WARNING: there is no transaction in progress
Date: 2026-11-24 05:57:35
Date: 2026-11-24 06:01:09
Date: 2026-11-24 09:31:16
6 5 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #6
Day Hour Count Nov 24 18 1 19 4 - 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-11-24 18:46:20
Date: 2026-11-24 19:08:10 Database: postgres Application: pgAdmin 4 - DB:postgres User: pub1 Remote:
Date: 2026-11-24 19:08:10 Database: ctdprd51 Application: pgAdmin 4 - DB:ctdprd51 User: pub1 Remote:
7 3 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #7
Day Hour Count Nov 24 11 1 15 2 - ERROR: relation "pubx.term" does not exist at character 149
- ERROR: relation "pubx.object_type" does not exist at character 336
- ERROR: relation "pubx.object_type" does not exist at character 336
Statement: select acc_txt,cd, t.nm from pub1.term t ,pub1.object_type o where t.object_type_id = o.id and acc_txt in ( select acc_txt from pubX.term where object_type_id in ( 2, 3 ) group by acc_txt, nm having count(*) > 1 ) order by nm, cd
Date: 2026-11-24 11:06:56
Statement: select count(*) from pub1.term where has_exposures is true and has_references is false and object_type_id <> ( select id from pubX.object_type where cd = 'go' )
Date: 2026-11-24 15:24:11
Statement: select count(*) from pub1.term where has_exposures is true and has_references is false and object_type_id <> ( select id from pubX.object_type where cd = 'go' )
Date: 2026-11-24 15:24:14
8 1 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #8
Day Hour Count Nov 24 00 1 - ERROR: canceling statement due to user request
Statement: SELECT count(*) FROM pg_catalog.pg_stat_all_tables WHERE (n_dead_tup/(n_live_tup+n_dead_tup)::float8) > 0.2 AND (n_live_tup+n_dead_tup) > 50;
Date: 2026-11-24 00:01:08