-
Global information
- Generated on Sun Oct 5 04:15:08 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20251004
- Parsed 185,402 log entries in 7s
- Log start from 2025-09-28 00:00:02 to 2025-10-04 23:59:26
-
Overview
Global Stats
- 101 Number of unique normalized queries
- 291 Number of queries
- 8h15m Total query duration
- 2025-09-28 00:09:17 First query
- 2025-10-04 23:05:33 Last query
- 4 queries/s at 2025-09-28 06:11:27 Query peak
- 8h15m Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 8h15m Execute total duration
- 3,679 Number of events
- 24 Number of unique normalized events
- 2,084 Max number of times the same event was reported
- 0 Number of cancellation
- 33 Total number of automatic vacuums
- 121 Total number of automatic analyzes
- 1,349 Number temporary file
- 43.84 GiB Max size of temporary file
- 174.97 MiB Average size of temporary file
- 12,207 Total number of sessions
- 102 sessions at 2025-10-01 14:49:10 Session peak
- 242d1h8m35s Total duration of sessions
- 28m33s Average duration of sessions
- 0 Average queries per session
- 2s433ms Average queries duration per session
- 28m30s Average idle time per session
- 12,257 Total number of connections
- 31 connections/s at 2025-10-03 01:02:05 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 4 queries/s Query Peak
- 2025-09-28 06:11:27 Date
SELECT Traffic
Key values
- 3 queries/s Query Peak
- 2025-09-28 06:11:27 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-10-01 03:46:40 Date
Queries duration
Key values
- 8h15m Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 28 00 12 0ms 9m15s 1m3s 35s910ms 37s759ms 9m21s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 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 4 0ms 8s521ms 6s48ms 0ms 5s425ms 13s679ms 06 20 0ms 1m2s 42s895ms 8s742ms 51s214ms 12m56s 07 4 0ms 13s868ms 11s388ms 0ms 12s729ms 13s868ms 08 0 0ms 0ms 0ms 0ms 0ms 0ms 09 7 0ms 27m27s 4m15s 34s903ms 47s125ms 27m27s 10 1 0ms 8s327ms 8s327ms 0ms 0ms 8s327ms 11 1 0ms 7s565ms 7s565ms 0ms 0ms 7s565ms 12 1 0ms 6s380ms 6s380ms 0ms 0ms 6s380ms 13 4 0ms 6s42ms 5s693ms 0ms 5s665ms 11s827ms 14 0 0ms 0ms 0ms 0ms 0ms 0ms 15 1 0ms 5s99ms 5s99ms 0ms 0ms 5s99ms 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 6 0ms 13s387ms 8s764ms 8s173ms 13s699ms 18s541ms 21 1 0ms 5s668ms 5s668ms 0ms 0ms 5s668ms 22 2 0ms 17s204ms 16s832ms 0ms 16s459ms 17s204ms 23 1 0ms 12s180ms 12s180ms 0ms 0ms 12s180ms Sep 29 00 2 0ms 9m9s 4m38s 0ms 0ms 9m16s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 6 0ms 1m14s 23s339ms 11s999ms 12s918ms 1m14s 03 4 0ms 12s300ms 7s418ms 0ms 6s404ms 12s300ms 04 8 0ms 5s973ms 5s531ms 5s407ms 5s973ms 11s775ms 05 3 0ms 11s988ms 9s581ms 0ms 5s52ms 23s692ms 06 0 0ms 0ms 0ms 0ms 0ms 0ms 07 1 0ms 5s785ms 5s785ms 0ms 0ms 5s785ms 08 0 0ms 0ms 0ms 0ms 0ms 0ms 09 1 0ms 9s170ms 9s170ms 0ms 0ms 9s170ms 10 0 0ms 0ms 0ms 0ms 0ms 0ms 11 1 0ms 37s128ms 37s128ms 0ms 0ms 37s128ms 12 0 0ms 0ms 0ms 0ms 0ms 0ms 13 2 0ms 11s9ms 10s861ms 0ms 0ms 21s722ms 14 1 0ms 5s348ms 5s348ms 0ms 0ms 5s348ms 15 0 0ms 0ms 0ms 0ms 0ms 0ms 16 0 0ms 0ms 0ms 0ms 0ms 0ms 17 1 0ms 5s266ms 5s266ms 0ms 0ms 5s266ms 18 0 0ms 0ms 0ms 0ms 0ms 0ms 19 0 0ms 0ms 0ms 0ms 0ms 0ms 20 1 0ms 7s59ms 7s59ms 0ms 0ms 7s59ms 21 0 0ms 0ms 0ms 0ms 0ms 0ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 3 0ms 5s447ms 5s324ms 0ms 0ms 10s642ms Sep 30 00 2 0ms 9m4s 4m35s 0ms 0ms 9m10s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 5 0ms 5s855ms 5s702ms 0ms 5s403ms 17s374ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms Oct 01 03 11 0ms 1h40s 6m3s 35s436ms 1m5s 1h52s 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 7 0ms 33s758ms 15s47ms 0ms 29s184ms 40s31ms 06 0 0ms 0ms 0ms 0ms 0ms 0ms 07 2 0ms 6s548ms 6s503ms 0ms 0ms 13s7ms 08 3 0ms 5s839ms 5s362ms 0ms 16s86ms 16s86ms 09 13 0ms 7m21s 1m5s 50s336ms 3m5s 7m40s 10 4 0ms 49m4s 12m21s 0ms 0ms 49m26s 11 0 0ms 0ms 0ms 0ms 0ms 0ms 12 4 0ms 2h8m48s 34m45s 0ms 9m4s 2h9m9s 13 8 0ms 37m9s 4m47s 8s597ms 35s33ms 37m9s 14 13 0ms 1m22s 26s269ms 23s257ms 1m8s 1m28s 15 9 0ms 35m44s 4m3s 6s238ms 10s387ms 35m44s 16 11 0ms 2m20s 32s330ms 15s112ms 2m18s 2m37s 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 1 0ms 6s572ms 6s572ms 0ms 0ms 6s572ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 0 0ms 0ms 0ms 0ms 0ms 0ms Oct 02 00 2 0ms 9m7s 4m36s 0ms 0ms 9m13s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 3 0ms 7s399ms 6s598ms 0ms 5s100ms 14s694ms 06 2 0ms 7s694ms 7s681ms 0ms 7s668ms 7s694ms 07 0 0ms 0ms 0ms 0ms 0ms 0ms 08 4 0ms 13s487ms 12s644ms 0ms 12s282ms 25s945ms 09 0 0ms 0ms 0ms 0ms 0ms 0ms 10 9 0ms 1m24s 31s880ms 0ms 16s963ms 3m54s 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 1 0ms 6s341ms 6s341ms 0ms 0ms 6s341ms 15 6 0ms 13s382ms 7s468ms 6s563ms 13s382ms 14s454ms 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 Oct 03 00 2 0ms 9m23s 4m45s 0ms 0ms 9m30s 01 2 0ms 5s463ms 5s304ms 0ms 5s146ms 5s463ms 02 2 0ms 9s424ms 8s44ms 0ms 6s665ms 9s424ms 03 5 0ms 49s62ms 48s535ms 48s602ms 49s62ms 1m36s 04 3 0ms 9s882ms 9s180ms 0ms 8s160ms 19s381ms 05 7 0ms 8s18ms 6s561ms 5s134ms 15s102ms 15s475ms 06 0 0ms 0ms 0ms 0ms 0ms 0ms 07 4 0ms 6s489ms 6s277ms 0ms 0ms 25s109ms 08 0 0ms 0ms 0ms 0ms 0ms 0ms 09 1 0ms 5s126ms 5s126ms 0ms 0ms 5s126ms 10 6 0ms 13s445ms 10s873ms 9s470ms 12s602ms 13s445ms 11 1 0ms 8s40ms 8s40ms 0ms 0ms 8s40ms 12 2 0ms 6s44ms 6s27ms 0ms 0ms 12s55ms 13 0 0ms 0ms 0ms 0ms 0ms 0ms 14 1 0ms 6s590ms 6s590ms 0ms 0ms 6s590ms 15 1 0ms 5s110ms 5s110ms 0ms 0ms 5s110ms 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 Oct 04 00 2 0ms 9m9s 4m38s 0ms 0ms 9m16s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 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 7s515ms 6s614ms 0ms 5s257ms 14s842ms 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 0 0ms 0ms 0ms 0ms 0ms 0ms 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 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 25 0ms 46s631ms 19s138ms 39s208ms 58s574ms 1m13s 23 2 0ms 7s444ms 7s411ms 0ms 0ms 14s822ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 28 00 6 0 1m46s 0ms 11s744ms 9m15s 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 0 0 0ms 0ms 0ms 0ms 06 9 0 49s203ms 0ms 0ms 7m5s 07 0 0 0ms 0ms 0ms 0ms 08 0 0 0ms 0ms 0ms 0ms 09 3 0 39s824ms 0ms 0ms 47s125ms 10 0 0 0ms 0ms 0ms 0ms 11 1 0 7s565ms 0ms 0ms 7s565ms 12 1 0 6s380ms 0ms 0ms 6s380ms 13 4 0 5s693ms 0ms 0ms 11s827ms 14 0 0 0ms 0ms 0ms 0ms 15 1 0 5s99ms 0ms 0ms 5s99ms 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 6 0 8s764ms 0ms 8s173ms 18s541ms 21 1 0 5s668ms 0ms 0ms 5s668ms 22 2 0 16s832ms 0ms 0ms 17s204ms 23 1 0 12s180ms 0ms 0ms 12s180ms Sep 29 00 1 0 9m9s 0ms 0ms 9m9s 01 0 0 0ms 0ms 0ms 0ms 02 6 0 23s339ms 0ms 11s999ms 1m14s 03 4 0 7s418ms 0ms 0ms 12s300ms 04 8 0 5s531ms 0ms 5s407ms 11s775ms 05 3 0 9s581ms 0ms 0ms 23s692ms 06 0 0 0ms 0ms 0ms 0ms 07 1 0 5s785ms 0ms 0ms 5s785ms 08 0 0 0ms 0ms 0ms 0ms 09 1 0 9s170ms 0ms 0ms 9s170ms 10 0 0 0ms 0ms 0ms 0ms 11 1 0 37s128ms 0ms 0ms 37s128ms 12 0 0 0ms 0ms 0ms 0ms 13 2 0 10s861ms 0ms 0ms 21s722ms 14 1 0 5s348ms 0ms 0ms 5s348ms 15 0 0 0ms 0ms 0ms 0ms 16 0 0 0ms 0ms 0ms 0ms 17 1 0 5s266ms 0ms 0ms 5s266ms 18 0 0 0ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 1 0 7s59ms 0ms 0ms 7s59ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 3 0 5s324ms 0ms 0ms 10s642ms Sep 30 00 1 0 9m4s 0ms 0ms 9m4s 01 0 0 0ms 0ms 0ms 0ms 02 5 0 5s702ms 0ms 0ms 17s374ms 03 0 0 0ms 0ms 0ms 0ms Oct 01 03 2 0 31m38s 0ms 0ms 1h40s 04 0 0 0ms 0ms 0ms 0ms 05 7 0 15s47ms 0ms 0ms 31s18ms 06 0 0 0ms 0ms 0ms 0ms 07 2 0 6s503ms 0ms 0ms 0ms 08 3 0 5s362ms 0ms 0ms 16s86ms 09 3 0 3m30s 0ms 0ms 7m21s 10 0 0 0ms 0ms 0ms 0ms 11 0 0 0ms 0ms 0ms 0ms 12 4 0 34m45s 0ms 0ms 2h9m9s 13 8 0 4m47s 0ms 8s597ms 37m9s 14 13 0 26s269ms 6s226ms 23s257ms 1m28s 15 9 0 4m3s 5s129ms 6s238ms 35m44s 16 11 0 32s330ms 5s207ms 15s112ms 2m37s 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 1 0 6s572ms 0ms 0ms 6s572ms 22 0 0 0ms 0ms 0ms 0ms 23 0 0 0ms 0ms 0ms 0ms Oct 02 00 1 0 9m7s 0ms 0ms 9m7s 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 3 0 6s598ms 0ms 0ms 14s694ms 06 2 0 7s681ms 0ms 0ms 7s694ms 07 0 0 0ms 0ms 0ms 0ms 08 4 0 12s644ms 0ms 0ms 25s945ms 09 0 0 0ms 0ms 0ms 0ms 10 9 0 31s880ms 0ms 0ms 3m54s 11 0 0 0ms 0ms 0ms 0ms 12 0 0 0ms 0ms 0ms 0ms 13 0 0 0ms 0ms 0ms 0ms 14 1 0 6s341ms 0ms 0ms 6s341ms 15 6 0 7s468ms 0ms 6s563ms 14s454ms 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 Oct 03 00 1 0 9m23s 0ms 0ms 9m23s 01 2 0 5s304ms 0ms 0ms 5s463ms 02 2 0 8s44ms 0ms 0ms 9s424ms 03 5 0 48s535ms 0ms 48s602ms 1m36s 04 3 0 9s180ms 0ms 0ms 19s381ms 05 7 0 6s561ms 0ms 5s134ms 15s475ms 06 0 0 0ms 0ms 0ms 0ms 07 4 0 6s277ms 0ms 0ms 25s109ms 08 0 0 0ms 0ms 0ms 0ms 09 1 0 5s126ms 0ms 0ms 5s126ms 10 6 0 10s873ms 0ms 9s470ms 13s445ms 11 1 0 8s40ms 0ms 0ms 8s40ms 12 2 0 6s27ms 0ms 0ms 12s55ms 13 0 0 0ms 0ms 0ms 0ms 14 1 0 6s590ms 0ms 0ms 6s590ms 15 1 0 5s110ms 0ms 0ms 5s110ms 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 Oct 04 00 1 0 9m9s 0ms 0ms 9m9s 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 6 0 6s614ms 0ms 0ms 14s842ms 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 0 0 0ms 0ms 0ms 0ms 12 0 0 0ms 0ms 0ms 0ms 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 25 0 19s138ms 17s639ms 39s208ms 1m13s 23 2 0 7s411ms 0ms 0ms 14s822ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 28 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 Sep 29 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 Sep 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 Oct 01 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 Oct 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 Oct 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 Oct 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 Day Hour Prepare Bind Bind/Prepare Percentage of prepare Sep 28 00 0 13 13.00 0.00% 01 0 0 0.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 8 8.00 0.00% 06 0 21 21.00 0.00% 07 0 4 4.00 0.00% 08 0 0 0.00 0.00% 09 0 7 7.00 0.00% 10 0 1 1.00 0.00% 11 0 1 1.00 0.00% 12 0 1 1.00 0.00% 13 0 4 4.00 0.00% 14 0 0 0.00 0.00% 15 0 1 1.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 6 6.00 0.00% 21 0 1 1.00 0.00% 22 0 2 2.00 0.00% 23 0 1 1.00 0.00% Sep 29 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 6 6.00 0.00% 03 0 4 4.00 0.00% 04 0 8 8.00 0.00% 05 0 3 3.00 0.00% 06 0 0 0.00 0.00% 07 0 1 1.00 0.00% 08 0 0 0.00 0.00% 09 0 1 1.00 0.00% 10 0 0 0.00 0.00% 11 0 1 1.00 0.00% 12 0 0 0.00 0.00% 13 0 2 2.00 0.00% 14 0 1 1.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 1 1.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 1 1.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 3 3.00 0.00% Sep 30 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 5 5.00 0.00% 03 0 0 0.00 0.00% Oct 01 03 0 11 11.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 2 2.00 0.00% 08 0 3 3.00 0.00% 09 0 13 13.00 0.00% 10 0 4 4.00 0.00% 11 0 0 0.00 0.00% 12 0 4 4.00 0.00% 13 0 1 1.00 0.00% 14 0 12 12.00 0.00% 15 0 9 9.00 0.00% 16 0 11 11.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 1 1.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Oct 02 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 3 3.00 0.00% 06 0 2 2.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 9 9.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 1 1.00 0.00% 15 0 6 6.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% Oct 03 00 0 0 0.00 0.00% 01 0 2 2.00 0.00% 02 0 2 2.00 0.00% 03 0 5 5.00 0.00% 04 0 3 3.00 0.00% 05 0 7 7.00 0.00% 06 0 0 0.00 0.00% 07 0 4 4.00 0.00% 08 0 0 0.00 0.00% 09 0 1 1.00 0.00% 10 0 6 6.00 0.00% 11 0 1 1.00 0.00% 12 0 2 2.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 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% Oct 04 00 0 0 0.00 0.00% 01 0 0 0.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 0 0.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 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 25 25.00 0.00% 23 0 2 2.00 0.00% Day Hour Count Average / Second Sep 28 00 101 0.03/s 01 63 0.02/s 02 64 0.02/s 03 65 0.02/s 04 64 0.02/s 05 81 0.02/s 06 116 0.03/s 07 138 0.04/s 08 76 0.02/s 09 110 0.03/s 10 82 0.02/s 11 80 0.02/s 12 77 0.02/s 13 77 0.02/s 14 79 0.02/s 15 95 0.03/s 16 71 0.02/s 17 77 0.02/s 18 76 0.02/s 19 76 0.02/s 20 89 0.02/s 21 80 0.02/s 22 94 0.03/s 23 83 0.02/s Sep 29 00 79 0.02/s 01 78 0.02/s 02 113 0.03/s 03 96 0.03/s 04 81 0.02/s 05 100 0.03/s 06 76 0.02/s 07 80 0.02/s 08 78 0.02/s 09 91 0.03/s 10 78 0.02/s 11 77 0.02/s 12 82 0.02/s 13 75 0.02/s 14 77 0.02/s 15 68 0.02/s 16 83 0.02/s 17 76 0.02/s 18 77 0.02/s 19 76 0.02/s 20 78 0.02/s 21 73 0.02/s 22 77 0.02/s 23 80 0.02/s Sep 30 00 86 0.02/s 01 74 0.02/s 02 79 0.02/s 03 32 0.01/s Oct 01 03 73 0.02/s 04 79 0.02/s 05 122 0.03/s 06 79 0.02/s 07 123 0.03/s 08 78 0.02/s 09 76 0.02/s 10 67 0.02/s 11 76 0.02/s 12 75 0.02/s 13 83 0.02/s 14 118 0.03/s 15 78 0.02/s 16 102 0.03/s 17 81 0.02/s 18 79 0.02/s 19 78 0.02/s 20 77 0.02/s 21 80 0.02/s 22 78 0.02/s 23 76 0.02/s Oct 02 00 78 0.02/s 01 80 0.02/s 02 79 0.02/s 03 100 0.03/s 04 76 0.02/s 05 95 0.03/s 06 104 0.03/s 07 77 0.02/s 08 164 0.05/s 09 77 0.02/s 10 86 0.02/s 11 78 0.02/s 12 78 0.02/s 13 70 0.02/s 14 78 0.02/s 15 103 0.03/s 16 76 0.02/s 17 77 0.02/s 18 79 0.02/s 19 78 0.02/s 20 80 0.02/s 21 79 0.02/s 22 75 0.02/s 23 79 0.02/s Oct 03 00 81 0.02/s 01 389 0.11/s 02 84 0.02/s 03 84 0.02/s 04 80 0.02/s 05 93 0.03/s 06 68 0.02/s 07 74 0.02/s 08 78 0.02/s 09 81 0.02/s 10 78 0.02/s 11 82 0.02/s 12 77 0.02/s 13 75 0.02/s 14 98 0.03/s 15 78 0.02/s 16 77 0.02/s 17 77 0.02/s 18 78 0.02/s 19 78 0.02/s 20 78 0.02/s 21 74 0.02/s 22 80 0.02/s 23 79 0.02/s Oct 04 00 77 0.02/s 01 76 0.02/s 02 80 0.02/s 03 81 0.02/s 04 77 0.02/s 05 96 0.03/s 06 78 0.02/s 07 82 0.02/s 08 76 0.02/s 09 79 0.02/s 10 77 0.02/s 11 72 0.02/s 12 79 0.02/s 13 77 0.02/s 14 78 0.02/s 15 78 0.02/s 16 79 0.02/s 17 77 0.02/s 18 81 0.02/s 19 77 0.02/s 20 76 0.02/s 21 79 0.02/s 22 157 0.04/s 23 89 0.02/s Day Hour Count Average Duration Average idle time Sep 28 00 105 23m45s 23m37s 01 65 30m47s 30m47s 02 64 30m40s 30m40s 03 65 32m32s 32m32s 04 64 30m37s 30m37s 05 75 31m49s 31m49s 06 116 19m52s 19m44s 07 138 17m51s 17m50s 08 76 31m51s 31m51s 09 110 23m30s 23m14s 10 82 28m7s 28m7s 11 80 30m42s 30m42s 12 77 31m35s 31m35s 13 77 31m48s 31m48s 14 79 30m49s 30m49s 15 95 23m55s 23m55s 16 71 31m26s 31m26s 17 77 30m39s 30m39s 18 76 31m32s 31m32s 19 76 31m30s 31m30s 20 89 26m24s 26m23s 21 80 29m10s 29m10s 22 94 26m 25m59s 23 83 29m47s 29m46s Sep 29 00 79 30m41s 30m34s 01 78 30m52s 30m52s 02 113 22m9s 22m8s 03 96 24m38s 24m38s 04 81 29m30s 29m29s 05 100 24m 24m 06 76 31m8s 31m8s 07 80 30m50s 30m50s 08 78 30m50s 30m50s 09 91 26m14s 26m14s 10 78 31m21s 31m21s 11 77 31m52s 31m52s 12 82 29m49s 29m49s 13 75 31m26s 31m26s 14 77 31m7s 31m7s 15 68 30m37s 30m37s 16 83 30m12s 30m12s 17 76 31m50s 31m50s 18 77 31m3s 31m3s 19 76 31m27s 31m27s 20 78 31m14s 31m14s 21 73 31m22s 31m22s 22 77 31m46s 31m46s 23 80 30m36s 30m36s Sep 30 00 86 27m30s 27m24s 01 74 31m41s 31m41s 02 79 31m17s 31m17s 03 32 31m36s 31m36s Oct 01 03 63 30m18s 29m14s 04 47 29m48s 29m48s 05 122 19m47s 19m46s 06 79 30m33s 30m33s 07 115 26m43s 26m43s 08 78 29m45s 29m45s 09 75 31m2s 30m50s 10 66 28m36s 27m52s 11 76 31m6s 31m6s 12 75 32m25s 30m34s 13 81 32m23s 31m55s 14 116 22m22s 22m19s 15 78 28m 27m32s 16 103 24m3s 23m59s 17 81 31m7s 31m7s 18 79 30m55s 30m55s 19 81 44m37s 44m37s 20 79 39m38s 39m38s 21 80 30m39s 30m39s 22 78 31m20s 31m20s 23 76 31m26s 31m26s Oct 02 00 78 29m26s 29m18s 01 80 31m1s 31m1s 02 79 31m6s 31m6s 03 100 25m49s 25m49s 04 76 30m 30m 05 95 25m37s 25m37s 06 104 23m 23m 07 77 31m46s 31m46s 08 164 14m42s 14m42s 09 77 30m11s 30m11s 10 86 47m16s 47m12s 11 78 30m26s 30m26s 12 78 31m5s 31m5s 13 70 30m49s 30m49s 14 78 30m1s 30m1s 15 103 22m21s 22m21s 16 76 32m27s 32m27s 17 77 31m26s 31m26s 18 79 30m44s 30m44s 19 78 31m34s 31m34s 20 80 30m38s 30m38s 21 79 31m7s 31m7s 22 75 31m22s 31m22s 23 79 31m5s 31m5s Oct 03 00 81 30m24s 30m17s 01 389 5m59s 5m59s 02 84 30m13s 30m12s 03 84 29m12s 29m9s 04 80 29m35s 29m35s 05 93 24m48s 24m48s 06 68 31m8s 31m8s 07 74 32m36s 32m36s 08 78 31m58s 31m58s 09 81 30m20s 30m20s 10 78 30m25s 30m24s 11 82 28m56s 28m56s 12 77 30m33s 30m33s 13 75 31m52s 31m52s 14 95 26m10s 26m10s 15 78 31m13s 31m13s 16 77 31m30s 31m30s 17 77 31m14s 31m14s 18 80 36m46s 36m46s 19 79 34m26s 34m26s 20 78 30m32s 30m32s 21 74 30m25s 30m25s 22 80 30m51s 30m51s 23 79 30m11s 30m11s Oct 04 00 77 31m7s 31m 01 76 31m21s 31m21s 02 80 30m28s 30m28s 03 81 30m58s 30m58s 04 77 30m48s 30m48s 05 96 24m53s 24m53s 06 78 30m20s 30m20s 07 82 30m16s 30m16s 08 76 31m11s 31m11s 09 79 30m33s 30m33s 10 77 30m39s 30m39s 11 72 31m6s 31m6s 12 79 30m52s 30m52s 13 77 31m20s 31m20s 14 78 30m47s 30m47s 15 78 31m14s 31m14s 16 79 31m5s 31m5s 17 77 30m51s 30m51s 18 81 30m24s 30m24s 19 77 31m1s 31m1s 20 76 30m39s 30m39s 21 79 29m36s 29m36s 22 156 16m15s 16m12s 23 90 25m58s 25m58s -
Connections
Established Connections
Key values
- 31 connections Connection Peak
- 2025-10-03 01:02:05 Date
Connections per database
Key values
- ctdprd51 Main Database
- 12,257 connections Total
Connections per user
Key values
- pubeu Main User
- 12,257 connections Total
-
Sessions
Simultaneous sessions
Key values
- 102 sessions Session Peak
- 2025-10-01 14:49:10 Date
Histogram of session times
Key values
- 10,655 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 12,207 sessions Total
Sessions per user
Key values
- pubeu Main User
- 12,207 sessions Total
Sessions per host
Key values
- 10.12.5.53 Main Host
- 12,207 sessions Total
Host Count Total Duration Average Duration 10.12.5.122 4 1h30m30s 22m37s 10.12.5.45 2,324 47d19h32m36s 29m37s 10.12.5.46 2,275 47d23h41m59s 30m22s 10.12.5.52 25 2h8m43s 5m8s 10.12.5.53 3,087 46d20h8m55s 21m50s 10.12.5.54 2,255 47d22h10m12s 30m36s 10.12.5.55 2,219 47d19h50m27s 31m2s 10.12.5.56 6 4h9m15s 41m32s 192.168.201.6 8 1d21h40m24s 5h42m33s ::1 3 1d10h15m30s 11h25m10s [local] 1 3ms 3ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 1,678,001 buffers Checkpoint Peak
- 2025-10-01 03:55:24 Date
- 1619.978 seconds Highest write time
- 6.432 seconds Sync time
Checkpoints Wal files
Key values
- 839 files Wal files usage Peak
- 2025-10-01 10:28:49 Date
Checkpoints distance
Key values
- 24,960.01 Mo Distance Peak
- 2025-10-01 03:55:24 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Sep 28 00 817 82.05s 0.005s 82.124s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 0 0s 0s 0s 06 102 10.35s 0.002s 10.381s 07 287 28.966s 0.002s 28.997s 08 152 15.416s 0.002s 15.445s 09 73 7.504s 0.002s 7.534s 10 110 11.231s 0.002s 11.262s 11 37 3.882s 0.002s 3.912s 12 291 29.358s 0.002s 29.388s 13 120 12.2s 0.002s 12.233s 14 344 34.66s 0.002s 34.692s 15 195 19.726s 0.002s 19.803s 16 4,399 440.875s 0.003s 440.964s 17 21 2.215s 0.002s 2.231s 18 9,043 906.075s 0.003s 906.205s 19 26 2.767s 0.002s 2.798s 20 17 1.797s 0.001s 1.812s 21 33,571 1,621.514s 0.002s 1,621.815s 22 131 13.311s 0.002s 13.341s 23 30 3.175s 0.002s 3.204s Sep 29 00 317 31.987s 0.004s 32.061s 01 67 6.885s 0.002s 6.916s 02 3,310 331.761s 0.004s 331.848s 03 188 19.047s 0.002s 19.077s 04 105 10.703s 0.002s 10.732s 05 1,545 154.937s 0.003s 155.015s 06 618 62.12s 0.003s 62.148s 07 80 8.211s 0.002s 8.241s 08 109 11.102s 0.002s 11.131s 09 212 21.43s 0.002s 21.461s 10 251 25.325s 0.002s 25.354s 11 15,138 1,515.706s 0.003s 1,515.88s 12 159 16.098s 0.002s 16.128s 13 276 27.841s 0.002s 27.871s 14 289 29.149s 0.002s 29.179s 15 244 24.635s 0.002s 24.664s 16 3,916 392.084s 0.002s 392.125s 17 96,564 2,242.556s 0.004s 2,243.391s 18 32 3.382s 0.002s 3.412s 19 19 2.084s 0.002s 2.114s 20 17 1.887s 0.002s 1.918s 21 147 14.901s 0.003s 14.931s 22 1,917 192.218s 0.004s 192.263s 23 67 6.885s 0.002s 6.915s Sep 30 00 1,933 193.694s 0.004s 193.811s 01 199 20.122s 0.002s 20.152s 02 56,279 1,621.037s 0.002s 1,621.48s 03 15 1.594s 0.001s 1.609s Oct 01 03 2,627,717 3,544.788s 7.885s 3,561s 04 109 10.989s 0.002s 16.289s 05 144 14.622s 0.002s 20.045s 06 56 5.798s 0.002s 11.129s 07 31 1.992s 0.002s 16.845s 08 180 18.131s 0.002s 68.565s 09 1,068,872 857.649s 2.412s 932.512s 10 137,300 1,823.736s 2.977s 1,944.013s 11 440,402 1,619.391s 0.002s 1,625.134s 12 166,865 3,936.747s 0.062s 3,938.174s 13 1,136,130 3,238.838s 0.004s 3,249.921s 14 26,755 1,674.838s 0.004s 1,675.122s 15 23,083 1,639.466s 0.002s 1,639.661s 16 477 47.951s 0.002s 47.981s 17 20 2.087s 0.001s 2.103s 18 222 22.406s 0.002s 22.438s 19 235 23.719s 0.002s 23.75s 20 193 19.491s 0.002s 19.522s 21 117 11.778s 0.002s 11.809s 22 48 4.974s 0.002s 5.005s 23 158 16.009s 0.002s 16.038s Oct 02 00 1,237 124.106s 0.003s 124.179s 01 240 24.262s 0.002s 24.294s 02 74 7.603s 0.002s 7.633s 03 77 7.903s 0.002s 7.933s 04 66 6.71s 0.001s 6.725s 05 46,124 1,635.704s 0.003s 1,635.887s 06 101 10.29s 0.002s 10.321s 07 97 9.897s 0.002s 9.928s 08 211 21.301s 0.002s 21.332s 09 1,988 199.338s 0.002s 199.413s 10 77 7.795s 0.001s 7.81s 11 68,930 2,260.456s 0.004s 2,260.69s 12 474 47.586s 0.003s 47.672s 13 123 12.579s 0.002s 12.609s 14 20,876 2,090.958s 0.002s 2,091.042s 15 428 42.97s 0.002s 43.001s 16 450 45.278s 0.003s 45.361s 17 123 12.52s 0.002s 12.55s 18 32 3.277s 0.002s 3.309s 19 41 4.28s 0.002s 4.31s 20 49 5.125s 0.002s 5.155s 21 126 12.816s 0.002s 12.847s 22 75 7.68s 0.002s 7.71s 23 57 5.881s 0.002s 5.911s Oct 03 00 427 42.976s 0.005s 43.047s 01 285 28.762s 0.002s 28.793s 02 330 33.232s 0.002s 33.263s 03 104 10.656s 0.002s 10.688s 04 7,503 751.762s 0.003s 751.861s 05 245 24.766s 0.002s 24.797s 06 383 38.563s 0.002s 38.595s 07 487 48.865s 0.002s 48.896s 08 684 68.736s 0.003s 68.817s 09 3,110 311.817s 0.004s 311.9s 10 643 64.627s 0.002s 64.659s 11 295 29.743s 0.003s 29.774s 12 874 87.769s 0.003s 87.851s 13 217 21.922s 0.002s 21.956s 14 75 7.618s 0.001s 7.634s 15 58,340 1,641.934s 0.004s 1,642.132s 16 201 20.365s 0.002s 20.399s 17 19 2.109s 0.002s 2.139s 18 21 2.273s 0.002s 2.302s 19 81 8.304s 0.002s 8.334s 20 90 9.226s 0.002s 9.26s 21 95 9.689s 0.002s 9.72s 22 31 3.284s 0.003s 3.315s 23 171 17.31s 0.002s 17.34s Oct 04 00 541 54.415s 0.003s 54.489s 01 1,315 131.902s 0.002s 131.987s 02 137 13.904s 0.002s 13.935s 03 28 3.037s 0.002s 3.069s 04 40 4.204s 0.002s 4.235s 05 82 8.306s 0.001s 8.322s 06 102,123 1,628.143s 0.004s 1,628.423s 07 58 5.997s 0.002s 6.027s 08 63 6.48s 0.002s 6.51s 09 149 15.097s 0.002s 15.126s 10 317 31.952s 0.003s 31.983s 11 36 3.778s 0.002s 3.808s 12 29 3.084s 0.002s 3.118s 13 84 8.599s 0.002s 8.631s 14 35 3.68s 0.002s 3.712s 15 443 44.558s 0.003s 44.643s 16 63 6.487s 0.002s 6.517s 17 8 0.891s 0.001s 0.906s 18 6 0.698s 0.001s 0.712s 19 0 0s 0s 0s 20 32 3.387s 0.002s 3.419s 21 186 18.628s 0.002s 18.658s 22 117 11.913s 0.002s 11.943s 23 183 18.524s 0.002s 18.554s Day Hour Added Removed Recycled Synced files Longest sync Average sync Sep 28 00 0 0 0 69 0.001s 0.002s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 0 0s 0s 06 0 0 0 23 0.001s 0.002s 07 0 0 0 112 0.001s 0.002s 08 0 0 0 66 0.001s 0.002s 09 0 0 0 21 0.001s 0.002s 10 0 0 0 22 0.001s 0.002s 11 0 0 0 19 0.001s 0.002s 12 0 0 0 110 0.001s 0.002s 13 0 0 0 25 0.001s 0.002s 14 0 0 0 24 0.001s 0.002s 15 0 0 1 29 0.001s 0.002s 16 0 0 2 30 0.001s 0.002s 17 0 0 0 10 0.001s 0.001s 18 0 0 5 30 0.001s 0.002s 19 0 0 0 14 0.001s 0.002s 20 0 0 0 7 0.001s 0.001s 21 0 0 22 28 0.001s 0.002s 22 0 0 0 27 0.001s 0.002s 23 0 0 0 13 0.001s 0.002s Sep 29 00 0 0 0 53 0.001s 0.002s 01 0 0 0 19 0.001s 0.002s 02 0 0 2 46 0.001s 0.002s 03 0 0 0 31 0.001s 0.002s 04 0 0 0 24 0.001s 0.002s 05 0 0 1 37 0.001s 0.002s 06 0 0 0 132 0.001s 0.002s 07 0 0 0 58 0.001s 0.002s 08 0 0 0 64 0.001s 0.002s 09 0 0 0 100 0.001s 0.002s 10 0 0 0 105 0.001s 0.002s 11 0 0 9 134 0.001s 0.002s 12 0 0 0 61 0.001s 0.002s 13 0 0 0 115 0.001s 0.002s 14 0 0 0 116 0.001s 0.002s 15 0 0 0 69 0.001s 0.002s 16 0 0 2 71 0.001s 0.001s 17 0 0 63 58 0.001s 0.003s 18 0 0 0 14 0.001s 0.002s 19 0 0 0 12 0.001s 0.002s 20 0 0 0 14 0.001s 0.002s 21 0 0 0 24 0.001s 0.002s 22 0 0 1 44 0.001s 0.002s 23 0 0 0 15 0.001s 0.002s Sep 30 00 0 0 1 67 0.001s 0.002s 01 0 0 0 37 0.001s 0.002s 02 0 0 34 39 0.001s 0.002s 03 0 0 0 9 0.001s 0.001s Oct 01 03 1 0 0 427 2.536s 0.093s 04 0 0 0 26 0.001s 0.002s 05 0 0 0 24 0.001s 0.002s 06 0 0 0 18 0.001s 0.002s 07 0 1,192 255 15 0.001s 0.002s 08 0 16,660 0 33 0.001s 0.002s 09 0 31 5,106 826 0.833s 0.173s 10 0 70 8,279 931 0.812s 0.162s 11 0 0 471 138 0.001s 0.001s 12 0 49 65 233 0.033s 0.003s 13 0 0 913 161 0.001s 0.002s 14 0 0 9 149 0.001s 0.002s 15 0 11 0 172 0.001s 0.002s 16 0 0 0 111 0.001s 0.002s 17 0 0 0 18 0.001s 0.001s 18 0 0 0 31 0.001s 0.002s 19 0 0 0 23 0.001s 0.002s 20 0 0 0 22 0.001s 0.002s 21 0 0 0 23 0.001s 0.002s 22 0 0 0 17 0.001s 0.002s 23 0 0 0 27 0.001s 0.002s Oct 02 00 0 0 0 62 0.001s 0.002s 01 0 0 0 29 0.001s 0.002s 02 0 0 0 25 0.001s 0.002s 03 0 0 0 21 0.001s 0.002s 04 0 0 0 14 0.001s 0.001s 05 0 31 0 58 0.001s 0.003s 06 0 0 0 24 0.001s 0.002s 07 0 0 0 24 0.001s 0.002s 08 0 0 0 24 0.001s 0.002s 09 0 1 0 111 0.001s 0.002s 10 0 0 0 14 0.001s 0.001s 11 0 44 0 168 0.001s 0.003s 12 0 1 0 30 0.001s 0.002s 13 0 0 0 25 0.001s 0.002s 14 0 12 0 42 0.001s 0.002s 15 0 0 0 89 0.001s 0.002s 16 0 1 0 38 0.001s 0.002s 17 0 0 0 30 0.001s 0.002s 18 0 0 0 17 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 30 0.001s 0.002s 22 0 0 0 22 0.001s 0.002s 23 0 0 0 19 0.001s 0.002s Oct 03 00 0 0 0 68 0.001s 0.002s 01 0 0 0 33 0.001s 0.002s 02 0 0 0 21 0.001s 0.002s 03 0 0 0 20 0.001s 0.002s 04 0 5 0 54 0.001s 0.002s 05 0 0 0 28 0.001s 0.002s 06 0 0 0 116 0.001s 0.002s 07 0 0 0 120 0.001s 0.002s 08 0 1 0 94 0.001s 0.002s 09 0 1 0 146 0.001s 0.002s 10 0 0 0 124 0.001s 0.002s 11 0 0 0 76 0.001s 0.002s 12 0 1 0 98 0.001s 0.002s 13 0 0 0 72 0.001s 0.002s 14 0 0 0 46 0.001s 0.001s 15 0 40 0 167 0.001s 0.002s 16 0 0 0 72 0.001s 0.002s 17 0 0 0 12 0.001s 0.002s 18 0 0 0 15 0.001s 0.002s 19 0 0 0 60 0.001s 0.002s 20 0 0 0 58 0.001s 0.002s 21 0 0 0 23 0.001s 0.002s 22 0 0 0 14 0.001s 0.002s 23 0 0 0 21 0.001s 0.002s Oct 04 00 0 0 0 70 0.001s 0.002s 01 0 1 0 35 0.001s 0.002s 02 0 0 0 25 0.001s 0.002s 03 0 0 0 19 0.001s 0.002s 04 0 0 0 18 0.001s 0.002s 05 0 0 0 16 0.001s 0.001s 06 0 69 0 54 0.001s 0.003s 07 0 0 0 21 0.001s 0.002s 08 0 0 0 19 0.001s 0.002s 09 0 0 0 30 0.001s 0.002s 10 0 0 0 34 0.001s 0.002s 11 0 0 0 17 0.001s 0.002s 12 0 0 0 17 0.001s 0.002s 13 0 0 0 22 0.001s 0.002s 14 0 0 0 14 0.001s 0.002s 15 0 1 0 22 0.001s 0.002s 16 0 0 0 19 0.001s 0.002s 17 0 0 0 7 0.001s 0.001s 18 0 0 0 6 0.001s 0.001s 19 0 0 0 0 0s 0s 20 0 0 0 17 0.001s 0.002s 21 0 0 0 27 0.001s 0.002s 22 0 0 0 27 0.001s 0.002s 23 0 0 0 28 0.001s 0.002s Day Hour Count Avg time (sec) Sep 28 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 Sep 29 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Sep 30 00 0 0s 01 0 0s 02 0 0s 03 0 0s Oct 01 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 Oct 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 Oct 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 Oct 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 Day Hour Mean distance Mean estimate Sep 28 00 3,056.00 kB 62,738.50 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 0.00 kB 0.00 kB 06 304.50 kB 50,875.00 kB 07 828.50 kB 41,320.50 kB 08 443.50 kB 33,600.50 kB 09 183.50 kB 27,252.00 kB 10 290.50 kB 22,127.00 kB 11 77.50 kB 17,938.50 kB 12 897.50 kB 14,668.00 kB 13 319.50 kB 11,974.00 kB 14 1,372.50 kB 9,844.00 kB 15 617.50 kB 8,171.00 kB 16 20,287.00 kB 23,756.00 kB 17 76.00 kB 36,454.00 kB 18 43,229.00 kB 59,607.50 kB 19 60.00 kB 73,882.00 kB 20 76.00 kB 63,004.00 kB 21 178,266.00 kB 338,607.00 kB 22 267.00 kB 274,323.00 kB 23 82.50 kB 222,218.50 kB Sep 29 00 1,193.50 kB 180,225.50 kB 01 141.50 kB 146,000.00 kB 02 12,333.00 kB 120,056.50 kB 03 703.50 kB 97,888.50 kB 04 201.00 kB 79,362.00 kB 05 5,195.50 kB 65,267.00 kB 06 1,879.50 kB 53,188.50 kB 07 190.50 kB 43,169.50 kB 08 259.00 kB 34,998.50 kB 09 629.50 kB 28,467.50 kB 10 679.00 kB 23,162.50 kB 11 71,924.50 kB 128,608.50 kB 12 410.50 kB 104,650.50 kB 13 888.00 kB 84,883.50 kB 14 838.50 kB 68,953.00 kB 15 596.00 kB 55,948.00 kB 16 27,191.00 kB 50,458.00 kB 17 343,956.67 kB 886,895.00 kB 18 76.50 kB 681,489.50 kB 19 43.50 kB 552,017.00 kB 20 34.50 kB 447,140.50 kB 21 490.50 kB 362,237.50 kB 22 6,218.00 kB 294,326.50 kB 23 97.00 kB 238,727.00 kB Sep 30 00 7,964.00 kB 194,868.50 kB 01 606.00 kB 157,945.50 kB 02 280,181.00 kB 532,261.00 kB 03 84.00 kB 453,835.00 kB Oct 01 03 7,386,260.40 kB 9,182,864.80 kB 04 174.00 kB 174.00 kB 05 306.00 kB 395.50 kB 06 49.00 kB 498.50 kB 07 7,661.00 kB 7,844.00 kB 08 478.00 kB 598.50 kB 09 8,014,669.18 kB 8,020,908.55 kB 10 8,817,867.13 kB 8,826,947.13 kB 11 7,979,448.00 kB 8,745,820.00 kB 12 539,340.00 kB 7,234,430.00 kB 13 7,734,673.00 kB 8,702,427.00 kB 14 76,347.50 kB 7,363,027.50 kB 15 88,817.50 kB 5,980,990.00 kB 16 741.00 kB 4,844,772.50 kB 17 67.00 kB 4,130,839.00 kB 18 604.00 kB 3,531,979.50 kB 19 896.00 kB 2,860,997.50 kB 20 711.50 kB 2,317,620.50 kB 21 315.50 kB 1,877,308.00 kB 22 88.50 kB 1,520,657.00 kB 23 343.00 kB 1,231,792.50 kB Oct 02 00 1,489.50 kB 998,031.50 kB 01 813.00 kB 808,560.50 kB 02 184.00 kB 654,968.00 kB 03 201.50 kB 530,562.50 kB 04 346.00 kB 452,423.00 kB 05 165,223.67 kB 446,874.00 kB 06 302.00 kB 342,703.50 kB 07 253.00 kB 277,624.00 kB 08 344.00 kB 224,953.50 kB 09 7,577.50 kB 183,008.00 kB 10 454.00 kB 156,767.00 kB 11 244,291.33 kB 620,982.33 kB 12 369.50 kB 477,558.00 kB 13 340.00 kB 386,886.00 kB 14 104,493.50 kB 330,605.00 kB 15 607.00 kB 270,533.50 kB 16 1,786.50 kB 219,323.00 kB 17 285.50 kB 177,854.00 kB 18 72.50 kB 144,077.00 kB 19 84.00 kB 116,719.00 kB 20 92.50 kB 94,558.00 kB 21 304.50 kB 76,647.50 kB 22 121.00 kB 62,109.50 kB 23 96.50 kB 50,328.50 kB Oct 03 00 2,064.50 kB 41,160.00 kB 01 959.00 kB 33,441.00 kB 02 37.00 kB 27,176.00 kB 03 65.00 kB 22,023.00 kB 04 40,700.50 kB 49,715.50 kB 05 433.00 kB 68,930.50 kB 06 1,082.50 kB 56,033.00 kB 07 1,115.00 kB 45,591.00 kB 08 2,573.00 kB 37,463.00 kB 09 11,141.00 kB 32,412.50 kB 10 1,908.00 kB 26,636.50 kB 11 700.50 kB 21,684.50 kB 12 3,249.00 kB 18,223.00 kB 13 580.00 kB 14,883.00 kB 14 347.00 kB 12,729.00 kB 15 325,317.50 kB 616,966.50 kB 16 464.50 kB 499,886.00 kB 17 40.00 kB 404,915.50 kB 18 34.00 kB 327,988.00 kB 19 179.50 kB 265,691.00 kB 20 176.50 kB 215,256.00 kB 21 224.00 kB 174,383.50 kB 22 41.00 kB 141,274.50 kB 23 115.50 kB 114,451.50 kB Oct 04 00 2,330.00 kB 93,151.00 kB 01 6,417.00 kB 76,109.00 kB 02 165.00 kB 62,231.50 kB 03 32.50 kB 50,426.00 kB 04 39.00 kB 40,851.50 kB 05 305.00 kB 34,864.00 kB 06 378,134.67 kB 1,024,326.33 kB 07 65.50 kB 785,335.50 kB 08 52.50 kB 636,132.00 kB 09 202.50 kB 515,304.50 kB 10 802.50 kB 417,550.00 kB 11 60.00 kB 338,227.00 kB 12 43.00 kB 273,973.00 kB 13 184.50 kB 221,953.00 kB 14 37.50 kB 179,789.50 kB 15 1,890.50 kB 145,821.00 kB 16 48.00 kB 118,292.00 kB 17 24.00 kB 100,863.00 kB 18 25.00 kB 90,780.00 kB 19 0.00 kB 0.00 kB 20 47.00 kB 77,622.50 kB 21 640.50 kB 62,943.00 kB 22 283.50 kB 51,071.00 kB 23 525.00 kB 41,484.00 kB -
Temporary Files
Size of temporary files
Key values
- 15.00 GiB Temp Files size Peak
- 2025-10-01 16:26:05 Date
Number of temporary files
Key values
- 24 per second Temp Files Peak
- 2025-10-01 09:48:43 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Sep 28 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 Sep 29 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 Sep 30 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 Oct 01 03 280 12.45 GiB 45.55 MiB 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 451 28.99 GiB 65.82 MiB 10 561 136.62 GiB 249.37 MiB 11 0 0 0 12 0 0 0 13 9 8.60 GiB 978.15 MiB 14 0 0 0 15 0 0 0 16 44 43.84 GiB 1020.23 MiB 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Oct 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 Oct 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 4 4.84 MiB 1.21 MiB 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 Oct 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 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 1,130 173.83 GiB 136.00 KiB 1.00 GiB 157.52 MiB vacuum full analyze;-
VACUUM FULL ANALYZE;
Date: 2025-10-01 10:34:11 Duration: 49m4s
-
VACUUM FULL ANALYZE;
Date: 2025-10-01 03:49:14 Duration: 0ms
2 122 2.76 GiB 7.29 MiB 1.00 GiB 23.19 MiB cluster pub1.term;-
CLUSTER pub1.TERM;
Date: 2025-10-01 03:48:32 Duration: 1m5s
-
CLUSTER pub1.TERM;
Date: 2025-10-01 09:44:27 Duration: 1m
-
CLUSTER pub1.TERM;
Date: 2025-10-01 03:47:38 Duration: 0ms
3 40 1.47 GiB 21.59 MiB 65.19 MiB 37.69 MiB cluster pub1.term_label;-
CLUSTER pub1.TERM_LABEL;
Date: 2025-10-01 03:49:11 Duration: 39s527ms
-
CLUSTER pub1.TERM_LABEL;
Date: 2025-10-01 09:45:05 Duration: 38s115ms
-
CLUSTER pub1.TERM_LABEL;
Date: 2025-10-01 03:48:39 Duration: 0ms
4 9 8.60 GiB 611.31 MiB 1.00 GiB 978.15 MiB select pub1.maint_cached_value_refresh_data_metrics ();-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2025-10-01 13:30:46 Duration: 37m9s
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2025-10-01 13:26:11 Duration: 0ms
5 4 4.84 MiB 640.00 KiB 2.00 MiB 1.21 MiB vacuum full analyze edit.reference_contact;-
VACUUM FULL ANALYZE edit.reference_contact;
Date: 2025-10-03 14:34:13 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB CLUSTER pub1.TERM;[ Date: 2025-10-01 03:47:38 ]
2 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 09:58:52 ]
3 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 09:58:52 ]
4 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 09:58:52 ]
5 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 09:58:52 ]
6 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 09:58:52 ]
7 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:02:25 ]
8 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:02:25 ]
9 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:02:25 ]
10 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:02:25 ]
11 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:02:25 ]
12 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:02:25 ]
13 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:02:25 ]
14 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:02:25 ]
15 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:02:26 ]
16 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:02:26 ]
17 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:03:16 ]
18 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:03:16 ]
19 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:03:16 ]
20 1.00 GiB VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:03:16 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 101.23 sec Highest CPU-cost vacuum
Table pub1.term
Database ctdprd51 - 2025-10-01 12:56:31 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 101.23 sec Highest CPU-cost vacuum
Table pub1.term
Database ctdprd51 - 2025-10-01 12:56:31 Date
Analyzes per table
Key values
- pubc.log_query (93) Main table analyzed (database ctdprd51)
- 121 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 93 ctdprd51.pub1.term_set_enrichment_agent 7 ctdprd51.pub1.term_set_enrichment 7 ctdprd51.pub1.term_comp_agent 3 ctdprd51.pg_catalog.pg_attribute 2 ctdprd51.pub1.term_comp 2 ctdprd51.pg_catalog.pg_class 2 ctdprd51.pub2.term_comp_agent 1 ctdprd51.pub1.term 1 ctdprd51.pub1.phenotype_term 1 ctdprd51.pub1.reference 1 ctdprd51.pg_catalog.pg_type 1 Total 121 Vacuums per table
Key values
- pubc.log_query (12) Main table vacuumed on database ctdprd51
- 33 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 12 10 3,060 0 575 0 0 1,002 288 1,922,037 ctdprd51.pub1.term_set_enrichment_agent 5 0 152,565 0 1,406 0 0 76,177 9 4,557,563 ctdprd51.pub1.term_set_enrichment 5 0 3,374 0 226 0 0 1,428 10 148,947 ctdprd51.pub1.term_comp_agent 2 0 388 0 42 0 0 81 2 21,617 ctdprd51.pg_toast.pg_toast_2619 2 2 9,065 0 3,102 0 20,082 6,945 1,778 1,046,962 ctdprd51.pg_catalog.pg_attribute 1 1 583 0 94 0 37 249 104 520,127 ctdprd51.pub1.term 1 1 1,047,879 0 289,422 0 66 509,024 282,189 1,295,936,118 ctdprd51.pub2.term_set_enrichment 1 0 10,073 0 4,690 0 0 4,981 2 304,070 ctdprd51.pub1.phenotype_term 1 1 787,251 0 101,559 0 0 639,024 51,612 178,486,671 ctdprd51.pub1.reference 1 1 365,234 0 6 0 0 212,637 52,484 218,336,137 ctdprd51.pg_catalog.pg_statistic 1 1 757 0 150 0 132 451 147 564,987 ctdprd51.pg_catalog.pg_class 1 1 287 0 55 0 28 172 59 297,319 Total 33 18 2,380,516 28,290 401,327 0 20,345 1,452,171 388,684 1,702,142,555 Tuples removed per table
Key values
- pub1.phenotype_term (17585345) Main table with removed tuples on database ctdprd51
- 17594182 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pub1.phenotype_term 1 1 17,585,345 3,512,947 0 0 197,181 ctdprd51.pg_toast.pg_toast_2619 2 2 7,579 43,388 42 0 25,184 ctdprd51.pg_catalog.pg_statistic 1 1 586 3,500 0 0 410 ctdprd51.pg_catalog.pg_attribute 1 1 394 8,743 0 0 230 ctdprd51.pubc.log_query 12 10 184 13,793 0 0 539 ctdprd51.pg_catalog.pg_class 1 1 94 2,419 0 0 94 ctdprd51.pub1.term_set_enrichment_agent 5 0 0 11,546,971 0 0 131,220 ctdprd51.pub1.term 1 1 0 2,126,109 0 0 237,591 ctdprd51.pub2.term_set_enrichment 1 0 0 1,619,074 0 0 26,788 ctdprd51.pub1.term_set_enrichment 5 0 0 190,982 0 0 3,170 ctdprd51.pub1.term_comp_agent 2 0 0 12,999 0 0 121 ctdprd51.pub1.reference 1 1 0 200,977 0 0 87,644 Total 33 18 17,594,182 19,281,902 42 0 710,172 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.pubc.log_query 12 10 184 0 ctdprd51.pub1.term_set_enrichment_agent 5 0 0 0 ctdprd51.pg_catalog.pg_attribute 1 1 394 0 ctdprd51.pub1.term 1 1 0 0 ctdprd51.pub2.term_set_enrichment 1 0 0 0 ctdprd51.pub1.phenotype_term 1 1 17585345 0 ctdprd51.pub1.term_set_enrichment 5 0 0 0 ctdprd51.pub1.term_comp_agent 2 0 0 0 ctdprd51.pub1.reference 1 1 0 0 ctdprd51.pg_catalog.pg_statistic 1 1 586 0 ctdprd51.pg_toast.pg_toast_2619 2 2 7579 0 ctdprd51.pg_catalog.pg_class 1 1 94 0 Total 33 18 17,594,182 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Sep 28 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 1 4 06 0 1 07 0 0 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 0 14 0 1 15 1 2 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 Sep 29 00 0 0 01 0 1 02 0 3 03 1 7 04 0 1 05 0 2 06 0 1 07 0 0 08 0 0 09 0 0 10 0 1 11 0 0 12 0 0 13 0 0 14 1 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 2 22 0 1 23 0 1 Sep 30 00 1 5 01 2 6 02 1 1 03 0 0 Oct 01 03 1 2 04 0 1 05 0 4 06 0 0 07 0 1 08 0 2 09 0 0 10 3 4 11 0 0 12 3 3 13 0 1 14 4 7 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 1 Oct 02 00 0 1 01 0 1 02 0 1 03 0 1 04 1 2 05 0 3 06 0 0 07 0 1 08 0 0 09 0 1 10 0 1 11 0 2 12 1 0 13 0 1 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 Oct 03 00 0 0 01 0 0 02 0 0 03 0 1 04 3 4 05 1 2 06 0 0 07 0 0 08 0 0 09 0 3 10 0 0 11 0 1 12 1 0 13 0 0 14 2 3 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 Oct 04 00 1 0 01 0 1 02 0 1 03 0 0 04 0 0 05 2 6 06 0 0 07 0 0 08 0 1 09 0 0 10 0 0 11 0 0 12 0 0 13 0 1 14 0 0 15 0 0 16 1 2 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 2 23 1 1 - 101.23 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
- 233 Total read queries
- 6 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 203 Requests
- 5h25m20s (unknown)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 357 Requests
User Request type Count Duration edit Total 3 19s772ms select 3 19s772ms editeu Total 14 2m51s select 14 2m51s load Total 2 17s195ms select 2 17s195ms pub1 Total 6 50s583ms others 2 24s734ms select 4 25s848ms pub2 Total 2 42s53ms select 2 42s53ms pubc Total 9 1h4m34s select 9 1h4m34s pubeu Total 357 2h40m29s others 54 1h13m53s select 303 1h26m35s qaeu Total 73 1h37m33s others 2 10s850ms select 71 1h37m22s unknown Total 202 10h45m57s ddl 12 4m6s others 40 1h49m10s select 150 8h52m40s Duration by user
Key values
- 10h45m57s (unknown) Main time consuming user
User Request type Count Duration edit Total 3 19s772ms select 3 19s772ms editeu Total 14 2m51s select 14 2m51s load Total 2 17s195ms select 2 17s195ms pub1 Total 6 50s583ms others 2 24s734ms select 4 25s848ms pub2 Total 2 42s53ms select 2 42s53ms pubc Total 9 1h4m34s select 9 1h4m34s pubeu Total 357 2h40m29s others 54 1h13m53s select 303 1h26m35s qaeu Total 73 1h37m33s others 2 10s850ms select 71 1h37m22s unknown Total 202 10h45m57s ddl 12 4m6s others 40 1h49m10s select 150 8h52m40s Queries by host
Key values
- unknown Main host
- 668 Requests
- 16h13m34s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 280 Requests
- 7h28m5s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-09-28 21:36:53 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 163 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 2h8m48s select pub1.maint_term_derive_data ();[ Date: 2025-10-01 12:43:23 - Bind query: yes ]
2 1h40s SELECT maint_term_derive_nm_fts ();[ Date: 2025-10-01 03:43:12 - Bind query: yes ]
3 49m4s VACUUM FULL ANALYZE;[ Date: 2025-10-01 10:34:11 - Bind query: yes ]
4 37m9s select pub1.maint_cached_value_refresh_data_metrics ();[ Date: 2025-10-01 13:30:46 - Bind query: yes ]
5 35m44s SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;[ Date: 2025-10-01 15:20:38 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
6 27m27s < 2025 - 09 - 28 09:23:51.956 EDT > DEBUG: provider not available, disabling JIT for current session 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 = '2117986' < 2025 - 09 - 28 09:51:40.047 EDT > DEBUG: unexpected EOF on client connection) ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-09-28 09:51:19 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
7 9m23s /* * 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-10-03 00:09:25 - Database: ctdprd51 - User: pubc - Application: psql ]
8 9m15s /* * 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 (); < 2025 - 09 - 28 00:09:17.201 EDT > DEBUG: building index "pg_toast_9308632_index" on table "pg_toast_9308632" serially < 2025 - 09 - 28 00:09:17.204 EDT > DEBUG: building index "ix_log_query_sess_id" on table "log_query" serially < 2025 - 09 - 28 00:09:17.204 EDT > DEBUG: index "ix_log_query_sess_id" can safely use deduplication < 2025 - 09 - 28 00:09:17.205 EDT > DEBUG: building index "ix_log_query_type_cd" on table "log_query" serially < 2025 - 09 - 28 00:09:17.205 EDT > DEBUG: index "ix_log_query_type_cd" can safely use deduplication < 2025 - 09 - 28 00:09:17.206 EDT > DEBUG: building index "log_query_pk" on table "log_query" serially < 2025 - 09 - 28 00:09:17.206 EDT > DEBUG: index "log_query_pk" can safely use deduplication;[ Date: 2025-09-28 00:09:17 ]
9 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-09-29 00:09:12 - Database: ctdprd51 - User: pubc - Application: psql ]
10 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-10-04 00:09:11 - Database: ctdprd51 - User: pubc - Application: psql ]
11 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-10-02 00:09:08 - Database: ctdprd51 - User: pubc - Application: psql ]
12 9m4s select pub1.maint_phenotype_term_derive_data ();[ Date: 2025-10-01 12:53:37 - Bind query: yes ]
13 9m4s /* * 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-09-30 00:09:05 - Database: ctdprd51 - User: pubc - Application: psql ]
14 7m21s SELECT maint_term_derive_nm_fts ();[ Date: 2025-10-01 09:38:32 - Bind query: yes ]
15 3m5s SELECT maint_term_label_derive_nm_fts ();[ Date: 2025-10-01 09:41:57 - Bind query: yes ]
16 2m36s SELECT maint_term_label_derive_nm_fts ();[ Date: 2025-10-01 03:46:00 - Bind query: yes ]
17 2m20s SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;[ Date: 2025-10-01 16:32:04 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
18 2m18s SELECT /* AllCuratedChemPhenoIxnsDAO */ chemTerm.nm ChemicalName, chemTerm.acc_txt ChemicalID, chemTerm.secondary_nm CasRN, phenoTerm.nm PhenotypeName, phenoTerm.acc_txt PhenotypeID, ( SELECT STRING_AGG(distinct coMentionTerm.nm || '^' || coMentionTerm.acc_txt || '^' || coMentionTerm.acc_db_cd, '|')) as coMentionedTerms, taxonTerm.nm Organism, taxonTerm.acc_txt OrganismID, i.ixn_prose_txt Interaction, i.actions_txt InteractionActions, ( SELECT STRING_AGG(distinct ia.level_seq + 1 || '^' || anatomyTerm.nm || '^' || anatomyTerm.acc_txt, '|' ORDER BY ia.level_seq + 1 || '^' || anatomyTerm.nm || '^' || anatomyTerm.acc_txt)) as anatomyTerms, STRING_AGG(distinct inferredTerm.nm || '^' || inferredTerm.acc_txt || '^' || inferredTerm.acc_db_cd, '|' ORDER BY inferredTerm.nm || '^' || inferredTerm.acc_txt || '^' || inferredTerm.acc_db_cd) InferenceGeneSymbols, STRING_AGG(distinct r.acc_txt, '|' ORDER BY r.acc_txt) PubMedIDs, ptr.ixn_id ignorecolumnIxnId FROM phenotype_term_reference ptr LEFT OUTER JOIN term taxonTerm ON ptr.taxon_id = taxonTerm.id INNER JOIN ixn i ON ptr.ixn_id = i.id INNER JOIN term phenoTerm ON ptr.phenotype_id = phenoTerm.id INNER JOIN reference r ON ptr.reference_id = r.id INNER JOIN term chemTerm ON ptr.term_id = chemTerm.id LEFT OUTER JOIN ixn_anatomy ia ON ptr.ixn_id = ia.ixn_id LEFT OUTER JOIN term anatomyTerm ON ia.anatomy_id = anatomyTerm.id LEFT OUTER JOIN phenotype_term_reference ptr2 ON ptr.ixn_id = ptr2.ixn_id and (ptr.term_id <> ptr2.term_id or ptr.phenotype_id <> ptr2.phenotype_id) LEFT OUTER JOIN phenotype_term_reference ptr3 ON ptr.term_id = ptr3.term_id and (ptr.phenotype_id = ptr3.phenotype_id and ptr3.source_cd = 'I') LEFT OUTER JOIN term coMentionTerm ON coMentionTerm.id = ptr2.term_id LEFT OUTER JOIN term inferredTerm ON inferredTerm.id = ptr3.via_term_id WHERE ptr.source_cd = 'C' AND ptr.term_object_type_id = ( SELECT ot.id FROM object_type ot WHERE ot.cd = 'chem') GROUP BY chemTerm.nm, chemTerm.acc_txt, chemTerm.secondary_nm, phenoTerm.nm, phenoTerm.acc_txt, taxonTerm.nm, taxonTerm.acc_txt, i.ixn_prose_txt, i.actions_txt, ptr.ixn_id ORDER BY chemTerm.nm, phenoTerm.nm;[ Date: 2025-10-01 16:29:02 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
19 1m24s 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 = '2117399') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;[ Date: 2025-10-02 10:24:48 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 1m22s SELECT /* AllCDRelationsDAO */ c.nm "ChemicalName", c.acc_txt "ChemicalID", c.secondary_nm "CasRN", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", a.action_type_nm "DirectEvidence", g.nm "InferenceGeneSymbol", cdr.network_score "InferenceScore", STRING_AGG(cdr.source_acc_txt, '|' ORDER BY cdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM chem_disease_reference cdr INNER JOIN term d ON cdr.disease_id = d.id INNER JOIN term c ON cdr.chem_id = c.id LEFT OUTER JOIN chem_disease_reference_axn a ON cdr.id = a.chem_disease_reference_id LEFT OUTER JOIN reference r ON cdr.reference_id = r.id LEFT OUTER JOIN term g ON cdr.via_gene_id = g.id GROUP BY c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.nm, d.acc_db_cd || ':' || d.acc_txt, a.action_type_nm, g.nm, cdr.network_score ORDER BY c.nm_sort, d.nm;[ Date: 2025-10-01 14:37:44 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2h8m48s 1 2h8m48s 2h8m48s 2h8m48s select pub1.maint_term_derive_data ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 01 12 1 2h8m48s 2h8m48s -
select pub1.maint_term_derive_data ();
Date: 2025-10-01 12:43:23 Duration: 2h8m48s Bind query: yes
2 1h8m1s 2 7m21s 1h40s 34m select maint_term_derive_nm_fts ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 01 03 1 1h40s 1h40s 09 1 7m21s 7m21s -
SELECT maint_term_derive_nm_fts ();
Date: 2025-10-01 03:43:12 Duration: 1h40s Bind query: yes
-
SELECT maint_term_derive_nm_fts ();
Date: 2025-10-01 09:38:32 Duration: 7m21s Bind query: yes
3 49m4s 1 49m4s 49m4s 49m4s vacuum full analyze;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 01 10 1 49m4s 49m4s -
VACUUM FULL ANALYZE;
Date: 2025-10-01 10:34:11 Duration: 49m4s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2025-10-01 03:49:14 Duration: 0ms
4 45m54s 5 9m4s 9m23s 9m10s select maint_query_logs_archive ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 29 00 1 9m9s 9m9s Sep 30 00 1 9m4s 9m4s Oct 02 00 1 9m7s 9m7s Oct 03 00 1 9m23s 9m23s Oct 04 00 1 9m9s 9m9s [ User: pubc - Total duration: 45m54s - Times executed: 5 ]
[ Application: psql - Total duration: 45m54s - Times executed: 5 ]
-
/* * 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-10-03 00:09:25 Duration: 9m23s 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-09-29 00:09:12 Duration: 9m9s 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-10-04 00:09:11 Duration: 9m9s Database: ctdprd51 User: pubc Application: psql
5 37m9s 1 37m9s 37m9s 37m9s select pub1.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 01 13 1 37m9s 37m9s -
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2025-10-01 13:30:46 Duration: 37m9s Bind query: yes
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2025-10-01 13:26:11 Duration: 0ms
6 36m21s 8 5s101ms 35m44s 4m32s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 01 15 8 36m21s 4m32s [ User: qaeu - Total duration: 35m44s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-10-01 15:20:38 Duration: 35m44s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-10-01 15:41:05 Duration: 5s451ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-10-01 15:34:17 Duration: 5s285ms Bind query: yes
7 27m27s 1 27m27s 27m27s 27m27s < ? - 09 - 28 ? : ? : ?.? edt > debug: provider not available, disabling jit for current session 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 = ? < ? - 09 - 28 ? : ? : ?.? edt > debug: unexpected eof on client connection) 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 Sep 28 09 1 27m27s 27m27s [ User: pubeu - Total duration: 27m27s - Times executed: 1 ]
-
< 2025 - 09 - 28 09:23:51.956 EDT > DEBUG: provider not available, disabling JIT for current session 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 = '2117986' < 2025 - 09 - 28 09:51:40.047 EDT > DEBUG: unexpected EOF on client connection) ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-09-28 09:51:19 Duration: 27m27s Database: ctdprd51 User: pubeu Bind query: yes
8 10m38s 29 5s463ms 46s631ms 22s28ms 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 #8
Day Hour Count Duration Avg duration Sep 28 00 1 37s759ms 37s759ms 09 2 1m12s 36s173ms 20 2 25s559ms 12s779ms 22 2 33s664ms 16s832ms 23 1 12s180ms 12s180ms Sep 29 02 3 36s944ms 12s314ms 03 1 12s300ms 12s300ms Oct 02 06 2 15s363ms 7s681ms 08 4 50s579ms 12s644ms Oct 03 01 1 5s463ms 5s463ms Oct 04 22 10 5m36s 33s665ms [ User: pubeu - Total duration: 9m10s - Times executed: 26 ]
-
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 = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-10-04 22:54:10 Duration: 46s631ms 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 = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-10-04 22:35:27 Duration: 39s208ms 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 = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-10-04 22:26:23 Duration: 38s773ms Bind query: yes
9 9m15s 1 9m15s 9m15s 9m15s select maint_query_logs_archive (); < ? - 09 - 28 ? : ? : ?.? edt > debug: building index "pg_toast_9308632_index" on table "pg_toast_9308632" serially < ? - 09 - 28 ? : ? : ?.? edt > debug: building index "ix_log_query_sess_id" on table "log_query" serially < ? - 09 - 28 ? : ? : ?.? edt > debug: index "ix_log_query_sess_id" can safely use deduplication < ? - 09 - 28 ? : ? : ?.? edt > debug: building index "ix_log_query_type_cd" on table "log_query" serially < ? - 09 - 28 ? : ? : ?.? edt > debug: index "ix_log_query_type_cd" can safely use deduplication < ? - 09 - 28 ? : ? : ?.? edt > debug: building index "log_query_pk" on table "log_query" serially < ? - 09 - 28 ? : ? : ?.? edt > debug: index "log_query_pk" can safely use deduplication;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 28 00 1 9m15s 9m15s -
/* * 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 (); < 2025 - 09 - 28 00:09:17.201 EDT > DEBUG: building index "pg_toast_9308632_index" on table "pg_toast_9308632" serially < 2025 - 09 - 28 00:09:17.204 EDT > DEBUG: building index "ix_log_query_sess_id" on table "log_query" serially < 2025 - 09 - 28 00:09:17.204 EDT > DEBUG: index "ix_log_query_sess_id" can safely use deduplication < 2025 - 09 - 28 00:09:17.205 EDT > DEBUG: building index "ix_log_query_type_cd" on table "log_query" serially < 2025 - 09 - 28 00:09:17.205 EDT > DEBUG: index "ix_log_query_type_cd" can safely use deduplication < 2025 - 09 - 28 00:09:17.206 EDT > DEBUG: building index "log_query_pk" on table "log_query" serially < 2025 - 09 - 28 00:09:17.206 EDT > DEBUG: index "log_query_pk" can safely use deduplication;
Date: 2025-09-28 00:09:17 Duration: 9m15s
10 9m4s 1 9m4s 9m4s 9m4s select pub1.maint_phenotype_term_derive_data ();Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 01 12 1 9m4s 9m4s -
select pub1.maint_phenotype_term_derive_data ();
Date: 2025-10-01 12:53:37 Duration: 9m4s Bind query: yes
11 7m22s 9 8s856ms 1m2s 49s203ms 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 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 limit ? offset ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 28 06 9 7m22s 49s203ms [ User: pubeu - Total duration: 6m56s - Times executed: 7 ]
-
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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:28 Duration: 1m2s 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:29 Duration: 1m1s 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:28 Duration: 1m Database: ctdprd51 User: pubeu Bind query: yes
12 6m42s 10 8s644ms 1m1s 40s259ms < ? - 09 - 28 ? : ? : ?.? edt > debug: provider not available, disabling jit for current session 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 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 limit ? offset ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 28 06 10 6m42s 40s259ms [ User: pubeu - Total duration: 6m42s - Times executed: 10 ]
-
< 2025 - 09 - 28 06:10:28.435 EDT > DEBUG: provider not available, disabling JIT for current session 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:30 Duration: 1m1s Database: ctdprd51 User: pubeu Bind query: yes
-
< 2025 - 09 - 28 06:10:30.572 EDT > DEBUG: provider not available, disabling JIT for current session 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:31 Duration: 1m Database: ctdprd51 User: pubeu Bind query: yes
-
< 2025 - 09 - 28 06:10:27.647 EDT > DEBUG: provider not available, disabling JIT for current session 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:27 Duration: 59s445ms Database: ctdprd51 User: pubeu Bind query: yes
13 5m42s 2 2m36s 3m5s 2m51s select maint_term_label_derive_nm_fts ();Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 01 03 1 2m36s 2m36s 09 1 3m5s 3m5s -
SELECT maint_term_label_derive_nm_fts ();
Date: 2025-10-01 09:41:57 Duration: 3m5s Bind query: yes
-
SELECT maint_term_label_derive_nm_fts ();
Date: 2025-10-01 03:46:00 Duration: 2m36s Bind query: yes
14 4m2s 5 48s27ms 49s62ms 48s535ms 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 ?))) 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 Oct 03 03 5 4m2s 48s535ms [ User: pubeu - Total duration: 4m2s - Times executed: 5 ]
-
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 'IL6'))) 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-10-03 03:41:12 Duration: 49s62ms 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 = '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 'IL6'))) 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-10-03 03:45:50 Duration: 48s929ms 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 = '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 'IL6'))) 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-10-03 03:39:44 Duration: 48s602ms Database: ctdprd51 User: pubeu Bind query: yes
15 3m54s 4 47s750ms 1m24s 58s658ms 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 g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 02 10 4 3m54s 58s658ms [ User: pubeu - Total duration: 3m5s - Times executed: 3 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes 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 = '2117399') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-10-02 10:24:48 Duration: 1m24s 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 = '2117399') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-10-02 10:24:08 Duration: 52s352ms 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 = '2117399') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-10-02 10:24:07 Duration: 49s626ms Bind query: yes
16 2m50s 5 5s95ms 2m20s 34s161ms select phenotypeterm.nm "GOName", phenotypeterm.acc_txt "GOID", diseaseterm.nm "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( select string_agg(distinct chemtermnetwork.nm, ?)) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( select string_agg(distinct genetermnetwork.nm, ?)) "InferenceGeneSymbols" from phenotype_term_reference ptr inner join phenotype_term pt on ptr.phenotype_id = pt.phenotype_id and ptr.term_id = pt.term_id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id inner join term diseaseterm on ptr.term_id = diseaseterm.id and diseaseterm.object_type_id = ( select id from object_type where cd = ?) left outer join term genetermnetwork on ptr.via_term_id = genetermnetwork.id and genetermnetwork.object_type_id = ( select id from object_type where cd = ?) left outer join term chemtermnetwork on ptr.via_term_id = chemtermnetwork.id and chemtermnetwork.object_type_id = ( select id from object_type where cd = ?) where phenotypeterm.id in ( select dp.descendant_dag_node_id from dag_path dp where dp.ancestor_object_id = ( select id from term where nm = ?)) and ptr.source_cd = ? and ptr.phenotype_id = phenotypeterm.id and ptr.term_id = diseaseterm.id group by phenotypeterm.nm, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 01 16 5 2m50s 34s161ms [ User: qaeu - Total duration: 2m32s - Times executed: 2 ]
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2025-10-01 16:32:04 Duration: 2m20s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'molecular_function')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2025-10-01 16:34:01 Duration: 12s935ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2025-10-01 16:32:17 Duration: 6s581ms Bind query: yes
17 2m18s 1 2m18s 2m18s 2m18s select chemterm.nm chemicalname, chemterm.acc_txt chemicalid, chemterm.secondary_nm casrn, phenoterm.nm phenotypename, phenoterm.acc_txt phenotypeid, ( select string_agg(distinct comentionterm.nm || ? || comentionterm.acc_txt || ? || comentionterm.acc_db_cd, ?)) as comentionedterms, taxonterm.nm organism, taxonterm.acc_txt organismid, i.ixn_prose_txt interaction, i.actions_txt interactionactions, ( select string_agg(distinct ia.level_seq + ? || ? || anatomyterm.nm || ? || anatomyterm.acc_txt, ? order by ia.level_seq + ? || ? || anatomyterm.nm || ? || anatomyterm.acc_txt)) as anatomyterms, string_agg(distinct inferredterm.nm || ? || inferredterm.acc_txt || ? || inferredterm.acc_db_cd, ? order by inferredterm.nm || ? || inferredterm.acc_txt || ? || inferredterm.acc_db_cd) inferencegenesymbols, string_agg(distinct r.acc_txt, ? order by r.acc_txt) pubmedids, ptr.ixn_id ignorecolumnixnid from phenotype_term_reference ptr left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join ixn i on ptr.ixn_id = i.id inner join term phenoterm on ptr.phenotype_id = phenoterm.id inner join reference r on ptr.reference_id = r.id inner join term chemterm on ptr.term_id = chemterm.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id left outer join phenotype_term_reference ptr2 on ptr.ixn_id = ptr2.ixn_id and (ptr.term_id <> ptr2.term_id or ptr.phenotype_id <> ptr2.phenotype_id) left outer join phenotype_term_reference ptr3 on ptr.term_id = ptr3.term_id and (ptr.phenotype_id = ptr3.phenotype_id and ptr3.source_cd = ?) left outer join term comentionterm on comentionterm.id = ptr2.term_id left outer join term inferredterm on inferredterm.id = ptr3.via_term_id where ptr.source_cd = ? and ptr.term_object_type_id = ( select ot.id from object_type ot where ot.cd = ?) group by chemterm.nm, chemterm.acc_txt, chemterm.secondary_nm, phenoterm.nm, phenoterm.acc_txt, taxonterm.nm, taxonterm.acc_txt, i.ixn_prose_txt, i.actions_txt, ptr.ixn_id order by chemterm.nm, phenoterm.nm;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 01 16 1 2m18s 2m18s [ User: qaeu - Total duration: 2m18s - Times executed: 1 ]
-
SELECT /* AllCuratedChemPhenoIxnsDAO */ chemTerm.nm ChemicalName, chemTerm.acc_txt ChemicalID, chemTerm.secondary_nm CasRN, phenoTerm.nm PhenotypeName, phenoTerm.acc_txt PhenotypeID, ( SELECT STRING_AGG(distinct coMentionTerm.nm || '^' || coMentionTerm.acc_txt || '^' || coMentionTerm.acc_db_cd, '|')) as coMentionedTerms, taxonTerm.nm Organism, taxonTerm.acc_txt OrganismID, i.ixn_prose_txt Interaction, i.actions_txt InteractionActions, ( SELECT STRING_AGG(distinct ia.level_seq + 1 || '^' || anatomyTerm.nm || '^' || anatomyTerm.acc_txt, '|' ORDER BY ia.level_seq + 1 || '^' || anatomyTerm.nm || '^' || anatomyTerm.acc_txt)) as anatomyTerms, STRING_AGG(distinct inferredTerm.nm || '^' || inferredTerm.acc_txt || '^' || inferredTerm.acc_db_cd, '|' ORDER BY inferredTerm.nm || '^' || inferredTerm.acc_txt || '^' || inferredTerm.acc_db_cd) InferenceGeneSymbols, STRING_AGG(distinct r.acc_txt, '|' ORDER BY r.acc_txt) PubMedIDs, ptr.ixn_id ignorecolumnIxnId FROM phenotype_term_reference ptr LEFT OUTER JOIN term taxonTerm ON ptr.taxon_id = taxonTerm.id INNER JOIN ixn i ON ptr.ixn_id = i.id INNER JOIN term phenoTerm ON ptr.phenotype_id = phenoTerm.id INNER JOIN reference r ON ptr.reference_id = r.id INNER JOIN term chemTerm ON ptr.term_id = chemTerm.id LEFT OUTER JOIN ixn_anatomy ia ON ptr.ixn_id = ia.ixn_id LEFT OUTER JOIN term anatomyTerm ON ia.anatomy_id = anatomyTerm.id LEFT OUTER JOIN phenotype_term_reference ptr2 ON ptr.ixn_id = ptr2.ixn_id and (ptr.term_id <> ptr2.term_id or ptr.phenotype_id <> ptr2.phenotype_id) LEFT OUTER JOIN phenotype_term_reference ptr3 ON ptr.term_id = ptr3.term_id and (ptr.phenotype_id = ptr3.phenotype_id and ptr3.source_cd = 'I') LEFT OUTER JOIN term coMentionTerm ON coMentionTerm.id = ptr2.term_id LEFT OUTER JOIN term inferredTerm ON inferredTerm.id = ptr3.via_term_id WHERE ptr.source_cd = 'C' AND ptr.term_object_type_id = ( SELECT ot.id FROM object_type ot WHERE ot.cd = 'chem') GROUP BY chemTerm.nm, chemTerm.acc_txt, chemTerm.secondary_nm, phenoTerm.nm, phenoTerm.acc_txt, taxonTerm.nm, taxonTerm.acc_txt, i.ixn_prose_txt, i.actions_txt, ptr.ixn_id ORDER BY chemTerm.nm, phenoTerm.nm;
Date: 2025-10-01 16:29:02 Duration: 2m18s Database: ctdprd51 User: qaeu Bind query: yes
18 2m5s 2 1m 1m5s 1m2s cluster pub1.term;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 01 03 1 1m5s 1m5s 09 1 1m 1m -
CLUSTER pub1.TERM;
Date: 2025-10-01 03:48:32 Duration: 1m5s Bind query: yes
-
CLUSTER pub1.TERM;
Date: 2025-10-01 09:44:27 Duration: 1m Bind query: yes
-
CLUSTER pub1.TERM;
Date: 2025-10-01 03:47:38 Duration: 0ms
19 1m43s 4 13s435ms 39s166ms 25s757ms < ? - 09 - 28 ? : ? : ?.? edt > debug: provider not available, disabling jit for current session 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 #19
Day Hour Count Duration Avg duration Sep 28 00 2 1m15s 37s861ms 07 2 27s304ms 13s652ms [ User: pubeu - Total duration: 1m43s - Times executed: 4 ]
-
< 2025 - 09 - 28 00:40:02.391 EDT > DEBUG: provider not available, disabling JIT for current session 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 = '2117986') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-09-28 00:40:41 Duration: 39s166ms Database: ctdprd51 User: pubeu Bind query: yes
-
< 2025 - 09 - 28 00:36:40.239 EDT > DEBUG: provider not available, disabling JIT for current session 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 = '2117986') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-09-28 00:38:41 Duration: 36s557ms Database: ctdprd51 User: pubeu Bind query: yes
-
< 2025 - 09 - 28 07:15:53.017 EDT > DEBUG: provider not available, disabling JIT for current session 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 = '2112616') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-09-28 07:16:06 Duration: 13s868ms Database: ctdprd51 User: pubeu Bind query: yes
20 1m42s 13 5s839ms 15s246ms 7s910ms 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 limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 01 05 1 15s246ms 15s246ms 08 1 5s839ms 5s839ms 14 1 7s576ms 7s576ms 16 1 7s664ms 7s664ms Oct 02 05 1 7s295ms 7s295ms 15 1 7s244ms 7s244ms Oct 03 05 2 15s115ms 7s557ms Oct 04 05 2 14s413ms 7s206ms 22 2 15s66ms 7s533ms 23 1 7s378ms 7s378ms [ User: qaeu - Total duration: 37s79ms - Times executed: 5 ]
[ User: pubeu - Total duration: 13s218ms - Times executed: 2 ]
-
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 LIMIT 50;
Date: 2025-10-01 05:45:41 Duration: 15s246ms 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 LIMIT 50;
Date: 2025-10-01 16:05:07 Duration: 7s664ms Database: ctdprd51 User: qaeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-10-03 05:49:15 Duration: 7s658ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 29 10m38s 5s463ms 46s631ms 22s28ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 28 00 1 37s759ms 37s759ms 09 2 1m12s 36s173ms 20 2 25s559ms 12s779ms 22 2 33s664ms 16s832ms 23 1 12s180ms 12s180ms Sep 29 02 3 36s944ms 12s314ms 03 1 12s300ms 12s300ms Oct 02 06 2 15s363ms 7s681ms 08 4 50s579ms 12s644ms Oct 03 01 1 5s463ms 5s463ms Oct 04 22 10 5m36s 33s665ms [ User: pubeu - Total duration: 9m10s - Times executed: 26 ]
-
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 = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-10-04 22:54:10 Duration: 46s631ms 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 = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-10-04 22:35:27 Duration: 39s208ms 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 = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-10-04 22:26:23 Duration: 38s773ms Bind query: yes
2 15 1m17s 5s29ms 5s445ms 5s157ms 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 #2
Day Hour Count Duration Avg duration Sep 28 15 1 5s99ms 5s99ms Sep 29 05 1 5s52ms 5s52ms Oct 01 05 2 10s187ms 5s93ms 08 2 10s246ms 5s123ms 16 1 5s207ms 5s207ms Oct 02 05 1 5s100ms 5s100ms 15 1 5s341ms 5s341ms Oct 03 05 2 10s284ms 5s142ms Oct 04 05 2 10s291ms 5s145ms 22 2 10s557ms 5s278ms [ User: pubeu - Total duration: 36s38ms - Times executed: 7 ]
[ User: qaeu - Total duration: 30s773ms - Times executed: 6 ]
-
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 = 1324741)) 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-10-04 22:36:15 Duration: 5s445ms 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 = 1324741)) 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-10-02 15:12:43 Duration: 5s341ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'ddt' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1324741)) 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-10-04 05:43:39 Duration: 5s257ms Database: ctdprd51 User: qaeu Bind query: yes
3 13 1m42s 5s839ms 15s246ms 7s910ms 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 limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 01 05 1 15s246ms 15s246ms 08 1 5s839ms 5s839ms 14 1 7s576ms 7s576ms 16 1 7s664ms 7s664ms Oct 02 05 1 7s295ms 7s295ms 15 1 7s244ms 7s244ms Oct 03 05 2 15s115ms 7s557ms Oct 04 05 2 14s413ms 7s206ms 22 2 15s66ms 7s533ms 23 1 7s378ms 7s378ms [ User: qaeu - Total duration: 37s79ms - Times executed: 5 ]
[ User: pubeu - Total duration: 13s218ms - Times executed: 2 ]
-
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 LIMIT 50;
Date: 2025-10-01 05:45:41 Duration: 15s246ms 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 LIMIT 50;
Date: 2025-10-01 16:05:07 Duration: 7s664ms Database: ctdprd51 User: qaeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-10-03 05:49:15 Duration: 7s658ms Bind query: yes
4 13 1m16s 5s7ms 9s424ms 5s857ms 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 #4
Day Hour Count Duration Avg duration Sep 28 21 1 5s668ms 5s668ms Sep 29 03 2 10s968ms 5s484ms 04 1 5s179ms 5s179ms 07 1 5s785ms 5s785ms 17 1 5s266ms 5s266ms 23 2 10s525ms 5s262ms Sep 30 02 1 5s403ms 5s403ms Oct 01 09 1 5s7ms 5s7ms 21 1 6s572ms 6s572ms Oct 02 14 1 6s341ms 6s341ms Oct 03 02 1 9s424ms 9s424ms [ User: pubeu - Total duration: 1m10s - Times executed: 12 ]
-
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 = '1441324' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-10-03 02:49:57 Duration: 9s424ms 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 = '1295161' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-10-01 21:49:04 Duration: 6s572ms 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 = '1337713' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-10-02 14:33:50 Duration: 6s341ms Database: ctdprd51 User: pubeu Bind query: yes
5 11 1m22s 7s210ms 8s30ms 7s530ms 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 limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 01 14 1 7s414ms 7s414ms 16 1 7s448ms 7s448ms Oct 02 05 1 7s399ms 7s399ms 15 1 7s210ms 7s210ms Oct 03 05 2 15s462ms 7s731ms Oct 04 05 2 14s979ms 7s489ms 22 2 15s478ms 7s739ms 23 1 7s444ms 7s444ms [ User: pubeu - Total duration: 14s959ms - Times executed: 2 ]
[ User: qaeu - Total duration: 7s399ms - Times executed: 1 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE '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 LIMIT 50;
Date: 2025-10-04 22:51:46 Duration: 8s30ms 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 LIMIT 50;
Date: 2025-10-03 05:44:17 Duration: 8s18ms 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 LIMIT 50;
Date: 2025-10-04 05:49:19 Duration: 7s515ms Database: ctdprd51 User: pubeu Bind query: yes
6 10 6m42s 8s644ms 1m1s 40s259ms < ? - 09 - 28 ? : ? : ?.? edt > debug: provider not available, disabling jit for current session 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 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 limit ? offset ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 28 06 10 6m42s 40s259ms [ User: pubeu - Total duration: 6m42s - Times executed: 10 ]
-
< 2025 - 09 - 28 06:10:28.435 EDT > DEBUG: provider not available, disabling JIT for current session 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:30 Duration: 1m1s Database: ctdprd51 User: pubeu Bind query: yes
-
< 2025 - 09 - 28 06:10:30.572 EDT > DEBUG: provider not available, disabling JIT for current session 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:31 Duration: 1m Database: ctdprd51 User: pubeu Bind query: yes
-
< 2025 - 09 - 28 06:10:27.647 EDT > DEBUG: provider not available, disabling JIT for current session 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:27 Duration: 59s445ms Database: ctdprd51 User: pubeu Bind query: yes
7 10 1m37s 5s22ms 12s27ms 9s702ms 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 #7
Day Hour Count Duration Avg duration Sep 28 00 1 11s744ms 11s744ms Sep 29 04 1 5s22ms 5s22ms 13 2 21s722ms 10s861ms Oct 03 12 2 12s55ms 6s27ms Oct 04 22 4 46s478ms 11s619ms [ User: pubeu - Total duration: 1m37s - Times executed: 10 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-10-04 22:49:40 Duration: 12s27ms 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 = '2117986') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-09-28 00:34:41 Duration: 11s744ms 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 = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-10-04 22:49:59 Duration: 11s693ms Database: ctdprd51 User: pubeu Bind query: yes
8 10 53s536ms 5s65ms 7s59ms 5s353ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 28 20 1 5s153ms 5s153ms Sep 29 02 1 5s463ms 5s463ms 20 1 7s59ms 7s59ms Oct 02 15 1 5s70ms 5s70ms Oct 03 01 1 5s146ms 5s146ms 05 1 5s65ms 5s65ms 09 1 5s126ms 5s126ms 10 1 5s187ms 5s187ms 15 1 5s110ms 5s110ms Oct 04 22 1 5s152ms 5s152ms [ User: pubeu - Total duration: 53s536ms - Times executed: 10 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1287816') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1287816') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-09-29 20:21:28 Duration: 7s59ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1300421') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1300421') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-09-29 02:19:22 Duration: 5s463ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1336333') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1336333') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-10-03 10:41:24 Duration: 5s187ms Database: ctdprd51 User: pubeu Bind query: yes
9 9 7m22s 8s856ms 1m2s 49s203ms 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 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 limit ? offset ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 28 06 9 7m22s 49s203ms [ User: pubeu - Total duration: 6m56s - Times executed: 7 ]
-
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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:28 Duration: 1m2s 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:29 Duration: 1m1s 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:28 Duration: 1m Database: ctdprd51 User: pubeu Bind query: yes
10 8 36m21s 5s101ms 35m44s 4m32s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 01 15 8 36m21s 4m32s [ User: qaeu - Total duration: 35m44s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-10-01 15:20:38 Duration: 35m44s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-10-01 15:41:05 Duration: 5s451ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-10-01 15:34:17 Duration: 5s285ms Bind query: yes
11 8 48s219ms 5s736ms 6s489ms 6s27ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 30 02 4 23s110ms 5s777ms Oct 03 07 4 25s109ms 6s277ms [ User: pubeu - Total duration: 36s441ms - Times executed: 6 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'EXP_GENE_51104') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'EXP_GENE_51104') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'EXP_GENE_51104')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'EXP_GENE_51104')) ii GROUP BY ii.cd;
Date: 2025-10-03 07:42:58 Duration: 6s489ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'EXP_GENE_51104') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'EXP_GENE_51104') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'EXP_GENE_51104')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'EXP_GENE_51104')) ii GROUP BY ii.cd;
Date: 2025-10-03 07:42:51 Duration: 6s390ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'EXP_GENE_51104') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'EXP_GENE_51104') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'EXP_GENE_51104')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'EXP_GENE_51104')) ii GROUP BY ii.cd;
Date: 2025-10-03 07:42:55 Duration: 6s186ms Database: ctdprd51 User: pubeu Bind query: yes
12 6 1m13s 9s470ms 13s445ms 12s239ms 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 Oct 02 15 1 13s382ms 13s382ms Oct 03 10 5 1m 12s11ms [ User: editeu - Total duration: 1m1s - Times executed: 5 ]
-
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-10-03 10:00:42 Duration: 13s445ms 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-10-02 15:14:23 Duration: 13s382ms 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-10-03 10:07:11 Duration: 12s617ms Database: ctdprd51 User: editeu Bind query: yes
13 6 40s593ms 6s642ms 6s888ms 6s765ms vacuum analyze log_query_archive;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 28 00 1 6s725ms 6s725ms Sep 29 00 1 6s759ms 6s759ms Sep 30 00 1 6s642ms 6s642ms Oct 02 00 1 6s700ms 6s700ms Oct 03 00 1 6s878ms 6s878ms Oct 04 00 1 6s888ms 6s888ms -
VACUUM ANALYZE log_query_archive;
Date: 2025-10-04 00:09:18 Duration: 6s888ms
-
VACUUM ANALYZE log_query_archive;
Date: 2025-10-03 00:09:32 Duration: 6s878ms
-
VACUUM ANALYZE log_query_archive;
Date: 2025-09-29 00:09:18 Duration: 6s759ms
14 6 38s651ms 6s238ms 6s563ms 6s441ms select p.ancestor_object_id, p.descendant_object_id from dag_path p where p.descendant_object_id in ( select go_term_id from gene_go_annot gga where gga.taxon_id = ( select id from term where acc_txt = ? and object_type_id = ( select id from object_type where cd = ?)) and gga.is_not = ?) and p.ancestor_object_id not in ( select c.id from term c where c.acc_txt in (...) and c.object_type_id = ( select id from object_type where cd = ?));Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 01 07 2 13s7ms 6s503ms 14 1 6s542ms 6s542ms 15 1 6s238ms 6s238ms 16 1 6s298ms 6s298ms Oct 02 15 1 6s563ms 6s563ms [ User: qaeu - Total duration: 25s539ms - Times executed: 4 ]
[ User: pubeu - Total duration: 13s111ms - Times executed: 2 ]
-
select p.ancestor_object_id, p.descendant_object_id from DAG_PATH p where p.descendant_object_id in ( select go_term_id from GENE_GO_ANNOT gga where gga.taxon_id = ( select id from TERM where acc_txt = '9606' and object_type_id = ( select id from OBJECT_TYPE where cd = 'taxon')) AND gga.is_not = 'f') and p.ancestor_object_id NOT in ( SELECT c.id FROM TERM c WHERE c.acc_txt in ('ALL') AND c.object_type_id = ( select id from OBJECT_TYPE where cd = 'go'));
Date: 2025-10-02 15:10:42 Duration: 6s563ms Database: ctdprd51 User: pubeu Bind query: yes
-
select p.ancestor_object_id, p.descendant_object_id from DAG_PATH p where p.descendant_object_id in ( select go_term_id from GENE_GO_ANNOT gga where gga.taxon_id = ( select id from TERM where acc_txt = '9606' and object_type_id = ( select id from OBJECT_TYPE where cd = 'taxon')) AND gga.is_not = 'f') and p.ancestor_object_id NOT in ( SELECT c.id FROM TERM c WHERE c.acc_txt in ('ALL') AND c.object_type_id = ( select id from OBJECT_TYPE where cd = 'go'));
Date: 2025-10-01 07:57:14 Duration: 6s548ms Database: ctdprd51 User: pubeu Bind query: yes
-
select p.ancestor_object_id, p.descendant_object_id from DAG_PATH p where p.descendant_object_id in ( select go_term_id from GENE_GO_ANNOT gga where gga.taxon_id = ( select id from TERM where acc_txt = '9606' and object_type_id = ( select id from OBJECT_TYPE where cd = 'taxon')) AND gga.is_not = 'f') and p.ancestor_object_id NOT in ( SELECT c.id FROM TERM c WHERE c.acc_txt in ('ALL') AND c.object_type_id = ( select id from OBJECT_TYPE where cd = 'go'));
Date: 2025-10-01 14:12:55 Duration: 6s542ms Database: ctdprd51 User: qaeu Bind query: yes
15 5 45m54s 9m4s 9m23s 9m10s select maint_query_logs_archive ();Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 29 00 1 9m9s 9m9s Sep 30 00 1 9m4s 9m4s Oct 02 00 1 9m7s 9m7s Oct 03 00 1 9m23s 9m23s Oct 04 00 1 9m9s 9m9s [ User: pubc - Total duration: 45m54s - Times executed: 5 ]
[ Application: psql - Total duration: 45m54s - Times executed: 5 ]
-
/* * 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-10-03 00:09:25 Duration: 9m23s 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-09-29 00:09:12 Duration: 9m9s 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-10-04 00:09:11 Duration: 9m9s Database: ctdprd51 User: pubc Application: psql
16 5 4m2s 48s27ms 49s62ms 48s535ms 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 ?))) 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 #16
Day Hour Count Duration Avg duration Oct 03 03 5 4m2s 48s535ms [ User: pubeu - Total duration: 4m2s - Times executed: 5 ]
-
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 'IL6'))) 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-10-03 03:41:12 Duration: 49s62ms 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 = '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 'IL6'))) 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-10-03 03:45:50 Duration: 48s929ms 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 = '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 'IL6'))) 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-10-03 03:39:44 Duration: 48s602ms Database: ctdprd51 User: pubeu Bind query: yes
17 5 2m50s 5s95ms 2m20s 34s161ms select phenotypeterm.nm "GOName", phenotypeterm.acc_txt "GOID", diseaseterm.nm "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( select string_agg(distinct chemtermnetwork.nm, ?)) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( select string_agg(distinct genetermnetwork.nm, ?)) "InferenceGeneSymbols" from phenotype_term_reference ptr inner join phenotype_term pt on ptr.phenotype_id = pt.phenotype_id and ptr.term_id = pt.term_id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id inner join term diseaseterm on ptr.term_id = diseaseterm.id and diseaseterm.object_type_id = ( select id from object_type where cd = ?) left outer join term genetermnetwork on ptr.via_term_id = genetermnetwork.id and genetermnetwork.object_type_id = ( select id from object_type where cd = ?) left outer join term chemtermnetwork on ptr.via_term_id = chemtermnetwork.id and chemtermnetwork.object_type_id = ( select id from object_type where cd = ?) where phenotypeterm.id in ( select dp.descendant_dag_node_id from dag_path dp where dp.ancestor_object_id = ( select id from term where nm = ?)) and ptr.source_cd = ? and ptr.phenotype_id = phenotypeterm.id and ptr.term_id = diseaseterm.id group by phenotypeterm.nm, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 01 16 5 2m50s 34s161ms [ User: qaeu - Total duration: 2m32s - Times executed: 2 ]
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2025-10-01 16:32:04 Duration: 2m20s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'molecular_function')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2025-10-01 16:34:01 Duration: 12s935ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2025-10-01 16:32:17 Duration: 6s581ms Bind query: yes
18 5 1m1s 11s213ms 12s893ms 12s230ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 28 00 1 12s71ms 12s71ms Oct 04 22 4 49s78ms 12s269ms [ User: pubeu - Total duration: 36s178ms - Times executed: 3 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes 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 = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 350;
Date: 2025-10-04 22:52:27 Duration: 12s893ms 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 = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 100;
Date: 2025-10-04 22:52:59 Duration: 12s664ms 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 = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2025-10-04 22:52:38 Duration: 12s307ms Bind query: yes
19 5 55s414ms 8s6ms 19s605ms 11s82ms vacuum analyze pub1.term;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 01 03 2 19s391ms 9s695ms 09 2 27s687ms 13s843ms 10 1 8s336ms 8s336ms -
VACUUM ANALYZE pub1.TERM;
Date: 2025-10-01 09:38:51 Duration: 19s605ms Bind query: yes
-
VACUUM ANALYZE pub1.TERM;
Date: 2025-10-01 03:43:23 Duration: 11s384ms Bind query: yes
-
VACUUM ANALYZE pub1.TERM;
Date: 2025-10-01 10:34:19 Duration: 8s336ms Bind query: yes
20 5 41s51ms 7s979ms 8s585ms 8s210ms 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 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 limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 02 10 4 33s10ms 8s252ms Oct 03 11 1 8s40ms 8s40ms [ User: pubeu - Total duration: 24s605ms - Times executed: 3 ]
[ User: qaeu - Total duration: 8s378ms - Times executed: 1 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'DRUGS, CHINESE HERBAL')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-10-02 10:18:18 Duration: 8s585ms 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 'DRUGS, CHINESE HERBAL')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-10-02 10:18:56 Duration: 8s378ms Database: ctdprd51 User: qaeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'SODIUM ARSENITE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-10-02 10:21:28 Duration: 8s67ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2h8m48s 2h8m48s 2h8m48s 1 2h8m48s select pub1.maint_term_derive_data ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 01 12 1 2h8m48s 2h8m48s -
select pub1.maint_term_derive_data ();
Date: 2025-10-01 12:43:23 Duration: 2h8m48s Bind query: yes
2 49m4s 49m4s 49m4s 1 49m4s vacuum full analyze;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 01 10 1 49m4s 49m4s -
VACUUM FULL ANALYZE;
Date: 2025-10-01 10:34:11 Duration: 49m4s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2025-10-01 03:49:14 Duration: 0ms
3 37m9s 37m9s 37m9s 1 37m9s select pub1.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 01 13 1 37m9s 37m9s -
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2025-10-01 13:30:46 Duration: 37m9s Bind query: yes
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2025-10-01 13:26:11 Duration: 0ms
4 7m21s 1h40s 34m 2 1h8m1s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 01 03 1 1h40s 1h40s 09 1 7m21s 7m21s -
SELECT maint_term_derive_nm_fts ();
Date: 2025-10-01 03:43:12 Duration: 1h40s Bind query: yes
-
SELECT maint_term_derive_nm_fts ();
Date: 2025-10-01 09:38:32 Duration: 7m21s Bind query: yes
5 27m27s 27m27s 27m27s 1 27m27s < ? - 09 - 28 ? : ? : ?.? edt > debug: provider not available, disabling jit for current session 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 = ? < ? - 09 - 28 ? : ? : ?.? edt > debug: unexpected eof on client connection) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 28 09 1 27m27s 27m27s [ User: pubeu - Total duration: 27m27s - Times executed: 1 ]
-
< 2025 - 09 - 28 09:23:51.956 EDT > DEBUG: provider not available, disabling JIT for current session 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 = '2117986' < 2025 - 09 - 28 09:51:40.047 EDT > DEBUG: unexpected EOF on client connection) ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-09-28 09:51:19 Duration: 27m27s Database: ctdprd51 User: pubeu Bind query: yes
6 9m15s 9m15s 9m15s 1 9m15s select maint_query_logs_archive (); < ? - 09 - 28 ? : ? : ?.? edt > debug: building index "pg_toast_9308632_index" on table "pg_toast_9308632" serially < ? - 09 - 28 ? : ? : ?.? edt > debug: building index "ix_log_query_sess_id" on table "log_query" serially < ? - 09 - 28 ? : ? : ?.? edt > debug: index "ix_log_query_sess_id" can safely use deduplication < ? - 09 - 28 ? : ? : ?.? edt > debug: building index "ix_log_query_type_cd" on table "log_query" serially < ? - 09 - 28 ? : ? : ?.? edt > debug: index "ix_log_query_type_cd" can safely use deduplication < ? - 09 - 28 ? : ? : ?.? edt > debug: building index "log_query_pk" on table "log_query" serially < ? - 09 - 28 ? : ? : ?.? edt > debug: index "log_query_pk" can safely use deduplication;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 28 00 1 9m15s 9m15s -
/* * 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 (); < 2025 - 09 - 28 00:09:17.201 EDT > DEBUG: building index "pg_toast_9308632_index" on table "pg_toast_9308632" serially < 2025 - 09 - 28 00:09:17.204 EDT > DEBUG: building index "ix_log_query_sess_id" on table "log_query" serially < 2025 - 09 - 28 00:09:17.204 EDT > DEBUG: index "ix_log_query_sess_id" can safely use deduplication < 2025 - 09 - 28 00:09:17.205 EDT > DEBUG: building index "ix_log_query_type_cd" on table "log_query" serially < 2025 - 09 - 28 00:09:17.205 EDT > DEBUG: index "ix_log_query_type_cd" can safely use deduplication < 2025 - 09 - 28 00:09:17.206 EDT > DEBUG: building index "log_query_pk" on table "log_query" serially < 2025 - 09 - 28 00:09:17.206 EDT > DEBUG: index "log_query_pk" can safely use deduplication;
Date: 2025-09-28 00:09:17 Duration: 9m15s
7 9m4s 9m23s 9m10s 5 45m54s select maint_query_logs_archive ();Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 29 00 1 9m9s 9m9s Sep 30 00 1 9m4s 9m4s Oct 02 00 1 9m7s 9m7s Oct 03 00 1 9m23s 9m23s Oct 04 00 1 9m9s 9m9s [ User: pubc - Total duration: 45m54s - Times executed: 5 ]
[ Application: psql - Total duration: 45m54s - Times executed: 5 ]
-
/* * 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-10-03 00:09:25 Duration: 9m23s 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-09-29 00:09:12 Duration: 9m9s 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-10-04 00:09:11 Duration: 9m9s Database: ctdprd51 User: pubc Application: psql
8 9m4s 9m4s 9m4s 1 9m4s select pub1.maint_phenotype_term_derive_data ();Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 01 12 1 9m4s 9m4s -
select pub1.maint_phenotype_term_derive_data ();
Date: 2025-10-01 12:53:37 Duration: 9m4s Bind query: yes
9 5s101ms 35m44s 4m32s 8 36m21s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 01 15 8 36m21s 4m32s [ User: qaeu - Total duration: 35m44s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-10-01 15:20:38 Duration: 35m44s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-10-01 15:41:05 Duration: 5s451ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-10-01 15:34:17 Duration: 5s285ms Bind query: yes
10 2m36s 3m5s 2m51s 2 5m42s select maint_term_label_derive_nm_fts ();Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 01 03 1 2m36s 2m36s 09 1 3m5s 3m5s -
SELECT maint_term_label_derive_nm_fts ();
Date: 2025-10-01 09:41:57 Duration: 3m5s Bind query: yes
-
SELECT maint_term_label_derive_nm_fts ();
Date: 2025-10-01 03:46:00 Duration: 2m36s Bind query: yes
11 2m18s 2m18s 2m18s 1 2m18s select chemterm.nm chemicalname, chemterm.acc_txt chemicalid, chemterm.secondary_nm casrn, phenoterm.nm phenotypename, phenoterm.acc_txt phenotypeid, ( select string_agg(distinct comentionterm.nm || ? || comentionterm.acc_txt || ? || comentionterm.acc_db_cd, ?)) as comentionedterms, taxonterm.nm organism, taxonterm.acc_txt organismid, i.ixn_prose_txt interaction, i.actions_txt interactionactions, ( select string_agg(distinct ia.level_seq + ? || ? || anatomyterm.nm || ? || anatomyterm.acc_txt, ? order by ia.level_seq + ? || ? || anatomyterm.nm || ? || anatomyterm.acc_txt)) as anatomyterms, string_agg(distinct inferredterm.nm || ? || inferredterm.acc_txt || ? || inferredterm.acc_db_cd, ? order by inferredterm.nm || ? || inferredterm.acc_txt || ? || inferredterm.acc_db_cd) inferencegenesymbols, string_agg(distinct r.acc_txt, ? order by r.acc_txt) pubmedids, ptr.ixn_id ignorecolumnixnid from phenotype_term_reference ptr left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join ixn i on ptr.ixn_id = i.id inner join term phenoterm on ptr.phenotype_id = phenoterm.id inner join reference r on ptr.reference_id = r.id inner join term chemterm on ptr.term_id = chemterm.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id left outer join phenotype_term_reference ptr2 on ptr.ixn_id = ptr2.ixn_id and (ptr.term_id <> ptr2.term_id or ptr.phenotype_id <> ptr2.phenotype_id) left outer join phenotype_term_reference ptr3 on ptr.term_id = ptr3.term_id and (ptr.phenotype_id = ptr3.phenotype_id and ptr3.source_cd = ?) left outer join term comentionterm on comentionterm.id = ptr2.term_id left outer join term inferredterm on inferredterm.id = ptr3.via_term_id where ptr.source_cd = ? and ptr.term_object_type_id = ( select ot.id from object_type ot where ot.cd = ?) group by chemterm.nm, chemterm.acc_txt, chemterm.secondary_nm, phenoterm.nm, phenoterm.acc_txt, taxonterm.nm, taxonterm.acc_txt, i.ixn_prose_txt, i.actions_txt, ptr.ixn_id order by chemterm.nm, phenoterm.nm;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 01 16 1 2m18s 2m18s [ User: qaeu - Total duration: 2m18s - Times executed: 1 ]
-
SELECT /* AllCuratedChemPhenoIxnsDAO */ chemTerm.nm ChemicalName, chemTerm.acc_txt ChemicalID, chemTerm.secondary_nm CasRN, phenoTerm.nm PhenotypeName, phenoTerm.acc_txt PhenotypeID, ( SELECT STRING_AGG(distinct coMentionTerm.nm || '^' || coMentionTerm.acc_txt || '^' || coMentionTerm.acc_db_cd, '|')) as coMentionedTerms, taxonTerm.nm Organism, taxonTerm.acc_txt OrganismID, i.ixn_prose_txt Interaction, i.actions_txt InteractionActions, ( SELECT STRING_AGG(distinct ia.level_seq + 1 || '^' || anatomyTerm.nm || '^' || anatomyTerm.acc_txt, '|' ORDER BY ia.level_seq + 1 || '^' || anatomyTerm.nm || '^' || anatomyTerm.acc_txt)) as anatomyTerms, STRING_AGG(distinct inferredTerm.nm || '^' || inferredTerm.acc_txt || '^' || inferredTerm.acc_db_cd, '|' ORDER BY inferredTerm.nm || '^' || inferredTerm.acc_txt || '^' || inferredTerm.acc_db_cd) InferenceGeneSymbols, STRING_AGG(distinct r.acc_txt, '|' ORDER BY r.acc_txt) PubMedIDs, ptr.ixn_id ignorecolumnIxnId FROM phenotype_term_reference ptr LEFT OUTER JOIN term taxonTerm ON ptr.taxon_id = taxonTerm.id INNER JOIN ixn i ON ptr.ixn_id = i.id INNER JOIN term phenoTerm ON ptr.phenotype_id = phenoTerm.id INNER JOIN reference r ON ptr.reference_id = r.id INNER JOIN term chemTerm ON ptr.term_id = chemTerm.id LEFT OUTER JOIN ixn_anatomy ia ON ptr.ixn_id = ia.ixn_id LEFT OUTER JOIN term anatomyTerm ON ia.anatomy_id = anatomyTerm.id LEFT OUTER JOIN phenotype_term_reference ptr2 ON ptr.ixn_id = ptr2.ixn_id and (ptr.term_id <> ptr2.term_id or ptr.phenotype_id <> ptr2.phenotype_id) LEFT OUTER JOIN phenotype_term_reference ptr3 ON ptr.term_id = ptr3.term_id and (ptr.phenotype_id = ptr3.phenotype_id and ptr3.source_cd = 'I') LEFT OUTER JOIN term coMentionTerm ON coMentionTerm.id = ptr2.term_id LEFT OUTER JOIN term inferredTerm ON inferredTerm.id = ptr3.via_term_id WHERE ptr.source_cd = 'C' AND ptr.term_object_type_id = ( SELECT ot.id FROM object_type ot WHERE ot.cd = 'chem') GROUP BY chemTerm.nm, chemTerm.acc_txt, chemTerm.secondary_nm, phenoTerm.nm, phenoTerm.acc_txt, taxonTerm.nm, taxonTerm.acc_txt, i.ixn_prose_txt, i.actions_txt, ptr.ixn_id ORDER BY chemTerm.nm, phenoTerm.nm;
Date: 2025-10-01 16:29:02 Duration: 2m18s Database: ctdprd51 User: qaeu Bind query: yes
12 1m 1m5s 1m2s 2 2m5s cluster pub1.term;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 01 03 1 1m5s 1m5s 09 1 1m 1m -
CLUSTER pub1.TERM;
Date: 2025-10-01 03:48:32 Duration: 1m5s Bind query: yes
-
CLUSTER pub1.TERM;
Date: 2025-10-01 09:44:27 Duration: 1m Bind query: yes
-
CLUSTER pub1.TERM;
Date: 2025-10-01 03:47:38 Duration: 0ms
13 47s750ms 1m24s 58s658ms 4 3m54s 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 g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 02 10 4 3m54s 58s658ms [ User: pubeu - Total duration: 3m5s - Times executed: 3 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes 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 = '2117399') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-10-02 10:24:48 Duration: 1m24s 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 = '2117399') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-10-02 10:24:08 Duration: 52s352ms 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 = '2117399') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-10-02 10:24:07 Duration: 49s626ms Bind query: yes
14 8s856ms 1m2s 49s203ms 9 7m22s 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 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 limit ? offset ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 28 06 9 7m22s 49s203ms [ User: pubeu - Total duration: 6m56s - Times executed: 7 ]
-
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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:28 Duration: 1m2s 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:29 Duration: 1m1s 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:28 Duration: 1m Database: ctdprd51 User: pubeu Bind query: yes
15 48s27ms 49s62ms 48s535ms 5 4m2s 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 ?))) 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 Oct 03 03 5 4m2s 48s535ms [ User: pubeu - Total duration: 4m2s - Times executed: 5 ]
-
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 'IL6'))) 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-10-03 03:41:12 Duration: 49s62ms 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 = '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 'IL6'))) 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-10-03 03:45:50 Duration: 48s929ms 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 = '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 'IL6'))) 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-10-03 03:39:44 Duration: 48s602ms Database: ctdprd51 User: pubeu Bind query: yes
16 8s644ms 1m1s 40s259ms 10 6m42s < ? - 09 - 28 ? : ? : ?.? edt > debug: provider not available, disabling jit for current session 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 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 limit ? offset ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 28 06 10 6m42s 40s259ms [ User: pubeu - Total duration: 6m42s - Times executed: 10 ]
-
< 2025 - 09 - 28 06:10:28.435 EDT > DEBUG: provider not available, disabling JIT for current session 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:30 Duration: 1m1s Database: ctdprd51 User: pubeu Bind query: yes
-
< 2025 - 09 - 28 06:10:30.572 EDT > DEBUG: provider not available, disabling JIT for current session 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:31 Duration: 1m Database: ctdprd51 User: pubeu Bind query: yes
-
< 2025 - 09 - 28 06:10:27.647 EDT > DEBUG: provider not available, disabling JIT for current session 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 'TOLUENE')) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases', 'decreases', 'affects')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 400;
Date: 2025-09-28 06:11:27 Duration: 59s445ms Database: ctdprd51 User: pubeu Bind query: yes
17 5s95ms 2m20s 34s161ms 5 2m50s select phenotypeterm.nm "GOName", phenotypeterm.acc_txt "GOID", diseaseterm.nm "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( select string_agg(distinct chemtermnetwork.nm, ?)) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( select string_agg(distinct genetermnetwork.nm, ?)) "InferenceGeneSymbols" from phenotype_term_reference ptr inner join phenotype_term pt on ptr.phenotype_id = pt.phenotype_id and ptr.term_id = pt.term_id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id inner join term diseaseterm on ptr.term_id = diseaseterm.id and diseaseterm.object_type_id = ( select id from object_type where cd = ?) left outer join term genetermnetwork on ptr.via_term_id = genetermnetwork.id and genetermnetwork.object_type_id = ( select id from object_type where cd = ?) left outer join term chemtermnetwork on ptr.via_term_id = chemtermnetwork.id and chemtermnetwork.object_type_id = ( select id from object_type where cd = ?) where phenotypeterm.id in ( select dp.descendant_dag_node_id from dag_path dp where dp.ancestor_object_id = ( select id from term where nm = ?)) and ptr.source_cd = ? and ptr.phenotype_id = phenotypeterm.id and ptr.term_id = diseaseterm.id group by phenotypeterm.nm, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 01 16 5 2m50s 34s161ms [ User: qaeu - Total duration: 2m32s - Times executed: 2 ]
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2025-10-01 16:32:04 Duration: 2m20s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'molecular_function')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2025-10-01 16:34:01 Duration: 12s935ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* PhenotypeDiseasesDAO */ phenotypeTerm.nm "GOName", phenotypeTerm.acc_txt "GOID", diseaseTerm.nm "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", pt.via_chem_qty "InferenceChemicalQty", ( SELECT STRING_AGG(DISTINCT chemTermNetwork.nm, '|')) "InferenceChemicalNames", pt.via_gene_qty "InferenceGeneQty", ( SELECT STRING_AGG(DISTINCT geneTermNetwork.nm, '|')) "InferenceGeneSymbols" FROM phenotype_term_reference ptr INNER JOIN phenotype_term pt on ptr.phenotype_id = pt.phenotype_id AND ptr.term_id = pt.term_id INNER JOIN term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id INNER JOIN term diseaseTerm on ptr.term_id = diseaseTerm.id AND diseaseTerm.object_type_id = ( select id from object_type where cd = 'disease') LEFT OUTER JOIN term geneTermNetwork on ptr.via_term_id = geneTermNetwork.id AND geneTermNetwork.object_type_id = ( select id from object_type where cd = 'gene') LEFT OUTER JOIN term chemTermNetwork on ptr.via_term_id = chemTermNetwork.id AND chemTermNetwork.object_type_id = ( select id from object_type where cd = 'chem') WHERE phenotypeTerm.id IN ( SELECT dp.descendant_dag_node_id FROM dag_path dp WHERE dp.ancestor_object_id = ( select id from term where nm = 'biological_process')) AND ptr.source_cd = 'I' AND ptr.phenotype_id = phenotypeTerm.id AND ptr.term_id = diseaseTerm.id GROUP BY phenotypeTerm.nm, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt, pt.via_chem_qty, pt.via_gene_qty;
Date: 2025-10-01 16:32:17 Duration: 6s581ms Bind query: yes
18 13s435ms 39s166ms 25s757ms 4 1m43s < ? - 09 - 28 ? : ? : ?.? edt > debug: provider not available, disabling jit for current session 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 #18
Day Hour Count Duration Avg duration Sep 28 00 2 1m15s 37s861ms 07 2 27s304ms 13s652ms [ User: pubeu - Total duration: 1m43s - Times executed: 4 ]
-
< 2025 - 09 - 28 00:40:02.391 EDT > DEBUG: provider not available, disabling JIT for current session 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 = '2117986') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-09-28 00:40:41 Duration: 39s166ms Database: ctdprd51 User: pubeu Bind query: yes
-
< 2025 - 09 - 28 00:36:40.239 EDT > DEBUG: provider not available, disabling JIT for current session 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 = '2117986') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-09-28 00:38:41 Duration: 36s557ms Database: ctdprd51 User: pubeu Bind query: yes
-
< 2025 - 09 - 28 07:15:53.017 EDT > DEBUG: provider not available, disabling JIT for current session 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 = '2112616') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-09-28 07:16:06 Duration: 13s868ms Database: ctdprd51 User: pubeu Bind query: yes
19 5s463ms 46s631ms 22s28ms 29 10m38s 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 #19
Day Hour Count Duration Avg duration Sep 28 00 1 37s759ms 37s759ms 09 2 1m12s 36s173ms 20 2 25s559ms 12s779ms 22 2 33s664ms 16s832ms 23 1 12s180ms 12s180ms Sep 29 02 3 36s944ms 12s314ms 03 1 12s300ms 12s300ms Oct 02 06 2 15s363ms 7s681ms 08 4 50s579ms 12s644ms Oct 03 01 1 5s463ms 5s463ms Oct 04 22 10 5m36s 33s665ms [ User: pubeu - Total duration: 9m10s - Times executed: 26 ]
-
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 = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-10-04 22:54:10 Duration: 46s631ms 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 = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-10-04 22:35:27 Duration: 39s208ms 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 = '2120701') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-10-04 22:26:23 Duration: 38s773ms Bind query: yes
20 9s470ms 13s445ms 12s239ms 6 1m13s 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 #20
Day Hour Count Duration Avg duration Oct 02 15 1 13s382ms 13s382ms Oct 03 10 5 1m 12s11ms [ User: editeu - Total duration: 1m1s - Times executed: 5 ]
-
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-10-03 10:00:42 Duration: 13s445ms 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-10-02 15:14:23 Duration: 13s382ms 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-10-03 10:07:11 Duration: 12s617ms Database: ctdprd51 User: editeu 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 1 0ms 80 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Sep 27 22 3 0ms 0ms Sep 28 00 9 0ms 0ms 05 8 0ms 0ms 06 36 0ms 0ms 07 8 0ms 0ms 09 14 0ms 0ms 10 2 0ms 0ms [ User: pubeu - Total duration: 1h32m58s - Times executed: 78 ]
[ User: qaeu - Total duration: 10s850ms - Times executed: 2 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '2112616'
-
Events
Log levels
Key values
- 61,546 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 1 PANIC entries
- 367 FATAL entries
- 2 ERROR entries
- 3265 WARNING entries
- 44 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 2,084 Max number of times the same event was reported
- 3,679 Total events found
Rank Times reported Error 1 2,084 WARNING: skipping "..." --- only table or database owner can vacuum it
Times Reported Most Frequent Error / Event #1
Day Hour Count Oct 01 03 1,042 09 1,042 2 639 WARNING: archiving write-ahead log file "..." failed too many times, will try again later
Times Reported Most Frequent Error / Event #2
Day Hour Count Oct 01 03 422 04 58 05 58 06 58 07 43 3 448 WARNING: skipping "..." --- only superuser or database owner can vacuum it
Times Reported Most Frequent Error / Event #3
Day Hour Count Oct 01 03 224 09 224 4 263 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #4
Day Hour Count Oct 01 07 263 5 86 WARNING: skipping "..." --- only superuser can vacuum it
Times Reported Most Frequent Error / Event #5
Day Hour Count Oct 01 03 43 09 43 6 52 FATAL: the database system is in recovery mode
Times Reported Most Frequent Error / Event #6
Day Hour Count Oct 01 03 52 7 42 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #7
Day Hour Count Oct 01 07 42 8 25 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #8
Day Hour Count Oct 01 14 17 16 8 9 8 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #9
Day Hour Count Oct 01 19 3 20 2 Oct 03 18 2 19 1 10 8 WARNING: there is no transaction in progress
Times Reported Most Frequent Error / Event #10
Day Hour Count Oct 01 03 2 09 2 12 4 11 6 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #11
Day Hour Count Sep 28 00 2 01 2 02 1 Oct 04 22 1 12 4 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #12
Day Hour Count Oct 02 10 1 Oct 04 22 3 - FATAL: connection to client lost
- 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
Date: 2025-10-04 22:32:19
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-10-04 22:32:19
13 3 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #13
Day Hour Count Oct 04 22 3 - LOG: could not send data to client: Connection reset by peer
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-10-04 22:32:19 Database: ctdprd51 Application: User: pubeu Remote:
14 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #14
Day Hour Count Oct 01 13 1 - ERROR: relation "pubx.db_link" does not exist at character 220
Statement: select min( to_char ( create_tm, 'yyyymmdd' ) ), max(to_char ( create_tm, 'yyyymmdd' ))--reference_acc_txt, create_by, create_tm, sent_tm from reference_contact where reference_acc_txt in ( select acc_txt from pubX.db_link l where object_type_id = ( select id from object_type where cd = 'reference' ) AND l.type_cd = 'A' AND l.is_primary = true AND (SELECT r.has_ixns OR r.has_diseases or r.has_exposures -- !! CHANGE PUB SCHEMA QUALIFIER TO LIVE/QA SCHEMA !! FROM pubX.reference r WHERE r.id = l.object_id) ) and sent_tm is null
Date: 2025-10-01 13:43:29 Database: ctdprd51 Application: pgAdmin 4 - CONN:2092772 User: edit Remote:
15 1 LOG: could not receive data from client: Connection reset by peer < 2025-09-28 07:46:50.875 EDT >DEBUG: unexpected EOF on client connection
Times Reported Most Frequent Error / Event #15
Day Hour Count Sep 28 07 1 16 1 LOG: database system was interrupted; last known up at ...
Times Reported Most Frequent Error / Event #16
Day Hour Count Oct 01 03 1 17 1 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #17
Day Hour Count Oct 02 10 1 - ERROR: canceling statement due to user request
Statement: SELECT pg_database_size(datname::text) FROM pg_catalog.pg_database WHERE datistemplate = false AND datname = $1;
Date: 2025-10-02 10:24:07
18 1 LOG: server process (...) was terminated by signal 6: Aborted
Times Reported Most Frequent Error / Event #18
Day Hour Count Oct 01 03 1 - LOG: server process (PID 3502027) was terminated by signal 6: Aborted
Detail: Failed process was running: VACUUM FULL ANALYZE
Date: 2025-10-01 03:54:26
19 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #19
Day Hour Count Oct 01 07 1 20 1 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #20
Day Hour Count Oct 02 10 1 21 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #21
Day Hour Count Oct 04 22 1 22 1 PANIC: could not fsync file "...": No space left on device
Times Reported Most Frequent Error / Event #22
Day Hour Count Oct 01 03 1 - PANIC: could not fsync file "pg_wal/xlogtemp.3502027": No space left on device
Statement: VACUUM FULL ANALYZE
Date: 2025-10-01 03:54:25
23 1 LOG: database system was not properly shut down; automatic recovery in progress
Times Reported Most Frequent Error / Event #23
Day Hour Count Oct 01 03 1 24 1 LOG: could not receive data from client: Connection reset by peer < 2025-09-28 09:54:20.126 EDT >DEBUG: unexpected EOF on client connection
Times Reported Most Frequent Error / Event #24
Day Hour Count Sep 28 09 1