-
Global information
- Generated on Fri Oct 30 04:15:03 2026
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20261029
- Parsed 27,552 log entries in 2s
- Log start from 2026-10-29 00:00:01 to 2026-10-29 23:59:13
-
Overview
Global Stats
- 125 Number of unique normalized queries
- 185 Number of queries
- 11h31m19s Total query duration
- 2026-10-29 00:09:27 First query
- 2026-10-29 21:18:54 Last query
- 3 queries/s at 2026-10-29 00:58:06 Query peak
- 11h31m19s Total query duration
- 52s216ms Prepare/parse total duration
- 0ms Bind total duration
- 11h30m27s Execute total duration
- 1,372 Number of events
- 9 Number of unique normalized events
- 1,069 Max number of times the same event was reported
- 0 Number of cancellation
- 46 Total number of automatic vacuums
- 65 Total number of automatic analyzes
- 1,312 Number temporary file
- 47.86 GiB Max size of temporary file
- 212.48 MiB Average size of temporary file
- 2,289 Total number of sessions
- 163 sessions at 2026-10-29 02:38:12 Session peak
- 42d4h37m21s Total duration of sessions
- 26m32s Average duration of sessions
- 0 Average queries per session
- 18s121ms Average queries duration per session
- 26m14s Average idle time per session
- 2,291 Total number of connections
- 27 connections/s at 2026-10-29 19:33:43 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 3 queries/s Query Peak
- 2026-10-29 00:58:06 Date
SELECT Traffic
Key values
- 3 queries/s Query Peak
- 2026-10-29 00:58:06 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-10-29 01:30:03 Date
Queries duration
Key values
- 11h31m19s 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) Oct 29 00 29 0ms 13m1s 1m20s 2m21s 3m8s 13m1s 01 9 0ms 27m8s 3m49s 22s177ms 1m39s 27m8s 02 9 0ms 42s110ms 23s701ms 15s26ms 30s652ms 1m23s 03 5 0ms 1h58m28s 24m50s 0ms 1m47s 1h58m28s 04 3 0ms 46s319ms 20s938ms 0ms 8s163ms 46s319ms 05 4 0ms 41s790ms 16s840ms 0ms 6s462ms 41s790ms 06 20 0ms 2h36m40s 8m22s 48s113ms 1m53s 2h36m50s 07 10 0ms 52m25s 5m22s 5s422ms 16s555ms 52m34s 08 1 0ms 29s884ms 29s884ms 0ms 0ms 29s884ms 09 6 0ms 2h25m41s 26m8s 30s480ms 9m17s 2h25m41s 10 10 0ms 40m19s 4m24s 21s99ms 49s647ms 40m19s 11 10 0ms 20s201ms 8s730ms 5s909ms 29s688ms 31s224ms 12 14 0ms 1m26s 24s524ms 24s445ms 49s853ms 1m26s 13 11 0ms 38m47s 3m36s 10s577ms 11s341ms 38m47s 14 20 0ms 2m44s 30s10ms 39s672ms 1m58s 2m44s 15 0 0ms 0ms 0ms 0ms 0ms 0ms 16 2 0ms 1m24s 1m1s 0ms 37s933ms 1m24s 17 2 0ms 10s823ms 8s942ms 0ms 7s62ms 10s823ms 18 9 0ms 1m53s 24s958ms 0ms 40s35ms 1m53s 19 4 0ms 18s480ms 10s529ms 0ms 18s122ms 18s480ms 20 0 0ms 0ms 0ms 0ms 0ms 0ms 21 7 0ms 14s671ms 9s890ms 9s270ms 11s424ms 14s671ms 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) Oct 29 00 10 0 1m25s 0ms 17s650ms 9m26s 01 1 0 6s60ms 0ms 0ms 0ms 02 9 0 23s701ms 0ms 15s26ms 1m23s 03 2 0 59m39s 0ms 0ms 1h58m28s 04 3 0 20s938ms 0ms 0ms 46s319ms 05 4 0 16s840ms 0ms 0ms 41s790ms 06 2 9 14m52s 0ms 21s303ms 3m17s 07 6 0 8s990ms 0ms 5s49ms 16s813ms 08 1 0 29s884ms 0ms 0ms 29s884ms 09 6 0 26m8s 0ms 30s480ms 2h25m41s 10 1 9 4m24s 0ms 21s99ms 40m19s 11 10 0 8s730ms 0ms 5s909ms 31s224ms 12 14 0 24s524ms 8s262ms 24s445ms 1m26s 13 11 0 3m36s 0ms 10s577ms 38m47s 14 11 9 30s10ms 13s982ms 39s672ms 2m44s 15 0 0 0ms 0ms 0ms 0ms 16 1 0 37s933ms 0ms 0ms 37s933ms 17 2 0 8s942ms 0ms 0ms 10s823ms 18 0 9 24s958ms 0ms 0ms 1m53s 19 4 0 10s529ms 0ms 0ms 18s480ms 20 0 0 0ms 0ms 0ms 0ms 21 7 0 9s890ms 0ms 9s270ms 14s671ms 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) Oct 29 00 5 4 0 0 31s599ms 0ms 0ms 1m45s 01 4 4 0 0 4m17s 0ms 0ms 1m39s 02 0 0 0 0 0ms 0ms 0ms 0ms 03 1 0 0 0 2m57s 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 Oct 29 00 0 27 27.00 0.00% 01 0 9 9.00 0.00% 02 0 9 9.00 0.00% 03 0 5 5.00 0.00% 04 0 3 3.00 0.00% 05 0 4 4.00 0.00% 06 0 11 11.00 0.00% 07 0 10 10.00 0.00% 08 0 1 1.00 0.00% 09 0 6 6.00 0.00% 10 0 1 1.00 0.00% 11 0 1 1.00 0.00% 12 0 14 14.00 0.00% 13 0 11 11.00 0.00% 14 0 11 11.00 0.00% 15 0 0 0.00 0.00% 16 1 0 0.00 100.00% 17 0 2 2.00 0.00% 18 0 0 0.00 0.00% 19 0 4 4.00 0.00% 20 0 0 0.00 0.00% 21 0 7 7.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Oct 29 00 91 0.03/s 01 83 0.02/s 02 116 0.03/s 03 84 0.02/s 04 79 0.02/s 05 120 0.03/s 06 77 0.02/s 07 92 0.03/s 08 92 0.03/s 09 107 0.03/s 10 106 0.03/s 11 226 0.06/s 12 127 0.04/s 13 79 0.02/s 14 87 0.02/s 15 76 0.02/s 16 75 0.02/s 17 79 0.02/s 18 79 0.02/s 19 110 0.03/s 20 75 0.02/s 21 78 0.02/s 22 78 0.02/s 23 75 0.02/s Day Hour Count Average Duration Average idle time Oct 29 00 91 26m45s 26m20s 01 83 30m52s 30m27s 02 116 21m30s 21m28s 03 83 28m8s 26m39s 04 80 30m13s 30m12s 05 120 20m28s 20m28s 06 77 30m42s 28m32s 07 92 26m1s 25m26s 08 92 26m27s 26m27s 09 105 21m42s 20m13s 10 106 27m2s 26m38s 11 226 10m58s 10m57s 12 126 19m4s 19m1s 13 79 31m5s 30m35s 14 88 28m50s 28m43s 15 76 31m38s 31m38s 16 74 31m44s 31m42s 17 79 30m39s 30m39s 18 79 31m4s 31m1s 19 110 20m44s 20m44s 20 75 31m46s 31m46s 21 78 31m14s 31m13s 22 78 31m35s 31m35s 23 76 1h1m3s 1h1m3s -
Connections
Established Connections
Key values
- 27 connections Connection Peak
- 2026-10-29 19:33:43 Date
Connections per database
Key values
- ctdprd51 Main Database
- 2,291 connections Total
Connections per user
Key values
- pubeu Main User
- 2,291 connections Total
-
Sessions
Simultaneous sessions
Key values
- 163 sessions Session Peak
- 2026-10-29 02:38:12 Date
Histogram of session times
Key values
- 1,761 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 2,289 sessions Total
Sessions per user
Key values
- pubeu Main User
- 2,289 sessions Total
Sessions per host
Key values
- 10.12.5.53 Main Host
- 2,289 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 2,098,387 buffers Checkpoint Peak
- 2026-10-29 00:35:09 Date
- 1619.947 seconds Highest write time
- 0.818 seconds Sync time
Checkpoints Wal files
Key values
- 1,005 files Wal files usage Peak
- 2026-10-29 06:32:59 Date
Checkpoints distance
Key values
- 19,128.73 Mo Distance Peak
- 2026-10-29 00:35:14 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Oct 29 00 3,261,463 3,127.515s 0.136s 3,160.874s 01 2,493,968 3,354.699s 0.24s 3,381.941s 02 620,984 1,619.478s 0.002s 1,623.279s 03 122,717 3,238.966s 0.006s 3,239.839s 04 377,284 3,238.312s 0.006s 3,240.564s 05 276,013 3,238.925s 0.005s 3,240.18s 06 878,401 1,461.537s 5.89s 1,603.037s 07 485,264 1,781.866s 1.035s 1,844.785s 08 867,044 3,898.758s 0.156s 3,916.008s 09 966,729 3,231.101s 0.273s 3,243.048s 10 1,137,653 3,251.198s 0.005s 3,258.427s 11 27,293 1,639.756s 0.003s 1,639.939s 12 46,027 1,655.998s 0.002s 1,656.202s 13 115 11.709s 0.002s 11.74s 14 272 27.433s 0.002s 27.464s 15 210 21.209s 0.002s 21.239s 16 61,646 1,619.079s 0.001s 1,619.615s 17 42 4.393s 0.002s 4.423s 18 64 6.583s 0.002s 6.613s 19 278 27.941s 0.001s 27.956s 20 544 54.652s 0.003s 54.682s 21 435 43.748s 0.003s 43.778s 22 822 82.528s 0.002s 82.558s 23 200 20.213s 0.002s 20.244s Day Hour Added Removed Recycled Synced files Longest sync Average sync Oct 29 00 0 308 2,329 530 0.044s 0.004s 01 0 0 2,152 265 0.111s 0.007s 02 0 0 307 49 0.001s 0.001s 03 0 72 47 61 0.001s 0.002s 04 0 128 141 86 0.002s 0.002s 05 0 120 61 62 0.001s 0.002s 06 0 113 9,121 764 0.800s 0.246s 07 0 28 4,330 414 0.785s 0.146s 08 0 0 1,348 128 0.068s 0.007s 09 0 33 915 459 0.094s 0.004s 10 0 0 580 288 0.001s 0.003s 11 0 10 0 124 0.001s 0.002s 12 0 26 0 126 0.001s 0.002s 13 0 0 0 56 0.001s 0.002s 14 0 0 0 165 0.001s 0.002s 15 0 0 0 120 0.001s 0.001s 16 0 160 0 58 0.001s 0.001s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 26 0.001s 0.002s 19 0 0 0 27 0.001s 0.001s 20 0 0 0 25 0.001s 0.002s 21 0 0 0 27 0.002s 0.002s 22 0 0 0 49 0.001s 0.002s 23 0 0 0 24 0.001s 0.002s Day Hour Count Avg time (sec) Oct 29 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Oct 29 00 8,638,901.40 kB 9,225,386.80 kB 01 8,816,343.25 kB 9,496,179.25 kB 02 5,028,176.00 kB 8,956,680.00 kB 03 976,388.50 kB 7,779,031.50 kB 04 2,200,975.00 kB 6,719,618.00 kB 05 1,486,974.00 kB 5,718,842.50 kB 06 8,404,239.72 kB 8,781,021.78 kB 07 8,925,723.62 kB 9,149,215.75 kB 08 7,363,637.33 kB 8,826,986.33 kB 09 5,177,219.33 kB 8,387,946.33 kB 10 3,341,480.67 kB 8,047,116.33 kB 11 78,383.00 kB 6,218,919.00 kB 12 214,720.50 kB 5,078,147.50 kB 13 247.50 kB 4,113,346.50 kB 14 642.00 kB 3,331,915.00 kB 15 478.50 kB 2,698,938.50 kB 16 2,622,306.00 kB 2,622,306.00 kB 17 32.00 kB 2,242,076.00 kB 18 49.00 kB 1,816,090.00 kB 19 1,183.00 kB 1,548,576.00 kB 20 96.00 kB 1,324,046.50 kB 21 105.00 kB 1,072,497.50 kB 22 925.00 kB 868,898.50 kB 23 70.00 kB 703,823.50 kB -
Temporary Files
Size of temporary files
Key values
- 13.00 GiB Temp Files size Peak
- 2026-10-29 14:36:30 Date
Number of temporary files
Key values
- 24 per second Temp Files Peak
- 2026-10-29 06:26:14 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Oct 29 00 166 32.25 GiB 198.96 MiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 783 140.30 GiB 183.49 MiB 07 239 35.94 GiB 154.00 MiB 08 0 0 0 09 0 0 0 10 10 9.38 GiB 960.76 MiB 11 0 0 0 12 0 0 0 13 0 0 0 14 54 53.60 GiB 1016.46 MiB 15 0 0 0 16 60 777.45 MiB 12.96 MiB 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 942 174.57 GiB 128.00 KiB 1.00 GiB 189.77 MiB vacuum full analyze;-
VACUUM FULL ANALYZE;
Date: 2026-10-29 07:10:45 Duration: 52m25s
-
VACUUM FULL ANALYZE;
Date: 2026-10-29 06:18:22 Duration: 0ms
2 60 777.45 MiB 7.47 MiB 28.30 MiB 12.96 MiB vacuum full analyze term;-
vacuum FULL analyze TERM;
Date: 2026-10-29 16:13:56 Duration: 1m24s
-
vacuum FULL analyze TERM;
Date: 2026-10-29 16:12:43 Duration: 0ms Database: ctdprd51 User: pub2 Application: pgAdmin 4 - CONN:2371216
3 60 777.45 MiB 6.91 MiB 29.66 MiB 12.96 MiB cluster pub2.term;-
CLUSTER pub2.TERM;
Date: 2026-10-29 06:17:30 Duration: 1m6s
-
CLUSTER pub2.TERM;
Date: 2026-10-29 06:16:32 Duration: 0ms
4 25 16.34 GiB 8.00 KiB 1.00 GiB 669.38 MiB alter table pub2.term_enrichment_agent add constraint term_enrichment_agent_pk primary key (term_id, enriched_term_id, agent_term_id);-
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2026-10-29 00:35:30 Duration: 2m50s
-
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2026-10-29 00:35:29 Duration: 0ms
5 20 937.77 MiB 28.94 MiB 77.12 MiB 46.89 MiB cluster pub2.term_label;-
CLUSTER pub2.TERM_LABEL;
Date: 2026-10-29 06:18:18 Duration: 48s113ms
-
CLUSTER pub2.TERM_LABEL;
Date: 2026-10-29 06:17:40 Duration: 0ms
6 15 11.67 GiB 261.86 MiB 1.00 GiB 796.87 MiB create index ix_term_enrich_agent_enr_term on pub2.term_enrichment_agent using btree (enriched_term_id);-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);
Date: 2026-10-29 00:32:39 Duration: 1m43s
-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);
Date: 2026-10-29 00:32:39 Duration: 0ms
7 10 9.38 GiB 391.55 MiB 1.00 GiB 960.76 MiB select pub2.maint_cached_value_refresh_data_metrics ();-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2026-10-29 10:27:41 Duration: 40m19s
-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2026-10-29 10:22:45 Duration: 0ms
8 10 68.65 MiB 8.00 KiB 14.16 MiB 6.86 MiB alter table pub2.phenotype_term add constraint phenotype_term_pk primary key (phenotype_id, term_id);-
ALTER TABLE pub2.phenotype_term ADD CONSTRAINT phenotype_term_pk PRIMARY KEY (phenotype_id, term_id);
Date: 2026-10-29 00:53:21 Duration: 0ms
9 10 157.87 MiB 8.00 KiB 32.12 MiB 15.79 MiB alter table pub2.term_enrichment add constraint term_enrichment_pk primary key (term_id, enriched_term_id);-
ALTER TABLE pub2.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2026-10-29 00:17:54 Duration: 0ms
10 10 689.10 MiB 8.00 KiB 141.53 MiB 68.91 MiB alter table pub2.gene_disease add constraint gene_disease_pk primary key (gene_id, disease_id);-
ALTER TABLE pub2.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2026-10-29 00:53:19 Duration: 6s715ms
-
ALTER TABLE pub2.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2026-10-29 00:53:19 Duration: 0ms
11 8 68.41 MiB 8.00 KiB 17.47 MiB 8.55 MiB alter table pub2.chem_disease add constraint chem_disease_pk primary key (chem_id, disease_id);-
ALTER TABLE pub2.chem_disease ADD CONSTRAINT chem_disease_pk PRIMARY KEY (chem_id, disease_id);
Date: 2026-10-29 00:53:24 Duration: 0ms
12 6 5.75 GiB 765.12 MiB 1.00 GiB 980.85 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-10-29 14:44:39 Duration: 0ms
13 5 688.93 MiB 137.37 MiB 138.37 MiB 137.79 MiB create index ix_gene_disease_ind_chem_qty on pub2.gene_disease using btree (indirect_chem_qty) where (indirect_chem_qty > ?);-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub2.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2026-10-29 00:53:12 Duration: 6s984ms
-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub2.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2026-10-29 00:53:12 Duration: 0ms
14 5 157.84 MiB 22.38 MiB 37.35 MiB 31.57 MiB create index ix_term_enrich_obj_type on pub2.term_enrichment using btree (object_type_id);-
CREATE INDEX ix_term_enrich_obj_type ON pub2.term_enrichment USING btree (object_type_id);
Date: 2026-10-29 00:17:40 Duration: 0ms Database: ctdprd51 User: pub2
15 5 689.05 MiB 136.12 MiB 138.80 MiB 137.81 MiB create index ix_gene_disease_network_score on pub2.gene_disease using btree (network_score);-
CREATE INDEX ix_gene_disease_network_score ON pub2.gene_disease USING btree (network_score);
Date: 2026-10-29 00:53:04 Duration: 14s412ms
-
CREATE INDEX ix_gene_disease_network_score ON pub2.gene_disease USING btree (network_score);
Date: 2026-10-29 00:53:04 Duration: 0ms
16 5 157.83 MiB 30.78 MiB 32.10 MiB 31.57 MiB create index ix_term_enrich_enr_obj_type on pub2.term_enrichment using btree (enriched_object_type_id);-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub2.term_enrichment USING btree (enriched_object_type_id);
Date: 2026-10-29 00:17:43 Duration: 0ms
17 5 689.06 MiB 136.07 MiB 138.91 MiB 137.81 MiB create index ix_gene_disease_disease on pub2.gene_disease using btree (disease_id);-
CREATE INDEX ix_gene_disease_disease ON pub2.gene_disease USING btree (disease_id);
Date: 2026-10-29 00:52:50 Duration: 6s929ms
-
CREATE INDEX ix_gene_disease_disease ON pub2.gene_disease USING btree (disease_id);
Date: 2026-10-29 00:52:50 Duration: 0ms Database: ctdprd51 User: pub2
18 5 40.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_gene_disease_exp_ref_qty on pub2.gene_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_gene_disease_exp_ref_qty ON pub2.gene_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2026-10-29 00:53:12 Duration: 0ms
19 5 680.00 KiB 120.00 KiB 152.00 KiB 136.00 KiB create index ix_gene_disease_cur_ref_qty on pub2.gene_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_gene_disease_cur_ref_qty ON pub2.gene_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2026-10-29 00:53:05 Duration: 0ms
20 5 220.32 MiB 43.43 MiB 44.85 MiB 44.06 MiB create index ix_term_enrich_corr_p_val on pub2.term_enrichment using btree (corrected_p_val);-
CREATE INDEX ix_term_enrich_corr_p_val ON pub2.term_enrichment USING btree (corrected_p_val);
Date: 2026-10-29 00:17:47 Duration: 0ms
21 5 220.31 MiB 42.64 MiB 45.53 MiB 44.06 MiB create index ix_term_enrich_raw_p_val on pub2.term_enrichment using btree (raw_p_val);-
CREATE INDEX ix_term_enrich_raw_p_val ON pub2.term_enrichment USING btree (raw_p_val);
Date: 2026-10-29 00:17:52 Duration: 0ms
22 5 68.59 MiB 12.70 MiB 14.04 MiB 13.72 MiB create index ix_phenotype_term_term_id on pub2.phenotype_term using btree (term_id);-
CREATE INDEX ix_phenotype_term_term_id ON pub2.phenotype_term USING btree (term_id);
Date: 2026-10-29 00:53:21 Duration: 0ms
23 5 68.60 MiB 12.24 MiB 14.23 MiB 13.72 MiB create index ix_phenotype_term_phenotype_id on pub2.phenotype_term using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_phenotype_id ON pub2.phenotype_term USING btree (phenotype_id);
Date: 2026-10-29 00:53:20 Duration: 0ms
24 5 157.82 MiB 28.13 MiB 33.73 MiB 31.56 MiB create index ix_term_enrich_tgt_match on pub2.term_enrichment using btree (target_match_qty);-
CREATE INDEX ix_term_enrich_tgt_match ON pub2.term_enrichment USING btree (target_match_qty);
Date: 2026-10-29 00:17:42 Duration: 0ms
25 4 15.71 MiB 8.00 KiB 8.39 MiB 3.93 MiB alter table pub2.phenotype_term_axn add constraint phenotype_term_axn_pk primary key (phenotype_id, term_id, action_type_nm, action_degree_type_nm);-
ALTER TABLE pub2.phenotype_term_axn ADD CONSTRAINT phenotype_term_axn_pk PRIMARY KEY (phenotype_id, term_id, action_type_nm, action_degree_type_nm);
Date: 2026-10-29 00:53:23 Duration: 0ms
26 4 67.49 MiB 16.55 MiB 17.21 MiB 16.87 MiB create index ix_chem_disease_ind_gene_qty on pub2.chem_disease using btree (indirect_gene_qty) where (indirect_gene_qty > ?);-
CREATE INDEX ix_chem_disease_ind_gene_qty ON pub2.chem_disease USING btree (indirect_gene_qty) WHERE (indirect_gene_qty > 0);
Date: 2026-10-29 00:53:23 Duration: 0ms
27 4 68.38 MiB 14.42 MiB 18.38 MiB 17.09 MiB create index ix_chem_disease_network_score on pub2.chem_disease using btree (network_score);-
CREATE INDEX ix_chem_disease_network_score ON pub2.chem_disease USING btree (network_score);
Date: 2026-10-29 00:53:26 Duration: 0ms
28 4 2.04 MiB 504.00 KiB 536.00 KiB 522.00 KiB create index ix_chem_disease_cur_ref_qty on pub2.chem_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_chem_disease_cur_ref_qty ON pub2.chem_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2026-10-29 00:53:23 Duration: 0ms
29 4 32.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_chem_disease_exp_ref_qty on pub2.chem_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_chem_disease_exp_ref_qty ON pub2.chem_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2026-10-29 00:53:24 Duration: 0ms
30 4 68.38 MiB 16.11 MiB 17.52 MiB 17.09 MiB create index ix_chem_disease_disease on pub2.chem_disease using btree (disease_id);-
CREATE INDEX ix_chem_disease_disease ON pub2.chem_disease USING btree (disease_id);
Date: 2026-10-29 00:53:26 Duration: 0ms
31 2 7.12 MiB 3.19 MiB 3.93 MiB 3.56 MiB create index ix_phenotype_term_axn_term_id on pub2.phenotype_term_axn using btree (term_id);-
CREATE INDEX ix_phenotype_term_axn_term_id ON pub2.phenotype_term_axn USING btree (term_id);
Date: 2026-10-29 00:53:22 Duration: 0ms
32 2 7.12 MiB 3.42 MiB 3.70 MiB 3.56 MiB create index ix_phenotype_term_axn_phenotype_id on pub2.phenotype_term_axn using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_axn_phenotype_id ON pub2.phenotype_term_axn USING btree (phenotype_id);
Date: 2026-10-29 00:53:22 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-10-29 00:32:39 ]
2 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-10-29 00:32:39 ]
3 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-10-29 00:32:39 ]
4 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-10-29 00:32:39 ]
5 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-10-29 00:32:39 ]
6 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-10-29 00:32:39 ]
7 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-10-29 00:32:39 ]
8 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-10-29 00:32:39 ]
9 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-10-29 00:32:39 ]
10 1.00 GiB CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);[ Date: 2026-10-29 00:32:39 ]
11 1.00 GiB ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);[ Date: 2026-10-29 00:35:29 ]
12 1.00 GiB ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);[ Date: 2026-10-29 00:35:29 ]
13 1.00 GiB ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);[ Date: 2026-10-29 00:35:29 ]
14 1.00 GiB ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);[ Date: 2026-10-29 00:35:29 ]
15 1.00 GiB ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);[ Date: 2026-10-29 00:35:29 ]
16 1.00 GiB ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);[ Date: 2026-10-29 00:35:30 ]
17 1.00 GiB ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);[ Date: 2026-10-29 00:35:30 ]
18 1.00 GiB ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);[ Date: 2026-10-29 00:35:30 ]
19 1.00 GiB ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);[ Date: 2026-10-29 00:35:30 ]
20 1.00 GiB ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);[ Date: 2026-10-29 00:35:30 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 220.11 sec Highest CPU-cost vacuum
Table pub2.gene_disease
Database ctdprd51 - 2026-10-29 01:30:51 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 220.11 sec Highest CPU-cost vacuum
Table pub2.gene_disease
Database ctdprd51 - 2026-10-29 01:30:51 Date
Analyzes per table
Key values
- pubc.log_query (16) Main table analyzed (database ctdprd51)
- 65 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 16 ctdprd51.pub2.term_set_enrichment_agent 3 ctdprd51.pub2.term_set_enrichment 3 ctdprd51.pub2.term 2 ctdprd51.pub2.phenotype_term 2 ctdprd51.pub2.reference 2 ctdprd51.pg_catalog.pg_class 2 ctdprd51.pub2.exp_receptor_race 1 ctdprd51.pub2.ixn 1 ctdprd51.pub1.term_set_enrichment 1 ctdprd51.pub2.country 1 ctdprd51.pub2.reference_exp 1 ctdprd51.pub2.gene_chem_ref_gene_form 1 ctdprd51.pub2.term_reference 1 ctdprd51.pub2.medium 1 ctdprd51.pub2.geographic_region 1 ctdprd51.pub2.exp_stressor_stressor_src 1 ctdprd51.pg_catalog.pg_attribute 1 ctdprd51.pub2.exp_event_location 1 ctdprd51.pg_catalog.pg_type 1 ctdprd51.pub2.dag_node 1 ctdprd51.pub2.term_comp 1 ctdprd51.pub1.term_set_enrichment_agent 1 ctdprd51.pub2.exp_outcome 1 ctdprd51.pub2.gene_gene 1 ctdprd51.pub2.exp_event_project 1 ctdprd51.pub2.exposure 1 ctdprd51.pub2.exp_receptor_tobacco_use 1 ctdprd51.pub2.exp_stressor 1 ctdprd51.pub2.gene_gene_reference 1 ctdprd51.pub2.chem_disease 1 ctdprd51.pub2.exp_event_assay_method 1 ctdprd51.pub2.term_comp_agent 1 ctdprd51.pub2.exp_receptor 1 ctdprd51.pub2.gene_disease 1 ctdprd51.pub2.exp_event 1 ctdprd51.pub2.slim_term_mapping 1 ctdprd51.pub2.exp_anatomy 1 ctdprd51.pub2.gene_gene_ref_throughput 1 ctdprd51.pg_catalog.pg_depend 1 ctdprd51.pub2.exp_receptor_gender 1 ctdprd51.pub2.exp_study_factor 1 Total 65 Vacuums per table
Key values
- pub2.term_set_enrichment_agent (2) Main table vacuumed on database ctdprd51
- 46 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples ctdprd51.pub2.term_set_enrichment_agent 2 0 10,488 0 2 0 0 5,207 2 316,746 0 0 ctdprd51.pub2.phenotype_term 2 2 1,028,900 0 1,370 0 0 824,081 1,350 185,325,038 0 0 ctdprd51.pub2.term 2 2 2,254,092 0 732,679 0 0 1,421,344 589,848 1,238,687,682 0 0 ctdprd51.pg_toast.pg_toast_2619 2 2 8,627 0 4,581 0 19,530 7,901 2,362 1,417,211 0 0 ctdprd51.pg_catalog.pg_statistic 2 2 1,307 0 388 0 241 797 301 1,339,333 0 0 ctdprd51.pub2.term_set_enrichment 2 0 680 0 66 0 0 248 3 35,134 0 0 ctdprd51.pub2.reference 2 2 606,610 0 39,720 0 0 383,106 86,777 219,471,231 0 0 ctdprd51.pub2.term_reference 1 0 41,600 0 5 0 0 20,745 2 1,234,722 0 0 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 36,943 0 6 0 0 18,421 2 1,098,934 0 0 ctdprd51.pub2.reference_exp 1 0 350 0 3 0 0 138 1 16,561 0 0 ctdprd51.pub1.term_set_enrichment 1 0 2,396 0 1,821 0 0 2,055 2 136,968 0 0 ctdprd51.pub2.ixn 1 1 1,678,056 0 116 0 0 1,114,430 22 76,503,245 0 0 ctdprd51.pub2.exp_receptor_race 1 0 1,457 0 3 0 0 693 1 49,306 0 0 ctdprd51.pub2.exp_event_location 1 0 3,930 0 3 0 0 1,914 1 121,345 0 0 ctdprd51.pg_catalog.pg_attribute 1 1 648 0 130 0 37 288 111 632,009 0 0 ctdprd51.pub2.exp_stressor_stressor_src 1 0 3,083 0 4 0 0 1,513 1 97,686 0 0 ctdprd51.pg_toast.pg_toast_12729036 1 1 92 0 5 0 0 50 1 11,631 0 0 ctdprd51.pub2.chem_disease 1 1 282,786 0 26,515 0 0 172,769 47,885 156,458,472 0 0 ctdprd51.pub2.gene_gene_reference 1 0 34,026 0 3 0 0 16,936 1 1,007,643 0 0 ctdprd51.pubc.log_query 1 1 274 0 66 0 0 108 50 327,315 0 0 ctdprd51.pub2.exp_stressor 1 0 7,201 0 3 0 0 3,571 1 219,108 0 0 ctdprd51.pub2.exposure 1 0 4,253 0 3 0 0 2,073 1 130,726 0 0 ctdprd51.pg_catalog.pg_class 1 1 378 0 26 0 0 176 23 122,698 0 0 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 1,330 0 3 0 0 630 1 45,589 0 0 ctdprd51.pub2.exp_event_project 1 0 2,464 0 3 0 0 1,210 1 79,809 0 0 ctdprd51.pub2.gene_gene 1 0 13,599 0 5 0 0 6,747 2 409,648 0 0 ctdprd51.pub2.exp_outcome 1 0 1,045 0 3 0 0 465 1 35,854 0 0 ctdprd51.pg_catalog.pg_type 1 1 152 0 41 0 0 64 33 134,573 0 0 ctdprd51.pub2.dag_node 1 1 339,248 0 632 0 0 290,639 625 98,764,004 0 0 ctdprd51.pub2.exp_study_factor 1 0 115 0 16 0 0 12 2 12,531 0 0 ctdprd51.pub2.gene_gene_ref_throughput 1 0 16,299 0 4 0 0 8,127 2 491,696 0 0 ctdprd51.pub2.exp_receptor_gender 1 0 3,059 0 3 0 0 1,514 1 97,745 0 0 ctdprd51.pub2.exp_anatomy 1 0 173 0 3 0 0 40 1 10,779 0 0 ctdprd51.pub2.slim_term_mapping 1 0 640 0 4 0 0 265 2 27,458 0 0 ctdprd51.pub2.exp_event 1 0 14,270 0 4 0 0 7,057 2 427,946 0 0 ctdprd51.pub2.gene_disease 1 1 3,165,120 0 638,086 0 0 1,742,825 590,249 2,191,666,706 0 0 ctdprd51.pub2.exp_receptor 1 0 8,328 0 3 0 0 4,135 1 252,384 0 0 ctdprd51.pub2.term_comp_agent 1 0 147 0 3 0 0 47 1 11,192 0 0 ctdprd51.pub2.exp_event_assay_method 1 0 5,663 0 3 0 0 2,803 1 173,796 0 0 Total 46 19 9,579,829 186,356 1,446,334 0 19,808 6,065,144 1,319,673 4,177,402,454 0 0 Vacuum throughput per table
Key values
- pub2.gene_disease (220.11) 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.pub2.term_set_enrichment_agent 0 0 0.13 ctdprd51.pub2.phenotype_term 0 0 27.13 ctdprd51.pub2.term 0 0 211.83 ctdprd51.pg_toast.pg_toast_2619 0 0 1.21 ctdprd51.pg_catalog.pg_statistic 0 0 0.1 ctdprd51.pub2.term_set_enrichment 0 0 0.01 ctdprd51.pub2.reference 0 0 19.65 ctdprd51.pub2.term_reference 0 0 0.6 ctdprd51.pub2.gene_chem_ref_gene_form 0 0 0.54 ctdprd51.pub2.reference_exp 0 0 0 ctdprd51.pub1.term_set_enrichment 0 0 0.45 ctdprd51.pub2.ixn 0 0 20.83 ctdprd51.pub2.exp_receptor_race 0 0 0.02 ctdprd51.pub2.exp_event_location 0 0 0.05 ctdprd51.pg_catalog.pg_attribute 0 0 0.04 ctdprd51.pub2.exp_stressor_stressor_src 0 0 0.04 ctdprd51.pg_toast.pg_toast_12729036 0 0 0 ctdprd51.pub2.chem_disease 0 0 12.04 ctdprd51.pub2.gene_gene_reference 0 0 0.47 ctdprd51.pubc.log_query 0 0 0.03 ctdprd51.pub2.exp_stressor 0 0 0.08 ctdprd51.pub2.exposure 0 0 0.05 ctdprd51.pg_catalog.pg_class 0 0 0.01 ctdprd51.pub2.exp_receptor_tobacco_use 0 0 0.01 ctdprd51.pub2.exp_event_project 0 0 0.03 ctdprd51.pub2.gene_gene 0 0 0.41 ctdprd51.pub2.exp_outcome 0 0 0.01 ctdprd51.pg_catalog.pg_type 0 0 0.01 ctdprd51.pub2.dag_node 0 0 9.85 ctdprd51.pub2.exp_study_factor 0 0 0 ctdprd51.pub2.gene_gene_ref_throughput 0 0 0.25 ctdprd51.pub2.exp_receptor_gender 0 0 0.04 ctdprd51.pub2.exp_anatomy 0 0 0 ctdprd51.pub2.slim_term_mapping 0 0 0.02 ctdprd51.pub2.exp_event 0 0 0.16 ctdprd51.pub2.gene_disease 0 0 220.11 ctdprd51.pub2.exp_receptor 0 0 0.09 ctdprd51.pub2.term_comp_agent 0 0 0 ctdprd51.pub2.exp_event_assay_method 0 0 0.07 Total 0 0 526.37 Tuples removed per table
Key values
- pub2.gene_disease (36055110) Main table with removed tuples on database ctdprd51
- 65346051 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pub2.gene_disease 1 1 36,055,110 36,055,110 0 0 530,223 ctdprd51.pub2.phenotype_term 2 2 21,539,426 7,177,174 0 0 268,381 ctdprd51.pub2.chem_disease 1 1 3,577,214 3,577,214 0 0 52,557 ctdprd51.pub2.term 2 2 2,221,838 4,430,136 0 0 561,802 ctdprd51.pub2.dag_node 1 1 1,831,269 1,823,338 0 0 87,601 ctdprd51.pub2.ixn 1 1 58,061 2,581,731 0 0 615,479 ctdprd51.pub2.reference 2 2 52,387 408,116 0 0 169,153 ctdprd51.pg_toast.pg_toast_2619 2 2 8,933 45,894 703 0 25,184 ctdprd51.pg_catalog.pg_statistic 2 2 913 6,526 90 0 820 ctdprd51.pg_catalog.pg_attribute 1 1 560 8,974 0 0 238 ctdprd51.pg_catalog.pg_type 1 1 119 1,171 0 0 35 ctdprd51.pg_catalog.pg_class 1 1 88 1,835 0 0 94 ctdprd51.pg_toast.pg_toast_12729036 1 1 69 72 0 0 22 ctdprd51.pubc.log_query 1 1 64 1,100 1 0 43 ctdprd51.pub2.term_set_enrichment_agent 2 0 0 703,330 0 0 7,993 ctdprd51.pub2.term_reference 1 0 0 3,837,617 0 0 20,744 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 0 3,400,669 0 0 18,420 ctdprd51.pub2.reference_exp 1 0 0 3,789 0 0 137 ctdprd51.pub1.term_set_enrichment 1 0 0 638,956 0 0 10,580 ctdprd51.pub2.exp_receptor_race 1 0 0 106,651 0 0 692 ctdprd51.pub2.exp_event_location 1 0 0 286,374 0 0 1,913 ctdprd51.pub2.exp_stressor_stressor_src 1 0 0 341,516 0 0 1,512 ctdprd51.pub2.gene_gene_reference 1 0 0 1,552,451 0 0 16,935 ctdprd51.pub2.exp_stressor 1 0 0 243,129 0 0 3,570 ctdprd51.pub2.term_set_enrichment 2 0 0 25,495 0 0 424 ctdprd51.pub2.exposure 1 0 0 251,196 0 0 2,072 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 0 89,041 0 0 629 ctdprd51.pub2.exp_event_project 1 0 0 115,946 0 0 1,209 ctdprd51.pub2.gene_gene 1 0 0 1,247,994 0 0 6,746 ctdprd51.pub2.exp_outcome 1 0 0 51,545 0 0 464 ctdprd51.pub2.exp_study_factor 1 0 0 1,817 0 0 11 ctdprd51.pub2.gene_gene_ref_throughput 1 0 0 1,560,116 0 0 8,126 ctdprd51.pub2.exp_receptor_gender 1 0 0 218,801 0 0 1,513 ctdprd51.pub2.exp_anatomy 1 0 0 4,551 0 0 39 ctdprd51.pub2.slim_term_mapping 1 0 0 33,521 0 0 264 ctdprd51.pub2.exp_event 1 0 0 238,798 0 0 7,056 ctdprd51.pub2.exp_receptor 1 0 0 221,591 0 0 4,134 ctdprd51.pub2.term_comp_agent 1 0 0 4,773 0 0 46 ctdprd51.pub2.exp_event_assay_method 1 0 0 277,521 0 0 2,802 Total 46 19 65,346,051 71,575,579 794 0 2,429,663 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.pub2.term_set_enrichment_agent 2 0 0 0 ctdprd51.pub2.term_reference 1 0 0 0 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 0 0 ctdprd51.pub2.reference_exp 1 0 0 0 ctdprd51.pub1.term_set_enrichment 1 0 0 0 ctdprd51.pub2.ixn 1 1 58061 0 ctdprd51.pub2.phenotype_term 2 2 21539426 0 ctdprd51.pub2.exp_receptor_race 1 0 0 0 ctdprd51.pub2.term 2 2 2221838 0 ctdprd51.pub2.exp_event_location 1 0 0 0 ctdprd51.pg_catalog.pg_attribute 1 1 560 0 ctdprd51.pub2.exp_stressor_stressor_src 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 2 2 8933 0 ctdprd51.pg_toast.pg_toast_12729036 1 1 69 0 ctdprd51.pub2.chem_disease 1 1 3577214 0 ctdprd51.pub2.gene_gene_reference 1 0 0 0 ctdprd51.pubc.log_query 1 1 64 0 ctdprd51.pub2.exp_stressor 1 0 0 0 ctdprd51.pg_catalog.pg_statistic 2 2 913 0 ctdprd51.pub2.term_set_enrichment 2 0 0 0 ctdprd51.pub2.exposure 1 0 0 0 ctdprd51.pg_catalog.pg_class 1 1 88 0 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 0 0 ctdprd51.pub2.exp_event_project 1 0 0 0 ctdprd51.pub2.gene_gene 1 0 0 0 ctdprd51.pub2.exp_outcome 1 0 0 0 ctdprd51.pub2.reference 2 2 52387 0 ctdprd51.pg_catalog.pg_type 1 1 119 0 ctdprd51.pub2.dag_node 1 1 1831269 0 ctdprd51.pub2.exp_study_factor 1 0 0 0 ctdprd51.pub2.gene_gene_ref_throughput 1 0 0 0 ctdprd51.pub2.exp_receptor_gender 1 0 0 0 ctdprd51.pub2.exp_anatomy 1 0 0 0 ctdprd51.pub2.slim_term_mapping 1 0 0 0 ctdprd51.pub2.exp_event 1 0 0 0 ctdprd51.pub2.gene_disease 1 1 36055110 0 ctdprd51.pub2.exp_receptor 1 0 0 0 ctdprd51.pub2.term_comp_agent 1 0 0 0 ctdprd51.pub2.exp_event_assay_method 1 0 0 0 Total 46 19 65,346,051 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Oct 29 00 18 22 01 10 10 02 1 4 03 2 3 04 0 1 05 0 3 06 0 0 07 5 5 08 0 1 09 4 3 10 0 0 11 1 2 12 4 9 13 0 0 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 1 0 20 0 0 21 0 0 22 0 1 23 0 0 - 220.11 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- AccessShareLock Main Lock Type
- 1 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 52s213ms 52s213ms 52s213ms 52s213ms select refsunion.authors, refsunion.title, refsunion.citation, refsunion.yr, refsunion.refacc, refsunion.iscurated, refsunion.taxonlist, refsunion.fullrowcount, refsunion.sorttxt from ( select r.abbr_authors_txt authors, r.title title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, string_agg(distinct t.nm || ? || coalesce(t.secondary_nm, ?) || ? || t.acc_txt, ? order by t.nm || ? || coalesce(t.secondary_nm, ?) || ? || t.acc_txt) taxonlist, count(*) over () fullrowcount, r.sort_txt sorttxt from gene_chem_reference gcr inner join reference r on gcr.reference_id = r.id left outer join term t on gcr.taxon_id = t.id where gcr.ixn_id = ? group by r.abbr_authors_txt, r.title, r.core_citation_txt, r.pub_start_yr, r.acc_txt, r.has_diseases, r.has_phenotypes, r.has_exposures, r.has_ixns, r.sort_txt union select r.abbr_authors_txt authors, r.title title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, string_agg(distinct t.nm || ? || t.secondary_nm || ? || t.acc_txt, ? order by t.nm || ? || t.secondary_nm || ? || t.acc_txt) taxonlist, count(*) over () fullrowcount, r.sort_txt sorttxt from phenotype_term_reference ptr inner join reference r on ptr.reference_id = r.id left outer join term t on ptr.taxon_id = t.id where ptr.ixn_id = ? group by r.abbr_authors_txt, r.title, r.core_citation_txt, r.pub_start_yr, r.acc_txt, r.has_diseases, r.has_phenotypes, r.has_exposures, r.has_ixns, r.sort_txt) as refsunion order by sorttxt limit ?;-
select refsUnion.authors, refsUnion.title, refsUnion.citation, refsUnion.yr, refsUnion.refAcc, refsUnion.isCurated, refsUnion.taxonList, refsUnion.fullRowCount, refsUnion.sortTxt from ( SELECT /* ChemGeneIxnRefsDAO */ r.abbr_authors_txt authors, r.title title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes isCurated, STRING_AGG(DISTINCT t.nm || '^' || COALESCE(t.secondary_nm, '') || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || COALESCE(t.secondary_nm, '') || '^' || t.acc_txt) taxonList, COUNT(*) OVER () fullRowCount, r.sort_txt sortTxt FROM gene_chem_reference gcr INNER JOIN reference r ON gcr.reference_id = r.id LEFT OUTER JOIN term t ON gcr.taxon_id = t.id WHERE gcr.ixn_id = $1 GROUP BY r.abbr_authors_txt, r.title, r.core_citation_txt, r.pub_start_yr, r.acc_txt, r.has_diseases, r.has_phenotypes, r.has_exposures, r.has_ixns, r.sort_txt UNION SELECT /* PhenoIxnRefsDAO */ r.abbr_authors_txt authors, r.title title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes isCurated, STRING_AGG(DISTINCT t.nm || '^' || t.secondary_nm || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || t.secondary_nm || '^' || t.acc_txt) taxonList, COUNT(*) OVER () fullRowCount, r.sort_txt sortTxt FROM phenotype_term_reference ptr INNER JOIN reference r ON ptr.reference_id = r.id LEFT OUTER JOIN term t ON ptr.taxon_id = t.id WHERE ptr.ixn_id = $2 GROUP BY r.abbr_authors_txt, r.title, r.core_citation_txt, r.pub_start_yr, r.acc_txt, r.has_diseases, r.has_phenotypes, r.has_exposures, r.has_ixns, r.sort_txt) as refsUnion ORDER BY sortTxt LIMIT 50;
Date: 2026-10-29 16:13:47
Queries that waited the most
Rank Wait time Query 1 52s213ms select refsUnion.authors, refsUnion.title, refsUnion.citation, refsUnion.yr, refsUnion.refAcc, refsUnion.isCurated, refsUnion.taxonList, refsUnion.fullRowCount, refsUnion.sortTxt from ( SELECT /* ChemGeneIxnRefsDAO */ r.abbr_authors_txt authors, r.title title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes isCurated, STRING_AGG(DISTINCT t.nm || '^' || COALESCE(t.secondary_nm, '') || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || COALESCE(t.secondary_nm, '') || '^' || t.acc_txt) taxonList, COUNT(*) OVER () fullRowCount, r.sort_txt sortTxt FROM gene_chem_reference gcr INNER JOIN reference r ON gcr.reference_id = r.id LEFT OUTER JOIN term t ON gcr.taxon_id = t.id WHERE gcr.ixn_id = $1 GROUP BY r.abbr_authors_txt, r.title, r.core_citation_txt, r.pub_start_yr, r.acc_txt, r.has_diseases, r.has_phenotypes, r.has_exposures, r.has_ixns, r.sort_txt UNION SELECT /* PhenoIxnRefsDAO */ r.abbr_authors_txt authors, r.title title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes isCurated, STRING_AGG(DISTINCT t.nm || '^' || t.secondary_nm || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || t.secondary_nm || '^' || t.acc_txt) taxonList, COUNT(*) OVER () fullRowCount, r.sort_txt sortTxt FROM phenotype_term_reference ptr INNER JOIN reference r ON ptr.reference_id = r.id LEFT OUTER JOIN term t ON ptr.taxon_id = t.id WHERE ptr.ixn_id = $2 GROUP BY r.abbr_authors_txt, r.title, r.core_citation_txt, r.pub_start_yr, r.acc_txt, r.has_diseases, r.has_phenotypes, r.has_exposures, r.has_ixns, r.sort_txt) as refsUnion ORDER BY sortTxt LIMIT 50;[ Date: 2026-10-29 16:13:47 ]
-
Queries
Queries by type
Key values
- 105 Total read queries
- 65 Total write queries
Queries by database
Key values
- unknown Main database
- 106 Requests
- 10h4m10s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 250 Requests
User Request type Count Duration edit Total 1 9s162ms insert 1 9s162ms load Total 24 1h4m2s select 24 1h4m2s postgres Total 16 17m55s copy to 16 17m55s pub1 Total 1 20s201ms select 1 20s201ms pub2 Total 6 18m28s insert 3 18m6s select 3 21s600ms pubc Total 1 9m26s select 1 9m26s pubeu Total 67 23m18s cte 8 5m30s select 59 17m48s qaeu Total 21 50m10s select 21 50m10s unknown Total 250 14h41m27s copy to 56 12m3s ddl 35 42m5s insert 17 52m15s others 19 1h1m33s select 115 11h17m update 8 36m28s Duration by user
Key values
- 14h41m27s (unknown) Main time consuming user
User Request type Count Duration edit Total 1 9s162ms insert 1 9s162ms load Total 24 1h4m2s select 24 1h4m2s postgres Total 16 17m55s copy to 16 17m55s pub1 Total 1 20s201ms select 1 20s201ms pub2 Total 6 18m28s insert 3 18m6s select 3 21s600ms pubc Total 1 9m26s select 1 9m26s pubeu Total 67 23m18s cte 8 5m30s select 59 17m48s qaeu Total 21 50m10s select 21 50m10s unknown Total 250 14h41m27s copy to 56 12m3s ddl 35 42m5s insert 17 52m15s others 19 1h1m33s select 115 11h17m update 8 36m28s Queries by host
Key values
- unknown Main host
- 387 Requests
- 17h45m19s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 168 Requests
- 11h7m33s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-10-29 08:45:51 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 103 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 2h36m40s SELECT maint_term_derive_nm_fts ();[ Date: 2026-10-29 06:11:20 - Bind query: yes ]
2 2h25m41s select pub2.maint_term_derive_data ();[ Date: 2026-10-29 09:36:50 - Bind query: yes ]
3 1h58m28s select pub2.maint_gene_chem_ref_gene_form_refresh ();[ Date: 2026-10-29 03:31:34 - Bind query: yes ]
4 52m25s VACUUM FULL ANALYZE;[ Date: 2026-10-29 07:10:45 - Bind query: yes ]
5 40m19s select pub2.maint_cached_value_refresh_data_metrics ();[ Date: 2026-10-29 10:27:41 - Bind query: yes ]
6 38m47s SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;[ Date: 2026-10-29 13:24:30 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
7 27m8s update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.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 pub2.REFERENCE r where has_exposures = true));[ Date: 2026-10-29 01:27:10 - Bind query: yes ]
8 13m1s ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enr_agent_term_enr_fk FOREIGN KEY (term_id, enriched_term_id) REFERENCES term_enrichment (term_id, enriched_term_id);[ Date: 2026-10-29 00:30:56 - Bind query: yes ]
9 9m26s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2026-10-29 00:09:27 - Database: ctdprd51 - User: pubc - Application: psql ]
10 9m17s select pub2.maint_phenotype_term_derive_data ();[ Date: 2026-10-29 09:47:21 - Bind query: yes ]
11 3m17s SELECT maint_term_label_derive_nm_fts ();[ Date: 2026-10-29 06:14:48 - Bind query: yes ]
12 3m5s SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.DUPE}');[ Date: 2026-10-29 00:15:03 - Database: ctdprd51 - User: load - Application: pg_bulkload - Bind query: yes ]
13 2m57s INSERT INTO pub2.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 pub2.TERM WHERE id = gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub2.GENE_CHEM_REFERENCE UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = chem_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub2.GENE_CHEM_REFERENCE UNION SELECT taxon_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub2.GENE_CHEM_REFERENCE WHERE taxon_id IS NOT NULL UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = chem_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-DISEASE') as ixn_type_id FROM pub2.CHEM_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = disease_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-DISEASE') as ixn_type_id FROM pub2.CHEM_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT gene_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-DISEASE') as ixn_type_id FROM pub2.GENE_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = disease_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-DISEASE') as ixn_type_id FROM pub2.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 pub2.EXPOSURE e, pub2.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 pub2.EXPOSURE e, pub2.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 pub2.EXPOSURE e, pub2.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 pub2.EXPOSURE e, pub2.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 pub2.EXPOSURE e, pub2.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 pub2.TERM WHERE id = phenotype_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub2.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' UNION SELECT term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = term_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub2.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' UNION SELECT taxon_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub2.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 pub2.TERM WHERE id = from_gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub2.GENE_GENE_REFERENCE UNION SELECT to_gene_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = to_gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub2.GENE_GENE_REFERENCE UNION SELECT from_taxon_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = from_taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub2.GENE_GENE_REFERENCE UNION SELECT to_taxon_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = to_taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub2.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, pub2.TERM t, edit.IXN i, pub2.REFERENCE r WHERE ri.taxon_acc_txt = t.acc_txt AND t.object_type_id = ( SELECT id FROM pub2.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 pub2.EXP_ANATOMY ea, pub2.EXP_OUTCOME eo, pub2.EXPOSURE e, pub2.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 pub2.IXN i, pub2.IXN_ANATOMY ia, edit.REFERENCE_IXN ri, pub2.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 pub2.EXP_EVENT ee, pub2.EXPOSURE e, pub2.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-10-29 03:34:31 - Bind query: yes ]
14 2m50s ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);[ Date: 2026-10-29 00:35:30 - Bind query: yes ]
15 2m44s 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-10-29 14:42:54 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
16 2m30s update pub2.PHENOTYPE_TERM pt set exposure_reference_qty = ( select count(distinct reference_id) from pub2.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 pub2.REFERENCE r where has_exposures = true));[ Date: 2026-10-29 01:29:41 - Bind query: yes ]
17 2m14s update pub2.TERM set has_exposures = false;[ Date: 2026-10-29 00:56:43 - Bind query: yes ]
18 2m14s 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-10-29 14:39:26 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
19 1m54s COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;[ Date: 2026-10-29 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-10-29 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 2h36m40s 1 2h36m40s 2h36m40s 2h36m40s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 29 06 1 2h36m40s 2h36m40s -
SELECT maint_term_derive_nm_fts ();
Date: 2026-10-29 06:11:20 Duration: 2h36m40s Bind query: yes
2 2h25m41s 1 2h25m41s 2h25m41s 2h25m41s select pub2.maint_term_derive_data ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 29 09 1 2h25m41s 2h25m41s -
select pub2.maint_term_derive_data ();
Date: 2026-10-29 09:36:50 Duration: 2h25m41s Bind query: yes
3 1h58m28s 1 1h58m28s 1h58m28s 1h58m28s select pub2.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 29 03 1 1h58m28s 1h58m28s -
select pub2.maint_gene_chem_ref_gene_form_refresh ();
Date: 2026-10-29 03:31:34 Duration: 1h58m28s Bind query: yes
4 52m25s 1 52m25s 52m25s 52m25s vacuum full analyze;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 29 07 1 52m25s 52m25s -
VACUUM FULL ANALYZE;
Date: 2026-10-29 07:10:45 Duration: 52m25s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2026-10-29 06:18:22 Duration: 0ms
5 40m19s 1 40m19s 40m19s 40m19s select pub2.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 29 10 1 40m19s 40m19s -
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2026-10-29 10:27:41 Duration: 40m19s Bind query: yes
-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2026-10-29 10:22:45 Duration: 0ms
6 39m59s 14 5s211ms 38m47s 2m51s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 29 13 11 39m43s 3m36s 14 3 16s140ms 5s380ms [ User: qaeu - Total duration: 38m47s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-10-29 13:24:30 Duration: 38m47s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-10-29 13:39:37 Duration: 6s308ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-10-29 13:31:59 Duration: 6s57ms Bind query: yes
7 27m8s 1 27m8s 27m8s 27m8s update pub2.gene_disease gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.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 pub2.reference r where has_exposures = true));Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 29 01 1 27m8s 27m8s -
update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.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 pub2.REFERENCE r where has_exposures = true));
Date: 2026-10-29 01:27:10 Duration: 27m8s Bind query: yes
8 13m1s 1 13m1s 13m1s 13m1s alter table pub2.term_enrichment_agent add constraint term_enr_agent_term_enr_fk foreign key (term_id, enriched_term_id) references term_enrichment (term_id, enriched_term_id);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 29 00 1 13m1s 13m1s -
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enr_agent_term_enr_fk FOREIGN KEY (term_id, enriched_term_id) REFERENCES term_enrichment (term_id, enriched_term_id);
Date: 2026-10-29 00:30:56 Duration: 13m1s Bind query: yes
9 9m26s 1 9m26s 9m26s 9m26s select maint_query_logs_archive ();Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 29 00 1 9m26s 9m26s [ User: pubc - Total duration: 9m26s - Times executed: 1 ]
[ Application: psql - Total duration: 9m26s - Times executed: 1 ]
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2026-10-29 00:09:27 Duration: 9m26s Database: ctdprd51 User: pubc Application: psql
10 9m17s 1 9m17s 9m17s 9m17s select pub2.maint_phenotype_term_derive_data ();Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 29 09 1 9m17s 9m17s -
select pub2.maint_phenotype_term_derive_data ();
Date: 2026-10-29 09:47:21 Duration: 9m17s Bind query: yes
11 7m34s 4 1m52s 1m54s 1m53s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 29 06 1 1m53s 1m53s 10 1 1m54s 1m54s 14 1 1m52s 1m52s 18 1 1m53s 1m53s [ User: postgres - Total duration: 7m34s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m34s - 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-10-29 10:06:56 Duration: 1m54s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-10-29 18:06:55 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-10-29 06:06:55 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
12 3m49s 4 7s879ms 3m5s 57s376ms select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 29 00 4 3m49s 57s376ms [ User: load - Total duration: 3m49s - Times executed: 4 ]
[ Application: pg_bulkload - Total duration: 3m49s - Times executed: 4 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.DUPE}');
Date: 2026-10-29 00:15:03 Duration: 3m5s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.log,parse-badfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.DUPE}');
Date: 2026-10-29 00:52:40 Duration: 20s512ms Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.DUPE}');
Date: 2026-10-29 00:17:38 Duration: 15s593ms Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
13 3m25s 6 5s370ms 2m44s 34s209ms select phenotypeterm.nm "GOName", phenotypeterm.acc_txt "GOID", diseaseterm.nm "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( select string_agg(distinct chemtermnetwork.nm, ?)) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( select string_agg(distinct genetermnetwork.nm, ?)) "InferenceGeneSymbols" from phenotype_term_reference ptr inner join phenotype_term pt on ptr.phenotype_id = pt.phenotype_id and ptr.term_id = pt.term_id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id inner join term diseaseterm on ptr.term_id = diseaseterm.id and diseaseterm.object_type_id = ( select id from object_type where cd = ?) left outer join term genetermnetwork on ptr.via_term_id = genetermnetwork.id and genetermnetwork.object_type_id = ( select id from object_type where cd = ?) left outer join term chemtermnetwork on ptr.via_term_id = chemtermnetwork.id and chemtermnetwork.object_type_id = ( select id from object_type where cd = ?) where phenotypeterm.id in ( select dp.descendant_dag_node_id from dag_path dp where dp.ancestor_object_id = ( select id from term where nm = ?)) and ptr.source_cd = ? and ptr.phenotype_id = phenotypeterm.id and ptr.term_id = diseaseterm.id group by phenotypeterm.nm, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 29 14 6 3m25s 34s209ms [ User: qaeu - Total duration: 2m58s - 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-10-29 14:42:54 Duration: 2m44s 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-10-29 14:45:02 Duration: 13s982ms 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-10-29 14:43:09 Duration: 8s284ms Bind query: yes
14 3m17s 6 16s555ms 42s110ms 32s920ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 29 02 3 2m2s 40s787ms 05 1 41s790ms 41s790ms 07 2 33s368ms 16s684ms [ User: pubeu - Total duration: 2m38s - Times executed: 5 ]
-
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 = '2207276') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-10-29 02:38:40 Duration: 42s110ms 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 = '2207276') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-10-29 05:06:35 Duration: 41s790ms 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 = '2207276') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-10-29 02:38:13 Duration: 41s488ms Database: ctdprd51 User: pubeu Bind query: yes
15 3m17s 1 3m17s 3m17s 3m17s select maint_term_label_derive_nm_fts ();Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 29 06 1 3m17s 3m17s -
SELECT maint_term_label_derive_nm_fts ();
Date: 2026-10-29 06:14:48 Duration: 3m17s Bind query: yes
16 2m57s 1 2m57s 2m57s 2m57s insert into pub2.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 pub2.term where id = gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_chem_reference union select chem_id as term_id, ( select object_type_id from pub2.term where id = chem_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_chem_reference union select taxon_id as term_id, ( select object_type_id from pub2.term where id = taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_chem_reference where taxon_id is not null union select chem_id as term_id, ( select object_type_id from pub2.term where id = chem_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.chem_disease_reference where source_cd = ? union select disease_id as term_id, ( select object_type_id from pub2.term where id = disease_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.chem_disease_reference where source_cd = ? union select gene_id as term_id, ( select object_type_id from pub2.term where id = gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_disease_reference where source_cd = ? union select disease_id as term_id, ( select object_type_id from pub2.term where id = disease_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.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 pub2.exposure e, pub2.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 pub2.exposure e, pub2.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 pub2.exposure e, pub2.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 pub2.exposure e, pub2.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 pub2.exposure e, pub2.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 pub2.term where id = phenotype_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.phenotype_term_reference where source_cd = ? union select term_id, ( select object_type_id from pub2.term where id = term_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.phenotype_term_reference where source_cd = ? union select taxon_id as term_id, ( select object_type_id from pub2.term where id = taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.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 pub2.term where id = from_gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_gene_reference union select to_gene_id as term_id, ( select object_type_id from pub2.term where id = to_gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_gene_reference union select from_taxon_id as term_id, ( select object_type_id from pub2.term where id = from_taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_gene_reference union select to_taxon_id as term_id, ( select object_type_id from pub2.term where id = to_taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.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, pub2.term t, edit.ixn i, pub2.reference r where ri.taxon_acc_txt = t.acc_txt and t.object_type_id = ( select id from pub2.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 pub2.exp_anatomy ea, pub2.exp_outcome eo, pub2.exposure e, pub2.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 pub2.ixn i, pub2.ixn_anatomy ia, edit.reference_ixn ri, pub2.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 pub2.exp_event ee, pub2.exposure e, pub2.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 #16
Day Hour Count Duration Avg duration Oct 29 03 1 2m57s 2m57s -
INSERT INTO pub2.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 pub2.TERM WHERE id = gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub2.GENE_CHEM_REFERENCE UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = chem_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub2.GENE_CHEM_REFERENCE UNION SELECT taxon_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub2.GENE_CHEM_REFERENCE WHERE taxon_id IS NOT NULL UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = chem_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-DISEASE') as ixn_type_id FROM pub2.CHEM_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = disease_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-DISEASE') as ixn_type_id FROM pub2.CHEM_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT gene_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-DISEASE') as ixn_type_id FROM pub2.GENE_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = disease_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-DISEASE') as ixn_type_id FROM pub2.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 pub2.EXPOSURE e, pub2.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 pub2.EXPOSURE e, pub2.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 pub2.EXPOSURE e, pub2.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 pub2.EXPOSURE e, pub2.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 pub2.EXPOSURE e, pub2.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 pub2.TERM WHERE id = phenotype_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub2.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' UNION SELECT term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = term_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub2.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' UNION SELECT taxon_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub2.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 pub2.TERM WHERE id = from_gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub2.GENE_GENE_REFERENCE UNION SELECT to_gene_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = to_gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub2.GENE_GENE_REFERENCE UNION SELECT from_taxon_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = from_taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub2.GENE_GENE_REFERENCE UNION SELECT to_taxon_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = to_taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub2.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, pub2.TERM t, edit.IXN i, pub2.REFERENCE r WHERE ri.taxon_acc_txt = t.acc_txt AND t.object_type_id = ( SELECT id FROM pub2.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 pub2.EXP_ANATOMY ea, pub2.EXP_OUTCOME eo, pub2.EXPOSURE e, pub2.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 pub2.IXN i, pub2.IXN_ANATOMY ia, edit.REFERENCE_IXN ri, pub2.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 pub2.EXP_EVENT ee, pub2.EXPOSURE e, pub2.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-10-29 03:34:31 Duration: 2m57s Bind query: yes
17 2m50s 1 2m50s 2m50s 2m50s alter table pub2.term_enrichment_agent add constraint term_enrichment_agent_pk primary key (term_id, enriched_term_id, agent_term_id);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 29 00 1 2m50s 2m50s -
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2026-10-29 00:35:30 Duration: 2m50s Bind query: yes
-
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2026-10-29 00:35:29 Duration: 0ms
18 2m30s 1 2m30s 2m30s 2m30s update pub2.phenotype_term pt set exposure_reference_qty = ( select count(distinct reference_id) from pub2.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 pub2.reference r where has_exposures = true));Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 29 01 1 2m30s 2m30s -
update pub2.PHENOTYPE_TERM pt set exposure_reference_qty = ( select count(distinct reference_id) from pub2.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 pub2.REFERENCE r where has_exposures = true));
Date: 2026-10-29 01:29:41 Duration: 2m30s Bind query: yes
19 2m14s 1 2m14s 2m14s 2m14s update pub2.term set has_exposures = false;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 29 00 1 2m14s 2m14s -
update pub2.TERM set has_exposures = false;
Date: 2026-10-29 00:56:43 Duration: 2m14s Bind query: yes
20 2m14s 1 2m14s 2m14s 2m14s select chemterm.nm chemicalname, chemterm.acc_txt chemicalid, chemterm.secondary_nm casrn, phenoterm.nm phenotypename, phenoterm.acc_txt phenotypeid, ( select string_agg(distinct comentionterm.nm || ? || comentionterm.acc_txt || ? || comentionterm.acc_db_cd, ?)) as comentionedterms, taxonterm.nm organism, taxonterm.acc_txt organismid, i.ixn_prose_txt interaction, i.actions_txt interactionactions, ( select string_agg(distinct ia.level_seq + ? || ? || anatomyterm.nm || ? || anatomyterm.acc_txt, ? order by ia.level_seq + ? || ? || anatomyterm.nm || ? || anatomyterm.acc_txt)) as anatomyterms, string_agg(distinct inferredterm.nm || ? || inferredterm.acc_txt || ? || inferredterm.acc_db_cd, ? order by inferredterm.nm || ? || inferredterm.acc_txt || ? || inferredterm.acc_db_cd) inferencegenesymbols, string_agg(distinct r.acc_txt, ? order by r.acc_txt) pubmedids, ptr.ixn_id ignorecolumnixnid from phenotype_term_reference ptr left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join ixn i on ptr.ixn_id = i.id inner join term phenoterm on ptr.phenotype_id = phenoterm.id inner join reference r on ptr.reference_id = r.id inner join term chemterm on ptr.term_id = chemterm.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id left outer join phenotype_term_reference ptr2 on ptr.ixn_id = ptr2.ixn_id and (ptr.term_id <> ptr2.term_id or ptr.phenotype_id <> ptr2.phenotype_id) left outer join phenotype_term_reference ptr3 on ptr.term_id = ptr3.term_id and (ptr.phenotype_id = ptr3.phenotype_id and ptr3.source_cd = ?) left outer join term comentionterm on comentionterm.id = ptr2.term_id left outer join term inferredterm on inferredterm.id = ptr3.via_term_id where ptr.source_cd = ? and ptr.term_object_type_id = ( select ot.id from object_type ot where ot.cd = ?) group by chemterm.nm, chemterm.acc_txt, chemterm.secondary_nm, phenoterm.nm, phenoterm.acc_txt, taxonterm.nm, taxonterm.acc_txt, i.ixn_prose_txt, i.actions_txt, ptr.ixn_id order by chemterm.nm, phenoterm.nm;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 29 14 1 2m14s 2m14s [ User: qaeu - Total duration: 2m14s - 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-10-29 14:39:26 Duration: 2m14s Database: ctdprd51 User: qaeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 14 39m59s 5s211ms 38m47s 2m51s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 29 13 11 39m43s 3m36s 14 3 16s140ms 5s380ms [ User: qaeu - Total duration: 38m47s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-10-29 13:24:30 Duration: 38m47s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-10-29 13:39:37 Duration: 6s308ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-10-29 13:31:59 Duration: 6s57ms Bind query: yes
2 10 1m36s 6s365ms 14s671ms 9s654ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 29 04 2 16s495ms 8s247ms 17 1 10s823ms 10s823ms 21 7 1m9s 9s890ms [ User: pubeu - Total duration: 1m12s - Times executed: 8 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'cardiomyopathies' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2201244) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-10-29 21:16:16 Duration: 14s671ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'heart diseases' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2195464) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-10-29 21:08:48 Duration: 11s560ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'heart diseases' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2195464) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-10-29 21:03:00 Duration: 11s424ms Database: ctdprd51 User: pubeu Bind query: yes
3 6 3m25s 5s370ms 2m44s 34s209ms select phenotypeterm.nm "GOName", phenotypeterm.acc_txt "GOID", diseaseterm.nm "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( select string_agg(distinct chemtermnetwork.nm, ?)) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( select string_agg(distinct genetermnetwork.nm, ?)) "InferenceGeneSymbols" from phenotype_term_reference ptr inner join phenotype_term pt on ptr.phenotype_id = pt.phenotype_id and ptr.term_id = pt.term_id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id inner join term diseaseterm on ptr.term_id = diseaseterm.id and diseaseterm.object_type_id = ( select id from object_type where cd = ?) left outer join term genetermnetwork on ptr.via_term_id = genetermnetwork.id and genetermnetwork.object_type_id = ( select id from object_type where cd = ?) left outer join term chemtermnetwork on ptr.via_term_id = chemtermnetwork.id and chemtermnetwork.object_type_id = ( select id from object_type where cd = ?) where phenotypeterm.id in ( select dp.descendant_dag_node_id from dag_path dp where dp.ancestor_object_id = ( select id from term where nm = ?)) and ptr.source_cd = ? and ptr.phenotype_id = phenotypeterm.id and ptr.term_id = diseaseterm.id group by phenotypeterm.nm, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 29 14 6 3m25s 34s209ms [ User: qaeu - Total duration: 2m58s - 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-10-29 14:42:54 Duration: 2m44s 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-10-29 14:45:02 Duration: 13s982ms 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-10-29 14:43:09 Duration: 8s284ms Bind query: yes
4 6 3m17s 16s555ms 42s110ms 32s920ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 29 02 3 2m2s 40s787ms 05 1 41s790ms 41s790ms 07 2 33s368ms 16s684ms [ User: pubeu - Total duration: 2m38s - Times executed: 5 ]
-
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 = '2207276') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-10-29 02:38:40 Duration: 42s110ms 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 = '2207276') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-10-29 05:06:35 Duration: 41s790ms 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 = '2207276') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2026-10-29 02:38:13 Duration: 41s488ms Database: ctdprd51 User: pubeu Bind query: yes
5 6 52s954ms 5s26ms 12s885ms 8s825ms 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 #5
Day Hour Count Duration Avg duration Oct 29 02 2 24s702ms 12s351ms 05 1 12s764ms 12s764ms 07 2 10s100ms 5s50ms 09 1 5s387ms 5s387ms [ User: pubeu - Total duration: 47s928ms - Times executed: 5 ]
-
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 = '2207276') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-10-29 02:28:48 Duration: 12s885ms 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 = '2207276') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-10-29 05:05:38 Duration: 12s764ms 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 = '2207276') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2026-10-29 02:28:50 Duration: 11s816ms Database: ctdprd51 User: pubeu Bind query: yes
6 4 7m34s 1m52s 1m54s 1m53s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 29 06 1 1m53s 1m53s 10 1 1m54s 1m54s 14 1 1m52s 1m52s 18 1 1m53s 1m53s [ User: postgres - Total duration: 7m34s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m34s - 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-10-29 10:06:56 Duration: 1m54s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-10-29 18:06:55 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-10-29 06:06:55 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
7 4 3m49s 7s879ms 3m5s 57s376ms select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 29 00 4 3m49s 57s376ms [ User: load - Total duration: 3m49s - Times executed: 4 ]
[ Application: pg_bulkload - Total duration: 3m49s - Times executed: 4 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.DUPE}');
Date: 2026-10-29 00:15:03 Duration: 3m5s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.log,parse-badfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.DUPE}');
Date: 2026-10-29 00:52:40 Duration: 20s512ms Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.DUPE}');
Date: 2026-10-29 00:17:38 Duration: 15s593ms Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
8 4 1m38s 24s290ms 24s945ms 24s556ms 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 #8
Day Hour Count Duration Avg duration Oct 29 06 1 24s494ms 24s494ms 10 1 24s945ms 24s945ms 14 1 24s290ms 24s290ms 18 1 24s493ms 24s493ms -
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-10-29 10:07:21 Duration: 24s945ms
-
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-10-29 06:07:19 Duration: 24s494ms
-
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-10-29 18:07:19 Duration: 24s493ms
9 4 1m22s 20s491ms 20s803ms 20s616ms 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 #9
Day Hour Count Duration Avg duration Oct 29 06 1 20s803ms 20s803ms 10 1 20s681ms 20s681ms 14 1 20s491ms 20s491ms 18 1 20s491ms 20s491ms [ User: postgres - Total duration: 1m22s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 1m22s - Times executed: 4 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-10-29 06:00:23 Duration: 20s803ms 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-10-29 10:00:22 Duration: 20s681ms 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-10-29 18:00:22 Duration: 20s491ms Database: ctdprd51 User: postgres Application: pg_dump
10 4 1m2s 15s381ms 16s269ms 15s661ms 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 #10
Day Hour Count Duration Avg duration Oct 29 06 1 15s454ms 15s454ms 10 1 16s269ms 16s269ms 14 1 15s381ms 15s381ms 18 1 15s541ms 15s541ms -
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-10-29 10:07:38 Duration: 16s269ms
-
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-10-29 18:07:35 Duration: 15s541ms
-
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-10-29 06:07:35 Duration: 15s454ms
11 4 1m 15s91ms 15s210ms 15s161ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 29 06 1 15s210ms 15s210ms 10 1 15s91ms 15s91ms 14 1 15s158ms 15s158ms 18 1 15s186ms 15s186ms -
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-10-29 06:00:55 Duration: 15s210ms
-
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-10-29 18:00:54 Duration: 15s186ms
-
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-10-29 14:00:53 Duration: 15s158ms
12 4 58s470ms 14s568ms 14s712ms 14s617ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 29 06 1 14s712ms 14s712ms 10 1 14s568ms 14s568ms 14 1 14s591ms 14s591ms 18 1 14s598ms 14s598ms -
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-10-29 06:01:10 Duration: 14s712ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-10-29 18:01:09 Duration: 14s598ms
-
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-10-29 14:01:08 Duration: 14s591ms
13 4 30s546ms 7s600ms 7s676ms 7s636ms copy edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 29 06 1 7s647ms 7s647ms 10 1 7s600ms 7s600ms 14 1 7s622ms 7s622ms 18 1 7s676ms 7s676ms -
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-10-29 18:00:32 Duration: 7s676ms
-
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-10-29 06:00:33 Duration: 7s647ms
-
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-10-29 14:00:31 Duration: 7s622ms
14 4 26s218ms 6s530ms 6s591ms 6s554ms 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 #14
Day Hour Count Duration Avg duration Oct 29 06 1 6s591ms 6s591ms 10 1 6s530ms 6s530ms 14 1 6s557ms 6s557ms 18 1 6s539ms 6s539ms -
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-10-29 06:01:18 Duration: 6s591ms
-
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-10-29 14:01:16 Duration: 6s557ms
-
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-10-29 18:01:17 Duration: 6s539ms
15 4 25s271ms 6s273ms 6s355ms 6s317ms copy edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 29 06 1 6s355ms 6s355ms 10 1 6s273ms 6s273ms 14 1 6s296ms 6s296ms 18 1 6s345ms 6s345ms -
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-10-29 06:00:39 Duration: 6s355ms
-
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-10-29 18:00:38 Duration: 6s345ms
-
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2026-10-29 14:00:38 Duration: 6s296ms
16 4 25s268ms 6s193ms 6s462ms 6s317ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ? or d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 29 02 1 6s193ms 6s193ms 05 2 12s806ms 6s403ms 12 1 6s268ms 6s268ms [ User: qaeu - Total duration: 12s731ms - Times executed: 2 ]
[ User: pubeu - Total duration: 12s537ms - 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 = 1406934)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5 OR d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2026-10-29 05:43:52 Duration: 6s462ms 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 = 1406934)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5 OR d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2026-10-29 05:48:56 Duration: 6s343ms 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-10-29 12:12:39 Duration: 6s268ms Database: ctdprd51 User: qaeu Bind query: yes
17 3 26s873ms 7s658ms 10s591ms 8s957ms vacuum analyze pub2.term;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 29 06 2 18s250ms 9s125ms 07 1 8s622ms 8s622ms -
VACUUM ANALYZE pub2.TERM;
Date: 2026-10-29 06:11:31 Duration: 10s591ms Bind query: yes
-
VACUUM ANALYZE pub2.TERM;
Date: 2026-10-29 07:10:54 Duration: 8s622ms Bind query: yes
-
VACUUM ANALYZE pub2.TERM;
Date: 2026-10-29 06:15:43 Duration: 7s658ms Bind query: yes
18 3 24s385ms 8s43ms 8s270ms 8s128ms vacuum analyze pub2.reference;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 29 03 1 8s270ms 8s270ms 06 1 8s71ms 8s71ms 07 1 8s43ms 8s43ms -
VACUUM ANALYZE pub2.REFERENCE;
Date: 2026-10-29 03:34:40 Duration: 8s270ms Bind query: yes
-
VACUUM ANALYZE pub2.REFERENCE;
Date: 2026-10-29 06:16:24 Duration: 8s71ms Bind query: yes
-
VACUUM ANALYZE pub2.REFERENCE;
Date: 2026-10-29 07:11:09 Duration: 8s43ms Bind query: yes
19 2 1m9s 18s480ms 51s190ms 34s835ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) and gdr.source_cd = ? group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score order by d.nm_sort, g.nm, c.nm;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 29 03 1 51s190ms 51s190ms 19 1 18s480ms 18s480ms [ User: pubeu - Total duration: 1m9s - Times executed: 2 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2196197) AND gdr.source_cd = 'I' GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, c.nm;
Date: 2026-10-29 03:00:51 Duration: 51s190ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d007249' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2206986) AND gdr.source_cd = 'I' GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, c.nm;
Date: 2026-10-29 19:42:30 Duration: 18s480ms Database: ctdprd51 User: pubeu Bind query: yes
20 2 1m 29s884ms 30s480ms 30s182ms select ? : ?| ?| ?| ?| ?| ') from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 29 08 1 29s884ms 29s884ms 09 1 30s480ms 30s480ms [ User: pubeu - Total duration: 1m - Times executed: 2 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'infertility "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2206987) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-10-29 09:53:46 Duration: 30s480ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'infertility "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2206987) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2026-10-29 08:22:01 Duration: 29s884ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2h36m40s 2h36m40s 2h36m40s 1 2h36m40s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 29 06 1 2h36m40s 2h36m40s -
SELECT maint_term_derive_nm_fts ();
Date: 2026-10-29 06:11:20 Duration: 2h36m40s Bind query: yes
2 2h25m41s 2h25m41s 2h25m41s 1 2h25m41s select pub2.maint_term_derive_data ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 29 09 1 2h25m41s 2h25m41s -
select pub2.maint_term_derive_data ();
Date: 2026-10-29 09:36:50 Duration: 2h25m41s Bind query: yes
3 1h58m28s 1h58m28s 1h58m28s 1 1h58m28s select pub2.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 29 03 1 1h58m28s 1h58m28s -
select pub2.maint_gene_chem_ref_gene_form_refresh ();
Date: 2026-10-29 03:31:34 Duration: 1h58m28s Bind query: yes
4 52m25s 52m25s 52m25s 1 52m25s vacuum full analyze;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 29 07 1 52m25s 52m25s -
VACUUM FULL ANALYZE;
Date: 2026-10-29 07:10:45 Duration: 52m25s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2026-10-29 06:18:22 Duration: 0ms
5 40m19s 40m19s 40m19s 1 40m19s select pub2.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 29 10 1 40m19s 40m19s -
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2026-10-29 10:27:41 Duration: 40m19s Bind query: yes
-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2026-10-29 10:22:45 Duration: 0ms
6 27m8s 27m8s 27m8s 1 27m8s update pub2.gene_disease gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.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 pub2.reference r where has_exposures = true));Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 29 01 1 27m8s 27m8s -
update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.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 pub2.REFERENCE r where has_exposures = true));
Date: 2026-10-29 01:27:10 Duration: 27m8s Bind query: yes
7 13m1s 13m1s 13m1s 1 13m1s alter table pub2.term_enrichment_agent add constraint term_enr_agent_term_enr_fk foreign key (term_id, enriched_term_id) references term_enrichment (term_id, enriched_term_id);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 29 00 1 13m1s 13m1s -
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enr_agent_term_enr_fk FOREIGN KEY (term_id, enriched_term_id) REFERENCES term_enrichment (term_id, enriched_term_id);
Date: 2026-10-29 00:30:56 Duration: 13m1s Bind query: yes
8 9m26s 9m26s 9m26s 1 9m26s select maint_query_logs_archive ();Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 29 00 1 9m26s 9m26s [ User: pubc - Total duration: 9m26s - Times executed: 1 ]
[ Application: psql - Total duration: 9m26s - Times executed: 1 ]
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2026-10-29 00:09:27 Duration: 9m26s Database: ctdprd51 User: pubc Application: psql
9 9m17s 9m17s 9m17s 1 9m17s select pub2.maint_phenotype_term_derive_data ();Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 29 09 1 9m17s 9m17s -
select pub2.maint_phenotype_term_derive_data ();
Date: 2026-10-29 09:47:21 Duration: 9m17s Bind query: yes
10 3m17s 3m17s 3m17s 1 3m17s select maint_term_label_derive_nm_fts ();Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 29 06 1 3m17s 3m17s -
SELECT maint_term_label_derive_nm_fts ();
Date: 2026-10-29 06:14:48 Duration: 3m17s Bind query: yes
11 2m57s 2m57s 2m57s 1 2m57s insert into pub2.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 pub2.term where id = gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_chem_reference union select chem_id as term_id, ( select object_type_id from pub2.term where id = chem_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_chem_reference union select taxon_id as term_id, ( select object_type_id from pub2.term where id = taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_chem_reference where taxon_id is not null union select chem_id as term_id, ( select object_type_id from pub2.term where id = chem_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.chem_disease_reference where source_cd = ? union select disease_id as term_id, ( select object_type_id from pub2.term where id = disease_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.chem_disease_reference where source_cd = ? union select gene_id as term_id, ( select object_type_id from pub2.term where id = gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_disease_reference where source_cd = ? union select disease_id as term_id, ( select object_type_id from pub2.term where id = disease_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.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 pub2.exposure e, pub2.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 pub2.exposure e, pub2.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 pub2.exposure e, pub2.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 pub2.exposure e, pub2.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 pub2.exposure e, pub2.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 pub2.term where id = phenotype_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.phenotype_term_reference where source_cd = ? union select term_id, ( select object_type_id from pub2.term where id = term_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.phenotype_term_reference where source_cd = ? union select taxon_id as term_id, ( select object_type_id from pub2.term where id = taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.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 pub2.term where id = from_gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_gene_reference union select to_gene_id as term_id, ( select object_type_id from pub2.term where id = to_gene_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_gene_reference union select from_taxon_id as term_id, ( select object_type_id from pub2.term where id = from_taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.gene_gene_reference union select to_taxon_id as term_id, ( select object_type_id from pub2.term where id = to_taxon_id), reference_id, ( select id from edit.ixn_type where nm = ?) as ixn_type_id from pub2.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, pub2.term t, edit.ixn i, pub2.reference r where ri.taxon_acc_txt = t.acc_txt and t.object_type_id = ( select id from pub2.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 pub2.exp_anatomy ea, pub2.exp_outcome eo, pub2.exposure e, pub2.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 pub2.ixn i, pub2.ixn_anatomy ia, edit.reference_ixn ri, pub2.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 pub2.exp_event ee, pub2.exposure e, pub2.reference r where ee.id = e.exp_event_id and e.reference_acc_txt = r.acc_txt and medium_term_id is not null;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 29 03 1 2m57s 2m57s -
INSERT INTO pub2.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 pub2.TERM WHERE id = gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub2.GENE_CHEM_REFERENCE UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = chem_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub2.GENE_CHEM_REFERENCE UNION SELECT taxon_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-GENE') as ixn_type_id FROM pub2.GENE_CHEM_REFERENCE WHERE taxon_id IS NOT NULL UNION SELECT chem_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = chem_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-DISEASE') as ixn_type_id FROM pub2.CHEM_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = disease_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'CHEMICAL-DISEASE') as ixn_type_id FROM pub2.CHEM_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT gene_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-DISEASE') as ixn_type_id FROM pub2.GENE_DISEASE_REFERENCE WHERE source_cd = 'C' UNION SELECT disease_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = disease_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-DISEASE') as ixn_type_id FROM pub2.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 pub2.EXPOSURE e, pub2.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 pub2.EXPOSURE e, pub2.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 pub2.EXPOSURE e, pub2.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 pub2.EXPOSURE e, pub2.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 pub2.EXPOSURE e, pub2.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 pub2.TERM WHERE id = phenotype_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub2.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' UNION SELECT term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = term_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub2.PHENOTYPE_TERM_REFERENCE WHERE source_cd = 'C' UNION SELECT taxon_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'PHENOTYPE') as ixn_type_id FROM pub2.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 pub2.TERM WHERE id = from_gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub2.GENE_GENE_REFERENCE UNION SELECT to_gene_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = to_gene_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub2.GENE_GENE_REFERENCE UNION SELECT from_taxon_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = from_taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub2.GENE_GENE_REFERENCE UNION SELECT to_taxon_id as term_id, ( SELECT object_type_id FROM pub2.TERM WHERE id = to_taxon_id), reference_id, ( SELECT id FROM edit.IXN_TYPE WHERE nm = 'GENE-GENE') as ixn_type_id FROM pub2.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, pub2.TERM t, edit.IXN i, pub2.REFERENCE r WHERE ri.taxon_acc_txt = t.acc_txt AND t.object_type_id = ( SELECT id FROM pub2.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 pub2.EXP_ANATOMY ea, pub2.EXP_OUTCOME eo, pub2.EXPOSURE e, pub2.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 pub2.IXN i, pub2.IXN_ANATOMY ia, edit.REFERENCE_IXN ri, pub2.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 pub2.EXP_EVENT ee, pub2.EXPOSURE e, pub2.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-10-29 03:34:31 Duration: 2m57s Bind query: yes
12 5s211ms 38m47s 2m51s 14 39m59s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 29 13 11 39m43s 3m36s 14 3 16s140ms 5s380ms [ User: qaeu - Total duration: 38m47s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-10-29 13:24:30 Duration: 38m47s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-10-29 13:39:37 Duration: 6s308ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2026-10-29 13:31:59 Duration: 6s57ms Bind query: yes
13 2m50s 2m50s 2m50s 1 2m50s alter table pub2.term_enrichment_agent add constraint term_enrichment_agent_pk primary key (term_id, enriched_term_id, agent_term_id);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 29 00 1 2m50s 2m50s -
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2026-10-29 00:35:30 Duration: 2m50s Bind query: yes
-
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2026-10-29 00:35:29 Duration: 0ms
14 2m30s 2m30s 2m30s 1 2m30s update pub2.phenotype_term pt set exposure_reference_qty = ( select count(distinct reference_id) from pub2.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 pub2.reference r where has_exposures = true));Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 29 01 1 2m30s 2m30s -
update pub2.PHENOTYPE_TERM pt set exposure_reference_qty = ( select count(distinct reference_id) from pub2.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 pub2.REFERENCE r where has_exposures = true));
Date: 2026-10-29 01:29:41 Duration: 2m30s Bind query: yes
15 2m14s 2m14s 2m14s 1 2m14s update pub2.term set has_exposures = false;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 29 00 1 2m14s 2m14s -
update pub2.TERM set has_exposures = false;
Date: 2026-10-29 00:56:43 Duration: 2m14s Bind query: yes
16 2m14s 2m14s 2m14s 1 2m14s select chemterm.nm chemicalname, chemterm.acc_txt chemicalid, chemterm.secondary_nm casrn, phenoterm.nm phenotypename, phenoterm.acc_txt phenotypeid, ( select string_agg(distinct comentionterm.nm || ? || comentionterm.acc_txt || ? || comentionterm.acc_db_cd, ?)) as comentionedterms, taxonterm.nm organism, taxonterm.acc_txt organismid, i.ixn_prose_txt interaction, i.actions_txt interactionactions, ( select string_agg(distinct ia.level_seq + ? || ? || anatomyterm.nm || ? || anatomyterm.acc_txt, ? order by ia.level_seq + ? || ? || anatomyterm.nm || ? || anatomyterm.acc_txt)) as anatomyterms, string_agg(distinct inferredterm.nm || ? || inferredterm.acc_txt || ? || inferredterm.acc_db_cd, ? order by inferredterm.nm || ? || inferredterm.acc_txt || ? || inferredterm.acc_db_cd) inferencegenesymbols, string_agg(distinct r.acc_txt, ? order by r.acc_txt) pubmedids, ptr.ixn_id ignorecolumnixnid from phenotype_term_reference ptr left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join ixn i on ptr.ixn_id = i.id inner join term phenoterm on ptr.phenotype_id = phenoterm.id inner join reference r on ptr.reference_id = r.id inner join term chemterm on ptr.term_id = chemterm.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id left outer join phenotype_term_reference ptr2 on ptr.ixn_id = ptr2.ixn_id and (ptr.term_id <> ptr2.term_id or ptr.phenotype_id <> ptr2.phenotype_id) left outer join phenotype_term_reference ptr3 on ptr.term_id = ptr3.term_id and (ptr.phenotype_id = ptr3.phenotype_id and ptr3.source_cd = ?) left outer join term comentionterm on comentionterm.id = ptr2.term_id left outer join term inferredterm on inferredterm.id = ptr3.via_term_id where ptr.source_cd = ? and ptr.term_object_type_id = ( select ot.id from object_type ot where ot.cd = ?) group by chemterm.nm, chemterm.acc_txt, chemterm.secondary_nm, phenoterm.nm, phenoterm.acc_txt, taxonterm.nm, taxonterm.acc_txt, i.ixn_prose_txt, i.actions_txt, ptr.ixn_id order by chemterm.nm, phenoterm.nm;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 29 14 1 2m14s 2m14s [ User: qaeu - Total duration: 2m14s - 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-10-29 14:39:26 Duration: 2m14s Database: ctdprd51 User: qaeu Bind query: yes
17 1m52s 1m54s 1m53s 4 7m34s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 29 06 1 1m53s 1m53s 10 1 1m54s 1m54s 14 1 1m52s 1m52s 18 1 1m53s 1m53s [ User: postgres - Total duration: 7m34s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 7m34s - 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-10-29 10:06:56 Duration: 1m54s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-10-29 18:06:55 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2026-10-29 06:06:55 Duration: 1m53s Database: ctdprd51 User: postgres Application: pg_dump
18 7s879ms 3m5s 57s376ms 4 3m49s select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 29 00 4 3m49s 57s376ms [ User: load - Total duration: 3m49s - Times executed: 4 ]
[ Application: pg_bulkload - Total duration: 3m49s - Times executed: 4 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/goEnrichment/enrichedTermAgent.txt.DUPE}');
Date: 2026-10-29 00:15:03 Duration: 3m5s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.log,parse-badfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/aggregator/geneDisease.txt.DUPE}');
Date: 2026-10-29 00:52:40 Duration: 20s512ms Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.TERM_ENRICHMENT_AGENT,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.log,parse-badfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/pathwayEnrichment/enrichedTermAgent.txt.DUPE}');
Date: 2026-10-29 00:17:38 Duration: 15s593ms Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
19 18s480ms 51s190ms 34s835ms 2 1m9s select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) and gdr.source_cd = ? group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score order by d.nm_sort, g.nm, c.nm;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 29 03 1 51s190ms 51s190ms 19 1 18s480ms 18s480ms [ User: pubeu - Total duration: 1m9s - Times executed: 2 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2196197) AND gdr.source_cd = 'I' GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, c.nm;
Date: 2026-10-29 03:00:51 Duration: 51s190ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d007249' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2206986) AND gdr.source_cd = 'I' GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, c.nm;
Date: 2026-10-29 19:42:30 Duration: 18s480ms Database: ctdprd51 User: pubeu Bind query: yes
20 5s370ms 2m44s 34s209ms 6 3m25s select phenotypeterm.nm "GOName", phenotypeterm.acc_txt "GOID", diseaseterm.nm "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( select string_agg(distinct chemtermnetwork.nm, ?)) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( select string_agg(distinct genetermnetwork.nm, ?)) "InferenceGeneSymbols" from phenotype_term_reference ptr inner join phenotype_term pt on ptr.phenotype_id = pt.phenotype_id and ptr.term_id = pt.term_id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id inner join term diseaseterm on ptr.term_id = diseaseterm.id and diseaseterm.object_type_id = ( select id from object_type where cd = ?) left outer join term genetermnetwork on ptr.via_term_id = genetermnetwork.id and genetermnetwork.object_type_id = ( select id from object_type where cd = ?) left outer join term chemtermnetwork on ptr.via_term_id = chemtermnetwork.id and chemtermnetwork.object_type_id = ( select id from object_type where cd = ?) where phenotypeterm.id in ( select dp.descendant_dag_node_id from dag_path dp where dp.ancestor_object_id = ( select id from term where nm = ?)) and ptr.source_cd = ? and ptr.phenotype_id = phenotypeterm.id and ptr.term_id = diseaseterm.id group by phenotypeterm.nm, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 29 14 6 3m25s 34s209ms [ User: qaeu - Total duration: 2m58s - 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-10-29 14:42:54 Duration: 2m44s 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-10-29 14:45:02 Duration: 13s982ms 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-10-29 14:43:09 Duration: 8s284ms Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 13,637 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 1 FATAL entries
- 0 ERROR entries
- 1342 WARNING entries
- 29 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 1,069 Max number of times the same event was reported
- 1,372 Total events found
Rank Times reported Error 1 1,069 WARNING: skipping "..." --- only table or database owner can vacuum it
Times Reported Most Frequent Error / Event #1
Day Hour Count Oct 29 06 1,069 - WARNING: skipping "pg_toast_12730525" --- only table or database owner can vacuum it
- WARNING: skipping "pg_toast_12730525_index" --- only table or database owner can vacuum it
- WARNING: skipping "age_qualifer_pk" --- only table or database owner can vacuum it
Date: 2026-10-29 06:18:20
Date: 2026-10-29 06:18:20
Date: 2026-10-29 06:18:20
2 224 WARNING: skipping "..." --- only superuser or database owner can vacuum it
Times Reported Most Frequent Error / Event #2
Day Hour Count Oct 29 06 224 - WARNING: skipping "pg_statistic" --- only superuser or database owner can vacuum it
- WARNING: skipping "pg_type" --- only superuser or database owner can vacuum it
- WARNING: skipping "pg_foreign_table" --- only superuser or database owner can vacuum it
Date: 2026-10-29 06:18:20
Date: 2026-10-29 06:18:20
Date: 2026-10-29 06:18:20
3 43 WARNING: skipping "..." --- only superuser can vacuum it
Times Reported Most Frequent Error / Event #3
Day Hour Count Oct 29 06 43 - WARNING: skipping "pg_toast_1262" --- only superuser can vacuum it
- WARNING: skipping "pg_toast_1262_index" --- only superuser can vacuum it
- WARNING: skipping "pg_toast_2964" --- only superuser can vacuum it
Date: 2026-10-29 06:18:20
Date: 2026-10-29 06:18:20
Date: 2026-10-29 06:18:20
4 26 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #4
Day Hour Count Oct 29 12 17 14 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-10-29 12:26:24
Date: 2026-10-29 12:27:24
Date: 2026-10-29 12:27: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 Oct 29 06 2 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-10-29 06:11:20
Date: 2026-10-29 06:14:48
Date: 2026-10-29 09:36:50
6 1 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #6
Day Hour Count Oct 29 02 1 - FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2026-10-29 02:45:49
7 1 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #7
Day Hour Count Oct 29 02 1 - LOG: could not send data to client: Connection reset by peer
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2026-10-29 02:45:49 Database: ctdprd51 Application: User: pubeu Remote:
8 1 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #8
Day Hour Count Oct 29 16 1 - LOG: process 979395 still waiting for AccessShareLock on relation 12729169 of database 484829 after 1000.060 ms at character 871
Detail: Process holding the lock: 979554. Wait queue: 979395.
Statement: select refsUnion.authors ,refsUnion.title ,refsUnion.citation ,refsUnion.yr ,refsUnion.refAcc ,refsUnion.isCurated ,refsUnion.taxonList ,refsUnion.fullRowCount ,refsUnion.sortTxt from ( SELECT /* ChemGeneIxnRefsDAO */ r.abbr_authors_txt authors ,r.title title ,r.core_citation_txt citation ,r.pub_start_yr yr ,r.acc_txt refAcc ,r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes isCurated ,STRING_AGG(DISTINCT t.nm || '^' || COALESCE( t.secondary_nm, '' ) || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || COALESCE( t.secondary_nm, '' ) || '^' || t.acc_txt) taxonList ,COUNT(*) OVER() fullRowCount ,r.sort_txt sortTxt FROM gene_chem_reference gcr INNER JOIN reference r ON gcr.reference_id = r.id LEFT OUTER JOIN term t ON gcr.taxon_id = t.id WHERE gcr.ixn_id = $1 GROUP BY r.abbr_authors_txt ,r.title ,r.core_citation_txt ,r.pub_start_yr ,r.acc_txt ,r.has_diseases ,r.has_phenotypes ,r.has_exposures ,r.has_ixns ,r.sort_txt UNION SELECT /* PhenoIxnRefsDAO */ r.abbr_authors_txt authors ,r.title title ,r.core_citation_txt citation ,r.pub_start_yr yr ,r.acc_txt refAcc ,r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes isCurated ,STRING_AGG(DISTINCT t.nm || '^' || t.secondary_nm || '^' || t.acc_txt, '|' ORDER BY t.nm || '^' || t.secondary_nm || '^' || t.acc_txt) taxonList ,COUNT(*) OVER() fullRowCount ,r.sort_txt sortTxt FROM phenotype_term_reference ptr INNER JOIN reference r ON ptr.reference_id = r.id LEFT OUTER JOIN term t ON ptr.taxon_id = t.id WHERE ptr.ixn_id = $2 GROUP BY r.abbr_authors_txt ,r.title ,r.core_citation_txt ,r.pub_start_yr ,r.acc_txt ,r.has_diseases ,r.has_phenotypes ,r.has_exposures ,r.has_ixns ,r.sort_txt ) as refsUnion ORDER BY sortTxt LIMIT 50Date: 2026-10-29 16:12:56 Database: ctdprd51 Application: User: qaeu Remote:
9 1 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #9
Day Hour Count Oct 29 23 1 - LOG: could not receive data from client: Connection timed out
Date: 2026-10-29 23:15:58