-
Global information
- Generated on Sun Aug 24 04:15:08 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250823
- Parsed 180,895 log entries in 7s
- Log start from 2025-08-17 00:00:01 to 2025-08-23 23:59:46
-
Overview
Global Stats
- 51 Number of unique normalized queries
- 758 Number of queries
- 3h7m25s Total query duration
- 2025-08-17 00:01:53 First query
- 2025-08-23 23:03:01 Last query
- 2 queries/s at 2025-08-21 02:36:00 Query peak
- 3h7m25s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 3h7m25s Execute total duration
- 32 Number of events
- 8 Number of unique normalized events
- 12 Max number of times the same event was reported
- 0 Number of cancellation
- 46 Total number of automatic vacuums
- 167 Total number of automatic analyzes
- 130 Number temporary file
- 170.26 MiB Max size of temporary file
- 79.36 MiB Average size of temporary file
- 14,329 Total number of sessions
- 57 sessions at 2025-08-18 22:01:20 Session peak
- 284d2h32m12s Total duration of sessions
- 28m33s Average duration of sessions
- 0 Average queries per session
- 784ms Average queries duration per session
- 28m32s Average idle time per session
- 14,331 Total number of connections
- 13 connections/s at 2025-08-18 06:33:39 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2025-08-21 02:36:00 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2025-08-21 02:36:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 0 queries/s Query Peak
- Date
Queries duration
Key values
- 3h7m25s 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) Aug 17 00 8 0ms 8m58s 1m14s 6s836ms 27s773ms 9m5s 01 3 0ms 7s190ms 6s431ms 0ms 7s72ms 12s221ms 02 2 0ms 7s231ms 7s165ms 0ms 0ms 7s231ms 03 3 0ms 7s191ms 6s459ms 0ms 0ms 12s186ms 04 2 0ms 7s162ms 7s114ms 0ms 7s66ms 7s162ms 05 7 0ms 7s346ms 6s839ms 5s2ms 7s55ms 14s450ms 06 2 0ms 7s285ms 7s237ms 0ms 0ms 7s285ms 07 2 0ms 7s228ms 7s156ms 0ms 0ms 7s228ms 08 14 0ms 35s489ms 16s605ms 16s862ms 34s690ms 51s973ms 09 2 0ms 7s194ms 7s135ms 0ms 7s77ms 7s194ms 10 2 0ms 7s77ms 7s8ms 0ms 0ms 14s17ms 11 3 0ms 6s982ms 6s303ms 0ms 6s982ms 11s928ms 12 4 0ms 7s549ms 6s344ms 0ms 5s356ms 14s998ms 13 2 0ms 7s54ms 7s38ms 0ms 7s22ms 7s54ms 14 4 0ms 20s747ms 10s161ms 5s731ms 7s92ms 20s747ms 15 10 0ms 34s826ms 14s242ms 20s557ms 20s746ms 34s826ms 16 10 0ms 21s70ms 16s498ms 20s747ms 20s837ms 21s70ms 17 22 0ms 36s15ms 13s351ms 36s896ms 48s519ms 1m7s 18 2 0ms 6s955ms 6s947ms 0ms 0ms 13s894ms 19 3 0ms 7s160ms 6s431ms 0ms 0ms 12s134ms 20 3 0ms 7s179ms 6s595ms 0ms 6s969ms 7s179ms 21 2 0ms 7s182ms 7s151ms 0ms 7s121ms 7s182ms 22 3 0ms 7s158ms 6s390ms 0ms 6s971ms 7s158ms 23 3 0ms 20s951ms 11s683ms 0ms 7s100ms 20s951ms Aug 18 00 7 0ms 9m4s 1m29s 20s922ms 20s995ms 9m10s 01 11 0ms 21s77ms 9s788ms 12s216ms 12s527ms 26s201ms 02 20 0ms 12s570ms 9s192ms 12s389ms 12s496ms 49s968ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 11 0ms 7s247ms 6s516ms 5s102ms 19s227ms 33s93ms 06 2 0ms 7s145ms 7s89ms 0ms 0ms 7s145ms 07 3 0ms 7s251ms 6s444ms 0ms 5s20ms 7s251ms 08 3 0ms 7s376ms 7s150ms 0ms 6s980ms 7s376ms 09 2 0ms 7s54ms 7s40ms 0ms 7s26ms 7s54ms 10 7 0ms 35s87ms 15s663ms 7s57ms 21s104ms 35s87ms 11 3 0ms 7s363ms 6s969ms 0ms 6s530ms 14s377ms 12 9 0ms 12s571ms 8s185ms 12s180ms 18s73ms 18s109ms 13 3 0ms 7s124ms 6s627ms 0ms 7s108ms 7s124ms 14 5 0ms 7s190ms 6s203ms 5s839ms 7s48ms 12s270ms 15 5 0ms 7s558ms 6s989ms 7s50ms 7s474ms 7s558ms 16 3 0ms 7s316ms 6s535ms 0ms 7s258ms 12s346ms 17 2 0ms 7s523ms 7s260ms 0ms 6s996ms 7s523ms 18 3 0ms 7s131ms 6s426ms 0ms 7s131ms 12s149ms 19 3 0ms 7s169ms 6s451ms 0ms 7s7ms 12s348ms 20 3 0ms 7s54ms 6s363ms 0ms 7s54ms 12s36ms 21 3 0ms 7s69ms 6s416ms 0ms 7s69ms 12s178ms 22 6 0ms 7s105ms 6s13ms 5s407ms 5s751ms 14s198ms 23 7 0ms 19s277ms 8s348ms 7s191ms 19s277ms 19s892ms Aug 19 00 6 0ms 9m4s 1m36s 5s703ms 12s155ms 9m11s 01 5 0ms 7s116ms 6s124ms 5s679ms 6s912ms 12s285ms 02 6 0ms 8s389ms 7s427ms 7s183ms 7s570ms 8s389ms 03 6 0ms 7s414ms 6s966ms 6s497ms 7s119ms 7s414ms 04 4 0ms 10s492ms 7s508ms 0ms 7s93ms 12s448ms 05 6 0ms 7s281ms 7s76ms 0ms 6s945ms 14s319ms 06 2 0ms 7s232ms 7s175ms 0ms 0ms 7s232ms 07 2 0ms 7s162ms 7s95ms 0ms 0ms 7s162ms 08 2 0ms 7s54ms 7s4ms 0ms 0ms 7s54ms 09 2 0ms 7s21ms 6s974ms 0ms 0ms 7s21ms 10 3 0ms 7s310ms 6s479ms 0ms 5s182ms 7s310ms 11 3 0ms 7s174ms 6s379ms 0ms 0ms 12s226ms 12 2 0ms 7s232ms 7s172ms 0ms 0ms 14s345ms 13 3 0ms 7s686ms 6s618ms 0ms 0ms 12s764ms 14 3 0ms 8s276ms 6s827ms 0ms 0ms 15s424ms 15 2 0ms 7s174ms 6s834ms 0ms 0ms 7s174ms 16 3 0ms 7s464ms 6s758ms 0ms 7s409ms 12s865ms 17 5 0ms 8s25ms 6s572ms 0ms 5s858ms 15s472ms 18 3 0ms 7s542ms 6s628ms 0ms 0ms 14s562ms 19 3 0ms 7s101ms 6s421ms 0ms 5s165ms 14s99ms 20 3 0ms 7s766ms 6s885ms 0ms 7s766ms 12s888ms 21 9 0ms 7s216ms 5s868ms 0ms 19s361ms 27s860ms 22 4 0ms 7s899ms 6s540ms 0ms 5s684ms 15s209ms 23 3 0ms 7s372ms 6s578ms 0ms 7s229ms 12s506ms Aug 20 00 4 0ms 9m21s 2m25s 0ms 0ms 9m28s 01 5 0ms 7s269ms 5s946ms 5s83ms 7s69ms 12s456ms 02 3 0ms 7s650ms 6s658ms 0ms 7s650ms 12s326ms 03 14 0ms 14s512ms 6s825ms 5s529ms 16s858ms 28s380ms 04 6 0ms 7s778ms 6s223ms 5s53ms 11s347ms 14s785ms 05 10 0ms 7s456ms 6s476ms 6s515ms 12s276ms 14s525ms 06 2 0ms 7s572ms 6s369ms 0ms 0ms 7s572ms 07 3 0ms 7s794ms 6s451ms 0ms 5s120ms 7s794ms 08 4 0ms 10s361ms 7s550ms 0ms 10s361ms 14s759ms 09 5 0ms 7s373ms 6s42ms 5s67ms 7s373ms 10s475ms 10 5 0ms 7s678ms 7s492ms 0ms 14s658ms 15s125ms 11 11 0ms 7s751ms 6s267ms 5s645ms 13s26ms 14s958ms 12 3 0ms 7s481ms 6s619ms 0ms 0ms 14s725ms 13 2 0ms 7s513ms 7s335ms 0ms 0ms 7s513ms 14 2 0ms 7s678ms 7s603ms 0ms 0ms 7s678ms 15 2 0ms 7s702ms 6s396ms 0ms 0ms 12s793ms 16 3 0ms 7s193ms 6s480ms 0ms 0ms 12s340ms 17 3 0ms 7s164ms 6s499ms 0ms 0ms 12s482ms 18 3 0ms 7s573ms 6s674ms 0ms 0ms 12s698ms 19 3 0ms 7s454ms 6s713ms 0ms 7s454ms 12s686ms 20 6 0ms 15s959ms 9s436ms 5s392ms 14s138ms 15s959ms 21 2 0ms 7s344ms 7s164ms 0ms 6s983ms 7s344ms 22 2 0ms 7s390ms 7s153ms 0ms 6s916ms 7s390ms 23 4 0ms 7s205ms 6s619ms 0ms 7s202ms 12s263ms Aug 21 00 5 0ms 9m16s 1m56s 0ms 7s760ms 9m22s 01 3 0ms 7s673ms 7s289ms 0ms 7s147ms 7s673ms 02 14 0ms 11s570ms 6s513ms 7s225ms 12s255ms 32s760ms 03 5 0ms 29s28ms 10s892ms 6s246ms 12s177ms 29s28ms 04 2 0ms 7s377ms 7s186ms 0ms 6s996ms 7s377ms 05 9 0ms 7s557ms 7s7ms 7s228ms 7s557ms 14s238ms 06 1 0ms 7s122ms 7s122ms 0ms 0ms 7s122ms 07 7 0ms 18s586ms 10s904ms 0ms 7s124ms 48s415ms 08 3 0ms 7s185ms 6s730ms 0ms 5s902ms 7s185ms 09 4 0ms 7s257ms 6s343ms 5s115ms 7s128ms 7s257ms 10 3 0ms 7s201ms 7s51ms 0ms 6s818ms 7s201ms 11 2 0ms 7s449ms 7s201ms 0ms 0ms 7s449ms 12 3 0ms 8s513ms 7s592ms 0ms 7s271ms 8s513ms 13 7 0ms 1m50s 38s358ms 7s142ms 12s538ms 2m3s 14 2 0ms 7s253ms 7s149ms 0ms 0ms 7s253ms 15 2 0ms 7s112ms 7s60ms 0ms 0ms 14s121ms 16 3 0ms 7s123ms 6s386ms 0ms 0ms 12s35ms 17 2 0ms 7s146ms 7s129ms 0ms 0ms 7s146ms 18 2 0ms 7s109ms 7s29ms 0ms 6s949ms 7s109ms 19 2 0ms 7s136ms 7s134ms 0ms 0ms 7s136ms 20 6 0ms 20s859ms 9s739ms 7s145ms 12s566ms 20s859ms 21 3 0ms 7s199ms 6s409ms 0ms 0ms 12s29ms 22 2 0ms 7s180ms 7s81ms 0ms 0ms 7s180ms 23 3 0ms 6s977ms 6s582ms 0ms 6s905ms 6s977ms Aug 22 00 4 0ms 9m2s 2m20s 0ms 14s108ms 9m8s 01 2 0ms 7s184ms 7s91ms 0ms 0ms 14s183ms 02 4 0ms 18s142ms 12s604ms 6s931ms 18s139ms 18s142ms 03 2 0ms 7s150ms 7s74ms 0ms 6s998ms 7s150ms 04 2 0ms 7s160ms 7s50ms 0ms 0ms 14s100ms 05 7 0ms 7s73ms 6s762ms 0ms 12s127ms 14s104ms 06 2 0ms 7s154ms 7s111ms 0ms 0ms 7s154ms 07 3 0ms 7s447ms 6s612ms 0ms 0ms 12s485ms 08 3 0ms 7s15ms 6s352ms 0ms 0ms 19s57ms 09 4 0ms 7s21ms 6s130ms 0ms 5s520ms 11s978ms 10 4 0ms 7s60ms 6s362ms 0ms 7s60ms 11s389ms 11 3 0ms 28s4ms 14s61ms 0ms 7s169ms 28s4ms 12 3 0ms 7s167ms 6s450ms 0ms 0ms 12s184ms 13 11 0ms 20s658ms 8s572ms 7s117ms 12s528ms 33s19ms 14 11 0ms 20s704ms 11s690ms 12s392ms 20s688ms 32s994ms 15 13 0ms 20s784ms 12s960ms 12s363ms 20s784ms 38s560ms 16 7 0ms 22s52ms 12s511ms 7s113ms 19s868ms 22s52ms 17 2 0ms 7s86ms 7s2ms 0ms 0ms 14s4ms 18 3 0ms 7s429ms 6s656ms 0ms 7s429ms 12s538ms 19 3 0ms 7s200ms 6s412ms 0ms 0ms 12s35ms 20 2 0ms 7s177ms 7s150ms 0ms 0ms 7s177ms 21 2 0ms 7s305ms 7s227ms 0ms 7s148ms 7s305ms 22 3 0ms 10s400ms 8s197ms 0ms 7s76ms 10s400ms 23 2 0ms 7s149ms 7s104ms 0ms 7s60ms 7s149ms Aug 23 00 7 0ms 9m3s 1m24s 6s916ms 17s283ms 9m10s 01 3 0ms 7s220ms 6s975ms 0ms 6s618ms 14s309ms 02 2 0ms 7s214ms 7s164ms 0ms 0ms 14s329ms 03 2 0ms 7s180ms 7s123ms 0ms 7s66ms 7s180ms 04 2 0ms 7s89ms 7s88ms 0ms 0ms 14s177ms 05 8 0ms 7s177ms 6s549ms 5s41ms 14s19ms 19s326ms 06 2 0ms 6s986ms 6s980ms 0ms 6s973ms 6s986ms 07 2 0ms 7s163ms 7s138ms 0ms 7s113ms 7s163ms 08 2 0ms 7s26ms 6s978ms 0ms 6s930ms 7s26ms 09 22 0ms 4m27s 35s299ms 38s303ms 1m12s 4m27s 10 39 0ms 5m6s 17s814ms 31s696ms 37s273ms 5m6s 11 3 0ms 7s160ms 6s935ms 0ms 6s681ms 14s125ms 12 2 0ms 7s49ms 7s35ms 0ms 0ms 7s49ms 13 2 0ms 7s66ms 7s55ms 0ms 0ms 7s66ms 14 5 0ms 24s797ms 14s190ms 0ms 7s230ms 56s700ms 15 2 0ms 7s82ms 7s74ms 0ms 0ms 14s148ms 16 2 0ms 6s986ms 6s960ms 0ms 0ms 13s921ms 17 3 0ms 7s224ms 6s496ms 0ms 7s191ms 12s298ms 18 2 0ms 7s131ms 7s78ms 0ms 7s25ms 7s131ms 19 3 0ms 7s99ms 6s403ms 0ms 7s75ms 12s134ms 20 3 0ms 7s125ms 6s411ms 0ms 7s125ms 12s107ms 21 3 0ms 7s163ms 6s406ms 0ms 7s163ms 12s56ms 22 2 0ms 7s122ms 7s115ms 0ms 7s108ms 7s122ms 23 2 0ms 7s159ms 7s147ms 0ms 7s136ms 7s159ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 17 00 7 0 1m24s 0ms 6s836ms 8m58s 01 3 0 6s431ms 0ms 0ms 12s221ms 02 2 0 7s165ms 0ms 0ms 7s231ms 03 3 0 6s459ms 0ms 0ms 12s186ms 04 2 0 7s114ms 0ms 0ms 7s162ms 05 7 0 6s839ms 0ms 5s2ms 14s450ms 06 2 0 7s237ms 0ms 0ms 7s285ms 07 2 0 7s156ms 0ms 0ms 7s228ms 08 14 0 16s605ms 0ms 16s862ms 35s489ms 09 2 0 7s135ms 0ms 0ms 7s194ms 10 2 0 7s8ms 0ms 0ms 14s17ms 11 3 0 6s303ms 0ms 0ms 11s928ms 12 4 0 6s344ms 0ms 0ms 14s998ms 13 2 0 7s38ms 0ms 0ms 7s54ms 14 4 0 10s161ms 0ms 5s731ms 20s747ms 15 10 0 14s242ms 0ms 20s557ms 34s826ms 16 10 0 16s498ms 7s245ms 20s747ms 21s70ms 17 22 0 13s351ms 5s883ms 36s896ms 1m7s 18 2 0 6s947ms 0ms 0ms 13s894ms 19 3 0 6s431ms 0ms 0ms 12s134ms 20 3 0 6s595ms 0ms 0ms 7s179ms 21 2 0 7s151ms 0ms 0ms 7s182ms 22 3 0 6s390ms 0ms 0ms 7s158ms 23 3 0 11s683ms 0ms 0ms 20s951ms Aug 18 00 6 0 1m43s 0ms 20s922ms 9m4s 01 11 0 9s788ms 5s728ms 12s216ms 26s201ms 02 20 0 9s192ms 6s799ms 12s389ms 49s968ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 11 0 6s516ms 0ms 5s102ms 33s93ms 06 2 0 7s89ms 0ms 0ms 7s145ms 07 3 0 6s444ms 0ms 0ms 7s251ms 08 3 0 7s150ms 0ms 0ms 7s376ms 09 2 0 7s40ms 0ms 0ms 7s54ms 10 7 0 15s663ms 0ms 7s57ms 35s87ms 11 3 0 6s969ms 0ms 0ms 14s377ms 12 9 0 8s185ms 0ms 12s180ms 18s109ms 13 3 0 6s627ms 0ms 0ms 7s124ms 14 5 0 6s203ms 0ms 5s839ms 12s270ms 15 5 0 6s989ms 0ms 7s50ms 7s558ms 16 3 0 6s535ms 0ms 0ms 12s346ms 17 2 0 7s260ms 0ms 0ms 7s523ms 18 3 0 6s426ms 0ms 0ms 12s149ms 19 3 0 6s451ms 0ms 0ms 12s348ms 20 3 0 6s363ms 0ms 0ms 12s36ms 21 3 0 6s416ms 0ms 0ms 12s178ms 22 6 0 6s13ms 0ms 5s407ms 14s198ms 23 7 0 8s348ms 0ms 7s191ms 19s892ms Aug 19 00 5 0 1m54s 0ms 5s703ms 9m4s 01 5 0 6s124ms 0ms 5s679ms 12s285ms 02 6 0 7s427ms 0ms 7s183ms 8s389ms 03 6 0 6s966ms 0ms 6s497ms 7s414ms 04 4 0 7s508ms 0ms 0ms 12s448ms 05 6 0 7s76ms 0ms 0ms 14s319ms 06 2 0 7s175ms 0ms 0ms 7s232ms 07 2 0 7s95ms 0ms 0ms 7s162ms 08 2 0 7s4ms 0ms 0ms 7s54ms 09 2 0 6s974ms 0ms 0ms 7s21ms 10 3 0 6s479ms 0ms 0ms 7s310ms 11 3 0 6s379ms 0ms 0ms 12s226ms 12 2 0 7s172ms 0ms 0ms 14s345ms 13 3 0 6s618ms 0ms 0ms 12s764ms 14 3 0 6s827ms 0ms 0ms 15s424ms 15 2 0 6s834ms 0ms 0ms 7s174ms 16 3 0 6s758ms 0ms 0ms 12s865ms 17 5 0 6s572ms 0ms 0ms 15s472ms 18 3 0 6s628ms 0ms 0ms 14s562ms 19 3 0 6s421ms 0ms 0ms 14s99ms 20 3 0 6s885ms 0ms 0ms 12s888ms 21 9 0 5s868ms 0ms 0ms 27s860ms 22 4 0 6s540ms 0ms 0ms 15s209ms 23 3 0 6s578ms 0ms 0ms 12s506ms Aug 20 00 3 0 3m11s 0ms 0ms 9m21s 01 5 0 5s946ms 0ms 5s83ms 12s456ms 02 3 0 6s658ms 0ms 0ms 12s326ms 03 14 0 6s825ms 0ms 5s529ms 28s380ms 04 6 0 6s223ms 0ms 5s53ms 14s785ms 05 10 0 6s476ms 0ms 6s515ms 14s525ms 06 2 0 6s369ms 0ms 0ms 7s572ms 07 3 0 6s451ms 0ms 0ms 6s438ms 08 4 0 7s550ms 0ms 0ms 14s759ms 09 5 0 6s42ms 0ms 5s67ms 10s475ms 10 5 0 7s492ms 0ms 0ms 15s125ms 11 11 0 6s267ms 0ms 5s645ms 14s958ms 12 3 0 6s619ms 0ms 0ms 14s725ms 13 2 0 7s335ms 0ms 0ms 7s513ms 14 2 0 7s603ms 0ms 0ms 7s529ms 15 2 0 6s396ms 0ms 0ms 12s793ms 16 3 0 6s480ms 0ms 0ms 12s340ms 17 3 0 6s499ms 0ms 0ms 12s482ms 18 3 0 6s674ms 0ms 0ms 12s698ms 19 3 0 6s713ms 0ms 0ms 12s686ms 20 6 0 9s436ms 0ms 5s392ms 15s959ms 21 2 0 7s164ms 0ms 0ms 7s344ms 22 2 0 7s153ms 0ms 0ms 7s390ms 23 4 0 6s619ms 0ms 0ms 12s263ms Aug 21 00 4 0 2m24s 0ms 0ms 9m16s 01 3 0 7s289ms 0ms 0ms 7s673ms 02 14 0 6s513ms 0ms 7s225ms 32s760ms 03 5 0 10s892ms 0ms 6s246ms 29s28ms 04 2 0 7s186ms 0ms 0ms 7s377ms 05 9 0 7s7ms 0ms 7s228ms 14s238ms 06 1 0 7s122ms 0ms 0ms 7s122ms 07 7 0 10s904ms 0ms 0ms 8s76ms 08 3 0 6s730ms 0ms 0ms 7s185ms 09 4 0 6s343ms 0ms 5s115ms 7s257ms 10 3 0 7s51ms 0ms 0ms 7s201ms 11 2 0 7s201ms 0ms 0ms 7s449ms 12 3 0 7s592ms 0ms 0ms 8s513ms 13 7 0 38s358ms 0ms 7s142ms 2m3s 14 2 0 7s149ms 0ms 0ms 7s253ms 15 2 0 7s60ms 0ms 0ms 14s121ms 16 3 0 6s386ms 0ms 0ms 12s35ms 17 2 0 7s129ms 0ms 0ms 7s146ms 18 2 0 7s29ms 0ms 0ms 7s109ms 19 2 0 7s134ms 0ms 0ms 7s136ms 20 6 0 9s739ms 0ms 7s145ms 20s859ms 21 3 0 6s409ms 0ms 0ms 12s29ms 22 2 0 7s81ms 0ms 0ms 7s180ms 23 3 0 6s582ms 0ms 0ms 6s977ms Aug 22 00 3 0 3m5s 0ms 0ms 9m2s 01 2 0 7s91ms 0ms 0ms 14s183ms 02 4 0 12s604ms 0ms 6s931ms 18s142ms 03 2 0 7s74ms 0ms 0ms 7s150ms 04 2 0 7s50ms 0ms 0ms 14s100ms 05 7 0 6s762ms 0ms 0ms 14s104ms 06 2 0 7s111ms 0ms 0ms 7s68ms 07 3 0 6s612ms 0ms 0ms 12s485ms 08 3 0 6s352ms 0ms 0ms 19s57ms 09 4 0 6s130ms 0ms 0ms 11s978ms 10 4 0 6s362ms 0ms 0ms 11s389ms 11 3 0 14s61ms 0ms 0ms 28s4ms 12 3 0 6s450ms 0ms 0ms 12s184ms 13 11 0 8s572ms 0ms 7s117ms 13s389ms 14 11 0 11s690ms 7s140ms 12s392ms 32s994ms 15 13 0 12s960ms 0ms 12s363ms 33s53ms 16 7 0 12s511ms 0ms 7s113ms 22s52ms 17 2 0 7s2ms 0ms 0ms 14s4ms 18 3 0 6s656ms 0ms 0ms 12s538ms 19 3 0 6s412ms 0ms 0ms 12s35ms 20 2 0 7s150ms 0ms 0ms 7s177ms 21 2 0 7s227ms 0ms 0ms 7s305ms 22 3 0 8s197ms 0ms 0ms 10s400ms 23 2 0 7s104ms 0ms 0ms 7s149ms Aug 23 00 6 0 1m37s 0ms 6s916ms 9m3s 01 3 0 6s975ms 0ms 0ms 14s309ms 02 2 0 7s164ms 0ms 0ms 14s329ms 03 2 0 7s123ms 0ms 0ms 7s180ms 04 2 0 7s88ms 0ms 0ms 14s177ms 05 8 0 6s549ms 0ms 5s41ms 19s326ms 06 2 0 6s980ms 0ms 0ms 6s986ms 07 2 0 7s138ms 0ms 0ms 7s163ms 08 2 0 6s978ms 0ms 0ms 7s26ms 09 22 0 35s299ms 18s715ms 38s303ms 4m27s 10 39 0 17s814ms 20s541ms 31s696ms 5m6s 11 3 0 6s935ms 0ms 0ms 14s125ms 12 2 0 7s35ms 0ms 0ms 7s49ms 13 2 0 7s55ms 0ms 0ms 7s66ms 14 5 0 14s190ms 0ms 0ms 56s700ms 15 2 0 7s74ms 0ms 0ms 14s148ms 16 2 0 6s960ms 0ms 0ms 13s921ms 17 3 0 6s496ms 0ms 0ms 12s298ms 18 2 0 7s78ms 0ms 0ms 7s131ms 19 3 0 6s403ms 0ms 0ms 12s134ms 20 3 0 6s411ms 0ms 0ms 12s107ms 21 3 0 6s406ms 0ms 0ms 12s56ms 22 2 0 7s115ms 0ms 0ms 7s122ms 23 2 0 7s147ms 0ms 0ms 7s159ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 17 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 Aug 18 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 Aug 19 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 Aug 20 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 Aug 21 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 Aug 22 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 Aug 23 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 Aug 17 00 0 6 6.00 0.00% 01 0 3 3.00 0.00% 02 0 2 2.00 0.00% 03 0 3 3.00 0.00% 04 0 2 2.00 0.00% 05 0 7 7.00 0.00% 06 0 2 2.00 0.00% 07 0 2 2.00 0.00% 08 0 14 14.00 0.00% 09 0 2 2.00 0.00% 10 0 2 2.00 0.00% 11 0 3 3.00 0.00% 12 0 4 4.00 0.00% 13 0 2 2.00 0.00% 14 0 4 4.00 0.00% 15 0 10 10.00 0.00% 16 0 10 10.00 0.00% 17 0 22 22.00 0.00% 18 0 2 2.00 0.00% 19 0 3 3.00 0.00% 20 0 3 3.00 0.00% 21 0 2 2.00 0.00% 22 0 3 3.00 0.00% 23 0 3 3.00 0.00% Aug 18 00 0 5 5.00 0.00% 01 0 11 11.00 0.00% 02 0 20 20.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 11 11.00 0.00% 06 0 2 2.00 0.00% 07 0 3 3.00 0.00% 08 0 3 3.00 0.00% 09 0 2 2.00 0.00% 10 0 7 7.00 0.00% 11 0 3 3.00 0.00% 12 0 9 9.00 0.00% 13 0 3 3.00 0.00% 14 0 5 5.00 0.00% 15 0 5 5.00 0.00% 16 0 3 3.00 0.00% 17 0 2 2.00 0.00% 18 0 3 3.00 0.00% 19 0 3 3.00 0.00% 20 0 3 3.00 0.00% 21 0 3 3.00 0.00% 22 0 6 6.00 0.00% 23 0 7 7.00 0.00% Aug 19 00 0 4 4.00 0.00% 01 0 5 5.00 0.00% 02 0 6 6.00 0.00% 03 0 6 6.00 0.00% 04 0 4 4.00 0.00% 05 0 6 6.00 0.00% 06 0 2 2.00 0.00% 07 0 2 2.00 0.00% 08 0 2 2.00 0.00% 09 0 2 2.00 0.00% 10 0 3 3.00 0.00% 11 0 3 3.00 0.00% 12 0 2 2.00 0.00% 13 0 3 3.00 0.00% 14 0 3 3.00 0.00% 15 0 3 3.00 0.00% 16 0 3 3.00 0.00% 17 0 5 5.00 0.00% 18 0 3 3.00 0.00% 19 0 3 3.00 0.00% 20 0 3 3.00 0.00% 21 0 9 9.00 0.00% 22 0 4 4.00 0.00% 23 0 3 3.00 0.00% Aug 20 00 0 2 2.00 0.00% 01 0 5 5.00 0.00% 02 0 3 3.00 0.00% 03 0 14 14.00 0.00% 04 0 6 6.00 0.00% 05 0 10 10.00 0.00% 06 0 3 3.00 0.00% 07 0 4 4.00 0.00% 08 0 4 4.00 0.00% 09 0 5 5.00 0.00% 10 0 5 5.00 0.00% 11 0 11 11.00 0.00% 12 0 3 3.00 0.00% 13 0 2 2.00 0.00% 14 0 2 2.00 0.00% 15 0 3 3.00 0.00% 16 0 3 3.00 0.00% 17 0 3 3.00 0.00% 18 0 3 3.00 0.00% 19 0 3 3.00 0.00% 20 0 6 6.00 0.00% 21 0 2 2.00 0.00% 22 0 2 2.00 0.00% 23 0 4 4.00 0.00% Aug 21 00 0 3 3.00 0.00% 01 0 3 3.00 0.00% 02 0 14 14.00 0.00% 03 0 5 5.00 0.00% 04 0 2 2.00 0.00% 05 0 9 9.00 0.00% 06 0 2 2.00 0.00% 07 0 7 7.00 0.00% 08 0 3 3.00 0.00% 09 0 4 4.00 0.00% 10 0 3 3.00 0.00% 11 0 2 2.00 0.00% 12 0 3 3.00 0.00% 13 0 7 7.00 0.00% 14 0 2 2.00 0.00% 15 0 2 2.00 0.00% 16 0 3 3.00 0.00% 17 0 2 2.00 0.00% 18 0 2 2.00 0.00% 19 0 2 2.00 0.00% 20 0 6 6.00 0.00% 21 0 3 3.00 0.00% 22 0 2 2.00 0.00% 23 0 3 3.00 0.00% Aug 22 00 0 2 2.00 0.00% 01 0 2 2.00 0.00% 02 0 4 4.00 0.00% 03 0 2 2.00 0.00% 04 0 2 2.00 0.00% 05 0 7 7.00 0.00% 06 0 2 2.00 0.00% 07 0 3 3.00 0.00% 08 0 3 3.00 0.00% 09 0 4 4.00 0.00% 10 0 4 4.00 0.00% 11 0 3 3.00 0.00% 12 0 3 3.00 0.00% 13 0 13 13.00 0.00% 14 0 11 11.00 0.00% 15 0 14 14.00 0.00% 16 0 7 7.00 0.00% 17 0 2 2.00 0.00% 18 0 3 3.00 0.00% 19 0 3 3.00 0.00% 20 0 2 2.00 0.00% 21 0 2 2.00 0.00% 22 0 3 3.00 0.00% 23 0 2 2.00 0.00% Aug 23 00 0 5 5.00 0.00% 01 0 3 3.00 0.00% 02 0 2 2.00 0.00% 03 0 2 2.00 0.00% 04 0 2 2.00 0.00% 05 0 8 8.00 0.00% 06 0 2 2.00 0.00% 07 0 2 2.00 0.00% 08 0 2 2.00 0.00% 09 0 22 22.00 0.00% 10 0 39 39.00 0.00% 11 0 3 3.00 0.00% 12 0 2 2.00 0.00% 13 0 2 2.00 0.00% 14 0 5 5.00 0.00% 15 0 2 2.00 0.00% 16 0 2 2.00 0.00% 17 0 3 3.00 0.00% 18 0 2 2.00 0.00% 19 0 3 3.00 0.00% 20 0 3 3.00 0.00% 21 0 3 3.00 0.00% 22 0 2 2.00 0.00% 23 0 2 2.00 0.00% Day Hour Count Average / Second Aug 17 00 90 0.03/s 01 78 0.02/s 02 89 0.02/s 03 81 0.02/s 04 79 0.02/s 05 99 0.03/s 06 81 0.02/s 07 76 0.02/s 08 181 0.05/s 09 78 0.02/s 10 80 0.02/s 11 81 0.02/s 12 80 0.02/s 13 85 0.02/s 14 79 0.02/s 15 87 0.02/s 16 83 0.02/s 17 93 0.03/s 18 81 0.02/s 19 83 0.02/s 20 76 0.02/s 21 76 0.02/s 22 81 0.02/s 23 83 0.02/s Aug 18 00 82 0.02/s 01 88 0.02/s 02 149 0.04/s 03 93 0.03/s 04 64 0.02/s 05 87 0.02/s 06 93 0.03/s 07 82 0.02/s 08 81 0.02/s 09 82 0.02/s 10 103 0.03/s 11 93 0.03/s 12 84 0.02/s 13 77 0.02/s 14 80 0.02/s 15 80 0.02/s 16 80 0.02/s 17 81 0.02/s 18 79 0.02/s 19 82 0.02/s 20 76 0.02/s 21 82 0.02/s 22 95 0.03/s 23 86 0.02/s Aug 19 00 82 0.02/s 01 82 0.02/s 02 101 0.03/s 03 123 0.03/s 04 84 0.02/s 05 94 0.03/s 06 77 0.02/s 07 75 0.02/s 08 86 0.02/s 09 81 0.02/s 10 81 0.02/s 11 84 0.02/s 12 83 0.02/s 13 166 0.05/s 14 95 0.03/s 15 78 0.02/s 16 81 0.02/s 17 78 0.02/s 18 81 0.02/s 19 78 0.02/s 20 79 0.02/s 21 77 0.02/s 22 84 0.02/s 23 84 0.02/s Aug 20 00 100 0.03/s 01 84 0.02/s 02 81 0.02/s 03 97 0.03/s 04 83 0.02/s 05 97 0.03/s 06 74 0.02/s 07 82 0.02/s 08 81 0.02/s 09 82 0.02/s 10 86 0.02/s 11 83 0.02/s 12 105 0.03/s 13 80 0.02/s 14 79 0.02/s 15 80 0.02/s 16 80 0.02/s 17 79 0.02/s 18 82 0.02/s 19 80 0.02/s 20 101 0.03/s 21 76 0.02/s 22 81 0.02/s 23 84 0.02/s Aug 21 00 81 0.02/s 01 81 0.02/s 02 124 0.03/s 03 81 0.02/s 04 81 0.02/s 05 95 0.03/s 06 85 0.02/s 07 91 0.03/s 08 83 0.02/s 09 80 0.02/s 10 93 0.03/s 11 82 0.02/s 12 83 0.02/s 13 121 0.03/s 14 80 0.02/s 15 79 0.02/s 16 80 0.02/s 17 79 0.02/s 18 79 0.02/s 19 83 0.02/s 20 80 0.02/s 21 77 0.02/s 22 84 0.02/s 23 81 0.02/s Aug 22 00 81 0.02/s 01 77 0.02/s 02 83 0.02/s 03 85 0.02/s 04 77 0.02/s 05 97 0.03/s 06 79 0.02/s 07 75 0.02/s 08 81 0.02/s 09 80 0.02/s 10 78 0.02/s 11 97 0.03/s 12 81 0.02/s 13 83 0.02/s 14 83 0.02/s 15 79 0.02/s 16 83 0.02/s 17 80 0.02/s 18 78 0.02/s 19 81 0.02/s 20 83 0.02/s 21 76 0.02/s 22 83 0.02/s 23 78 0.02/s Aug 23 00 80 0.02/s 01 79 0.02/s 02 84 0.02/s 03 78 0.02/s 04 83 0.02/s 05 96 0.03/s 06 79 0.02/s 07 79 0.02/s 08 81 0.02/s 09 91 0.03/s 10 105 0.03/s 11 85 0.02/s 12 82 0.02/s 13 81 0.02/s 14 84 0.02/s 15 80 0.02/s 16 81 0.02/s 17 80 0.02/s 18 82 0.02/s 19 80 0.02/s 20 82 0.02/s 21 77 0.02/s 22 89 0.02/s 23 82 0.02/s Day Hour Count Average Duration Average idle time Aug 17 00 90 28m32s 28m26s 01 78 28m17s 28m17s 02 89 27m16s 27m16s 03 81 30m35s 30m35s 04 79 30m19s 30m18s 05 99 24m46s 24m45s 06 81 29m15s 29m15s 07 76 30m8s 30m8s 08 181 13m47s 13m46s 09 78 30m15s 30m14s 10 80 29m54s 29m54s 11 81 29m50s 29m49s 12 80 29m37s 29m37s 13 85 28m47s 28m46s 14 79 30m7s 30m6s 15 87 28m32s 28m30s 16 83 28m28s 28m26s 17 93 25m34s 25m31s 18 81 29m56s 29m56s 19 83 29m34s 29m33s 20 76 29m16s 29m16s 21 76 30m32s 30m31s 22 81 29m59s 29m59s 23 83 29m31s 29m30s Aug 18 00 82 28m59s 28m51s 01 88 27m29s 27m28s 02 149 16m34s 16m33s 03 98 23m21s 23m21s 04 64 30m40s 30m40s 05 82 29m26s 29m25s 06 93 23m41s 23m40s 07 80 30m26s 30m26s 08 81 28m50s 28m49s 09 82 30m16s 30m16s 10 103 22m22s 22m21s 11 90 26m18s 26m18s 12 84 29m38s 29m37s 13 77 30m40s 30m40s 14 80 30m27s 30m27s 15 80 30m25s 30m25s 16 80 30m34s 30m34s 17 81 29m45s 29m45s 18 79 30m16s 30m15s 19 82 30m15s 30m15s 20 76 30m2s 30m1s 21 82 27m58s 27m58s 22 95 25m8s 25m8s 23 86 28m27s 28m26s Aug 19 00 82 29m19s 29m12s 01 82 29m25s 29m25s 02 101 24m11s 24m10s 03 123 20m35s 20m35s 04 84 27m53s 27m53s 05 94 25m1s 25m 06 77 29m48s 29m47s 07 75 32m6s 32m6s 08 86 28m17s 28m17s 09 81 29m41s 29m41s 10 81 29m53s 29m52s 11 84 28m29s 28m29s 12 83 29m13s 29m12s 13 166 14m40s 14m40s 14 95 24m54s 24m54s 15 78 31m2s 31m2s 16 81 30m21s 30m21s 17 78 30m11s 30m10s 18 84 1h34m22s 1h34m22s 19 78 30m12s 30m12s 20 79 30m18s 30m18s 21 77 29m47s 29m46s 22 84 28m58s 28m58s 23 84 29m26s 29m25s Aug 20 00 100 24m7s 24m1s 01 84 28m43s 28m43s 02 81 29m25s 29m25s 03 97 24m55s 24m54s 04 83 27m57s 27m57s 05 97 25m4s 25m3s 06 74 30m28s 30m28s 07 82 29m9s 29m9s 08 81 29m23s 29m23s 09 82 29m17s 29m17s 10 86 29m18s 29m18s 11 83 29m5s 29m5s 12 105 23m39s 23m39s 13 80 29m51s 29m51s 14 79 30m25s 30m25s 15 80 30m17s 30m16s 16 80 30m8s 30m8s 17 79 30m39s 30m39s 18 82 29m45s 29m44s 19 80 29m46s 29m45s 20 101 23m54s 23m53s 21 76 29m30s 29m30s 22 81 29m18s 29m18s 23 84 29m31s 29m31s Aug 21 00 81 29m13s 29m6s 01 81 29m38s 29m38s 02 124 19m1s 19m 03 81 28m25s 28m24s 04 81 28m53s 28m53s 05 95 26m6s 26m6s 06 85 27m43s 27m43s 07 91 26m47s 26m47s 08 83 29m14s 29m14s 09 80 29m41s 29m41s 10 93 25m55s 25m55s 11 82 29m51s 29m51s 12 83 29m36s 29m36s 13 120 20m20s 20m18s 14 80 29m42s 29m42s 15 79 30m21s 30m21s 16 80 31m18s 31m18s 17 79 30m16s 30m15s 18 79 30m1s 30m1s 19 83 29m29s 29m29s 20 80 29m 28m59s 21 78 36m4s 36m4s 22 84 29m6s 29m6s 23 81 29m49s 29m49s Aug 22 00 81 30m23s 30m16s 01 77 29m58s 29m58s 02 83 28m3s 28m3s 03 85 28m23s 28m23s 04 77 29m38s 29m38s 05 97 26m23s 26m22s 06 79 30m9s 30m9s 07 75 30m38s 30m37s 08 81 30m23s 30m22s 09 80 30m13s 30m13s 10 78 30m35s 30m34s 11 96 25m22s 25m21s 12 81 30m11s 30m11s 13 83 29m5s 29m4s 14 83 28m55s 28m53s 15 79 30m42s 30m40s 16 83 29m55s 29m54s 17 80 29m41s 29m40s 18 78 30m20s 30m19s 19 81 29m54s 29m54s 20 84 35m46s 35m46s 21 76 29m25s 29m25s 22 83 29m2s 29m2s 23 78 30m57s 30m56s Aug 23 00 80 29m2s 28m55s 01 79 29m49s 29m48s 02 84 29m18s 29m18s 03 78 29m20s 29m20s 04 83 29m29s 29m29s 05 96 25m55s 25m54s 06 79 29m34s 29m34s 07 79 29m50s 29m50s 08 81 30m6s 30m6s 09 90 26m59s 26m50s 10 106 23m3s 22m57s 11 85 27m34s 27m33s 12 82 30m31s 30m31s 13 81 29m30s 29m30s 14 84 30m9s 30m8s 15 80 29m52s 29m52s 16 81 29m45s 29m45s 17 80 29m7s 29m7s 18 82 29m29s 29m29s 19 80 30m25s 30m25s 20 82 29m32s 29m32s 21 77 29m28s 29m27s 22 89 26m32s 26m32s 23 82 29m9s 29m9s -
Connections
Established Connections
Key values
- 13 connections Connection Peak
- 2025-08-18 06:33:39 Date
Connections per database
Key values
- ctdprd51 Main Database
- 14,331 connections Total
Connections per user
Key values
- pubeu Main User
- 14,331 connections Total
-
Sessions
Simultaneous sessions
Key values
- 57 sessions Session Peak
- 2025-08-18 22:01:20 Date
Histogram of session times
Key values
- 12,538 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 14,329 sessions Total
Sessions per user
Key values
- pubeu Main User
- 14,329 sessions Total
Sessions per host
Key values
- 10.12.5.53 Main Host
- 14,329 sessions Total
Host Count Total Duration Average Duration 10.12.5.45 2,669 55d23h53m48s 30m12s 10.12.5.46 2,630 56d15m34s 30m40s 10.12.5.53 3,773 55d13h58m49s 21m12s 10.12.5.54 2,630 56d54m17s 30m40s 10.12.5.55 2,582 55d23h18m1s 31m12s 10.12.5.56 39 4m22s 6s732ms 192.168.201.10 2 16h52m3s 8h26m1s 192.168.201.14 4 3d19h15m15s 22h48m48s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 220,058 buffers Checkpoint Peak
- 2025-08-22 04:29:51 Date
- 1619.978 seconds Highest write time
- 0.479 seconds Sync time
Checkpoints Wal files
Key values
- 538 files Wal files usage Peak
- 2025-08-21 13:59:55 Date
Checkpoints distance
Key values
- 17,210.71 Mo Distance Peak
- 2025-08-21 13:59:55 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Aug 17 00 1,193 119.673s 0.003s 119.705s 01 100 10.196s 0.002s 10.227s 02 80 8.198s 0.002s 8.228s 03 38,122 2,022.39s 0.004s 2,022.566s 04 92 9.392s 0.002s 9.424s 05 106,316 1,620.386s 0.003s 1,621.314s 06 895 89.837s 0.003s 89.869s 07 794 79.725s 0.003s 79.754s 08 461 46.38s 0.002s 46.411s 09 163 16.514s 0.002s 16.544s 10 129 13s 0.002s 13.03s 11 22,448 1,619.494s 0.001s 1,619.727s 12 169 17.016s 0.002s 17.045s 13 121 12.299s 0.002s 12.33s 14 114 11.596s 0.002s 11.626s 15 174 17.612s 0.002s 17.642s 16 123 12.489s 0.002s 12.517s 17 78 8.055s 0.002s 8.086s 18 116 11.818s 0.002s 11.848s 19 96 9.787s 0.002s 9.821s 20 4,247 425.34s 0.003s 425.446s 21 4,034 403.973s 0.003s 404.063s 22 83 8.497s 0.002s 8.527s 23 43,196 1,619.148s 0.002s 1,619.537s Aug 18 00 918 91.932s 0.004s 92.024s 01 168 17.014s 0.002s 17.046s 02 354 35.662s 0.003s 35.691s 03 71 7.307s 0.001s 7.322s 04 0 0s 0s 0s 05 13 1.502s 0.001s 1.519s 06 144 14.625s 0.002s 14.655s 07 2,381 238.594s 0.002s 238.671s 08 393 39.555s 0.002s 39.585s 09 414 41.656s 0.003s 41.686s 10 139 14.144s 0.002s 14.174s 11 2,057 206.228s 0.003s 206.304s 12 4,493 450.178s 0.003s 450.279s 13 339 34.05s 0.002s 34.081s 14 85 8.695s 0.002s 8.725s 15 257 25.976s 0.002s 26.007s 16 103 10.529s 0.002s 10.558s 17 163 16.524s 0.002s 16.553s 18 51 5.299s 0.002s 5.329s 19 112 11.432s 0.002s 11.463s 20 94 9.624s 0.002s 9.656s 21 1,264 126.813s 0.003s 126.888s 22 56,521 1,630.211s 0.003s 1,630.718s 23 3,105 311.206s 0.004s 311.291s Aug 19 00 808 81.18s 0.004s 81.214s 01 84 8.592s 0.002s 8.622s 02 95 9.687s 0.002s 9.718s 03 156 15.891s 0.002s 15.922s 04 7,364 737.504s 0.002s 737.649s 05 156 15.813s 0.002s 15.858s 06 4,999 500.797s 0.004s 500.875s 07 5,972 598.098s 0.002s 598.196s 08 710 71.3s 0.003s 71.375s 09 341 34.354s 0.002s 34.384s 10 141 14.313s 0.002s 14.343s 11 158 16.015s 0.002s 16.046s 12 122 12.404s 0.003s 12.435s 13 100 10.013s 0.001s 10.029s 14 118,995 1,629.873s 0.004s 1,630.668s 15 336 33.852s 0.003s 33.884s 16 202 20.447s 0.002s 20.479s 17 190 19.264s 0.002s 19.298s 18 3,219 322.702s 0.003s 322.762s 19 3,308 331.465s 0.002s 331.52s 20 62 6.417s 0.002s 6.447s 21 139 14.113s 0.003s 14.144s 22 114 11.601s 0.002s 11.631s 23 157 15.934s 0.002s 15.966s Aug 20 00 1,153 115.838s 0.004s 115.874s 01 1,492 149.73s 0.003s 149.809s 02 190,569 1,621.048s 0.003s 1,621.548s 03 132 13.419s 0.002s 13.448s 04 68,837 1,628.153s 0.003s 1,628.766s 05 2,130 213.57s 0.003s 213.646s 06 255 25.545s 0.001s 25.56s 07 62,478 1,661.611s 0.004s 1,662.118s 08 380 38.271s 0.002s 38.302s 09 1,163 116.726s 0.003s 116.756s 10 151 15.386s 0.002s 15.416s 11 159 16.127s 0.002s 16.158s 12 6,619 662.92s 0.004s 663.023s 13 52,946 1,619.351s 0.002s 1,619.836s 14 2,724 272.946s 0.003s 272.977s 15 57,257 1,619.293s 0.002s 1,619.804s 16 2,324 232.893s 0.002s 232.923s 17 6,641 664.924s 0.004s 665.075s 18 45 4.599s 0.001s 4.614s 19 131 13.264s 0.002s 13.292s 20 1,502 150.631s 0.003s 150.663s 21 68 7s 0.002s 7.031s 22 147 14.914s 0.002s 14.948s 23 81 8.294s 0.002s 8.338s Aug 21 00 1,199 120.403s 0.004s 120.44s 01 87 8.896s 0.002s 8.925s 02 10,307 1,032.281s 0.002s 1,032.419s 03 108 11.096s 0.002s 11.128s 04 6,281 629.187s 0.004s 629.335s 05 1,435 143.817s 0.003s 143.891s 06 387 39.006s 0.002s 39.035s 07 63,978 1,639.138s 0.003s 1,639.678s 08 469 47.174s 0.002s 47.205s 09 565 56.692s 0.002s 56.722s 10 1,548 155.249s 0.003s 155.326s 11 4,153 416.02s 0.004s 416.112s 12 202 20.42s 0.002s 20.45s 13 139,479 3,194.107s 0.481s 3,201.317s 14 365 36.748s 0.003s 37.376s 15 395 39.763s 0.003s 39.794s 16 525 52.769s 0.002s 52.8s 17 1,492 149.634s 0.003s 149.736s 18 1,690 169.335s 0.003s 169.438s 19 192 19.33s 0.002s 19.36s 20 120 12.236s 0.003s 12.266s 21 156 15.796s 0.002s 15.826s 22 93 9.528s 0.002s 9.559s 23 92 9.386s 0.003s 9.416s Aug 22 00 2,199 220.45s 0.004s 220.567s 01 89 8.998s 0.002s 9.026s 02 605 60.774s 0.003s 60.805s 03 4,745 475.206s 0.003s 475.284s 04 220,126 1,626.876s 0.003s 1,627.034s 05 181 18.305s 0.002s 18.335s 06 374 37.665s 0.002s 37.746s 07 405 40.721s 0.002s 40.751s 08 123 12.515s 0.002s 12.545s 09 83 8.505s 0.002s 8.535s 10 623 62.6s 0.002s 62.634s 11 528 53.085s 0.002s 53.116s 12 1,090 109.345s 0.003s 109.423s 13 322 32.353s 0.002s 32.383s 14 205 20.715s 0.002s 20.747s 15 389 39.161s 0.002s 39.191s 16 349 35.158s 0.002s 35.187s 17 221 22.325s 0.002s 22.355s 18 92 9.421s 0.002s 9.452s 19 69 7.008s 0.002s 7.038s 20 143 14.513s 0.002s 14.543s 21 88 9.018s 0.002s 9.05s 22 66 6.799s 0.002s 6.832s 23 135 13.712s 0.002s 13.743s Aug 23 00 2,226 223.2s 0.004s 223.279s 01 92 9.388s 0.002s 9.418s 02 88 8.997s 0.002s 9.027s 03 82 8.415s 0.002s 8.444s 04 141 14.221s 0.002s 14.252s 05 120 12.214s 0.002s 12.242s 06 52,077 1,625.87s 0.002s 1,626.047s 07 61 6.302s 0.002s 6.332s 08 103 10.525s 0.002s 10.56s 09 106 10.809s 0.002s 10.837s 10 75 7.774s 0.002s 7.805s 11 116 11.8s 0.002s 11.829s 12 187 18.723s 0.002s 18.752s 13 93 9.492s 0.002s 9.522s 14 105 10.7s 0.002s 10.728s 15 43 4.406s 0.001s 4.421s 16 95 9.616s 0.001s 9.63s 17 62,902 1,619.21s 0.001s 1,619.363s 18 108 11.01s 0.002s 11.041s 19 89 9.11s 0.002s 9.14s 20 46 4.69s 0.001s 4.705s 21 107 10.88s 0.002s 10.91s 22 199 19.995s 0.002s 20.026s 23 79 8.109s 0.002s 8.14s Day Hour Added Removed Recycled Synced files Longest sync Average sync Aug 17 00 0 0 0 70 0.001s 0.002s 01 0 0 0 23 0.001s 0.002s 02 0 0 0 20 0.001s 0.002s 03 0 0 9 56 0.001s 0.002s 04 0 0 0 22 0.001s 0.002s 05 0 0 72 38 0.001s 0.002s 06 0 0 0 93 0.001s 0.002s 07 0 0 0 135 0.001s 0.002s 08 0 0 0 122 0.001s 0.002s 09 0 0 0 61 0.001s 0.002s 10 0 0 0 23 0.001s 0.002s 11 0 0 15 27 0.001s 0.001s 12 0 0 0 57 0.001s 0.002s 13 0 0 0 22 0.001s 0.002s 14 0 0 0 21 0.001s 0.002s 15 0 0 0 61 0.001s 0.002s 16 0 0 0 23 0.001s 0.002s 17 0 0 0 15 0.001s 0.002s 18 0 0 0 18 0.001s 0.002s 19 0 0 0 15 0.001s 0.002s 20 0 0 3 29 0.001s 0.002s 21 0 0 2 38 0.001s 0.002s 22 0 0 0 14 0.001s 0.002s 23 0 0 28 31 0.001s 0.001s Aug 18 00 0 0 1 72 0.001s 0.002s 01 0 0 0 31 0.001s 0.002s 02 0 0 0 35 0.001s 0.002s 03 0 0 0 14 0.001s 0.001s 04 0 0 0 0 0s 0s 05 0 0 0 2 0.001s 0.001s 06 0 0 0 26 0.001s 0.002s 07 0 0 1 195 0.001s 0.002s 08 0 0 0 118 0.001s 0.002s 09 0 0 0 134 0.001s 0.002s 10 0 0 0 26 0.001s 0.002s 11 0 0 1 30 0.001s 0.002s 12 0 0 3 38 0.001s 0.002s 13 0 0 0 101 0.001s 0.002s 14 0 0 0 15 0.001s 0.002s 15 0 0 0 107 0.001s 0.002s 16 0 0 0 55 0.001s 0.002s 17 0 0 0 65 0.001s 0.002s 18 0 0 0 13 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 0 16 0.001s 0.002s 21 0 0 1 25 0.001s 0.002s 22 0 0 37 52 0.001s 0.002s 23 0 0 2 43 0.001s 0.002s Aug 19 00 0 0 0 76 0.001s 0.002s 01 0 0 0 20 0.001s 0.002s 02 0 0 0 23 0.001s 0.002s 03 0 0 0 31 0.001s 0.002s 04 0 0 4 68 0.001s 0.002s 05 0 0 1 28 0.001s 0.002s 06 0 0 1 86 0.001s 0.002s 07 0 0 3 143 0.001s 0.002s 08 0 0 1 72 0.001s 0.002s 09 0 0 0 116 0.001s 0.002s 10 0 0 0 22 0.001s 0.002s 11 0 0 0 68 0.001s 0.002s 12 0 0 0 23 0.001s 0.002s 13 0 0 0 16 0.001s 0.001s 14 0 0 58 86 0.001s 0.003s 15 0 0 0 97 0.001s 0.002s 16 0 0 0 69 0.001s 0.002s 17 0 0 0 99 0.001s 0.002s 18 0 0 2 32 0.001s 0.002s 19 0 0 2 32 0.001s 0.002s 20 0 0 0 13 0.001s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 0 0 15 0.001s 0.002s 23 0 0 0 20 0.001s 0.002s Aug 20 00 0 0 0 69 0.001s 0.002s 01 0 0 1 32 0.001s 0.002s 02 0 0 36 40 0.001s 0.002s 03 0 0 0 22 0.001s 0.002s 04 0 0 46 47 0.001s 0.002s 05 0 0 1 38 0.001s 0.002s 06 0 0 0 60 0.001s 0.001s 07 0 0 35 197 0.001s 0.003s 08 0 0 0 122 0.001s 0.002s 09 0 0 0 135 0.001s 0.002s 10 0 0 0 24 0.001s 0.002s 11 0 0 0 55 0.001s 0.002s 12 0 0 3 95 0.001s 0.002s 13 0 0 37 75 0.001s 0.001s 14 0 0 0 143 0.001s 0.002s 15 0 0 39 75 0.001s 0.001s 16 0 0 0 134 0.001s 0.002s 17 0 0 4 138 0.001s 0.002s 18 0 0 0 7 0.001s 0.001s 19 0 0 0 23 0.001s 0.002s 20 0 0 0 25 0.001s 0.002s 21 0 0 0 15 0.001s 0.002s 22 0 0 0 23 0.001s 0.002s 23 0 0 1 13 0.001s 0.002s Aug 21 00 0 0 0 66 0.001s 0.002s 01 0 0 0 21 0.001s 0.002s 02 0 0 6 39 0.001s 0.002s 03 0 0 0 26 0.001s 0.002s 04 0 0 4 54 0.001s 0.002s 05 0 0 1 38 0.001s 0.002s 06 0 0 0 115 0.001s 0.002s 07 0 0 41 138 0.001s 0.002s 08 0 0 0 123 0.001s 0.002s 09 0 0 0 130 0.001s 0.002s 10 0 0 1 119 0.001s 0.002s 11 0 0 2 135 0.001s 0.002s 12 0 0 0 64 0.001s 0.002s 13 0 70 538 147 0.474s 0.011s 14 0 0 49 67 0.001s 0.002s 15 0 0 0 111 0.001s 0.002s 16 0 0 0 105 0.001s 0.002s 17 0 1 0 101 0.001s 0.002s 18 0 1 0 67 0.001s 0.002s 19 0 0 0 25 0.001s 0.002s 20 0 0 0 16 0.001s 0.002s 21 0 0 0 21 0.001s 0.002s 22 0 0 0 15 0.001s 0.002s 23 0 0 0 17 0.001s 0.002s Aug 22 00 0 1 0 77 0.001s 0.002s 01 0 0 0 20 0.001s 0.002s 02 0 0 0 43 0.001s 0.002s 03 0 3 0 43 0.001s 0.002s 04 0 35 0 45 0.001s 0.002s 05 0 0 0 25 0.001s 0.002s 06 0 1 0 125 0.001s 0.002s 07 0 0 0 118 0.001s 0.002s 08 0 0 0 23 0.001s 0.002s 09 0 0 0 17 0.001s 0.002s 10 0 0 0 78 0.001s 0.002s 11 0 0 0 76 0.001s 0.002s 12 0 1 0 26 0.001s 0.002s 13 0 0 0 106 0.001s 0.002s 14 0 0 0 65 0.001s 0.002s 15 0 0 0 115 0.001s 0.002s 16 0 0 0 117 0.001s 0.002s 17 0 0 0 26 0.001s 0.002s 18 0 0 0 16 0.001s 0.002s 19 0 0 0 14 0.001s 0.002s 20 0 0 0 24 0.001s 0.002s 21 0 0 0 17 0.001s 0.002s 22 0 0 0 13 0.001s 0.002s 23 0 0 0 23 0.001s 0.002s Aug 23 00 0 1 0 84 0.001s 0.002s 01 0 0 0 23 0.001s 0.002s 02 0 0 0 21 0.001s 0.002s 03 0 0 0 19 0.001s 0.002s 04 0 0 0 26 0.001s 0.002s 05 0 0 0 24 0.001s 0.002s 06 0 35 0 45 0.001s 0.002s 07 0 0 0 15 0.001s 0.002s 08 0 0 0 24 0.001s 0.002s 09 0 0 0 23 0.001s 0.002s 10 0 0 0 16 0.001s 0.002s 11 0 0 0 23 0.001s 0.002s 12 0 0 0 26 0.001s 0.002s 13 0 0 0 17 0.001s 0.002s 14 0 0 0 23 0.001s 0.002s 15 0 0 0 7 0.001s 0.001s 16 0 0 0 15 0.001s 0.001s 17 0 38 0 27 0.001s 0.001s 18 0 0 0 21 0.001s 0.002s 19 0 0 0 15 0.001s 0.002s 20 0 0 0 7 0.001s 0.001s 21 0 0 0 21 0.001s 0.002s 22 0 0 0 19 0.001s 0.002s 23 0 0 0 15 0.001s 0.002s Day Hour Count Avg time (sec) Aug 17 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 Aug 18 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 Aug 19 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 Aug 20 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 Aug 21 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 Aug 22 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 Aug 23 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 Aug 17 00 2,692.50 kB 4,903.50 kB 01 281.50 kB 4,078.50 kB 02 239.00 kB 3,349.00 kB 03 75,925.50 kB 102,601.00 kB 04 269.00 kB 85,238.00 kB 05 583,893.00 kB 1,109,321.00 kB 06 2,727.00 kB 899,017.50 kB 07 2,289.00 kB 728,534.00 kB 08 1,390.50 kB 590,462.50 kB 09 402.00 kB 478,421.00 kB 10 381.50 kB 387,590.50 kB 11 238,374.00 kB 354,316.00 kB 12 575.00 kB 303,018.50 kB 13 365.00 kB 245,540.50 kB 14 349.50 kB 198,955.00 kB 15 454.50 kB 161,218.00 kB 16 359.00 kB 130,678.50 kB 17 186.00 kB 105,886.00 kB 18 327.00 kB 85,814.50 kB 19 182.00 kB 69,560.00 kB 20 18,564.50 kB 58,239.50 kB 21 19,038.50 kB 52,421.00 kB 22 247.50 kB 42,502.50 kB 23 465,639.00 kB 465,639.00 kB Aug 18 00 2,803.50 kB 398,596.50 kB 01 487.00 kB 322,989.00 kB 02 972.50 kB 261,825.00 kB 03 402.00 kB 223,286.00 kB 04 0.00 kB 0.00 kB 05 10.00 kB 200,958.00 kB 06 493.50 kB 171,909.50 kB 07 7,509.50 kB 140,610.50 kB 08 1,282.00 kB 114,148.00 kB 09 1,122.50 kB 92,700.50 kB 10 367.50 kB 75,167.50 kB 11 7,134.50 kB 61,621.50 kB 12 21,126.50 kB 52,696.00 kB 13 946.00 kB 44,700.50 kB 14 196.50 kB 36,274.00 kB 15 688.00 kB 29,501.50 kB 16 295.00 kB 23,966.00 kB 17 466.00 kB 19,500.00 kB 18 165.00 kB 15,826.50 kB 19 325.50 kB 12,882.00 kB 20 192.00 kB 10,469.00 kB 21 4,210.50 kB 9,275.50 kB 22 310,375.00 kB 589,119.50 kB 23 11,932.50 kB 479,140.00 kB Aug 19 00 2,852.50 kB 388,924.50 kB 01 250.50 kB 315,138.50 kB 02 281.50 kB 255,314.50 kB 03 444.50 kB 206,875.50 kB 04 33,512.50 kB 173,153.00 kB 05 400.00 kB 141,123.00 kB 06 9,709.50 kB 116,125.00 kB 07 30,902.50 kB 99,882.00 kB 08 2,887.50 kB 81,534.50 kB 09 1,005.50 kB 66,209.00 kB 10 407.50 kB 53,732.50 kB 11 404.50 kB 43,598.00 kB 12 373.00 kB 35,387.00 kB 13 618.00 kB 30,240.00 kB 14 315,371.67 kB 854,083.67 kB 15 963.50 kB 654,983.00 kB 16 575.00 kB 530,655.00 kB 17 503.00 kB 429,914.00 kB 18 14,412.00 kB 349,700.00 kB 19 14,853.00 kB 287,362.00 kB 20 183.50 kB 232,798.50 kB 21 404.00 kB 188,637.50 kB 22 318.00 kB 152,854.50 kB 23 482.00 kB 123,905.50 kB Aug 20 00 3,436.00 kB 100,960.50 kB 01 4,521.50 kB 82,316.50 kB 02 296,079.50 kB 562,459.50 kB 03 315.50 kB 455,650.00 kB 04 374,904.50 kB 711,776.50 kB 05 6,545.50 kB 577,802.50 kB 06 1,707.00 kB 492,831.00 kB 07 190,617.67 kB 514,334.67 kB 08 1,121.00 kB 394,613.50 kB 09 3,564.00 kB 320,303.50 kB 10 460.50 kB 259,567.00 kB 11 425.50 kB 210,313.50 kB 12 24,521.00 kB 174,585.00 kB 13 578,990.00 kB 578,990.00 kB 14 9,675.00 kB 496,842.50 kB 15 626,437.00 kB 626,437.00 kB 16 8,290.00 kB 537,127.50 kB 17 30,137.50 kB 438,778.00 kB 18 309.00 kB 376,329.00 kB 19 377.50 kB 321,831.00 kB 20 5,178.50 kB 261,217.00 kB 21 191.50 kB 212,071.00 kB 22 435.50 kB 171,859.00 kB 23 254.50 kB 139,251.50 kB Aug 21 00 3,529.00 kB 113,407.00 kB 01 246.50 kB 91,968.00 kB 02 52,658.00 kB 91,634.50 kB 03 324.50 kB 89,661.50 kB 04 31,800.00 kB 76,027.50 kB 05 4,792.00 kB 64,735.50 kB 06 1,319.00 kB 53,037.00 kB 07 332,984.50 kB 631,507.00 kB 08 1,471.00 kB 511,818.00 kB 09 1,655.50 kB 414,875.50 kB 10 5,205.00 kB 337,053.00 kB 11 14,492.00 kB 274,817.50 kB 12 595.00 kB 223,695.50 kB 13 4,722,707.50 kB 4,722,707.50 kB 14 660,291.50 kB 7,659,597.50 kB 15 1,372.50 kB 6,204,461.00 kB 16 1,600.50 kB 5,025,958.50 kB 17 6,627.50 kB 4,071,773.00 kB 18 9,280.50 kB 3,300,447.50 kB 19 520.50 kB 2,673,451.00 kB 20 249.50 kB 2,165,562.00 kB 21 442.50 kB 1,754,191.50 kB 22 256.00 kB 1,420,942.50 kB 23 275.50 kB 1,151,015.50 kB Aug 22 00 5,637.50 kB 933,333.50 kB 01 244.50 kB 756,111.50 kB 02 1,778.50 kB 612,773.50 kB 03 22,887.50 kB 500,692.00 kB 04 289,894.00 kB 550,335.00 kB 05 522.00 kB 445,886.50 kB 06 1,223.00 kB 361,360.50 kB 07 1,323.00 kB 292,959.00 kB 08 364.00 kB 237,386.50 kB 09 220.00 kB 192,340.50 kB 10 2,497.50 kB 156,080.00 kB 11 1,500.00 kB 126,885.00 kB 12 3,704.50 kB 103,498.50 kB 13 937.50 kB 83,974.50 kB 14 629.00 kB 68,172.50 kB 15 1,102.00 kB 55,400.50 kB 16 1,056.00 kB 45,079.00 kB 17 603.50 kB 36,653.50 kB 18 239.00 kB 29,738.00 kB 19 209.50 kB 24,126.50 kB 20 377.00 kB 19,612.50 kB 21 216.50 kB 15,928.00 kB 22 212.00 kB 12,941.00 kB 23 386.50 kB 10,557.00 kB Aug 23 00 3,804.50 kB 9,172.00 kB 01 264.50 kB 7,582.00 kB 02 281.00 kB 6,195.50 kB 03 251.50 kB 5,067.00 kB 04 441.50 kB 4,173.00 kB 05 288.50 kB 3,436.00 kB 06 284,996.50 kB 541,145.00 kB 07 149.50 kB 438,371.50 kB 08 297.50 kB 355,136.00 kB 09 302.50 kB 287,718.50 kB 10 175.50 kB 233,083.00 kB 11 335.50 kB 188,861.50 kB 12 508.50 kB 153,061.00 kB 13 195.00 kB 124,031.50 kB 14 305.00 kB 100,524.50 kB 15 278.00 kB 85,740.00 kB 16 566.00 kB 77,223.00 kB 17 621,412.00 kB 621,412.00 kB 18 310.00 kB 531,352.00 kB 19 181.00 kB 430,442.00 kB 20 287.00 kB 367,039.00 kB 21 327.00 kB 313,865.00 kB 22 461.00 kB 254,327.50 kB 23 230.00 kB 206,051.50 kB -
Temporary Files
Size of temporary files
Key values
- 840.00 MiB Temp Files size Peak
- 2025-08-21 13:32:59 Date
Number of temporary files
Key values
- 10 per second Temp Files Peak
- 2025-08-21 13:29:10 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Aug 17 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 Aug 18 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 Aug 19 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 Aug 20 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 Aug 21 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 130 10.08 GiB 79.36 MiB 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 Aug 22 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 Aug 23 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 130 10.08 GiB 8.00 KiB 170.26 MiB 79.36 MiB select * from pgbulkload.pg_bulkload (?);-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.DUPE}');
Date: 2025-08-21 13:33:17 Duration: 1m50s
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.DUPE}');
Date: 2025-08-21 13:31:08 Duration: 1m49s
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=load.TERM_LABEL,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyTermLabel.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyTermLabel.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyTermLabel.txt.DUPE}');
Date: 2025-08-21 13:31:26 Duration: 14s180ms
Queries generating the largest temporary files
Rank Size Query 1 170.26 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:32:59 ]
2 169.72 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:30:51 ]
3 169.72 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:30:51 ]
4 169.68 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:32:59 ]
5 169.40 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:30:18 ]
6 168.80 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:32:26 ]
7 168.72 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:30:51 ]
8 167.54 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:32:59 ]
9 167.44 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:30:18 ]
10 166.97 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:32:27 ]
11 166.62 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:30:18 ]
12 166.58 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:32:59 ]
13 166.39 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:32:27 ]
14 165.95 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:32:59 ]
15 165.80 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:30:51 ]
16 165.53 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:30:51 ]
17 163.48 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:32:26 ]
18 162.90 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:32:26 ]
19 162.30 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:30:18 ]
20 162.27 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-08-21 13:30:18 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 39.36 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-08-22 03:45:38 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 39.36 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-08-22 03:45:38 Date
Analyzes per table
Key values
- pubc.log_query (143) Main table analyzed (database ctdprd51)
- 167 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 143 ctdprd51.pub1.term_set_enrichment_agent 5 ctdprd51.pub1.term_set_enrichment 5 ctdprd51.pub1.term_comp 2 ctdprd51.pub1.term_comp_agent 2 ctdprd51.edit.country 1 ctdprd51.edit.action_type_path 1 ctdprd51.edit.study_factor 1 ctdprd51.edit.action_degree 1 ctdprd51.edit.db_report 1 ctdprd51.edit.action_type 1 ctdprd51.edit.db 1 ctdprd51.edit.list_db_report 1 ctdprd51.edit.db_report_site 1 ctdprd51.pg_catalog.pg_index 1 Total 167 Vacuums per table
Key values
- pubc.log_query (27) Main table vacuumed on database ctdprd51
- 46 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 27 25 11,170 0 1,778 0 8 3,278 1,234 8,974,656 ctdprd51.pub1.term_set_enrichment_agent 3 0 840,453 0 419,649 0 0 464,870 22 27,588,191 ctdprd51.pg_toast.pg_toast_486223 2 0 74 0 0 0 0 2 0 376 ctdprd51.pub1.term_set_enrichment 2 0 11,940 0 5,494 0 0 5,863 4 365,723 ctdprd51.pg_catalog.pg_attribute 1 1 676 0 112 0 37 257 109 444,939 ctdprd51.pg_catalog.pg_type 1 1 137 0 37 0 0 66 34 173,971 ctdprd51.pub1.term_comp_agent 1 0 160 0 40 0 0 36 2 16,935 ctdprd51.pg_catalog.pg_statistic 1 1 753 0 188 0 124 521 176 685,516 ctdprd51.edit.country 1 0 63 0 0 0 0 8 1 9,575 ctdprd51.edit.study_factor 1 0 56 0 4 0 0 2 1 8,508 ctdprd51.edit.race 1 0 57 0 2 0 0 3 2 15,789 ctdprd51.edit.evidence 1 0 32 0 5 0 0 3 2 14,715 ctdprd51.pub1.term_comp 1 0 132 0 19 0 0 15 2 10,788 ctdprd51.edit.action_type_path 1 0 48 0 0 0 0 4 1 9,059 ctdprd51.pg_toast.pg_toast_2619 1 1 3,886 0 1,004 0 10,001 3,047 974 525,664 ctdprd51.edit.actor_form_type 1 0 82 0 1 0 0 3 1 8,747 Total 46 29 869,719 90,710 428,333 0 10,170 477,978 2,565 38,853,152 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (3777) Main table with removed tuples on database ctdprd51
- 5439 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 1 1 3,777 18,518 0 0 12,592 ctdprd51.pg_catalog.pg_statistic 1 1 555 3,393 0 0 410 ctdprd51.pg_catalog.pg_attribute 1 1 294 8,743 0 0 230 ctdprd51.pubc.log_query 27 25 224 89,436 38 0 2,649 ctdprd51.edit.country 1 0 157 249 0 0 4 ctdprd51.edit.action_type_path 1 0 106 106 0 0 2 ctdprd51.edit.race 1 0 81 27 0 0 1 ctdprd51.edit.study_factor 1 0 77 11 0 0 1 ctdprd51.pg_catalog.pg_type 1 1 60 1,153 0 0 34 ctdprd51.edit.evidence 1 0 54 18 0 0 1 ctdprd51.edit.actor_form_type 1 0 54 18 0 0 1 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 16,628 0 0 144 ctdprd51.pub1.term_set_enrichment_agent 3 0 0 203,205,766 0 0 2,309,159 ctdprd51.pub1.term_set_enrichment 2 0 0 1,773,520 0 0 29,333 ctdprd51.pub1.term_comp 1 0 0 1,480 0 0 14 Total 46 29 5,439 205,119,066 38 0 2,354,575 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.pg_toast.pg_toast_486223 2 0 0 0 ctdprd51.pg_catalog.pg_attribute 1 1 294 0 ctdprd51.pg_catalog.pg_type 1 1 60 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pg_catalog.pg_statistic 1 1 555 0 ctdprd51.edit.country 1 0 157 0 ctdprd51.pub1.term_set_enrichment_agent 3 0 0 0 ctdprd51.pub1.term_set_enrichment 2 0 0 0 ctdprd51.edit.study_factor 1 0 77 0 ctdprd51.edit.race 1 0 81 0 ctdprd51.pubc.log_query 27 25 224 0 ctdprd51.edit.evidence 1 0 54 0 ctdprd51.pub1.term_comp 1 0 0 0 ctdprd51.edit.action_type_path 1 0 106 0 ctdprd51.pg_toast.pg_toast_2619 1 1 3777 0 ctdprd51.edit.actor_form_type 1 0 54 0 Total 46 29 5,439 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Aug 17 00 2 0 01 0 2 02 0 1 03 1 3 04 0 1 05 1 4 06 0 1 07 0 1 08 0 1 09 0 1 10 0 0 11 1 1 12 0 1 13 0 0 14 0 1 15 0 0 16 0 1 17 0 0 18 0 1 19 0 0 20 1 0 21 0 1 22 0 1 23 0 1 Aug 18 00 0 0 01 1 2 02 0 3 03 0 0 04 0 0 05 0 3 06 0 1 07 1 1 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 1 1 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 0 22 0 1 23 1 0 Aug 19 00 1 1 01 0 1 02 0 2 03 0 3 04 2 3 05 0 2 06 1 1 07 1 1 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 1 14 0 1 15 1 0 16 0 1 17 0 0 18 0 2 19 0 0 20 0 0 21 0 1 22 0 0 23 0 1 Aug 20 00 1 0 01 1 2 02 1 2 03 0 3 04 1 2 05 0 2 06 0 2 07 0 1 08 1 0 09 0 1 10 0 1 11 0 1 12 0 1 13 0 2 14 0 0 15 1 0 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 1 23 0 0 Aug 21 00 1 0 01 0 2 02 0 3 03 0 2 04 1 2 05 0 2 06 1 1 07 0 1 08 1 1 09 0 1 10 0 1 11 0 0 12 0 2 13 6 11 14 0 0 15 1 1 16 1 1 17 0 0 18 0 1 19 0 1 20 0 0 21 0 1 22 0 0 23 0 0 Aug 22 00 1 2 01 0 1 02 0 2 03 1 2 04 0 3 05 1 3 06 0 0 07 0 1 08 0 1 09 0 1 10 1 0 11 0 1 12 0 0 13 0 1 14 0 1 15 0 1 16 0 0 17 1 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 1 Aug 23 00 4 0 01 0 2 02 0 2 03 0 2 04 0 1 05 1 3 06 0 1 07 0 0 08 0 1 09 0 1 10 0 0 11 0 1 12 1 1 13 0 0 14 0 1 15 0 0 16 0 1 17 0 1 18 0 1 19 0 0 20 0 0 21 0 1 22 1 0 23 0 0 - 39.36 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
- 751 Total read queries
- 0 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 481 Requests
- 1h54m57s (unknown)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 1,022 Requests
User Request type Count Duration pubeu Total 1,022 2h44m2s select 1,022 2h44m2s qaeu Total 25 2m49s select 25 2m49s unknown Total 613 3h22m35s others 9 1m1s select 604 3h21m34s Duration by user
Key values
- 3h22m35s (unknown) Main time consuming user
User Request type Count Duration pubeu Total 1,022 2h44m2s select 1,022 2h44m2s qaeu Total 25 2m49s select 25 2m49s unknown Total 613 3h22m35s others 9 1m1s select 604 3h21m34s Queries by host
Key values
- unknown Main host
- 1,660 Requests
- 6h9m27s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 758 Requests
- 3h7m25s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-08-20 21:31:42 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 631 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 9m21s /* * 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-08-20 00:09:22 ]
2 9m16s /* * 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-08-21 00:09:17 ]
3 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-08-19 00:09:06 ]
4 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-08-18 00:09:05 ]
5 9m3s /* * 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-08-23 00:09:05 ]
6 9m2s /* * 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-08-22 00:09:03 ]
7 8m58s /* * 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-08-17 00:09:00 ]
8 5m6s SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d004066' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2108371) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;[ Date: 2025-08-23 10:00:06 - Bind query: yes ]
9 4m27s SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d009369' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2105591) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;[ Date: 2025-08-23 09:49:09 - Bind query: yes ]
10 3m37s SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d002318' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2112418) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;[ Date: 2025-08-23 09:42:21 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
11 1m50s SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.DUPE}');[ Date: 2025-08-21 13:33:17 - Bind query: yes ]
12 1m49s SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.DUPE}');[ Date: 2025-08-21 13:31:08 - Bind query: yes ]
13 1m21s SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d012871' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2101536) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;[ Date: 2025-08-23 10:03:15 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 41s334ms SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d007239' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2112157) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;[ Date: 2025-08-23 09:51:55 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
15 36s15ms SELECT /* BatchGOGenesDAO */ 'protein binding' "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ':' || sq.diseaseacc "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN gene_disease gd ON gga.gene_id = gd.gene_id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN term g ON gd.gene_id = g.id WHERE gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1281329) AND gga.is_not = false AND gd.curated_reference_qty > 0 ORDER BY gt.nm_sort, d.nm_sort, g.nm_sort) sq;[ Date: 2025-08-17 17:23:57 - Bind query: yes ]
16 35s633ms SELECT /* BatchGOGenesDAO */ 'protein binding' "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ':' || sq.diseaseacc "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN gene_disease gd ON gga.gene_id = gd.gene_id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN term g ON gd.gene_id = g.id WHERE gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1281329) AND gga.is_not = false AND gd.curated_reference_qty > 0 ORDER BY gt.nm_sort, d.nm_sort, g.nm_sort) sq;[ Date: 2025-08-17 17:02:59 - Bind query: yes ]
17 35s489ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-08-17 08:45:05 - Bind query: yes ]
18 35s99ms SELECT /* BatchGOGenesDAO */ 'protein binding' "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ':' || sq.diseaseacc "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN gene_disease gd ON gga.gene_id = gd.gene_id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN term g ON gd.gene_id = g.id WHERE gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1281329) AND gga.is_not = false AND gd.curated_reference_qty > 0 ORDER BY gt.nm_sort, d.nm_sort, g.nm_sort) sq;[ Date: 2025-08-17 17:26:34 - Bind query: yes ]
19 35s87ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-08-18 10:38:07 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 34s826ms SELECT /* BatchGOGenesDAO */ 'protein binding' "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ':' || sq.diseaseacc "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN gene_disease gd ON gga.gene_id = gd.gene_id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN term g ON gd.gene_id = g.id WHERE gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1281329) AND gga.is_not = false AND gd.curated_reference_qty > 0 ORDER BY gt.nm_sort, d.nm_sort, g.nm_sort) sq;[ Date: 2025-08-17 15:21:32 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h3m50s 7 8m58s 9m21s 9m7s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 17 00 1 8m58s 8m58s Aug 18 00 1 9m4s 9m4s Aug 19 00 1 9m4s 9m4s Aug 20 00 1 9m21s 9m21s Aug 21 00 1 9m16s 9m16s Aug 22 00 1 9m2s 9m2s Aug 23 00 1 9m3s 9m3s -
/* * 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-08-20 00:09:22 Duration: 9m21s
-
/* * 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-08-21 00:09:17 Duration: 9m16s
-
/* * 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-08-19 00:09:06 Duration: 9m4s
2 21m4s 177 6s836ms 8s276ms 7s143ms 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 #2
Day Hour Count Duration Avg duration Aug 17 00 1 6s836ms 6s836ms 01 1 7s72ms 7s72ms 02 1 7s99ms 7s99ms 03 1 7s191ms 7s191ms 04 1 7s66ms 7s66ms 05 3 21s245ms 7s81ms 06 1 7s285ms 7s285ms 07 1 7s228ms 7s228ms 08 1 7s160ms 7s160ms 09 1 7s194ms 7s194ms 10 1 6s939ms 6s939ms 11 1 6s982ms 6s982ms 12 1 7s549ms 7s549ms 13 1 7s54ms 7s54ms 14 1 7s75ms 7s75ms 15 1 6s981ms 6s981ms 16 1 7s245ms 7s245ms 17 1 7s224ms 7s224ms 18 1 6s938ms 6s938ms 19 1 7s160ms 7s160ms 20 1 7s179ms 7s179ms 21 1 7s182ms 7s182ms 22 1 6s971ms 6s971ms 23 1 6s996ms 6s996ms Aug 18 00 1 7s31ms 7s31ms 01 1 7s154ms 7s154ms 02 1 7s105ms 7s105ms 05 4 28s434ms 7s108ms 06 1 7s145ms 7s145ms 07 1 7s61ms 7s61ms 08 1 6s980ms 6s980ms 09 1 7s54ms 7s54ms 10 1 7s57ms 7s57ms 11 1 7s13ms 7s13ms 12 1 6s943ms 6s943ms 13 1 7s124ms 7s124ms 14 1 7s48ms 7s48ms 15 1 7s50ms 7s50ms 16 1 7s258ms 7s258ms 17 1 6s996ms 6s996ms 18 1 7s131ms 7s131ms 19 1 7s7ms 7s7ms 20 1 7s54ms 7s54ms 21 1 7s69ms 7s69ms 22 1 7s93ms 7s93ms 23 1 7s191ms 7s191ms Aug 19 00 1 7s483ms 7s483ms 01 1 6s912ms 6s912ms 02 1 7s183ms 7s183ms 03 1 6s985ms 6s985ms 04 1 7s93ms 7s93ms 05 3 21s293ms 7s97ms 06 1 7s232ms 7s232ms 07 1 7s28ms 7s28ms 08 1 7s54ms 7s54ms 09 1 6s927ms 6s927ms 10 1 7s310ms 7s310ms 11 1 6s911ms 6s911ms 12 1 7s112ms 7s112ms 13 1 7s91ms 7s91ms 14 1 8s276ms 8s276ms 16 1 7s409ms 7s409ms 17 1 7s446ms 7s446ms 18 1 7s20ms 7s20ms 19 1 7s101ms 7s101ms 20 1 7s766ms 7s766ms 21 1 7s130ms 7s130ms 22 1 7s309ms 7s309ms 23 1 7s229ms 7s229ms Aug 20 00 1 7s117ms 7s117ms 01 1 7s69ms 7s69ms 02 1 7s650ms 7s650ms 03 1 7s200ms 7s200ms 04 1 7s6ms 7s6ms 05 3 21s231ms 7s77ms 06 1 7s572ms 7s572ms 08 1 7s225ms 7s225ms 09 1 7s373ms 7s373ms 10 1 7s543ms 7s543ms 11 1 7s751ms 7s751ms 12 1 7s243ms 7s243ms 13 1 7s156ms 7s156ms 14 1 7s529ms 7s529ms 16 1 7s102ms 7s102ms 17 1 7s15ms 7s15ms 18 1 7s323ms 7s323ms 19 1 7s454ms 7s454ms 20 1 7s112ms 7s112ms 21 1 7s344ms 7s344ms 22 1 6s916ms 6s916ms 23 1 7s202ms 7s202ms Aug 21 00 1 7s760ms 7s760ms 01 1 7s47ms 7s47ms 02 1 7s225ms 7s225ms 03 1 7s9ms 7s9ms 04 1 6s996ms 6s996ms 05 3 21s541ms 7s180ms 07 1 7s120ms 7s120ms 08 1 7s103ms 7s103ms 09 1 7s257ms 7s257ms 10 1 7s201ms 7s201ms 11 1 7s449ms 7s449ms 12 1 7s271ms 7s271ms 13 1 7s138ms 7s138ms 14 1 7s253ms 7s253ms 15 1 7s8ms 7s8ms 16 1 7s123ms 7s123ms 17 1 7s113ms 7s113ms 18 1 6s949ms 6s949ms 19 1 7s132ms 7s132ms 20 1 7s145ms 7s145ms 21 1 7s199ms 7s199ms 22 1 6s981ms 6s981ms 23 1 6s905ms 6s905ms Aug 22 00 1 7s58ms 7s58ms 01 1 7s184ms 7s184ms 02 1 7s205ms 7s205ms 03 1 6s998ms 6s998ms 04 1 7s160ms 7s160ms 05 3 21s91ms 7s30ms 06 1 7s154ms 7s154ms 07 1 7s352ms 7s352ms 08 1 7s15ms 7s15ms 09 1 7s21ms 7s21ms 10 1 6s997ms 6s997ms 11 1 7s12ms 7s12ms 12 1 7s167ms 7s167ms 13 1 7s117ms 7s117ms 14 1 7s140ms 7s140ms 15 1 7s81ms 7s81ms 16 1 7s113ms 7s113ms 17 1 6s917ms 6s917ms 18 1 7s429ms 7s429ms 19 1 7s200ms 7s200ms 20 1 7s177ms 7s177ms 21 1 7s305ms 7s305ms 22 1 7s116ms 7s116ms 23 1 7s149ms 7s149ms Aug 23 00 1 6s916ms 6s916ms 01 1 7s89ms 7s89ms 02 1 7s214ms 7s214ms 03 1 7s66ms 7s66ms 04 1 7s88ms 7s88ms 05 3 21s191ms 7s63ms 06 1 6s986ms 6s986ms 07 1 7s163ms 7s163ms 08 1 6s930ms 6s930ms 09 1 6s998ms 6s998ms 10 1 7s87ms 7s87ms 11 1 6s964ms 6s964ms 12 1 7s49ms 7s49ms 13 1 7s66ms 7s66ms 14 1 7s230ms 7s230ms 15 1 7s66ms 7s66ms 16 1 6s934ms 6s934ms 17 1 7s191ms 7s191ms 18 1 7s131ms 7s131ms 19 1 7s75ms 7s75ms 20 1 7s125ms 7s125ms 21 1 7s163ms 7s163ms 22 1 7s122ms 7s122ms 23 1 7s136ms 7s136ms [ User: pubeu - Total duration: 1m46s - Times executed: 15 ]
[ User: qaeu - Total duration: 6s993ms - 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-08-19 14:03:15 Duration: 8s276ms 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-08-19 20:03:06 Duration: 7s766ms 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-08-21 00:03:03 Duration: 7s760ms Bind query: yes
3 20m53s 175 6s920ms 8s25ms 7s160ms 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 Aug 17 00 1 7s70ms 7s70ms 01 1 7s190ms 7s190ms 02 1 7s231ms 7s231ms 03 1 7s93ms 7s93ms 04 1 7s162ms 7s162ms 05 3 21s629ms 7s209ms 06 1 7s188ms 7s188ms 07 1 7s84ms 7s84ms 08 1 7s40ms 7s40ms 09 1 7s77ms 7s77ms 10 1 7s77ms 7s77ms 11 1 6s920ms 6s920ms 12 1 7s449ms 7s449ms 13 1 7s22ms 7s22ms 14 1 7s92ms 7s92ms 15 1 7s103ms 7s103ms 16 1 7s36ms 7s36ms 17 1 7s185ms 7s185ms 18 1 6s955ms 6s955ms 19 1 7s120ms 7s120ms 20 1 6s969ms 6s969ms 21 1 7s121ms 7s121ms 22 1 7s158ms 7s158ms 23 1 7s100ms 7s100ms Aug 18 00 1 7s42ms 7s42ms 01 1 7s317ms 7s317ms 02 1 7s88ms 7s88ms 05 4 28s108ms 7s27ms 06 1 7s32ms 7s32ms 07 1 7s251ms 7s251ms 08 1 7s95ms 7s95ms 09 1 7s26ms 7s26ms 10 1 7s154ms 7s154ms 11 1 7s363ms 7s363ms 12 1 7s176ms 7s176ms 13 1 7s108ms 7s108ms 14 1 7s190ms 7s190ms 15 1 7s215ms 7s215ms 16 1 7s316ms 7s316ms 17 1 7s523ms 7s523ms 18 1 7s30ms 7s30ms 19 1 7s169ms 7s169ms 20 1 6s987ms 6s987ms 21 1 7s65ms 7s65ms 22 1 7s105ms 7s105ms 23 1 7s63ms 7s63ms Aug 19 00 1 7s143ms 7s143ms 01 1 7s116ms 7s116ms 02 1 6s938ms 6s938ms 03 1 7s119ms 7s119ms 04 1 7s436ms 7s436ms 05 3 21s165ms 7s55ms 06 1 7s119ms 7s119ms 07 1 7s162ms 7s162ms 08 1 6s954ms 6s954ms 09 1 7s21ms 7s21ms 10 1 6s945ms 6s945ms 11 1 7s174ms 7s174ms 12 1 7s232ms 7s232ms 13 1 7s686ms 7s686ms 14 1 7s147ms 7s147ms 16 1 7s464ms 7s464ms 17 1 8s25ms 8s25ms 18 1 7s542ms 7s542ms 19 1 6s998ms 6s998ms 20 1 7s725ms 7s725ms 21 1 7s216ms 7s216ms 22 1 7s899ms 7s899ms 23 1 7s372ms 7s372ms Aug 20 00 1 7s546ms 7s546ms 01 1 7s269ms 7s269ms 02 1 7s49ms 7s49ms 03 1 7s162ms 7s162ms 04 1 7s778ms 7s778ms 05 3 21s770ms 7s256ms 08 1 7s533ms 7s533ms 09 1 7s299ms 7s299ms 10 1 7s582ms 7s582ms 11 1 7s207ms 7s207ms 12 1 7s481ms 7s481ms 13 1 7s513ms 7s513ms 14 1 7s678ms 7s678ms 16 1 7s193ms 7s193ms 17 1 7s164ms 7s164ms 18 1 7s573ms 7s573ms 19 1 7s372ms 7s372ms 20 1 7s26ms 7s26ms 21 1 6s983ms 6s983ms 22 1 7s390ms 7s390ms 23 1 7s205ms 7s205ms Aug 21 00 1 7s449ms 7s449ms 01 1 7s147ms 7s147ms 02 1 7s5ms 7s5ms 03 1 7s172ms 7s172ms 04 1 7s377ms 7s377ms 05 3 21s300ms 7s100ms 07 1 7s124ms 7s124ms 08 1 7s185ms 7s185ms 09 1 7s128ms 7s128ms 10 1 7s135ms 7s135ms 11 1 6s953ms 6s953ms 12 1 6s991ms 6s991ms 13 1 7s142ms 7s142ms 14 1 7s46ms 7s46ms 15 1 7s112ms 7s112ms 16 1 7s13ms 7s13ms 17 1 7s146ms 7s146ms 18 1 7s109ms 7s109ms 19 1 7s136ms 7s136ms 20 1 7s153ms 7s153ms 21 1 6s967ms 6s967ms 22 1 7s180ms 7s180ms 23 1 6s977ms 6s977ms Aug 22 00 1 7s50ms 7s50ms 01 1 6s998ms 6s998ms 02 1 6s931ms 6s931ms 03 1 7s150ms 7s150ms 04 1 6s939ms 6s939ms 05 3 21s111ms 7s37ms 06 1 7s68ms 7s68ms 07 1 7s447ms 7s447ms 08 1 7s8ms 7s8ms 09 1 6s927ms 6s927ms 10 1 7s60ms 7s60ms 11 1 7s169ms 7s169ms 12 1 7s126ms 7s126ms 13 1 7s79ms 7s79ms 14 1 7s161ms 7s161ms 16 1 7s105ms 7s105ms 17 1 7s86ms 7s86ms 18 1 7s419ms 7s419ms 19 1 6s953ms 6s953ms 20 1 7s123ms 7s123ms 21 1 7s148ms 7s148ms 22 1 7s76ms 7s76ms 23 1 7s60ms 7s60ms Aug 23 00 1 7s56ms 7s56ms 01 1 7s220ms 7s220ms 02 1 7s115ms 7s115ms 03 1 7s180ms 7s180ms 04 1 7s89ms 7s89ms 05 3 21s95ms 7s31ms 06 1 6s973ms 6s973ms 07 1 7s113ms 7s113ms 08 1 7s26ms 7s26ms 09 1 6s962ms 6s962ms 10 1 7s101ms 7s101ms 11 1 7s160ms 7s160ms 12 1 7s22ms 7s22ms 13 1 7s44ms 7s44ms 14 1 7s21ms 7s21ms 15 1 7s82ms 7s82ms 16 1 6s986ms 6s986ms 17 1 7s224ms 7s224ms 18 1 7s25ms 7s25ms 19 1 7s99ms 7s99ms 20 1 7s106ms 7s106ms 21 1 6s991ms 6s991ms 22 1 7s108ms 7s108ms 23 1 7s159ms 7s159ms [ User: pubeu - Total duration: 18m6s - Times executed: 152 ]
[ User: qaeu - Total duration: 42s678ms - Times executed: 6 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-08-19 17:03:04 Duration: 8s25ms 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-08-19 22:03:00 Duration: 7s899ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-08-20 04:03:01 Duration: 7s778ms Database: ctdprd51 User: pubeu Bind query: yes
4 20m25s 28 6s268ms 5m6s 43s758ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where d.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 21 12 1 8s513ms 8s513ms Aug 22 02 2 36s281ms 18s140ms Aug 23 09 20 12m42s 38s131ms 10 5 6m57s 1m23s [ User: pubeu - Total duration: 8m51s - Times executed: 18 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d004066' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2108371) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-23 10:00:06 Duration: 5m6s Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d009369' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2105591) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-23 09:49:09 Duration: 4m27s Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d002318' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2112418) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-23 09:42:21 Duration: 3m37s Database: ctdprd51 User: pubeu Bind query: yes
5 18m8s 85 5s78ms 22s52ms 12s803ms select ? AS "Input", phenotypeterm.nm AS "PhenotypeName", phenotypeterm.acc_txt AS "PhenotypeID", diseaseterm.nm AS "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", ( select string_agg(distinct geneterm.nm, ?) from term geneterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneterm.id and ptr.via_term_object_type_id = ?) AS "GeneInferenceNetwork", ( select string_agg(distinct chemterm.nm, ?) from term chemterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemterm.id and ptr.via_term_object_type_id = ?) AS "ChemInferenceNetwork", ( select string_agg(distinct r.acc_txt, ?) from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where (phenotypeterm.id = ?) and diseaseterm.object_type_id = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 17 14 1 20s747ms 20s747ms 15 3 1m1s 20s646ms 16 7 2m25s 20s809ms 23 1 20s951ms 20s951ms Aug 18 00 3 1m2s 20s958ms 01 7 1m22s 11s783ms 02 11 2m3s 11s233ms 12 6 54s544ms 9s90ms 13 1 5s651ms 5s651ms 14 2 11s695ms 5s847ms 15 1 5s649ms 5s649ms 22 1 5s751ms 5s751ms Aug 19 00 1 5s703ms 5s703ms 01 2 11s422ms 5s711ms 17 2 11s909ms 5s954ms 22 1 5s684ms 5s684ms Aug 21 20 3 39s121ms 13s40ms Aug 22 13 7 1m9s 9s947ms 14 9 1m54s 12s698ms 15 11 2m35s 14s152ms 16 5 1m13s 14s672ms [ User: pubeu - Total duration: 14m23s - Times executed: 64 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1265339) and diseaseTerm.object_type_id = 3;
Date: 2025-08-22 16:01:58 Duration: 22s52ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1265339) and diseaseTerm.object_type_id = 3;
Date: 2025-08-18 01:08:22 Duration: 21s77ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1265339) and diseaseTerm.object_type_id = 3;
Date: 2025-08-17 16:37:26 Duration: 21s70ms Database: ctdprd51 User: pubeu Bind query: yes
6 6m29s 76 5s1ms 5s645ms 5s120ms 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 #6
Day Hour Count Duration Avg duration Aug 17 01 1 5s31ms 5s31ms 03 1 5s92ms 5s92ms 05 1 5s2ms 5s2ms 08 1 5s5ms 5s5ms 11 1 5s8ms 5s8ms 12 1 5s22ms 5s22ms 16 1 5s35ms 5s35ms 17 1 5s8ms 5s8ms 19 1 5s13ms 5s13ms Aug 18 05 3 15s142ms 5s47ms 10 1 5s18ms 5s18ms 12 1 5s4ms 5s4ms 14 1 5s80ms 5s80ms 16 1 5s30ms 5s30ms 18 1 5s119ms 5s119ms 19 1 5s179ms 5s179ms 20 1 5s49ms 5s49ms 21 1 5s113ms 5s113ms 22 1 5s227ms 5s227ms 23 1 5s14ms 5s14ms Aug 19 00 1 5s11ms 5s11ms 01 1 5s169ms 5s169ms 04 1 5s12ms 5s12ms 11 1 5s52ms 5s52ms 13 1 5s78ms 5s78ms 14 1 5s58ms 5s58ms 16 1 5s401ms 5s401ms 17 1 5s482ms 5s482ms 18 1 5s321ms 5s321ms 19 1 5s165ms 5s165ms 20 1 5s162ms 5s162ms 21 1 5s595ms 5s595ms 22 1 5s267ms 5s267ms 23 1 5s134ms 5s134ms Aug 20 01 1 5s186ms 5s186ms 02 1 5s277ms 5s277ms 03 1 5s304ms 5s304ms 04 1 5s53ms 5s53ms 05 3 15s251ms 5s83ms 07 1 5s120ms 5s120ms 08 1 5s81ms 5s81ms 11 1 5s645ms 5s645ms 12 1 5s134ms 5s134ms 15 1 5s90ms 5s90ms 16 1 5s146ms 5s146ms 17 1 5s317ms 5s317ms 18 1 5s125ms 5s125ms 19 1 5s313ms 5s313ms 20 1 5s392ms 5s392ms 23 1 5s57ms 5s57ms Aug 21 00 1 5s92ms 5s92ms 02 1 5s249ms 5s249ms 03 1 5s5ms 5s5ms 05 1 5s169ms 5s169ms 16 1 5s21ms 5s21ms 20 1 5s14ms 5s14ms 21 1 5s62ms 5s62ms Aug 22 05 1 5s134ms 5s134ms 07 1 5s37ms 5s37ms 08 1 5s33ms 5s33ms 09 1 5s51ms 5s51ms 12 1 5s57ms 5s57ms 13 1 5s124ms 5s124ms 18 1 5s118ms 5s118ms 19 1 5s82ms 5s82ms Aug 23 00 1 5s12ms 5s12ms 05 2 10s108ms 5s54ms 17 1 5s73ms 5s73ms 19 1 5s34ms 5s34ms 20 1 5s1ms 5s1ms 21 1 5s65ms 5s65ms [ User: pubeu - Total duration: 6m13s - Times executed: 73 ]
[ User: qaeu - Total duration: 15s250ms - Times executed: 3 ]
-
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 = 1319292)) 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-08-20 11:02:34 Duration: 5s645ms 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 = 1319292)) 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-08-19 21:02:35 Duration: 5s595ms 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 = 1319292)) 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-08-19 17:02:38 Duration: 5s482ms Database: ctdprd51 User: pubeu Bind query: yes
7 5m43s 39 5s54ms 29s28ms 8s794ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 20 03 7 53s497ms 7s642ms 23 1 7s13ms 7s13ms Aug 21 01 1 7s673ms 7s673ms 03 1 29s28ms 29s28ms Aug 23 10 29 4m5s 8s475ms [ User: pubeu - Total duration: 3m41s - Times executed: 24 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'prenatal exposure delayed effects' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2108007) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-21 03:12:08 Duration: 29s28ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d007674' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2110370) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-23 10:09:50 Duration: 23s702ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'hypertension' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2111425) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-20 03:50:26 Duration: 14s512ms Database: ctdprd51 User: pubeu Bind query: yes
8 5m29s 22 5s912ms 36s15ms 14s960ms select ? "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ? || sq.diseaseacc "DiseaseID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" from ( select distinct gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join gene_disease gd on gga.gene_id = gd.gene_id inner join term d on gd.disease_id = d.id inner join term g on gd.gene_id = g.id where gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and gga.is_not = false and gd.curated_reference_qty > ? order by gt.nm_sort, d.nm_sort, g.nm_sort) sq;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 17 15 4 1m 15s175ms 17 18 4m28s 14s913ms [ User: pubeu - Total duration: 1m34s - Times executed: 12 ]
-
SELECT /* BatchGOGenesDAO */ 'protein binding' "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ':' || sq.diseaseacc "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN gene_disease gd ON gga.gene_id = gd.gene_id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN term g ON gd.gene_id = g.id WHERE gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1281329) AND gga.is_not = false AND gd.curated_reference_qty > 0 ORDER BY gt.nm_sort, d.nm_sort, g.nm_sort) sq;
Date: 2025-08-17 17:23:57 Duration: 36s15ms Bind query: yes
-
SELECT /* BatchGOGenesDAO */ 'protein binding' "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ':' || sq.diseaseacc "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN gene_disease gd ON gga.gene_id = gd.gene_id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN term g ON gd.gene_id = g.id WHERE gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1281329) AND gga.is_not = false AND gd.curated_reference_qty > 0 ORDER BY gt.nm_sort, d.nm_sort, g.nm_sort) sq;
Date: 2025-08-17 17:02:59 Duration: 35s633ms Bind query: yes
-
SELECT /* BatchGOGenesDAO */ 'protein binding' "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ':' || sq.diseaseacc "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN gene_disease gd ON gga.gene_id = gd.gene_id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN term g ON gd.gene_id = g.id WHERE gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1281329) AND gga.is_not = false AND gd.curated_reference_qty > 0 ORDER BY gt.nm_sort, d.nm_sort, g.nm_sort) sq;
Date: 2025-08-17 17:26:34 Duration: 35s99ms Bind query: yes
9 4m6s 4 12s538ms 1m50s 1m1s select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 21 13 4 4m6s 1m1s -
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.DUPE}');
Date: 2025-08-21 13:33:17 Duration: 1m50s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.DUPE}');
Date: 2025-08-21 13:31:08 Duration: 1m49s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=load.TERM_LABEL,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyTermLabel.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyTermLabel.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyTermLabel.txt.DUPE}');
Date: 2025-08-21 13:31:26 Duration: 14s180ms Bind query: yes
10 4m3s 12 7s382ms 35s489ms 20s293ms 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 #10
Day Hour Count Duration Avg duration Aug 17 08 3 1m44s 34s785ms Aug 18 10 2 1m9s 34s656ms Aug 19 02 3 23s381ms 7s793ms 03 2 14s797ms 7s398ms Aug 20 20 2 31s669ms 15s834ms [ User: pubeu - Total duration: 2m46s - Times executed: 9 ]
-
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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-08-17 08:45:05 Duration: 35s489ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-08-18 10:38:07 Duration: 35s87ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-08-17 08:30:25 Duration: 34s690ms Database: ctdprd51 User: pubeu Bind query: yes
11 2m39s 29 5s42ms 6s315ms 5s497ms 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 #11
Day Hour Count Duration Avg duration Aug 17 12 1 5s356ms 5s356ms 20 1 5s636ms 5s636ms 22 1 5s42ms 5s42ms Aug 18 01 1 5s124ms 5s124ms Aug 19 10 1 5s182ms 5s182ms Aug 20 03 3 16s858ms 5s619ms 04 2 11s347ms 5s673ms 09 3 15s542ms 5s180ms 11 2 11s936ms 5s968ms Aug 21 02 9 49s185ms 5s465ms 08 1 5s902ms 5s902ms 09 1 5s873ms 5s873ms Aug 22 09 1 5s520ms 5s520ms 13 1 5s340ms 5s340ms Aug 23 00 1 5s588ms 5s588ms [ User: pubeu - Total duration: 2m5s - Times executed: 23 ]
-
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 = '1292245' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-08-20 11:25:58 Duration: 6s315ms 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 = '1426667' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-08-21 02:10:34 Duration: 5s960ms 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 = '1309545' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-08-21 08:00:07 Duration: 5s902ms Database: ctdprd51 User: pubeu Bind query: yes
12 2m28s 18 5s120ms 12s833ms 8s228ms 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 #12
Day Hour Count Duration Avg duration Aug 17 08 2 23s643ms 11s821ms Aug 18 01 1 5s590ms 5s590ms 10 2 21s104ms 10s552ms Aug 19 04 1 10s492ms 10s492ms 21 5 27s860ms 5s572ms Aug 20 01 1 5s120ms 5s120ms 08 1 10s361ms 10s361ms 20 1 5s420ms 5s420ms Aug 21 02 2 22s527ms 11s263ms 07 1 5s595ms 5s595ms Aug 22 22 1 10s400ms 10s400ms [ User: pubeu - Total duration: 2m6s - Times executed: 15 ]
-
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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-17 08:27:38 Duration: 12s833ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-21 02:09:31 Duration: 11s570ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-21 02:09:24 Duration: 10s957ms Database: ctdprd51 User: pubeu Bind query: yes
13 1m7s 8 5s14ms 19s277ms 8s468ms 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 #13
Day Hour Count Duration Avg duration Aug 18 07 1 5s20ms 5s20ms 22 1 5s407ms 5s407ms 23 1 19s277ms 19s277ms Aug 19 21 1 5s14ms 5s14ms Aug 20 01 1 5s83ms 5s83ms 03 1 5s529ms 5s529ms 11 1 5s129ms 5s129ms Aug 23 00 1 17s283ms 17s283ms [ User: pubeu - Total duration: 57s202ms - Times executed: 6 ]
-
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 = '1416967') 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 = '1416967') 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-08-18 23:06:05 Duration: 19s277ms 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 = '1416967') 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 = '1416967') 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-08-23 00:47:14 Duration: 17s283ms 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 = '1331306') 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 = '1331306') 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-08-20 03:49:46 Duration: 5s529ms Bind query: yes
14 58s988ms 9 6s354ms 6s799ms 6s554ms 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 d.nm_sort, g.nm_sort;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 18 02 7 46s91ms 6s584ms Aug 19 03 2 12s897ms 6s448ms [ User: pubeu - Total duration: 45s792ms - Times executed: 7 ]
-
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 = '2110136') ORDER BY d.nm_sort, g.nm_sort;
Date: 2025-08-18 02:56:08 Duration: 6s799ms 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 = '2110136') ORDER BY d.nm_sort, g.nm_sort;
Date: 2025-08-18 02:54:38 Duration: 6s736ms 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 = '2110136') ORDER BY d.nm_sort, g.nm_sort;
Date: 2025-08-18 02:57:51 Duration: 6s682ms Database: ctdprd51 User: pubeu Bind query: yes
15 49s188ms 2 24s390ms 24s797ms 24s594ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 23 14 2 49s188ms 24s594ms [ User: pubeu - Total duration: 49s188ms - Times executed: 2 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1239590') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-08-23 14:25:13 Duration: 24s797ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1239590') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-08-23 14:25:17 Duration: 24s390ms Database: ctdprd51 User: pubeu Bind query: yes
16 47s976ms 7 6s623ms 7s243ms 6s853ms vacuum analyze log_query_archive;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 17 00 1 6s821ms 6s821ms Aug 18 00 1 6s623ms 6s623ms Aug 19 00 1 6s822ms 6s822ms Aug 20 00 1 7s243ms 7s243ms Aug 21 00 1 6s875ms 6s875ms Aug 22 00 1 6s794ms 6s794ms Aug 23 00 1 6s795ms 6s795ms -
VACUUM ANALYZE log_query_archive;
Date: 2025-08-20 00:09:29 Duration: 7s243ms
-
VACUUM ANALYZE log_query_archive;
Date: 2025-08-21 00:09:24 Duration: 6s875ms
-
VACUUM ANALYZE log_query_archive;
Date: 2025-08-19 00:09:13 Duration: 6s822ms
17 39s759ms 2 7s58ms 32s700ms 19s879ms 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 #17
Day Hour Count Duration Avg duration Aug 17 08 1 32s700ms 32s700ms Aug 19 02 1 7s58ms 7s58ms [ User: pubeu - Total duration: 39s759ms - Times executed: 2 ]
-
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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3969900;
Date: 2025-08-17 08:44:50 Duration: 32s700ms 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 = '2110136') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 972150;
Date: 2025-08-19 02:54:07 Duration: 7s58ms Database: ctdprd51 User: pubeu Bind query: yes
18 36s897ms 4 9s123ms 9s287ms 9s224ms 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 ? or 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 ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 17 00 4 36s897ms 9s224ms [ User: pubeu - Total duration: 27s773ms - Times executed: 3 ]
-
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', 'SYRINGARESINOL & DIGLUCOSIDE_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SYRINGARESINOL & DIGLUCOSIDE_QT') 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 'SYRINGARESINOL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DIGLUCOSIDE_QT')) 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 'SYRINGARESINOL' OR upper(l.acc_txt) LIKE 'DIGLUCOSIDE_QT')) ii GROUP BY ii.cd;
Date: 2025-08-17 00:01:58 Duration: 9s287ms 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', 'SYRINGARESINOL & DIGLUCOSIDE_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SYRINGARESINOL & DIGLUCOSIDE_QT') 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 'SYRINGARESINOL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DIGLUCOSIDE_QT')) 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 'SYRINGARESINOL' OR upper(l.acc_txt) LIKE 'DIGLUCOSIDE_QT')) ii GROUP BY ii.cd;
Date: 2025-08-17 00:01:53 Duration: 9s261ms 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', 'SYRINGARESINOL & DIGLUCOSIDE_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SYRINGARESINOL & DIGLUCOSIDE_QT') 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 'SYRINGARESINOL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DIGLUCOSIDE_QT')) 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 'SYRINGARESINOL' OR upper(l.acc_txt) LIKE 'DIGLUCOSIDE_QT')) ii GROUP BY ii.cd;
Date: 2025-08-17 00:01:59 Duration: 9s224ms Database: ctdprd51 User: pubeu Bind query: yes
19 36s776ms 2 18s189ms 18s586ms 18s388ms 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 ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or 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 ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 21 07 2 36s776ms 18s388ms [ User: pubeu - Total duration: 36s776ms - Times executed: 2 ]
-
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', 'HTTPS & //CTDBASE.ORG/BASICQUERY.GO & BQCAT=CHEM & (BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29- | BQ=4%2C8A%281H%29PICENEDICARBOXYLIC+ACID%2C+13%28CHLOROMETHYL%292%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14BOCTADECAHYDRO2%2C3DIHYDROXY4%2C6A%2C11%2C11%2C14BPENTAMETHYL%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'HTTPS & //CTDBASE.ORG/BASICQUERY.GO & BQCAT=CHEM &(BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29- | BQ=4%2C8A%281H%29PICENEDICARBOXYLIC+ACID%2C+13%28CHLOROMETHYL%292%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14BOCTADECAHYDRO2%2C3DIHYDROXY4%2C6A%2C11%2C11%2C14BPENTAMETHYL%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29)') 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 'HTTPS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '//CTDBASE.ORG/BASICQUERY.GO' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BQCAT=CHEM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29-' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BQ=4%2C8A%281H%29PICENEDICARBOXYLIC+ACID%2C+13%28CHLOROMETHYL%292%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14BOCTADECAHYDRO2%2C3DIHYDROXY4%2C6A%2C11%2C11%2C14BPENTAMETHYL%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29)')) 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 'HTTPS' OR upper(l.acc_txt) LIKE '//CTDBASE.ORG/BASICQUERY.GO' OR upper(l.acc_txt) LIKE 'BQCAT=CHEM' OR upper(l.acc_txt) LIKE 'BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29-')) ii GROUP BY ii.cd;
Date: 2025-08-21 07:32:47 Duration: 18s586ms 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', 'HTTPS & //CTDBASE.ORG/BASICQUERY.GO & BQCAT=CHEM & (BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29- | BQ=4%2C8A%281H%29PICENEDICARBOXYLIC+ACID%2C+13%28CHLOROMETHYL%292%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14BOCTADECAHYDRO2%2C3DIHYDROXY4%2C6A%2C11%2C11%2C14BPENTAMETHYL%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'HTTPS & //CTDBASE.ORG/BASICQUERY.GO & BQCAT=CHEM &(BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29- | BQ=4%2C8A%281H%29PICENEDICARBOXYLIC+ACID%2C+13%28CHLOROMETHYL%292%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14BOCTADECAHYDRO2%2C3DIHYDROXY4%2C6A%2C11%2C11%2C14BPENTAMETHYL%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29)') 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 'HTTPS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '//CTDBASE.ORG/BASICQUERY.GO' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BQCAT=CHEM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29-' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BQ=4%2C8A%281H%29PICENEDICARBOXYLIC+ACID%2C+13%28CHLOROMETHYL%292%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14BOCTADECAHYDRO2%2C3DIHYDROXY4%2C6A%2C11%2C11%2C14BPENTAMETHYL%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29)')) 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 'HTTPS' OR upper(l.acc_txt) LIKE '//CTDBASE.ORG/BASICQUERY.GO' OR upper(l.acc_txt) LIKE 'BQCAT=CHEM' OR upper(l.acc_txt) LIKE 'BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29-')) ii GROUP BY ii.cd;
Date: 2025-08-21 07:32:49 Duration: 18s189ms Database: ctdprd51 User: pubeu Bind query: yes
20 29s794ms 4 7s122ms 7s794ms 7s448ms 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 ? 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 #20
Day Hour Count Duration Avg duration Aug 19 15 1 7s174ms 7s174ms Aug 20 07 1 7s794ms 7s794ms 15 1 7s702ms 7s702ms Aug 21 06 1 7s122ms 7s122ms [ User: pubeu - Total duration: 29s794ms - Times executed: 4 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where 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 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-08-20 07:03:05 Duration: 7s794ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 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-08-20 15:02:59 Duration: 7s702ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 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-08-19 15:02:55 Duration: 7s174ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 177 21m4s 6s836ms 8s276ms 7s143ms 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 #1
Day Hour Count Duration Avg duration Aug 17 00 1 6s836ms 6s836ms 01 1 7s72ms 7s72ms 02 1 7s99ms 7s99ms 03 1 7s191ms 7s191ms 04 1 7s66ms 7s66ms 05 3 21s245ms 7s81ms 06 1 7s285ms 7s285ms 07 1 7s228ms 7s228ms 08 1 7s160ms 7s160ms 09 1 7s194ms 7s194ms 10 1 6s939ms 6s939ms 11 1 6s982ms 6s982ms 12 1 7s549ms 7s549ms 13 1 7s54ms 7s54ms 14 1 7s75ms 7s75ms 15 1 6s981ms 6s981ms 16 1 7s245ms 7s245ms 17 1 7s224ms 7s224ms 18 1 6s938ms 6s938ms 19 1 7s160ms 7s160ms 20 1 7s179ms 7s179ms 21 1 7s182ms 7s182ms 22 1 6s971ms 6s971ms 23 1 6s996ms 6s996ms Aug 18 00 1 7s31ms 7s31ms 01 1 7s154ms 7s154ms 02 1 7s105ms 7s105ms 05 4 28s434ms 7s108ms 06 1 7s145ms 7s145ms 07 1 7s61ms 7s61ms 08 1 6s980ms 6s980ms 09 1 7s54ms 7s54ms 10 1 7s57ms 7s57ms 11 1 7s13ms 7s13ms 12 1 6s943ms 6s943ms 13 1 7s124ms 7s124ms 14 1 7s48ms 7s48ms 15 1 7s50ms 7s50ms 16 1 7s258ms 7s258ms 17 1 6s996ms 6s996ms 18 1 7s131ms 7s131ms 19 1 7s7ms 7s7ms 20 1 7s54ms 7s54ms 21 1 7s69ms 7s69ms 22 1 7s93ms 7s93ms 23 1 7s191ms 7s191ms Aug 19 00 1 7s483ms 7s483ms 01 1 6s912ms 6s912ms 02 1 7s183ms 7s183ms 03 1 6s985ms 6s985ms 04 1 7s93ms 7s93ms 05 3 21s293ms 7s97ms 06 1 7s232ms 7s232ms 07 1 7s28ms 7s28ms 08 1 7s54ms 7s54ms 09 1 6s927ms 6s927ms 10 1 7s310ms 7s310ms 11 1 6s911ms 6s911ms 12 1 7s112ms 7s112ms 13 1 7s91ms 7s91ms 14 1 8s276ms 8s276ms 16 1 7s409ms 7s409ms 17 1 7s446ms 7s446ms 18 1 7s20ms 7s20ms 19 1 7s101ms 7s101ms 20 1 7s766ms 7s766ms 21 1 7s130ms 7s130ms 22 1 7s309ms 7s309ms 23 1 7s229ms 7s229ms Aug 20 00 1 7s117ms 7s117ms 01 1 7s69ms 7s69ms 02 1 7s650ms 7s650ms 03 1 7s200ms 7s200ms 04 1 7s6ms 7s6ms 05 3 21s231ms 7s77ms 06 1 7s572ms 7s572ms 08 1 7s225ms 7s225ms 09 1 7s373ms 7s373ms 10 1 7s543ms 7s543ms 11 1 7s751ms 7s751ms 12 1 7s243ms 7s243ms 13 1 7s156ms 7s156ms 14 1 7s529ms 7s529ms 16 1 7s102ms 7s102ms 17 1 7s15ms 7s15ms 18 1 7s323ms 7s323ms 19 1 7s454ms 7s454ms 20 1 7s112ms 7s112ms 21 1 7s344ms 7s344ms 22 1 6s916ms 6s916ms 23 1 7s202ms 7s202ms Aug 21 00 1 7s760ms 7s760ms 01 1 7s47ms 7s47ms 02 1 7s225ms 7s225ms 03 1 7s9ms 7s9ms 04 1 6s996ms 6s996ms 05 3 21s541ms 7s180ms 07 1 7s120ms 7s120ms 08 1 7s103ms 7s103ms 09 1 7s257ms 7s257ms 10 1 7s201ms 7s201ms 11 1 7s449ms 7s449ms 12 1 7s271ms 7s271ms 13 1 7s138ms 7s138ms 14 1 7s253ms 7s253ms 15 1 7s8ms 7s8ms 16 1 7s123ms 7s123ms 17 1 7s113ms 7s113ms 18 1 6s949ms 6s949ms 19 1 7s132ms 7s132ms 20 1 7s145ms 7s145ms 21 1 7s199ms 7s199ms 22 1 6s981ms 6s981ms 23 1 6s905ms 6s905ms Aug 22 00 1 7s58ms 7s58ms 01 1 7s184ms 7s184ms 02 1 7s205ms 7s205ms 03 1 6s998ms 6s998ms 04 1 7s160ms 7s160ms 05 3 21s91ms 7s30ms 06 1 7s154ms 7s154ms 07 1 7s352ms 7s352ms 08 1 7s15ms 7s15ms 09 1 7s21ms 7s21ms 10 1 6s997ms 6s997ms 11 1 7s12ms 7s12ms 12 1 7s167ms 7s167ms 13 1 7s117ms 7s117ms 14 1 7s140ms 7s140ms 15 1 7s81ms 7s81ms 16 1 7s113ms 7s113ms 17 1 6s917ms 6s917ms 18 1 7s429ms 7s429ms 19 1 7s200ms 7s200ms 20 1 7s177ms 7s177ms 21 1 7s305ms 7s305ms 22 1 7s116ms 7s116ms 23 1 7s149ms 7s149ms Aug 23 00 1 6s916ms 6s916ms 01 1 7s89ms 7s89ms 02 1 7s214ms 7s214ms 03 1 7s66ms 7s66ms 04 1 7s88ms 7s88ms 05 3 21s191ms 7s63ms 06 1 6s986ms 6s986ms 07 1 7s163ms 7s163ms 08 1 6s930ms 6s930ms 09 1 6s998ms 6s998ms 10 1 7s87ms 7s87ms 11 1 6s964ms 6s964ms 12 1 7s49ms 7s49ms 13 1 7s66ms 7s66ms 14 1 7s230ms 7s230ms 15 1 7s66ms 7s66ms 16 1 6s934ms 6s934ms 17 1 7s191ms 7s191ms 18 1 7s131ms 7s131ms 19 1 7s75ms 7s75ms 20 1 7s125ms 7s125ms 21 1 7s163ms 7s163ms 22 1 7s122ms 7s122ms 23 1 7s136ms 7s136ms [ User: pubeu - Total duration: 1m46s - Times executed: 15 ]
[ User: qaeu - Total duration: 6s993ms - 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-08-19 14:03:15 Duration: 8s276ms 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-08-19 20:03:06 Duration: 7s766ms 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-08-21 00:03:03 Duration: 7s760ms Bind query: yes
2 175 20m53s 6s920ms 8s25ms 7s160ms 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 #2
Day Hour Count Duration Avg duration Aug 17 00 1 7s70ms 7s70ms 01 1 7s190ms 7s190ms 02 1 7s231ms 7s231ms 03 1 7s93ms 7s93ms 04 1 7s162ms 7s162ms 05 3 21s629ms 7s209ms 06 1 7s188ms 7s188ms 07 1 7s84ms 7s84ms 08 1 7s40ms 7s40ms 09 1 7s77ms 7s77ms 10 1 7s77ms 7s77ms 11 1 6s920ms 6s920ms 12 1 7s449ms 7s449ms 13 1 7s22ms 7s22ms 14 1 7s92ms 7s92ms 15 1 7s103ms 7s103ms 16 1 7s36ms 7s36ms 17 1 7s185ms 7s185ms 18 1 6s955ms 6s955ms 19 1 7s120ms 7s120ms 20 1 6s969ms 6s969ms 21 1 7s121ms 7s121ms 22 1 7s158ms 7s158ms 23 1 7s100ms 7s100ms Aug 18 00 1 7s42ms 7s42ms 01 1 7s317ms 7s317ms 02 1 7s88ms 7s88ms 05 4 28s108ms 7s27ms 06 1 7s32ms 7s32ms 07 1 7s251ms 7s251ms 08 1 7s95ms 7s95ms 09 1 7s26ms 7s26ms 10 1 7s154ms 7s154ms 11 1 7s363ms 7s363ms 12 1 7s176ms 7s176ms 13 1 7s108ms 7s108ms 14 1 7s190ms 7s190ms 15 1 7s215ms 7s215ms 16 1 7s316ms 7s316ms 17 1 7s523ms 7s523ms 18 1 7s30ms 7s30ms 19 1 7s169ms 7s169ms 20 1 6s987ms 6s987ms 21 1 7s65ms 7s65ms 22 1 7s105ms 7s105ms 23 1 7s63ms 7s63ms Aug 19 00 1 7s143ms 7s143ms 01 1 7s116ms 7s116ms 02 1 6s938ms 6s938ms 03 1 7s119ms 7s119ms 04 1 7s436ms 7s436ms 05 3 21s165ms 7s55ms 06 1 7s119ms 7s119ms 07 1 7s162ms 7s162ms 08 1 6s954ms 6s954ms 09 1 7s21ms 7s21ms 10 1 6s945ms 6s945ms 11 1 7s174ms 7s174ms 12 1 7s232ms 7s232ms 13 1 7s686ms 7s686ms 14 1 7s147ms 7s147ms 16 1 7s464ms 7s464ms 17 1 8s25ms 8s25ms 18 1 7s542ms 7s542ms 19 1 6s998ms 6s998ms 20 1 7s725ms 7s725ms 21 1 7s216ms 7s216ms 22 1 7s899ms 7s899ms 23 1 7s372ms 7s372ms Aug 20 00 1 7s546ms 7s546ms 01 1 7s269ms 7s269ms 02 1 7s49ms 7s49ms 03 1 7s162ms 7s162ms 04 1 7s778ms 7s778ms 05 3 21s770ms 7s256ms 08 1 7s533ms 7s533ms 09 1 7s299ms 7s299ms 10 1 7s582ms 7s582ms 11 1 7s207ms 7s207ms 12 1 7s481ms 7s481ms 13 1 7s513ms 7s513ms 14 1 7s678ms 7s678ms 16 1 7s193ms 7s193ms 17 1 7s164ms 7s164ms 18 1 7s573ms 7s573ms 19 1 7s372ms 7s372ms 20 1 7s26ms 7s26ms 21 1 6s983ms 6s983ms 22 1 7s390ms 7s390ms 23 1 7s205ms 7s205ms Aug 21 00 1 7s449ms 7s449ms 01 1 7s147ms 7s147ms 02 1 7s5ms 7s5ms 03 1 7s172ms 7s172ms 04 1 7s377ms 7s377ms 05 3 21s300ms 7s100ms 07 1 7s124ms 7s124ms 08 1 7s185ms 7s185ms 09 1 7s128ms 7s128ms 10 1 7s135ms 7s135ms 11 1 6s953ms 6s953ms 12 1 6s991ms 6s991ms 13 1 7s142ms 7s142ms 14 1 7s46ms 7s46ms 15 1 7s112ms 7s112ms 16 1 7s13ms 7s13ms 17 1 7s146ms 7s146ms 18 1 7s109ms 7s109ms 19 1 7s136ms 7s136ms 20 1 7s153ms 7s153ms 21 1 6s967ms 6s967ms 22 1 7s180ms 7s180ms 23 1 6s977ms 6s977ms Aug 22 00 1 7s50ms 7s50ms 01 1 6s998ms 6s998ms 02 1 6s931ms 6s931ms 03 1 7s150ms 7s150ms 04 1 6s939ms 6s939ms 05 3 21s111ms 7s37ms 06 1 7s68ms 7s68ms 07 1 7s447ms 7s447ms 08 1 7s8ms 7s8ms 09 1 6s927ms 6s927ms 10 1 7s60ms 7s60ms 11 1 7s169ms 7s169ms 12 1 7s126ms 7s126ms 13 1 7s79ms 7s79ms 14 1 7s161ms 7s161ms 16 1 7s105ms 7s105ms 17 1 7s86ms 7s86ms 18 1 7s419ms 7s419ms 19 1 6s953ms 6s953ms 20 1 7s123ms 7s123ms 21 1 7s148ms 7s148ms 22 1 7s76ms 7s76ms 23 1 7s60ms 7s60ms Aug 23 00 1 7s56ms 7s56ms 01 1 7s220ms 7s220ms 02 1 7s115ms 7s115ms 03 1 7s180ms 7s180ms 04 1 7s89ms 7s89ms 05 3 21s95ms 7s31ms 06 1 6s973ms 6s973ms 07 1 7s113ms 7s113ms 08 1 7s26ms 7s26ms 09 1 6s962ms 6s962ms 10 1 7s101ms 7s101ms 11 1 7s160ms 7s160ms 12 1 7s22ms 7s22ms 13 1 7s44ms 7s44ms 14 1 7s21ms 7s21ms 15 1 7s82ms 7s82ms 16 1 6s986ms 6s986ms 17 1 7s224ms 7s224ms 18 1 7s25ms 7s25ms 19 1 7s99ms 7s99ms 20 1 7s106ms 7s106ms 21 1 6s991ms 6s991ms 22 1 7s108ms 7s108ms 23 1 7s159ms 7s159ms [ User: pubeu - Total duration: 18m6s - Times executed: 152 ]
[ User: qaeu - Total duration: 42s678ms - Times executed: 6 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-08-19 17:03:04 Duration: 8s25ms 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-08-19 22:03:00 Duration: 7s899ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-08-20 04:03:01 Duration: 7s778ms Database: ctdprd51 User: pubeu Bind query: yes
3 85 18m8s 5s78ms 22s52ms 12s803ms select ? AS "Input", phenotypeterm.nm AS "PhenotypeName", phenotypeterm.acc_txt AS "PhenotypeID", diseaseterm.nm AS "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", ( select string_agg(distinct geneterm.nm, ?) from term geneterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneterm.id and ptr.via_term_object_type_id = ?) AS "GeneInferenceNetwork", ( select string_agg(distinct chemterm.nm, ?) from term chemterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemterm.id and ptr.via_term_object_type_id = ?) AS "ChemInferenceNetwork", ( select string_agg(distinct r.acc_txt, ?) from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where (phenotypeterm.id = ?) and diseaseterm.object_type_id = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 17 14 1 20s747ms 20s747ms 15 3 1m1s 20s646ms 16 7 2m25s 20s809ms 23 1 20s951ms 20s951ms Aug 18 00 3 1m2s 20s958ms 01 7 1m22s 11s783ms 02 11 2m3s 11s233ms 12 6 54s544ms 9s90ms 13 1 5s651ms 5s651ms 14 2 11s695ms 5s847ms 15 1 5s649ms 5s649ms 22 1 5s751ms 5s751ms Aug 19 00 1 5s703ms 5s703ms 01 2 11s422ms 5s711ms 17 2 11s909ms 5s954ms 22 1 5s684ms 5s684ms Aug 21 20 3 39s121ms 13s40ms Aug 22 13 7 1m9s 9s947ms 14 9 1m54s 12s698ms 15 11 2m35s 14s152ms 16 5 1m13s 14s672ms [ User: pubeu - Total duration: 14m23s - Times executed: 64 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1265339) and diseaseTerm.object_type_id = 3;
Date: 2025-08-22 16:01:58 Duration: 22s52ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1265339) and diseaseTerm.object_type_id = 3;
Date: 2025-08-18 01:08:22 Duration: 21s77ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1265339) and diseaseTerm.object_type_id = 3;
Date: 2025-08-17 16:37:26 Duration: 21s70ms Database: ctdprd51 User: pubeu Bind query: yes
4 76 6m29s 5s1ms 5s645ms 5s120ms 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 #4
Day Hour Count Duration Avg duration Aug 17 01 1 5s31ms 5s31ms 03 1 5s92ms 5s92ms 05 1 5s2ms 5s2ms 08 1 5s5ms 5s5ms 11 1 5s8ms 5s8ms 12 1 5s22ms 5s22ms 16 1 5s35ms 5s35ms 17 1 5s8ms 5s8ms 19 1 5s13ms 5s13ms Aug 18 05 3 15s142ms 5s47ms 10 1 5s18ms 5s18ms 12 1 5s4ms 5s4ms 14 1 5s80ms 5s80ms 16 1 5s30ms 5s30ms 18 1 5s119ms 5s119ms 19 1 5s179ms 5s179ms 20 1 5s49ms 5s49ms 21 1 5s113ms 5s113ms 22 1 5s227ms 5s227ms 23 1 5s14ms 5s14ms Aug 19 00 1 5s11ms 5s11ms 01 1 5s169ms 5s169ms 04 1 5s12ms 5s12ms 11 1 5s52ms 5s52ms 13 1 5s78ms 5s78ms 14 1 5s58ms 5s58ms 16 1 5s401ms 5s401ms 17 1 5s482ms 5s482ms 18 1 5s321ms 5s321ms 19 1 5s165ms 5s165ms 20 1 5s162ms 5s162ms 21 1 5s595ms 5s595ms 22 1 5s267ms 5s267ms 23 1 5s134ms 5s134ms Aug 20 01 1 5s186ms 5s186ms 02 1 5s277ms 5s277ms 03 1 5s304ms 5s304ms 04 1 5s53ms 5s53ms 05 3 15s251ms 5s83ms 07 1 5s120ms 5s120ms 08 1 5s81ms 5s81ms 11 1 5s645ms 5s645ms 12 1 5s134ms 5s134ms 15 1 5s90ms 5s90ms 16 1 5s146ms 5s146ms 17 1 5s317ms 5s317ms 18 1 5s125ms 5s125ms 19 1 5s313ms 5s313ms 20 1 5s392ms 5s392ms 23 1 5s57ms 5s57ms Aug 21 00 1 5s92ms 5s92ms 02 1 5s249ms 5s249ms 03 1 5s5ms 5s5ms 05 1 5s169ms 5s169ms 16 1 5s21ms 5s21ms 20 1 5s14ms 5s14ms 21 1 5s62ms 5s62ms Aug 22 05 1 5s134ms 5s134ms 07 1 5s37ms 5s37ms 08 1 5s33ms 5s33ms 09 1 5s51ms 5s51ms 12 1 5s57ms 5s57ms 13 1 5s124ms 5s124ms 18 1 5s118ms 5s118ms 19 1 5s82ms 5s82ms Aug 23 00 1 5s12ms 5s12ms 05 2 10s108ms 5s54ms 17 1 5s73ms 5s73ms 19 1 5s34ms 5s34ms 20 1 5s1ms 5s1ms 21 1 5s65ms 5s65ms [ User: pubeu - Total duration: 6m13s - Times executed: 73 ]
[ User: qaeu - Total duration: 15s250ms - Times executed: 3 ]
-
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 = 1319292)) 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-08-20 11:02:34 Duration: 5s645ms 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 = 1319292)) 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-08-19 21:02:35 Duration: 5s595ms 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 = 1319292)) 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-08-19 17:02:38 Duration: 5s482ms Database: ctdprd51 User: pubeu Bind query: yes
5 39 5m43s 5s54ms 29s28ms 8s794ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 20 03 7 53s497ms 7s642ms 23 1 7s13ms 7s13ms Aug 21 01 1 7s673ms 7s673ms 03 1 29s28ms 29s28ms Aug 23 10 29 4m5s 8s475ms [ User: pubeu - Total duration: 3m41s - Times executed: 24 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'prenatal exposure delayed effects' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2108007) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-21 03:12:08 Duration: 29s28ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d007674' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2110370) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-23 10:09:50 Duration: 23s702ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'hypertension' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2111425) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-20 03:50:26 Duration: 14s512ms Database: ctdprd51 User: pubeu Bind query: yes
6 29 2m39s 5s42ms 6s315ms 5s497ms 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 #6
Day Hour Count Duration Avg duration Aug 17 12 1 5s356ms 5s356ms 20 1 5s636ms 5s636ms 22 1 5s42ms 5s42ms Aug 18 01 1 5s124ms 5s124ms Aug 19 10 1 5s182ms 5s182ms Aug 20 03 3 16s858ms 5s619ms 04 2 11s347ms 5s673ms 09 3 15s542ms 5s180ms 11 2 11s936ms 5s968ms Aug 21 02 9 49s185ms 5s465ms 08 1 5s902ms 5s902ms 09 1 5s873ms 5s873ms Aug 22 09 1 5s520ms 5s520ms 13 1 5s340ms 5s340ms Aug 23 00 1 5s588ms 5s588ms [ User: pubeu - Total duration: 2m5s - Times executed: 23 ]
-
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 = '1292245' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-08-20 11:25:58 Duration: 6s315ms 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 = '1426667' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-08-21 02:10:34 Duration: 5s960ms 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 = '1309545' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-08-21 08:00:07 Duration: 5s902ms Database: ctdprd51 User: pubeu Bind query: yes
7 28 20m25s 6s268ms 5m6s 43s758ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where d.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 21 12 1 8s513ms 8s513ms Aug 22 02 2 36s281ms 18s140ms Aug 23 09 20 12m42s 38s131ms 10 5 6m57s 1m23s [ User: pubeu - Total duration: 8m51s - Times executed: 18 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d004066' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2108371) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-23 10:00:06 Duration: 5m6s Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d009369' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2105591) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-23 09:49:09 Duration: 4m27s Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d002318' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2112418) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-23 09:42:21 Duration: 3m37s Database: ctdprd51 User: pubeu Bind query: yes
8 22 5m29s 5s912ms 36s15ms 14s960ms select ? "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ? || sq.diseaseacc "DiseaseID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" from ( select distinct gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join gene_disease gd on gga.gene_id = gd.gene_id inner join term d on gd.disease_id = d.id inner join term g on gd.gene_id = g.id where gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and gga.is_not = false and gd.curated_reference_qty > ? order by gt.nm_sort, d.nm_sort, g.nm_sort) sq;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 17 15 4 1m 15s175ms 17 18 4m28s 14s913ms [ User: pubeu - Total duration: 1m34s - Times executed: 12 ]
-
SELECT /* BatchGOGenesDAO */ 'protein binding' "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ':' || sq.diseaseacc "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN gene_disease gd ON gga.gene_id = gd.gene_id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN term g ON gd.gene_id = g.id WHERE gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1281329) AND gga.is_not = false AND gd.curated_reference_qty > 0 ORDER BY gt.nm_sort, d.nm_sort, g.nm_sort) sq;
Date: 2025-08-17 17:23:57 Duration: 36s15ms Bind query: yes
-
SELECT /* BatchGOGenesDAO */ 'protein binding' "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ':' || sq.diseaseacc "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN gene_disease gd ON gga.gene_id = gd.gene_id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN term g ON gd.gene_id = g.id WHERE gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1281329) AND gga.is_not = false AND gd.curated_reference_qty > 0 ORDER BY gt.nm_sort, d.nm_sort, g.nm_sort) sq;
Date: 2025-08-17 17:02:59 Duration: 35s633ms Bind query: yes
-
SELECT /* BatchGOGenesDAO */ 'protein binding' "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ':' || sq.diseaseacc "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN gene_disease gd ON gga.gene_id = gd.gene_id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN term g ON gd.gene_id = g.id WHERE gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1281329) AND gga.is_not = false AND gd.curated_reference_qty > 0 ORDER BY gt.nm_sort, d.nm_sort, g.nm_sort) sq;
Date: 2025-08-17 17:26:34 Duration: 35s99ms Bind query: yes
9 18 2m28s 5s120ms 12s833ms 8s228ms 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 #9
Day Hour Count Duration Avg duration Aug 17 08 2 23s643ms 11s821ms Aug 18 01 1 5s590ms 5s590ms 10 2 21s104ms 10s552ms Aug 19 04 1 10s492ms 10s492ms 21 5 27s860ms 5s572ms Aug 20 01 1 5s120ms 5s120ms 08 1 10s361ms 10s361ms 20 1 5s420ms 5s420ms Aug 21 02 2 22s527ms 11s263ms 07 1 5s595ms 5s595ms Aug 22 22 1 10s400ms 10s400ms [ User: pubeu - Total duration: 2m6s - Times executed: 15 ]
-
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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-17 08:27:38 Duration: 12s833ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-21 02:09:31 Duration: 11s570ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-21 02:09:24 Duration: 10s957ms Database: ctdprd51 User: pubeu Bind query: yes
10 12 4m3s 7s382ms 35s489ms 20s293ms 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 #10
Day Hour Count Duration Avg duration Aug 17 08 3 1m44s 34s785ms Aug 18 10 2 1m9s 34s656ms Aug 19 02 3 23s381ms 7s793ms 03 2 14s797ms 7s398ms Aug 20 20 2 31s669ms 15s834ms [ User: pubeu - Total duration: 2m46s - Times executed: 9 ]
-
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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-08-17 08:45:05 Duration: 35s489ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-08-18 10:38:07 Duration: 35s87ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-08-17 08:30:25 Duration: 34s690ms Database: ctdprd51 User: pubeu Bind query: yes
11 9 58s988ms 6s354ms 6s799ms 6s554ms 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 d.nm_sort, g.nm_sort;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 18 02 7 46s91ms 6s584ms Aug 19 03 2 12s897ms 6s448ms [ User: pubeu - Total duration: 45s792ms - Times executed: 7 ]
-
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 = '2110136') ORDER BY d.nm_sort, g.nm_sort;
Date: 2025-08-18 02:56:08 Duration: 6s799ms 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 = '2110136') ORDER BY d.nm_sort, g.nm_sort;
Date: 2025-08-18 02:54:38 Duration: 6s736ms 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 = '2110136') ORDER BY d.nm_sort, g.nm_sort;
Date: 2025-08-18 02:57:51 Duration: 6s682ms Database: ctdprd51 User: pubeu Bind query: yes
12 8 1m7s 5s14ms 19s277ms 8s468ms 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 #12
Day Hour Count Duration Avg duration Aug 18 07 1 5s20ms 5s20ms 22 1 5s407ms 5s407ms 23 1 19s277ms 19s277ms Aug 19 21 1 5s14ms 5s14ms Aug 20 01 1 5s83ms 5s83ms 03 1 5s529ms 5s529ms 11 1 5s129ms 5s129ms Aug 23 00 1 17s283ms 17s283ms [ User: pubeu - Total duration: 57s202ms - Times executed: 6 ]
-
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 = '1416967') 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 = '1416967') 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-08-18 23:06:05 Duration: 19s277ms 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 = '1416967') 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 = '1416967') 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-08-23 00:47:14 Duration: 17s283ms 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 = '1331306') 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 = '1331306') 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-08-20 03:49:46 Duration: 5s529ms Bind query: yes
13 7 1h3m50s 8m58s 9m21s 9m7s select maint_query_logs_archive ();Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 17 00 1 8m58s 8m58s Aug 18 00 1 9m4s 9m4s Aug 19 00 1 9m4s 9m4s Aug 20 00 1 9m21s 9m21s Aug 21 00 1 9m16s 9m16s Aug 22 00 1 9m2s 9m2s Aug 23 00 1 9m3s 9m3s -
/* * 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-08-20 00:09:22 Duration: 9m21s
-
/* * 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-08-21 00:09:17 Duration: 9m16s
-
/* * 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-08-19 00:09:06 Duration: 9m4s
14 7 47s976ms 6s623ms 7s243ms 6s853ms vacuum analyze log_query_archive;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 17 00 1 6s821ms 6s821ms Aug 18 00 1 6s623ms 6s623ms Aug 19 00 1 6s822ms 6s822ms Aug 20 00 1 7s243ms 7s243ms Aug 21 00 1 6s875ms 6s875ms Aug 22 00 1 6s794ms 6s794ms Aug 23 00 1 6s795ms 6s795ms -
VACUUM ANALYZE log_query_archive;
Date: 2025-08-20 00:09:29 Duration: 7s243ms
-
VACUUM ANALYZE log_query_archive;
Date: 2025-08-21 00:09:24 Duration: 6s875ms
-
VACUUM ANALYZE log_query_archive;
Date: 2025-08-19 00:09:13 Duration: 6s822ms
15 5 28s369ms 5s642ms 5s705ms 5s673ms 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 #15
Day Hour Count Duration Avg duration Aug 22 10 2 11s389ms 5s694ms Aug 23 10 3 16s979ms 5s659ms [ User: pubeu - Total duration: 22s707ms - Times executed: 4 ]
-
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', 'CATAPOL_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'CATAPOL_QT') 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 'CATAPOL_QT')) 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 'CATAPOL_QT')) ii GROUP BY ii.cd;
Date: 2025-08-22 10:20:08 Duration: 5s705ms 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', 'CATAPOL_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'CATAPOL_QT') 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 'CATAPOL_QT')) 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 'CATAPOL_QT')) ii GROUP BY ii.cd;
Date: 2025-08-22 10:20:02 Duration: 5s684ms 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', 'BIDENTATOSIDE,II_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'BIDENTATOSIDE,II_QT') 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 'BIDENTATOSIDE,II_QT')) 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 'BIDENTATOSIDE,II_QT')) ii GROUP BY ii.cd;
Date: 2025-08-23 10:58:30 Duration: 5s675ms Database: ctdprd51 User: pubeu Bind query: yes
16 4 4m6s 12s538ms 1m50s 1m1s select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 21 13 4 4m6s 1m1s -
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.DUPE}');
Date: 2025-08-21 13:33:17 Duration: 1m50s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.DUPE}');
Date: 2025-08-21 13:31:08 Duration: 1m49s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=load.TERM_LABEL,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyTermLabel.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyTermLabel.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyTermLabel.txt.DUPE}');
Date: 2025-08-21 13:31:26 Duration: 14s180ms Bind query: yes
17 4 36s897ms 9s123ms 9s287ms 9s224ms 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 ? or 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 ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 17 00 4 36s897ms 9s224ms [ User: pubeu - Total duration: 27s773ms - Times executed: 3 ]
-
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', 'SYRINGARESINOL & DIGLUCOSIDE_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SYRINGARESINOL & DIGLUCOSIDE_QT') 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 'SYRINGARESINOL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DIGLUCOSIDE_QT')) 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 'SYRINGARESINOL' OR upper(l.acc_txt) LIKE 'DIGLUCOSIDE_QT')) ii GROUP BY ii.cd;
Date: 2025-08-17 00:01:58 Duration: 9s287ms 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', 'SYRINGARESINOL & DIGLUCOSIDE_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SYRINGARESINOL & DIGLUCOSIDE_QT') 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 'SYRINGARESINOL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DIGLUCOSIDE_QT')) 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 'SYRINGARESINOL' OR upper(l.acc_txt) LIKE 'DIGLUCOSIDE_QT')) ii GROUP BY ii.cd;
Date: 2025-08-17 00:01:53 Duration: 9s261ms 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', 'SYRINGARESINOL & DIGLUCOSIDE_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SYRINGARESINOL & DIGLUCOSIDE_QT') 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 'SYRINGARESINOL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DIGLUCOSIDE_QT')) 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 'SYRINGARESINOL' OR upper(l.acc_txt) LIKE 'DIGLUCOSIDE_QT')) ii GROUP BY ii.cd;
Date: 2025-08-17 00:01:59 Duration: 9s224ms Database: ctdprd51 User: pubeu Bind query: yes
18 4 29s794ms 7s122ms 7s794ms 7s448ms 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 ? 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 #18
Day Hour Count Duration Avg duration Aug 19 15 1 7s174ms 7s174ms Aug 20 07 1 7s794ms 7s794ms 15 1 7s702ms 7s702ms Aug 21 06 1 7s122ms 7s122ms [ User: pubeu - Total duration: 29s794ms - Times executed: 4 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where 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 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-08-20 07:03:05 Duration: 7s794ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 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-08-20 15:02:59 Duration: 7s702ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 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-08-19 15:02:55 Duration: 7s174ms Database: ctdprd51 User: pubeu Bind query: yes
19 3 28s330ms 5s753ms 11s449ms 9s443ms 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 gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 17 08 3 28s330ms 9s443ms [ User: pubeu - Total duration: 28s330ms - 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 = '2101819') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-17 08:27:46 Duration: 11s449ms 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 = '2101819') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-17 08:27:47 Duration: 11s127ms 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 = '2101819') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-17 08:27:40 Duration: 5s753ms Database: ctdprd51 User: pubeu Bind query: yes
20 3 22s715ms 7s497ms 7s659ms 7s571ms 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 Aug 18 15 1 7s558ms 7s558ms Aug 21 05 1 7s497ms 7s497ms 13 1 7s659ms 7s659ms [ User: pubeu - Total duration: 22s715ms - Times executed: 3 ]
-
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 'PERFLUORO-N-NONANOIC ACID')) 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-08-21 13:35:49 Duration: 7s659ms 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 'DIENESTROL')) 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 500;
Date: 2025-08-18 15:48:45 Duration: 7s558ms 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 'PHLORETIN')) 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-08-21 05:28:30 Duration: 7s497ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 8m58s 9m21s 9m7s 7 1h3m50s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 17 00 1 8m58s 8m58s Aug 18 00 1 9m4s 9m4s Aug 19 00 1 9m4s 9m4s Aug 20 00 1 9m21s 9m21s Aug 21 00 1 9m16s 9m16s Aug 22 00 1 9m2s 9m2s Aug 23 00 1 9m3s 9m3s -
/* * 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-08-20 00:09:22 Duration: 9m21s
-
/* * 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-08-21 00:09:17 Duration: 9m16s
-
/* * 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-08-19 00:09:06 Duration: 9m4s
2 12s538ms 1m50s 1m1s 4 4m6s select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 21 13 4 4m6s 1m1s -
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyDBLink.txt.DUPE}');
Date: 2025-08-21 13:33:17 Duration: 1m50s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaDTXSIDCIDDBLink.txt.DUPE}');
Date: 2025-08-21 13:31:08 Duration: 1m49s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=load.TERM_LABEL,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyTermLabel.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyTermLabel.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/epaINCHIKeyTermLabel.txt.DUPE}');
Date: 2025-08-21 13:31:26 Duration: 14s180ms Bind query: yes
3 6s268ms 5m6s 43s758ms 28 20m25s select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where d.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 21 12 1 8s513ms 8s513ms Aug 22 02 2 36s281ms 18s140ms Aug 23 09 20 12m42s 38s131ms 10 5 6m57s 1m23s [ User: pubeu - Total duration: 8m51s - Times executed: 18 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d004066' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2108371) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-23 10:00:06 Duration: 5m6s Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d009369' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2105591) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-23 09:49:09 Duration: 4m27s Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d002318' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE d.id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 2112418) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-23 09:42:21 Duration: 3m37s Database: ctdprd51 User: pubeu Bind query: yes
4 24s390ms 24s797ms 24s594ms 2 49s188ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 23 14 2 49s188ms 24s594ms [ User: pubeu - Total duration: 49s188ms - Times executed: 2 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1239590') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-08-23 14:25:13 Duration: 24s797ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1239590') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-08-23 14:25:17 Duration: 24s390ms Database: ctdprd51 User: pubeu Bind query: yes
5 7s382ms 35s489ms 20s293ms 12 4m3s 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 #5
Day Hour Count Duration Avg duration Aug 17 08 3 1m44s 34s785ms Aug 18 10 2 1m9s 34s656ms Aug 19 02 3 23s381ms 7s793ms 03 2 14s797ms 7s398ms Aug 20 20 2 31s669ms 15s834ms [ User: pubeu - Total duration: 2m46s - Times executed: 9 ]
-
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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-08-17 08:45:05 Duration: 35s489ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-08-18 10:38:07 Duration: 35s87ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-08-17 08:30:25 Duration: 34s690ms Database: ctdprd51 User: pubeu Bind query: yes
6 7s58ms 32s700ms 19s879ms 2 39s759ms 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 #6
Day Hour Count Duration Avg duration Aug 17 08 1 32s700ms 32s700ms Aug 19 02 1 7s58ms 7s58ms [ User: pubeu - Total duration: 39s759ms - Times executed: 2 ]
-
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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3969900;
Date: 2025-08-17 08:44:50 Duration: 32s700ms 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 = '2110136') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 972150;
Date: 2025-08-19 02:54:07 Duration: 7s58ms Database: ctdprd51 User: pubeu Bind query: yes
7 18s189ms 18s586ms 18s388ms 2 36s776ms 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 ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or 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 ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 21 07 2 36s776ms 18s388ms [ User: pubeu - Total duration: 36s776ms - Times executed: 2 ]
-
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', 'HTTPS & //CTDBASE.ORG/BASICQUERY.GO & BQCAT=CHEM & (BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29- | BQ=4%2C8A%281H%29PICENEDICARBOXYLIC+ACID%2C+13%28CHLOROMETHYL%292%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14BOCTADECAHYDRO2%2C3DIHYDROXY4%2C6A%2C11%2C11%2C14BPENTAMETHYL%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'HTTPS & //CTDBASE.ORG/BASICQUERY.GO & BQCAT=CHEM &(BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29- | BQ=4%2C8A%281H%29PICENEDICARBOXYLIC+ACID%2C+13%28CHLOROMETHYL%292%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14BOCTADECAHYDRO2%2C3DIHYDROXY4%2C6A%2C11%2C11%2C14BPENTAMETHYL%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29)') 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 'HTTPS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '//CTDBASE.ORG/BASICQUERY.GO' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BQCAT=CHEM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29-' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BQ=4%2C8A%281H%29PICENEDICARBOXYLIC+ACID%2C+13%28CHLOROMETHYL%292%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14BOCTADECAHYDRO2%2C3DIHYDROXY4%2C6A%2C11%2C11%2C14BPENTAMETHYL%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29)')) 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 'HTTPS' OR upper(l.acc_txt) LIKE '//CTDBASE.ORG/BASICQUERY.GO' OR upper(l.acc_txt) LIKE 'BQCAT=CHEM' OR upper(l.acc_txt) LIKE 'BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29-')) ii GROUP BY ii.cd;
Date: 2025-08-21 07:32:47 Duration: 18s586ms 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', 'HTTPS & //CTDBASE.ORG/BASICQUERY.GO & BQCAT=CHEM & (BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29- | BQ=4%2C8A%281H%29PICENEDICARBOXYLIC+ACID%2C+13%28CHLOROMETHYL%292%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14BOCTADECAHYDRO2%2C3DIHYDROXY4%2C6A%2C11%2C11%2C14BPENTAMETHYL%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'HTTPS & //CTDBASE.ORG/BASICQUERY.GO & BQCAT=CHEM &(BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29- | BQ=4%2C8A%281H%29PICENEDICARBOXYLIC+ACID%2C+13%28CHLOROMETHYL%292%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14BOCTADECAHYDRO2%2C3DIHYDROXY4%2C6A%2C11%2C11%2C14BPENTAMETHYL%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29)') 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 'HTTPS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '//CTDBASE.ORG/BASICQUERY.GO' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BQCAT=CHEM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29-' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BQ=4%2C8A%281H%29PICENEDICARBOXYLIC+ACID%2C+13%28CHLOROMETHYL%292%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14BOCTADECAHYDRO2%2C3DIHYDROXY4%2C6A%2C11%2C11%2C14BPENTAMETHYL%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29)')) 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 'HTTPS' OR upper(l.acc_txt) LIKE '//CTDBASE.ORG/BASICQUERY.GO' OR upper(l.acc_txt) LIKE 'BQCAT=CHEM' OR upper(l.acc_txt) LIKE 'BQ=4%2C8A%281H%29-PICENEDICARBOXYLIC+ACID%2C+13-%28CHLOROMETHYL%29-2%2C3%2C4%2C4A%2C5%2C6%2C6A%2C7%2C8%2C9%2C10%2C11%2C12%2C12A%2C13%2C14%2C14A%2C14B-OCTADECAHYDRO-2%2C3-DIHYDROXY-4%2C6A%2C11%2C11%2C14B-PENTAMETHYL-%2C+%282S%2C3R%2C4S%2C4AR%2C6AR%2C8AS%2C12AS%2C13S%2C14AR%2C14BR%29-')) ii GROUP BY ii.cd;
Date: 2025-08-21 07:32:49 Duration: 18s189ms Database: ctdprd51 User: pubeu Bind query: yes
8 5s912ms 36s15ms 14s960ms 22 5m29s select ? "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ? || sq.diseaseacc "DiseaseID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" from ( select distinct gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join gene_disease gd on gga.gene_id = gd.gene_id inner join term d on gd.disease_id = d.id inner join term g on gd.gene_id = g.id where gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and gga.is_not = false and gd.curated_reference_qty > ? order by gt.nm_sort, d.nm_sort, g.nm_sort) sq;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 17 15 4 1m 15s175ms 17 18 4m28s 14s913ms [ User: pubeu - Total duration: 1m34s - Times executed: 12 ]
-
SELECT /* BatchGOGenesDAO */ 'protein binding' "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ':' || sq.diseaseacc "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN gene_disease gd ON gga.gene_id = gd.gene_id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN term g ON gd.gene_id = g.id WHERE gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1281329) AND gga.is_not = false AND gd.curated_reference_qty > 0 ORDER BY gt.nm_sort, d.nm_sort, g.nm_sort) sq;
Date: 2025-08-17 17:23:57 Duration: 36s15ms Bind query: yes
-
SELECT /* BatchGOGenesDAO */ 'protein binding' "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ':' || sq.diseaseacc "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN gene_disease gd ON gga.gene_id = gd.gene_id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN term g ON gd.gene_id = g.id WHERE gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1281329) AND gga.is_not = false AND gd.curated_reference_qty > 0 ORDER BY gt.nm_sort, d.nm_sort, g.nm_sort) sq;
Date: 2025-08-17 17:02:59 Duration: 35s633ms Bind query: yes
-
SELECT /* BatchGOGenesDAO */ 'protein binding' "Input", sq.gonm "GoTermName", sq.goacc "GoTermID", sq.diseasenm "DiseaseName", sq.diseaseaccdbcd || ':' || sq.diseaseacc "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = sq.disease_id) "DiseaseCategories", sq.genesymbol "InferenceGeneSymbol" FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_sort, gt.acc_txt goacc, d.id disease_id, d.nm diseasenm, d.nm_sort, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, g.nm genesymbol, g.nm_sort FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN gene_disease gd ON gga.gene_id = gd.gene_id INNER JOIN term d ON gd.disease_id = d.id INNER JOIN term g ON gd.gene_id = g.id WHERE gt.object_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1281329) AND gga.is_not = false AND gd.curated_reference_qty > 0 ORDER BY gt.nm_sort, d.nm_sort, g.nm_sort) sq;
Date: 2025-08-17 17:26:34 Duration: 35s99ms Bind query: yes
9 5s78ms 22s52ms 12s803ms 85 18m8s select ? AS "Input", phenotypeterm.nm AS "PhenotypeName", phenotypeterm.acc_txt AS "PhenotypeID", diseaseterm.nm AS "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", ( select string_agg(distinct geneterm.nm, ?) from term geneterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneterm.id and ptr.via_term_object_type_id = ?) AS "GeneInferenceNetwork", ( select string_agg(distinct chemterm.nm, ?) from term chemterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemterm.id and ptr.via_term_object_type_id = ?) AS "ChemInferenceNetwork", ( select string_agg(distinct r.acc_txt, ?) from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where (phenotypeterm.id = ?) and diseaseterm.object_type_id = ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 17 14 1 20s747ms 20s747ms 15 3 1m1s 20s646ms 16 7 2m25s 20s809ms 23 1 20s951ms 20s951ms Aug 18 00 3 1m2s 20s958ms 01 7 1m22s 11s783ms 02 11 2m3s 11s233ms 12 6 54s544ms 9s90ms 13 1 5s651ms 5s651ms 14 2 11s695ms 5s847ms 15 1 5s649ms 5s649ms 22 1 5s751ms 5s751ms Aug 19 00 1 5s703ms 5s703ms 01 2 11s422ms 5s711ms 17 2 11s909ms 5s954ms 22 1 5s684ms 5s684ms Aug 21 20 3 39s121ms 13s40ms Aug 22 13 7 1m9s 9s947ms 14 9 1m54s 12s698ms 15 11 2m35s 14s152ms 16 5 1m13s 14s672ms [ User: pubeu - Total duration: 14m23s - Times executed: 64 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1265339) and diseaseTerm.object_type_id = 3;
Date: 2025-08-22 16:01:58 Duration: 22s52ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1265339) and diseaseTerm.object_type_id = 3;
Date: 2025-08-18 01:08:22 Duration: 21s77ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'go:0006915' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE (phenotypeTerm.id = 1265339) and diseaseTerm.object_type_id = 3;
Date: 2025-08-17 16:37:26 Duration: 21s70ms Database: ctdprd51 User: pubeu Bind query: yes
10 5s753ms 11s449ms 9s443ms 3 28s330ms 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 gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Aug 17 08 3 28s330ms 9s443ms [ User: pubeu - Total duration: 28s330ms - 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 = '2101819') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-17 08:27:46 Duration: 11s449ms 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 = '2101819') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-17 08:27:47 Duration: 11s127ms 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 = '2101819') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-17 08:27:40 Duration: 5s753ms Database: ctdprd51 User: pubeu Bind query: yes
11 9s123ms 9s287ms 9s224ms 4 36s897ms 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 ? or 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 ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 17 00 4 36s897ms 9s224ms [ User: pubeu - Total duration: 27s773ms - Times executed: 3 ]
-
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', 'SYRINGARESINOL & DIGLUCOSIDE_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SYRINGARESINOL & DIGLUCOSIDE_QT') 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 'SYRINGARESINOL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DIGLUCOSIDE_QT')) 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 'SYRINGARESINOL' OR upper(l.acc_txt) LIKE 'DIGLUCOSIDE_QT')) ii GROUP BY ii.cd;
Date: 2025-08-17 00:01:58 Duration: 9s287ms 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', 'SYRINGARESINOL & DIGLUCOSIDE_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SYRINGARESINOL & DIGLUCOSIDE_QT') 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 'SYRINGARESINOL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DIGLUCOSIDE_QT')) 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 'SYRINGARESINOL' OR upper(l.acc_txt) LIKE 'DIGLUCOSIDE_QT')) ii GROUP BY ii.cd;
Date: 2025-08-17 00:01:53 Duration: 9s261ms 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', 'SYRINGARESINOL & DIGLUCOSIDE_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SYRINGARESINOL & DIGLUCOSIDE_QT') 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 'SYRINGARESINOL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DIGLUCOSIDE_QT')) 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 'SYRINGARESINOL' OR upper(l.acc_txt) LIKE 'DIGLUCOSIDE_QT')) ii GROUP BY ii.cd;
Date: 2025-08-17 00:01:59 Duration: 9s224ms Database: ctdprd51 User: pubeu Bind query: yes
12 5s54ms 29s28ms 8s794ms 39 5m43s select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 20 03 7 53s497ms 7s642ms 23 1 7s13ms 7s13ms Aug 21 01 1 7s673ms 7s673ms 03 1 29s28ms 29s28ms Aug 23 10 29 4m5s 8s475ms [ User: pubeu - Total duration: 3m41s - Times executed: 24 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'prenatal exposure delayed effects' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2108007) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-21 03:12:08 Duration: 29s28ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d007674' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2110370) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-23 10:09:50 Duration: 23s702ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'hypertension' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2111425) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-08-20 03:50:26 Duration: 14s512ms Database: ctdprd51 User: pubeu Bind query: yes
13 5s14ms 19s277ms 8s468ms 8 1m7s 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 #13
Day Hour Count Duration Avg duration Aug 18 07 1 5s20ms 5s20ms 22 1 5s407ms 5s407ms 23 1 19s277ms 19s277ms Aug 19 21 1 5s14ms 5s14ms Aug 20 01 1 5s83ms 5s83ms 03 1 5s529ms 5s529ms 11 1 5s129ms 5s129ms Aug 23 00 1 17s283ms 17s283ms [ User: pubeu - Total duration: 57s202ms - Times executed: 6 ]
-
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 = '1416967') 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 = '1416967') 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-08-18 23:06:05 Duration: 19s277ms 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 = '1416967') 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 = '1416967') 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-08-23 00:47:14 Duration: 17s283ms 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 = '1331306') 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 = '1331306') 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-08-20 03:49:46 Duration: 5s529ms Bind query: yes
14 5s120ms 12s833ms 8s228ms 18 2m28s 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 #14
Day Hour Count Duration Avg duration Aug 17 08 2 23s643ms 11s821ms Aug 18 01 1 5s590ms 5s590ms 10 2 21s104ms 10s552ms Aug 19 04 1 10s492ms 10s492ms 21 5 27s860ms 5s572ms Aug 20 01 1 5s120ms 5s120ms 08 1 10s361ms 10s361ms 20 1 5s420ms 5s420ms Aug 21 02 2 22s527ms 11s263ms 07 1 5s595ms 5s595ms Aug 22 22 1 10s400ms 10s400ms [ User: pubeu - Total duration: 2m6s - Times executed: 15 ]
-
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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-17 08:27:38 Duration: 12s833ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-21 02:09:31 Duration: 11s570ms 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 = '2112418') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-08-21 02:09:24 Duration: 10s957ms Database: ctdprd51 User: pubeu Bind query: yes
15 7s497ms 7s659ms 7s571ms 3 22s715ms 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 #15
Day Hour Count Duration Avg duration Aug 18 15 1 7s558ms 7s558ms Aug 21 05 1 7s497ms 7s497ms 13 1 7s659ms 7s659ms [ User: pubeu - Total duration: 22s715ms - Times executed: 3 ]
-
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 'PERFLUORO-N-NONANOIC ACID')) 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-08-21 13:35:49 Duration: 7s659ms 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 'DIENESTROL')) 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 500;
Date: 2025-08-18 15:48:45 Duration: 7s558ms 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 'PHLORETIN')) 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-08-21 05:28:30 Duration: 7s497ms Database: ctdprd51 User: pubeu Bind query: yes
16 7s122ms 7s794ms 7s448ms 4 29s794ms 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 ? 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 #16
Day Hour Count Duration Avg duration Aug 19 15 1 7s174ms 7s174ms Aug 20 07 1 7s794ms 7s794ms 15 1 7s702ms 7s702ms Aug 21 06 1 7s122ms 7s122ms [ User: pubeu - Total duration: 29s794ms - Times executed: 4 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where 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 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-08-20 07:03:05 Duration: 7s794ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 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-08-20 15:02:59 Duration: 7s702ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 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-08-19 15:02:55 Duration: 7s174ms Database: ctdprd51 User: pubeu Bind query: yes
17 6s920ms 8s25ms 7s160ms 175 20m53s 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 #17
Day Hour Count Duration Avg duration Aug 17 00 1 7s70ms 7s70ms 01 1 7s190ms 7s190ms 02 1 7s231ms 7s231ms 03 1 7s93ms 7s93ms 04 1 7s162ms 7s162ms 05 3 21s629ms 7s209ms 06 1 7s188ms 7s188ms 07 1 7s84ms 7s84ms 08 1 7s40ms 7s40ms 09 1 7s77ms 7s77ms 10 1 7s77ms 7s77ms 11 1 6s920ms 6s920ms 12 1 7s449ms 7s449ms 13 1 7s22ms 7s22ms 14 1 7s92ms 7s92ms 15 1 7s103ms 7s103ms 16 1 7s36ms 7s36ms 17 1 7s185ms 7s185ms 18 1 6s955ms 6s955ms 19 1 7s120ms 7s120ms 20 1 6s969ms 6s969ms 21 1 7s121ms 7s121ms 22 1 7s158ms 7s158ms 23 1 7s100ms 7s100ms Aug 18 00 1 7s42ms 7s42ms 01 1 7s317ms 7s317ms 02 1 7s88ms 7s88ms 05 4 28s108ms 7s27ms 06 1 7s32ms 7s32ms 07 1 7s251ms 7s251ms 08 1 7s95ms 7s95ms 09 1 7s26ms 7s26ms 10 1 7s154ms 7s154ms 11 1 7s363ms 7s363ms 12 1 7s176ms 7s176ms 13 1 7s108ms 7s108ms 14 1 7s190ms 7s190ms 15 1 7s215ms 7s215ms 16 1 7s316ms 7s316ms 17 1 7s523ms 7s523ms 18 1 7s30ms 7s30ms 19 1 7s169ms 7s169ms 20 1 6s987ms 6s987ms 21 1 7s65ms 7s65ms 22 1 7s105ms 7s105ms 23 1 7s63ms 7s63ms Aug 19 00 1 7s143ms 7s143ms 01 1 7s116ms 7s116ms 02 1 6s938ms 6s938ms 03 1 7s119ms 7s119ms 04 1 7s436ms 7s436ms 05 3 21s165ms 7s55ms 06 1 7s119ms 7s119ms 07 1 7s162ms 7s162ms 08 1 6s954ms 6s954ms 09 1 7s21ms 7s21ms 10 1 6s945ms 6s945ms 11 1 7s174ms 7s174ms 12 1 7s232ms 7s232ms 13 1 7s686ms 7s686ms 14 1 7s147ms 7s147ms 16 1 7s464ms 7s464ms 17 1 8s25ms 8s25ms 18 1 7s542ms 7s542ms 19 1 6s998ms 6s998ms 20 1 7s725ms 7s725ms 21 1 7s216ms 7s216ms 22 1 7s899ms 7s899ms 23 1 7s372ms 7s372ms Aug 20 00 1 7s546ms 7s546ms 01 1 7s269ms 7s269ms 02 1 7s49ms 7s49ms 03 1 7s162ms 7s162ms 04 1 7s778ms 7s778ms 05 3 21s770ms 7s256ms 08 1 7s533ms 7s533ms 09 1 7s299ms 7s299ms 10 1 7s582ms 7s582ms 11 1 7s207ms 7s207ms 12 1 7s481ms 7s481ms 13 1 7s513ms 7s513ms 14 1 7s678ms 7s678ms 16 1 7s193ms 7s193ms 17 1 7s164ms 7s164ms 18 1 7s573ms 7s573ms 19 1 7s372ms 7s372ms 20 1 7s26ms 7s26ms 21 1 6s983ms 6s983ms 22 1 7s390ms 7s390ms 23 1 7s205ms 7s205ms Aug 21 00 1 7s449ms 7s449ms 01 1 7s147ms 7s147ms 02 1 7s5ms 7s5ms 03 1 7s172ms 7s172ms 04 1 7s377ms 7s377ms 05 3 21s300ms 7s100ms 07 1 7s124ms 7s124ms 08 1 7s185ms 7s185ms 09 1 7s128ms 7s128ms 10 1 7s135ms 7s135ms 11 1 6s953ms 6s953ms 12 1 6s991ms 6s991ms 13 1 7s142ms 7s142ms 14 1 7s46ms 7s46ms 15 1 7s112ms 7s112ms 16 1 7s13ms 7s13ms 17 1 7s146ms 7s146ms 18 1 7s109ms 7s109ms 19 1 7s136ms 7s136ms 20 1 7s153ms 7s153ms 21 1 6s967ms 6s967ms 22 1 7s180ms 7s180ms 23 1 6s977ms 6s977ms Aug 22 00 1 7s50ms 7s50ms 01 1 6s998ms 6s998ms 02 1 6s931ms 6s931ms 03 1 7s150ms 7s150ms 04 1 6s939ms 6s939ms 05 3 21s111ms 7s37ms 06 1 7s68ms 7s68ms 07 1 7s447ms 7s447ms 08 1 7s8ms 7s8ms 09 1 6s927ms 6s927ms 10 1 7s60ms 7s60ms 11 1 7s169ms 7s169ms 12 1 7s126ms 7s126ms 13 1 7s79ms 7s79ms 14 1 7s161ms 7s161ms 16 1 7s105ms 7s105ms 17 1 7s86ms 7s86ms 18 1 7s419ms 7s419ms 19 1 6s953ms 6s953ms 20 1 7s123ms 7s123ms 21 1 7s148ms 7s148ms 22 1 7s76ms 7s76ms 23 1 7s60ms 7s60ms Aug 23 00 1 7s56ms 7s56ms 01 1 7s220ms 7s220ms 02 1 7s115ms 7s115ms 03 1 7s180ms 7s180ms 04 1 7s89ms 7s89ms 05 3 21s95ms 7s31ms 06 1 6s973ms 6s973ms 07 1 7s113ms 7s113ms 08 1 7s26ms 7s26ms 09 1 6s962ms 6s962ms 10 1 7s101ms 7s101ms 11 1 7s160ms 7s160ms 12 1 7s22ms 7s22ms 13 1 7s44ms 7s44ms 14 1 7s21ms 7s21ms 15 1 7s82ms 7s82ms 16 1 6s986ms 6s986ms 17 1 7s224ms 7s224ms 18 1 7s25ms 7s25ms 19 1 7s99ms 7s99ms 20 1 7s106ms 7s106ms 21 1 6s991ms 6s991ms 22 1 7s108ms 7s108ms 23 1 7s159ms 7s159ms [ User: pubeu - Total duration: 18m6s - Times executed: 152 ]
[ User: qaeu - Total duration: 42s678ms - Times executed: 6 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-08-19 17:03:04 Duration: 8s25ms 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-08-19 22:03:00 Duration: 7s899ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and ptr.term_object_type_id = 2 and ptr.phenotype_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5))) and taxonTerm.id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-08-20 04:03:01 Duration: 7s778ms Database: ctdprd51 User: pubeu Bind query: yes
18 6s836ms 8s276ms 7s143ms 177 21m4s 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 #18
Day Hour Count Duration Avg duration Aug 17 00 1 6s836ms 6s836ms 01 1 7s72ms 7s72ms 02 1 7s99ms 7s99ms 03 1 7s191ms 7s191ms 04 1 7s66ms 7s66ms 05 3 21s245ms 7s81ms 06 1 7s285ms 7s285ms 07 1 7s228ms 7s228ms 08 1 7s160ms 7s160ms 09 1 7s194ms 7s194ms 10 1 6s939ms 6s939ms 11 1 6s982ms 6s982ms 12 1 7s549ms 7s549ms 13 1 7s54ms 7s54ms 14 1 7s75ms 7s75ms 15 1 6s981ms 6s981ms 16 1 7s245ms 7s245ms 17 1 7s224ms 7s224ms 18 1 6s938ms 6s938ms 19 1 7s160ms 7s160ms 20 1 7s179ms 7s179ms 21 1 7s182ms 7s182ms 22 1 6s971ms 6s971ms 23 1 6s996ms 6s996ms Aug 18 00 1 7s31ms 7s31ms 01 1 7s154ms 7s154ms 02 1 7s105ms 7s105ms 05 4 28s434ms 7s108ms 06 1 7s145ms 7s145ms 07 1 7s61ms 7s61ms 08 1 6s980ms 6s980ms 09 1 7s54ms 7s54ms 10 1 7s57ms 7s57ms 11 1 7s13ms 7s13ms 12 1 6s943ms 6s943ms 13 1 7s124ms 7s124ms 14 1 7s48ms 7s48ms 15 1 7s50ms 7s50ms 16 1 7s258ms 7s258ms 17 1 6s996ms 6s996ms 18 1 7s131ms 7s131ms 19 1 7s7ms 7s7ms 20 1 7s54ms 7s54ms 21 1 7s69ms 7s69ms 22 1 7s93ms 7s93ms 23 1 7s191ms 7s191ms Aug 19 00 1 7s483ms 7s483ms 01 1 6s912ms 6s912ms 02 1 7s183ms 7s183ms 03 1 6s985ms 6s985ms 04 1 7s93ms 7s93ms 05 3 21s293ms 7s97ms 06 1 7s232ms 7s232ms 07 1 7s28ms 7s28ms 08 1 7s54ms 7s54ms 09 1 6s927ms 6s927ms 10 1 7s310ms 7s310ms 11 1 6s911ms 6s911ms 12 1 7s112ms 7s112ms 13 1 7s91ms 7s91ms 14 1 8s276ms 8s276ms 16 1 7s409ms 7s409ms 17 1 7s446ms 7s446ms 18 1 7s20ms 7s20ms 19 1 7s101ms 7s101ms 20 1 7s766ms 7s766ms 21 1 7s130ms 7s130ms 22 1 7s309ms 7s309ms 23 1 7s229ms 7s229ms Aug 20 00 1 7s117ms 7s117ms 01 1 7s69ms 7s69ms 02 1 7s650ms 7s650ms 03 1 7s200ms 7s200ms 04 1 7s6ms 7s6ms 05 3 21s231ms 7s77ms 06 1 7s572ms 7s572ms 08 1 7s225ms 7s225ms 09 1 7s373ms 7s373ms 10 1 7s543ms 7s543ms 11 1 7s751ms 7s751ms 12 1 7s243ms 7s243ms 13 1 7s156ms 7s156ms 14 1 7s529ms 7s529ms 16 1 7s102ms 7s102ms 17 1 7s15ms 7s15ms 18 1 7s323ms 7s323ms 19 1 7s454ms 7s454ms 20 1 7s112ms 7s112ms 21 1 7s344ms 7s344ms 22 1 6s916ms 6s916ms 23 1 7s202ms 7s202ms Aug 21 00 1 7s760ms 7s760ms 01 1 7s47ms 7s47ms 02 1 7s225ms 7s225ms 03 1 7s9ms 7s9ms 04 1 6s996ms 6s996ms 05 3 21s541ms 7s180ms 07 1 7s120ms 7s120ms 08 1 7s103ms 7s103ms 09 1 7s257ms 7s257ms 10 1 7s201ms 7s201ms 11 1 7s449ms 7s449ms 12 1 7s271ms 7s271ms 13 1 7s138ms 7s138ms 14 1 7s253ms 7s253ms 15 1 7s8ms 7s8ms 16 1 7s123ms 7s123ms 17 1 7s113ms 7s113ms 18 1 6s949ms 6s949ms 19 1 7s132ms 7s132ms 20 1 7s145ms 7s145ms 21 1 7s199ms 7s199ms 22 1 6s981ms 6s981ms 23 1 6s905ms 6s905ms Aug 22 00 1 7s58ms 7s58ms 01 1 7s184ms 7s184ms 02 1 7s205ms 7s205ms 03 1 6s998ms 6s998ms 04 1 7s160ms 7s160ms 05 3 21s91ms 7s30ms 06 1 7s154ms 7s154ms 07 1 7s352ms 7s352ms 08 1 7s15ms 7s15ms 09 1 7s21ms 7s21ms 10 1 6s997ms 6s997ms 11 1 7s12ms 7s12ms 12 1 7s167ms 7s167ms 13 1 7s117ms 7s117ms 14 1 7s140ms 7s140ms 15 1 7s81ms 7s81ms 16 1 7s113ms 7s113ms 17 1 6s917ms 6s917ms 18 1 7s429ms 7s429ms 19 1 7s200ms 7s200ms 20 1 7s177ms 7s177ms 21 1 7s305ms 7s305ms 22 1 7s116ms 7s116ms 23 1 7s149ms 7s149ms Aug 23 00 1 6s916ms 6s916ms 01 1 7s89ms 7s89ms 02 1 7s214ms 7s214ms 03 1 7s66ms 7s66ms 04 1 7s88ms 7s88ms 05 3 21s191ms 7s63ms 06 1 6s986ms 6s986ms 07 1 7s163ms 7s163ms 08 1 6s930ms 6s930ms 09 1 6s998ms 6s998ms 10 1 7s87ms 7s87ms 11 1 6s964ms 6s964ms 12 1 7s49ms 7s49ms 13 1 7s66ms 7s66ms 14 1 7s230ms 7s230ms 15 1 7s66ms 7s66ms 16 1 6s934ms 6s934ms 17 1 7s191ms 7s191ms 18 1 7s131ms 7s131ms 19 1 7s75ms 7s75ms 20 1 7s125ms 7s125ms 21 1 7s163ms 7s163ms 22 1 7s122ms 7s122ms 23 1 7s136ms 7s136ms [ User: pubeu - Total duration: 1m46s - Times executed: 15 ]
[ User: qaeu - Total duration: 6s993ms - 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-08-19 14:03:15 Duration: 8s276ms 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-08-19 20:03:06 Duration: 7s766ms 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-08-21 00:03:03 Duration: 7s760ms Bind query: yes
19 6s623ms 7s243ms 6s853ms 7 47s976ms vacuum analyze log_query_archive;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 17 00 1 6s821ms 6s821ms Aug 18 00 1 6s623ms 6s623ms Aug 19 00 1 6s822ms 6s822ms Aug 20 00 1 7s243ms 7s243ms Aug 21 00 1 6s875ms 6s875ms Aug 22 00 1 6s794ms 6s794ms Aug 23 00 1 6s795ms 6s795ms -
VACUUM ANALYZE log_query_archive;
Date: 2025-08-20 00:09:29 Duration: 7s243ms
-
VACUUM ANALYZE log_query_archive;
Date: 2025-08-21 00:09:24 Duration: 6s875ms
-
VACUUM ANALYZE log_query_archive;
Date: 2025-08-19 00:09:13 Duration: 6s822ms
20 6s354ms 6s799ms 6s554ms 9 58s988ms 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 d.nm_sort, g.nm_sort;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 18 02 7 46s91ms 6s584ms Aug 19 03 2 12s897ms 6s448ms [ User: pubeu - Total duration: 45s792ms - Times executed: 7 ]
-
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 = '2110136') ORDER BY d.nm_sort, g.nm_sort;
Date: 2025-08-18 02:56:08 Duration: 6s799ms 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 = '2110136') ORDER BY d.nm_sort, g.nm_sort;
Date: 2025-08-18 02:54:38 Duration: 6s736ms 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 = '2110136') ORDER BY d.nm_sort, g.nm_sort;
Date: 2025-08-18 02:57:51 Duration: 6s682ms Database: ctdprd51 User: pubeu 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 12 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Aug 20 06 2 0ms 0ms Aug 21 07 4 0ms 0ms Aug 22 13 3 0ms 0ms 15 3 0ms 0ms [ User: pubeu - Total duration: 1m40s - Times executed: 9 ]
-
;
Date: Duration: 0ms Database: postgres
-
Events
Log levels
Key values
- 119,596 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 9 FATAL entries
- 17 ERROR entries
- 0 WARNING entries
- 6 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 12 Max number of times the same event was reported
- 32 Total events found
Rank Times reported Error 1 12 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #1
Day Hour Count Aug 17 01 3 Aug 18 23 1 Aug 20 04 8 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* GeneIdBySymbolAccDAO */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li INNER JOIN term_label_type lti ON li.term_label_type_id = lti.id AND li.object_type_id = lti.object_type_id AND UPPER(li.nm) = $1 AND lti.object_type_id = 4 AND lti.nm = 'SYMBOL' UNION SELECT l.object_id FROM db_link l WHERE l.acc_txt = $2 AND l.object_type_id = 4 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2025-08-17 01:23:47
2 9 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #2
Day Hour Count Aug 18 03 1 04 5 05 1 10 1 11 1 3 5 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #3
Day Hour Count Aug 19 18 3 Aug 21 21 1 Aug 22 20 1 4 2 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #4
Day Hour Count Aug 21 13 1 Aug 22 11 1 - ERROR: column "term_label_type_id" does not exist at character 34
- ERROR: column "action_type" does not exist at character 8
Statement: select * from edit.db_link where term_label_type_id = 38 limit 100
Date: 2025-08-21 13:33:27
Statement: select action_type from ixn_type where ixn_type_id = 1
Date: 2025-08-22 11:44:49 Database: ctdprd51 Application: pgAdmin 4 - CONN:3997196 User: edit Remote:
5 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #5
Day Hour Count Aug 18 11 1 6 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Aug 18 07 1 - ERROR: duplicate key value violates unique constraint "ixn_action_pk"
Detail: Key (ixn_id, action_type_id, action_degree_type_id)=(9204072, 2, 1) already exists.
Context: SQL statement "INSERT INTO edit.ixn_action (ixn_id ,action_type_id ,action_degree_type_id ,position_seq ,create_by ,mod_by ,create_tm ,mod_tm ) VALUES (p_ixn_id ,p_action_type_id ,p_action_degree_type_id ,p_position_seq ,p_create_by ,p_mod_by ,p_create_tm ,p_mod_tm )" PL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 9 at SQL statementPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function upd_ixn_root_id(integer,integer) line 14 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_reference_ixn(character varying,integer,integer,character varying,integer,character varying,character varying,character varying,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 42 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 14 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 21 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 31 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 43 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 50 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 55 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 14 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 21 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 31 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 43 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 50 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 55 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function upd_ixn_root_id(integer,integer) line 14 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_reference_ixn(character varying,integer,integer,character varying,integer,character varying,character varying,character varying,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 42 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 14 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 21 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 31 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 43 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 50 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 55 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 14 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 21 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 31 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 43 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 50 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 55 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function upd_ixn_root_id(integer,integer) line 14 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_reference_ixn(character varying,integer,integer,character varying,integer,character varying,character varying,character varying,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 42 at RAISE
Statement: select * from edit.ins_ixn_action($1, $2, $3, $4, $5, $6, $7, $8) as resultDate: 2025-08-18 07:06:26
7 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #7
Day Hour Count Aug 21 13 1 - ERROR: relation "db_link" does not exist at character 15
Statement: select * from db_link where term_label_type_id = 38 limit 100
Date: 2025-08-21 13:33:16 Database: ctdprd51 Application: pgAdmin 4 - CONN:3657194 User: load Remote:
8 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #8
Day Hour Count Aug 22 04 1 - ERROR: syntax error at or near ")" at character 4937
Statement: select distinct e.reference_acc_txt as "Reference", pref.abbr_authors_txt as "Author", referenceExp.author_summary as "AuthorSummary", (Select STRING_AGG( distinct eventproject.project_nm, '|')) as "AssociatedStudyTitles", eevent.collection_start_yr as "EnrollmentStartYear", eevent.collection_end_yr as "EnrollmentEndYear", (Select STRING_AGG( distinct studyFactor.nm, '|')) as "StudyFactors", (Select STRING_AGG(distinct stressorSrcType.nm, '|')) as "StressorSourceCategory", stressor.chem_term_nm as "ExposureStressorName", stressor.src_details as "StressorSourceDetails", stressor.sample_qty as "NumberOfStressorSamples", stressor.note as "StressorNotes", ereceptor.qty as "NumberOfReceptors", ereceptor.description as "Receptors", ereceptor.term_nm as "ReceptorDescription", ereceptor.term_acc_txt as "ReceptorID", ereceptor.note as "ReceptorNotes", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' || tobaccoUse.nm, COALESCE(COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' , tobaccoUse.nm)), '|')) as "SmokingStatus", ereceptor.age || ' ' || age_uom.nm as "Age", age_qualifier.nm as "AgeQualifier", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(pct as int),0)) || '% ' || gender.nm, COALESCE(COALESCE(NULLIF(CAST(pct as int),0)) || '% ' , gender.nm)), '|') from exp_receptor_gender expgender left outer join gender on expgender.gender_id=gender.id where exp_receptor_id = ereceptor.id ) as "Sex", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' || race.nm, COALESCE(COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' , race.nm)), '|')) as "Race", (Select STRING_AGG( distinct eventAssayMethod.nm, '|')) as "Methods" , eevent.detection_limit as "DetectionLimit", eevent.detection_limit_uom as "DetectionLimitUnitsOfMeasurement", eevent.detection_freq as "DetectionFrequency", emedium.nm as "Medium", eevent.exp_marker_term_nm as "ExposureMarker", eevent.exp_marker_lvl as "MarkerLevel", eevent.assay_uom as "MarkerUnitsOfMeasurement", eevent.assay_measurement_stat as "MarkerMeasurementStatistic", eevent.assay_note as "AssayNotes", (Select STRING_AGG( distinct country.nm, '|')) as "StudyCountries", (Select STRING_AGG( distinct eventLocation.geographic_region_nm, '|')) as "StateOrProvince", (Select STRING_AGG( distinct eventLocation.locality_txt, '|')) as "CityTownRegionOrArea", eevent.note as "ExposureEventNotes", eiot.description as "OutcomeRelationship", outcome.disease_term_nm as "DiseaseName", outcome.phenotype_action_degree_type_nm as "PhenotypeActionDegreeType", outcome.phenotype_term_nm as "PhenotypeName", (Select STRING_AGG( distinct expAnatomy.anatomy_term_nm, '|')) as "Anatomy", outcome.note as "ExposureOutcomeNotes" from exposure e left outer join reference pref on pref.acc_txt = e.reference_acc_txt left outer join reference_exp referenceExp on referenceExp.reference_acc_txt = e.reference_acc_txt left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id left outer join study_factor studyFactor on studyFactor.id = expStudyFactor.study_factor_id left outer join exp_event_project eventproject on eventproject.exp_event_id = e.exp_event_id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor ereceptor on e.exp_receptor_id = ereceptor.id left outer join age_uom age_uom on ereceptor.age_uom_id = age_uom.id left outer join age_qualifier age_qualifier on ereceptor.age_qualifier_id = age_qualifier.id left outer join exp_event eevent on e.exp_event_id = eevent.id left outer join medium emedium on eevent.medium_id = emedium.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType on esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse on ereceptor.id = receptorTobaccoUse.exp_receptor_id left outer join tobacco_use tobaccoUse on receptorTobaccoUse.tobacco_use_id = tobaccoUse.id left outer join exp_receptor_race receptorRace on ereceptor.id = receptorRace.exp_receptor_id left outer join race race on receptorRace.race_id = race.id left outer join exp_event_location eventLocation on eevent.id = eventLocation.exp_event_id left outer join country on eventLocation.country_id = country.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join exp_anatomy expAnatomy on outcome.id = expAnatomy.exp_outcome_id left outer join exp_event_assay_method eventAssayMethod on eevent.id = eventAssayMethod.exp_event_id where stressor.chem_acc_txt in ( select acc_txt from term where id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( ))) or eevent.exp_marker_acc_txt in ( select acc_txt from term where id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( ))) group by "Reference", "Author", "AuthorSummary", "EnrollmentStartYear", "EnrollmentEndYear", "ExposureStressorName", "StressorSourceDetails", "NumberOfStressorSamples", "StressorNotes", "NumberOfReceptors", "Receptors", "ReceptorDescription", "ReceptorID", "ReceptorNotes", "Age", "AgeQualifier", "DetectionLimit", "DetectionLimitUnitsOfMeasurement", "DetectionFrequency", "Medium", "ExposureMarker", "MarkerLevel", "MarkerUnitsOfMeasurement", "MarkerMeasurementStatistic", "AssayNotes", "ExposureEventNotes", "OutcomeRelationship", "DiseaseName", "PhenotypeActionDegreeType", "PhenotypeName", "ExposureOutcomeNotes", ereceptor.id, eventLocation.exp_event_id
Date: 2025-08-22 04:07:17 Database: ctdprd51 Application: User: pubeu Remote: