-
Global information
- Generated on Sat Dec 6 04:15:09 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20251205
- Parsed 101,011 log entries in 8s
- Log start from 2025-11-30 00:00:02 to 2025-12-06 03:12:11
-
Overview
Global Stats
- 58 Number of unique normalized queries
- 367 Number of queries
- 2h48m26s Total query duration
- 2025-11-30 00:09:11 First query
- 2025-12-06 01:14:12 Last query
- 2 queries/s at 2025-12-05 08:37:42 Query peak
- 2h48m26s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 2h48m26s Execute total duration
- 34 Number of events
- 14 Number of unique normalized events
- 8 Max number of times the same event was reported
- 0 Number of cancellation
- 30 Total number of automatic vacuums
- 145 Total number of automatic analyzes
- 4 Number temporary file
- 1.91 MiB Max size of temporary file
- 1.22 MiB Average size of temporary file
- 12,239 Total number of sessions
- 44 sessions at 2025-12-01 16:51:40 Session peak
- 247d18h17m46s Total duration of sessions
- 29m9s Average duration of sessions
- 0 Average queries per session
- 825ms Average queries duration per session
- 29m8s Average idle time per session
- 12,239 Total number of connections
- 12 connections/s at 2025-12-03 01:48:42 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2025-12-05 08:37:42 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2025-12-05 08:37:42 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-12-01 12:40:10 Date
Queries duration
Key values
- 2h48m26s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 30 00 6 0ms 9m8s 1m38s 9s200ms 9s337ms 9m15s 01 2 0ms 8s963ms 8s880ms 0ms 8s797ms 8s963ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 6 0ms 7s551ms 6s951ms 5s34ms 14s944ms 14s998ms 06 0 0ms 0ms 0ms 0ms 0ms 0ms 07 0 0ms 0ms 0ms 0ms 0ms 0ms 08 0 0ms 0ms 0ms 0ms 0ms 0ms 09 0 0ms 0ms 0ms 0ms 0ms 0ms 10 0 0ms 0ms 0ms 0ms 0ms 0ms 11 2 0ms 6s48ms 5s966ms 0ms 5s883ms 6s48ms 12 0 0ms 0ms 0ms 0ms 0ms 0ms 13 0 0ms 0ms 0ms 0ms 0ms 0ms 14 0 0ms 0ms 0ms 0ms 0ms 0ms 15 1 0ms 5s918ms 5s918ms 0ms 0ms 5s918ms 16 3 0ms 5s825ms 5s641ms 0ms 0ms 16s925ms 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 0 0ms 0ms 0ms 0ms 0ms 0ms 19 0 0ms 0ms 0ms 0ms 0ms 0ms 20 2 0ms 5s710ms 5s363ms 0ms 0ms 10s726ms 21 0 0ms 0ms 0ms 0ms 0ms 0ms 22 5 0ms 5s924ms 5s633ms 0ms 11s165ms 11s632ms 23 2 0ms 6s11ms 5s709ms 0ms 0ms 11s419ms Dec 01 00 2 0ms 9m11s 4m39s 0ms 0ms 9m18s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 4 0ms 6s138ms 5s666ms 0ms 0ms 11s458ms 03 12 0ms 17s299ms 11s342ms 12s429ms 13s484ms 59s524ms 04 5 0ms 11s675ms 8s100ms 0ms 5s133ms 29s671ms 05 8 0ms 9s924ms 6s886ms 5s16ms 9s924ms 14s946ms 06 0 0ms 0ms 0ms 0ms 0ms 0ms 07 0 0ms 0ms 0ms 0ms 0ms 0ms 08 5 0ms 13s807ms 10s14ms 0ms 12s547ms 13s807ms 09 7 0ms 12s281ms 8s444ms 0ms 12s215ms 22s585ms 10 5 0ms 41s305ms 14s272ms 0ms 9s144ms 41s305ms 11 1 0ms 5s788ms 5s788ms 0ms 0ms 5s788ms 12 4 0ms 8m5s 2m57s 0ms 1m1s 8m5s 13 0 0ms 0ms 0ms 0ms 0ms 0ms 14 0 0ms 0ms 0ms 0ms 0ms 0ms 15 0 0ms 0ms 0ms 0ms 0ms 0ms 16 0 0ms 0ms 0ms 0ms 0ms 0ms 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 0 0ms 0ms 0ms 0ms 0ms 0ms 19 0 0ms 0ms 0ms 0ms 0ms 0ms 20 0 0ms 0ms 0ms 0ms 0ms 0ms 21 0 0ms 0ms 0ms 0ms 0ms 0ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 0 0ms 0ms 0ms 0ms 0ms 0ms Dec 02 00 2 0ms 9m9s 4m38s 0ms 0ms 9m16s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 3 0ms 5s840ms 5s787ms 0ms 5s750ms 11s611ms 03 1 0ms 5s756ms 5s756ms 0ms 0ms 5s756ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 6 0ms 7s389ms 6s595ms 5s99ms 14s656ms 14s697ms 06 0 0ms 0ms 0ms 0ms 0ms 0ms 07 0 0ms 0ms 0ms 0ms 0ms 0ms 08 4 0ms 56s994ms 20s809ms 8s65ms 9s931ms 56s994ms 09 0 0ms 0ms 0ms 0ms 0ms 0ms 10 0 0ms 0ms 0ms 0ms 0ms 0ms 11 1 0ms 12m21s 12m21s 0ms 0ms 12m21s 12 1 0ms 5s64ms 5s64ms 0ms 0ms 5s64ms 13 0 0ms 0ms 0ms 0ms 0ms 0ms 14 0 0ms 0ms 0ms 0ms 0ms 0ms 15 0 0ms 0ms 0ms 0ms 0ms 0ms 16 0 0ms 0ms 0ms 0ms 0ms 0ms 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 0 0ms 0ms 0ms 0ms 0ms 0ms 19 0 0ms 0ms 0ms 0ms 0ms 0ms 20 0 0ms 0ms 0ms 0ms 0ms 0ms 21 0 0ms 0ms 0ms 0ms 0ms 0ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 4 0ms 8s460ms 7s766ms 0ms 8s430ms 16s879ms Dec 03 00 2 0ms 9m7s 4m37s 0ms 0ms 9m14s 01 1 0ms 8s59ms 8s59ms 0ms 0ms 8s59ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 2 0ms 12s651ms 12s566ms 0ms 12s481ms 12s651ms 05 6 0ms 7s517ms 6s627ms 5s34ms 14s675ms 15s8ms 06 0 0ms 0ms 0ms 0ms 0ms 0ms 07 5 0ms 5s140ms 5s125ms 5s112ms 5s137ms 5s140ms 08 2 0ms 5s171ms 5s129ms 0ms 0ms 5s171ms 09 0 0ms 0ms 0ms 0ms 0ms 0ms 10 7 0ms 5s762ms 5s299ms 0ms 5s192ms 21s651ms 11 0 0ms 0ms 0ms 0ms 0ms 0ms 12 4 0ms 5s180ms 5s116ms 0ms 5s102ms 5s180ms 13 5 0ms 5s216ms 5s140ms 5s44ms 5s138ms 5s216ms 14 2 0ms 5s169ms 5s127ms 0ms 0ms 5s169ms 15 0 0ms 0ms 0ms 0ms 0ms 0ms 16 3 0ms 5s320ms 5s221ms 0ms 5s142ms 5s320ms 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 4 0ms 5s305ms 5s212ms 0ms 5s179ms 5s305ms 19 0 0ms 0ms 0ms 0ms 0ms 0ms 20 0 0ms 0ms 0ms 0ms 0ms 0ms 21 16 0ms 23s262ms 8s500ms 10s277ms 16s916ms 49s765ms 22 10 0ms 19m1s 2m53s 10s960ms 9m6s 19m1s 23 0 0ms 0ms 0ms 0ms 0ms 0ms Dec 04 00 5 0ms 9m5s 1m53s 0ms 5s430ms 9m11s 01 4 0ms 15s965ms 10s559ms 0ms 10s911ms 15s965ms 02 5 0ms 8s559ms 6s790ms 0ms 7s791ms 15s25ms 03 14 0ms 16s566ms 7s33ms 6s354ms 11s682ms 16s607ms 04 3 0ms 6s278ms 6s38ms 0ms 0ms 12s512ms 05 19 0ms 41s247ms 7s661ms 5s947ms 14s940ms 41s247ms 06 1 0ms 5s182ms 5s182ms 0ms 0ms 5s182ms 07 0 0ms 0ms 0ms 0ms 0ms 0ms 08 0 0ms 0ms 0ms 0ms 0ms 0ms 09 0 0ms 0ms 0ms 0ms 0ms 0ms 10 0 0ms 0ms 0ms 0ms 0ms 0ms 11 2 0ms 5s312ms 5s265ms 0ms 0ms 5s312ms 12 2 0ms 13s903ms 9s567ms 0ms 0ms 13s903ms 13 1 0ms 6s48ms 6s48ms 0ms 0ms 6s48ms 14 1 0ms 5s49ms 5s49ms 0ms 0ms 5s49ms 15 2 0ms 7s997ms 6s985ms 0ms 0ms 7s997ms 16 0 0ms 0ms 0ms 0ms 0ms 0ms 17 5 0ms 9s478ms 8s648ms 5s823ms 9s320ms 9s478ms 18 2 0ms 7s720ms 6s434ms 0ms 0ms 12s869ms 19 0 0ms 0ms 0ms 0ms 0ms 0ms 20 1 0ms 5s909ms 5s909ms 0ms 0ms 5s909ms 21 2 0ms 6s260ms 5s808ms 0ms 0ms 6s260ms 22 10 0ms 13s402ms 7s150ms 6s799ms 13s402ms 21s915ms 23 58 0ms 1m3s 14s770ms 55s358ms 57s562ms 1m19s Dec 05 00 4 0ms 9m10s 2m22s 0ms 5s84ms 9m17s 01 21 0ms 15s757ms 8s815ms 15s581ms 28s275ms 35s914ms 02 3 0ms 7s929ms 6s301ms 0ms 5s126ms 7s929ms 03 1 0ms 11s886ms 11s886ms 0ms 0ms 11s886ms 04 2 0ms 6s241ms 6s118ms 0ms 5s995ms 6s241ms 05 5 0ms 7s734ms 6s990ms 0ms 14s678ms 15s191ms 06 0 0ms 0ms 0ms 0ms 0ms 0ms 07 8 0ms 9s384ms 6s412ms 5s756ms 7s874ms 17s293ms 08 3 0ms 11s706ms 11s421ms 0ms 0ms 34s264ms 09 0 0ms 0ms 0ms 0ms 0ms 0ms 10 0 0ms 0ms 0ms 0ms 0ms 0ms 11 0 0ms 0ms 0ms 0ms 0ms 0ms 12 0 0ms 0ms 0ms 0ms 0ms 0ms 13 0 0ms 0ms 0ms 0ms 0ms 0ms 14 4 0ms 10s863ms 9s415ms 0ms 0ms 29s567ms 15 0 0ms 0ms 0ms 0ms 0ms 0ms 16 0 0ms 0ms 0ms 0ms 0ms 0ms 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 0 0ms 0ms 0ms 0ms 0ms 0ms 19 3 0ms 5s630ms 5s543ms 0ms 5s461ms 11s168ms 20 0 0ms 0ms 0ms 0ms 0ms 0ms 21 0 0ms 0ms 0ms 0ms 0ms 0ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 0 0ms 0ms 0ms 0ms 0ms 0ms Dec 06 00 2 0ms 9m19s 4m43s 0ms 0ms 9m26s 01 1 0ms 6s391ms 6s391ms 0ms 0ms 6s391ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 30 00 5 0 1m57s 0ms 9s200ms 9m8s 01 2 0 8s880ms 0ms 0ms 8s963ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 6 0 6s951ms 0ms 5s34ms 14s998ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 0 0 0ms 0ms 0ms 0ms 09 0 0 0ms 0ms 0ms 0ms 10 0 0 0ms 0ms 0ms 0ms 11 2 0 5s966ms 0ms 0ms 6s48ms 12 0 0 0ms 0ms 0ms 0ms 13 0 0 0ms 0ms 0ms 0ms 14 0 0 0ms 0ms 0ms 0ms 15 1 0 5s918ms 0ms 0ms 5s918ms 16 3 0 5s641ms 0ms 0ms 16s925ms 17 0 0 0ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 2 0 5s363ms 0ms 0ms 10s726ms 21 0 0 0ms 0ms 0ms 0ms 22 5 0 5s633ms 0ms 0ms 11s632ms 23 2 0 5s709ms 0ms 0ms 11s419ms Dec 01 00 1 0 9m11s 0ms 0ms 9m11s 01 0 0 0ms 0ms 0ms 0ms 02 4 0 5s666ms 0ms 0ms 11s458ms 03 12 0 11s342ms 0ms 12s429ms 59s524ms 04 5 0 8s100ms 0ms 0ms 29s671ms 05 8 0 6s886ms 0ms 5s16ms 14s946ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 5 0 10s14ms 0ms 0ms 13s807ms 09 7 0 8s444ms 0ms 0ms 22s585ms 10 5 0 14s272ms 0ms 0ms 41s305ms 11 1 0 5s788ms 0ms 0ms 5s788ms 12 3 0 1m15s 0ms 0ms 2m45s 13 0 0 0ms 0ms 0ms 0ms 14 0 0 0ms 0ms 0ms 0ms 15 0 0 0ms 0ms 0ms 0ms 16 0 0 0ms 0ms 0ms 0ms 17 0 0 0ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 0 0 0ms 0ms 0ms 0ms Dec 02 00 1 0 9m9s 0ms 0ms 9m9s 01 0 0 0ms 0ms 0ms 0ms 02 3 0 5s787ms 0ms 0ms 11s611ms 03 1 0 5s756ms 0ms 0ms 5s756ms 04 0 0 0ms 0ms 0ms 0ms 05 6 0 6s595ms 0ms 5s99ms 14s697ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 4 0 20s809ms 0ms 8s65ms 56s994ms 09 0 0 0ms 0ms 0ms 0ms 10 0 0 0ms 0ms 0ms 0ms 11 1 0 12m21s 0ms 0ms 12m21s 12 1 0 5s64ms 0ms 0ms 5s64ms 13 0 0 0ms 0ms 0ms 0ms 14 0 0 0ms 0ms 0ms 0ms 15 0 0 0ms 0ms 0ms 0ms 16 0 0 0ms 0ms 0ms 0ms 17 0 0 0ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 4 0 7s766ms 0ms 0ms 16s879ms Dec 03 00 1 0 9m7s 0ms 0ms 9m7s 01 1 0 8s59ms 0ms 0ms 8s59ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 2 0 12s566ms 0ms 0ms 12s651ms 05 6 0 6s627ms 0ms 5s34ms 15s8ms 06 0 0 0ms 0ms 0ms 0ms 07 5 0 5s125ms 0ms 5s112ms 5s140ms 08 2 0 5s129ms 0ms 0ms 5s171ms 09 0 0 0ms 0ms 0ms 0ms 10 7 0 5s299ms 0ms 0ms 21s651ms 11 0 0 0ms 0ms 0ms 0ms 12 4 0 5s116ms 0ms 0ms 5s180ms 13 5 0 5s140ms 0ms 5s44ms 5s216ms 14 2 0 5s127ms 0ms 0ms 5s169ms 15 0 0 0ms 0ms 0ms 0ms 16 3 0 5s221ms 0ms 0ms 5s320ms 17 0 0 0ms 0ms 0ms 0ms 18 4 0 5s212ms 0ms 0ms 5s305ms 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 21 16 0 8s500ms 5s580ms 10s277ms 49s765ms 22 10 0 2m53s 5s469ms 10s960ms 19m1s 23 0 0 0ms 0ms 0ms 0ms Dec 04 00 4 0 2m20s 0ms 0ms 9m5s 01 4 0 10s559ms 0ms 0ms 15s965ms 02 5 0 6s790ms 0ms 0ms 15s25ms 03 14 0 7s33ms 5s880ms 6s354ms 16s607ms 04 3 0 6s38ms 0ms 0ms 12s512ms 05 19 0 7s661ms 5s118ms 5s947ms 41s247ms 06 1 0 5s182ms 0ms 0ms 5s182ms 07 0 0 0ms 0ms 0ms 0ms 08 0 0 0ms 0ms 0ms 0ms 09 0 0 0ms 0ms 0ms 0ms 10 0 0 0ms 0ms 0ms 0ms 11 2 0 5s265ms 0ms 0ms 5s312ms 12 2 0 9s567ms 0ms 0ms 13s903ms 13 1 0 6s48ms 0ms 0ms 6s48ms 14 1 0 5s49ms 0ms 0ms 5s49ms 15 2 0 6s985ms 0ms 0ms 7s997ms 16 0 0 0ms 0ms 0ms 0ms 17 5 0 8s648ms 0ms 5s823ms 9s478ms 18 2 0 6s434ms 0ms 0ms 12s869ms 19 0 0 0ms 0ms 0ms 0ms 20 1 0 5s909ms 0ms 0ms 5s909ms 21 2 0 5s808ms 0ms 0ms 6s260ms 22 10 0 7s150ms 0ms 6s799ms 21s915ms 23 58 0 14s770ms 41s743ms 55s358ms 1m19s Dec 05 00 3 0 3m7s 0ms 0ms 9m10s 01 21 0 8s815ms 7s711ms 15s581ms 35s914ms 02 3 0 6s301ms 0ms 0ms 7s929ms 03 1 0 11s886ms 0ms 0ms 11s886ms 04 2 0 6s118ms 0ms 0ms 6s241ms 05 5 0 6s990ms 0ms 0ms 15s191ms 06 0 0 0ms 0ms 0ms 0ms 07 8 0 6s412ms 0ms 5s756ms 17s293ms 08 3 0 11s421ms 0ms 0ms 34s264ms 09 0 0 0ms 0ms 0ms 0ms 10 0 0 0ms 0ms 0ms 0ms 11 0 0 0ms 0ms 0ms 0ms 12 0 0 0ms 0ms 0ms 0ms 13 0 0 0ms 0ms 0ms 0ms 14 4 0 9s415ms 0ms 0ms 29s567ms 15 0 0 0ms 0ms 0ms 0ms 16 0 0 0ms 0ms 0ms 0ms 17 0 0 0ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 3 0 5s543ms 0ms 0ms 11s168ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 0 0 0ms 0ms 0ms 0ms Dec 06 00 1 0 9m19s 0ms 0ms 9m19s 01 1 0 6s391ms 0ms 0ms 6s391ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 30 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 01 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 02 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 03 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 04 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 05 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 06 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Nov 30 00 0 4 4.00 0.00% 01 0 2 2.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 6 6.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 2 2.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 1 1.00 0.00% 16 0 3 3.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 2 2.00 0.00% 21 0 0 0.00 0.00% 22 0 5 5.00 0.00% 23 0 2 2.00 0.00% Dec 01 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 4 4.00 0.00% 03 0 12 12.00 0.00% 04 0 5 5.00 0.00% 05 0 7 7.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 5 5.00 0.00% 09 0 7 7.00 0.00% 10 0 5 5.00 0.00% 11 0 0 0.00 0.00% 12 0 3 3.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Dec 02 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 3 3.00 0.00% 03 0 1 1.00 0.00% 04 0 0 0.00 0.00% 05 0 6 6.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 4 4.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 1 1.00 0.00% 12 0 1 1.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 4 4.00 0.00% Dec 03 00 0 0 0.00 0.00% 01 0 1 1.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 2 2.00 0.00% 05 0 6 6.00 0.00% 06 0 0 0.00 0.00% 07 0 5 5.00 0.00% 08 0 2 2.00 0.00% 09 0 0 0.00 0.00% 10 0 7 7.00 0.00% 11 0 0 0.00 0.00% 12 0 4 4.00 0.00% 13 0 5 5.00 0.00% 14 0 2 2.00 0.00% 15 0 0 0.00 0.00% 16 0 3 3.00 0.00% 17 0 0 0.00 0.00% 18 0 4 4.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 16 16.00 0.00% 22 0 10 10.00 0.00% 23 0 0 0.00 0.00% Dec 04 00 0 3 3.00 0.00% 01 0 4 4.00 0.00% 02 0 5 5.00 0.00% 03 0 14 14.00 0.00% 04 0 3 3.00 0.00% 05 0 19 19.00 0.00% 06 0 1 1.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 2 2.00 0.00% 12 0 2 2.00 0.00% 13 0 1 1.00 0.00% 14 0 1 1.00 0.00% 15 0 2 2.00 0.00% 16 0 0 0.00 0.00% 17 0 5 5.00 0.00% 18 0 2 2.00 0.00% 19 0 0 0.00 0.00% 20 0 1 1.00 0.00% 21 0 2 2.00 0.00% 22 0 10 10.00 0.00% 23 0 58 58.00 0.00% Dec 05 00 0 2 2.00 0.00% 01 0 21 21.00 0.00% 02 0 3 3.00 0.00% 03 0 1 1.00 0.00% 04 0 2 2.00 0.00% 05 0 5 5.00 0.00% 06 0 0 0.00 0.00% 07 0 8 8.00 0.00% 08 0 3 3.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 4 4.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 3 3.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Dec 06 00 0 0 0.00 0.00% 01 0 1 1.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% Day Hour Count Average / Second Nov 30 00 80 0.02/s 01 77 0.02/s 02 77 0.02/s 03 78 0.02/s 04 80 0.02/s 05 93 0.03/s 06 79 0.02/s 07 88 0.02/s 08 76 0.02/s 09 80 0.02/s 10 80 0.02/s 11 83 0.02/s 12 89 0.02/s 13 77 0.02/s 14 78 0.02/s 15 76 0.02/s 16 77 0.02/s 17 75 0.02/s 18 75 0.02/s 19 74 0.02/s 20 77 0.02/s 21 74 0.02/s 22 82 0.02/s 23 78 0.02/s Dec 01 00 76 0.02/s 01 79 0.02/s 02 91 0.03/s 03 146 0.04/s 04 84 0.02/s 05 95 0.03/s 06 79 0.02/s 07 78 0.02/s 08 88 0.02/s 09 87 0.02/s 10 87 0.02/s 11 73 0.02/s 12 82 0.02/s 13 77 0.02/s 14 82 0.02/s 15 79 0.02/s 16 99 0.03/s 17 98 0.03/s 18 75 0.02/s 19 79 0.02/s 20 76 0.02/s 21 92 0.03/s 22 76 0.02/s 23 82 0.02/s Dec 02 00 78 0.02/s 01 83 0.02/s 02 77 0.02/s 03 82 0.02/s 04 79 0.02/s 05 93 0.03/s 06 77 0.02/s 07 77 0.02/s 08 81 0.02/s 09 81 0.02/s 10 80 0.02/s 11 78 0.02/s 12 78 0.02/s 13 78 0.02/s 14 75 0.02/s 15 75 0.02/s 16 74 0.02/s 17 79 0.02/s 18 78 0.02/s 19 75 0.02/s 20 76 0.02/s 21 76 0.02/s 22 82 0.02/s 23 78 0.02/s Dec 03 00 81 0.02/s 01 87 0.02/s 02 79 0.02/s 03 75 0.02/s 04 83 0.02/s 05 92 0.03/s 06 79 0.02/s 07 76 0.02/s 08 78 0.02/s 09 74 0.02/s 10 78 0.02/s 11 75 0.02/s 12 82 0.02/s 13 79 0.02/s 14 79 0.02/s 15 73 0.02/s 16 80 0.02/s 17 77 0.02/s 18 80 0.02/s 19 79 0.02/s 20 73 0.02/s 21 83 0.02/s 22 81 0.02/s 23 79 0.02/s Dec 04 00 83 0.02/s 01 129 0.04/s 02 91 0.03/s 03 98 0.03/s 04 98 0.03/s 05 127 0.04/s 06 74 0.02/s 07 76 0.02/s 08 81 0.02/s 09 75 0.02/s 10 77 0.02/s 11 85 0.02/s 12 82 0.02/s 13 83 0.02/s 14 77 0.02/s 15 92 0.03/s 16 79 0.02/s 17 150 0.04/s 18 84 0.02/s 19 79 0.02/s 20 97 0.03/s 21 88 0.02/s 22 94 0.03/s 23 119 0.03/s Dec 05 00 81 0.02/s 01 185 0.05/s 02 112 0.03/s 03 75 0.02/s 04 82 0.02/s 05 93 0.03/s 06 75 0.02/s 07 81 0.02/s 08 76 0.02/s 09 80 0.02/s 10 74 0.02/s 11 73 0.02/s 12 75 0.02/s 13 72 0.02/s 14 81 0.02/s 15 77 0.02/s 16 78 0.02/s 17 74 0.02/s 18 79 0.02/s 19 77 0.02/s 20 77 0.02/s 21 81 0.02/s 22 78 0.02/s 23 77 0.02/s Dec 06 00 78 0.02/s 01 76 0.02/s 02 81 0.02/s 03 18 0.01/s Day Hour Count Average Duration Average idle time Nov 30 00 80 30m36s 30m28s 01 77 30m58s 30m58s 02 77 31m37s 31m37s 03 78 30m42s 30m42s 04 80 30m35s 30m35s 05 93 26m23s 26m22s 06 79 29m58s 29m58s 07 88 27m54s 27m54s 08 76 31m24s 31m24s 09 80 30m7s 30m7s 10 80 30m24s 30m24s 11 83 28m42s 28m41s 12 89 28m5s 28m5s 13 77 31m28s 31m28s 14 78 31m24s 31m24s 15 76 31m23s 31m23s 16 77 30m48s 30m48s 17 75 31m29s 31m29s 18 75 31m13s 31m13s 19 74 31m4s 31m4s 20 77 31m14s 31m14s 21 74 29m15s 29m15s 22 82 30m48s 30m48s 23 78 30m45s 30m45s Dec 01 00 76 31m10s 31m3s 01 79 31m16s 31m16s 02 91 26m30s 26m29s 03 146 17m5s 17m4s 04 84 27m46s 27m46s 05 95 26m12s 26m12s 06 79 30m8s 30m8s 07 78 31m30s 31m30s 08 88 26m37s 26m36s 09 87 27m42s 27m41s 10 87 28m50s 28m49s 11 72 31m55s 31m55s 12 81 30m25s 30m16s 13 77 31m33s 31m33s 14 82 30m27s 30m27s 15 76 31m35s 31m35s 16 99 24m16s 24m16s 17 98 22m50s 22m50s 18 75 31m8s 31m8s 19 81 35m59s 35m59s 20 79 46m40s 46m40s 21 92 24m20s 24m20s 22 76 31m24s 31m24s 23 82 30m19s 30m19s Dec 02 00 78 30m42s 30m35s 01 83 29m21s 29m21s 02 77 30m3s 30m3s 03 82 30m14s 30m14s 04 79 30m25s 30m25s 05 93 26m36s 26m36s 06 77 31m8s 31m8s 07 77 31m40s 31m40s 08 81 30m23s 30m22s 09 81 29m53s 29m53s 10 80 29m41s 29m41s 11 78 30m59s 30m49s 12 78 31m41s 31m41s 13 78 30m53s 30m53s 14 75 32m2s 32m2s 15 75 31m22s 31m22s 16 74 31m41s 31m41s 17 79 30m55s 30m55s 18 78 30m37s 30m37s 19 75 31m7s 31m7s 20 76 31m16s 31m16s 21 76 30m54s 30m54s 22 82 29m18s 29m18s 23 78 30m53s 30m53s Dec 03 00 81 30m21s 30m14s 01 87 27m18s 27m18s 02 79 30m38s 30m38s 03 75 30m48s 30m48s 04 83 29m25s 29m25s 05 92 26m8s 26m8s 06 79 30m18s 30m18s 07 76 30m34s 30m34s 08 78 32m37s 32m37s 09 74 31m45s 31m45s 10 78 30m56s 30m55s 11 75 31m50s 31m50s 12 80 31m14s 31m14s 13 79 30m11s 30m11s 14 79 30m30s 30m30s 15 73 31m11s 31m11s 16 80 30m43s 30m43s 17 77 31m15s 31m15s 18 80 30m40s 30m39s 19 79 30m39s 30m39s 20 73 31m23s 31m23s 21 82 35m13s 35m12s 22 84 36m20s 36m 23 79 30m46s 30m46s Dec 04 00 83 28m50s 28m43s 01 129 19m29s 19m29s 02 91 26m34s 26m34s 03 98 23m59s 23m58s 04 98 24m47s 24m47s 05 127 19m17s 19m16s 06 74 30m26s 30m26s 07 76 32m35s 32m35s 08 81 29m49s 29m49s 09 75 31m9s 31m9s 10 77 31m24s 31m24s 11 85 29m32s 29m32s 12 82 28m59s 28m58s 13 83 28m28s 28m28s 14 77 29m3s 29m3s 15 92 27m14s 27m14s 16 79 31m5s 31m5s 17 150 15m48s 15m48s 18 84 28m52s 28m52s 19 79 30m17s 30m17s 20 97 24m27s 24m27s 21 88 26m40s 26m40s 22 94 25m21s 25m20s 23 119 20m27s 20m20s Dec 05 00 81 30m36s 30m29s 01 185 13m26s 13m25s 02 112 20m37s 20m37s 03 75 31m30s 31m30s 04 82 30m1s 30m1s 05 93 26m17s 26m16s 06 75 30m56s 30m56s 07 81 29m20s 29m20s 08 76 31m53s 31m53s 09 80 30m43s 30m43s 10 74 31m33s 31m33s 11 73 31m55s 31m55s 12 75 32m20s 32m20s 13 72 32m17s 32m17s 14 81 30m34s 30m34s 15 77 31m39s 31m39s 16 77 31m7s 31m7s 17 74 32m3s 32m3s 18 80 32m23s 32m23s 19 77 30m53s 30m52s 20 77 31m13s 31m13s 21 81 28m57s 28m57s 22 78 31m12s 31m12s 23 77 31m27s 31m27s Dec 06 00 78 30m18s 30m10s 01 76 31m45s 31m45s 02 81 29m16s 29m16s 03 18 32m28s 32m28s -
Connections
Established Connections
Key values
- 12 connections Connection Peak
- 2025-12-03 01:48:42 Date
Connections per database
Key values
- ctdprd51 Main Database
- 12,239 connections Total
Connections per user
Key values
- pubeu Main User
- 12,239 connections Total
-
Sessions
Simultaneous sessions
Key values
- 44 sessions Session Peak
- 2025-12-01 16:51:40 Date
Histogram of session times
Key values
- 10,988 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 12,239 sessions Total
Sessions per user
Key values
- pubeu Main User
- 12,239 sessions Total
Sessions per host
Key values
- 10.12.5.53 Main Host
- 12,239 sessions Total
Host Count Total Duration Average Duration 10.12.5.126 3 1m13s 24s349ms 10.12.5.45 2,343 49d4h28m45s 30m13s 10.12.5.46 2,304 49d1h38m34s 30m40s 10.12.5.53 3,011 49d4h19m59s 23m31s 10.12.5.54 2,297 49d1h33m29s 30m45s 10.12.5.55 2,269 49d1h48m37s 31m8s 10.12.5.56 2 7m32s 3m46s 192.168.201.10 8 1d8h35m49s 4h4m28s 192.168.201.18 2 19h43m44s 9h51m52s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 74,050 buffers Checkpoint Peak
- 2025-12-05 08:37:28 Date
- 1620.034 seconds Highest write time
- 0.003 seconds Sync time
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- 2025-12-05 13:11:00 Date
Checkpoints distance
Key values
- 1,197.56 Mo Distance Peak
- 2025-12-05 06:07:27 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Nov 30 00 613 61.597s 0.004s 61.672s 01 89 9.09s 0.002s 9.121s 02 117 11.916s 0.002s 11.947s 03 2,112 211.576s 0.003s 211.658s 04 464 46.661s 0.002s 46.692s 05 56 5.785s 0.002s 5.816s 06 326 32.843s 0.002s 32.874s 07 329 33.14s 0.003s 33.17s 08 363 36.442s 0.002s 36.473s 09 494 49.659s 0.003s 49.689s 10 447 44.949s 0.002s 44.979s 11 146 14.815s 0.002s 14.848s 12 918 92.125s 0.002s 92.2s 13 391 39.328s 0.003s 39.358s 14 287 28.936s 0.002s 28.967s 15 126 12.821s 0.002s 12.851s 16 22 2.378s 0.002s 2.407s 17 68 6.976s 0.002s 7.006s 18 20 2.088s 0.001s 2.102s 19 18 1.971s 0.002s 2.001s 20 124 12.583s 0.002s 12.615s 21 147 14.902s 0.002s 14.932s 22 899 90.213s 0.003s 90.251s 23 2,964 296.876s 0.003s 296.949s Dec 01 00 341 34.367s 0.003s 34.48s 01 81 8.282s 0.002s 8.313s 02 118 11.996s 0.002s 12.026s 03 547 54.997s 0.003s 55.029s 04 158 15.928s 0.002s 15.958s 05 892 89.509s 0.003s 89.54s 06 426 42.861s 0.002s 42.894s 07 2,065 206.975s 0.003s 207.051s 08 258 26.025s 0.002s 26.099s 09 738 74.101s 0.003s 74.132s 10 1,053 105.651s 0.003s 105.681s 11 330 33.256s 0.002s 33.288s 12 2,687 269.33s 0.004s 269.586s 13 249 25.114s 0.002s 25.143s 14 60 6.186s 0.002s 6.216s 15 170 17.108s 0.002s 17.137s 16 580 58.304s 0.003s 58.335s 17 37 3.887s 0.002s 3.964s 18 32 3.381s 0.002s 3.41s 19 34 3.585s 0.002s 3.614s 20 113 11.495s 0.002s 11.525s 21 56 5.804s 0.002s 5.834s 22 329 33.128s 0.002s 33.158s 23 2,405 241.034s 0.002s 241.107s Dec 02 00 64,561 2,063.021s 0.004s 2,063.244s 01 137 13.912s 0.003s 13.943s 02 2,112 211.599s 0.003s 211.67s 03 948 95.152s 0.003s 95.186s 04 106 10.818s 0.002s 10.848s 05 3,998 400.389s 0.003s 400.425s 06 495 49.664s 0.002s 49.695s 07 872 87.512s 0.003s 87.583s 08 71 7.271s 0.002s 7.3s 09 258 26.042s 0.002s 26.072s 10 175 17.719s 0.002s 17.749s 11 84 8.591s 0.002s 8.621s 12 947 95.05s 0.002s 95.08s 13 223 22.489s 0.002s 22.52s 14 1,585 158.926s 0.004s 158.962s 15 185 18.69s 0.002s 18.72s 16 248 25.043s 0.002s 25.073s 17 16 1.816s 0.002s 1.845s 18 20 2.219s 0.002s 2.249s 19 105 10.745s 0.002s 10.774s 20 144 14.619s 0.002s 14.649s 21 1,067 107.054s 0.003s 107.091s 22 599 60.198s 0.002s 60.228s 23 42 4.364s 0.002s 4.395s Dec 03 00 375 37.745s 0.004s 37.818s 01 84 8.573s 0.002s 8.605s 02 147 14.908s 0.002s 14.938s 03 17,754 1,777.234s 0.003s 1,777.327s 04 702 70.484s 0.003s 70.515s 05 72 7.391s 0.002s 7.423s 06 127 12.809s 0.001s 12.825s 07 32,624 1,643.794s 0.003s 1,643.931s 08 2,012 201.685s 0.002s 201.756s 09 338 34.066s 0.002s 34.097s 10 209 21.119s 0.002s 21.148s 11 410 41.264s 0.002s 41.294s 12 479 48.048s 0.002s 48.078s 13 121 12.292s 0.002s 12.322s 14 200 20.21s 0.002s 20.24s 15 69 7.089s 0.002s 7.119s 16 32,892 1,620.161s 0.003s 1,620.296s 17 110 11.168s 0.002s 11.198s 18 125 12.717s 0.002s 12.748s 19 202 20.435s 0.002s 20.464s 20 55 5.662s 0.002s 5.692s 21 74 7.614s 0.002s 7.644s 22 6,162 617.226s 0.004s 617.31s 23 217 21.899s 0.002s 21.928s Dec 04 00 1,090 109.371s 0.004s 109.444s 01 2,994 300.056s 0.004s 300.132s 02 469 47.187s 0.002s 47.218s 03 342 34.458s 0.002s 34.53s 04 507 50.886s 0.002s 50.917s 05 3,204 321.209s 0.002s 321.282s 06 1,184 118.836s 0.003s 118.869s 07 752 75.522s 0.003s 75.594s 08 285 28.629s 0.002s 28.66s 09 170 17.214s 0.002s 17.244s 10 283 28.531s 0.002s 28.561s 11 286 28.836s 0.002s 28.865s 12 3,955 395.16s 0.004s 395.199s 13 371 37.32s 0.002s 37.351s 14 378 38.044s 0.002s 38.074s 15 112 11.403s 0.002s 11.433s 16 257 25.909s 0.002s 25.941s 17 72 7.395s 0.002s 7.427s 18 176 17.8s 0.002s 17.832s 19 7,487 749.66s 0.003s 749.747s 20 115 11.496s 0.002s 11.524s 21 667 66.999s 0.002s 67.031s 22 633 63.628s 0.002s 63.659s 23 1,037 104.085s 0.003s 104.158s Dec 05 00 789 79.241s 0.004s 79.314s 01 3,028 303.33s 0.001s 303.41s 02 21,277 1,640.85s 0.004s 1,640.896s 03 762 76.508s 0.002s 76.539s 04 258 25.93s 0.002s 25.961s 05 116 11.706s 0.001s 11.722s 06 56,214 1,652.757s 0.004s 1,652.963s 07 596 59.782s 0.002s 59.812s 08 75,834 1,798.803s 0.004s 1,798.979s 09 298 30.036s 0.002s 30.067s 10 4,711 471.9s 0.003s 471.98s 11 500 50.173s 0.002s 50.204s 12 446 44.847s 0.002s 44.878s 13 497 49.967s 0.002s 49.998s 14 236 23.727s 0.002s 23.759s 15 386 38.853s 0.003s 38.927s 16 389 39.143s 0.002s 39.173s 17 551 55.383s 0.003s 55.414s 18 56 5.687s 0.002s 5.716s 19 674 67.686s 0.003s 67.717s 20 63 6.487s 0.002s 6.517s 21 145 14.703s 0.002s 14.733s 22 248 24.916s 0.002s 24.947s 23 152 15.397s 0.002s 15.427s Dec 06 00 783 78.618s 0.003s 78.695s 01 143 14.505s 0.002s 14.537s 02 149 15.013s 0.002s 15.042s 03 38 3.894s 0.001s 3.91s Day Hour Added Removed Recycled Synced files Longest sync Average sync Nov 30 00 0 0 0 74 0.001s 0.002s 01 0 0 0 27 0.001s 0.002s 02 0 0 0 24 0.001s 0.002s 03 0 2 0 28 0.001s 0.002s 04 0 0 0 39 0.001s 0.002s 05 0 0 0 17 0.001s 0.002s 06 0 0 0 79 0.001s 0.002s 07 0 0 0 115 0.001s 0.002s 08 0 0 0 129 0.001s 0.002s 09 0 0 0 125 0.001s 0.002s 10 0 0 0 133 0.001s 0.002s 11 0 0 0 28 0.001s 0.002s 12 0 1 0 45 0.001s 0.002s 13 0 0 0 36 0.001s 0.002s 14 0 0 0 41 0.001s 0.002s 15 0 0 0 29 0.001s 0.002s 16 0 0 0 15 0.001s 0.002s 17 0 0 0 16 0.001s 0.002s 18 0 0 0 9 0.001s 0.001s 19 0 0 0 15 0.001s 0.002s 20 0 0 0 22 0.001s 0.002s 21 0 0 0 31 0.001s 0.002s 22 0 1 0 37 0.001s 0.002s 23 0 1 0 46 0.001s 0.002s Dec 01 00 0 1 0 66 0.001s 0.002s 01 0 0 0 22 0.001s 0.002s 02 0 0 0 27 0.001s 0.002s 03 0 0 0 38 0.001s 0.002s 04 0 0 0 34 0.001s 0.002s 05 0 0 0 35 0.001s 0.002s 06 0 0 0 125 0.001s 0.002s 07 0 1 0 143 0.001s 0.002s 08 0 1 0 82 0.001s 0.002s 09 0 0 0 101 0.001s 0.002s 10 0 0 0 94 0.001s 0.002s 11 0 0 0 122 0.001s 0.002s 12 0 34 0 137 0.001s 0.002s 13 0 0 0 68 0.001s 0.002s 14 0 0 0 31 0.001s 0.002s 15 0 0 0 71 0.001s 0.002s 16 0 0 0 83 0.001s 0.002s 17 0 1 0 27 0.001s 0.002s 18 0 0 0 22 0.001s 0.002s 19 0 0 0 18 0.001s 0.002s 20 0 0 0 23 0.001s 0.002s 21 0 0 0 22 0.001s 0.002s 22 0 0 0 38 0.001s 0.002s 23 0 1 0 46 0.001s 0.002s Dec 02 00 0 38 0 91 0.001s 0.002s 01 0 0 0 29 0.001s 0.002s 02 0 1 0 33 0.001s 0.002s 03 0 1 0 42 0.001s 0.002s 04 0 0 0 26 0.001s 0.002s 05 0 2 0 34 0.001s 0.002s 06 0 0 0 125 0.001s 0.002s 07 0 1 0 142 0.001s 0.002s 08 0 0 0 21 0.001s 0.002s 09 0 0 0 73 0.001s 0.002s 10 0 0 0 29 0.001s 0.002s 11 0 0 0 28 0.001s 0.002s 12 0 0 0 117 0.001s 0.002s 13 0 0 0 77 0.001s 0.002s 14 0 1 0 86 0.001s 0.002s 15 0 0 0 76 0.001s 0.002s 16 0 0 0 105 0.001s 0.002s 17 0 0 0 15 0.001s 0.002s 18 0 0 0 15 0.001s 0.002s 19 0 0 0 23 0.001s 0.002s 20 0 0 0 30 0.001s 0.002s 21 0 1 0 30 0.001s 0.002s 22 0 0 0 36 0.001s 0.002s 23 0 0 0 18 0.001s 0.002s Dec 03 00 0 0 0 65 0.001s 0.002s 01 0 0 0 21 0.001s 0.002s 02 0 0 0 28 0.001s 0.002s 03 0 9 0 51 0.001s 0.002s 04 0 0 0 35 0.001s 0.002s 05 0 0 0 22 0.001s 0.002s 06 0 0 0 19 0.001s 0.001s 07 0 16 0 101 0.001s 0.003s 08 0 1 0 86 0.001s 0.002s 09 0 0 0 128 0.001s 0.002s 10 0 0 0 63 0.001s 0.002s 11 0 0 0 125 0.001s 0.002s 12 0 0 0 81 0.001s 0.002s 13 0 0 0 62 0.001s 0.002s 14 0 0 0 71 0.001s 0.002s 15 0 0 0 29 0.001s 0.002s 16 0 21 0 119 0.001s 0.002s 17 0 0 0 18 0.001s 0.002s 18 0 0 0 29 0.001s 0.002s 19 0 0 0 22 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 4 0 40 0.001s 0.002s 23 0 0 0 19 0.001s 0.002s Dec 04 00 0 0 0 66 0.001s 0.002s 01 0 1 0 47 0.001s 0.002s 02 0 0 0 29 0.001s 0.002s 03 0 1 0 36 0.001s 0.002s 04 0 0 0 37 0.001s 0.002s 05 0 1 0 46 0.001s 0.002s 06 0 0 0 89 0.001s 0.002s 07 0 1 0 128 0.001s 0.002s 08 0 0 0 29 0.001s 0.002s 09 0 0 0 30 0.001s 0.002s 10 0 0 0 32 0.001s 0.002s 11 0 0 0 28 0.001s 0.002s 12 0 2 0 71 0.001s 0.002s 13 0 0 0 26 0.001s 0.002s 14 0 0 0 104 0.001s 0.002s 15 0 0 0 27 0.001s 0.002s 16 0 0 0 25 0.001s 0.002s 17 0 0 0 16 0.001s 0.002s 18 0 0 0 20 0.001s 0.002s 19 0 5 0 34 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 37 0.001s 0.002s 22 0 0 0 40 0.001s 0.002s 23 0 1 0 29 0.001s 0.002s Dec 05 00 0 0 0 74 0.001s 0.002s 01 0 2 0 22 0.001s 0.001s 02 0 0 0 57 0.001s 0.003s 03 0 0 0 46 0.001s 0.002s 04 0 0 0 35 0.001s 0.002s 05 0 0 0 17 0.001s 0.001s 06 0 38 0 108 0.001s 0.003s 07 0 0 0 126 0.001s 0.002s 08 0 36 0 141 0.001s 0.002s 09 0 0 0 42 0.001s 0.002s 10 0 3 0 38 0.001s 0.002s 11 0 0 0 120 0.001s 0.002s 12 0 0 0 121 0.001s 0.002s 13 0 0 0 133 0.001s 0.002s 14 0 0 0 68 0.001s 0.002s 15 0 1 0 145 0.001s 0.002s 16 0 0 0 69 0.001s 0.002s 17 0 0 0 116 0.001s 0.002s 18 0 0 0 17 0.001s 0.002s 19 0 0 0 31 0.001s 0.002s 20 0 0 0 17 0.001s 0.002s 21 0 0 0 27 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 0 29 0.001s 0.002s Dec 06 00 0 1 0 67 0.001s 0.002s 01 0 0 0 24 0.001s 0.002s 02 0 0 0 30 0.001s 0.002s 03 0 0 0 9 0.001s 0.001s Day Hour Count Avg time (sec) Nov 30 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 Dec 01 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 Dec 02 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 Dec 03 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 Dec 04 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 Dec 05 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 Dec 06 00 0 0s 01 0 0s 02 0 0s 03 0 0s Day Hour Mean distance Mean estimate Nov 30 00 1,865.50 kB 3,512.00 kB 01 177.50 kB 2,866.00 kB 02 180.50 kB 2,355.00 kB 03 10,275.00 kB 11,272.50 kB 04 502.00 kB 17,621.00 kB 05 45.50 kB 14,297.00 kB 06 1,045.50 kB 11,721.50 kB 07 833.50 kB 9,685.00 kB 08 887.50 kB 7,999.00 kB 09 1,555.50 kB 6,722.50 kB 10 1,433.50 kB 5,772.00 kB 11 430.50 kB 4,762.50 kB 12 3,475.00 kB 4,390.50 kB 13 1,275.50 kB 3,937.50 kB 14 1,000.00 kB 3,397.50 kB 15 366.00 kB 2,797.00 kB 16 29.00 kB 2,299.50 kB 17 34.00 kB 1,868.50 kB 18 49.00 kB 1,600.00 kB 19 33.00 kB 1,373.00 kB 20 281.50 kB 1,161.00 kB 21 322.00 kB 1,002.00 kB 22 3,388.00 kB 5,367.50 kB 23 13,913.50 kB 26,263.50 kB Dec 01 00 1,171.00 kB 21,503.00 kB 01 159.50 kB 17,437.00 kB 02 199.00 kB 14,158.50 kB 03 1,620.50 kB 11,650.00 kB 04 264.50 kB 9,624.50 kB 05 3,347.50 kB 8,138.00 kB 06 1,250.50 kB 7,079.00 kB 07 9,044.00 kB 16,176.50 kB 08 543.50 kB 13,235.00 kB 09 2,336.50 kB 11,002.00 kB 10 3,333.50 kB 9,701.50 kB 11 825.50 kB 7,996.50 kB 12 274,830.00 kB 274,830.00 kB 13 2,353.50 kB 458,425.00 kB 14 110.50 kB 371,343.50 kB 15 332.50 kB 300,853.00 kB 16 2,144.00 kB 244,099.50 kB 17 63.50 kB 197,732.00 kB 18 50.50 kB 160,173.50 kB 19 54.50 kB 129,750.50 kB 20 256.00 kB 105,128.50 kB 21 124.50 kB 85,192.00 kB 22 1,127.50 kB 69,130.50 kB 23 10,712.50 kB 57,593.50 kB Dec 02 00 310,992.00 kB 549,703.50 kB 01 302.00 kB 447,363.00 kB 02 9,590.50 kB 363,340.00 kB 03 3,208.00 kB 295,514.50 kB 04 222.00 kB 239,666.50 kB 05 20,343.00 kB 196,183.00 kB 06 1,615.00 kB 160,937.50 kB 07 1,933.00 kB 130,780.50 kB 08 119.00 kB 105,987.50 kB 09 452.50 kB 85,936.50 kB 10 431.00 kB 69,660.50 kB 11 163.00 kB 56,486.50 kB 12 2,875.50 kB 46,288.50 kB 13 598.00 kB 37,575.00 kB 14 5,651.00 kB 31,252.50 kB 15 551.50 kB 25,678.50 kB 16 937.50 kB 20,999.50 kB 17 24.50 kB 17,037.50 kB 18 41.00 kB 13,807.00 kB 19 266.00 kB 11,216.50 kB 20 324.00 kB 9,142.50 kB 21 4,148.00 kB 8,023.50 kB 22 469.50 kB 7,093.00 kB 23 74.00 kB 5,778.00 kB Dec 03 00 1,356.00 kB 4,939.00 kB 01 168.00 kB 4,021.00 kB 02 343.50 kB 3,320.50 kB 03 75,237.50 kB 127,993.00 kB 04 2,159.00 kB 104,816.50 kB 05 155.00 kB 84,943.00 kB 06 744.00 kB 72,504.00 kB 07 83,586.67 kB 225,664.33 kB 08 8,175.50 kB 174,573.50 kB 09 943.50 kB 141,572.50 kB 10 498.00 kB 114,777.50 kB 11 1,059.50 kB 93,169.00 kB 12 1,599.00 kB 75,806.00 kB 13 247.50 kB 61,434.00 kB 14 540.50 kB 49,879.50 kB 15 103.50 kB 40,420.50 kB 16 170,724.50 kB 324,322.50 kB 17 262.00 kB 262,732.00 kB 18 291.00 kB 212,885.50 kB 19 117.00 kB 172,459.00 kB 20 65.00 kB 139,705.50 kB 21 121.00 kB 113,182.50 kB 22 30,123.00 kB 97,382.00 kB 23 80.50 kB 78,915.00 kB Dec 04 00 1,512.50 kB 64,198.50 kB 01 11,351.00 kB 53,967.50 kB 02 212.50 kB 43,955.50 kB 03 404.50 kB 35,663.50 kB 04 520.50 kB 28,979.00 kB 05 11,896.00 kB 25,739.00 kB 06 3,129.50 kB 21,228.00 kB 07 1,606.00 kB 17,639.00 kB 08 616.00 kB 14,454.00 kB 09 395.50 kB 11,804.00 kB 10 302.50 kB 9,626.50 kB 11 263.00 kB 7,846.50 kB 12 19,096.50 kB 22,433.50 kB 13 296.00 kB 32,675.00 kB 14 870.00 kB 26,559.00 kB 15 99.00 kB 21,602.00 kB 16 78.00 kB 17,516.00 kB 17 55.00 kB 14,196.50 kB 18 54.50 kB 11,510.00 kB 19 38,856.50 kB 73,785.00 kB 20 65.50 kB 59,777.00 kB 21 1,819.00 kB 48,640.50 kB 22 1,157.00 kB 39,740.50 kB 23 3,510.00 kB 32,550.50 kB Dec 05 00 3,019.50 kB 27,135.00 kB 01 27,027.00 kB 27,027.00 kB 02 906.00 kB 22,175.33 kB 03 2,145.50 kB 17,428.50 kB 04 701.50 kB 14,242.00 kB 05 684.00 kB 12,247.00 kB 06 205,081.00 kB 553,985.33 kB 07 1,880.00 kB 425,078.50 kB 08 291,127.00 kB 539,926.50 kB 09 841.50 kB 438,126.50 kB 10 24,265.50 kB 359,495.00 kB 11 1,271.50 kB 291,407.50 kB 12 1,220.50 kB 236,273.00 kB 13 1,566.00 kB 191,677.50 kB 14 630.00 kB 155,407.00 kB 15 1,336.00 kB 126,077.50 kB 16 913.00 kB 102,325.50 kB 17 1,322.00 kB 83,167.50 kB 18 211.00 kB 67,419.50 kB 19 2,090.50 kB 55,006.50 kB 20 216.50 kB 44,595.50 kB 21 418.50 kB 36,201.00 kB 22 399.00 kB 29,386.50 kB 23 464.00 kB 23,904.50 kB Dec 06 00 5,972.50 kB 20,493.50 kB 01 242.00 kB 16,649.00 kB 02 383.50 kB 13,557.50 kB 03 239.00 kB 11,596.00 kB -
Temporary Files
Size of temporary files
Key values
- 3.02 MiB Temp Files size Peak
- 2025-12-01 11:58:02 Date
Number of temporary files
Key values
- 2 per second Temp Files Peak
- 2025-12-01 11:58:02 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Nov 30 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 01 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 4 4.87 MiB 1.22 MiB 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 02 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 03 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 04 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 05 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 06 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 4 4.87 MiB 568.00 KiB 1.91 MiB 1.22 MiB vacuum full analyze edit.reference_contact;-
VACUUM FULL ANALYZE edit.reference_contact;
Date: 2025-12-01 11:58:01 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.91 MiB VACUUM FULL ANALYZE edit.reference_contact;[ Date: 2025-12-01 11:58:02 ]
2 1.29 MiB VACUUM FULL ANALYZE edit.reference_contact;[ Date: 2025-12-01 11:58:01 ]
3 1.11 MiB VACUUM FULL ANALYZE edit.reference_contact;[ Date: 2025-12-01 11:58:02 ]
4 568.00 KiB VACUUM FULL ANALYZE edit.reference_contact;[ Date: 2025-12-01 11:58:01 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 13.75 sec Highest CPU-cost vacuum
Table load.ixn_prose
Database ctdprd51 - 2025-12-01 12:40:34 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 13.75 sec Highest CPU-cost vacuum
Table load.ixn_prose
Database ctdprd51 - 2025-12-01 12:40:34 Date
Analyzes per table
Key values
- pubc.log_query (118) Main table analyzed (database ctdprd51)
- 145 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 118 ctdprd51.pub1.term_set_enrichment 10 ctdprd51.pub1.term_set_enrichment_agent 6 ctdprd51.pub1.term_comp 4 ctdprd51.pub1.term_comp_agent 3 ctdprd51.edit.tm_reference 1 ctdprd51.edit.tm_reference_term 1 ctdprd51.load.ixn_prose 1 ctdprd51.pg_catalog.pg_attribute 1 Total 145 Vacuums per table
Key values
- pubc.log_query (14) Main table vacuumed on database ctdprd51
- 30 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 14 13 5,681 0 1,015 0 0 1,756 524 3,696,999 ctdprd51.pub1.term_set_enrichment 5 0 5,942 0 1,889 0 0 2,722 9 216,613 ctdprd51.pub1.term_set_enrichment_agent 4 0 222,467 0 60,917 0 0 111,065 9 6,618,062 ctdprd51.pub1.term_comp_agent 2 0 908 0 70 0 0 364 3 37,077 ctdprd51.load.ixn_prose 1 0 58,851 0 54,746 0 0 56,775 3 3,373,025 ctdprd51.pg_catalog.pg_statistic 1 1 771 0 184 0 126 510 166 682,989 ctdprd51.pg_toast.pg_toast_486223 1 0 48 0 0 0 0 2 0 244 ctdprd51.pg_toast.pg_toast_2619 1 1 4,711 0 1,735 0 9,834 3,803 1,177 666,062 ctdprd51.edit.tm_reference_term 1 1 1,520 0 200 0 0 838 67 506,621 Total 30 16 300,899 56,436 120,756 0 9,960 177,835 1,958 15,797,692 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (4392) Main table with removed tuples on database ctdprd51
- 5566 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 1 1 4,392 22,321 0 0 12,592 ctdprd51.pg_catalog.pg_statistic 1 1 548 3,401 0 0 410 ctdprd51.edit.tm_reference_term 1 1 453 97,596 0 0 1,250 ctdprd51.pubc.log_query 14 13 173 38,374 0 0 1,522 ctdprd51.load.ixn_prose 1 0 0 3,121,771 0 0 56,774 ctdprd51.pub1.term_comp_agent 2 0 0 159,273 0 0 1,356 ctdprd51.pub1.term_set_enrichment 5 0 0 731,428 0 0 12,114 ctdprd51.pub1.term_set_enrichment_agent 4 0 0 37,917,439 0 0 430,884 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 0 0 0 Total 30 16 5,566 42,091,603 0 0 516,902 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.load.ixn_prose 1 0 0 0 ctdprd51.pg_catalog.pg_statistic 1 1 548 0 ctdprd51.pub1.term_comp_agent 2 0 0 0 ctdprd51.pub1.term_set_enrichment 5 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 4 0 0 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 1 1 4392 0 ctdprd51.edit.tm_reference_term 1 1 453 0 ctdprd51.pubc.log_query 14 13 173 0 Total 30 16 5,566 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Nov 30 00 0 0 01 0 1 02 0 1 03 1 2 04 0 1 05 0 4 06 0 0 07 0 1 08 0 0 09 0 1 10 0 1 11 0 1 12 0 2 13 0 1 14 0 1 15 0 0 16 0 0 17 0 0 18 0 0 19 1 0 20 0 1 21 0 0 22 1 1 23 1 2 Dec 01 00 0 0 01 0 1 02 0 2 03 0 3 04 0 1 05 1 3 06 0 1 07 0 0 08 0 1 09 0 1 10 0 1 11 0 0 12 1 2 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 1 21 0 0 22 0 1 23 0 2 Dec 02 00 3 3 01 0 1 02 0 1 03 0 4 04 0 1 05 0 3 06 0 0 07 0 1 08 0 1 09 0 0 10 1 1 11 0 0 12 0 0 13 0 1 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 1 20 0 0 21 1 1 22 0 1 23 0 0 Dec 03 00 0 1 01 0 2 02 0 2 03 0 3 04 1 1 05 0 3 06 2 2 07 0 1 08 0 1 09 0 1 10 0 0 11 0 1 12 0 0 13 0 1 14 0 0 15 1 2 16 0 0 17 1 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 1 23 0 0 Dec 04 00 1 2 01 0 1 02 0 2 03 0 2 04 1 4 05 0 3 06 0 1 07 0 1 08 1 2 09 0 1 10 0 0 11 0 1 12 1 2 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 0 Dec 05 00 0 1 01 2 3 02 0 4 03 0 3 04 1 3 05 1 6 06 0 1 07 2 2 08 0 2 09 0 2 10 0 1 11 1 1 12 0 1 13 0 1 14 0 0 15 0 1 16 2 1 17 0 0 18 0 1 19 0 0 20 0 1 21 0 0 22 1 0 23 0 1 Dec 06 00 0 0 01 0 1 02 0 0 03 0 0 - 13.75 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 359 Total read queries
- 1 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 276 Requests
- 2h4m4s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 599 Requests
User Request type Count Duration edit Total 2 11s577ms select 2 11s577ms editeu Total 14 2m33s select 14 2m33s load Total 9 22m43s ddl 2 16m11s select 7 6m31s pubc Total 11 1h23m3s select 11 1h23m3s pubeu Total 599 1h48m36s select 599 1h48m36s qaeu Total 31 3m13s select 31 3m13s unknown Total 213 1h35m55s others 9 1m select 204 1h34m55s Duration by user
Key values
- 1h48m36s (pubeu) Main time consuming user
User Request type Count Duration edit Total 2 11s577ms select 2 11s577ms editeu Total 14 2m33s select 14 2m33s load Total 9 22m43s ddl 2 16m11s select 7 6m31s pubc Total 11 1h23m3s select 11 1h23m3s pubeu Total 599 1h48m36s select 599 1h48m36s qaeu Total 31 3m13s select 31 3m13s unknown Total 213 1h35m55s others 9 1m select 204 1h34m55s Queries by host
Key values
- unknown Main host
- 879 Requests
- 5h16m17s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 357 Requests
- 1h35m51s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-12-01 22:51:41 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 286 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 19m1s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1271832') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-12-03 22:14:07 - Bind query: yes ]
2 12m21s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Label */ gli.term_id gene_id FROM term_label gli WHERE gli.object_type_id = 4 AND UPPER(gli.nm) LIKE 'L CASP3') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN term_label li ON li.term_id = pi.ancestor_object_id WHERE UPPER(li.nm) LIKE 'BIOLOGICAL\_PROCESS' AND li.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Name */ tp.term_id FROM term_pathway tp WHERE UPPER(tp.pathway_nm) LIKE 'ABACAVIR METABOLISM' AND tp.object_type_id = 4))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'AMURENOSIDE B' AND l.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Label */ dp.descendant_object_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BACTERIA' AND l.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50;[ Date: 2025-12-02 11:13:46 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
3 9m19s /* * 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: 2025-12-06 00:09:38 - Database: ctdprd51 - User: pubc - Application: psql ]
4 9m11s /* * 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: 2025-12-01 00:09:13 - Database: ctdprd51 - User: pubc - Application: psql ]
5 9m10s /* * 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: 2025-12-05 00:09:12 - Database: ctdprd51 - User: pubc - Application: psql ]
6 9m9s /* * 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: 2025-12-02 00:09:11 - Database: ctdprd51 - User: pubc - Application: psql ]
7 9m8s /* * 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: 2025-11-30 00:09:11 - Database: ctdprd51 - User: pubc - Application: psql ]
8 9m7s /* * 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: 2025-12-03 00:09:09 - Database: ctdprd51 - User: pubc - Application: psql ]
9 9m6s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1289647') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-12-03 22:01:57 - Bind query: yes ]
10 9m5s /* * 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: 2025-12-04 00:09:06 - Database: ctdprd51 - User: pubc - Application: psql ]
11 8m5s -- MUST RUN THIS FIRST in the LOAD database (takes about 10 minutes): drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;[ Date: 2025-12-01 12:40:10 - Database: ctdprd51 - User: load - Application: pgAdmin 4 - CONN:6472735 ]
12 2m45s SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');[ Date: 2025-12-01 12:49:51 - Database: ctdprd51 - User: load - Bind query: yes ]
13 1m3s SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'cardiovascular diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2123820) and diseaseTerm.object_type_id = 3;[ Date: 2025-12-04 23:09:57 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 57s562ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'nervous system diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2116519) and diseaseTerm.object_type_id = 3;[ Date: 2025-12-04 23:16:40 - Bind query: yes ]
15 56s994ms select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_ID, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from load.term t where object_type_id = 1;[ Date: 2025-12-02 08:42:16 - Bind query: yes ]
16 56s329ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'neoplasms' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2116993) and diseaseTerm.object_type_id = 3;[ Date: 2025-12-04 23:05:13 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 46s755ms select i.root_id, iq.nm from edit.REFERENCE_IXN_QUALIFIER riq, edit.IXN_QUALIFIER iq, edit.REFERENCE_IXN ri, edit.IXN i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;[ Date: 2025-12-01 12:50:55 - Bind query: yes ]
18 41s305ms SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.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, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2112938')) ORDER BY r.sort_txt LIMIT 50;[ Date: 2025-12-01 10:08:24 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
19 41s247ms SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.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, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2112938')) ORDER BY r.sort_txt LIMIT 50;[ Date: 2025-12-04 05:51:38 - Bind query: yes ]
20 37s861ms SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'heart diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2112015) and diseaseTerm.object_type_id = 3;[ Date: 2025-12-04 23:12:47 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h4m13s 7 9m5s 9m19s 9m10s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 30 00 1 9m8s 9m8s Dec 01 00 1 9m11s 9m11s Dec 02 00 1 9m9s 9m9s Dec 03 00 1 9m7s 9m7s Dec 04 00 1 9m5s 9m5s Dec 05 00 1 9m10s 9m10s Dec 06 00 1 9m19s 9m19s [ User: pubc - Total duration: 1h4m13s - Times executed: 7 ]
[ Application: psql - Total duration: 1h4m13s - Times executed: 7 ]
-
/* * 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: 2025-12-06 00:09:38 Duration: 9m19s Database: ctdprd51 User: pubc Application: psql
-
/* * 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: 2025-12-01 00:09:13 Duration: 9m11s Database: ctdprd51 User: pubc Application: psql
-
/* * 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: 2025-12-05 00:09:12 Duration: 9m10s Database: ctdprd51 User: pubc Application: psql
2 28m8s 2 9m6s 19m1s 14m4s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 03 22 2 28m8s 14m4s -
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1271832') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-12-03 22:14:07 Duration: 19m1s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1289647') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-12-03 22:01:57 Duration: 9m6s Bind query: yes
3 13m31s 53 5s235ms 1m3s 15s309ms select ? AS "Input", phenotypeterm.nm AS "PhenotypeName", phenotypeterm.acc_txt AS "PhenotypeID", diseaseterm.nm AS "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", ( select string_agg(distinct geneterm.nm, ?) from term geneterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneterm.id and ptr.via_term_object_type_id = ?) AS "GeneInferenceNetwork", ( select string_agg(distinct chemterm.nm, ?) from term chemterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemterm.id and ptr.via_term_object_type_id = ?) AS "ChemInferenceNetwork", ( select string_agg(distinct r.acc_txt, ?) from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 04 23 53 13m31s 15s309ms [ User: pubeu - Total duration: 7m58s - Times executed: 34 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'cardiovascular diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2123820) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:09:57 Duration: 1m3s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'nervous system diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2116519) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:16:40 Duration: 57s562ms Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'neoplasms' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2116993) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:05:13 Duration: 56s329ms Database: ctdprd51 User: pubeu Bind query: yes
4 12m21s 1 12m21s 12m21s 12m21s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gli.term_id gene_id from term_label gli where gli.object_type_id = ? and upper(gli.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join term_label li on li.term_id = pi.ancestor_object_id where upper(li.nm) like ? and li.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where upper(tp.pathway_nm) like ? and tp.object_type_id = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term_label l on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from term_label l inner join dag_path dp on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by g.nm_sort, c.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 02 11 1 12m21s 12m21s [ User: pubeu - Total duration: 12m21s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Label */ gli.term_id gene_id FROM term_label gli WHERE gli.object_type_id = 4 AND UPPER(gli.nm) LIKE 'L CASP3') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN term_label li ON li.term_id = pi.ancestor_object_id WHERE UPPER(li.nm) LIKE 'BIOLOGICAL\_PROCESS' AND li.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Name */ tp.term_id FROM term_pathway tp WHERE UPPER(tp.pathway_nm) LIKE 'ABACAVIR METABOLISM' AND tp.object_type_id = 4))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'AMURENOSIDE B' AND l.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Label */ dp.descendant_object_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BACTERIA' AND l.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-12-02 11:13:46 Duration: 12m21s Database: ctdprd51 User: pubeu Bind query: yes
5 8m22s 90 5s16ms 6s260ms 5s588ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 30 11 1 5s883ms 5s883ms 15 1 5s918ms 5s918ms 16 3 16s925ms 5s641ms 20 2 10s726ms 5s363ms 22 5 28s165ms 5s633ms 23 2 11s419ms 5s709ms Dec 01 02 2 11s458ms 5s729ms 03 1 6s27ms 6s27ms 04 2 10s829ms 5s414ms 05 1 5s329ms 5s329ms 08 2 10s823ms 5s411ms 09 4 22s585ms 5s646ms Dec 02 02 3 17s361ms 5s787ms 03 1 5s756ms 5s756ms 23 1 5s756ms 5s756ms Dec 03 10 4 21s651ms 5s412ms 21 5 27s811ms 5s562ms 22 6 33s7ms 5s501ms Dec 04 00 1 5s377ms 5s377ms 02 2 11s135ms 5s567ms 03 2 11s300ms 5s650ms 05 11 59s147ms 5s377ms 11 2 10s530ms 5s265ms 12 1 5s232ms 5s232ms 13 1 6s48ms 6s48ms 14 1 5s49ms 5s49ms 15 1 5s973ms 5s973ms 17 1 5s823ms 5s823ms 18 1 5s149ms 5s149ms 20 1 5s909ms 5s909ms 21 2 11s616ms 5s808ms 22 3 17s365ms 5s788ms Dec 05 00 2 11s77ms 5s538ms 02 1 5s847ms 5s847ms 04 2 12s237ms 6s118ms 07 6 34s44ms 5s674ms 19 3 16s629ms 5s543ms [ User: pubeu - Total duration: 7m23s - Times executed: 79 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1393943' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-12-04 21:41:54 Duration: 6s260ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1435048' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-12-05 04:17:57 Duration: 6s241ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1342772' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-12-05 07:11:20 Duration: 6s127ms Database: ctdprd51 User: pubeu Bind query: yes
6 8m5s 1 8m5s 8m5s 8m5s drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 01 12 1 8m5s 8m5s [ User: load - Total duration: 8m5s - Times executed: 1 ]
[ Application: pgAdmin 4 - CONN:6472735 - Total duration: 8m5s - Times executed: 1 ]
-
-- MUST RUN THIS FIRST in the LOAD database (takes about 10 minutes): drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;
Date: 2025-12-01 12:40:10 Duration: 8m5s Database: ctdprd51 User: load Application: pgAdmin 4 - CONN:6472735
7 2m50s 33 5s14ms 6s138ms 5s176ms select ? "Input", sq.gene_symbol "GeneSymbol", sq.gene_acc_txt "GeneID", sq.ontology_nm "Ontology", sq.go_term_nm "GoTermName", sq.go_acc_txt "GoTermID" from ( select distinct g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort, d.nm ontology_nm, gt.nm go_term_nm, gt.acc_txt go_acc_txt, gt.nm_sort from term g inner join gene_go_annot gga on g.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 (gt.object_id = ?) and gga.is_not = false order by gt.nm_sort, g.nm_sort) sq;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 01 02 2 11s205ms 5s602ms Dec 02 12 1 5s64ms 5s64ms Dec 03 07 5 25s625ms 5s125ms 08 2 10s259ms 5s129ms 10 3 15s448ms 5s149ms 12 4 20s467ms 5s116ms 13 5 25s703ms 5s140ms 14 2 10s255ms 5s127ms 16 3 15s663ms 5s221ms 18 4 20s849ms 5s212ms Dec 04 05 1 5s84ms 5s84ms 06 1 5s182ms 5s182ms [ User: pubeu - Total duration: 2m19s - Times executed: 27 ]
-
SELECT /* BatchGeneGOAssnsDAO */ 'go:0005515' "Input", sq.gene_symbol "GeneSymbol", sq.gene_acc_txt "GeneID", sq.ontology_nm "Ontology", sq.go_term_nm "GoTermName", sq.go_acc_txt "GoTermID" FROM ( SELECT DISTINCT g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort, d.nm ontology_nm, gt.nm go_term_nm, gt.acc_txt go_acc_txt, gt.nm_sort FROM term g INNER JOIN gene_go_annot gga ON g.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 (gt.object_id = 1289759) AND gga.is_not = false ORDER BY gt.nm_sort, g.nm_sort) sq;
Date: 2025-12-01 02:15:47 Duration: 6s138ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchGeneGOAssnsDAO */ 'go:0005515' "Input", sq.gene_symbol "GeneSymbol", sq.gene_acc_txt "GeneID", sq.ontology_nm "Ontology", sq.go_term_nm "GoTermName", sq.go_acc_txt "GoTermID" FROM ( SELECT DISTINCT g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort, d.nm ontology_nm, gt.nm go_term_nm, gt.acc_txt go_acc_txt, gt.nm_sort FROM term g INNER JOIN gene_go_annot gga ON g.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 (gt.object_id = 1289759) AND gga.is_not = false ORDER BY gt.nm_sort, g.nm_sort) sq;
Date: 2025-12-03 16:51:40 Duration: 5s320ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchGeneGOAssnsDAO */ 'go:0005515' "Input", sq.gene_symbol "GeneSymbol", sq.gene_acc_txt "GeneID", sq.ontology_nm "Ontology", sq.go_term_nm "GoTermName", sq.go_acc_txt "GoTermID" FROM ( SELECT DISTINCT g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort, d.nm ontology_nm, gt.nm go_term_nm, gt.acc_txt go_acc_txt, gt.nm_sort FROM term g INNER JOIN gene_go_annot gga ON g.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 (gt.object_id = 1289759) AND gga.is_not = false ORDER BY gt.nm_sort, g.nm_sort) sq;
Date: 2025-12-03 18:06:12 Duration: 5s305ms Database: ctdprd51 User: pubeu Bind query: yes
8 2m45s 1 2m45s 2m45s 2m45s select r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, ?), r.evidence_cd, i.create_by from edit.reference_ixn r, edit.ixn i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.ixn_type where nm = ?);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 01 12 1 2m45s 2m45s [ User: load - Total duration: 2m45s - Times executed: 1 ]
-
SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');
Date: 2025-12-01 12:49:51 Duration: 2m45s Database: ctdprd51 User: load Bind query: yes
9 2m43s 12 7s791ms 17s299ms 13s612ms 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 #9
Day Hour Count Duration Avg duration Dec 01 03 8 1m50s 13s803ms 08 1 13s807ms 13s807ms Dec 04 01 2 31s327ms 15s663ms 02 1 7s791ms 7s791ms [ User: pubeu - Total duration: 2m27s - Times executed: 11 ]
-
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 = '2118450') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-12-01 03:26:44 Duration: 17s299ms 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 = '2116761') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-12-04 01:47:22 Duration: 15s965ms 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 = '2116761') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-12-04 01:46:16 Duration: 15s362ms Bind query: yes
10 2m3s 18 5s26ms 12s91ms 6s854ms 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 #10
Day Hour Count Duration Avg duration Dec 03 21 5 34s223ms 6s844ms Dec 04 00 1 5s430ms 5s430ms 01 2 10s911ms 5s455ms 02 2 15s25ms 7s512ms 03 6 40s293ms 6s715ms 04 1 5s602ms 5s602ms Dec 05 03 1 11s886ms 11s886ms [ User: pubeu - Total duration: 1m45s - Times executed: 16 ]
-
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 = '2116993') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-12-03 21:50:05 Duration: 12s91ms 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 = '2116993') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-12-05 03:01:54 Duration: 11s886ms 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 = '2122064') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-12-04 03:12:59 Duration: 11s372ms Bind query: yes
11 1m44s 14 7s313ms 7s758ms 7s489ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and ptr.term_object_type_id = ? and ptr.phenotype_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and taxonterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = ? and action_degree_type_nm in (...)) group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 30 05 2 14s896ms 7s448ms Dec 01 03 1 7s394ms 7s394ms 05 2 14s830ms 7s415ms Dec 02 05 2 14s740ms 7s370ms Dec 03 05 2 14s831ms 7s415ms Dec 04 05 2 15s195ms 7s597ms Dec 05 01 1 7s758ms 7s758ms 05 2 15s204ms 7s602ms [ User: pubeu - Total duration: 44s916ms - Times executed: 6 ]
[ User: qaeu - Total duration: 44s783ms - Times executed: 6 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-05 01:59:33 Duration: 7s758ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-05 05:49:04 Duration: 7s734ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-04 05:44:02 Duration: 7s681ms Database: ctdprd51 User: qaeu Bind query: yes
12 1m43s 14 7s209ms 7s654ms 7s418ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and ptr.term_object_type_id = ? and ptr.phenotype_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?))) and taxonterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = ? and action_degree_type_nm in (...)) group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 30 05 2 15s46ms 7s523ms Dec 01 03 1 7s254ms 7s254ms 05 2 14s989ms 7s494ms Dec 02 05 2 14s612ms 7s306ms Dec 03 05 2 14s852ms 7s426ms Dec 04 05 2 14s781ms 7s390ms Dec 05 01 1 7s654ms 7s654ms 05 2 14s665ms 7s332ms -
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-05 01:59:41 Duration: 7s654ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-11-30 05:49:16 Duration: 7s551ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-01 05:49:14 Duration: 7s523ms Bind query: yes
13 1m39s 8 9s222ms 15s757ms 12s391ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 04 17 4 37s418ms 9s354ms Dec 05 01 4 1m1s 15s428ms [ User: pubeu - Total duration: 1m39s - Times executed: 8 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2025-12-05 01:45:07 Duration: 15s757ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2025-12-05 01:41:07 Duration: 15s581ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2025-12-05 01:43:07 Duration: 15s411ms Database: ctdprd51 User: pubeu Bind query: yes
14 1m22s 2 41s247ms 41s305ms 41s276ms select r.id, r.abbr_authors_txt authors, r.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, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 01 10 1 41s305ms 41s305ms Dec 04 05 1 41s247ms 41s247ms [ User: pubeu - Total duration: 41s305ms - Times executed: 1 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.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, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2112938')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-12-01 10:08:24 Duration: 41s305ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.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, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2112938')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-12-04 05:51:38 Duration: 41s247ms Bind query: yes
15 1m7s 6 9s144ms 12s547ms 11s266ms select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, ?), taxon.nm from edit.ixn_actor a left outer join pub1.term t on a.acc_txt = t.acc_txt and a.object_type_id = t.object_type_id inner join edit.object_type o on a.object_type_id = o.id inner join edit.ixn i on a.ixn_id = i.id inner join edit.reference_ixn ri on i.root_id = ri.ixn_id left outer join pub1.term taxon on ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = ? where (upper(a.object_nm) <> upper(t.nm) or t.nm is null) union select distinct i.root_id, edit.get_ixn_prose (i.root_id), ?, a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, ?, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, ?), taxon.nm from edit.reference_ixn_anatomy a left outer join pub1.term t on a.anatomy_acc_txt = t.acc_txt and t.object_type_id = ? inner join edit.reference_ixn ri on a.reference_ixn_id = ri.id inner join edit.ixn i on ri.ixn_id = i.id left outer join pub1.term taxon on ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = ? where (upper(a.anatomy_nm) <> upper(t.nm) or t.nm is null) union select e.id, ?, ?, etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_anatomy etn left outer join pub1.term t on etn.anatomy_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.exp_outcome_id where (upper(etn.anatomy_term_nm) <> upper(t.nm) or t.nm is null) and anatomy_acc_txt is not null and anatomy_acc_txt <> ? union select e.id, ?, ?, etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_stressor etn left outer join pub1.term t on etn.chem_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_stressor_id = etn.id where (upper(etn.chem_term_nm) <> upper(t.nm) or t.nm is null) and chem_acc_txt is not null and chem_acc_txt <> ? union select e.id, ?, ?, etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_outcome etn left outer join pub1.term t on etn.disease_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.id where (upper(etn.disease_term_nm) <> upper(t.nm) or t.nm is null) and disease_acc_txt is not null and disease_acc_txt <> ? union select e.id, ?, ?, etn.phenotype_acc_txt as term_acc_txt, etn.phenotype_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_outcome etn left outer join pub1.term t on etn.phenotype_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.id where (upper(etn.phenotype_term_nm) <> upper(t.nm) or t.nm is null) and phenotype_acc_txt is not null and phenotype_acc_txt <> ? union select e.id, ?, o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_receptor etn left outer join pub1.term t on etn.term_acc_txt = t.acc_txt and etn.object_type_id = t.object_type_id inner join edit.object_type o on etn.object_type_id = o.id inner join edit.exposure e on e.exp_receptor_id = etn.id where (upper(etn.term_nm) <> upper(t.nm) or t.nm is null) and term_acc_txt is not null and term_acc_txt <> ? union select etn.id, ?, o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, ?, t.nm, t.acc_txt, ?, ?, ?, ? from edit.medium etn left outer join pub1.term t on etn.term_acc_txt = t.acc_txt and etn.term_object_type_id = t.object_type_id inner join edit.object_type o on etn.term_object_type_id = o.id where (upper(etn.term_nm) <> upper(t.nm) or t.nm is null) and etn.term_acc_txt is not null and etn.term_acc_txt <> ? union select etn.id, ?, o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_event etn inner join edit.exp_marker_type emt on etn.exp_marker_type_id = emt.id inner join edit.object_type o on emt.object_type_id = o.id left outer join pub1.term t on etn.exp_marker_acc_txt = t.acc_txt and o.id = t.object_type_id inner join edit.exposure e on e.exp_event_id = etn.id where (upper(etn.exp_marker_term_nm) <> upper(t.nm) or t.nm is null) and etn.exp_marker_acc_txt is not null and exp_marker_acc_txt <> ? order by term_nm, term_acc_txt;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 01 08 1 12s547ms 12s547ms 09 3 36s523ms 12s174ms 10 1 9s144ms 9s144ms Dec 05 07 1 9s384ms 9s384ms [ User: editeu - Total duration: 1m7s - Times executed: 6 ]
-
select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.IXN_ACTOR a LEFT OUTER JOIN pub1.TERM t ON a.acc_txt = t.acc_txt AND a.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON a.object_type_id = o.id INNER JOIN edit.IXN i ON a.ixn_id = i.id INNER JOIN edit.REFERENCE_IXN ri ON i.root_id = ri.ixn_id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.object_nm) <> upper(t.nm) OR t.nm is null) UNION select distinct i.root_id, edit.get_ixn_prose (i.root_id), 'anatomy', a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, '', t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.REFERENCE_IXN_ANATOMY a LEFT OUTER JOIN pub1.TERM t ON a.anatomy_acc_txt = t.acc_txt AND t.object_type_id = 10 INNER JOIN edit.REFERENCE_IXN ri ON a.reference_ixn_id = ri.id INNER JOIN edit.IXN i ON ri.ixn_id = i.id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.anatomy_nm) <> upper(t.nm) OR t.nm is null) UNION select e.id, '', 'anatomy', etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_ANATOMY etn LEFT OUTER JOIN pub1.TERM t ON etn.anatomy_acc_txt = t.acc_txt AND 10 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 10 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.exp_outcome_id WHERE (upper(etn.anatomy_term_nm) <> upper(t.nm) OR t.nm is null) and anatomy_acc_txt is not null AND anatomy_acc_txt <> '' UNION select e.id, '', 'chem', etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_STRESSOR etn LEFT OUTER JOIN pub1.TERM t ON etn.chem_acc_txt = t.acc_txt AND 2 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 2 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = etn.id WHERE (upper(etn.chem_term_nm) <> upper(t.nm) OR t.nm is null) and chem_acc_txt is not null AND chem_acc_txt <> '' UNION select e.id, '', 'disease', etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.disease_acc_txt = t.acc_txt AND 3 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 3 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.disease_term_nm) <> upper(t.nm) OR t.nm is null) and disease_acc_txt is not null AND disease_acc_txt <> '' UNION select e.id, '', 'go', etn.phenotype_acc_txt as term_acc_txt, etn.PHENOTYPE_TERM_NM as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.phenotype_acc_txt = t.acc_txt AND 5 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 5 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.PHENOTYPE_TERM_NM) <> upper(t.nm) OR t.nm is null) and phenotype_acc_txt is not null AND phenotype_acc_txt <> '' UNION select e.id, '', o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_RECEPTOR etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.object_type_id = o.id INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = etn.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and term_acc_txt is not null AND term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Medium Record - No Seq', t.nm, t.acc_txt, '', -- reference accession '', -- create_by '', -- create_tm 'Medium Record - no Taxon' from edit.MEDIUM etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.term_object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.term_object_type_id = o.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and etn.term_acc_txt is not null AND etn.term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_EVENT etn INNER JOIN edit.EXP_MARKER_TYPE emt ON etn.exp_marker_type_id = emt.id INNER JOIN edit.OBJECT_TYPE o ON emt.object_type_id = o.id LEFT OUTER JOIN pub1.TERM t ON etn.exp_marker_acc_txt = t.acc_txt AND o.id = t.object_type_id INNER JOIN edit.EXPOSURE e ON e.exp_event_id = etn.id WHERE (upper(etn.exp_marker_term_nm) <> upper(t.nm) OR t.nm is null) and etn.exp_marker_acc_txt is not null AND exp_marker_acc_txt <> '' order by term_nm, term_acc_txt;
Date: 2025-12-01 08:58:15 Duration: 12s547ms Database: ctdprd51 User: editeu Bind query: yes
-
select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.IXN_ACTOR a LEFT OUTER JOIN pub1.TERM t ON a.acc_txt = t.acc_txt AND a.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON a.object_type_id = o.id INNER JOIN edit.IXN i ON a.ixn_id = i.id INNER JOIN edit.REFERENCE_IXN ri ON i.root_id = ri.ixn_id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.object_nm) <> upper(t.nm) OR t.nm is null) UNION select distinct i.root_id, edit.get_ixn_prose (i.root_id), 'anatomy', a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, '', t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.REFERENCE_IXN_ANATOMY a LEFT OUTER JOIN pub1.TERM t ON a.anatomy_acc_txt = t.acc_txt AND t.object_type_id = 10 INNER JOIN edit.REFERENCE_IXN ri ON a.reference_ixn_id = ri.id INNER JOIN edit.IXN i ON ri.ixn_id = i.id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.anatomy_nm) <> upper(t.nm) OR t.nm is null) UNION select e.id, '', 'anatomy', etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_ANATOMY etn LEFT OUTER JOIN pub1.TERM t ON etn.anatomy_acc_txt = t.acc_txt AND 10 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 10 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.exp_outcome_id WHERE (upper(etn.anatomy_term_nm) <> upper(t.nm) OR t.nm is null) and anatomy_acc_txt is not null AND anatomy_acc_txt <> '' UNION select e.id, '', 'chem', etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_STRESSOR etn LEFT OUTER JOIN pub1.TERM t ON etn.chem_acc_txt = t.acc_txt AND 2 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 2 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = etn.id WHERE (upper(etn.chem_term_nm) <> upper(t.nm) OR t.nm is null) and chem_acc_txt is not null AND chem_acc_txt <> '' UNION select e.id, '', 'disease', etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.disease_acc_txt = t.acc_txt AND 3 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 3 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.disease_term_nm) <> upper(t.nm) OR t.nm is null) and disease_acc_txt is not null AND disease_acc_txt <> '' UNION select e.id, '', 'go', etn.phenotype_acc_txt as term_acc_txt, etn.PHENOTYPE_TERM_NM as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.phenotype_acc_txt = t.acc_txt AND 5 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 5 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.PHENOTYPE_TERM_NM) <> upper(t.nm) OR t.nm is null) and phenotype_acc_txt is not null AND phenotype_acc_txt <> '' UNION select e.id, '', o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_RECEPTOR etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.object_type_id = o.id INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = etn.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and term_acc_txt is not null AND term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Medium Record - No Seq', t.nm, t.acc_txt, '', -- reference accession '', -- create_by '', -- create_tm 'Medium Record - no Taxon' from edit.MEDIUM etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.term_object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.term_object_type_id = o.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and etn.term_acc_txt is not null AND etn.term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_EVENT etn INNER JOIN edit.EXP_MARKER_TYPE emt ON etn.exp_marker_type_id = emt.id INNER JOIN edit.OBJECT_TYPE o ON emt.object_type_id = o.id LEFT OUTER JOIN pub1.TERM t ON etn.exp_marker_acc_txt = t.acc_txt AND o.id = t.object_type_id INNER JOIN edit.EXPOSURE e ON e.exp_event_id = etn.id WHERE (upper(etn.exp_marker_term_nm) <> upper(t.nm) OR t.nm is null) and etn.exp_marker_acc_txt is not null AND exp_marker_acc_txt <> '' order by term_nm, term_acc_txt;
Date: 2025-12-01 09:11:16 Duration: 12s281ms Database: ctdprd51 User: editeu Bind query: yes
-
select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.IXN_ACTOR a LEFT OUTER JOIN pub1.TERM t ON a.acc_txt = t.acc_txt AND a.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON a.object_type_id = o.id INNER JOIN edit.IXN i ON a.ixn_id = i.id INNER JOIN edit.REFERENCE_IXN ri ON i.root_id = ri.ixn_id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.object_nm) <> upper(t.nm) OR t.nm is null) UNION select distinct i.root_id, edit.get_ixn_prose (i.root_id), 'anatomy', a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, '', t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.REFERENCE_IXN_ANATOMY a LEFT OUTER JOIN pub1.TERM t ON a.anatomy_acc_txt = t.acc_txt AND t.object_type_id = 10 INNER JOIN edit.REFERENCE_IXN ri ON a.reference_ixn_id = ri.id INNER JOIN edit.IXN i ON ri.ixn_id = i.id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.anatomy_nm) <> upper(t.nm) OR t.nm is null) UNION select e.id, '', 'anatomy', etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_ANATOMY etn LEFT OUTER JOIN pub1.TERM t ON etn.anatomy_acc_txt = t.acc_txt AND 10 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 10 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.exp_outcome_id WHERE (upper(etn.anatomy_term_nm) <> upper(t.nm) OR t.nm is null) and anatomy_acc_txt is not null AND anatomy_acc_txt <> '' UNION select e.id, '', 'chem', etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_STRESSOR etn LEFT OUTER JOIN pub1.TERM t ON etn.chem_acc_txt = t.acc_txt AND 2 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 2 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = etn.id WHERE (upper(etn.chem_term_nm) <> upper(t.nm) OR t.nm is null) and chem_acc_txt is not null AND chem_acc_txt <> '' UNION select e.id, '', 'disease', etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.disease_acc_txt = t.acc_txt AND 3 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 3 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.disease_term_nm) <> upper(t.nm) OR t.nm is null) and disease_acc_txt is not null AND disease_acc_txt <> '' UNION select e.id, '', 'go', etn.phenotype_acc_txt as term_acc_txt, etn.PHENOTYPE_TERM_NM as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.phenotype_acc_txt = t.acc_txt AND 5 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 5 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.PHENOTYPE_TERM_NM) <> upper(t.nm) OR t.nm is null) and phenotype_acc_txt is not null AND phenotype_acc_txt <> '' UNION select e.id, '', o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_RECEPTOR etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.object_type_id = o.id INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = etn.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and term_acc_txt is not null AND term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Medium Record - No Seq', t.nm, t.acc_txt, '', -- reference accession '', -- create_by '', -- create_tm 'Medium Record - no Taxon' from edit.MEDIUM etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.term_object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.term_object_type_id = o.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and etn.term_acc_txt is not null AND etn.term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_EVENT etn INNER JOIN edit.EXP_MARKER_TYPE emt ON etn.exp_marker_type_id = emt.id INNER JOIN edit.OBJECT_TYPE o ON emt.object_type_id = o.id LEFT OUTER JOIN pub1.TERM t ON etn.exp_marker_acc_txt = t.acc_txt AND o.id = t.object_type_id INNER JOIN edit.EXPOSURE e ON e.exp_event_id = etn.id WHERE (upper(etn.exp_marker_term_nm) <> upper(t.nm) OR t.nm is null) and etn.exp_marker_acc_txt is not null AND exp_marker_acc_txt <> '' order by term_nm, term_acc_txt;
Date: 2025-12-01 09:57:28 Duration: 12s215ms Database: ctdprd51 User: editeu Bind query: yes
16 1m6s 2 9s931ms 56s994ms 33s462ms select id, object_type_id, acc_txt, t.acc_db_id, nm, nm_sort, secondary_nm, description, note from load.term t where object_type_id = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 02 08 2 1m6s 33s462ms [ User: load - Total duration: 9s931ms - Times executed: 1 ]
-
select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_ID, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from load.term t where object_type_id = 1;
Date: 2025-12-02 08:42:16 Duration: 56s994ms Bind query: yes
-
select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_ID, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from load.term t where object_type_id = 2;
Date: 2025-12-02 08:41:17 Duration: 9s931ms Database: ctdprd51 User: load Bind query: yes
17 1m 12 5s4ms 5s301ms 5s72ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ? or d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 30 05 1 5s34ms 5s34ms Dec 01 03 1 5s8ms 5s8ms 05 2 10s21ms 5s10ms Dec 02 05 2 10s217ms 5s108ms Dec 03 05 2 10s80ms 5s40ms Dec 04 05 2 10s120ms 5s60ms Dec 05 01 1 5s301ms 5s301ms 05 1 5s82ms 5s82ms [ User: qaeu - Total duration: 30s322ms - Times executed: 6 ]
[ User: pubeu - Total duration: 25s241ms - Times executed: 5 ]
-
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 = 1327723)) 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: 2025-12-05 01:59:06 Duration: 5s301ms 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 = 1327723)) 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: 2025-12-02 05:43:36 Duration: 5s117ms 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 = 1327723)) 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: 2025-12-02 05:48:41 Duration: 5s99ms Database: ctdprd51 User: pubeu Bind query: yes
18 57s582ms 8 7s70ms 7s400ms 7s197ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort, pt.indirect_term_qty desc limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 05 01 8 57s582ms 7s197ms [ User: pubeu - Total duration: 43s36ms - Times executed: 6 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc LIMIT 50 OFFSET 216150;
Date: 2025-12-05 01:48:26 Duration: 7s400ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc LIMIT 50 OFFSET 350;
Date: 2025-12-05 01:48:12 Duration: 7s312ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc LIMIT 50 OFFSET 100;
Date: 2025-12-05 01:47:07 Duration: 7s205ms Database: ctdprd51 User: pubeu Bind query: yes
19 49s14ms 4 5s960ms 23s262ms 12s253ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 03 21 4 49s14ms 12s253ms [ User: pubeu - Total duration: 11s89ms - Times executed: 1 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1248020') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-12-03 21:52:11 Duration: 23s262ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1271832') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-12-03 21:55:05 Duration: 11s89ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1289647') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-12-03 21:52:49 Duration: 8s701ms Bind query: yes
20 47s332ms 7 6s634ms 6s849ms 6s761ms vacuum analyze log_query_archive;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 30 00 1 6s770ms 6s770ms Dec 01 00 1 6s770ms 6s770ms Dec 02 00 1 6s801ms 6s801ms Dec 03 00 1 6s849ms 6s849ms Dec 04 00 1 6s660ms 6s660ms Dec 05 00 1 6s634ms 6s634ms Dec 06 00 1 6s846ms 6s846ms -
VACUUM ANALYZE log_query_archive;
Date: 2025-12-03 00:09:16 Duration: 6s849ms
-
VACUUM ANALYZE log_query_archive;
Date: 2025-12-06 00:09:45 Duration: 6s846ms
-
VACUUM ANALYZE log_query_archive;
Date: 2025-12-02 00:09:18 Duration: 6s801ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 90 8m22s 5s16ms 6s260ms 5s588ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 30 11 1 5s883ms 5s883ms 15 1 5s918ms 5s918ms 16 3 16s925ms 5s641ms 20 2 10s726ms 5s363ms 22 5 28s165ms 5s633ms 23 2 11s419ms 5s709ms Dec 01 02 2 11s458ms 5s729ms 03 1 6s27ms 6s27ms 04 2 10s829ms 5s414ms 05 1 5s329ms 5s329ms 08 2 10s823ms 5s411ms 09 4 22s585ms 5s646ms Dec 02 02 3 17s361ms 5s787ms 03 1 5s756ms 5s756ms 23 1 5s756ms 5s756ms Dec 03 10 4 21s651ms 5s412ms 21 5 27s811ms 5s562ms 22 6 33s7ms 5s501ms Dec 04 00 1 5s377ms 5s377ms 02 2 11s135ms 5s567ms 03 2 11s300ms 5s650ms 05 11 59s147ms 5s377ms 11 2 10s530ms 5s265ms 12 1 5s232ms 5s232ms 13 1 6s48ms 6s48ms 14 1 5s49ms 5s49ms 15 1 5s973ms 5s973ms 17 1 5s823ms 5s823ms 18 1 5s149ms 5s149ms 20 1 5s909ms 5s909ms 21 2 11s616ms 5s808ms 22 3 17s365ms 5s788ms Dec 05 00 2 11s77ms 5s538ms 02 1 5s847ms 5s847ms 04 2 12s237ms 6s118ms 07 6 34s44ms 5s674ms 19 3 16s629ms 5s543ms [ User: pubeu - Total duration: 7m23s - Times executed: 79 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1393943' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-12-04 21:41:54 Duration: 6s260ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1435048' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-12-05 04:17:57 Duration: 6s241ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1342772' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-12-05 07:11:20 Duration: 6s127ms Database: ctdprd51 User: pubeu Bind query: yes
2 53 13m31s 5s235ms 1m3s 15s309ms select ? AS "Input", phenotypeterm.nm AS "PhenotypeName", phenotypeterm.acc_txt AS "PhenotypeID", diseaseterm.nm AS "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", ( select string_agg(distinct geneterm.nm, ?) from term geneterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneterm.id and ptr.via_term_object_type_id = ?) AS "GeneInferenceNetwork", ( select string_agg(distinct chemterm.nm, ?) from term chemterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemterm.id and ptr.via_term_object_type_id = ?) AS "ChemInferenceNetwork", ( select string_agg(distinct r.acc_txt, ?) from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 04 23 53 13m31s 15s309ms [ User: pubeu - Total duration: 7m58s - Times executed: 34 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'cardiovascular diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2123820) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:09:57 Duration: 1m3s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'nervous system diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2116519) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:16:40 Duration: 57s562ms Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'neoplasms' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2116993) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:05:13 Duration: 56s329ms Database: ctdprd51 User: pubeu Bind query: yes
3 33 2m50s 5s14ms 6s138ms 5s176ms select ? "Input", sq.gene_symbol "GeneSymbol", sq.gene_acc_txt "GeneID", sq.ontology_nm "Ontology", sq.go_term_nm "GoTermName", sq.go_acc_txt "GoTermID" from ( select distinct g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort, d.nm ontology_nm, gt.nm go_term_nm, gt.acc_txt go_acc_txt, gt.nm_sort from term g inner join gene_go_annot gga on g.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 (gt.object_id = ?) and gga.is_not = false order by gt.nm_sort, g.nm_sort) sq;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 01 02 2 11s205ms 5s602ms Dec 02 12 1 5s64ms 5s64ms Dec 03 07 5 25s625ms 5s125ms 08 2 10s259ms 5s129ms 10 3 15s448ms 5s149ms 12 4 20s467ms 5s116ms 13 5 25s703ms 5s140ms 14 2 10s255ms 5s127ms 16 3 15s663ms 5s221ms 18 4 20s849ms 5s212ms Dec 04 05 1 5s84ms 5s84ms 06 1 5s182ms 5s182ms [ User: pubeu - Total duration: 2m19s - Times executed: 27 ]
-
SELECT /* BatchGeneGOAssnsDAO */ 'go:0005515' "Input", sq.gene_symbol "GeneSymbol", sq.gene_acc_txt "GeneID", sq.ontology_nm "Ontology", sq.go_term_nm "GoTermName", sq.go_acc_txt "GoTermID" FROM ( SELECT DISTINCT g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort, d.nm ontology_nm, gt.nm go_term_nm, gt.acc_txt go_acc_txt, gt.nm_sort FROM term g INNER JOIN gene_go_annot gga ON g.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 (gt.object_id = 1289759) AND gga.is_not = false ORDER BY gt.nm_sort, g.nm_sort) sq;
Date: 2025-12-01 02:15:47 Duration: 6s138ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchGeneGOAssnsDAO */ 'go:0005515' "Input", sq.gene_symbol "GeneSymbol", sq.gene_acc_txt "GeneID", sq.ontology_nm "Ontology", sq.go_term_nm "GoTermName", sq.go_acc_txt "GoTermID" FROM ( SELECT DISTINCT g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort, d.nm ontology_nm, gt.nm go_term_nm, gt.acc_txt go_acc_txt, gt.nm_sort FROM term g INNER JOIN gene_go_annot gga ON g.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 (gt.object_id = 1289759) AND gga.is_not = false ORDER BY gt.nm_sort, g.nm_sort) sq;
Date: 2025-12-03 16:51:40 Duration: 5s320ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchGeneGOAssnsDAO */ 'go:0005515' "Input", sq.gene_symbol "GeneSymbol", sq.gene_acc_txt "GeneID", sq.ontology_nm "Ontology", sq.go_term_nm "GoTermName", sq.go_acc_txt "GoTermID" FROM ( SELECT DISTINCT g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort, d.nm ontology_nm, gt.nm go_term_nm, gt.acc_txt go_acc_txt, gt.nm_sort FROM term g INNER JOIN gene_go_annot gga ON g.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 (gt.object_id = 1289759) AND gga.is_not = false ORDER BY gt.nm_sort, g.nm_sort) sq;
Date: 2025-12-03 18:06:12 Duration: 5s305ms Database: ctdprd51 User: pubeu Bind query: yes
4 18 2m3s 5s26ms 12s91ms 6s854ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 03 21 5 34s223ms 6s844ms Dec 04 00 1 5s430ms 5s430ms 01 2 10s911ms 5s455ms 02 2 15s25ms 7s512ms 03 6 40s293ms 6s715ms 04 1 5s602ms 5s602ms Dec 05 03 1 11s886ms 11s886ms [ User: pubeu - Total duration: 1m45s - Times executed: 16 ]
-
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 = '2116993') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-12-03 21:50:05 Duration: 12s91ms 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 = '2116993') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-12-05 03:01:54 Duration: 11s886ms 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 = '2122064') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-12-04 03:12:59 Duration: 11s372ms Bind query: yes
5 14 1m44s 7s313ms 7s758ms 7s489ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and ptr.term_object_type_id = ? and ptr.phenotype_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and taxonterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = ? and action_degree_type_nm in (...)) group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 30 05 2 14s896ms 7s448ms Dec 01 03 1 7s394ms 7s394ms 05 2 14s830ms 7s415ms Dec 02 05 2 14s740ms 7s370ms Dec 03 05 2 14s831ms 7s415ms Dec 04 05 2 15s195ms 7s597ms Dec 05 01 1 7s758ms 7s758ms 05 2 15s204ms 7s602ms [ User: pubeu - Total duration: 44s916ms - Times executed: 6 ]
[ User: qaeu - Total duration: 44s783ms - Times executed: 6 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-05 01:59:33 Duration: 7s758ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-05 05:49:04 Duration: 7s734ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-04 05:44:02 Duration: 7s681ms Database: ctdprd51 User: qaeu Bind query: yes
6 14 1m43s 7s209ms 7s654ms 7s418ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and ptr.term_object_type_id = ? and ptr.phenotype_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?))) and taxonterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = ? and action_degree_type_nm in (...)) group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 30 05 2 15s46ms 7s523ms Dec 01 03 1 7s254ms 7s254ms 05 2 14s989ms 7s494ms Dec 02 05 2 14s612ms 7s306ms Dec 03 05 2 14s852ms 7s426ms Dec 04 05 2 14s781ms 7s390ms Dec 05 01 1 7s654ms 7s654ms 05 2 14s665ms 7s332ms -
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-05 01:59:41 Duration: 7s654ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-11-30 05:49:16 Duration: 7s551ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-01 05:49:14 Duration: 7s523ms Bind query: yes
7 12 2m43s 7s791ms 17s299ms 13s612ms 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 #7
Day Hour Count Duration Avg duration Dec 01 03 8 1m50s 13s803ms 08 1 13s807ms 13s807ms Dec 04 01 2 31s327ms 15s663ms 02 1 7s791ms 7s791ms [ User: pubeu - Total duration: 2m27s - Times executed: 11 ]
-
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 = '2118450') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-12-01 03:26:44 Duration: 17s299ms 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 = '2116761') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-12-04 01:47:22 Duration: 15s965ms 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 = '2116761') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-12-04 01:46:16 Duration: 15s362ms Bind query: yes
8 12 1m 5s4ms 5s301ms 5s72ms 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 #8
Day Hour Count Duration Avg duration Nov 30 05 1 5s34ms 5s34ms Dec 01 03 1 5s8ms 5s8ms 05 2 10s21ms 5s10ms Dec 02 05 2 10s217ms 5s108ms Dec 03 05 2 10s80ms 5s40ms Dec 04 05 2 10s120ms 5s60ms Dec 05 01 1 5s301ms 5s301ms 05 1 5s82ms 5s82ms [ User: qaeu - Total duration: 30s322ms - Times executed: 6 ]
[ User: pubeu - Total duration: 25s241ms - Times executed: 5 ]
-
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 = 1327723)) 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: 2025-12-05 01:59:06 Duration: 5s301ms 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 = 1327723)) 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: 2025-12-02 05:43:36 Duration: 5s117ms 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 = 1327723)) 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: 2025-12-02 05:48:41 Duration: 5s99ms Database: ctdprd51 User: pubeu Bind query: yes
9 8 1m39s 9s222ms 15s757ms 12s391ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 04 17 4 37s418ms 9s354ms Dec 05 01 4 1m1s 15s428ms [ User: pubeu - Total duration: 1m39s - Times executed: 8 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2025-12-05 01:45:07 Duration: 15s757ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2025-12-05 01:41:07 Duration: 15s581ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2025-12-05 01:43:07 Duration: 15s411ms Database: ctdprd51 User: pubeu Bind query: yes
10 8 57s582ms 7s70ms 7s400ms 7s197ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort, pt.indirect_term_qty desc limit ? offset ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 05 01 8 57s582ms 7s197ms [ User: pubeu - Total duration: 43s36ms - Times executed: 6 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc LIMIT 50 OFFSET 216150;
Date: 2025-12-05 01:48:26 Duration: 7s400ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc LIMIT 50 OFFSET 350;
Date: 2025-12-05 01:48:12 Duration: 7s312ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc LIMIT 50 OFFSET 100;
Date: 2025-12-05 01:47:07 Duration: 7s205ms Database: ctdprd51 User: pubeu Bind query: yes
11 7 1h4m13s 9m5s 9m19s 9m10s select maint_query_logs_archive ();Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 30 00 1 9m8s 9m8s Dec 01 00 1 9m11s 9m11s Dec 02 00 1 9m9s 9m9s Dec 03 00 1 9m7s 9m7s Dec 04 00 1 9m5s 9m5s Dec 05 00 1 9m10s 9m10s Dec 06 00 1 9m19s 9m19s [ User: pubc - Total duration: 1h4m13s - Times executed: 7 ]
[ Application: psql - Total duration: 1h4m13s - Times executed: 7 ]
-
/* * 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: 2025-12-06 00:09:38 Duration: 9m19s Database: ctdprd51 User: pubc Application: psql
-
/* * 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: 2025-12-01 00:09:13 Duration: 9m11s Database: ctdprd51 User: pubc Application: psql
-
/* * 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: 2025-12-05 00:09:12 Duration: 9m10s Database: ctdprd51 User: pubc Application: psql
12 7 47s332ms 6s634ms 6s849ms 6s761ms vacuum analyze log_query_archive;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 30 00 1 6s770ms 6s770ms Dec 01 00 1 6s770ms 6s770ms Dec 02 00 1 6s801ms 6s801ms Dec 03 00 1 6s849ms 6s849ms Dec 04 00 1 6s660ms 6s660ms Dec 05 00 1 6s634ms 6s634ms Dec 06 00 1 6s846ms 6s846ms -
VACUUM ANALYZE log_query_archive;
Date: 2025-12-03 00:09:16 Duration: 6s849ms
-
VACUUM ANALYZE log_query_archive;
Date: 2025-12-06 00:09:45 Duration: 6s846ms
-
VACUUM ANALYZE log_query_archive;
Date: 2025-12-02 00:09:18 Duration: 6s801ms
13 6 1m7s 9s144ms 12s547ms 11s266ms select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, ?), taxon.nm from edit.ixn_actor a left outer join pub1.term t on a.acc_txt = t.acc_txt and a.object_type_id = t.object_type_id inner join edit.object_type o on a.object_type_id = o.id inner join edit.ixn i on a.ixn_id = i.id inner join edit.reference_ixn ri on i.root_id = ri.ixn_id left outer join pub1.term taxon on ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = ? where (upper(a.object_nm) <> upper(t.nm) or t.nm is null) union select distinct i.root_id, edit.get_ixn_prose (i.root_id), ?, a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, ?, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, ?), taxon.nm from edit.reference_ixn_anatomy a left outer join pub1.term t on a.anatomy_acc_txt = t.acc_txt and t.object_type_id = ? inner join edit.reference_ixn ri on a.reference_ixn_id = ri.id inner join edit.ixn i on ri.ixn_id = i.id left outer join pub1.term taxon on ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = ? where (upper(a.anatomy_nm) <> upper(t.nm) or t.nm is null) union select e.id, ?, ?, etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_anatomy etn left outer join pub1.term t on etn.anatomy_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.exp_outcome_id where (upper(etn.anatomy_term_nm) <> upper(t.nm) or t.nm is null) and anatomy_acc_txt is not null and anatomy_acc_txt <> ? union select e.id, ?, ?, etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_stressor etn left outer join pub1.term t on etn.chem_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_stressor_id = etn.id where (upper(etn.chem_term_nm) <> upper(t.nm) or t.nm is null) and chem_acc_txt is not null and chem_acc_txt <> ? union select e.id, ?, ?, etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_outcome etn left outer join pub1.term t on etn.disease_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.id where (upper(etn.disease_term_nm) <> upper(t.nm) or t.nm is null) and disease_acc_txt is not null and disease_acc_txt <> ? union select e.id, ?, ?, etn.phenotype_acc_txt as term_acc_txt, etn.phenotype_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_outcome etn left outer join pub1.term t on etn.phenotype_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.id where (upper(etn.phenotype_term_nm) <> upper(t.nm) or t.nm is null) and phenotype_acc_txt is not null and phenotype_acc_txt <> ? union select e.id, ?, o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_receptor etn left outer join pub1.term t on etn.term_acc_txt = t.acc_txt and etn.object_type_id = t.object_type_id inner join edit.object_type o on etn.object_type_id = o.id inner join edit.exposure e on e.exp_receptor_id = etn.id where (upper(etn.term_nm) <> upper(t.nm) or t.nm is null) and term_acc_txt is not null and term_acc_txt <> ? union select etn.id, ?, o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, ?, t.nm, t.acc_txt, ?, ?, ?, ? from edit.medium etn left outer join pub1.term t on etn.term_acc_txt = t.acc_txt and etn.term_object_type_id = t.object_type_id inner join edit.object_type o on etn.term_object_type_id = o.id where (upper(etn.term_nm) <> upper(t.nm) or t.nm is null) and etn.term_acc_txt is not null and etn.term_acc_txt <> ? union select etn.id, ?, o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_event etn inner join edit.exp_marker_type emt on etn.exp_marker_type_id = emt.id inner join edit.object_type o on emt.object_type_id = o.id left outer join pub1.term t on etn.exp_marker_acc_txt = t.acc_txt and o.id = t.object_type_id inner join edit.exposure e on e.exp_event_id = etn.id where (upper(etn.exp_marker_term_nm) <> upper(t.nm) or t.nm is null) and etn.exp_marker_acc_txt is not null and exp_marker_acc_txt <> ? order by term_nm, term_acc_txt;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 01 08 1 12s547ms 12s547ms 09 3 36s523ms 12s174ms 10 1 9s144ms 9s144ms Dec 05 07 1 9s384ms 9s384ms [ User: editeu - Total duration: 1m7s - Times executed: 6 ]
-
select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.IXN_ACTOR a LEFT OUTER JOIN pub1.TERM t ON a.acc_txt = t.acc_txt AND a.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON a.object_type_id = o.id INNER JOIN edit.IXN i ON a.ixn_id = i.id INNER JOIN edit.REFERENCE_IXN ri ON i.root_id = ri.ixn_id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.object_nm) <> upper(t.nm) OR t.nm is null) UNION select distinct i.root_id, edit.get_ixn_prose (i.root_id), 'anatomy', a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, '', t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.REFERENCE_IXN_ANATOMY a LEFT OUTER JOIN pub1.TERM t ON a.anatomy_acc_txt = t.acc_txt AND t.object_type_id = 10 INNER JOIN edit.REFERENCE_IXN ri ON a.reference_ixn_id = ri.id INNER JOIN edit.IXN i ON ri.ixn_id = i.id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.anatomy_nm) <> upper(t.nm) OR t.nm is null) UNION select e.id, '', 'anatomy', etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_ANATOMY etn LEFT OUTER JOIN pub1.TERM t ON etn.anatomy_acc_txt = t.acc_txt AND 10 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 10 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.exp_outcome_id WHERE (upper(etn.anatomy_term_nm) <> upper(t.nm) OR t.nm is null) and anatomy_acc_txt is not null AND anatomy_acc_txt <> '' UNION select e.id, '', 'chem', etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_STRESSOR etn LEFT OUTER JOIN pub1.TERM t ON etn.chem_acc_txt = t.acc_txt AND 2 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 2 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = etn.id WHERE (upper(etn.chem_term_nm) <> upper(t.nm) OR t.nm is null) and chem_acc_txt is not null AND chem_acc_txt <> '' UNION select e.id, '', 'disease', etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.disease_acc_txt = t.acc_txt AND 3 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 3 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.disease_term_nm) <> upper(t.nm) OR t.nm is null) and disease_acc_txt is not null AND disease_acc_txt <> '' UNION select e.id, '', 'go', etn.phenotype_acc_txt as term_acc_txt, etn.PHENOTYPE_TERM_NM as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.phenotype_acc_txt = t.acc_txt AND 5 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 5 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.PHENOTYPE_TERM_NM) <> upper(t.nm) OR t.nm is null) and phenotype_acc_txt is not null AND phenotype_acc_txt <> '' UNION select e.id, '', o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_RECEPTOR etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.object_type_id = o.id INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = etn.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and term_acc_txt is not null AND term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Medium Record - No Seq', t.nm, t.acc_txt, '', -- reference accession '', -- create_by '', -- create_tm 'Medium Record - no Taxon' from edit.MEDIUM etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.term_object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.term_object_type_id = o.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and etn.term_acc_txt is not null AND etn.term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_EVENT etn INNER JOIN edit.EXP_MARKER_TYPE emt ON etn.exp_marker_type_id = emt.id INNER JOIN edit.OBJECT_TYPE o ON emt.object_type_id = o.id LEFT OUTER JOIN pub1.TERM t ON etn.exp_marker_acc_txt = t.acc_txt AND o.id = t.object_type_id INNER JOIN edit.EXPOSURE e ON e.exp_event_id = etn.id WHERE (upper(etn.exp_marker_term_nm) <> upper(t.nm) OR t.nm is null) and etn.exp_marker_acc_txt is not null AND exp_marker_acc_txt <> '' order by term_nm, term_acc_txt;
Date: 2025-12-01 08:58:15 Duration: 12s547ms Database: ctdprd51 User: editeu Bind query: yes
-
select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.IXN_ACTOR a LEFT OUTER JOIN pub1.TERM t ON a.acc_txt = t.acc_txt AND a.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON a.object_type_id = o.id INNER JOIN edit.IXN i ON a.ixn_id = i.id INNER JOIN edit.REFERENCE_IXN ri ON i.root_id = ri.ixn_id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.object_nm) <> upper(t.nm) OR t.nm is null) UNION select distinct i.root_id, edit.get_ixn_prose (i.root_id), 'anatomy', a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, '', t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.REFERENCE_IXN_ANATOMY a LEFT OUTER JOIN pub1.TERM t ON a.anatomy_acc_txt = t.acc_txt AND t.object_type_id = 10 INNER JOIN edit.REFERENCE_IXN ri ON a.reference_ixn_id = ri.id INNER JOIN edit.IXN i ON ri.ixn_id = i.id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.anatomy_nm) <> upper(t.nm) OR t.nm is null) UNION select e.id, '', 'anatomy', etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_ANATOMY etn LEFT OUTER JOIN pub1.TERM t ON etn.anatomy_acc_txt = t.acc_txt AND 10 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 10 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.exp_outcome_id WHERE (upper(etn.anatomy_term_nm) <> upper(t.nm) OR t.nm is null) and anatomy_acc_txt is not null AND anatomy_acc_txt <> '' UNION select e.id, '', 'chem', etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_STRESSOR etn LEFT OUTER JOIN pub1.TERM t ON etn.chem_acc_txt = t.acc_txt AND 2 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 2 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = etn.id WHERE (upper(etn.chem_term_nm) <> upper(t.nm) OR t.nm is null) and chem_acc_txt is not null AND chem_acc_txt <> '' UNION select e.id, '', 'disease', etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.disease_acc_txt = t.acc_txt AND 3 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 3 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.disease_term_nm) <> upper(t.nm) OR t.nm is null) and disease_acc_txt is not null AND disease_acc_txt <> '' UNION select e.id, '', 'go', etn.phenotype_acc_txt as term_acc_txt, etn.PHENOTYPE_TERM_NM as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.phenotype_acc_txt = t.acc_txt AND 5 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 5 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.PHENOTYPE_TERM_NM) <> upper(t.nm) OR t.nm is null) and phenotype_acc_txt is not null AND phenotype_acc_txt <> '' UNION select e.id, '', o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_RECEPTOR etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.object_type_id = o.id INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = etn.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and term_acc_txt is not null AND term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Medium Record - No Seq', t.nm, t.acc_txt, '', -- reference accession '', -- create_by '', -- create_tm 'Medium Record - no Taxon' from edit.MEDIUM etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.term_object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.term_object_type_id = o.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and etn.term_acc_txt is not null AND etn.term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_EVENT etn INNER JOIN edit.EXP_MARKER_TYPE emt ON etn.exp_marker_type_id = emt.id INNER JOIN edit.OBJECT_TYPE o ON emt.object_type_id = o.id LEFT OUTER JOIN pub1.TERM t ON etn.exp_marker_acc_txt = t.acc_txt AND o.id = t.object_type_id INNER JOIN edit.EXPOSURE e ON e.exp_event_id = etn.id WHERE (upper(etn.exp_marker_term_nm) <> upper(t.nm) OR t.nm is null) and etn.exp_marker_acc_txt is not null AND exp_marker_acc_txt <> '' order by term_nm, term_acc_txt;
Date: 2025-12-01 09:11:16 Duration: 12s281ms Database: ctdprd51 User: editeu Bind query: yes
-
select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.IXN_ACTOR a LEFT OUTER JOIN pub1.TERM t ON a.acc_txt = t.acc_txt AND a.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON a.object_type_id = o.id INNER JOIN edit.IXN i ON a.ixn_id = i.id INNER JOIN edit.REFERENCE_IXN ri ON i.root_id = ri.ixn_id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.object_nm) <> upper(t.nm) OR t.nm is null) UNION select distinct i.root_id, edit.get_ixn_prose (i.root_id), 'anatomy', a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, '', t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.REFERENCE_IXN_ANATOMY a LEFT OUTER JOIN pub1.TERM t ON a.anatomy_acc_txt = t.acc_txt AND t.object_type_id = 10 INNER JOIN edit.REFERENCE_IXN ri ON a.reference_ixn_id = ri.id INNER JOIN edit.IXN i ON ri.ixn_id = i.id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.anatomy_nm) <> upper(t.nm) OR t.nm is null) UNION select e.id, '', 'anatomy', etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_ANATOMY etn LEFT OUTER JOIN pub1.TERM t ON etn.anatomy_acc_txt = t.acc_txt AND 10 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 10 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.exp_outcome_id WHERE (upper(etn.anatomy_term_nm) <> upper(t.nm) OR t.nm is null) and anatomy_acc_txt is not null AND anatomy_acc_txt <> '' UNION select e.id, '', 'chem', etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_STRESSOR etn LEFT OUTER JOIN pub1.TERM t ON etn.chem_acc_txt = t.acc_txt AND 2 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 2 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = etn.id WHERE (upper(etn.chem_term_nm) <> upper(t.nm) OR t.nm is null) and chem_acc_txt is not null AND chem_acc_txt <> '' UNION select e.id, '', 'disease', etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.disease_acc_txt = t.acc_txt AND 3 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 3 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.disease_term_nm) <> upper(t.nm) OR t.nm is null) and disease_acc_txt is not null AND disease_acc_txt <> '' UNION select e.id, '', 'go', etn.phenotype_acc_txt as term_acc_txt, etn.PHENOTYPE_TERM_NM as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.phenotype_acc_txt = t.acc_txt AND 5 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 5 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.PHENOTYPE_TERM_NM) <> upper(t.nm) OR t.nm is null) and phenotype_acc_txt is not null AND phenotype_acc_txt <> '' UNION select e.id, '', o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_RECEPTOR etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.object_type_id = o.id INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = etn.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and term_acc_txt is not null AND term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Medium Record - No Seq', t.nm, t.acc_txt, '', -- reference accession '', -- create_by '', -- create_tm 'Medium Record - no Taxon' from edit.MEDIUM etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.term_object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.term_object_type_id = o.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and etn.term_acc_txt is not null AND etn.term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_EVENT etn INNER JOIN edit.EXP_MARKER_TYPE emt ON etn.exp_marker_type_id = emt.id INNER JOIN edit.OBJECT_TYPE o ON emt.object_type_id = o.id LEFT OUTER JOIN pub1.TERM t ON etn.exp_marker_acc_txt = t.acc_txt AND o.id = t.object_type_id INNER JOIN edit.EXPOSURE e ON e.exp_event_id = etn.id WHERE (upper(etn.exp_marker_term_nm) <> upper(t.nm) OR t.nm is null) and etn.exp_marker_acc_txt is not null AND exp_marker_acc_txt <> '' order by term_nm, term_acc_txt;
Date: 2025-12-01 09:57:28 Duration: 12s215ms Database: ctdprd51 User: editeu Bind query: yes
14 5 45s271ms 5s52ms 16s415ms 9s54ms select ? : ?| ?| ?| ') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 04 23 5 45s271ms 9s54ms [ User: pubeu - Total duration: 35s926ms - Times executed: 4 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'congenital AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2117021) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:10:38 Duration: 16s415ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'genital diseases AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2112184) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:11:31 Duration: 9s344ms Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'arrhythmias AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2113998) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:08:07 Duration: 8s458ms Database: ctdprd51 User: pubeu Bind query: yes
15 5 31s414ms 6s233ms 6s377ms 6s282ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.taxon_id = any (array ( select dp.descendant_object_id from term_label l inner join dag_path dp on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 04 03 3 18s901ms 6s300ms 04 2 12s512ms 6s256ms [ User: pubeu - Total duration: 12s539ms - Times executed: 2 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Label */ dp.descendant_object_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'HOMO SAPIENS' AND l.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-12-04 03:29:17 Duration: 6s377ms Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Label */ dp.descendant_object_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'HOMO' AND l.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-12-04 04:07:24 Duration: 6s278ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Label */ dp.descendant_object_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'HOMO SAPIENS' AND l.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-12-04 03:25:40 Duration: 6s263ms Bind query: yes
16 4 49s14ms 5s960ms 23s262ms 12s253ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 03 21 4 49s14ms 12s253ms [ User: pubeu - Total duration: 11s89ms - Times executed: 1 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1248020') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-12-03 21:52:11 Duration: 23s262ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1271832') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-12-03 21:55:05 Duration: 11s89ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1289647') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-12-03 21:52:49 Duration: 8s701ms Bind query: yes
17 4 43s11ms 7s720ms 12s17ms 10s752ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 01 04 2 23s273ms 11s636ms Dec 04 18 1 7s720ms 7s720ms 22 1 12s17ms 12s17ms [ User: pubeu - Total duration: 19s395ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1425399') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1425399') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-12-04 22:10:19 Duration: 12s17ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1425399') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1425399') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-12-01 04:51:51 Duration: 11s675ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1425399') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1425399') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-12-01 04:51:44 Duration: 11s598ms Bind query: yes
18 4 36s225ms 8s797ms 9s233ms 9s56ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from term_label l inner join dag_path dp on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 30 00 3 27s428ms 9s142ms 01 1 8s797ms 8s797ms [ User: pubeu - Total duration: 27s25ms - Times executed: 3 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Label */ dp.descendant_object_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'HOMO SAPIENS' AND l.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-11-30 00:38:12 Duration: 9s233ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Label */ dp.descendant_object_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'HOMO SAPIENS' AND l.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-11-30 00:47:40 Duration: 9s200ms Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Label */ dp.descendant_object_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'HOMO SAPIENS' AND l.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-11-30 00:33:48 Duration: 8s994ms Database: ctdprd51 User: pubeu Bind query: yes
19 4 30s911ms 7s561ms 7s929ms 7s727ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort, pt.indirect_term_qty desc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 05 01 3 22s982ms 7s660ms 02 1 7s929ms 7s929ms [ User: pubeu - Total duration: 30s911ms - Times executed: 4 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc;
Date: 2025-12-05 02:01:45 Duration: 7s929ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc;
Date: 2025-12-05 01:55:44 Duration: 7s711ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc;
Date: 2025-12-05 01:57:45 Duration: 7s708ms Database: ctdprd51 User: pubeu Bind query: yes
20 4 21s915ms 5s80ms 6s321ms 5s478ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.raw_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 04 22 4 21s915ms 5s478ms [ User: pubeu - Total duration: 11s401ms - Times executed: 2 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1392805' AND te.enriched_object_type_id = 5 ORDER BY te.raw_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-12-04 22:20:48 Duration: 6s321ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1392805' AND te.enriched_object_type_id = 5 ORDER BY te.raw_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-12-04 22:20:46 Duration: 5s359ms Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1392805' AND te.enriched_object_type_id = 5 ORDER BY te.raw_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-12-04 22:20:43 Duration: 5s154ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 9m6s 19m1s 14m4s 2 28m8s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 03 22 2 28m8s 14m4s -
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1271832') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-12-03 22:14:07 Duration: 19m1s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1289647') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-12-03 22:01:57 Duration: 9m6s Bind query: yes
2 12m21s 12m21s 12m21s 1 12m21s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gli.term_id gene_id from term_label gli where gli.object_type_id = ? and upper(gli.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join term_label li on li.term_id = pi.ancestor_object_id where upper(li.nm) like ? and li.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where upper(tp.pathway_nm) like ? and tp.object_type_id = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term_label l on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from term_label l inner join dag_path dp on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by g.nm_sort, c.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 02 11 1 12m21s 12m21s [ User: pubeu - Total duration: 12m21s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Label */ gli.term_id gene_id FROM term_label gli WHERE gli.object_type_id = 4 AND UPPER(gli.nm) LIKE 'L CASP3') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN term_label li ON li.term_id = pi.ancestor_object_id WHERE UPPER(li.nm) LIKE 'BIOLOGICAL\_PROCESS' AND li.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Name */ tp.term_id FROM term_pathway tp WHERE UPPER(tp.pathway_nm) LIKE 'ABACAVIR METABOLISM' AND tp.object_type_id = 4))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'AMURENOSIDE B' AND l.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Label */ dp.descendant_object_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'BACTERIA' AND l.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-12-02 11:13:46 Duration: 12m21s Database: ctdprd51 User: pubeu Bind query: yes
3 9m5s 9m19s 9m10s 7 1h4m13s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 30 00 1 9m8s 9m8s Dec 01 00 1 9m11s 9m11s Dec 02 00 1 9m9s 9m9s Dec 03 00 1 9m7s 9m7s Dec 04 00 1 9m5s 9m5s Dec 05 00 1 9m10s 9m10s Dec 06 00 1 9m19s 9m19s [ User: pubc - Total duration: 1h4m13s - Times executed: 7 ]
[ Application: psql - Total duration: 1h4m13s - Times executed: 7 ]
-
/* * 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: 2025-12-06 00:09:38 Duration: 9m19s Database: ctdprd51 User: pubc Application: psql
-
/* * 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: 2025-12-01 00:09:13 Duration: 9m11s Database: ctdprd51 User: pubc Application: psql
-
/* * 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: 2025-12-05 00:09:12 Duration: 9m10s Database: ctdprd51 User: pubc Application: psql
4 8m5s 8m5s 8m5s 1 8m5s drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 01 12 1 8m5s 8m5s [ User: load - Total duration: 8m5s - Times executed: 1 ]
[ Application: pgAdmin 4 - CONN:6472735 - Total duration: 8m5s - Times executed: 1 ]
-
-- MUST RUN THIS FIRST in the LOAD database (takes about 10 minutes): drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;
Date: 2025-12-01 12:40:10 Duration: 8m5s Database: ctdprd51 User: load Application: pgAdmin 4 - CONN:6472735
5 2m45s 2m45s 2m45s 1 2m45s select r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, ?), r.evidence_cd, i.create_by from edit.reference_ixn r, edit.ixn i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.ixn_type where nm = ?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 01 12 1 2m45s 2m45s [ User: load - Total duration: 2m45s - Times executed: 1 ]
-
SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');
Date: 2025-12-01 12:49:51 Duration: 2m45s Database: ctdprd51 User: load Bind query: yes
6 41s247ms 41s305ms 41s276ms 2 1m22s select r.id, r.abbr_authors_txt authors, r.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, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 01 10 1 41s305ms 41s305ms Dec 04 05 1 41s247ms 41s247ms [ User: pubeu - Total duration: 41s305ms - Times executed: 1 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.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, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2112938')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-12-01 10:08:24 Duration: 41s305ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.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, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2112938')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-12-04 05:51:38 Duration: 41s247ms Bind query: yes
7 9s931ms 56s994ms 33s462ms 2 1m6s select id, object_type_id, acc_txt, t.acc_db_id, nm, nm_sort, secondary_nm, description, note from load.term t where object_type_id = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 02 08 2 1m6s 33s462ms [ User: load - Total duration: 9s931ms - Times executed: 1 ]
-
select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_ID, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from load.term t where object_type_id = 1;
Date: 2025-12-02 08:42:16 Duration: 56s994ms Bind query: yes
-
select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_ID, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from load.term t where object_type_id = 2;
Date: 2025-12-02 08:41:17 Duration: 9s931ms Database: ctdprd51 User: load Bind query: yes
8 5s235ms 1m3s 15s309ms 53 13m31s select ? AS "Input", phenotypeterm.nm AS "PhenotypeName", phenotypeterm.acc_txt AS "PhenotypeID", diseaseterm.nm AS "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", ( select string_agg(distinct geneterm.nm, ?) from term geneterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneterm.id and ptr.via_term_object_type_id = ?) AS "GeneInferenceNetwork", ( select string_agg(distinct chemterm.nm, ?) from term chemterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemterm.id and ptr.via_term_object_type_id = ?) AS "ChemInferenceNetwork", ( select string_agg(distinct r.acc_txt, ?) from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 04 23 53 13m31s 15s309ms [ User: pubeu - Total duration: 7m58s - Times executed: 34 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'cardiovascular diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2123820) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:09:57 Duration: 1m3s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'nervous system diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2116519) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:16:40 Duration: 57s562ms Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'neoplasms' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2116993) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:05:13 Duration: 56s329ms Database: ctdprd51 User: pubeu Bind query: yes
9 7s791ms 17s299ms 13s612ms 12 2m43s 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 #9
Day Hour Count Duration Avg duration Dec 01 03 8 1m50s 13s803ms 08 1 13s807ms 13s807ms Dec 04 01 2 31s327ms 15s663ms 02 1 7s791ms 7s791ms [ User: pubeu - Total duration: 2m27s - Times executed: 11 ]
-
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 = '2118450') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-12-01 03:26:44 Duration: 17s299ms 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 = '2116761') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-12-04 01:47:22 Duration: 15s965ms 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 = '2116761') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-12-04 01:46:16 Duration: 15s362ms Bind query: yes
10 9s222ms 15s757ms 12s391ms 8 1m39s select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 04 17 4 37s418ms 9s354ms Dec 05 01 4 1m1s 15s428ms [ User: pubeu - Total duration: 1m39s - Times executed: 8 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2025-12-05 01:45:07 Duration: 15s757ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2025-12-05 01:41:07 Duration: 15s581ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2025-12-05 01:43:07 Duration: 15s411ms Database: ctdprd51 User: pubeu Bind query: yes
11 5s960ms 23s262ms 12s253ms 4 49s14ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 03 21 4 49s14ms 12s253ms [ User: pubeu - Total duration: 11s89ms - Times executed: 1 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1248020') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-12-03 21:52:11 Duration: 23s262ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1271832') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-12-03 21:55:05 Duration: 11s89ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1289647') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-12-03 21:52:49 Duration: 8s701ms Bind query: yes
12 9s144ms 12s547ms 11s266ms 6 1m7s select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, ?), taxon.nm from edit.ixn_actor a left outer join pub1.term t on a.acc_txt = t.acc_txt and a.object_type_id = t.object_type_id inner join edit.object_type o on a.object_type_id = o.id inner join edit.ixn i on a.ixn_id = i.id inner join edit.reference_ixn ri on i.root_id = ri.ixn_id left outer join pub1.term taxon on ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = ? where (upper(a.object_nm) <> upper(t.nm) or t.nm is null) union select distinct i.root_id, edit.get_ixn_prose (i.root_id), ?, a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, ?, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, ?), taxon.nm from edit.reference_ixn_anatomy a left outer join pub1.term t on a.anatomy_acc_txt = t.acc_txt and t.object_type_id = ? inner join edit.reference_ixn ri on a.reference_ixn_id = ri.id inner join edit.ixn i on ri.ixn_id = i.id left outer join pub1.term taxon on ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = ? where (upper(a.anatomy_nm) <> upper(t.nm) or t.nm is null) union select e.id, ?, ?, etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_anatomy etn left outer join pub1.term t on etn.anatomy_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.exp_outcome_id where (upper(etn.anatomy_term_nm) <> upper(t.nm) or t.nm is null) and anatomy_acc_txt is not null and anatomy_acc_txt <> ? union select e.id, ?, ?, etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_stressor etn left outer join pub1.term t on etn.chem_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_stressor_id = etn.id where (upper(etn.chem_term_nm) <> upper(t.nm) or t.nm is null) and chem_acc_txt is not null and chem_acc_txt <> ? union select e.id, ?, ?, etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_outcome etn left outer join pub1.term t on etn.disease_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.id where (upper(etn.disease_term_nm) <> upper(t.nm) or t.nm is null) and disease_acc_txt is not null and disease_acc_txt <> ? union select e.id, ?, ?, etn.phenotype_acc_txt as term_acc_txt, etn.phenotype_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_outcome etn left outer join pub1.term t on etn.phenotype_acc_txt = t.acc_txt and ? = t.object_type_id inner join edit.object_type o on ? = o.id inner join edit.exposure e on e.exp_outcome_id = etn.id where (upper(etn.phenotype_term_nm) <> upper(t.nm) or t.nm is null) and phenotype_acc_txt is not null and phenotype_acc_txt <> ? union select e.id, ?, o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_receptor etn left outer join pub1.term t on etn.term_acc_txt = t.acc_txt and etn.object_type_id = t.object_type_id inner join edit.object_type o on etn.object_type_id = o.id inner join edit.exposure e on e.exp_receptor_id = etn.id where (upper(etn.term_nm) <> upper(t.nm) or t.nm is null) and term_acc_txt is not null and term_acc_txt <> ? union select etn.id, ?, o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, ?, t.nm, t.acc_txt, ?, ?, ?, ? from edit.medium etn left outer join pub1.term t on etn.term_acc_txt = t.acc_txt and etn.term_object_type_id = t.object_type_id inner join edit.object_type o on etn.term_object_type_id = o.id where (upper(etn.term_nm) <> upper(t.nm) or t.nm is null) and etn.term_acc_txt is not null and etn.term_acc_txt <> ? union select etn.id, ?, o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, ?, t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, ?), ? from edit.exp_event etn inner join edit.exp_marker_type emt on etn.exp_marker_type_id = emt.id inner join edit.object_type o on emt.object_type_id = o.id left outer join pub1.term t on etn.exp_marker_acc_txt = t.acc_txt and o.id = t.object_type_id inner join edit.exposure e on e.exp_event_id = etn.id where (upper(etn.exp_marker_term_nm) <> upper(t.nm) or t.nm is null) and etn.exp_marker_acc_txt is not null and exp_marker_acc_txt <> ? order by term_nm, term_acc_txt;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 01 08 1 12s547ms 12s547ms 09 3 36s523ms 12s174ms 10 1 9s144ms 9s144ms Dec 05 07 1 9s384ms 9s384ms [ User: editeu - Total duration: 1m7s - Times executed: 6 ]
-
select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.IXN_ACTOR a LEFT OUTER JOIN pub1.TERM t ON a.acc_txt = t.acc_txt AND a.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON a.object_type_id = o.id INNER JOIN edit.IXN i ON a.ixn_id = i.id INNER JOIN edit.REFERENCE_IXN ri ON i.root_id = ri.ixn_id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.object_nm) <> upper(t.nm) OR t.nm is null) UNION select distinct i.root_id, edit.get_ixn_prose (i.root_id), 'anatomy', a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, '', t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.REFERENCE_IXN_ANATOMY a LEFT OUTER JOIN pub1.TERM t ON a.anatomy_acc_txt = t.acc_txt AND t.object_type_id = 10 INNER JOIN edit.REFERENCE_IXN ri ON a.reference_ixn_id = ri.id INNER JOIN edit.IXN i ON ri.ixn_id = i.id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.anatomy_nm) <> upper(t.nm) OR t.nm is null) UNION select e.id, '', 'anatomy', etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_ANATOMY etn LEFT OUTER JOIN pub1.TERM t ON etn.anatomy_acc_txt = t.acc_txt AND 10 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 10 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.exp_outcome_id WHERE (upper(etn.anatomy_term_nm) <> upper(t.nm) OR t.nm is null) and anatomy_acc_txt is not null AND anatomy_acc_txt <> '' UNION select e.id, '', 'chem', etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_STRESSOR etn LEFT OUTER JOIN pub1.TERM t ON etn.chem_acc_txt = t.acc_txt AND 2 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 2 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = etn.id WHERE (upper(etn.chem_term_nm) <> upper(t.nm) OR t.nm is null) and chem_acc_txt is not null AND chem_acc_txt <> '' UNION select e.id, '', 'disease', etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.disease_acc_txt = t.acc_txt AND 3 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 3 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.disease_term_nm) <> upper(t.nm) OR t.nm is null) and disease_acc_txt is not null AND disease_acc_txt <> '' UNION select e.id, '', 'go', etn.phenotype_acc_txt as term_acc_txt, etn.PHENOTYPE_TERM_NM as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.phenotype_acc_txt = t.acc_txt AND 5 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 5 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.PHENOTYPE_TERM_NM) <> upper(t.nm) OR t.nm is null) and phenotype_acc_txt is not null AND phenotype_acc_txt <> '' UNION select e.id, '', o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_RECEPTOR etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.object_type_id = o.id INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = etn.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and term_acc_txt is not null AND term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Medium Record - No Seq', t.nm, t.acc_txt, '', -- reference accession '', -- create_by '', -- create_tm 'Medium Record - no Taxon' from edit.MEDIUM etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.term_object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.term_object_type_id = o.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and etn.term_acc_txt is not null AND etn.term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_EVENT etn INNER JOIN edit.EXP_MARKER_TYPE emt ON etn.exp_marker_type_id = emt.id INNER JOIN edit.OBJECT_TYPE o ON emt.object_type_id = o.id LEFT OUTER JOIN pub1.TERM t ON etn.exp_marker_acc_txt = t.acc_txt AND o.id = t.object_type_id INNER JOIN edit.EXPOSURE e ON e.exp_event_id = etn.id WHERE (upper(etn.exp_marker_term_nm) <> upper(t.nm) OR t.nm is null) and etn.exp_marker_acc_txt is not null AND exp_marker_acc_txt <> '' order by term_nm, term_acc_txt;
Date: 2025-12-01 08:58:15 Duration: 12s547ms Database: ctdprd51 User: editeu Bind query: yes
-
select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.IXN_ACTOR a LEFT OUTER JOIN pub1.TERM t ON a.acc_txt = t.acc_txt AND a.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON a.object_type_id = o.id INNER JOIN edit.IXN i ON a.ixn_id = i.id INNER JOIN edit.REFERENCE_IXN ri ON i.root_id = ri.ixn_id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.object_nm) <> upper(t.nm) OR t.nm is null) UNION select distinct i.root_id, edit.get_ixn_prose (i.root_id), 'anatomy', a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, '', t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.REFERENCE_IXN_ANATOMY a LEFT OUTER JOIN pub1.TERM t ON a.anatomy_acc_txt = t.acc_txt AND t.object_type_id = 10 INNER JOIN edit.REFERENCE_IXN ri ON a.reference_ixn_id = ri.id INNER JOIN edit.IXN i ON ri.ixn_id = i.id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.anatomy_nm) <> upper(t.nm) OR t.nm is null) UNION select e.id, '', 'anatomy', etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_ANATOMY etn LEFT OUTER JOIN pub1.TERM t ON etn.anatomy_acc_txt = t.acc_txt AND 10 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 10 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.exp_outcome_id WHERE (upper(etn.anatomy_term_nm) <> upper(t.nm) OR t.nm is null) and anatomy_acc_txt is not null AND anatomy_acc_txt <> '' UNION select e.id, '', 'chem', etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_STRESSOR etn LEFT OUTER JOIN pub1.TERM t ON etn.chem_acc_txt = t.acc_txt AND 2 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 2 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = etn.id WHERE (upper(etn.chem_term_nm) <> upper(t.nm) OR t.nm is null) and chem_acc_txt is not null AND chem_acc_txt <> '' UNION select e.id, '', 'disease', etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.disease_acc_txt = t.acc_txt AND 3 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 3 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.disease_term_nm) <> upper(t.nm) OR t.nm is null) and disease_acc_txt is not null AND disease_acc_txt <> '' UNION select e.id, '', 'go', etn.phenotype_acc_txt as term_acc_txt, etn.PHENOTYPE_TERM_NM as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.phenotype_acc_txt = t.acc_txt AND 5 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 5 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.PHENOTYPE_TERM_NM) <> upper(t.nm) OR t.nm is null) and phenotype_acc_txt is not null AND phenotype_acc_txt <> '' UNION select e.id, '', o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_RECEPTOR etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.object_type_id = o.id INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = etn.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and term_acc_txt is not null AND term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Medium Record - No Seq', t.nm, t.acc_txt, '', -- reference accession '', -- create_by '', -- create_tm 'Medium Record - no Taxon' from edit.MEDIUM etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.term_object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.term_object_type_id = o.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and etn.term_acc_txt is not null AND etn.term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_EVENT etn INNER JOIN edit.EXP_MARKER_TYPE emt ON etn.exp_marker_type_id = emt.id INNER JOIN edit.OBJECT_TYPE o ON emt.object_type_id = o.id LEFT OUTER JOIN pub1.TERM t ON etn.exp_marker_acc_txt = t.acc_txt AND o.id = t.object_type_id INNER JOIN edit.EXPOSURE e ON e.exp_event_id = etn.id WHERE (upper(etn.exp_marker_term_nm) <> upper(t.nm) OR t.nm is null) and etn.exp_marker_acc_txt is not null AND exp_marker_acc_txt <> '' order by term_nm, term_acc_txt;
Date: 2025-12-01 09:11:16 Duration: 12s281ms Database: ctdprd51 User: editeu Bind query: yes
-
select distinct i.root_id, edit.get_ixn_prose (i.root_id), o.cd, a.acc_txt as term_acc_txt, a.object_nm as term_nm, a.seq_acc_txt, t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.IXN_ACTOR a LEFT OUTER JOIN pub1.TERM t ON a.acc_txt = t.acc_txt AND a.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON a.object_type_id = o.id INNER JOIN edit.IXN i ON a.ixn_id = i.id INNER JOIN edit.REFERENCE_IXN ri ON i.root_id = ri.ixn_id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.object_nm) <> upper(t.nm) OR t.nm is null) UNION select distinct i.root_id, edit.get_ixn_prose (i.root_id), 'anatomy', a.anatomy_acc_txt as term_acc_txt, a.anatomy_nm as term_nm, '', t.nm, t.acc_txt, ri.reference_acc_txt, ri.create_by, to_char(ri.create_tm, 'mm-dd-yyyy'), taxon.nm from edit.REFERENCE_IXN_ANATOMY a LEFT OUTER JOIN pub1.TERM t ON a.anatomy_acc_txt = t.acc_txt AND t.object_type_id = 10 INNER JOIN edit.REFERENCE_IXN ri ON a.reference_ixn_id = ri.id INNER JOIN edit.IXN i ON ri.ixn_id = i.id LEFT OUTER JOIN pub1.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper(a.anatomy_nm) <> upper(t.nm) OR t.nm is null) UNION select e.id, '', 'anatomy', etn.anatomy_acc_txt as term_acc_txt, etn.anatomy_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_ANATOMY etn LEFT OUTER JOIN pub1.TERM t ON etn.anatomy_acc_txt = t.acc_txt AND 10 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 10 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.exp_outcome_id WHERE (upper(etn.anatomy_term_nm) <> upper(t.nm) OR t.nm is null) and anatomy_acc_txt is not null AND anatomy_acc_txt <> '' UNION select e.id, '', 'chem', etn.chem_acc_txt as term_acc_txt, etn.chem_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_STRESSOR etn LEFT OUTER JOIN pub1.TERM t ON etn.chem_acc_txt = t.acc_txt AND 2 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 2 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = etn.id WHERE (upper(etn.chem_term_nm) <> upper(t.nm) OR t.nm is null) and chem_acc_txt is not null AND chem_acc_txt <> '' UNION select e.id, '', 'disease', etn.disease_acc_txt as term_acc_txt, etn.disease_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.disease_acc_txt = t.acc_txt AND 3 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 3 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.disease_term_nm) <> upper(t.nm) OR t.nm is null) and disease_acc_txt is not null AND disease_acc_txt <> '' UNION select e.id, '', 'go', etn.phenotype_acc_txt as term_acc_txt, etn.PHENOTYPE_TERM_NM as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_OUTCOME etn LEFT OUTER JOIN pub1.TERM t ON etn.phenotype_acc_txt = t.acc_txt AND 5 = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON 5 = o.id INNER JOIN edit.EXPOSURE e ON e.exp_outcome_id = etn.id WHERE (upper(etn.PHENOTYPE_TERM_NM) <> upper(t.nm) OR t.nm is null) and phenotype_acc_txt is not null AND phenotype_acc_txt <> '' UNION select e.id, '', o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_RECEPTOR etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.object_type_id = o.id INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = etn.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and term_acc_txt is not null AND term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.term_acc_txt as term_acc_txt, etn.term_nm as term_nm, 'Medium Record - No Seq', t.nm, t.acc_txt, '', -- reference accession '', -- create_by '', -- create_tm 'Medium Record - no Taxon' from edit.MEDIUM etn LEFT OUTER JOIN pub1.TERM t ON etn.term_acc_txt = t.acc_txt AND etn.term_object_type_id = t.object_type_id INNER JOIN edit.OBJECT_TYPE o ON etn.term_object_type_id = o.id WHERE (upper(etn.term_nm) <> upper(t.nm) OR t.nm is null) and etn.term_acc_txt is not null AND etn.term_acc_txt <> '' UNION select etn.id, '', -- Ixn txt o.cd, etn.exp_marker_acc_txt as term_acc_txt, etn.exp_marker_term_nm as term_nm, 'Exposure Record - No Seq', t.nm, t.acc_txt, e.reference_acc_txt, e.create_by, to_char(e.create_tm, 'mm-dd-yyyy'), 'Homo sapiens' -- Exposure taxon always 9606 from edit.EXP_EVENT etn INNER JOIN edit.EXP_MARKER_TYPE emt ON etn.exp_marker_type_id = emt.id INNER JOIN edit.OBJECT_TYPE o ON emt.object_type_id = o.id LEFT OUTER JOIN pub1.TERM t ON etn.exp_marker_acc_txt = t.acc_txt AND o.id = t.object_type_id INNER JOIN edit.EXPOSURE e ON e.exp_event_id = etn.id WHERE (upper(etn.exp_marker_term_nm) <> upper(t.nm) OR t.nm is null) and etn.exp_marker_acc_txt is not null AND exp_marker_acc_txt <> '' order by term_nm, term_acc_txt;
Date: 2025-12-01 09:57:28 Duration: 12s215ms Database: ctdprd51 User: editeu Bind query: yes
13 7s720ms 12s17ms 10s752ms 4 43s11ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 01 04 2 23s273ms 11s636ms Dec 04 18 1 7s720ms 7s720ms 22 1 12s17ms 12s17ms [ User: pubeu - Total duration: 19s395ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1425399') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1425399') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-12-04 22:10:19 Duration: 12s17ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1425399') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1425399') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-12-01 04:51:51 Duration: 11s675ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1425399') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1425399') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-12-01 04:51:44 Duration: 11s598ms Bind query: yes
14 8s797ms 9s233ms 9s56ms 4 36s225ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from term_label l inner join dag_path dp on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 30 00 3 27s428ms 9s142ms 01 1 8s797ms 8s797ms [ User: pubeu - Total duration: 27s25ms - Times executed: 3 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Label */ dp.descendant_object_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'HOMO SAPIENS' AND l.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-11-30 00:38:12 Duration: 9s233ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Label */ dp.descendant_object_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'HOMO SAPIENS' AND l.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-11-30 00:47:40 Duration: 9s200ms Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Label */ dp.descendant_object_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'HOMO SAPIENS' AND l.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-11-30 00:33:48 Duration: 8s994ms Database: ctdprd51 User: pubeu Bind query: yes
15 5s52ms 16s415ms 9s54ms 5 45s271ms select ? : ?| ?| ?| ') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 04 23 5 45s271ms 9s54ms [ User: pubeu - Total duration: 35s926ms - Times executed: 4 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'congenital AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2117021) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:10:38 Duration: 16s415ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'genital diseases AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2112184) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:11:31 Duration: 9s344ms Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'arrhythmias AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2113998) and diseaseTerm.object_type_id = 3;
Date: 2025-12-04 23:08:07 Duration: 8s458ms Database: ctdprd51 User: pubeu Bind query: yes
16 7s561ms 7s929ms 7s727ms 4 30s911ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort, pt.indirect_term_qty desc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 05 01 3 22s982ms 7s660ms 02 1 7s929ms 7s929ms [ User: pubeu - Total duration: 30s911ms - Times executed: 4 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc;
Date: 2025-12-05 02:01:45 Duration: 7s929ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc;
Date: 2025-12-05 01:55:44 Duration: 7s711ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc;
Date: 2025-12-05 01:57:45 Duration: 7s708ms Database: ctdprd51 User: pubeu Bind query: yes
17 7s313ms 7s758ms 7s489ms 14 1m44s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and ptr.term_object_type_id = ? and ptr.phenotype_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and taxonterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = ? and action_degree_type_nm in (...)) group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 30 05 2 14s896ms 7s448ms Dec 01 03 1 7s394ms 7s394ms 05 2 14s830ms 7s415ms Dec 02 05 2 14s740ms 7s370ms Dec 03 05 2 14s831ms 7s415ms Dec 04 05 2 15s195ms 7s597ms Dec 05 01 1 7s758ms 7s758ms 05 2 15s204ms 7s602ms [ User: pubeu - Total duration: 44s916ms - Times executed: 6 ]
[ User: qaeu - Total duration: 44s783ms - Times executed: 6 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-05 01:59:33 Duration: 7s758ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-05 05:49:04 Duration: 7s734ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-04 05:44:02 Duration: 7s681ms Database: ctdprd51 User: qaeu Bind query: yes
18 7s209ms 7s654ms 7s418ms 14 1m43s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and ptr.term_object_type_id = ? and ptr.phenotype_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?))) and taxonterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = ? and action_degree_type_nm in (...)) group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort asc, pt.indirect_term_qty desc limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 30 05 2 15s46ms 7s523ms Dec 01 03 1 7s254ms 7s254ms 05 2 14s989ms 7s494ms Dec 02 05 2 14s612ms 7s306ms Dec 03 05 2 14s852ms 7s426ms Dec 04 05 2 14s781ms 7s390ms Dec 05 01 1 7s654ms 7s654ms 05 2 14s665ms 7s332ms -
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-05 01:59:41 Duration: 7s654ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-11-30 05:49:16 Duration: 7s551ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ACETYLCYSTEINE')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006979' AND l.type_cd = 'A' AND l.object_type_id = 5))) and i.id in ( select ixn_id from ixn_anatomy where anatomy_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 10 and upper(baseTerm.nm) LIKE 'CARDIOVASCULAR SYSTEM'))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9605' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort asc, pt.indirect_term_qty desc LIMIT 50;
Date: 2025-12-01 05:49:14 Duration: 7s523ms Bind query: yes
19 7s70ms 7s400ms 7s197ms 8 57s582ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort, pt.indirect_term_qty desc limit ? offset ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 05 01 8 57s582ms 7s197ms [ User: pubeu - Total duration: 43s36ms - Times executed: 6 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc LIMIT 50 OFFSET 216150;
Date: 2025-12-05 01:48:26 Duration: 7s400ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc LIMIT 50 OFFSET 350;
Date: 2025-12-05 01:48:12 Duration: 7s312ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1425399'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort, pt.indirect_term_qty desc LIMIT 50 OFFSET 100;
Date: 2025-12-05 01:47:07 Duration: 7s205ms Database: ctdprd51 User: pubeu Bind query: yes
20 5s26ms 12s91ms 6s854ms 18 2m3s 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 #20
Day Hour Count Duration Avg duration Dec 03 21 5 34s223ms 6s844ms Dec 04 00 1 5s430ms 5s430ms 01 2 10s911ms 5s455ms 02 2 15s25ms 7s512ms 03 6 40s293ms 6s715ms 04 1 5s602ms 5s602ms Dec 05 03 1 11s886ms 11s886ms [ User: pubeu - Total duration: 1m45s - Times executed: 16 ]
-
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 = '2116993') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-12-03 21:50:05 Duration: 12s91ms 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 = '2116993') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-12-05 03:01:54 Duration: 11s886ms 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 = '2122064') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-12-04 03:12:59 Duration: 11s372ms 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
- 50,434 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 3 FATAL entries
- 15 ERROR entries
- 0 WARNING entries
- 16 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 8 Max number of times the same event was reported
- 34 Total events found
Rank Times reported Error 1 8 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #1
Day Hour Count Dec 01 19 2 20 3 Dec 03 21 1 22 1 Dec 05 18 1 2 5 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #2
Day Hour Count Dec 01 03 1 12 1 Dec 02 08 1 Dec 05 01 2 3 4 ERROR: value too long for type character varying(...)
Times Reported Most Frequent Error / Event #3
Day Hour Count Dec 05 09 2 20 1 21 1 - ERROR: value too long for type character varying(256)
Statement: INSERT /* AdvancedQueryDAO.logQuery */ INTO pubc.log_query (type_cd ,query_tm ,submission_qty ,session_id ,server_nm ,node_nm ,remote_addr ,http_user_agent ,results_qty ,execution_ms ,gene_txt ,taxon_txt ,chem_txt ,acc_txt ,party_nm_txt ,gene_query_type ,taxon_query_type ,chem_query_type ,party_query_type ,action_type_txt ,pathway_txt ,pathway_query_type ,gene_form_type_txt ,action_degree_type_txt,go_txt ,go_query_type ,disease_txt ,disease_query_type ,gd_assn_type ,from_yr ,through_yr ,title_abstract_txt ,review_status ) VALUES ($1 ,CURRENT_TIMESTAMP ,1 ,$2 ,$3 ,NULLIF($4,'') ,SUBSTR($5,1,128) ,NULLIF(SUBSTR($6,1,256),'') ,$7 ,NULLIF($8,-1) ,NULLIF($9,'') ,NULLIF($10,'') ,NULLIF($11,'') ,NULLIF(SUBSTR($12,1,4000),'') ,NULLIF($13,'') ,NULLIF($14,'') ,NULLIF($15,'') ,NULLIF($16,'') ,NULLIF($17,'') ,NULLIF(SUBSTR($18,1,4000),'') ,NULLIF(SUBSTR($19,1,4000),'') ,NULLIF(SUBSTR($20,1,4000),'') ,NULLIF(SUBSTR($21,1,4000),'') ,NULLIF(SUBSTR($22,1,4000),'') ,NULLIF($23,'') ,NULLIF($24,'') ,NULLIF(SUBSTR($25,1,4000),'') ,NULLIF($26,'') ,NULLIF($27,'') ,NULLIF($28,0) ,NULLIF($29,0) ,NULLIF($30,'') ,NULLIF($31,'') ) RETURNING id
Date: 2025-12-05 09:37:46 Database: ctdprd51 Application: User: pubeu Remote:
4 3 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Dec 03 12 1 13 1 Dec 05 16 1 - ERROR: syntax error at or near ")" at character 717
- ERROR: syntax error at or near "and" at character 1490
- ERROR: syntax error at or near ")" at character 1087
Statement: sELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,c.id chemId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,i.id ixnId ,COUNT(DISTINCT gcr.reference_id) refCount ,COUNT(DISTINCT gcr.taxon_id) taxonCount ,COUNT(*) OVER() fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ?) GROUP BY g.nm ,g.nm_sort ,g.acc_txt ,g.acc_db_cd ,g.id ,c.nm ,c.nm_html ,c.nm_sort ,c.acc_txt ,c.id ,i.ixn_prose_txt ,i.ixn_prose_html ,i.sort_txt ,i.actions_txt ,i.id ORDER BY g.nm_sort ,c.nm_sort ,i.sort_txt LIMIT 50
Date: 2025-12-03 12:05:28 Database: ctdprd51 Application: pgAdmin 4 - CONN:6933553 User: pub1 Remote:
Statement: --Returns: 4,911 select * from( sELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,c.id chemId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,i.id ixnId ,COUNT(DISTINCT gcr.reference_id) refCount ,COUNT(DISTINCT gcr.taxon_id) taxonCount ,COUNT(*) OVER() fullRowCount ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,( SELECT STRING_AGG( distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE( taxonTerm.secondary_nm, '' ) ,'|' ) ) as taxonTerms FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id INNER JOIN reference r ON gcr.reference_id = r.id left outer JOIN term taxonTerm ON gcr.taxon_id = taxonTerm.id WHERE gcr.chem_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = (select id from term where nm = 'Zinc')) GROUP BY g.nm ,g.nm_sort ,g.acc_txt ,g.acc_db_cd ,g.id ,c.nm ,c.nm_html ,c.nm_sort ,c.acc_txt ,c.id ,i.ixn_prose_txt ,i.ixn_prose_html ,i.sort_txt ,i.actions_txt ,i.id ORDER BY g.nm_sort ,c.nm_sort ,i.sort_txt LIMIT 50 ) as test where and taxonCount > 1
Date: 2025-12-03 13:20:03
Statement: SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,c.id chemId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,i.id ixnId ,COUNT(DISTINCT gcr.reference_id) refCount ,COUNT(DISTINCT gcr.taxon_id) taxonCount ,( SELECT STRING_AGG( distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE( taxonTerm.secondary_nm, '' ) ,'|' ) ) as taxonTerms ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,COUNT(*) OVER() fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ?) GROUP BY g.nm ,g.nm_sort ,g.acc_txt ,g.acc_db_cd ,g.id ,c.nm ,c.nm_html ,c.nm_sort ,c.acc_txt ,c.id ,i.ixn_prose_txt ,i.ixn_prose_html ,i.sort_txt ,i.actions_txt ,i.id ORDER BY g.nm_sort ,c.nm_sort ,i.sort_txt LIMIT 50
Date: 2025-12-05 16:13:33 Database: ctdprd51 Application: pgAdmin 4 - CONN:6933553 User: pub1 Remote:
5 3 ERROR: missing FROM-clause entry for table "..."
Times Reported Most Frequent Error / Event #5
Day Hour Count Dec 03 12 1 Dec 05 16 2 - ERROR: missing FROM-clause entry for table "r" at character 433
- ERROR: missing FROM-clause entry for table "taxonterm" at character 440
- ERROR: missing FROM-clause entry for table "r" at character 739
Statement: sELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,c.id chemId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,i.id ixnId ,COUNT(DISTINCT gcr.reference_id) refCount ,COUNT(DISTINCT gcr.taxon_id) taxonCount ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,COUNT(*) OVER() fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id left outer JOIN term taxonTerm ON gcr.taxon_id = taxonTerm.id WHERE gcr.chem_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = (select id from term where nm = 'Zinc')) GROUP BY g.nm ,g.nm_sort ,g.acc_txt ,g.acc_db_cd ,g.id ,c.nm ,c.nm_html ,c.nm_sort ,c.acc_txt ,c.id ,i.ixn_prose_txt ,i.ixn_prose_html ,i.sort_txt ,i.actions_txt ,i.id ORDER BY g.nm_sort ,c.nm_sort ,i.sort_txt LIMIT 50
Date: 2025-12-03 12:15:30
Statement: SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,c.id chemId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,i.id ixnId ,COUNT(DISTINCT gcr.reference_id) refCount ,COUNT(DISTINCT gcr.taxon_id) taxonCount ,( SELECT STRING_AGG( distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE( taxonTerm.secondary_nm, '' ) ,'|' ) ) as taxonTerms ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,COUNT(*) OVER() fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ( select id from term where nm = 'Zinc')) GROUP BY g.nm ,g.nm_sort ,g.acc_txt ,g.acc_db_cd ,g.id ,c.nm ,c.nm_html ,c.nm_sort ,c.acc_txt ,c.id ,i.ixn_prose_txt ,i.ixn_prose_html ,i.sort_txt ,i.actions_txt ,i.id ORDER BY g.nm_sort ,c.nm_sort ,i.sort_txt LIMIT 50
Date: 2025-12-05 16:14:10
Statement: SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,c.id chemId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,i.id ixnId ,COUNT(DISTINCT gcr.reference_id) refCount ,COUNT(DISTINCT gcr.taxon_id) taxonCount ,( SELECT STRING_AGG( distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE( taxonTerm.secondary_nm, '' ) ,'|' ) ) as taxonTerms ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,COUNT(*) OVER() fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id left outer join term taxonTerm on gcr.taxon_id = taxonTerm.id WHERE gcr.chem_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ( select id from term where nm = 'Zinc')) GROUP BY g.nm ,g.nm_sort ,g.acc_txt ,g.acc_db_cd ,g.id ,c.nm ,c.nm_html ,c.nm_sort ,c.acc_txt ,c.id ,i.ixn_prose_txt ,i.ixn_prose_html ,i.sort_txt ,i.actions_txt ,i.id ORDER BY g.nm_sort ,c.nm_sort ,i.sort_txt LIMIT 50
Date: 2025-12-05 16:15:53
6 2 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count Dec 05 01 2 - LOG: could not send data to client: Connection reset by peer
- LOG: could not send data to client: Connection reset by peer
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc
Date: 2025-12-05 01:55:19 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-12-05 01:55:19 Database: ctdprd51 Application: User: pubeu Remote:
7 2 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #7
Day Hour Count Dec 03 22 1 Dec 05 01 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: 2025-12-05 01:55:19
8 1 ERROR: subquery in FROM must have an alias
Times Reported Most Frequent Error / Event #8
Day Hour Count Dec 03 13 1 - ERROR: subquery in FROM must have an alias at character 31
Hint: For example, FROM (SELECT ...) [AS] foo.
Statement: --Returns: 4,911 select * from( sELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,c.id chemId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,i.id ixnId ,COUNT(DISTINCT gcr.reference_id) refCount ,COUNT(DISTINCT gcr.taxon_id) taxonCount ,COUNT(*) OVER() fullRowCount ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,( SELECT STRING_AGG( distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE( taxonTerm.secondary_nm, '' ) ,'|' ) ) as taxonTerms FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id INNER JOIN reference r ON gcr.reference_id = r.id left outer JOIN term taxonTerm ON gcr.taxon_id = taxonTerm.id WHERE gcr.chem_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = (select id from term where nm = 'Zinc')) GROUP BY g.nm ,g.nm_sort ,g.acc_txt ,g.acc_db_cd ,g.id ,c.nm ,c.nm_html ,c.nm_sort ,c.acc_txt ,c.id ,i.ixn_prose_txt ,i.ixn_prose_html ,i.sort_txt ,i.actions_txt ,i.id ORDER BY g.nm_sort ,c.nm_sort ,i.sort_txt LIMIT 50 ) where and taxonCount > 1Date: 2025-12-03 13:19:20
9 1 FATAL: ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm
Times Reported Most Frequent Error / Event #9
Day Hour Count Dec 05 01 1 - FATAL: ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2025-12-05 01:55:19
10 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #10
Day Hour Count Dec 03 12 1 - ERROR: column "taxoncount" does not exist at character 1209
Statement: --Returns: 4,911 sELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,c.id chemId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,i.id ixnId ,COUNT(DISTINCT gcr.reference_id) refCount ,COUNT(DISTINCT gcr.taxon_id) taxonCount ,COUNT(*) OVER() fullRowCount ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,( SELECT STRING_AGG( distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE( taxonTerm.secondary_nm, '' ) ,'|' ) ) as taxonTerms FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id INNER JOIN reference r ON gcr.reference_id = r.id left outer JOIN term taxonTerm ON gcr.taxon_id = taxonTerm.id WHERE gcr.chem_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = (select id from term where nm = 'Zinc')) and taxonCount > 1 GROUP BY g.nm ,g.nm_sort ,g.acc_txt ,g.acc_db_cd ,g.id ,c.nm ,c.nm_html ,c.nm_sort ,c.acc_txt ,c.id ,i.ixn_prose_txt ,i.ixn_prose_html ,i.sort_txt ,i.actions_txt ,i.id ORDER BY g.nm_sort ,c.nm_sort ,i.sort_txt LIMIT 50
Date: 2025-12-03 12:28:13
11 1 ERROR: aggregate functions are not allowed in WHERE
Times Reported Most Frequent Error / Event #11
Day Hour Count Dec 03 12 1 - ERROR: aggregate functions are not allowed in WHERE at character 1209
Statement: --Returns: 4,911 sELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,c.id chemId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,i.id ixnId ,COUNT(DISTINCT gcr.reference_id) refCount ,COUNT(DISTINCT gcr.taxon_id) taxonCount ,COUNT(*) OVER() fullRowCount ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,( SELECT STRING_AGG( distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE( taxonTerm.secondary_nm, '' ) ,'|' ) ) as taxonTerms FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id INNER JOIN reference r ON gcr.reference_id = r.id left outer JOIN term taxonTerm ON gcr.taxon_id = taxonTerm.id WHERE gcr.chem_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = (select id from term where nm = 'Zinc')) and COUNT(DISTINCT gcr.taxon_id) > 1 GROUP BY g.nm ,g.nm_sort ,g.acc_txt ,g.acc_db_cd ,g.id ,c.nm ,c.nm_html ,c.nm_sort ,c.acc_txt ,c.id ,i.ixn_prose_txt ,i.ixn_prose_html ,i.sort_txt ,i.actions_txt ,i.id ORDER BY g.nm_sort ,c.nm_sort ,i.sort_txt LIMIT 50
Date: 2025-12-03 12:27:51
12 1 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #12
Day Hour Count Dec 03 22 1 13 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #13
Day Hour Count Dec 02 08 1 - ERROR: relation "edit.chem_conc_exp_route" does not exist at character 39
Statement: select id , exp_route from edit.CHEM_CONC_EXP_ROUTE where exp_route is not null
Date: 2025-12-02 08:42:17
14 1 ERROR: table name "..." specified more than once
Times Reported Most Frequent Error / Event #14
Day Hour Count Dec 03 12 1 - ERROR: table name "r" specified more than once
Statement: --Returns: 4,911 sELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,c.id chemId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,i.id ixnId ,COUNT(DISTINCT gcr.reference_id) refCount ,COUNT(DISTINCT gcr.taxon_id) taxonCount ,COUNT(*) OVER() fullRowCount ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id INNER JOIN reference r ON gcr.reference_id = r.id INNER JOIN reference r ON gcr.reference_id = r.id WHERE gcr.chem_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = (select id from term where nm = 'Zinc')) GROUP BY g.nm ,g.nm_sort ,g.acc_txt ,g.acc_db_cd ,g.id ,c.nm ,c.nm_html ,c.nm_sort ,c.acc_txt ,c.id ,i.ixn_prose_txt ,i.ixn_prose_html ,i.sort_txt ,i.actions_txt ,i.id ORDER BY g.nm_sort ,c.nm_sort ,i.sort_txt LIMIT 50
Date: 2025-12-03 12:18:00