-
Global information
- Generated on Sun Apr 6 04:15:23 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250405
- Parsed 685,219 log entries in 22s
- Log start from 2025-03-30 00:00:01 to 2025-04-05 23:56:53
-
Overview
Global Stats
- 495 Number of unique normalized queries
- 32,049 Number of queries
- 1d14h51m29s Total query duration
- 2025-03-30 00:00:34 First query
- 2025-04-05 23:56:19 Last query
- 17 queries/s at 2025-03-31 23:42:47 Query peak
- 1d14h51m29s Total query duration
- 1h14m1s Prepare/parse total duration
- 9m53s Bind total duration
- 1d13h27m35s Execute total duration
- 526 Number of events
- 18 Number of unique normalized events
- 121 Max number of times the same event was reported
- 0 Number of cancellation
- 94 Total number of automatic vacuums
- 256 Total number of automatic analyzes
- 40 Number temporary file
- 151.66 MiB Max size of temporary file
- 109.67 MiB Average size of temporary file
- 68,239 Total number of sessions
- 106 sessions at 2025-04-04 23:28:52 Session peak
- 370d21h11m11s Total duration of sessions
- 7m49s Average duration of sessions
- 0 Average queries per session
- 2s49ms Average queries duration per session
- 7m47s Average idle time per session
- 68,360 Total number of connections
- 117 connections/s at 2025-04-04 04:52:20 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 17 queries/s Query Peak
- 2025-03-31 23:42:47 Date
SELECT Traffic
Key values
- 17 queries/s Query Peak
- 2025-03-31 23:42:47 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 5 queries/s Query Peak
- 2025-04-04 23:05:21 Date
Queries duration
Key values
- 1d14h51m29s 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) Mar 30 00 13 0ms 29m23s 2m18s 3s196ms 4s197ms 29m30s 01 21 0ms 5s241ms 1s653ms 2s469ms 2s929ms 5s241ms 02 30 0ms 16s169ms 2s994ms 3s112ms 7s821ms 32s576ms 03 23 0ms 12s245ms 4s280ms 4s555ms 11s799ms 24s86ms 04 22 0ms 5s685ms 1s598ms 2s773ms 4s911ms 5s685ms 05 88 0ms 48s358ms 2s784ms 15s226ms 24s813ms 48s358ms 06 39 0ms 51s220ms 4s959ms 8s48ms 39s986ms 51s220ms 07 31 0ms 4m32s 43s426ms 7s817ms 4m17s 4m32s 08 20 0ms 4s872ms 2s74ms 2s451ms 4s856ms 6s118ms 09 50 0ms 8m12s 13s24ms 9s184ms 13s310ms 8m13s 10 23 0ms 51s525ms 7s191ms 9s5ms 24s224ms 51s525ms 11 30 0ms 4s551ms 2s472ms 6s439ms 8s922ms 11s931ms 12 12 0ms 3s455ms 1s510ms 1s381ms 1s704ms 3s455ms 13 15 0ms 10s287ms 2s191ms 1s333ms 1s668ms 13s961ms 14 33 0ms 51s920ms 5s756ms 13s498ms 25s431ms 53s141ms 15 19 0ms 10s42ms 2s76ms 1s868ms 5s159ms 10s42ms 16 20 0ms 10s196ms 1s941ms 1s922ms 3s408ms 10s196ms 17 21 0ms 11s233ms 2s671ms 3s963ms 5s375ms 11s233ms 18 51 0ms 51s385ms 4s755ms 8s973ms 24s107ms 56s341ms 19 10 0ms 4s31ms 1s769ms 1s318ms 2s29ms 5s205ms 20 15 0ms 4s150ms 1s767ms 2s473ms 2s626ms 5s194ms 21 27 0ms 10s723ms 2s948ms 6s424ms 7s862ms 10s723ms 22 37 0ms 6s173ms 2s727ms 6s173ms 6s892ms 12s606ms 23 63 0ms 7s747ms 1s670ms 4s172ms 5s188ms 7s747ms Mar 31 00 39 0ms 30m3s 47s938ms 2s692ms 5s950ms 30m11s 01 20 0ms 5s85ms 2s168ms 4s289ms 4s415ms 5s85ms 02 11 0ms 4s133ms 1s583ms 1s311ms 1s428ms 4s133ms 03 36 0ms 38s874ms 5s176ms 7s612ms 16s329ms 1m12s 04 146 0ms 7s98ms 1s437ms 9s457ms 14s45ms 59s499ms 05 61 0ms 35s991ms 4s659ms 27s898ms 35s969ms 38s683ms 06 17 0ms 52s311ms 8s561ms 3s275ms 24s179ms 52s311ms 07 27 0ms 5s371ms 2s111ms 3s994ms 4s72ms 5s371ms 08 37 0ms 2m6s 5s334ms 5s5ms 8s743ms 2m8s 09 23 0ms 31s732ms 3s274ms 4s22ms 4s479ms 31s732ms 10 70 0ms 51s676ms 3s993ms 13s672ms 24s729ms 1m12s 11 22 0ms 12s400ms 2s636ms 4s203ms 5s253ms 12s400ms 12 13 0ms 17s464ms 2s813ms 1s955ms 5s467ms 17s464ms 13 13 0ms 11s495ms 3s403ms 5s123ms 7s957ms 11s495ms 14 36 0ms 51s273ms 7s388ms 12s184ms 42s54ms 53s158ms 15 16 0ms 5s801ms 2s656ms 3s990ms 4s794ms 8s522ms 16 17 0ms 5s169ms 2s353ms 4s44ms 4s179ms 6s63ms 17 26 0ms 12s746ms 2s187ms 2s967ms 4s980ms 12s746ms 18 50 0ms 51s775ms 3s803ms 5s553ms 24s66ms 54s996ms 19 20 0ms 5s114ms 1s930ms 3s93ms 4s102ms 6s451ms 20 17 0ms 5s278ms 2s153ms 4s40ms 4s627ms 6s846ms 21 42 0ms 56s570ms 5s530ms 7s961ms 20s484ms 1m14s 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 47 0ms 10m38s 16s119ms 1s471ms 1m36s 10m38s Apr 01 00 31 0ms 30m7s 1m2s 5s343ms 7s198ms 30m21s 01 77 0ms 35s340ms 3s271ms 9s802ms 13s40ms 35s340ms 02 52 0ms 34s267ms 3s918ms 5s684ms 14s319ms 34s913ms 03 40 0ms 8s117ms 1s863ms 2s898ms 6s697ms 9s672ms 04 42 0ms 8s204ms 2s443ms 5s485ms 10s47ms 24s193ms 05 69 0ms 15s569ms 2s581ms 15s569ms 20s392ms 29s442ms 06 49 0ms 53s429ms 6s31ms 11s952ms 51s732ms 56s949ms 07 22 0ms 16s798ms 2s945ms 3s993ms 6s568ms 16s798ms 08 39 0ms 6s438ms 1s860ms 5s282ms 6s373ms 7s708ms 09 30 0ms 5m17s 33s636ms 9s113ms 5m10s 5m22s 10 28 0ms 51s616ms 6s201ms 9s442ms 24s197ms 54s644ms 11 18 0ms 2m35s 18s21ms 1s470ms 3s988ms 5m6s 12 19 0ms 6s566ms 2s89ms 2s629ms 4s451ms 8s72ms 13 27 0ms 4s450ms 1s695ms 2s831ms 3s152ms 8s551ms 14 17 0ms 51s473ms 7s846ms 4s74ms 13s528ms 51s473ms 15 22 0ms 5s88ms 1s913ms 2s862ms 5s517ms 6s307ms 16 19 0ms 10s834ms 2s449ms 2s832ms 4s72ms 16s144ms 17 17 0ms 5s397ms 1s500ms 2s307ms 2s516ms 6s679ms 18 25 0ms 51s528ms 6s287ms 5s379ms 24s113ms 51s528ms 19 12 0ms 12s566ms 3s905ms 1s867ms 11s578ms 12s566ms 20 28 0ms 16s45ms 2s479ms 4s11ms 4s454ms 21s625ms 21 32 0ms 5s922ms 2s370ms 4s768ms 5s447ms 10s653ms 22 41 0ms 11s815ms 2s488ms 5s93ms 10s840ms 11s815ms 23 40 0ms 5s604ms 1s930ms 4s231ms 6s399ms 11s179ms Apr 02 00 40 0ms 29m44s 47s913ms 7s926ms 16s449ms 29m51s 01 89 0ms 23s29ms 3s516ms 15s910ms 25s722ms 38s289ms 02 69 0ms 7s513ms 2s379ms 8s122ms 10s736ms 18s822ms 03 58 0ms 7s27ms 2s471ms 6s514ms 8s589ms 15s947ms 04 61 0ms 7s305ms 2s481ms 7s42ms 10s49ms 14s497ms 05 107 0ms 7s285ms 2s14ms 8s904ms 20s433ms 22s952ms 06 49 0ms 1m40s 7s542ms 29s529ms 44s855ms 1m41s 07 55 0ms 6s958ms 2s351ms 9s208ms 10s948ms 13s423ms 08 112 0ms 12s69ms 3s928ms 17s233ms 25s485ms 37s822ms 09 85 0ms 10s871ms 3s253ms 11s549ms 16s640ms 22s175ms 10 76 0ms 2m29s 8s146ms 21s518ms 53s357ms 2m36s 11 39 0ms 6s864ms 3s157ms 6s243ms 9s70ms 17s456ms 12 25 0ms 1m27s 9s628ms 5s609ms 9s473ms 1m31s 13 26 0ms 5s327ms 2s742ms 5s108ms 5s834ms 9s582ms 14 21 0ms 50s469ms 7s854ms 7s767ms 24s81ms 50s469ms 15 40 0ms 7s902ms 2s188ms 5s563ms 7s228ms 7s902ms 16 31 0ms 26s601ms 3s57ms 4s103ms 12s549ms 26s601ms 17 6 0ms 4s25ms 1s726ms 1s196ms 1s351ms 4s25ms 18 25 0ms 50s233ms 6s179ms 5s378ms 24s189ms 53s401ms 19 44 0ms 6s301ms 2s738ms 5s280ms 6s664ms 10s347ms 20 120 0ms 12s810ms 3s189ms 19s827ms 25s120ms 42s769ms 21 198 0ms 13s497ms 2s871ms 39s584ms 44s179ms 3m46s 22 171 0ms 9s666ms 3s121ms 32s626ms 36s909ms 44s117ms 23 423 0ms 58s704ms 3s69ms 50s368ms 1m1s 1m38s Apr 03 00 176 0ms 29m4s 13s32ms 30s752ms 57s148ms 29m11s 01 247 0ms 17s310ms 2s630ms 33s561ms 41s441ms 1m19s 02 318 0ms 4m11s 3s569ms 1m3s 1m24s 4m11s 03 170 0ms 8s296ms 2s818ms 26s832ms 34s797ms 36s741ms 04 186 0ms 24s331ms 3s263ms 25s369ms 27s342ms 48s385ms 05 255 0ms 12s9ms 2s648ms 31s921ms 39s957ms 59s493ms 06 180 0ms 51s658ms 3s363ms 28s344ms 59s691ms 1m30s 07 171 0ms 8s73ms 2s666ms 21s219ms 35s469ms 46s772ms 08 175 0ms 10s943ms 3s92ms 30s93ms 40s101ms 1m5s 09 176 0ms 13s187ms 3s50ms 33s493ms 41s956ms 56s77ms 10 122 0ms 51s671ms 3s713ms 24s331ms 42s74ms 1m8s 11 106 0ms 14m54s 11s311ms 24s80ms 50s564ms 14m58s 12 12 0ms 5s2ms 1s871ms 1s383ms 2s732ms 5s2ms 13 18 0ms 5s201ms 2s553ms 3s974ms 4s352ms 10s183ms 14 43 0ms 50s355ms 5s821ms 26s206ms 50s355ms 1m3s 15 17 0ms 4s209ms 1s497ms 2s486ms 4s209ms 5s977ms 16 20 0ms 4s81ms 2s44ms 3s701ms 4s81ms 6s590ms 17 20 0ms 5s861ms 2s165ms 2s761ms 4s218ms 9s612ms 18 17 0ms 50s476ms 8s515ms 14s913ms 44s772ms 50s476ms 19 49 0ms 6s22ms 2s459ms 5s66ms 5s818ms 55s981ms 20 1,509 0ms 12s955ms 2s733ms 2m49s 3m36s 6m48s 21 1,507 1s 17s283ms 2s932ms 2m46s 3m2s 3m19s 22 1,079 0ms 1m8s 3s947ms 4m15s 6m17s 10m7s 23 798 0ms 19s790ms 3s593ms 2m47s 3m30s 8m15s Apr 04 00 1,250 0ms 6m50s 4s318ms 5m46s 9m38s 11m50s 01 1,075 0ms 1m19s 3s762ms 4m5s 5m42s 10m59s 02 858 0ms 18s538ms 3s620ms 3m41s 5m54s 6m47s 03 806 0ms 5m27s 4s254ms 3m13s 5m30s 8m25s 04 893 0ms 14s18ms 3s280ms 2m34s 3m7s 6m5s 05 844 0ms 20s21ms 3s474ms 2m7s 3m1s 6m4s 06 965 0ms 1m7s 3s941ms 2m11s 4m1s 12m37s 07 818 0ms 21s712ms 3s580ms 2m4s 4m1s 5m1s 08 816 0ms 17s823ms 3s554ms 2m1s 2m43s 3m33s 09 622 0ms 4m11s 4s604ms 3m26s 5m17s 7m46s 10 723 0ms 1m16s 4s445ms 1m47s 4m13s 14m28s 11 371 0ms 5m22s 6s119ms 1m42s 2m36s 10m48s 12 152 0ms 6s325ms 2s370ms 18s758ms 20s600ms 48s755ms 13 41 0ms 5s915ms 2s230ms 6s60ms 9s766ms 13s64ms 14 38 0ms 50s298ms 5s563ms 14s587ms 24s137ms 50s298ms 15 34 0ms 4s411ms 1s635ms 2s869ms 4s550ms 6s244ms 16 49 0ms 7s244ms 1s638ms 4s103ms 4s194ms 8s776ms 17 68 0ms 10s213ms 1s704ms 6s623ms 11s317ms 14s947ms 18 140 0ms 50s215ms 2s578ms 15s29ms 34s634ms 52s996ms 19 59 0ms 11s526ms 1s830ms 4s669ms 7s237ms 11s526ms 20 73 0ms 1m3s 2s829ms 8s268ms 17s750ms 1m4s 21 16 0ms 3s979ms 1s477ms 2s617ms 3s966ms 3s979ms 22 433 0ms 10s92ms 3s330ms 1m7s 1m27s 3m1s 23 1,530 0ms 1m50s 5s420ms 6m32s 13m57s 19m39s Apr 05 00 2 0ms 4m36s 2m21s 0ms 0ms 4m43s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 1,384 0ms 2m1s 3s428ms 5m7s 5m17s 7m43s 06 2,493 0ms 1m16s 3s238ms 4m36s 4m55s 7m35s 07 2,045 0ms 3m13s 4s182ms 6m10s 12m10s 21m29s 08 931 0ms 1m18s 3s623ms 3m11s 4m25s 5m4s 09 454 0ms 9s580ms 3s150ms 2m9s 2m34s 3m18s 10 74 0ms 16s728ms 2s271ms 12s265ms 16s728ms 25s722ms 11 15 0ms 10s867ms 2s413ms 1s462ms 3s997ms 18s894ms 12 24 0ms 2s669ms 1s437ms 2s699ms 2s870ms 3s959ms 13 14 0ms 16s668ms 3s376ms 3s771ms 13s150ms 17s946ms 14 9 0ms 1s840ms 1s524ms 1s510ms 1s837ms 2s882ms 15 25 0ms 10s961ms 2s151ms 2s250ms 2s547ms 15s552ms 16 12 0ms 1s436ms 1s261ms 1s436ms 2s617ms 2s638ms 17 17 0ms 17s120ms 2s821ms 2s654ms 5s57ms 20s669ms 18 63 0ms 1m11s 7s819ms 42s493ms 1m5s 1m13s 19 60 0ms 25m5s 1m22s 2m4s 7m33s 25m46s 20 14 0ms 50s377ms 7s914ms 3s535ms 14s983ms 1m18s 21 47 0ms 9s961ms 3s204ms 9s817ms 20s746ms 39s31ms 22 16 0ms 5s102ms 2s93ms 4s44ms 4s513ms 5s102ms 23 20 0ms 34s30ms 3s38ms 2s834ms 4s296ms 34s30ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 30 00 12 0 2m29s 1s255ms 3s196ms 29m23s 01 20 0 1s589ms 1s239ms 2s434ms 5s241ms 02 30 0 2s994ms 1s395ms 3s112ms 14s802ms 03 23 0 4s280ms 2s194ms 4s555ms 24s86ms 04 22 0 1s598ms 2s73ms 2s773ms 5s685ms 05 84 0 2s806ms 3s636ms 15s226ms 25s777ms 06 29 10 4s959ms 2s940ms 13s477ms 51s220ms 07 31 0 43s426ms 3s383ms 7s817ms 4m32s 08 20 0 2s74ms 1s332ms 2s451ms 5s119ms 09 50 0 13s24ms 4s101ms 9s184ms 8m13s 10 13 10 7s191ms 1s940ms 9s5ms 51s525ms 11 30 0 2s472ms 4s123ms 6s439ms 11s931ms 12 12 0 1s510ms 1s315ms 1s381ms 3s455ms 13 15 0 2s191ms 1s167ms 1s333ms 13s961ms 14 22 10 5s847ms 2s537ms 13s498ms 51s920ms 15 19 0 2s76ms 1s167ms 1s868ms 10s42ms 16 20 0 1s941ms 1s244ms 1s922ms 10s196ms 17 21 0 2s671ms 1s311ms 3s963ms 11s233ms 18 41 10 4s755ms 6s89ms 8s973ms 41s983ms 19 10 0 1s769ms 1s185ms 1s318ms 5s205ms 20 15 0 1s767ms 1s336ms 2s473ms 5s194ms 21 27 0 2s948ms 4s245ms 6s424ms 10s723ms 22 37 0 2s727ms 4s136ms 6s173ms 12s606ms 23 63 0 1s670ms 3s324ms 4s172ms 6s484ms Mar 31 00 38 0 49s20ms 2s296ms 2s692ms 8s519ms 01 20 0 2s168ms 1s476ms 4s289ms 5s85ms 02 11 0 1s583ms 1s293ms 1s311ms 4s133ms 03 36 0 5s176ms 4s215ms 7s612ms 1m12s 04 146 0 1s437ms 4s457ms 9s457ms 54s673ms 05 57 0 4s825ms 8s704ms 27s898ms 38s683ms 06 6 10 8s917ms 1s15ms 3s275ms 52s311ms 07 27 0 2s111ms 2s568ms 3s994ms 5s371ms 08 37 0 5s334ms 2s446ms 5s5ms 11s996ms 09 23 0 3s274ms 1s325ms 4s22ms 31s732ms 10 61 7 4s43ms 8s888ms 13s672ms 27s448ms 11 22 0 2s636ms 3s382ms 4s203ms 12s400ms 12 13 0 2s813ms 1s369ms 1s955ms 17s464ms 13 13 0 3s403ms 1s377ms 5s123ms 11s495ms 14 26 10 7s388ms 11s562ms 13s659ms 51s273ms 15 16 0 2s656ms 1s246ms 3s990ms 4s890ms 16 17 0 2s353ms 1s640ms 4s44ms 6s63ms 17 26 0 2s187ms 1s957ms 2s967ms 12s746ms 18 39 10 3s822ms 2s745ms 4s606ms 51s775ms 19 20 0 1s930ms 1s258ms 3s93ms 6s451ms 20 17 0 2s153ms 1s268ms 4s40ms 6s846ms 21 42 0 5s530ms 4s40ms 7s961ms 1m14s 22 0 0 0ms 0ms 0ms 0ms 23 47 0 16s119ms 0ms 1s471ms 10m38s Apr 01 00 30 0 1m4s 3s829ms 5s343ms 30m14s 01 77 0 3s271ms 7s955ms 9s802ms 15s583ms 02 52 0 3s918ms 4s154ms 5s684ms 34s267ms 03 40 0 1s863ms 2s313ms 2s898ms 9s615ms 04 41 0 2s457ms 2s476ms 5s485ms 10s224ms 05 63 0 2s595ms 5s8ms 15s569ms 29s442ms 06 39 10 6s31ms 4s242ms 11s952ms 53s429ms 07 20 0 2s973ms 1s420ms 3s993ms 8s472ms 08 39 0 1s860ms 2s764ms 5s282ms 6s789ms 09 29 0 34s727ms 3s930ms 9s113ms 5m22s 10 17 10 6s303ms 3s28ms 9s442ms 51s616ms 11 12 0 2s224ms 0ms 1s355ms 4s 12 19 0 2s89ms 1s300ms 2s629ms 8s72ms 13 27 0 1s695ms 2s69ms 2s831ms 8s551ms 14 8 9 7s846ms 1s284ms 4s74ms 51s473ms 15 21 0 1s867ms 1s351ms 2s862ms 6s307ms 16 19 0 2s449ms 1s298ms 2s832ms 16s144ms 17 17 0 1s500ms 1s223ms 2s307ms 6s679ms 18 15 10 6s287ms 1s922ms 5s379ms 51s528ms 19 12 0 3s905ms 1s403ms 1s867ms 12s566ms 20 27 0 2s481ms 1s471ms 4s11ms 21s625ms 21 27 0 2s248ms 1s957ms 4s161ms 5s922ms 22 40 0 2s500ms 3s77ms 5s93ms 11s573ms 23 40 0 1s930ms 2s745ms 4s231ms 11s179ms Apr 02 00 33 0 57s425ms 5s149ms 7s926ms 29m45s 01 87 0 3s532ms 9s16ms 13s341ms 25s908ms 02 69 0 2s379ms 5s807ms 8s122ms 14s33ms 03 56 0 2s487ms 4s678ms 6s514ms 9s601ms 04 61 0 2s481ms 5s690ms 7s42ms 11s679ms 05 103 0 2s4ms 5s524ms 8s559ms 21s418ms 06 39 10 7s542ms 8s858ms 24s199ms 1m41s 07 52 0 2s371ms 4s169ms 9s208ms 13s423ms 08 111 0 3s946ms 12s736ms 17s233ms 32s487ms 09 83 0 3s276ms 7s573ms 11s549ms 18s191ms 10 64 9 4s358ms 7s328ms 11s469ms 41s887ms 11 39 0 3s157ms 4s136ms 6s243ms 12s140ms 12 25 0 9s628ms 3s913ms 5s609ms 1m31s 13 25 0 2s771ms 3s952ms 5s108ms 9s582ms 14 11 10 7s854ms 1s885ms 7s767ms 50s469ms 15 39 0 2s184ms 4s8ms 5s459ms 7s902ms 16 30 0 3s97ms 2s696ms 4s103ms 26s601ms 17 6 0 1s726ms 0ms 1s196ms 4s25ms 18 15 10 6s179ms 1s304ms 5s378ms 50s233ms 19 40 0 2s795ms 4s168ms 5s280ms 6s664ms 20 104 0 3s328ms 11s178ms 17s995ms 28s479ms 21 170 0 2s837ms 8s224ms 37s103ms 3m1s 22 152 0 3s211ms 20s226ms 27s766ms 38s990ms 23 293 0 3s337ms 31s636ms 42s59ms 1m1s Apr 03 00 147 0 15s94ms 14s899ms 20s784ms 1m19s 01 180 0 2s694ms 14s748ms 21s339ms 38s168ms 02 226 0 4s3ms 17s815ms 43s14ms 1m9s 03 147 0 2s894ms 10s463ms 25s25ms 30s496ms 04 157 0 3s403ms 18s239ms 22s883ms 27s342ms 05 210 0 2s678ms 20s468ms 29s457ms 34s780ms 06 145 10 3s534ms 17s232ms 26s773ms 51s658ms 07 151 0 2s673ms 12s593ms 20s388ms 36s890ms 08 147 0 3s194ms 15s605ms 19s907ms 47s62ms 09 147 0 3s139ms 15s299ms 31s469ms 37s424ms 10 103 7 3s815ms 10s549ms 21s717ms 42s136ms 11 89 0 13s25ms 6s650ms 19s586ms 49s611ms 12 12 0 1s871ms 1s212ms 1s383ms 5s2ms 13 18 0 2s553ms 2s698ms 3s974ms 10s183ms 14 33 10 5s821ms 4s783ms 26s206ms 1m3s 15 17 0 1s497ms 1s345ms 2s486ms 5s977ms 16 20 0 2s44ms 1s522ms 3s701ms 6s590ms 17 20 0 2s165ms 1s278ms 2s761ms 9s612ms 18 7 10 8s515ms 1s364ms 14s913ms 50s476ms 19 35 0 2s479ms 2s557ms 5s66ms 27s30ms 20 928 0 2s823ms 1m26s 1m51s 3m22s 21 1,018 0 3s101ms 1m19s 1m47s 1m59s 22 943 0 3s928ms 1m17s 3m27s 7m26s 23 697 0 3s606ms 1m15s 2m24s 4m21s Apr 04 00 1,105 0 4s301ms 2m35s 4m50s 9m38s 01 951 0 3s777ms 1m9s 3m44s 7m49s 02 745 0 3s638ms 1m13s 3m16s 4m58s 03 681 0 4s428ms 1m15s 2m40s 5m30s 04 762 0 3s272ms 1m9s 1m59s 3m8s 05 707 0 3s528ms 1m7s 1m41s 4m14s 06 823 10 3s999ms 1m16s 1m55s 3m20s 07 723 0 3s606ms 1m15s 1m52s 3m51s 08 704 0 3s607ms 1m18s 1m39s 2m39s 09 555 0 4s576ms 1m17s 3m6s 5m7s 10 628 12 4s488ms 52s268ms 1m42s 4m30s 11 333 0 6s473ms 41s800ms 1m19s 2m37s 12 131 0 2s310ms 10s851ms 17s281ms 44s110ms 13 32 0 2s79ms 2s854ms 4s394ms 9s766ms 14 28 9 5s644ms 2s853ms 14s587ms 35s301ms 15 33 0 1s629ms 1s464ms 2s723ms 6s242ms 16 49 0 1s638ms 2s816ms 4s103ms 8s776ms 17 65 0 1s655ms 2s845ms 6s623ms 12s727ms 18 128 10 2s578ms 8s628ms 14s954ms 42s261ms 19 59 0 1s830ms 3s974ms 4s669ms 11s526ms 20 73 0 2s829ms 4s458ms 8s268ms 1m4s 21 16 0 1s477ms 1s480ms 2s617ms 3s979ms 22 343 0 3s466ms 38s848ms 50s969ms 2m18s 23 1,294 0 5s422ms 3m27s 5m55s 12m39s Apr 05 00 1 0 4m36s 0ms 0ms 4m36s 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 1,108 0 3s486ms 3m31s 4m5s 4m47s 06 1,933 0 3s276ms 3m8s 3m36s 4m2s 07 1,695 0 4s186ms 3m29s 5m6s 16m29s 08 746 0 3s732ms 1m24s 2m44s 3m47s 09 361 0 3s206ms 48s140ms 1m39s 2m39s 10 74 0 2s271ms 7s306ms 12s265ms 25s722ms 11 15 0 2s413ms 1s280ms 1s462ms 18s894ms 12 24 0 1s437ms 1s426ms 2s699ms 3s959ms 13 14 0 3s376ms 1s230ms 3s771ms 17s946ms 14 9 0 1s524ms 0ms 1s510ms 2s882ms 15 25 0 2s151ms 1s382ms 2s250ms 15s552ms 16 12 0 1s261ms 1s115ms 1s436ms 2s638ms 17 17 0 2s821ms 1s350ms 2s654ms 20s669ms 18 36 27 7s819ms 19s472ms 42s238ms 1m13s 19 14 46 1m22s 1m 2m4s 25m46s 20 10 4 7s914ms 1s398ms 3s535ms 1m18s 21 45 0 3s241ms 6s35ms 9s817ms 39s31ms 22 16 0 2s93ms 1s363ms 4s44ms 5s102ms 23 20 0 3s38ms 1s431ms 2s834ms 34s30ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 30 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Mar 31 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 Apr 01 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 02 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 1 0 1 0 2m29s 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 1 0 0 0 2s330ms 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 Apr 03 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 04 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 05 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 30 00 0 11 11.00 0.00% 01 0 21 21.00 0.00% 02 0 30 30.00 0.00% 03 0 23 23.00 0.00% 04 0 22 22.00 0.00% 05 0 88 88.00 0.00% 06 0 29 29.00 0.00% 07 0 39 39.00 0.00% 08 0 22 22.00 0.00% 09 0 50 50.00 0.00% 10 0 13 13.00 0.00% 11 0 30 30.00 0.00% 12 0 12 12.00 0.00% 13 0 15 15.00 0.00% 14 0 23 23.00 0.00% 15 0 19 19.00 0.00% 16 0 20 20.00 0.00% 17 0 21 21.00 0.00% 18 0 41 41.00 0.00% 19 0 10 10.00 0.00% 20 0 15 15.00 0.00% 21 0 27 27.00 0.00% 22 0 37 37.00 0.00% 23 0 63 63.00 0.00% Mar 31 00 0 38 38.00 0.00% 01 0 20 20.00 0.00% 02 0 11 11.00 0.00% 03 0 36 36.00 0.00% 04 0 146 146.00 0.00% 05 0 61 61.00 0.00% 06 0 7 7.00 0.00% 07 0 30 30.00 0.00% 08 0 39 39.00 0.00% 09 0 24 24.00 0.00% 10 0 66 66.00 0.00% 11 0 24 24.00 0.00% 12 0 13 13.00 0.00% 13 0 13 13.00 0.00% 14 0 28 28.00 0.00% 15 0 17 17.00 0.00% 16 0 19 19.00 0.00% 17 0 26 26.00 0.00% 18 0 40 40.00 0.00% 19 0 20 20.00 0.00% 20 0 17 17.00 0.00% 21 0 42 42.00 0.00% 22 0 0 0.00 0.00% 23 0 47 47.00 0.00% Apr 01 00 0 29 29.00 0.00% 01 0 77 77.00 0.00% 02 0 52 52.00 0.00% 03 0 40 40.00 0.00% 04 0 42 42.00 0.00% 05 0 68 68.00 0.00% 06 0 43 43.00 0.00% 07 0 31 31.00 0.00% 08 0 41 41.00 0.00% 09 0 31 31.00 0.00% 10 0 19 19.00 0.00% 11 44 20 0.45 366.67% 12 0 21 21.00 0.00% 13 0 32 32.00 0.00% 14 0 11 11.00 0.00% 15 0 22 22.00 0.00% 16 0 21 21.00 0.00% 17 0 17 17.00 0.00% 18 0 15 15.00 0.00% 19 0 13 13.00 0.00% 20 0 28 28.00 0.00% 21 0 32 32.00 0.00% 22 0 41 41.00 0.00% 23 0 40 40.00 0.00% Apr 02 00 0 40 40.00 0.00% 01 0 89 89.00 0.00% 02 0 69 69.00 0.00% 03 0 58 58.00 0.00% 04 0 61 61.00 0.00% 05 0 107 107.00 0.00% 06 0 39 39.00 0.00% 07 0 55 55.00 0.00% 08 0 112 112.00 0.00% 09 0 87 87.00 0.00% 10 0 58 58.00 0.00% 11 0 41 41.00 0.00% 12 0 22 22.00 0.00% 13 0 26 26.00 0.00% 14 0 11 11.00 0.00% 15 0 38 38.00 0.00% 16 0 31 31.00 0.00% 17 0 6 6.00 0.00% 18 0 15 15.00 0.00% 19 0 44 44.00 0.00% 20 0 120 120.00 0.00% 21 0 199 199.00 0.00% 22 0 171 171.00 0.00% 23 0 423 423.00 0.00% Apr 03 00 0 174 174.00 0.00% 01 0 247 247.00 0.00% 02 0 318 318.00 0.00% 03 0 170 170.00 0.00% 04 0 186 186.00 0.00% 05 0 255 255.00 0.00% 06 0 179 179.00 0.00% 07 0 180 180.00 0.00% 08 0 180 180.00 0.00% 09 0 179 179.00 0.00% 10 0 122 122.00 0.00% 11 0 110 110.00 0.00% 12 0 13 13.00 0.00% 13 0 18 18.00 0.00% 14 0 33 33.00 0.00% 15 0 21 21.00 0.00% 16 0 22 22.00 0.00% 17 0 20 20.00 0.00% 18 0 7 7.00 0.00% 19 0 49 49.00 0.00% 20 0 1,509 1,509.00 0.00% 21 0 1,508 1,508.00 0.00% 22 0 1,079 1,079.00 0.00% 23 0 798 798.00 0.00% Apr 04 00 0 1,249 1,249.00 0.00% 01 0 1,076 1,076.00 0.00% 02 0 858 858.00 0.00% 03 0 807 807.00 0.00% 04 0 893 893.00 0.00% 05 0 846 846.00 0.00% 06 0 956 956.00 0.00% 07 0 818 818.00 0.00% 08 0 817 817.00 0.00% 09 0 623 623.00 0.00% 10 1 713 713.00 0.14% 11 1 371 371.00 0.27% 12 0 152 152.00 0.00% 13 0 45 45.00 0.00% 14 0 37 37.00 0.00% 15 0 54 54.00 0.00% 16 0 52 52.00 0.00% 17 0 69 69.00 0.00% 18 0 130 130.00 0.00% 19 0 59 59.00 0.00% 20 0 73 73.00 0.00% 21 0 16 16.00 0.00% 22 0 433 433.00 0.00% 23 0 1,531 1,531.00 0.00% Apr 05 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 1,384 1,384.00 0.00% 06 0 2,493 2,493.00 0.00% 07 0 2,046 2,046.00 0.00% 08 0 931 931.00 0.00% 09 0 454 454.00 0.00% 10 0 74 74.00 0.00% 11 0 15 15.00 0.00% 12 0 24 24.00 0.00% 13 0 14 14.00 0.00% 14 0 9 9.00 0.00% 15 0 25 25.00 0.00% 16 0 12 12.00 0.00% 17 0 17 17.00 0.00% 18 0 36 36.00 0.00% 19 0 14 14.00 0.00% 20 0 10 10.00 0.00% 21 0 47 47.00 0.00% 22 0 16 16.00 0.00% 23 0 20 20.00 0.00% Day Hour Count Average / Second Mar 30 00 77 0.02/s 01 95 0.03/s 02 184 0.05/s 03 171 0.05/s 04 73 0.02/s 05 96 0.03/s 06 84 0.02/s 07 94 0.03/s 08 70 0.02/s 09 84 0.02/s 10 87 0.02/s 11 83 0.02/s 12 77 0.02/s 13 84 0.02/s 14 89 0.02/s 15 80 0.02/s 16 79 0.02/s 17 97 0.03/s 18 79 0.02/s 19 80 0.02/s 20 82 0.02/s 21 75 0.02/s 22 83 0.02/s 23 94 0.03/s Mar 31 00 82 0.02/s 01 85 0.02/s 02 79 0.02/s 03 79 0.02/s 04 91 0.03/s 05 130 0.04/s 06 81 0.02/s 07 73 0.02/s 08 131 0.04/s 09 95 0.03/s 10 104 0.03/s 11 74 0.02/s 12 85 0.02/s 13 83 0.02/s 14 85 0.02/s 15 81 0.02/s 16 80 0.02/s 17 87 0.02/s 18 85 0.02/s 19 84 0.02/s 20 82 0.02/s 21 285 0.08/s 22 62 0.02/s 23 219 0.06/s Apr 01 00 156 0.04/s 01 113 0.03/s 02 121 0.03/s 03 87 0.02/s 04 86 0.02/s 05 108 0.03/s 06 90 0.03/s 07 87 0.02/s 08 80 0.02/s 09 109 0.03/s 10 84 0.02/s 11 239 0.07/s 12 82 0.02/s 13 90 0.03/s 14 80 0.02/s 15 77 0.02/s 16 79 0.02/s 17 77 0.02/s 18 79 0.02/s 19 80 0.02/s 20 107 0.03/s 21 85 0.02/s 22 89 0.02/s 23 93 0.03/s Apr 02 00 96 0.03/s 01 128 0.04/s 02 108 0.03/s 03 92 0.03/s 04 116 0.03/s 05 114 0.03/s 06 103 0.03/s 07 102 0.03/s 08 455 0.13/s 09 166 0.05/s 10 134 0.04/s 11 103 0.03/s 12 77 0.02/s 13 91 0.03/s 14 86 0.02/s 15 81 0.02/s 16 95 0.03/s 17 82 0.02/s 18 78 0.02/s 19 84 0.02/s 20 284 0.08/s 21 248 0.07/s 22 193 0.05/s 23 247 0.07/s Apr 03 00 184 0.05/s 01 169 0.05/s 02 456 0.13/s 03 214 0.06/s 04 193 0.05/s 05 189 0.05/s 06 183 0.05/s 07 159 0.04/s 08 271 0.08/s 09 224 0.06/s 10 177 0.05/s 11 164 0.05/s 12 85 0.02/s 13 84 0.02/s 14 84 0.02/s 15 76 0.02/s 16 82 0.02/s 17 73 0.02/s 18 79 0.02/s 19 86 0.02/s 20 267 0.07/s 21 2,284 0.63/s 22 3,668 1.02/s 23 2,880 0.80/s Apr 04 00 3,252 0.90/s 01 2,401 0.67/s 02 2,556 0.71/s 03 2,386 0.66/s 04 2,470 0.69/s 05 1,998 0.56/s 06 2,968 0.82/s 07 2,896 0.80/s 08 2,511 0.70/s 09 1,594 0.44/s 10 2,152 0.60/s 11 1,800 0.50/s 12 102 0.03/s 13 78 0.02/s 14 84 0.02/s 15 75 0.02/s 16 82 0.02/s 17 81 0.02/s 18 90 0.03/s 19 79 0.02/s 20 78 0.02/s 21 68 0.02/s 22 943 0.26/s 23 3,037 0.84/s Apr 05 00 78 0.02/s 01 321 0.09/s 02 98 0.03/s 03 383 0.11/s 04 91 0.03/s 05 1,556 0.43/s 06 3,071 0.85/s 07 2,653 0.74/s 08 1,853 0.51/s 09 554 0.15/s 10 89 0.02/s 11 77 0.02/s 12 78 0.02/s 13 79 0.02/s 14 79 0.02/s 15 89 0.02/s 16 77 0.02/s 17 78 0.02/s 18 81 0.02/s 19 77 0.02/s 20 69 0.02/s 21 196 0.05/s 22 82 0.02/s 23 79 0.02/s Day Hour Count Average Duration Average idle time Mar 30 00 77 31m21s 30m58s 01 95 25m27s 25m27s 02 184 13m29s 13m28s 03 171 13m26s 13m26s 04 73 31m41s 31m41s 05 96 24m59s 24m56s 06 84 28m41s 28m39s 07 94 26m38s 26m23s 08 70 31m41s 31m41s 09 84 30m27s 30m19s 10 87 28m33s 28m31s 11 83 29m42s 29m41s 12 77 30m10s 30m9s 13 84 28m57s 28m57s 14 89 27m38s 27m36s 15 80 30m26s 30m25s 16 79 30m25s 30m24s 17 97 24m28s 24m27s 18 79 30m21s 30m18s 19 80 31m11s 31m11s 20 82 28m31s 28m31s 21 75 29m42s 29m41s 22 83 29m 28m59s 23 94 26m9s 26m8s Mar 31 00 82 29m38s 29m15s 01 85 28m32s 28m32s 02 79 28m35s 28m35s 03 79 29m51s 29m48s 04 91 25m58s 25m56s 05 130 19m10s 19m7s 06 81 30m23s 30m21s 07 73 32m15s 32m14s 08 131 17m13s 17m12s 09 95 25m43s 25m43s 10 104 22m10s 22m8s 11 74 32m26s 32m26s 12 82 31m12s 31m12s 13 83 28m58s 28m57s 14 85 28m48s 28m45s 15 81 30m15s 30m15s 16 80 30m9s 30m9s 17 87 28m12s 28m12s 18 85 28m20s 28m18s 19 84 29m 28m59s 20 85 46m48s 46m47s 21 278 8m42s 8m41s 22 65 30m10s 30m10s 23 217 14m55s 14m52s Apr 01 00 162 19m54s 19m42s 01 113 21m39s 21m37s 02 121 19m12s 19m10s 03 87 26m46s 26m45s 04 86 29m20s 29m18s 05 108 21m54s 21m52s 06 90 27m20s 27m17s 07 87 26m1s 26m 08 80 29m54s 29m53s 09 108 24m28s 24m18s 10 81 29m29s 29m27s 11 118 20m24s 20m21s 12 82 31m36s 31m36s 13 90 26m50s 26m50s 14 80 29m32s 29m31s 15 77 31m38s 31m37s 16 79 30m 29m59s 17 77 30m28s 30m28s 18 79 29m58s 29m56s 19 80 30m17s 30m16s 20 107 22m56s 22m55s 21 86 34m39s 34m38s 22 89 27m23s 27m22s 23 96 48m36s 48m36s Apr 02 00 96 22m59s 22m39s 01 128 18m44s 18m42s 02 108 22m33s 22m32s 03 92 25m49s 25m47s 04 116 21m22s 21m21s 05 114 20m20s 20m18s 06 103 23m30s 23m26s 07 102 23m5s 23m4s 08 455 5m49s 5m48s 09 166 14m28s 14m27s 10 130 18m17s 18m12s 11 102 22m26s 22m25s 12 77 29m38s 29m35s 13 91 29m16s 29m16s 14 85 28m23s 28m21s 15 78 29m36s 29m35s 16 96 29m48s 29m47s 17 86 45m33s 45m33s 18 79 34m26s 34m25s 19 87 36m16s 36m15s 20 281 8m35s 8m34s 21 251 9m59s 9m56s 22 193 12m50s 12m48s 23 246 8m50s 8m45s Apr 03 00 185 13m18s 13m5s 01 169 13m59s 13m55s 02 456 5m32s 5m30s 03 214 10m52s 10m49s 04 193 12m50s 12m47s 05 189 12m30s 12m27s 06 183 13m9s 13m6s 07 159 15m21s 15m18s 08 271 9m6s 9m4s 09 222 10m58s 10m56s 10 177 13m54s 13m52s 11 163 14m46s 14m39s 12 85 28m36s 28m35s 13 84 28m51s 28m50s 14 84 29m4s 29m1s 15 76 31m32s 31m32s 16 82 29m18s 29m18s 17 74 34m53s 34m52s 18 79 31m23s 31m21s 19 88 41m10s 41m8s 20 267 9m42s 9m27s 21 2,278 1m5s 1m3s 22 3,673 39s973ms 38s813ms 23 2,881 35m58s 35m57s Apr 04 00 3,252 49s594ms 47s934ms 01 2,401 1m10s 1m8s 02 2,556 1m3s 1m2s 03 2,382 1m19s 1m18s 04 2,472 1m12s 1m10s 05 1,995 1m14s 1m12s 06 2,967 56s970ms 55s689ms 07 2,896 55s269ms 54s258ms 08 2,512 1m2s 1m1s 09 1,596 2m6s 2m4s 10 2,155 1m20s 1m18s 11 1,780 1m54s 1m53s 12 122 18m2s 17m59s 13 78 32m25s 32m23s 14 84 28m41s 28m39s 15 74 30m58s 30m58s 16 82 29m28s 29m27s 17 82 31m56s 31m55s 18 90 27m41s 27m37s 19 79 31m24s 31m23s 20 78 30m48s 30m45s 21 68 30m9s 30m9s 22 940 2m46s 2m44s 23 3,018 1m13s 1m10s Apr 05 00 78 29m40s 29m36s 01 322 16m21s 16m21s 02 102 28m6s 28m6s 03 380 10m23s 10m23s 04 94 28m26s 28m26s 05 1,572 2m53s 2m50s 06 3,072 1m45s 1m42s 07 2,652 1m7s 1m4s 08 1,847 1m24s 1m22s 09 561 3m50s 3m47s 10 89 25m29s 25m28s 11 77 31m22s 31m21s 12 78 31m12s 31m12s 13 79 31m13s 31m12s 14 79 30m9s 30m9s 15 89 27m59s 27m59s 16 77 31m32s 31m31s 17 78 30m45s 30m44s 18 80 29m23s 29m17s 19 77 31m34s 30m30s 20 70 32m50s 32m49s 21 196 12m43s 12m43s 22 82 29m49s 29m48s 23 79 30m33s 30m32s -
Connections
Established Connections
Key values
- 117 connections Connection Peak
- 2025-04-04 04:52:20 Date
Connections per database
Key values
- ctdprd51 Main Database
- 68,360 connections Total
Connections per user
Key values
- pubeu Main User
- 68,360 connections Total
-
Sessions
Simultaneous sessions
Key values
- 106 sessions Session Peak
- 2025-04-04 23:28:52 Date
Histogram of session times
Key values
- 25,067 1000-30000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 68,239 sessions Total
Sessions per user
Key values
- pubeu Main User
- 68,239 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 68,239 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 57,597 67d13h42m52s 1m41s 10.12.5.38 2,669 56d24m20s 30m13s 10.12.5.39 2,585 56d46m11s 31m12s 10.12.5.40 2 10m9s 5m4s 10.12.5.45 2,663 56d2m39s 30m16s 10.12.5.46 2,625 55d21h42m23s 30m40s 192.168.201.10 12 3d19h12m25s 7h36m2s 192.168.201.14 11 2d9h42m17s 5h14m45s 192.168.201.18 1 2h11m53s 2h11m53s ::1 74 73d1h15m57s 23h41m34s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 105,743 buffers Checkpoint Peak
- 2025-04-03 15:19:32 Date
- 1620.000 seconds Highest write time
- 0.027 seconds Sync time
Checkpoints Wal files
Key values
- 332 files Wal files usage Peak
- 2025-04-01 11:25:07 Date
Checkpoints distance
Key values
- 10,616.90 Mo Distance Peak
- 2025-04-01 11:25:07 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 30 00 3,433 343.965s 0.005s 344.002s 01 513 51.464s 0.003s 51.494s 02 582 58.379s 0.005s 58.46s 03 1,093 109.592s 0.003s 109.624s 04 5,366 537.286s 0.004s 537.365s 05 896 89.765s 0.004s 89.797s 06 860 86.234s 0.003s 86.266s 07 1,369 137.215s 0.003s 137.292s 08 550 55.183s 0.002s 55.199s 09 63,343 1,694.429s 0.006s 1,694.627s 10 1,070 107.236s 0.003s 107.312s 11 837 84.008s 0.004s 84.038s 12 312 31.243s 0.002s 31.258s 13 6,142 614.94s 0.004s 615.021s 14 8,311 832.102s 0.005s 832.233s 15 1,314 131.686s 0.004s 131.718s 16 993 99.517s 0.003s 99.547s 17 1,030 103.28s 0.006s 103.356s 18 870 87.215s 0.003s 87.245s 19 969 97.222s 0.003s 97.253s 20 1,255 125.786s 0.002s 125.858s 21 465 46.585s 0.002s 46.601s 22 16,439 1,645.71s 0.005s 1,645.861s 23 1,235 123.816s 0.004s 123.848s Mar 31 00 3,784 378.938s 0.004s 379.076s 01 460 46.178s 0.002s 46.21s 02 2,006 201.18s 0.004s 201.254s 03 287 28.744s 0.001s 28.76s 04 6,587 659.72s 0.006s 659.779s 05 904 90.714s 0.003s 90.746s 06 1,031 103.362s 0.004s 103.393s 07 1,544 154.875s 0.004s 154.951s 08 3,314 331.897s 0.004s 331.93s 09 3,322 332.793s 0.004s 332.87s 10 2,679 268.287s 0.004s 268.359s 11 5,149 515.544s 0.003s 515.618s 12 1,388 139.089s 0.003s 139.121s 13 1,406 140.882s 0.004s 140.955s 14 3,641 364.509s 0.002s 364.582s 15 1,814 181.673s 0.004s 181.704s 16 2,089 209.321s 0.004s 209.396s 17 2,916 291.928s 0.004s 291.959s 18 2,105 210.9s 0.004s 210.972s 19 893 89.428s 0.002s 89.443s 20 7,647 765.518s 0.005s 765.573s 21 2,538 254.352s 0.004s 254.427s 22 190 19.225s 0.002s 19.255s 23 334 33.642s 0.003s 33.673s Apr 01 00 3,908 391.783s 0.004s 391.904s 01 2,057 206.188s 0.004s 206.35s 02 60,608 1,677.075s 0.003s 1,677.24s 03 55,279 1,619.666s 0.002s 1,620.434s 04 58,729 1,758.908s 0.005s 1,759.057s 05 5,004 501.137s 0.003s 501.236s 06 1,691 169.531s 0.004s 169.562s 07 1,248 125.132s 0.004s 125.246s 08 5,883 589.121s 0.002s 589.136s 09 54,925 1,743.681s 0.005s 1,744.171s 10 1,169 117.18s 0.003s 117.211s 11 2,199 220.346s 0.004s 224.36s 12 2,525 252.799s 0.003s 252.895s 13 87,096 1,789.109s 0.004s 1,789.95s 14 12,312 1,232.791s 0.004s 1,233.033s 15 4,814 482.079s 0.003s 482.16s 16 1,774 177.873s 0.003s 177.902s 17 1,553 155.626s 0.004s 155.701s 18 2,806 281.098s 0.004s 281.168s 19 1,254 125.681s 0.003s 125.713s 20 1,623 162.625s 0.004s 162.656s 21 2,099 210.314s 0.004s 210.39s 22 2,056 206s 0.004s 206.032s 23 1,998 200.192s 0.003s 200.266s Apr 02 00 4,818 482.661s 0.005s 482.741s 01 852 85.443s 0.002s 85.473s 02 658 65.992s 0.002s 66.009s 03 8,005 801.777s 0.005s 801.883s 04 4,877 488.56s 0.002s 488.627s 05 10,942 1,095.673s 0.004s 1,095.775s 06 2,202 220.647s 0.003s 220.678s 07 1,122 112.47s 0.004s 112.542s 08 1,661 166.583s 0.019s 166.631s 09 13,481 1,350.352s 0.004s 1,350.425s 10 775 77.628s 0.002s 77.644s 11 50,975 1,668.472s 0.003s 1,668.582s 12 19,126 1,734.498s 0.005s 1,734.638s 13 2,247 225.056s 0.004s 225.088s 14 1,417 142.001s 0.004s 142.071s 15 1,527 153.018s 0.003s 153.091s 16 1,737 174.07s 0.004s 174.102s 17 650 65.193s 0.002s 65.21s 18 7,143 715.423s 0.005s 715.521s 19 995 99.727s 0.002s 99.802s 20 1,584 158.782s 0.005s 158.816s 21 727 73.021s 0.002s 73.051s 22 1,820 182.275s 0.002s 182.349s 23 2,330 233.463s 0.003s 233.494s Apr 03 00 3,062 307.08s 0.002s 307.144s 01 22,440 2,060.033s 0.007s 2,060.256s 02 68,074 1,838.662s 0.004s 1,838.78s 03 879 88.176s 0.005s 88.209s 04 1,106 110.911s 0.004s 110.942s 05 1,712 171.693s 0.004s 171.775s 06 1,920 192.465s 0.004s 192.497s 07 43,384 1,780.468s 0.003s 1,780.858s 08 1,620 162.369s 0.004s 162.401s 09 1,614 161.788s 0.003s 161.869s 10 769 77.037s 0.002s 77.052s 11 119,729 3,473.904s 0.007s 3,474.549s 12 1,287 129.083s 0.004s 129.114s 13 1,238 124.078s 0.003s 124.11s 14 2,009 201.305s 0.002s 201.382s 15 106,234 1,668.185s 0.002s 1,669.065s 16 103,045 1,787.465s 0.004s 1,787.963s 17 1,571 157.436s 0.004s 157.468s 18 615 61.69s 0.001s 61.705s 19 44,586 1,769.546s 0.005s 1,769.966s 20 2,049 205.59s 0.018s 205.765s 21 1,922 193.056s 0.008s 193.099s 22 1,805 181.04s 0.003s 181.077s 23 1,643 164.751s 0.004s 164.833s Apr 04 00 4,312 432.149s 0.004s 432.245s 01 1,499 150.317s 0.003s 150.347s 02 1,794 179.971s 0.003s 180.005s 03 671 67.644s 0.004s 67.666s 04 7,103 713.948s 0.005s 714.051s 05 2,806 281.595s 0.003s 281.752s 06 2,507 251.869s 0.003s 251.911s 07 2,376 238.735s 0.005s 238.825s 08 919 92.664s 0.003s 92.688s 09 7,684 771.724s 0.011s 771.912s 10 1,518 152.314s 0.003s 152.348s 11 1,194 119.907s 0.004s 120.057s 12 3,936 394.209s 0.003s 394.254s 13 1,531 153.517s 0.003s 153.592s 14 1,719 172.289s 0.003s 172.321s 15 1,123 112.582s 0.004s 112.616s 16 1,093 109.666s 0.003s 109.745s 17 831 83.319s 0.003s 83.35s 18 802 80.51s 0.003s 80.541s 19 857 85.923s 0.003s 85.955s 20 757 75.994s 0.003s 76.072s 21 1,156 115.85s 0.006s 115.883s 22 4,465 448.701s 0.004s 448.851s 23 1,013 101.961s 0.004s 102.024s Apr 05 00 1,832 183.665s 0.003s 183.74s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 192 20.086s 0.027s 20.374s 06 556 56.429s 0.009s 56.488s 07 447 45.652s 0.002s 45.687s 08 599 60.727s 0.003s 60.823s 09 2,288 229.244s 0.003s 229.346s 10 3,915 392.109s 0.002s 392.202s 11 1,089 109.248s 0.003s 109.278s 12 652 65.405s 0.004s 65.436s 13 749 75.14s 0.004s 75.172s 14 480 48.258s 0.002s 48.338s 15 538 53.975s 0.003s 54.007s 16 524 52.662s 0.003s 52.693s 17 514 51.572s 0.003s 51.603s 18 556 55.897s 0.003s 55.929s 19 20,267 1,641.303s 0.003s 1,641.336s 20 45,946 1,648.632s 0.003s 1,648.711s 21 608 61.107s 0.002s 61.137s 22 574 57.576s 0.002s 57.606s 23 684 68.683s 0.002s 68.713s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 30 00 0 2 0 78 0.001s 0.002s 01 0 0 0 44 0.001s 0.002s 02 0 1 0 41 0.002s 0.002s 03 0 0 0 44 0.001s 0.002s 04 0 3 0 47 0.001s 0.002s 05 0 0 0 36 0.001s 0.002s 06 0 0 0 44 0.001s 0.002s 07 0 1 0 132 0.001s 0.002s 08 0 0 0 70 0.001s 0.001s 09 0 38 0 171 0.001s 0.003s 10 0 1 0 36 0.001s 0.002s 11 0 0 0 34 0.001s 0.002s 12 0 0 0 9 0.001s 0.001s 13 0 4 0 32 0.001s 0.002s 14 0 4 0 52 0.001s 0.003s 15 0 0 0 31 0.001s 0.002s 16 0 0 0 20 0.001s 0.002s 17 0 1 0 28 0.004s 0.002s 18 0 0 0 27 0.001s 0.002s 19 0 0 0 27 0.001s 0.002s 20 0 1 0 22 0.001s 0.002s 21 0 0 0 10 0.001s 0.001s 22 0 9 0 61 0.001s 0.003s 23 0 0 0 25 0.001s 0.002s Mar 31 00 0 2 0 76 0.001s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 1 0 48 0.001s 0.002s 03 0 0 0 16 0.001s 0.001s 04 0 4 0 64 0.001s 0.003s 05 0 0 0 30 0.001s 0.002s 06 0 0 0 40 0.001s 0.002s 07 0 1 0 126 0.001s 0.002s 08 0 1 0 129 0.001s 0.002s 09 0 1 0 87 0.001s 0.002s 10 0 1 0 159 0.001s 0.002s 11 0 2 0 86 0.001s 0.002s 12 0 0 0 37 0.001s 0.002s 13 0 1 0 32 0.001s 0.002s 14 0 1 0 112 0.001s 0.002s 15 0 0 0 124 0.001s 0.002s 16 0 1 0 127 0.001s 0.002s 17 0 0 0 36 0.001s 0.002s 18 0 1 0 32 0.001s 0.002s 19 0 0 0 11 0.001s 0.001s 20 0 3 0 53 0.001s 0.003s 21 0 1 0 41 0.001s 0.002s 22 0 0 0 25 0.001s 0.002s 23 0 0 0 18 0.001s 0.002s Apr 01 00 0 2 0 73 0.001s 0.002s 01 0 33 0 56 0.001s 0.002s 02 0 0 8 59 0.001s 0.002s 03 0 9 58 35 0.001s 0.001s 04 0 0 6 94 0.001s 0.003s 05 0 0 3 49 0.001s 0.002s 06 0 0 0 139 0.001s 0.002s 07 0 0 4 151 0.001s 0.002s 08 0 0 0 82 0.001s 0.001s 09 0 0 34 162 0.001s 0.003s 10 0 0 0 85 0.001s 0.002s 11 0 0 332 183 0.001s 0.002s 12 0 0 1 90 0.001s 0.002s 13 0 0 59 157 0.001s 0.002s 14 0 0 9 154 0.001s 0.002s 15 0 1 0 34 0.001s 0.002s 16 0 0 0 76 0.001s 0.002s 17 0 1 0 123 0.001s 0.002s 18 0 1 0 49 0.001s 0.002s 19 0 0 0 61 0.001s 0.002s 20 0 0 0 40 0.001s 0.002s 21 0 1 0 33 0.001s 0.002s 22 0 0 0 43 0.001s 0.002s 23 0 1 0 39 0.001s 0.002s Apr 02 00 0 2 0 103 0.001s 0.002s 01 0 0 0 40 0.001s 0.002s 02 0 0 0 20 0.001s 0.001s 03 0 4 0 87 0.001s 0.003s 04 0 3 0 31 0.001s 0.001s 05 0 6 0 63 0.001s 0.003s 06 0 0 0 61 0.001s 0.002s 07 0 1 0 32 0.001s 0.002s 08 0 0 0 42 0.011s 0.003s 09 0 1 0 102 0.001s 0.002s 10 0 0 0 70 0.001s 0.001s 11 0 15 0 140 0.001s 0.002s 12 0 4 0 116 0.001s 0.003s 13 0 0 0 35 0.001s 0.002s 14 0 1 0 79 0.001s 0.002s 15 0 1 0 107 0.001s 0.002s 16 0 0 0 75 0.002s 0.002s 17 0 0 0 57 0.001s 0.001s 18 0 4 0 110 0.001s 0.003s 19 0 1 0 20 0.001s 0.002s 20 0 0 0 33 0.003s 0.002s 21 0 0 0 22 0.001s 0.002s 22 0 1 0 23 0.001s 0.002s 23 0 0 0 44 0.001s 0.002s Apr 03 00 0 2 0 26 0.001s 0.001s 01 0 37 0 127 0.001s 0.003s 02 0 0 4 62 0.001s 0.002s 03 0 0 0 40 0.001s 0.002s 04 0 0 0 38 0.001s 0.002s 05 0 0 1 46 0.001s 0.002s 06 0 0 0 137 0.001s 0.002s 07 0 0 28 161 0.001s 0.002s 08 0 0 0 136 0.001s 0.002s 09 0 0 1 95 0.001s 0.002s 10 0 0 0 63 0.001s 0.001s 11 0 21 40 274 0.001s 0.003s 12 0 0 0 83 0.001s 0.002s 13 0 0 0 79 0.001s 0.002s 14 0 0 2 36 0.001s 0.001s 15 0 0 69 75 0.001s 0.002s 16 0 0 35 221 0.001s 0.003s 17 0 0 0 75 0.001s 0.002s 18 0 0 0 20 0.001s 0.001s 19 0 0 28 69 0.001s 0.003s 20 0 0 1 44 0.011s 0.002s 21 0 0 0 32 0.003s 0.002s 22 0 0 0 30 0.001s 0.002s 23 0 0 1 30 0.002s 0.002s Apr 04 00 0 0 2 81 0.001s 0.002s 01 0 0 0 44 0.001s 0.002s 02 0 0 0 41 0.001s 0.002s 03 0 0 0 21 0.003s 0.001s 04 0 0 3 74 0.001s 0.003s 05 0 0 1 98 0.001s 0.002s 06 0 0 0 102 0.002s 0.002s 07 0 0 1 132 0.002s 0.002s 08 0 0 0 14 0.002s 0.001s 09 0 0 4 218 0.006s 0.003s 10 0 0 0 119 0.001s 0.002s 11 0 0 1 83 0.002s 0.002s 12 0 0 1 93 0.001s 0.002s 13 0 0 1 95 0.001s 0.002s 14 0 0 0 135 0.001s 0.002s 15 0 0 0 154 0.001s 0.002s 16 0 0 1 116 0.001s 0.002s 17 0 0 0 71 0.001s 0.002s 18 0 0 0 30 0.001s 0.002s 19 0 0 0 28 0.001s 0.002s 20 0 0 1 20 0.001s 0.002s 21 0 0 0 32 0.004s 0.002s 22 0 0 2 62 0.001s 0.002s 23 0 0 0 35 0.002s 0.002s Apr 05 00 0 0 2 52 0.001s 0.001s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 19 0.016s 0.002s 06 0 0 0 33 0.007s 0.002s 07 0 0 0 38 0.001s 0.002s 08 0 0 0 45 0.001s 0.002s 09 0 0 1 48 0.001s 0.002s 10 0 0 2 57 0.001s 0.002s 11 0 0 0 42 0.001s 0.002s 12 0 0 0 35 0.001s 0.002s 13 0 0 0 35 0.001s 0.002s 14 0 0 1 33 0.001s 0.002s 15 0 0 0 37 0.001s 0.002s 16 0 0 0 25 0.001s 0.002s 17 0 0 0 28 0.001s 0.002s 18 0 0 0 32 0.001s 0.002s 19 0 0 0 30 0.001s 0.002s 20 0 0 1 24 0.001s 0.002s 21 0 0 0 30 0.001s 0.002s 22 0 0 0 23 0.001s 0.002s 23 0 0 0 29 0.001s 0.002s Day Hour Count Avg time (sec) Mar 30 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Mar 31 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 Apr 01 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 02 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 03 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 04 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 05 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Mar 30 00 13,595.00 kB 432,266.00 kB 01 1,642.00 kB 350,573.00 kB 02 1,724.50 kB 284,286.00 kB 03 3,386.50 kB 230,917.00 kB 04 24,800.00 kB 191,748.50 kB 05 2,743.50 kB 155,774.00 kB 06 2,045.00 kB 126,630.50 kB 07 3,551.50 kB 103,130.50 kB 08 3,420.00 kB 88,486.00 kB 09 208,900.33 kB 561,082.33 kB 10 2,535.50 kB 430,785.00 kB 11 2,283.50 kB 349,366.50 kB 12 1,890.00 kB 298,193.00 kB 13 30,325.50 kB 260,636.00 kB 14 21,591.00 kB 206,484.33 kB 15 2,646.50 kB 158,878.50 kB 16 2,423.50 kB 129,167.50 kB 17 2,675.50 kB 105,111.50 kB 18 2,681.00 kB 85,667.50 kB 19 2,793.00 kB 69,897.50 kB 20 3,021.50 kB 57,194.50 kB 21 2,978.00 kB 49,206.00 kB 22 48,856.00 kB 105,246.33 kB 23 3,630.50 kB 82,982.50 kB Mar 31 00 15,030.00 kB 70,020.00 kB 01 1,454.50 kB 57,154.50 kB 02 6,201.00 kB 47,462.50 kB 03 1,785.00 kB 40,728.00 kB 04 19,872.00 kB 50,520.67 kB 05 2,786.00 kB 39,258.50 kB 06 2,106.00 kB 32,282.00 kB 07 4,449.00 kB 26,772.50 kB 08 10,285.00 kB 23,168.00 kB 09 10,569.00 kB 20,715.00 kB 10 6,386.00 kB 18,416.00 kB 11 14,982.00 kB 25,991.00 kB 12 2,392.50 kB 21,511.50 kB 13 2,853.00 kB 17,939.50 kB 14 8,552.50 kB 15,893.00 kB 15 4,259.50 kB 13,883.00 kB 16 4,052.50 kB 12,026.00 kB 17 5,426.00 kB 10,643.00 kB 18 4,023.00 kB 9,544.50 kB 19 3,840.00 kB 8,699.00 kB 20 17,394.33 kB 39,788.00 kB 21 7,226.50 kB 31,830.50 kB 22 661.00 kB 26,337.00 kB 23 594.00 kB 21,394.50 kB Apr 01 00 13,838.50 kB 24,694.00 kB 01 5,866.50 kB 20,896.00 kB 02 332,873.50 kB 631,595.50 kB 03 560,606.00 kB 594,624.00 kB 04 208,698.67 kB 561,151.67 kB 05 23,668.50 kB 432,869.50 kB 06 2,676.50 kB 353,044.50 kB 07 3,149.50 kB 286,540.00 kB 08 59,494.00 kB 250,424.00 kB 09 185,446.33 kB 497,903.00 kB 10 2,768.50 kB 382,365.00 kB 11 2,719,886.00 kB 5,164,257.00 kB 12 6,859.50 kB 4,184,437.00 kB 13 477,454.00 kB 3,479,792.50 kB 14 62,865.50 kB 2,828,949.50 kB 15 21,107.50 kB 2,297,387.50 kB 16 3,203.00 kB 1,861,445.00 kB 17 3,430.50 kB 1,508,429.00 kB 18 8,800.50 kB 1,223,527.00 kB 19 2,742.00 kB 991,572.00 kB 20 3,227.00 kB 803,761.00 kB 21 3,897.00 kB 651,803.50 kB 22 4,795.50 kB 528,733.50 kB 23 4,851.50 kB 429,324.00 kB Apr 02 00 16,046.50 kB 350,709.00 kB 01 1,673.50 kB 284,550.50 kB 02 1,679.00 kB 242,869.00 kB 03 19,051.00 kB 202,258.67 kB 04 45,700.00 kB 168,190.00 kB 05 35,408.33 kB 146,102.33 kB 06 3,398.00 kB 112,802.50 kB 07 1,941.50 kB 91,737.00 kB 08 3,331.50 kB 74,838.00 kB 09 3,764.00 kB 61,404.00 kB 10 3,379.00 kB 52,831.00 kB 11 123,246.50 kB 231,532.00 kB 12 20,752.00 kB 183,865.00 kB 13 6,908.50 kB 141,968.50 kB 14 2,651.00 kB 115,886.50 kB 15 10,073.00 kB 95,723.00 kB 16 2,818.50 kB 78,142.00 kB 17 2,990.00 kB 67,062.00 kB 18 21,669.67 kB 60,173.67 kB 19 2,475.50 kB 46,724.00 kB 20 2,735.00 kB 38,351.50 kB 21 1,378.50 kB 31,332.00 kB 22 3,317.00 kB 25,986.00 kB 23 5,677.00 kB 21,926.50 kB Apr 03 00 23,185.00 kB 23,185.00 kB 01 31,139.33 kB 56,751.33 kB 02 288,589.00 kB 534,924.50 kB 03 1,703.50 kB 434,205.00 kB 04 2,017.50 kB 352,080.00 kB 05 3,317.00 kB 285,694.00 kB 06 3,105.00 kB 232,054.50 kB 07 231,062.00 kB 430,024.00 kB 08 2,756.50 kB 349,168.50 kB 09 2,780.50 kB 283,319.00 kB 10 2,757.00 kB 242,011.00 kB 11 333,278.33 kB 510,016.67 kB 12 1,429.50 kB 465,924.00 kB 13 1,012.00 kB 377,598.50 kB 14 10,538.00 kB 323,048.00 kB 15 574,700.50 kB 1,090,507.00 kB 16 189,420.67 kB 891,080.00 kB 17 1,850.00 kB 683,680.00 kB 18 1,298.00 kB 583,142.00 kB 19 153,543.00 kB 515,544.67 kB 20 3,371.00 kB 395,944.00 kB 21 2,896.50 kB 321,213.00 kB 22 3,646.00 kB 260,876.00 kB 23 3,653.50 kB 211,989.50 kB Apr 04 00 15,850.00 kB 174,830.50 kB 01 1,846.50 kB 141,959.00 kB 02 2,171.00 kB 115,387.50 kB 03 1,809.00 kB 98,655.00 kB 04 14,311.33 kB 83,853.67 kB 05 5,324.50 kB 65,192.00 kB 06 4,099.00 kB 53,786.50 kB 07 5,862.00 kB 44,530.00 kB 08 4,631.00 kB 38,746.00 kB 09 20,036.00 kB 43,039.67 kB 10 4,206.50 kB 34,257.00 kB 11 2,581.00 kB 28,312.50 kB 12 12,658.50 kB 24,968.00 kB 13 3,788.50 kB 21,294.00 kB 14 3,126.50 kB 17,809.50 kB 15 3,007.50 kB 15,023.00 kB 16 2,568.00 kB 12,666.00 kB 17 2,130.50 kB 10,702.00 kB 18 1,897.50 kB 9,024.00 kB 19 2,155.00 kB 7,723.00 kB 20 1,991.50 kB 6,629.50 kB 21 2,297.50 kB 5,774.00 kB 22 15,261.00 kB 15,261.00 kB 23 2,891.50 kB 17,940.50 kB Apr 05 00 22,780.00 kB 22,780.00 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 576.00 kB 20,559.00 kB 06 468.50 kB 17,628.00 kB 07 565.00 kB 14,396.50 kB 08 1,124.50 kB 11,852.00 kB 09 7,452.50 kB 11,910.50 kB 10 15,355.50 kB 21,823.00 kB 11 3,157.00 kB 18,592.50 kB 12 1,650.00 kB 15,341.50 kB 13 1,647.00 kB 12,741.50 kB 14 1,134.00 kB 10,555.00 kB 15 1,323.00 kB 8,790.50 kB 16 1,107.00 kB 7,352.50 kB 17 1,353.00 kB 6,214.50 kB 18 1,480.00 kB 5,305.50 kB 19 1,477.50 kB 4,560.50 kB 20 1,485.50 kB 3,976.00 kB 21 1,747.50 kB 3,559.00 kB 22 1,464.00 kB 3,162.50 kB 23 1,687.00 kB 2,882.00 kB -
Temporary Files
Size of temporary files
Key values
- 733.43 MiB Temp Files size Peak
- 2025-04-01 11:02:58 Date
Number of temporary files
Key values
- 5 per second Temp Files Peak
- 2025-04-01 11:02:37 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 30 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Mar 31 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 Apr 01 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 40 4.28 GiB 109.67 MiB 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 02 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 03 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 04 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 05 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 40 4.28 GiB 64.27 MiB 151.66 MiB 109.67 MiB vacuum full analyze db_link;-
vacuum FULL analyze db_link;
Date: 2025-04-01 11:04:35 Duration: 2m35s
-
vacuum FULL analyze db_link;
Date: 2025-04-01 11:02:16 Duration: 0ms Database: ctdprd51 User: pub1 Application: pgAdmin 4 - CONN:1029688
Queries generating the largest temporary files
Rank Size Query 1 151.66 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:58 ]
2 150.61 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:58 ]
3 147.34 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:58 ]
4 146.37 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:37 ]
5 145.92 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:37 ]
6 145.42 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:37 ]
7 142.77 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:37 ]
8 141.94 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:58 ]
9 141.88 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:58 ]
10 141.55 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:37 ]
11 124.16 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:03:14 ]
12 123.64 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:03:14 ]
13 123.38 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:03:14 ]
14 122.80 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:16 ]
15 121.92 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:16 ]
16 121.88 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:16 ]
17 121.70 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:16 ]
18 120.61 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:02:16 - Database: ctdprd51 - User: pub1 - Application: pgAdmin 4 - CONN:1029688 ]
19 120.00 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:03:35 ]
20 119.99 MiB vacuum FULL analyze db_link;[ Date: 2025-04-01 11:03:35 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 11.98 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-04-03 15:40:25 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 11.98 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-04-03 15:40:25 Date
Analyzes per table
Key values
- pubc.log_query (216) Main table analyzed (database ctdprd51)
- 256 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 216 ctdprd51.pub1.term_set_enrichment 17 ctdprd51.pub1.term_set_enrichment_agent 15 ctdprd51.pub1.term_comp 2 ctdprd51.pub1.term_comp_agent 2 ctdprd51.edit.tm_reference_term 1 ctdprd51.pg_catalog.pg_attribute 1 ctdprd51.pubc.log_query_bots 1 ctdprd51.pub2.term_set_enrichment_agent 1 Total 256 Vacuums per table
Key values
- pubc.log_query (67) Main table vacuumed on database ctdprd51
- 94 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 67 48 85,141 0 15,988 0 2,610 27,207 2,033 14,071,729 ctdprd51.pub1.term_set_enrichment 10 0 12,436 0 3,567 0 0 5,697 19 451,777 ctdprd51.pub1.term_set_enrichment_agent 9 0 555,224 0 102,194 0 0 274,397 17 16,330,770 ctdprd51.pg_toast.pg_toast_2619 3 3 12,697 0 3,594 0 29,748 10,057 3,200 1,615,346 ctdprd51.pg_toast.pg_toast_486223 1 0 26 0 0 0 0 1 0 188 ctdprd51.pub1.term_comp_agent 1 0 931 0 6 0 0 438 1 34,261 ctdprd51.pub1.term_comp 1 0 145 0 27 0 0 23 2 13,272 ctdprd51.pubc.log_query_bots 1 0 73,379 0 22,535 0 20,063 33,190 555 3,547,632 ctdprd51.pg_catalog.pg_statistic 1 1 754 0 194 0 116 489 175 729,441 Total 94 52 740,733 1,655 148,105 0 52,537 351,499 6,002 36,794,416 Tuples removed per table
Key values
- pubc.log_query (40772) Main table with removed tuples on database ctdprd51
- 53739 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 67 48 40,772 941,374 0 0 45,265 ctdprd51.pg_toast.pg_toast_2619 3 3 12,464 60,637 0 0 37,776 ctdprd51.pg_catalog.pg_statistic 1 1 503 3,201 0 0 410 ctdprd51.pub1.term_set_enrichment_agent 9 0 0 94,518,932 0 0 1,074,083 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 56,804 0 0 480 ctdprd51.pub1.term_comp 1 0 0 2,288 0 0 22 ctdprd51.pubc.log_query_bots 1 0 0 3,391,594 0 0 126,621 ctdprd51.pub1.term_set_enrichment 10 0 0 1,505,320 0 0 24,919 Total 94 52 53,739 100,480,150 0 0 1,309,576 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pub1.term_set_enrichment_agent 9 0 0 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pub1.term_comp 1 0 0 0 ctdprd51.pubc.log_query 67 48 40772 0 ctdprd51.pubc.log_query_bots 1 0 0 0 ctdprd51.pub1.term_set_enrichment 10 0 0 0 ctdprd51.pg_toast.pg_toast_2619 3 3 12464 0 ctdprd51.pg_catalog.pg_statistic 1 1 503 0 Total 94 52 53,739 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 30 00 1 3 01 1 4 02 1 3 03 1 2 04 0 2 05 1 2 06 0 1 07 1 1 08 0 3 09 0 0 10 1 1 11 0 1 12 0 0 13 0 1 14 0 0 15 1 1 16 0 0 17 0 1 18 0 0 19 0 1 20 1 0 21 0 1 22 0 0 23 0 1 Mar 31 00 1 2 01 1 4 02 1 3 03 0 2 04 1 2 05 1 2 06 0 1 07 0 1 08 1 1 09 0 1 10 0 2 11 3 1 12 0 1 13 0 1 14 1 1 15 0 1 16 0 1 17 1 0 18 0 1 19 1 3 20 1 0 21 0 1 22 0 0 23 0 0 Apr 01 00 1 3 01 3 9 02 4 6 03 4 14 04 1 4 05 1 3 06 1 2 07 1 1 08 2 4 09 1 1 10 0 1 11 0 1 12 1 1 13 2 4 14 0 1 15 0 1 16 1 0 17 0 1 18 1 2 19 0 1 20 0 0 21 1 0 22 0 1 23 0 1 Apr 02 00 1 3 01 1 4 02 1 3 03 1 2 04 1 2 05 1 1 06 0 2 07 0 1 08 1 2 09 0 1 10 1 2 11 1 0 12 0 1 13 0 0 14 0 1 15 0 0 16 1 1 17 0 0 18 0 1 19 0 0 20 0 1 21 0 0 22 1 0 23 0 1 Apr 03 00 2 2 01 3 6 02 1 4 03 0 2 04 1 2 05 1 2 06 0 1 07 1 3 08 0 1 09 0 1 10 1 2 11 3 3 12 0 1 13 0 1 14 1 4 15 1 4 16 0 1 17 1 1 18 1 1 19 1 1 20 0 1 21 0 1 22 1 1 23 0 1 Apr 04 00 3 5 01 0 4 02 1 3 03 1 1 04 0 2 05 1 2 06 1 1 07 0 2 08 0 1 09 1 1 10 0 0 11 0 1 12 0 0 13 0 1 14 1 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 1 0 22 0 2 23 0 0 Apr 05 00 1 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 1 06 0 4 07 0 1 08 1 3 09 1 4 10 0 3 11 1 1 12 0 3 13 1 2 14 0 1 15 0 1 16 1 0 17 0 1 18 0 1 19 0 1 20 1 0 21 0 1 22 0 1 23 0 0 - 11.98 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- AccessShareLock Main Lock Type
- 52 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 35 58m18s 1m1s 2m30s 1m39s select t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes from term t where t.id = ( select l.object_id from db_link l where l.type_cd = ? and l.object_type_id = ? and l.acc_txt = ? limit ?);-
SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 1 AND l.acc_txt = $1 LIMIT 1);
Date: 2025-04-01 11:04:32
2 4 8m4s 1m11s 2m23s 2m1s 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;-
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', 'NFKB & SIGNALING') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'NFKB & SIGNALING') 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 'NFKB' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SIGNALING')) 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 'NFKB' OR upper(l.acc_txt) LIKE 'SIGNALING')) ii GROUP BY ii.cd;
Date: 2025-04-01 11:04:35 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', 'LIVER & INJURY') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'LIVER & INJURY') 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 'LIVER' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INJURY')) 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 'LIVER' OR upper(l.acc_txt) LIKE 'INJURY')) ii GROUP BY ii.cd;
Date: 2025-04-03 22:00:50 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', 'LIVER & DAMAGE') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'LIVER & DAMAGE') 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 'LIVER' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DAMAGE')) 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 'LIVER' OR upper(l.acc_txt) LIKE 'DAMAGE')) ii GROUP BY ii.cd;
Date: 2025-04-04 01:10:15 Database: ctdprd51 User: pubeu Bind query: yes
3 4 7m23s 1m7s 2m14s 1m50s select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = ? order by root_id desc;-
select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '28238834' order by root_id desc;
Date: 2025-03-31 14:36:42 Bind query: yes
-
select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '38488668' order by root_id desc;
Date: 2025-04-01 11:04:32
4 2 3m23s 1m10s 2m12s 1m41s select coalesce(d.abbr_display, d.nm_display) dbnm, d.cd dbcd, d.id dbid, coalesce(d.abbr, d.nm) anchor, l.acc_txt acc, get_acc_sort_num (l.acc_txt) accsort, l.is_primary isprimary, dbrs.nm sitenm, dbr.nm reportnm, get_encoded_acc_url (dbrs.url, l.acc_txt) url, count(dbrs.id) over (partition by l.acc_txt, l.db_id, dbr.id) sitesperacccount, count(l.acc_txt) over (partition by l.db_id, dbrs.id) accsperdbcount from db_link l inner join db d on l.db_id = d.id inner join db_report dbr on d.id = dbr.db_id and dbr.object_type_id = ? inner join db_report_site dbrs on dbr.id = dbrs.db_report_id where l.object_id = ? and l.object_type_id = ? and l.type_cd = ? and dbr.type_cd = ? order by ?, ? desc, ?, ?, ?;-
SELECT /* TermLinksDAO */ COALESCE(d.abbr_display, d.nm_display) dbnm, d.cd dbcd, d.id dbid, COALESCE(d.abbr, d.nm) anchor, l.acc_txt acc, get_acc_sort_num (l.acc_txt) accsort, l.is_primary isprimary, dbrs.nm sitenm, dbr.nm reportnm, get_encoded_acc_url (dbrs.url, l.acc_txt) url, COUNT(dbrs.id) OVER (PARTITION BY l.acc_txt, l.db_id, dbr.id) sitesPerAccCount, COUNT(l.acc_txt) OVER (PARTITION BY l.db_id, dbrs.id) accsPerDbCount FROM db_link l INNER JOIN db d ON l.db_id = d.id INNER JOIN db_report dbr ON d.id = dbr.db_id AND dbr.object_type_id = 7 INNER JOIN db_report_site dbrs ON dbr.id = dbrs.db_report_id WHERE l.object_id = $1 AND l.object_type_id = 7 AND l.type_cd = 'A' AND dbr.type_cd = 'PAV' ORDER BY 1, 7 DESC, 6, 5, 8;
Date: 2025-04-01 11:04:32
5 2 2m50s 1m21s 1m28s 1m25s 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;-
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', 'CTD_D005235_GENES_2024111909582') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'CTD_D005235_GENES_2024111909582') 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 'CTD_D005235_GENES_2024111909582')) 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 'CTD_D005235_GENES_2024111909582')) ii GROUP BY ii.cd;
Date: 2025-04-04 05:13:34 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', 'CTD_D005235_GENES_2024111909582') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'CTD_D005235_GENES_2024111909582') 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 'CTD_D005235_GENES_2024111909582')) 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 'CTD_D005235_GENES_2024111909582')) ii GROUP BY ii.cd;
Date: 2025-04-04 05:12:51 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', 'CTD_D005235_GENES_2024111909582') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'CTD_D005235_GENES_2024111909582') 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 'CTD_D005235_GENES_2024111909582')) 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 'CTD_D005235_GENES_2024111909582')) ii GROUP BY ii.cd;
Date: 2025-04-04 05:12:49 Bind query: yes
6 1 2m27s 2m27s 2m27s 2m27s select sq.*, count(*) over () fullrowcount from ( select t.acc_txt acc, ? || t.nm accquerystr, t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, l.nm matchednm, lt.nm_display matchedtype, case when lt.nm_display = ? then true else false end isnamematch, case when lt.nm_display = ? then true else false end issecondarynamematch, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, case when upper(l.nm) = ? then ? else ? end relevance, t.nm_sort, t.id, t.has_phenotypes hasphenotypes from term t inner join term_label l on l.term_id = t.id inner join term_label_type lt on l.term_label_type_id = lt.id where l.object_type_id = ? and t.object_type_id = ? and l.id in ( select first_value(i.id) over (partition by i.term_id order by it.priority_seq, i.nm) from term_label i inner join term_label_type it on i.term_label_type_id = it.id where i.object_type_id = ? and i.nm_fts @@ to_tsquery(?, ?)) union all select t.acc_txt acc, ? || t.nm accquerystr, t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, l.acc_txt matchednm, ? matchedtype, false isnamematch, false issecondarynamematch, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, ? relevance, t.nm_sort, t.id, t.has_phenotypes hasphenotypes from db_link l inner join term t on l.object_id = t.id where l.type_cd = ? and l.object_type_id = ? and (upper(l.acc_txt) = ?) order by ?, ?) sq limit ?;-
SELECT /* GeneBasicQueryDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT /* label */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.nm matchedNm, lt.nm_display matchedType, CASE WHEN lt.nm_display = 'Symbol' THEN true ELSE false END isNameMatch, CASE WHEN lt.nm_display = 'Name' THEN true ELSE false END isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, CASE WHEN UPPER(l.nm) = 'HYPOTHETICAL+PROTEIN' THEN 1 ELSE 2 END relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN ( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', 'HYPOTHETICAL+PROTEIN')) UNION ALL SELECT /* acc */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.acc_txt matchednm, 'Accession' matchedtype, false isNameMatch, false isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, 1 relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper(l.acc_txt) = 'HYPOTHETICAL+PROTEIN') ORDER BY 13, 14) sq LIMIT 50;
Date: 2025-04-04 08:20:29 Bind query: yes
-
SELECT /* GeneBasicQueryDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT /* label */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.nm matchedNm, lt.nm_display matchedType, CASE WHEN lt.nm_display = 'Symbol' THEN true ELSE false END isNameMatch, CASE WHEN lt.nm_display = 'Name' THEN true ELSE false END isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN ( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2)) UNION ALL SELECT /* acc */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.acc_txt matchednm, 'Accession' matchedtype, false isNameMatch, false isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, 1 relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper(l.acc_txt) = $3) ORDER BY 13, 14) sq LIMIT 50;
Date: 2025-04-01 11:04:32
7 1 2m26s 2m26s 2m26s 2m26s select coalesce(d.abbr_display, d.nm_display) dbnm, d.cd dbcd, d.id dbid, coalesce(d.abbr, d.nm) anchor, l.acc_txt acc, get_acc_sort_num (l.acc_txt) accsort, l.is_primary isprimary, dbrs.nm sitenm, dbr.nm reportnm, get_encoded_acc_url (dbrs.url, l.acc_txt) url, count(dbrs.id) over (partition by l.acc_txt, l.db_id, dbr.id) sitesperacccount, count(l.acc_txt) over (partition by l.db_id, dbrs.id) accsperdbcount, case when l.type_cd = ? then ( select t.nm from gene_taxon gt inner join term t on gt.taxon_id = t.id where gt.gene_acc_txt = l.acc_txt) else null end description from db_link l inner join db d on l.db_id = d.id inner join db_report dbr on d.id = dbr.db_id and dbr.object_type_id = ? inner join db_report_site dbrs on dbr.id = dbrs.db_report_id where l.object_id = ? and l.object_type_id = ? and l.type_cd = ? and dbr.type_cd = ? order by ?, ? desc, ?, ?, ?;-
SELECT /* TermLinksDAO */ COALESCE(d.abbr_display, d.nm_display) dbnm, d.cd dbcd, d.id dbid, COALESCE(d.abbr, d.nm) anchor, l.acc_txt acc, get_acc_sort_num (l.acc_txt) accsort, l.is_primary isprimary, dbrs.nm sitenm, dbr.nm reportnm, get_encoded_acc_url (dbrs.url, l.acc_txt) url, COUNT(dbrs.id) OVER (PARTITION BY l.acc_txt, l.db_id, dbr.id) sitesPerAccCount, COUNT(l.acc_txt) OVER (PARTITION BY l.db_id, dbrs.id) accsPerDbCount, CASE WHEN l.type_cd = 'A' THEN ( SELECT t.nm FROM gene_taxon gt INNER JOIN term t ON gt.taxon_id = t.id WHERE gt.gene_acc_txt = l.acc_txt) ELSE NULL END description FROM db_link l INNER JOIN db d ON l.db_id = d.id INNER JOIN db_report dbr ON d.id = dbr.db_id AND dbr.object_type_id = 4 INNER JOIN db_report_site dbrs ON dbr.id = dbrs.db_report_id WHERE l.object_id = '2078496' AND l.object_type_id = 4 AND l.type_cd = 'A' AND dbr.type_cd = 'PAV' ORDER BY 1, 7 DESC, 6, 5, 8;
Date: 2025-04-04 01:12:36 Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TermLinksDAO */ COALESCE(d.abbr_display, d.nm_display) dbnm, d.cd dbcd, d.id dbid, COALESCE(d.abbr, d.nm) anchor, l.acc_txt acc, get_acc_sort_num (l.acc_txt) accsort, l.is_primary isprimary, dbrs.nm sitenm, dbr.nm reportnm, get_encoded_acc_url (dbrs.url, l.acc_txt) url, COUNT(dbrs.id) OVER (PARTITION BY l.acc_txt, l.db_id, dbr.id) sitesPerAccCount, COUNT(l.acc_txt) OVER (PARTITION BY l.db_id, dbrs.id) accsPerDbCount, CASE WHEN l.type_cd = 'A' THEN ( SELECT t.nm FROM gene_taxon gt INNER JOIN term t ON gt.taxon_id = t.id WHERE gt.gene_acc_txt = l.acc_txt) ELSE NULL END description FROM db_link l INNER JOIN db d ON l.db_id = d.id INNER JOIN db_report dbr ON d.id = dbr.db_id AND dbr.object_type_id = 4 INNER JOIN db_report_site dbrs ON dbr.id = dbrs.db_report_id WHERE l.object_id = '2078497' AND l.object_type_id = 4 AND l.type_cd = 'A' AND dbr.type_cd = 'PAV' ORDER BY 1, 7 DESC, 6, 5, 8;
Date: 2025-04-05 21:23:01 Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TermLinksDAO */ COALESCE(d.abbr_display, d.nm_display) dbnm, d.cd dbcd, d.id dbid, COALESCE(d.abbr, d.nm) anchor, l.acc_txt acc, get_acc_sort_num (l.acc_txt) accsort, l.is_primary isprimary, dbrs.nm sitenm, dbr.nm reportnm, get_encoded_acc_url (dbrs.url, l.acc_txt) url, COUNT(dbrs.id) OVER (PARTITION BY l.acc_txt, l.db_id, dbr.id) sitesPerAccCount, COUNT(l.acc_txt) OVER (PARTITION BY l.db_id, dbrs.id) accsPerDbCount, CASE WHEN l.type_cd = 'A' THEN ( SELECT t.nm FROM gene_taxon gt INNER JOIN term t ON gt.taxon_id = t.id WHERE gt.gene_acc_txt = l.acc_txt) ELSE NULL END description FROM db_link l INNER JOIN db d ON l.db_id = d.id INNER JOIN db_report dbr ON d.id = dbr.db_id AND dbr.object_type_id = 4 INNER JOIN db_report_site dbrs ON dbr.id = dbrs.db_report_id WHERE l.object_id = '2078542' AND l.object_type_id = 4 AND l.type_cd = 'A' AND dbr.type_cd = 'PAV' ORDER BY 1, 7 DESC, 6, 5, 8;
Date: 2025-04-04 23:43:35 Database: ctdprd51 User: pubeu Bind query: yes
8 1 2m8s 2m8s 2m8s 2m8s select t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes from term t where t.id = ( select l.object_id from db_link l where l.type_cd = ? and l.object_type_id = ? and l.acc_txt = ? and l.db_id = ? limit ?);-
SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 3 AND l.acc_txt = $1 AND l.db_id = $2 LIMIT 1);
Date: 2025-04-01 11:04:32
9 1 1m54s 1m54s 1m54s 1m54s select sq.*, count(*) over () fullrowcount from ( select n.acc_txt acc, n.acc_txt accquerystr, n.nm, n.nm_html nmhtml, l.nm matchednm, lt.nm_display matchedtype, case when lt.nm_display = ? then true else false end isnamematch, d.nm ranknm, case when upper(l.nm) = ? then ? else ? end relevance, n.nm_sort, n.object_id id, n.has_genes hasgenes, n.has_diseases hasdiseases, n.has_exposures hasexposures, n.has_phenotypes hasphenotypes from dag_node n inner join term_label l on l.term_id = n.object_id inner join term_label_type lt on l.term_label_type_id = lt.id inner join dag d on n.dag_id = d.id where l.object_type_id = ? and l.id in ( select first_value(i.id) over (partition by i.term_id order by it.priority_seq, i.nm) from term_label i inner join term_label_type it on i.term_label_type_id = it.id where i.object_type_id = ? and i.nm_fts @@ to_tsquery(?, ?)) union all select n.acc_txt acc, n.acc_txt accquerystr, n.nm, n.nm_html nmhtml, n.acc_txt matchednm, ? matchedtype, false isnamematch, d.nm ranknm, ? relevance, n.nm_sort, n.object_id id, n.has_genes hasgenes, n.has_diseases hasdiseases, n.has_exposures hasexposures, n.has_phenotypes hasphenotypes from db_link l inner join dag_node n on l.object_id = n.object_id inner join dag d on n.dag_id = d.id where l.type_cd = ? and l.object_type_id = ? and (upper(l.acc_txt) = ?) order by ?, ?) sq limit ?;-
SELECT /* GoBasicQueryDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT /* label */ n.acc_txt acc, n.acc_txt accQueryStr, n.nm, n.nm_html nmHtml, l.nm matchednm, lt.nm_display matchedtype, CASE WHEN lt.nm_display = 'Name' THEN true ELSE false END isNameMatch, d.nm rankNm, CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance, n.nm_sort, n.object_id id, n.has_genes hasGenes, n.has_diseases hasDiseases, n.has_exposures hasExposures, n.has_phenotypes hasPhenotypes FROM dag_node n INNER JOIN term_label l ON l.term_id = n.object_id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id INNER JOIN dag d ON n.dag_id = d.id WHERE l.object_type_id = 5 AND l.id IN ( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 5 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2)) UNION ALL SELECT /* acc */ n.acc_txt acc, n.acc_txt accQueryStr, n.nm, n.nm_html nmHtml, n.acc_txt matchednm, 'Accession' matchedtype, false isNameMatch, d.nm rankNm, 1 relevance, n.nm_sort, n.object_id id, n.has_genes hasGenes, n.has_diseases hasDiseases, n.has_exposures hasExposures, n.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN dag_node n ON l.object_id = n.object_id INNER JOIN dag d ON n.dag_id = d.id WHERE l.type_cd = 'A' AND l.object_type_id = 5 AND (upper(l.acc_txt) = $3) ORDER BY 9, 10) sq LIMIT 50;
Date: 2025-04-01 11:04:32
10 1 1m49s 1m49s 1m49s 1m49s select sq.*, count(*) over () fullrowcount from ( select t.acc_txt acc, ? || t.nm accquerystr, t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, l.nm matchednm, lt.nm_display matchedtype, case when lt.nm_display = ? then true else false end isnamematch, case when lt.nm_display = ? then true else false end issecondarynamematch, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, case when upper(l.nm) = ? then ? else ? end relevance, t.nm_sort, t.id, t.has_phenotypes hasphenotypes from term t inner join term_label l on l.term_id = t.id inner join term_label_type lt on l.term_label_type_id = lt.id where l.object_type_id = ? and t.object_type_id = ? and l.id in ( select first_value(i.id) over (partition by i.term_id order by it.priority_seq, i.nm) from term_label i inner join term_label_type it on i.term_label_type_id = it.id where i.object_type_id = ? and i.nm_fts @@ to_tsquery(?, ?)) union all select t.acc_txt acc, ? || t.nm accquerystr, t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, l.acc_txt matchednm, ? matchedtype, false isnamematch, false issecondarynamematch, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, ? relevance, t.nm_sort, t.id, t.has_phenotypes hasphenotypes from db_link l inner join term t on l.object_id = t.id where l.type_cd = ? and l.object_type_id = ? and (upper(l.acc_txt) = ? or upper(l.acc_txt) = ? or upper(l.acc_txt) = ? or upper(l.acc_txt) = ?) order by ?, ?) sq limit ?;-
SELECT /* GeneBasicQueryDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT /* label */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.nm matchedNm, lt.nm_display matchedType, CASE WHEN lt.nm_display = 'Symbol' THEN true ELSE false END isNameMatch, CASE WHEN lt.nm_display = 'Name' THEN true ELSE false END isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN ( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2)) UNION ALL SELECT /* acc */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.acc_txt matchednm, 'Accession' matchedtype, false isNameMatch, false isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, 1 relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper(l.acc_txt) = $3 OR upper(l.acc_txt) = $4 OR upper(l.acc_txt) = $5 OR upper(l.acc_txt) = $6) ORDER BY 13, 14) sq LIMIT 50;
Date: 2025-04-01 11:04:32
Queries that waited the most
Rank Wait time Query 1 2m30s SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 2 AND l.acc_txt = $1 LIMIT 1);[ Date: 2025-04-01 11:04:32 ]
2 2m27s SELECT /* GeneBasicQueryDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT /* label */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.nm matchedNm, lt.nm_display matchedType, CASE WHEN lt.nm_display = 'Symbol' THEN true ELSE false END isNameMatch, CASE WHEN lt.nm_display = 'Name' THEN true ELSE false END isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN ( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2)) UNION ALL SELECT /* acc */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.acc_txt matchednm, 'Accession' matchedtype, false isNameMatch, false isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, 1 relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper(l.acc_txt) = $3) ORDER BY 13, 14) sq LIMIT 50;[ Date: 2025-04-01 11:04:32 ]
3 2m26s SELECT /* TermLinksDAO */ COALESCE(d.abbr_display, d.nm_display) dbnm, d.cd dbcd, d.id dbid, COALESCE(d.abbr, d.nm) anchor, l.acc_txt acc, get_acc_sort_num (l.acc_txt) accsort, l.is_primary isprimary, dbrs.nm sitenm, dbr.nm reportnm, get_encoded_acc_url (dbrs.url, l.acc_txt) url, COUNT(dbrs.id) OVER (PARTITION BY l.acc_txt, l.db_id, dbr.id) sitesPerAccCount, COUNT(l.acc_txt) OVER (PARTITION BY l.db_id, dbrs.id) accsPerDbCount, CASE WHEN l.type_cd = 'A' THEN ( SELECT t.nm FROM gene_taxon gt INNER JOIN term t ON gt.taxon_id = t.id WHERE gt.gene_acc_txt = l.acc_txt) ELSE NULL END description FROM db_link l INNER JOIN db d ON l.db_id = d.id INNER JOIN db_report dbr ON d.id = dbr.db_id AND dbr.object_type_id = 4 INNER JOIN db_report_site dbrs ON dbr.id = dbrs.db_report_id WHERE l.object_id = $1 AND l.object_type_id = 4 AND l.type_cd = 'A' AND dbr.type_cd = 'PAV' ORDER BY 1, 7 DESC, 6, 5, 8;[ Date: 2025-04-01 11:04:32 ]
4 2m26s SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 1 AND l.acc_txt = $1 LIMIT 1);[ Date: 2025-04-01 11:04:32 ]
5 2m26s SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 1 AND l.acc_txt = $1 LIMIT 1);[ Date: 2025-04-01 11:04:32 ]
6 2m24s SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 2 AND l.acc_txt = $1 LIMIT 1);[ Date: 2025-04-01 11:04:32 ]
7 2m23s 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', $1) UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', $2) 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 $3 OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE $4)) 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 $5 OR upper(l.acc_txt) LIKE $6)) ii GROUP BY ii.cd;[ Date: 2025-04-01 11:04:32 ]
8 2m23s SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 1 AND l.acc_txt = $1 LIMIT 1);[ Date: 2025-04-01 11:04:32 ]
9 2m18s SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND l.acc_txt = $1 LIMIT 1);[ Date: 2025-04-01 11:04:32 ]
10 2m15s 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', $1) UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', $2) 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 $3 OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE $4)) 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 $5 OR upper(l.acc_txt) LIKE $6)) ii GROUP BY ii.cd;[ Date: 2025-04-01 11:04:32 ]
11 2m15s SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND l.acc_txt = $1 LIMIT 1);[ Date: 2025-04-01 11:04:32 ]
12 2m14s select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '38488668' order by root_id desc;[ Date: 2025-04-01 11:04:32 ]
13 2m14s 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', $1) UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', $2) 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 $3 OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE $4)) 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 $5 OR upper(l.acc_txt) LIKE $6)) ii GROUP BY ii.cd;[ Date: 2025-04-01 11:04:32 ]
14 2m13s SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND l.acc_txt = $1 LIMIT 1);[ Date: 2025-04-01 11:04:32 ]
15 2m12s SELECT /* TermLinksDAO */ COALESCE(d.abbr_display, d.nm_display) dbnm, d.cd dbcd, d.id dbid, COALESCE(d.abbr, d.nm) anchor, l.acc_txt acc, get_acc_sort_num (l.acc_txt) accsort, l.is_primary isprimary, dbrs.nm sitenm, dbr.nm reportnm, get_encoded_acc_url (dbrs.url, l.acc_txt) url, COUNT(dbrs.id) OVER (PARTITION BY l.acc_txt, l.db_id, dbr.id) sitesPerAccCount, COUNT(l.acc_txt) OVER (PARTITION BY l.db_id, dbrs.id) accsPerDbCount FROM db_link l INNER JOIN db d ON l.db_id = d.id INNER JOIN db_report dbr ON d.id = dbr.db_id AND dbr.object_type_id = 7 INNER JOIN db_report_site dbrs ON dbr.id = dbrs.db_report_id WHERE l.object_id = $1 AND l.object_type_id = 7 AND l.type_cd = 'A' AND dbr.type_cd = 'PAV' ORDER BY 1, 7 DESC, 6, 5, 8;[ Date: 2025-04-01 11:04:32 ]
16 2m10s select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '38488668' order by root_id desc;[ Date: 2025-04-01 11:04:32 ]
17 2m8s SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 3 AND l.acc_txt = $1 AND l.db_id = $2 LIMIT 1);[ Date: 2025-04-01 11:04:32 ]
18 2m6s SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND l.acc_txt = $1 LIMIT 1);[ Date: 2025-04-01 11:04:32 ]
19 2m2s SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND l.acc_txt = $1 LIMIT 1);[ Date: 2025-04-01 11:04:32 ]
20 2m SELECT /* TermDAO */ t.id, t.nm, t.nm_html, t.secondary_nm, t.acc_db_cd, t.is_leaf, t.has_chems, t.has_diseases, t.has_genes, t.has_go, t.has_pathways, t.has_ixns, t.has_references, t.has_comps, t.has_exposures, t.has_phenotypes FROM term t WHERE t.id = ( SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND l.acc_txt = $1 LIMIT 1);[ Date: 2025-04-01 11:04:32 ]
-
Queries
Queries by type
Key values
- 26,604 Total read queries
- 5,432 Total write queries
Queries by database
Key values
- unknown Main database
- 16,038 Requests
- 19h35m35s (unknown)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 37,999 Requests
User Request type Count Duration editeu Total 32 2m52s select 32 2m52s load Total 4 30s311ms select 4 30s311ms postgres Total 108 1h1m32s copy to 108 1h1m32s pubc Total 8 5m58s insert 2 4m59s select 6 59s131ms pubeu Total 37,999 1d17h19m48s cte 5,528 5h26m23s select 32,471 1d11h53m24s qaeu Total 85 3m44s cte 17 1m select 68 2m44s unknown Total 37,723 1d21h23m24s copy to 705 6h54m53s cte 6,682 5h47m44s delete 2 4m57s insert 2 4s660ms others 21 10m56s select 30,311 1d8h24m47s zbx_monitor Total 24 35s750ms select 24 35s750ms Duration by user
Key values
- 1d21h23m24s (unknown) Main time consuming user
User Request type Count Duration editeu Total 32 2m52s select 32 2m52s load Total 4 30s311ms select 4 30s311ms postgres Total 108 1h1m32s copy to 108 1h1m32s pubc Total 8 5m58s insert 2 4m59s select 6 59s131ms pubeu Total 37,999 1d17h19m48s cte 5,528 5h26m23s select 32,471 1d11h53m24s qaeu Total 85 3m44s cte 17 1m select 68 2m44s unknown Total 37,723 1d21h23m24s copy to 705 6h54m53s cte 6,682 5h47m44s delete 2 4m57s insert 2 4s660ms others 21 10m56s select 30,311 1d8h24m47s zbx_monitor Total 24 35s750ms select 24 35s750ms Queries by host
Key values
- unknown Main host
- 75,983 Requests
- 3d15h58m26s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 31,996 Requests
- 1d12h56m45s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:4131761 Total 1 2s883ms select 1 2s883ms pgAdmin 4 - CONN:5654204 Total 1 2m29s insert 1 2m29s pgAdmin 4 - CONN:8728278 Total 1 21s368ms select 1 21s368ms pg_dump Total 49 27m50s copy to 49 27m50s psql Total 1 5s312ms select 1 5s312ms unknown Total 31,996 1d12h56m45s copy to 261 1h55m9s cte 5,119 4h37m38s delete 1 2m28s insert 1 2s330ms others 13 5m45s select 26,601 1d6h15m39s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-03-30 21:35:39 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 31,118 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 30m7s /* * 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-04-01 00:30:09 ]
2 30m3s /* * 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-03-31 00:30:05 ]
3 29m44s /* * 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-04-02 00:29:45 ]
4 29m23s /* * 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-03-30 00:29:25 ]
5 29m4s /* * 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-04-03 00:29:06 ]
6 25m5s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2025-04-05 19:02:14 ]
7 24m43s COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2025-04-05 19:45:11 ]
8 14m54s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1256878') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;[ Date: 2025-04-03 11:16:57 - Bind query: yes ]
9 10m38s select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1445823'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;[ Date: 2025-03-31 23:56:21 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
10 8m12s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY ( SELECT /* CIQH.getIxnGeneWhereContains */ gi.id FROM term gi WHERE gi.nm_fts @@ to_tsquery('common.english_nostops', 'MYC') AND gi.object_type_id = 4))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-03-30 09:18:51 - Bind query: yes ]
11 7m9s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-04-05 19:14:33 ]
12 7m7s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-04-05 19:57:29 ]
13 6m50s /* * 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-04-04 00:06:51 ]
14 5m27s select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1447336'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;[ Date: 2025-04-04 03:11:31 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
15 5m22s select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;[ Date: 2025-04-04 11:53:23 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 5m17s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1269311') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-01 09:23:00 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 5m12s select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;[ Date: 2025-04-04 11:53:41 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 5m10s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1269311') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-01 09:43:07 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
19 5m9s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1269311') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-01 09:35:55 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 4m36s /* * 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-04-05 00:04:37 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 9h4m52s 8,571 1s 24s134ms 3s814ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 30 06 1 5s745ms 5s745ms 10 1 2s85ms 2s85ms Mar 31 00 3 8s71ms 2s690ms 13 1 5s991ms 5s991ms 16 1 2s253ms 2s253ms 23 1 4s51ms 4s51ms Apr 01 00 1 1s836ms 1s836ms 03 1 2s794ms 2s794ms 10 1 1s66ms 1s66ms 21 4 12s491ms 3s122ms 22 2 3s823ms 1s911ms 23 4 10s467ms 2s616ms Apr 02 00 1 1s62ms 1s62ms 01 1 2s808ms 2s808ms 02 4 11s99ms 2s774ms 03 6 20s692ms 3s448ms 04 5 11s717ms 2s343ms 05 5 9s253ms 1s850ms 06 1 2s737ms 2s737ms 07 1 2s895ms 2s895ms 08 3 9s588ms 3s196ms 09 3 8s35ms 2s678ms 11 3 7s135ms 2s378ms 19 5 15s909ms 3s181ms 20 19 1m8s 3s598ms 21 32 1m51s 3s472ms 22 37 2m 3s243ms 23 169 8m47s 3s121ms Apr 03 00 39 2m3s 3s163ms 01 70 3m37s 3s101ms 02 114 5m50s 3s78ms 03 27 1m27s 3s235ms 04 38 1m53s 2s985ms 05 46 2m18s 3s15ms 06 34 1m40s 2s945ms 07 32 1m37s 3s44ms 08 27 1m23s 3s94ms 09 26 1m36s 3s724ms 10 14 50s31ms 3s573ms 11 18 1m4s 3s567ms 17 1 5s861ms 5s861ms 19 15 44s338ms 2s955ms 20 782 39m10s 3s5ms 21 630 32m11s 3s65ms 22 282 19m15s 4s96ms 23 228 14m8s 3s721ms Apr 04 00 359 26m14s 4s385ms 01 271 18m57s 4s198ms 02 226 14m18s 3s798ms 03 229 14m26s 3s785ms 04 246 13m59s 3s411ms 05 229 13m42s 3s593ms 06 243 18m1s 4s450ms 07 197 12m16s 3s736ms 08 189 12m10s 3s862ms 09 127 8m51s 4s186ms 10 158 12m44s 4s837ms 11 70 4m19s 3s711ms 12 26 1m39s 3s820ms 13 6 22s394ms 3s732ms 14 3 6s721ms 2s240ms 15 2 6s284ms 3s142ms 16 2 8s776ms 4s388ms 17 2 8s703ms 4s351ms 18 2 8s655ms 4s327ms 19 1 5s873ms 5s873ms 22 146 8m25s 3s461ms 23 481 46m12s 5s763ms Apr 05 05 534 33m17s 3s740ms 06 873 52m25s 3s602ms 07 766 57m15s 4s485ms 08 291 17m52s 3s685ms 09 152 8m58s 3s545ms 21 1 6s35ms 6s35ms [ User: pubeu - Total duration: 4h39m23s - Times executed: 4223 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-05 07:50:41 Duration: 24s134ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-04 06:00:38 Duration: 24s69ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-05 07:50:49 Duration: 23s226ms Bind query: yes
2 4h37m23s 5,115 1s3ms 18s611ms 3s253ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 30 01 1 2s929ms 2s929ms 05 4 9s318ms 2s329ms 14 1 2s828ms 2s828ms Mar 31 05 4 9s185ms 2s296ms 06 1 2s874ms 2s874ms 10 2 4s590ms 2s295ms 18 1 2s837ms 2s837ms Apr 01 04 1 1s843ms 1s843ms 05 6 14s608ms 2s434ms 07 2 5s329ms 2s664ms 09 1 1s988ms 1s988ms 10 1 3s444ms 3s444ms 15 1 2s865ms 2s865ms 20 1 2s409ms 2s409ms 21 5 15s136ms 3s27ms 22 1 2s22ms 2s22ms Apr 02 00 6 15s165ms 2s527ms 01 2 5s601ms 2s800ms 03 2 4s43ms 2s21ms 05 4 9s49ms 2s262ms 07 3 6s5ms 2s1ms 08 1 2s37ms 2s37ms 09 2 4s588ms 2s294ms 10 1 2s442ms 2s442ms 13 1 2s9ms 2s9ms 16 1 1s851ms 1s851ms 19 4 8s672ms 2s168ms 20 16 36s628ms 2s289ms 21 28 1m26s 3s81ms 22 19 45s689ms 2s404ms 23 130 5m20s 2s463ms Apr 03 00 28 1m7s 2s412ms 01 67 2m44s 2s458ms 02 92 3m50s 2s502ms 03 23 53s654ms 2s332ms 04 29 1m12s 2s501ms 05 45 1m52s 2s506ms 06 25 57s539ms 2s301ms 07 20 52s276ms 2s613ms 08 28 1m11s 2s560ms 09 29 1m15s 2s599ms 10 12 33s309ms 2s775ms 11 17 39s780ms 2s340ms 19 14 33s750ms 2s410ms 20 581 25m5s 2s591ms 21 489 21m2s 2s581ms 22 135 9m10s 4s77ms 23 101 5m54s 3s505ms Apr 04 00 144 10m37s 4s424ms 01 124 7m32s 3s645ms 02 113 6m35s 3s504ms 03 125 6m53s 3s309ms 04 130 7m11s 3s320ms 05 137 7m17s 3s194ms 06 132 7m51s 3s569ms 07 95 5m21s 3s380ms 08 112 6m 3s221ms 09 67 5m24s 4s837ms 10 83 5m41s 4s110ms 11 38 1m54s 3s22ms 12 21 57s624ms 2s744ms 13 9 24s895ms 2s766ms 14 1 2s548ms 2s548ms 15 1 1s827ms 1s827ms 17 3 8s274ms 2s758ms 18 2 5s152ms 2s576ms 22 90 4m13s 2s811ms 23 236 21m16s 5s406ms Apr 05 05 274 14m37s 3s203ms 06 560 29m 3s107ms 07 350 24m16s 4s162ms 08 185 9m48s 3s181ms 09 93 4m32s 2s932ms 21 2 4s743ms 2s371ms [ User: pubeu - Total duration: 2h11m15s - Times executed: 2232 ]
[ User: qaeu - Total duration: 24s759ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '659068' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-04-04 23:18:20 Duration: 18s611ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '658730' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-04-04 23:18:19 Duration: 17s779ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '659068' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-04-04 23:28:15 Duration: 15s947ms Bind query: yes
3 3h51m47s 2,002 1s 10m38s 6s946ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 31 23 1 10m38s 10m38s Apr 01 00 4 46s122ms 11s530ms 05 1 1s954ms 1s954ms 23 1 1s2ms 1s2ms Apr 02 00 3 20s82ms 6s694ms 01 5 24s474ms 4s894ms 02 4 17s676ms 4s419ms 03 1 6s790ms 6s790ms 04 8 36s647ms 4s580ms 05 4 24s167ms 6s41ms 06 3 20s167ms 6s722ms 07 3 20s60ms 6s686ms 08 4 27s368ms 6s842ms 09 4 24s252ms 6s63ms 10 4 23s796ms 5s949ms 11 4 20s878ms 5s219ms 20 8 27s405ms 3s425ms 21 7 33s40ms 4s720ms 22 16 1m22s 5s141ms 23 13 1m6s 5s137ms Apr 03 00 8 42s695ms 5s336ms 01 8 40s911ms 5s113ms 02 11 56s786ms 5s162ms 03 7 27s964ms 3s994ms 04 9 42s612ms 4s734ms 05 12 50s237ms 4s186ms 06 9 45s355ms 5s39ms 07 9 38s581ms 4s286ms 08 14 59s756ms 4s268ms 09 12 54s786ms 4s565ms 10 9 34s769ms 3s863ms 11 7 33s150ms 4s735ms 21 90 8m40s 5s786ms 22 120 9m46s 4s890ms 23 89 7m40s 5s176ms Apr 04 00 95 9m24s 5s940ms 01 99 10m45s 6s515ms 02 82 7m38s 5s592ms 03 80 17m1s 12s768ms 04 87 7m16s 5s19ms 05 75 6m19s 5s54ms 06 113 9m56s 5s275ms 07 110 10m17s 5s609ms 08 104 9m41s 5s589ms 09 75 12m52s 10s298ms 10 106 10m16s 5s820ms 11 88 21m28s 14s646ms 22 47 5m29s 7s21ms 23 85 20m7s 14s202ms Apr 05 05 24 1m38s 4s108ms 06 60 4m24s 4s401ms 07 77 6m6s 4s766ms 08 69 5m27s 4s747ms 09 14 1m16s 5s441ms [ User: pubeu - Total duration: 2h42m14s - Times executed: 1317 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1445823'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-03-31 23:56:21 Duration: 10m38s Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1447336'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 03:11:31 Duration: 5m27s Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 11:53:23 Duration: 5m22s Database: ctdprd51 User: pubeu Bind query: yes
4 2h43m35s 2,644 1s 27s478ms 3s712ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 30 16 1 1s922ms 1s922ms 18 2 8s269ms 4s134ms 21 2 9s218ms 4s609ms 22 2 9s215ms 4s607ms 23 3 10s765ms 3s588ms Mar 31 11 1 2s168ms 2s168ms 23 8 46s315ms 5s789ms Apr 01 00 7 9s322ms 1s331ms 01 1 3s385ms 3s385ms 05 3 9s548ms 3s182ms 06 3 8s381ms 2s793ms 07 1 6s568ms 6s568ms 08 2 12s811ms 6s405ms 12 1 2s44ms 2s44ms 15 1 1s836ms 1s836ms 16 1 2s143ms 2s143ms 20 3 9s831ms 3s277ms 21 2 3s160ms 1s580ms 22 1 3s437ms 3s437ms 23 1 1s990ms 1s990ms Apr 02 00 4 11s611ms 2s902ms 01 13 36s232ms 2s787ms 02 4 11s873ms 2s968ms 03 7 14s42ms 2s6ms 04 5 8s361ms 1s672ms 05 4 10s411ms 2s602ms 06 2 8s524ms 4s262ms 07 6 11s375ms 1s895ms 08 1 1s996ms 1s996ms 09 5 18s997ms 3s799ms 10 5 24s765ms 4s953ms 11 5 19s631ms 3s926ms 12 1 1s905ms 1s905ms 19 5 18s612ms 3s722ms 20 21 1m16s 3s644ms 21 21 1m19s 3s764ms 22 23 1m39s 4s329ms 23 15 51s335ms 3s422ms Apr 03 00 32 1m39s 3s95ms 01 17 52s719ms 3s101ms 02 21 1m2s 2s966ms 03 23 1m22s 3s598ms 04 21 1m6s 3s164ms 05 25 1m15s 3s27ms 06 14 40s139ms 2s867ms 07 20 1m11s 3s584ms 08 22 1m28s 4s1ms 09 23 1m26s 3s752ms 10 15 39s503ms 2s633ms 11 10 18s714ms 1s871ms 20 17 55s565ms 3s268ms 21 52 2m36s 3s8ms 22 121 8m12s 4s73ms 23 100 5m51s 3s515ms Apr 04 00 124 8m46s 4s247ms 01 131 8m15s 3s781ms 02 101 6m12s 3s684ms 03 68 3m36s 3s190ms 04 108 6m6s 3s389ms 05 86 5m32s 3s868ms 06 105 6m56s 3s969ms 07 74 4m48s 3s900ms 08 94 5m25s 3s459ms 09 62 4m54s 4s746ms 10 57 4m26s 4s668ms 11 37 2m15s 3s674ms 12 1 1s836ms 1s836ms 16 1 1s993ms 1s993ms 22 39 1m50s 2s838ms 23 98 9m4s 5s554ms Apr 05 05 139 8m21s 3s606ms 06 272 14m13s 3s138ms 07 185 13m 4s218ms 08 85 5m7s 3s613ms 09 44 2m30s 3s411ms 18 7 20s324ms 2s903ms [ User: pubeu - Total duration: 1h32m50s - Times executed: 1446 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-04 23:04:52 Duration: 27s478ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-04 06:00:40 Duration: 25s534ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-04 23:28:19 Duration: 25s442ms Database: ctdprd51 User: pubeu Bind query: yes
5 2h39m51s 7 4m36s 30m7s 22m50s select maint_query_logs_archive ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 30 00 1 29m23s 29m23s Mar 31 00 1 30m3s 30m3s Apr 01 00 1 30m7s 30m7s Apr 02 00 1 29m44s 29m44s Apr 03 00 1 29m4s 29m4s Apr 04 00 1 6m50s 6m50s Apr 05 00 1 4m36s 4m36s -
/* * 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-04-01 00:30:09 Duration: 30m7s
-
/* * 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-03-31 00:30:05 Duration: 30m3s
-
/* * 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-04-02 00:29:45 Duration: 29m44s
6 2h34m4s 2,981 1s 24s181ms 3s101ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 30 04 1 2s891ms 2s891ms 18 6 11s993ms 1s998ms 21 1 4s165ms 4s165ms 22 5 14s292ms 2s858ms 23 5 7s635ms 1s527ms Mar 31 00 1 4s422ms 4s422ms 01 1 4s415ms 4s415ms 05 1 4s319ms 4s319ms 07 1 1s30ms 1s30ms 19 1 3s93ms 3s93ms 23 2 4s556ms 2s278ms Apr 01 00 1 1s74ms 1s74ms 01 3 6s218ms 2s72ms 04 2 3s179ms 1s589ms 05 2 4s104ms 2s52ms 06 1 1s70ms 1s70ms 07 2 2s921ms 1s460ms 09 2 6s17ms 3s8ms 13 1 1s852ms 1s852ms 20 2 7s329ms 3s664ms 21 5 13s485ms 2s697ms 22 3 8s102ms 2s700ms 23 4 12s373ms 3s93ms Apr 02 00 4 13s445ms 3s361ms 01 15 34s129ms 2s275ms 02 4 7s611ms 1s902ms 03 5 9s439ms 1s887ms 04 10 19s416ms 1s941ms 05 3 6s543ms 2s181ms 06 5 14s337ms 2s867ms 07 5 8s599ms 1s719ms 08 7 17s745ms 2s535ms 09 6 19s634ms 3s272ms 10 2 2s135ms 1s67ms 11 2 6s219ms 3s109ms 19 3 5s44ms 1s681ms 20 19 54s321ms 2s859ms 21 27 1m6s 2s457ms 22 31 1m7s 2s175ms 23 25 1m10s 2s826ms Apr 03 00 24 1m2s 2s621ms 01 19 40s188ms 2s115ms 02 15 44s406ms 2s960ms 03 18 36s774ms 2s43ms 04 22 49s349ms 2s243ms 05 30 51s903ms 1s730ms 06 27 1m6s 2s472ms 07 19 46s239ms 2s433ms 08 25 1m3s 2s537ms 09 23 46s557ms 2s24ms 10 14 27s627ms 1s973ms 11 14 39s648ms 2s832ms 20 13 32s298ms 2s484ms 21 68 2m45s 2s431ms 22 134 8m31s 3s819ms 23 93 5m13s 3s368ms Apr 04 00 159 9m20s 3s523ms 01 141 7m30s 3s196ms 02 131 7m7s 3s259ms 03 98 5m16s 3s234ms 04 116 5m8s 2s659ms 05 105 5m23s 3s84ms 06 104 5m55s 3s417ms 07 106 5m41s 3s222ms 08 87 4m21s 3s4ms 09 61 4m7s 4s56ms 10 88 4m37s 3s154ms 11 36 1m17s 2s142ms 19 1 1s920ms 1s920ms 22 44 1m47s 2s435ms 23 152 10m38s 4s197ms Apr 05 05 159 7m26s 2s807ms 06 254 11m59s 2s831ms 07 208 13m41s 3s949ms 08 99 4m55s 2s980ms 09 41 1m39s 2s433ms 18 7 15s558ms 2s222ms [ User: pubeu - Total duration: 1h28m12s - Times executed: 1655 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-05 07:50:53 Duration: 24s181ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-04 23:04:49 Duration: 24s102ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-04 00:03:38 Duration: 19s422ms Database: ctdprd51 User: pubeu Bind query: yes
7 1h24s 1,151 1s 23s624ms 3s149ms 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.ixn_id = any (array (( select ixn_id from ixn_anatomy where anatomy_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?)))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 30 05 1 1s198ms 1s198ms 14 1 7s359ms 7s359ms 15 1 1s419ms 1s419ms Mar 31 18 1 1s584ms 1s584ms Apr 01 20 1 1s551ms 1s551ms 22 3 4s93ms 1s364ms Apr 02 00 1 1s223ms 1s223ms 01 3 4s489ms 1s496ms 02 4 11s550ms 2s887ms 05 1 1s593ms 1s593ms 06 2 2s782ms 1s391ms 07 1 1s41ms 1s41ms 08 1 1s565ms 1s565ms 10 2 2s723ms 1s361ms 19 5 10s151ms 2s30ms 20 3 4s460ms 1s486ms 21 4 12s483ms 3s120ms 22 6 9s391ms 1s565ms 23 6 11s29ms 1s838ms Apr 03 00 8 17s853ms 2s231ms 01 7 15s495ms 2s213ms 02 2 2s921ms 1s460ms 03 12 32s697ms 2s724ms 04 7 9s702ms 1s386ms 05 17 33s123ms 1s948ms 06 11 35s596ms 3s236ms 07 5 6s982ms 1s396ms 08 8 18s857ms 2s357ms 09 11 22s644ms 2s58ms 10 8 18s599ms 2s324ms 11 2 4s413ms 2s206ms 21 16 33s242ms 2s77ms 22 36 2m31s 4s199ms 23 33 1m47s 3s264ms Apr 04 00 61 3m31s 3s472ms 01 53 2m45s 3s125ms 02 44 2m21s 3s227ms 03 38 2m26s 3s858ms 04 38 1m46s 2s789ms 05 35 2m50s 4s866ms 06 42 1m57s 2s790ms 07 41 2m 2s933ms 08 34 1m31s 2s695ms 09 20 1m14s 3s739ms 10 32 1m52s 3s505ms 11 17 1m4s 3s780ms 16 1 7s244ms 7s244ms 22 18 42s140ms 2s341ms 23 74 4m20s 3s521ms Apr 05 05 73 3m44s 3s81ms 06 133 6m20s 2s859ms 07 100 5m35s 3s353ms 08 45 2m45s 3s677ms 09 22 1m22s 3s769ms [ User: pubeu - Total duration: 34m42s - Times executed: 647 ]
-
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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-03 22:01:41 Duration: 23s624ms 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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-05 07:50:27 Duration: 21s734ms 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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-04 01:00:41 Duration: 20s245ms Database: ctdprd51 User: pubeu Bind query: yes
8 45m58s 612 1s15ms 1m50s 4s508ms 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.ixn_id = any (array (( select ixn_id from ixn_anatomy where anatomy_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?)))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 01 21 1 1s502ms 1s502ms Apr 02 20 4 6s176ms 1s544ms 23 4 8s235ms 2s58ms Apr 03 00 3 5s562ms 1s854ms 01 3 4s830ms 1s610ms 02 6 24s191ms 4s31ms 03 10 54s788ms 5s478ms 04 10 35s623ms 3s562ms 05 4 25s730ms 6s432ms 06 10 34s100ms 3s410ms 07 4 25s49ms 6s262ms 08 6 28s535ms 4s755ms 09 6 27s799ms 4s633ms 10 7 29s834ms 4s262ms 11 2 10s462ms 5s231ms 21 41 1m16s 1s876ms 22 42 1m28s 2s113ms 23 15 36s594ms 2s439ms Apr 04 00 31 2m22s 4s603ms 01 23 3m7s 8s172ms 02 28 1m31s 3s265ms 03 14 52s638ms 3s759ms 04 21 1m13s 3s478ms 05 18 1m3s 3s516ms 06 33 1m54s 3s467ms 07 30 1m53s 3s795ms 08 21 1m25s 4s55ms 09 22 1m38s 4s498ms 10 26 1m52s 4s317ms 11 24 1m47s 4s490ms 22 2 2s334ms 1s167ms 23 24 7m52s 19s702ms Apr 05 05 12 56s53ms 4s671ms 06 27 1m44s 3s866ms 07 37 3m7s 5s61ms 08 35 2m22s 4s57ms 09 6 25s700ms 4s283ms [ User: pubeu - Total duration: 29m13s - Times executed: 388 ]
-
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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 23:26:39 Duration: 1m50s 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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 01:10:05 Duration: 1m14s 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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 23:19:30 Duration: 1m3s Bind query: yes
9 37m44s 995 1s7ms 10s419ms 2s276ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 30 02 2 3s753ms 1s876ms 18 1 1s858ms 1s858ms 23 5 8s936ms 1s787ms Mar 31 00 2 4s73ms 2s36ms 03 1 2s8ms 2s8ms 07 1 1s885ms 1s885ms 20 1 1s858ms 1s858ms 23 1 1s811ms 1s811ms Apr 01 05 1 1s853ms 1s853ms 06 1 1s970ms 1s970ms 08 1 1s271ms 1s271ms 09 1 1s876ms 1s876ms 10 1 1s876ms 1s876ms 15 1 1s861ms 1s861ms 19 1 1s867ms 1s867ms 20 1 2s213ms 2s213ms 21 1 1s845ms 1s845ms 22 3 5s525ms 1s841ms 23 1 1s274ms 1s274ms Apr 02 00 1 1s884ms 1s884ms 01 4 6s902ms 1s725ms 02 4 7s112ms 1s778ms 03 1 2s8ms 2s8ms 04 1 1s972ms 1s972ms 05 1 2s8ms 2s8ms 06 1 1s897ms 1s897ms 07 3 4s457ms 1s485ms 08 1 1s885ms 1s885ms 09 4 6s977ms 1s744ms 10 3 4s432ms 1s477ms 19 3 4s441ms 1s480ms 20 6 10s896ms 1s816ms 21 10 19s703ms 1s970ms 22 10 16s899ms 1s689ms 23 3 4s638ms 1s546ms Apr 03 00 5 8s432ms 1s686ms 01 5 9s497ms 1s899ms 02 9 16s596ms 1s844ms 03 12 22s889ms 1s907ms 04 8 14s208ms 1s776ms 05 7 11s3ms 1s571ms 06 6 10s373ms 1s728ms 07 14 26s169ms 1s869ms 08 10 17s25ms 1s702ms 09 8 14s354ms 1s794ms 10 5 8s279ms 1s655ms 11 5 9s883ms 1s976ms 20 7 10s980ms 1s568ms 21 12 24s158ms 2s13ms 22 33 1m18s 2s391ms 23 34 1m31s 2s691ms Apr 04 00 63 2m47s 2s658ms 01 42 1m30s 2s144ms 02 33 1m16s 2s319ms 03 40 1m25s 2s127ms 04 32 1m11s 2s241ms 05 30 59s334ms 1s977ms 06 39 1m49s 2s798ms 07 35 1m14s 2s139ms 08 32 1m1s 1s922ms 09 23 1m7s 2s939ms 10 27 1m31s 3s376ms 11 10 18s197ms 1s819ms 22 8 13s246ms 1s655ms 23 87 4m17s 2s957ms Apr 05 05 43 1m36s 2s247ms 06 71 2m20s 1s977ms 07 74 2m56s 2s380ms 08 32 1m5s 2s54ms 09 8 15s589ms 1s948ms 14 1 1s837ms 1s837ms 18 2 3s136ms 1s568ms [ User: pubeu - Total duration: 21m11s - Times executed: 554 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-04 10:00:19 Duration: 10s419ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-04 23:19:42 Duration: 9s792ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-03 23:00:22 Duration: 9s303ms Database: ctdprd51 User: pubeu Bind query: yes
10 34m37s 1,074 1s 8s626ms 1s934ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, count(gcr.ixn_id) ixncount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join term g on gcr.gene_id = g.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort order by count(gcr.ixn_id) desc, g.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 31 23 17 29s857ms 1s756ms Apr 01 20 2 3s626ms 1s813ms Apr 02 02 1 1s5ms 1s5ms 20 1 1s510ms 1s510ms 21 5 9s20ms 1s804ms 22 2 2s632ms 1s316ms 23 1 2s4ms 2s4ms Apr 03 00 1 1s74ms 1s74ms 01 2 2s49ms 1s24ms 02 8 13s865ms 1s733ms 03 3 3s905ms 1s301ms 05 1 1s612ms 1s612ms 06 1 1s181ms 1s181ms 07 1 1s511ms 1s511ms 20 3 3s222ms 1s74ms 21 7 8s472ms 1s210ms 22 70 2m7s 1s822ms 23 39 1m18s 2s16ms Apr 04 00 103 3m53s 2s264ms 01 83 2m24s 1s739ms 02 40 1m23s 2s86ms 03 55 1m42s 1s858ms 04 38 1m 1s601ms 05 34 1m12s 2s146ms 06 60 1m54s 1s914ms 07 27 47s24ms 1s741ms 08 29 48s15ms 1s655ms 09 49 1m29s 1s821ms 10 34 1m25s 2s505ms 11 13 19s311ms 1s485ms 22 11 17s385ms 1s580ms 23 105 4m9s 2s379ms Apr 05 05 47 1m29s 1s905ms 06 67 1m50s 1s643ms 07 91 3m 1s987ms 08 20 32s133ms 1s606ms 09 3 3s792ms 1s264ms [ User: pubeu - Total duration: 22m34s - Times executed: 708 ]
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1436913') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-04-04 23:19:40 Duration: 8s626ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-04-04 10:00:23 Duration: 8s599ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-04-04 00:04:52 Duration: 7s855ms Bind query: yes
11 34m14s 476 3s796ms 15s786ms 4s316ms 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 #11
Day Hour Count Duration Avg duration Mar 30 00 3 12s527ms 4s175ms 01 1 3s932ms 3s932ms 03 4 16s203ms 4s50ms 07 1 3s846ms 3s846ms 08 3 11s736ms 3s912ms 09 3 11s742ms 3s914ms 11 4 16s473ms 4s118ms 15 1 3s998ms 3s998ms 17 3 12s11ms 4s3ms 18 5 20s349ms 4s69ms 19 1 4s31ms 4s31ms 20 2 8s277ms 4s138ms 21 4 15s772ms 3s943ms 22 10 41s225ms 4s122ms Mar 31 01 2 8s647ms 4s323ms 02 1 4s133ms 4s133ms 03 4 17s35ms 4s258ms 04 12 52s311ms 4s359ms 05 1 4s159ms 4s159ms 07 4 16s52ms 4s13ms 08 2 7s871ms 3s935ms 09 3 12s476ms 4s158ms 10 5 21s295ms 4s259ms 11 4 16s584ms 4s146ms 12 1 4s79ms 4s79ms 13 3 11s969ms 3s989ms 14 2 8s81ms 4s40ms 15 4 17s797ms 4s449ms 16 2 8s137ms 4s68ms 18 1 3s990ms 3s990ms 19 2 8s132ms 4s66ms 20 3 12s272ms 4s90ms 21 7 29s362ms 4s194ms Apr 01 00 5 20s451ms 4s90ms 01 24 1m38s 4s83ms 02 18 1m14s 4s146ms 03 2 8s86ms 4s43ms 04 5 21s387ms 4s277ms 05 1 4s464ms 4s464ms 07 2 8s214ms 4s107ms 08 3 12s217ms 4s72ms 09 1 4s158ms 4s158ms 10 4 17s627ms 4s406ms 11 2 7s989ms 3s994ms 12 1 4s99ms 4s99ms 13 2 8s551ms 4s275ms 14 2 8s94ms 4s47ms 15 2 7s923ms 3s961ms 20 1 4s104ms 4s104ms 21 1 4s161ms 4s161ms 22 1 4s19ms 4s19ms Apr 02 00 1 3s904ms 3s904ms 01 1 4s261ms 4s261ms 02 8 34s932ms 4s366ms 03 6 26s168ms 4s361ms 04 2 8s527ms 4s263ms 05 1 3s946ms 3s946ms 07 2 8s747ms 4s373ms 08 43 3m2s 4s240ms 09 24 1m40s 4s179ms 10 3 12s414ms 4s138ms 11 10 41s254ms 4s125ms 12 10 40s483ms 4s48ms 13 7 28s853ms 4s121ms 14 2 8s417ms 4s208ms 15 6 24s700ms 4s116ms 16 4 16s735ms 4s183ms 17 1 4s25ms 4s25ms 18 1 4s6ms 4s6ms 19 9 36s638ms 4s70ms 20 8 33s881ms 4s235ms 21 1 4s97ms 4s97ms 22 3 12s678ms 4s226ms 23 4 18s652ms 4s663ms Apr 03 00 2 8s677ms 4s338ms 01 1 4s350ms 4s350ms 02 3 12s66ms 4s22ms 03 2 8s287ms 4s143ms 04 3 11s995ms 3s998ms 05 6 24s817ms 4s136ms 06 5 20s977ms 4s195ms 07 4 16s162ms 4s40ms 08 1 5s481ms 5s481ms 09 5 20s446ms 4s89ms 10 4 16s716ms 4s179ms 11 2 7s928ms 3s964ms 13 5 20s292ms 4s58ms 14 1 4s219ms 4s219ms 15 1 4s209ms 4s209ms 16 4 15s788ms 3s947ms 17 2 8s22ms 4s11ms 18 1 3s921ms 3s921ms 19 3 12s240ms 4s80ms 20 3 13s185ms 4s395ms 21 3 13s918ms 4s639ms 22 2 9s440ms 4s720ms 23 2 9s657ms 4s828ms Apr 04 00 5 38s491ms 7s698ms 02 5 24s194ms 4s838ms 03 2 15s120ms 7s560ms 04 2 10s266ms 5s133ms 05 2 9s218ms 4s609ms 06 4 29s509ms 7s377ms 07 1 4s357ms 4s357ms 08 2 10s54ms 5s27ms 09 6 41s852ms 6s975ms 10 5 28s41ms 5s608ms 11 1 4s931ms 4s931ms 12 8 33s72ms 4s134ms 13 3 12s402ms 4s134ms 14 2 8s26ms 4s13ms 15 1 4s411ms 4s411ms 18 1 4s149ms 4s149ms 20 2 8s180ms 4s90ms 21 1 3s979ms 3s979ms 22 1 3s993ms 3s993ms Apr 05 06 1 5s461ms 5s461ms 08 2 8s968ms 4s484ms 09 3 12s485ms 4s161ms 10 2 7s998ms 3s999ms 11 1 3s997ms 3s997ms 13 1 3s967ms 3s967ms 19 1 4s36ms 4s36ms 20 1 3s960ms 3s960ms 21 1 4s59ms 4s59ms 22 1 4s113ms 4s113ms 23 1 3s942ms 3s942ms [ User: pubeu - Total duration: 15m24s - Times executed: 212 ]
[ User: qaeu - Total duration: 4s32ms - Times executed: 1 ]
-
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 = '1438284') 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 = '1438284') 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-04-04 06:00:25 Duration: 15s786ms 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 = '1297150') 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 = '1297150') 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-04-04 00:05:28 Duration: 13s673ms 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 = '1352752') 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 = '1352752') 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-04-04 09:06:24 Duration: 13s68ms Bind query: yes
12 33m5s 469 1s2ms 23s436ms 4s233ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, exp_anatomy a1 where a1.anatomy_id = any (array ( select descendant_object_id from dag_path where ancestor_object_id = ?)) and a1.exp_outcome_id = e1.exp_outcome_id union select reference_id from exposure e2, exp_event ee, medium m, term anatomyterm where e2.exp_event_id = ee.id and ee.medium_id = m.id and m.term_acc_txt = anatomyterm.acc_txt and m.term_object_type_id = anatomyterm.object_type_id and anatomyterm.id = any (array ( select descendant_object_id from dag_path where ancestor_object_id = ?)))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 02 02 2 6s500ms 3s250ms 03 2 3s784ms 1s892ms 06 1 2s240ms 2s240ms 07 2 8s141ms 4s70ms 08 1 4s30ms 4s30ms 20 2 7s907ms 3s953ms 21 7 18s205ms 2s600ms 22 4 10s373ms 2s593ms 23 5 13s502ms 2s700ms Apr 03 00 3 8s342ms 2s780ms 01 2 9s194ms 4s597ms 02 2 4s561ms 2s280ms 03 4 14s183ms 3s545ms 04 5 10s441ms 2s88ms 05 2 8s701ms 4s350ms 06 7 21s435ms 3s62ms 07 3 12s623ms 4s207ms 08 3 13s716ms 4s572ms 09 4 12s978ms 3s244ms 10 4 13s420ms 3s355ms 11 3 11s334ms 3s778ms 21 10 36s395ms 3s639ms 22 23 1m45s 4s571ms 23 14 1m10s 5s25ms Apr 04 00 22 1m51s 5s46ms 01 24 1m22s 3s441ms 02 17 57s833ms 3s401ms 03 14 59s920ms 4s280ms 04 22 1m37s 4s422ms 05 10 43s527ms 4s352ms 06 13 1m6s 5s118ms 07 19 1m5s 3s446ms 08 11 57s869ms 5s260ms 09 10 1m3s 6s307ms 10 11 57s913ms 5s264ms 11 6 23s168ms 3s861ms 22 6 19s776ms 3s296ms 23 20 1m24s 4s206ms Apr 05 05 27 1m50s 4s109ms 06 51 3m19s 3s914ms 07 48 4m30s 5s636ms 08 16 59s719ms 3s732ms 09 7 27s143ms 3s877ms [ User: pubeu - Total duration: 18m12s - Times executed: 257 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, exp_anatomy a1 where a1.anatomy_id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2107441')) and a1.exp_outcome_id = e1.exp_outcome_id UNION select reference_id from exposure e2, exp_event ee, medium m, term anatomyTerm where e2.exp_event_id = ee.id and ee.medium_id = m.id and m.term_acc_txt = anatomyTerm.acc_txt and m.term_object_type_id = anatomyTerm.object_type_id and anatomyTerm.id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2107441')))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-05 07:49:20 Duration: 23s436ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, exp_anatomy a1 where a1.anatomy_id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2106151')) and a1.exp_outcome_id = e1.exp_outcome_id UNION select reference_id from exposure e2, exp_event ee, medium m, term anatomyTerm where e2.exp_event_id = ee.id and ee.medium_id = m.id and m.term_acc_txt = anatomyTerm.acc_txt and m.term_object_type_id = anatomyTerm.object_type_id and anatomyTerm.id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2106151')))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-05 07:50:22 Duration: 18s209ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, exp_anatomy a1 where a1.anatomy_id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2106632')) and a1.exp_outcome_id = e1.exp_outcome_id UNION select reference_id from exposure e2, exp_event ee, medium m, term anatomyTerm where e2.exp_event_id = ee.id and ee.medium_id = m.id and m.term_acc_txt = anatomyTerm.acc_txt and m.term_object_type_id = anatomyTerm.object_type_id and anatomyTerm.id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2106632')))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-05 07:50:44 Duration: 18s110ms Bind query: yes
13 26m39s 1,229 1s135ms 7s932ms 1s301ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 30 00 1 1s220ms 1s220ms 01 10 12s112ms 1s211ms 02 11 13s402ms 1s218ms 03 4 4s908ms 1s227ms 04 12 14s502ms 1s208ms 05 25 30s250ms 1s210ms 06 10 11s783ms 1s178ms 07 4 4s958ms 1s239ms 08 6 7s407ms 1s234ms 09 14 16s746ms 1s196ms 10 1 1s166ms 1s166ms 11 2 2s501ms 1s250ms 12 2 2s416ms 1s208ms 13 7 8s253ms 1s179ms 14 9 10s835ms 1s203ms 15 7 8s94ms 1s156ms 16 10 12s270ms 1s227ms 17 12 14s716ms 1s226ms 18 8 9s788ms 1s223ms 19 3 3s578ms 1s192ms 20 4 4s837ms 1s209ms 21 10 12s155ms 1s215ms 22 9 12s57ms 1s339ms 23 23 30s72ms 1s307ms Mar 31 00 22 28s386ms 1s290ms 01 8 10s493ms 1s311ms 02 7 9s90ms 1s298ms 03 11 14s408ms 1s309ms 04 5 6s510ms 1s302ms 05 5 6s901ms 1s380ms 06 1 1s172ms 1s172ms 07 6 7s738ms 1s289ms 08 10 11s889ms 1s188ms 09 1 1s173ms 1s173ms 10 12 15s267ms 1s272ms 11 4 5s19ms 1s254ms 12 2 2s497ms 1s248ms 13 3 3s732ms 1s244ms 14 2 2s485ms 1s242ms 15 5 6s178ms 1s235ms 16 5 6s333ms 1s266ms 17 9 11s326ms 1s258ms 18 20 24s921ms 1s246ms 19 9 11s299ms 1s255ms 20 7 8s760ms 1s251ms 21 5 6s423ms 1s284ms Apr 01 00 4 4s941ms 1s235ms 01 5 6s311ms 1s262ms 02 13 16s67ms 1s235ms 03 11 13s833ms 1s257ms 04 5 6s141ms 1s228ms 05 6 7s867ms 1s311ms 06 11 14s100ms 1s281ms 07 1 1s334ms 1s334ms 08 18 22s996ms 1s277ms 09 8 10s375ms 1s296ms 10 3 3s898ms 1s299ms 11 3 3s848ms 1s282ms 12 11 14s146ms 1s286ms 13 7 9s42ms 1s291ms 14 2 2s545ms 1s272ms 15 7 8s762ms 1s251ms 16 5 6s359ms 1s271ms 17 7 8s782ms 1s254ms 18 7 9s 1s285ms 20 5 6s457ms 1s291ms 21 3 3s826ms 1s275ms 22 2 2s571ms 1s285ms 23 12 15s122ms 1s260ms Apr 02 00 4 5s291ms 1s322ms 01 11 14s407ms 1s309ms 02 18 24s500ms 1s361ms 03 8 10s502ms 1s312ms 04 7 9s576ms 1s368ms 05 14 18s227ms 1s301ms 06 6 7s452ms 1s242ms 07 16 20s337ms 1s271ms 08 10 13s177ms 1s317ms 09 10 12s603ms 1s260ms 10 7 8s726ms 1s246ms 11 8 10s159ms 1s269ms 12 3 3s689ms 1s229ms 13 6 7s541ms 1s256ms 14 5 6s196ms 1s239ms 15 5 6s163ms 1s232ms 16 8 9s819ms 1s227ms 17 4 4s984ms 1s246ms 18 4 4s978ms 1s244ms 19 4 4s932ms 1s233ms 20 3 3s816ms 1s272ms 21 6 7s912ms 1s318ms 22 4 5s86ms 1s271ms 23 18 22s714ms 1s261ms Apr 03 00 8 11s379ms 1s422ms 01 16 22s105ms 1s381ms 02 18 23s252ms 1s291ms 03 10 13s740ms 1s374ms 04 3 4s141ms 1s380ms 05 6 8s202ms 1s367ms 06 1 1s317ms 1s317ms 07 11 13s945ms 1s267ms 08 7 9s109ms 1s301ms 09 8 10s145ms 1s268ms 10 6 7s794ms 1s299ms 11 2 2s693ms 1s346ms 12 2 2s483ms 1s241ms 13 4 4s988ms 1s247ms 14 5 6s497ms 1s299ms 15 1 1s271ms 1s271ms 16 4 4s992ms 1s248ms 17 7 8s818ms 1s259ms 18 1 1s179ms 1s179ms 19 7 8s637ms 1s233ms 20 41 52s635ms 1s283ms 21 29 38s982ms 1s344ms 22 9 14s424ms 1s602ms 23 7 9s869ms 1s409ms Apr 04 00 10 14s915ms 1s491ms 01 5 8s117ms 1s623ms 02 5 7s102ms 1s420ms 03 2 2s776ms 1s388ms 04 6 8s527ms 1s421ms 05 6 8s193ms 1s365ms 06 10 13s721ms 1s372ms 07 24 33s483ms 1s395ms 08 7 10s750ms 1s535ms 09 10 13s785ms 1s378ms 10 11 21s653ms 1s968ms 11 4 7s278ms 1s819ms 12 15 19s19ms 1s267ms 13 6 7s540ms 1s256ms 14 7 9s120ms 1s302ms 15 8 10s127ms 1s265ms 16 9 11s125ms 1s236ms 17 8 9s722ms 1s215ms 18 14 17s400ms 1s242ms 19 7 8s557ms 1s222ms 20 3 3s704ms 1s234ms 21 9 11s206ms 1s245ms 22 5 6s544ms 1s308ms Apr 05 05 3 5s301ms 1s767ms 06 10 16s474ms 1s647ms 07 8 11s941ms 1s492ms 08 12 17s971ms 1s497ms 09 12 15s869ms 1s322ms 10 6 7s690ms 1s281ms 11 6 7s668ms 1s278ms 12 7 8s947ms 1s278ms 13 8 10s12ms 1s251ms 14 2 2s635ms 1s317ms 15 11 14s215ms 1s292ms 16 4 4s941ms 1s235ms 17 8 10s298ms 1s287ms 19 5 6s87ms 1s217ms 20 3 3s981ms 1s327ms 21 4 5s330ms 1s332ms 22 5 6s369ms 1s273ms 23 3 3s828ms 1s276ms [ User: pubeu - Total duration: 11m10s - Times executed: 507 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1513801' or receptorTerm.id = '1513801' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-04 10:00:19 Duration: 7s932ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2064755' or receptorTerm.id = '2064755' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-04 11:42:45 Duration: 2s960ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2057047' or receptorTerm.id = '2057047' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-05 06:43:55 Duration: 2s884ms Bind query: yes
14 25m57s 8 6s346ms 4m32s 3m14s 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 #14
Day Hour Count Duration Avg duration Mar 30 07 5 21m32s 4m18s Apr 02 23 2 13s201ms 6s600ms Apr 03 02 1 4m11s 4m11s [ User: pubeu - Total duration: 17m32s - Times executed: 5 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'liver disease' "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 = 2098594) 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-03-30 07:50:42 Duration: 4m32s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'liver disease' "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 = 2098594) 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-03-30 07:49:04 Duration: 4m32s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'liver disease' "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 = 2098594) 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-03-30 07:51:15 Duration: 4m12s Database: ctdprd51 User: pubeu Bind query: yes
15 25m5s 1 25m5s 25m5s 25m5s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 05 19 1 25m5s 25m5s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-04-05 19:02:14 Duration: 25m5s
16 24m43s 1 24m43s 24m43s 24m43s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 05 19 1 24m43s 24m43s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-04-05 19:45:11 Duration: 24m43s
17 21m45s 30 1s17ms 3m13s 43s520ms select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 30 17 1 1s942ms 1s942ms Mar 31 23 1 1s17ms 1s17ms Apr 01 06 2 1m21s 40s821ms Apr 02 02 1 2s398ms 2s398ms 21 1 1s752ms 1s752ms 23 2 1m56s 58s224ms Apr 03 00 2 59s190ms 29s595ms 09 1 1s990ms 1s990ms 10 1 42s74ms 42s74ms 14 1 42s71ms 42s71ms 22 3 2m58s 59s341ms Apr 04 04 1 2s82ms 2s82ms 10 1 1m16s 1m16s 20 1 1m3s 1m3s 23 1 1s151ms 1s151ms Apr 05 05 2 2m5s 1m2s 06 1 1m16s 1m16s 07 4 4m22s 1m5s 08 2 2m16s 1m8s 23 1 34s30ms 34s30ms [ User: pubeu - Total duration: 6m30s - Times executed: 11 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1445812')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-05 07:50:36 Duration: 3m13s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1275630')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-05 05:55:54 Duration: 2m1s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1445812')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-05 08:46:03 Duration: 1m18s Bind query: yes
18 21m40s 25 50s215ms 1m7s 52s25ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 30 06 1 51s220ms 51s220ms 10 1 51s525ms 51s525ms 14 1 51s920ms 51s920ms 18 1 51s385ms 51s385ms Mar 31 06 1 52s311ms 52s311ms 10 1 51s676ms 51s676ms 14 1 51s273ms 51s273ms 18 1 51s775ms 51s775ms Apr 01 06 1 51s732ms 51s732ms 10 1 51s616ms 51s616ms 14 1 51s473ms 51s473ms 18 1 51s528ms 51s528ms Apr 02 06 1 51s708ms 51s708ms 10 1 51s616ms 51s616ms 14 1 50s469ms 50s469ms 18 1 50s233ms 50s233ms Apr 03 06 1 51s658ms 51s658ms 10 1 51s671ms 51s671ms 14 1 50s355ms 50s355ms 18 1 50s476ms 50s476ms Apr 04 06 1 1m7s 1m7s 10 1 54s776ms 54s776ms 14 1 50s298ms 50s298ms 18 1 50s215ms 50s215ms Apr 05 20 1 50s377ms 50s377ms [ User: postgres - Total duration: 20m50s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 20m50s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-04-04 06:06:10 Duration: 1m7s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-04-04 10:05:57 Duration: 54s776ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-03-31 06:05:54 Duration: 52s311ms Database: ctdprd51 User: postgres Application: pg_dump
19 20m48s 296 1s1ms 24s882ms 4s219ms 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 #19
Day Hour Count Duration Avg duration Mar 30 00 1 1s52ms 1s52ms 01 1 5s241ms 5s241ms 02 1 5s278ms 5s278ms 04 1 5s685ms 5s685ms 05 3 3s374ms 1s124ms 06 1 4s918ms 4s918ms 07 1 4s883ms 4s883ms 08 2 5s937ms 2s968ms 09 3 15s801ms 5s267ms 10 1 1s19ms 1s19ms 12 1 1s29ms 1s29ms 14 2 10s814ms 5s407ms 15 1 1s1ms 1s1ms 16 1 4s871ms 4s871ms 18 4 19s831ms 4s957ms 20 1 1s43ms 1s43ms 21 1 6s222ms 6s222ms 22 1 4s898ms 4s898ms 23 1 1s47ms 1s47ms Mar 31 01 1 1s148ms 1s148ms 03 8 55s500ms 6s937ms 04 3 13s900ms 4s633ms 05 3 3s254ms 1s84ms 07 1 1s35ms 1s35ms 08 1 5s378ms 5s378ms 09 1 5s413ms 5s413ms 10 5 13s909ms 2s781ms 11 2 6s300ms 3s150ms 15 1 4s890ms 4s890ms 17 1 4s980ms 4s980ms 20 1 5s278ms 5s278ms Apr 01 00 1 5s575ms 5s575ms 01 4 16s710ms 4s177ms 03 1 5s272ms 5s272ms 04 4 22s903ms 5s725ms 05 8 20s269ms 2s533ms 09 2 10s406ms 5s203ms 10 1 5s425ms 5s425ms 15 1 1s79ms 1s79ms 16 2 10s483ms 5s241ms 17 1 5s397ms 5s397ms 19 1 1s45ms 1s45ms 20 1 1s266ms 1s266ms 21 4 12s740ms 3s185ms 22 7 24s492ms 3s498ms 23 4 13s273ms 3s318ms Apr 02 00 2 10s581ms 5s290ms 01 7 26s39ms 3s719ms 02 2 6s767ms 3s383ms 03 3 18s402ms 6s134ms 04 1 5s563ms 5s563ms 05 7 7s789ms 1s112ms 06 3 7s211ms 2s403ms 07 4 21s927ms 5s481ms 10 2 10s255ms 5s127ms 11 1 5s173ms 5s173ms 12 2 10s585ms 5s292ms 13 2 10s435ms 5s217ms 15 4 4s170ms 1s42ms 16 4 21s350ms 5s337ms 18 1 1s21ms 1s21ms 19 2 10s725ms 5s362ms 20 1 6s7ms 6s7ms 21 4 4s603ms 1s150ms 22 2 11s581ms 5s790ms 23 1 1s33ms 1s33ms Apr 03 00 1 5s318ms 5s318ms 01 3 7s992ms 2s664ms 03 3 13s167ms 4s389ms 04 7 30s634ms 4s376ms 05 7 11s819ms 1s688ms 06 1 1s64ms 1s64ms 08 2 11s550ms 5s775ms 09 4 18s878ms 4s719ms 11 2 11s783ms 5s891ms 12 3 10s900ms 3s633ms 13 2 10s183ms 5s91ms 14 3 3s203ms 1s67ms 19 2 10s884ms 5s442ms 22 1 1s553ms 1s553ms 23 5 20s945ms 4s189ms Apr 04 00 2 17s946ms 8s973ms 02 1 1s290ms 1s290ms 04 3 21s581ms 7s193ms 05 9 27s910ms 3s101ms 06 1 8s85ms 8s85ms 07 2 13s426ms 6s713ms 08 6 25s103ms 4s183ms 09 4 10s55ms 2s513ms 11 3 20s346ms 6s782ms 12 3 3s160ms 1s53ms 13 1 1s42ms 1s42ms 14 1 5s337ms 5s337ms 18 1 5s545ms 5s545ms 20 2 2s84ms 1s42ms 23 8 1m33s 11s694ms Apr 05 05 5 20s519ms 4s103ms 06 14 1m24s 6s19ms 07 8 41s299ms 5s162ms 08 4 30s32ms 7s508ms 09 5 15s239ms 3s47ms 11 1 5s383ms 5s383ms 15 1 1s144ms 1s144ms 17 2 10s238ms 5s119ms 18 6 23s694ms 3s949ms 21 3 3s64ms 1s21ms 22 1 5s102ms 5s102ms [ User: pubeu - Total duration: 8m40s - Times executed: 109 ]
[ User: qaeu - Total duration: 7s490ms - Times executed: 7 ]
-
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 = '1372685' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-04 23:28:18 Duration: 24s882ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1422646' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-04 23:28:20 Duration: 18s207ms 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 = '1336527' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-04 00:06:48 Duration: 12s679ms Database: ctdprd51 User: pubeu Bind query: yes
20 17m52s 9 1s553ms 5m17s 1m59s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 31 08 1 2m6s 2m6s Apr 01 06 1 1s641ms 1s641ms 09 3 15m37s 5m12s Apr 04 14 1 1s629ms 1s629ms 22 1 1s666ms 1s666ms Apr 05 14 1 1s553ms 1s553ms 21 1 1s630ms 1s630ms [ User: pubeu - Total duration: 17m46s - Times executed: 5 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1269311') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-01 09:23:00 Duration: 5m17s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1269311') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-01 09:43:07 Duration: 5m10s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1269311') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-01 09:35:55 Duration: 5m9s Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 8,571 9h4m52s 1s 24s134ms 3s814ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 30 06 1 5s745ms 5s745ms 10 1 2s85ms 2s85ms Mar 31 00 3 8s71ms 2s690ms 13 1 5s991ms 5s991ms 16 1 2s253ms 2s253ms 23 1 4s51ms 4s51ms Apr 01 00 1 1s836ms 1s836ms 03 1 2s794ms 2s794ms 10 1 1s66ms 1s66ms 21 4 12s491ms 3s122ms 22 2 3s823ms 1s911ms 23 4 10s467ms 2s616ms Apr 02 00 1 1s62ms 1s62ms 01 1 2s808ms 2s808ms 02 4 11s99ms 2s774ms 03 6 20s692ms 3s448ms 04 5 11s717ms 2s343ms 05 5 9s253ms 1s850ms 06 1 2s737ms 2s737ms 07 1 2s895ms 2s895ms 08 3 9s588ms 3s196ms 09 3 8s35ms 2s678ms 11 3 7s135ms 2s378ms 19 5 15s909ms 3s181ms 20 19 1m8s 3s598ms 21 32 1m51s 3s472ms 22 37 2m 3s243ms 23 169 8m47s 3s121ms Apr 03 00 39 2m3s 3s163ms 01 70 3m37s 3s101ms 02 114 5m50s 3s78ms 03 27 1m27s 3s235ms 04 38 1m53s 2s985ms 05 46 2m18s 3s15ms 06 34 1m40s 2s945ms 07 32 1m37s 3s44ms 08 27 1m23s 3s94ms 09 26 1m36s 3s724ms 10 14 50s31ms 3s573ms 11 18 1m4s 3s567ms 17 1 5s861ms 5s861ms 19 15 44s338ms 2s955ms 20 782 39m10s 3s5ms 21 630 32m11s 3s65ms 22 282 19m15s 4s96ms 23 228 14m8s 3s721ms Apr 04 00 359 26m14s 4s385ms 01 271 18m57s 4s198ms 02 226 14m18s 3s798ms 03 229 14m26s 3s785ms 04 246 13m59s 3s411ms 05 229 13m42s 3s593ms 06 243 18m1s 4s450ms 07 197 12m16s 3s736ms 08 189 12m10s 3s862ms 09 127 8m51s 4s186ms 10 158 12m44s 4s837ms 11 70 4m19s 3s711ms 12 26 1m39s 3s820ms 13 6 22s394ms 3s732ms 14 3 6s721ms 2s240ms 15 2 6s284ms 3s142ms 16 2 8s776ms 4s388ms 17 2 8s703ms 4s351ms 18 2 8s655ms 4s327ms 19 1 5s873ms 5s873ms 22 146 8m25s 3s461ms 23 481 46m12s 5s763ms Apr 05 05 534 33m17s 3s740ms 06 873 52m25s 3s602ms 07 766 57m15s 4s485ms 08 291 17m52s 3s685ms 09 152 8m58s 3s545ms 21 1 6s35ms 6s35ms [ User: pubeu - Total duration: 4h39m23s - Times executed: 4223 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-05 07:50:41 Duration: 24s134ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-04 06:00:38 Duration: 24s69ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-05 07:50:49 Duration: 23s226ms Bind query: yes
2 5,115 4h37m23s 1s3ms 18s611ms 3s253ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 30 01 1 2s929ms 2s929ms 05 4 9s318ms 2s329ms 14 1 2s828ms 2s828ms Mar 31 05 4 9s185ms 2s296ms 06 1 2s874ms 2s874ms 10 2 4s590ms 2s295ms 18 1 2s837ms 2s837ms Apr 01 04 1 1s843ms 1s843ms 05 6 14s608ms 2s434ms 07 2 5s329ms 2s664ms 09 1 1s988ms 1s988ms 10 1 3s444ms 3s444ms 15 1 2s865ms 2s865ms 20 1 2s409ms 2s409ms 21 5 15s136ms 3s27ms 22 1 2s22ms 2s22ms Apr 02 00 6 15s165ms 2s527ms 01 2 5s601ms 2s800ms 03 2 4s43ms 2s21ms 05 4 9s49ms 2s262ms 07 3 6s5ms 2s1ms 08 1 2s37ms 2s37ms 09 2 4s588ms 2s294ms 10 1 2s442ms 2s442ms 13 1 2s9ms 2s9ms 16 1 1s851ms 1s851ms 19 4 8s672ms 2s168ms 20 16 36s628ms 2s289ms 21 28 1m26s 3s81ms 22 19 45s689ms 2s404ms 23 130 5m20s 2s463ms Apr 03 00 28 1m7s 2s412ms 01 67 2m44s 2s458ms 02 92 3m50s 2s502ms 03 23 53s654ms 2s332ms 04 29 1m12s 2s501ms 05 45 1m52s 2s506ms 06 25 57s539ms 2s301ms 07 20 52s276ms 2s613ms 08 28 1m11s 2s560ms 09 29 1m15s 2s599ms 10 12 33s309ms 2s775ms 11 17 39s780ms 2s340ms 19 14 33s750ms 2s410ms 20 581 25m5s 2s591ms 21 489 21m2s 2s581ms 22 135 9m10s 4s77ms 23 101 5m54s 3s505ms Apr 04 00 144 10m37s 4s424ms 01 124 7m32s 3s645ms 02 113 6m35s 3s504ms 03 125 6m53s 3s309ms 04 130 7m11s 3s320ms 05 137 7m17s 3s194ms 06 132 7m51s 3s569ms 07 95 5m21s 3s380ms 08 112 6m 3s221ms 09 67 5m24s 4s837ms 10 83 5m41s 4s110ms 11 38 1m54s 3s22ms 12 21 57s624ms 2s744ms 13 9 24s895ms 2s766ms 14 1 2s548ms 2s548ms 15 1 1s827ms 1s827ms 17 3 8s274ms 2s758ms 18 2 5s152ms 2s576ms 22 90 4m13s 2s811ms 23 236 21m16s 5s406ms Apr 05 05 274 14m37s 3s203ms 06 560 29m 3s107ms 07 350 24m16s 4s162ms 08 185 9m48s 3s181ms 09 93 4m32s 2s932ms 21 2 4s743ms 2s371ms [ User: pubeu - Total duration: 2h11m15s - Times executed: 2232 ]
[ User: qaeu - Total duration: 24s759ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '659068' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-04-04 23:18:20 Duration: 18s611ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '658730' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-04-04 23:18:19 Duration: 17s779ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '659068' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-04-04 23:28:15 Duration: 15s947ms Bind query: yes
3 2,981 2h34m4s 1s 24s181ms 3s101ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 30 04 1 2s891ms 2s891ms 18 6 11s993ms 1s998ms 21 1 4s165ms 4s165ms 22 5 14s292ms 2s858ms 23 5 7s635ms 1s527ms Mar 31 00 1 4s422ms 4s422ms 01 1 4s415ms 4s415ms 05 1 4s319ms 4s319ms 07 1 1s30ms 1s30ms 19 1 3s93ms 3s93ms 23 2 4s556ms 2s278ms Apr 01 00 1 1s74ms 1s74ms 01 3 6s218ms 2s72ms 04 2 3s179ms 1s589ms 05 2 4s104ms 2s52ms 06 1 1s70ms 1s70ms 07 2 2s921ms 1s460ms 09 2 6s17ms 3s8ms 13 1 1s852ms 1s852ms 20 2 7s329ms 3s664ms 21 5 13s485ms 2s697ms 22 3 8s102ms 2s700ms 23 4 12s373ms 3s93ms Apr 02 00 4 13s445ms 3s361ms 01 15 34s129ms 2s275ms 02 4 7s611ms 1s902ms 03 5 9s439ms 1s887ms 04 10 19s416ms 1s941ms 05 3 6s543ms 2s181ms 06 5 14s337ms 2s867ms 07 5 8s599ms 1s719ms 08 7 17s745ms 2s535ms 09 6 19s634ms 3s272ms 10 2 2s135ms 1s67ms 11 2 6s219ms 3s109ms 19 3 5s44ms 1s681ms 20 19 54s321ms 2s859ms 21 27 1m6s 2s457ms 22 31 1m7s 2s175ms 23 25 1m10s 2s826ms Apr 03 00 24 1m2s 2s621ms 01 19 40s188ms 2s115ms 02 15 44s406ms 2s960ms 03 18 36s774ms 2s43ms 04 22 49s349ms 2s243ms 05 30 51s903ms 1s730ms 06 27 1m6s 2s472ms 07 19 46s239ms 2s433ms 08 25 1m3s 2s537ms 09 23 46s557ms 2s24ms 10 14 27s627ms 1s973ms 11 14 39s648ms 2s832ms 20 13 32s298ms 2s484ms 21 68 2m45s 2s431ms 22 134 8m31s 3s819ms 23 93 5m13s 3s368ms Apr 04 00 159 9m20s 3s523ms 01 141 7m30s 3s196ms 02 131 7m7s 3s259ms 03 98 5m16s 3s234ms 04 116 5m8s 2s659ms 05 105 5m23s 3s84ms 06 104 5m55s 3s417ms 07 106 5m41s 3s222ms 08 87 4m21s 3s4ms 09 61 4m7s 4s56ms 10 88 4m37s 3s154ms 11 36 1m17s 2s142ms 19 1 1s920ms 1s920ms 22 44 1m47s 2s435ms 23 152 10m38s 4s197ms Apr 05 05 159 7m26s 2s807ms 06 254 11m59s 2s831ms 07 208 13m41s 3s949ms 08 99 4m55s 2s980ms 09 41 1m39s 2s433ms 18 7 15s558ms 2s222ms [ User: pubeu - Total duration: 1h28m12s - Times executed: 1655 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-05 07:50:53 Duration: 24s181ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-04 23:04:49 Duration: 24s102ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-04 00:03:38 Duration: 19s422ms Database: ctdprd51 User: pubeu Bind query: yes
4 2,644 2h43m35s 1s 27s478ms 3s712ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 30 16 1 1s922ms 1s922ms 18 2 8s269ms 4s134ms 21 2 9s218ms 4s609ms 22 2 9s215ms 4s607ms 23 3 10s765ms 3s588ms Mar 31 11 1 2s168ms 2s168ms 23 8 46s315ms 5s789ms Apr 01 00 7 9s322ms 1s331ms 01 1 3s385ms 3s385ms 05 3 9s548ms 3s182ms 06 3 8s381ms 2s793ms 07 1 6s568ms 6s568ms 08 2 12s811ms 6s405ms 12 1 2s44ms 2s44ms 15 1 1s836ms 1s836ms 16 1 2s143ms 2s143ms 20 3 9s831ms 3s277ms 21 2 3s160ms 1s580ms 22 1 3s437ms 3s437ms 23 1 1s990ms 1s990ms Apr 02 00 4 11s611ms 2s902ms 01 13 36s232ms 2s787ms 02 4 11s873ms 2s968ms 03 7 14s42ms 2s6ms 04 5 8s361ms 1s672ms 05 4 10s411ms 2s602ms 06 2 8s524ms 4s262ms 07 6 11s375ms 1s895ms 08 1 1s996ms 1s996ms 09 5 18s997ms 3s799ms 10 5 24s765ms 4s953ms 11 5 19s631ms 3s926ms 12 1 1s905ms 1s905ms 19 5 18s612ms 3s722ms 20 21 1m16s 3s644ms 21 21 1m19s 3s764ms 22 23 1m39s 4s329ms 23 15 51s335ms 3s422ms Apr 03 00 32 1m39s 3s95ms 01 17 52s719ms 3s101ms 02 21 1m2s 2s966ms 03 23 1m22s 3s598ms 04 21 1m6s 3s164ms 05 25 1m15s 3s27ms 06 14 40s139ms 2s867ms 07 20 1m11s 3s584ms 08 22 1m28s 4s1ms 09 23 1m26s 3s752ms 10 15 39s503ms 2s633ms 11 10 18s714ms 1s871ms 20 17 55s565ms 3s268ms 21 52 2m36s 3s8ms 22 121 8m12s 4s73ms 23 100 5m51s 3s515ms Apr 04 00 124 8m46s 4s247ms 01 131 8m15s 3s781ms 02 101 6m12s 3s684ms 03 68 3m36s 3s190ms 04 108 6m6s 3s389ms 05 86 5m32s 3s868ms 06 105 6m56s 3s969ms 07 74 4m48s 3s900ms 08 94 5m25s 3s459ms 09 62 4m54s 4s746ms 10 57 4m26s 4s668ms 11 37 2m15s 3s674ms 12 1 1s836ms 1s836ms 16 1 1s993ms 1s993ms 22 39 1m50s 2s838ms 23 98 9m4s 5s554ms Apr 05 05 139 8m21s 3s606ms 06 272 14m13s 3s138ms 07 185 13m 4s218ms 08 85 5m7s 3s613ms 09 44 2m30s 3s411ms 18 7 20s324ms 2s903ms [ User: pubeu - Total duration: 1h32m50s - Times executed: 1446 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-04 23:04:52 Duration: 27s478ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-04 06:00:40 Duration: 25s534ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-04 23:28:19 Duration: 25s442ms Database: ctdprd51 User: pubeu Bind query: yes
5 2,002 3h51m47s 1s 10m38s 6s946ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 31 23 1 10m38s 10m38s Apr 01 00 4 46s122ms 11s530ms 05 1 1s954ms 1s954ms 23 1 1s2ms 1s2ms Apr 02 00 3 20s82ms 6s694ms 01 5 24s474ms 4s894ms 02 4 17s676ms 4s419ms 03 1 6s790ms 6s790ms 04 8 36s647ms 4s580ms 05 4 24s167ms 6s41ms 06 3 20s167ms 6s722ms 07 3 20s60ms 6s686ms 08 4 27s368ms 6s842ms 09 4 24s252ms 6s63ms 10 4 23s796ms 5s949ms 11 4 20s878ms 5s219ms 20 8 27s405ms 3s425ms 21 7 33s40ms 4s720ms 22 16 1m22s 5s141ms 23 13 1m6s 5s137ms Apr 03 00 8 42s695ms 5s336ms 01 8 40s911ms 5s113ms 02 11 56s786ms 5s162ms 03 7 27s964ms 3s994ms 04 9 42s612ms 4s734ms 05 12 50s237ms 4s186ms 06 9 45s355ms 5s39ms 07 9 38s581ms 4s286ms 08 14 59s756ms 4s268ms 09 12 54s786ms 4s565ms 10 9 34s769ms 3s863ms 11 7 33s150ms 4s735ms 21 90 8m40s 5s786ms 22 120 9m46s 4s890ms 23 89 7m40s 5s176ms Apr 04 00 95 9m24s 5s940ms 01 99 10m45s 6s515ms 02 82 7m38s 5s592ms 03 80 17m1s 12s768ms 04 87 7m16s 5s19ms 05 75 6m19s 5s54ms 06 113 9m56s 5s275ms 07 110 10m17s 5s609ms 08 104 9m41s 5s589ms 09 75 12m52s 10s298ms 10 106 10m16s 5s820ms 11 88 21m28s 14s646ms 22 47 5m29s 7s21ms 23 85 20m7s 14s202ms Apr 05 05 24 1m38s 4s108ms 06 60 4m24s 4s401ms 07 77 6m6s 4s766ms 08 69 5m27s 4s747ms 09 14 1m16s 5s441ms [ User: pubeu - Total duration: 2h42m14s - Times executed: 1317 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1445823'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-03-31 23:56:21 Duration: 10m38s Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1447336'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 03:11:31 Duration: 5m27s Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 11:53:23 Duration: 5m22s Database: ctdprd51 User: pubeu Bind query: yes
6 1,229 26m39s 1s135ms 7s932ms 1s301ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 30 00 1 1s220ms 1s220ms 01 10 12s112ms 1s211ms 02 11 13s402ms 1s218ms 03 4 4s908ms 1s227ms 04 12 14s502ms 1s208ms 05 25 30s250ms 1s210ms 06 10 11s783ms 1s178ms 07 4 4s958ms 1s239ms 08 6 7s407ms 1s234ms 09 14 16s746ms 1s196ms 10 1 1s166ms 1s166ms 11 2 2s501ms 1s250ms 12 2 2s416ms 1s208ms 13 7 8s253ms 1s179ms 14 9 10s835ms 1s203ms 15 7 8s94ms 1s156ms 16 10 12s270ms 1s227ms 17 12 14s716ms 1s226ms 18 8 9s788ms 1s223ms 19 3 3s578ms 1s192ms 20 4 4s837ms 1s209ms 21 10 12s155ms 1s215ms 22 9 12s57ms 1s339ms 23 23 30s72ms 1s307ms Mar 31 00 22 28s386ms 1s290ms 01 8 10s493ms 1s311ms 02 7 9s90ms 1s298ms 03 11 14s408ms 1s309ms 04 5 6s510ms 1s302ms 05 5 6s901ms 1s380ms 06 1 1s172ms 1s172ms 07 6 7s738ms 1s289ms 08 10 11s889ms 1s188ms 09 1 1s173ms 1s173ms 10 12 15s267ms 1s272ms 11 4 5s19ms 1s254ms 12 2 2s497ms 1s248ms 13 3 3s732ms 1s244ms 14 2 2s485ms 1s242ms 15 5 6s178ms 1s235ms 16 5 6s333ms 1s266ms 17 9 11s326ms 1s258ms 18 20 24s921ms 1s246ms 19 9 11s299ms 1s255ms 20 7 8s760ms 1s251ms 21 5 6s423ms 1s284ms Apr 01 00 4 4s941ms 1s235ms 01 5 6s311ms 1s262ms 02 13 16s67ms 1s235ms 03 11 13s833ms 1s257ms 04 5 6s141ms 1s228ms 05 6 7s867ms 1s311ms 06 11 14s100ms 1s281ms 07 1 1s334ms 1s334ms 08 18 22s996ms 1s277ms 09 8 10s375ms 1s296ms 10 3 3s898ms 1s299ms 11 3 3s848ms 1s282ms 12 11 14s146ms 1s286ms 13 7 9s42ms 1s291ms 14 2 2s545ms 1s272ms 15 7 8s762ms 1s251ms 16 5 6s359ms 1s271ms 17 7 8s782ms 1s254ms 18 7 9s 1s285ms 20 5 6s457ms 1s291ms 21 3 3s826ms 1s275ms 22 2 2s571ms 1s285ms 23 12 15s122ms 1s260ms Apr 02 00 4 5s291ms 1s322ms 01 11 14s407ms 1s309ms 02 18 24s500ms 1s361ms 03 8 10s502ms 1s312ms 04 7 9s576ms 1s368ms 05 14 18s227ms 1s301ms 06 6 7s452ms 1s242ms 07 16 20s337ms 1s271ms 08 10 13s177ms 1s317ms 09 10 12s603ms 1s260ms 10 7 8s726ms 1s246ms 11 8 10s159ms 1s269ms 12 3 3s689ms 1s229ms 13 6 7s541ms 1s256ms 14 5 6s196ms 1s239ms 15 5 6s163ms 1s232ms 16 8 9s819ms 1s227ms 17 4 4s984ms 1s246ms 18 4 4s978ms 1s244ms 19 4 4s932ms 1s233ms 20 3 3s816ms 1s272ms 21 6 7s912ms 1s318ms 22 4 5s86ms 1s271ms 23 18 22s714ms 1s261ms Apr 03 00 8 11s379ms 1s422ms 01 16 22s105ms 1s381ms 02 18 23s252ms 1s291ms 03 10 13s740ms 1s374ms 04 3 4s141ms 1s380ms 05 6 8s202ms 1s367ms 06 1 1s317ms 1s317ms 07 11 13s945ms 1s267ms 08 7 9s109ms 1s301ms 09 8 10s145ms 1s268ms 10 6 7s794ms 1s299ms 11 2 2s693ms 1s346ms 12 2 2s483ms 1s241ms 13 4 4s988ms 1s247ms 14 5 6s497ms 1s299ms 15 1 1s271ms 1s271ms 16 4 4s992ms 1s248ms 17 7 8s818ms 1s259ms 18 1 1s179ms 1s179ms 19 7 8s637ms 1s233ms 20 41 52s635ms 1s283ms 21 29 38s982ms 1s344ms 22 9 14s424ms 1s602ms 23 7 9s869ms 1s409ms Apr 04 00 10 14s915ms 1s491ms 01 5 8s117ms 1s623ms 02 5 7s102ms 1s420ms 03 2 2s776ms 1s388ms 04 6 8s527ms 1s421ms 05 6 8s193ms 1s365ms 06 10 13s721ms 1s372ms 07 24 33s483ms 1s395ms 08 7 10s750ms 1s535ms 09 10 13s785ms 1s378ms 10 11 21s653ms 1s968ms 11 4 7s278ms 1s819ms 12 15 19s19ms 1s267ms 13 6 7s540ms 1s256ms 14 7 9s120ms 1s302ms 15 8 10s127ms 1s265ms 16 9 11s125ms 1s236ms 17 8 9s722ms 1s215ms 18 14 17s400ms 1s242ms 19 7 8s557ms 1s222ms 20 3 3s704ms 1s234ms 21 9 11s206ms 1s245ms 22 5 6s544ms 1s308ms Apr 05 05 3 5s301ms 1s767ms 06 10 16s474ms 1s647ms 07 8 11s941ms 1s492ms 08 12 17s971ms 1s497ms 09 12 15s869ms 1s322ms 10 6 7s690ms 1s281ms 11 6 7s668ms 1s278ms 12 7 8s947ms 1s278ms 13 8 10s12ms 1s251ms 14 2 2s635ms 1s317ms 15 11 14s215ms 1s292ms 16 4 4s941ms 1s235ms 17 8 10s298ms 1s287ms 19 5 6s87ms 1s217ms 20 3 3s981ms 1s327ms 21 4 5s330ms 1s332ms 22 5 6s369ms 1s273ms 23 3 3s828ms 1s276ms [ User: pubeu - Total duration: 11m10s - Times executed: 507 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1513801' or receptorTerm.id = '1513801' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-04 10:00:19 Duration: 7s932ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2064755' or receptorTerm.id = '2064755' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-04 11:42:45 Duration: 2s960ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2057047' or receptorTerm.id = '2057047' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-05 06:43:55 Duration: 2s884ms Bind query: yes
7 1,151 1h24s 1s 23s624ms 3s149ms 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.ixn_id = any (array (( select ixn_id from ixn_anatomy where anatomy_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?)))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 30 05 1 1s198ms 1s198ms 14 1 7s359ms 7s359ms 15 1 1s419ms 1s419ms Mar 31 18 1 1s584ms 1s584ms Apr 01 20 1 1s551ms 1s551ms 22 3 4s93ms 1s364ms Apr 02 00 1 1s223ms 1s223ms 01 3 4s489ms 1s496ms 02 4 11s550ms 2s887ms 05 1 1s593ms 1s593ms 06 2 2s782ms 1s391ms 07 1 1s41ms 1s41ms 08 1 1s565ms 1s565ms 10 2 2s723ms 1s361ms 19 5 10s151ms 2s30ms 20 3 4s460ms 1s486ms 21 4 12s483ms 3s120ms 22 6 9s391ms 1s565ms 23 6 11s29ms 1s838ms Apr 03 00 8 17s853ms 2s231ms 01 7 15s495ms 2s213ms 02 2 2s921ms 1s460ms 03 12 32s697ms 2s724ms 04 7 9s702ms 1s386ms 05 17 33s123ms 1s948ms 06 11 35s596ms 3s236ms 07 5 6s982ms 1s396ms 08 8 18s857ms 2s357ms 09 11 22s644ms 2s58ms 10 8 18s599ms 2s324ms 11 2 4s413ms 2s206ms 21 16 33s242ms 2s77ms 22 36 2m31s 4s199ms 23 33 1m47s 3s264ms Apr 04 00 61 3m31s 3s472ms 01 53 2m45s 3s125ms 02 44 2m21s 3s227ms 03 38 2m26s 3s858ms 04 38 1m46s 2s789ms 05 35 2m50s 4s866ms 06 42 1m57s 2s790ms 07 41 2m 2s933ms 08 34 1m31s 2s695ms 09 20 1m14s 3s739ms 10 32 1m52s 3s505ms 11 17 1m4s 3s780ms 16 1 7s244ms 7s244ms 22 18 42s140ms 2s341ms 23 74 4m20s 3s521ms Apr 05 05 73 3m44s 3s81ms 06 133 6m20s 2s859ms 07 100 5m35s 3s353ms 08 45 2m45s 3s677ms 09 22 1m22s 3s769ms [ User: pubeu - Total duration: 34m42s - Times executed: 647 ]
-
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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-03 22:01:41 Duration: 23s624ms 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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-05 07:50:27 Duration: 21s734ms 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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-04 01:00:41 Duration: 20s245ms Database: ctdprd51 User: pubeu Bind query: yes
8 1,074 34m37s 1s 8s626ms 1s934ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, count(gcr.ixn_id) ixncount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join term g on gcr.gene_id = g.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort order by count(gcr.ixn_id) desc, g.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 31 23 17 29s857ms 1s756ms Apr 01 20 2 3s626ms 1s813ms Apr 02 02 1 1s5ms 1s5ms 20 1 1s510ms 1s510ms 21 5 9s20ms 1s804ms 22 2 2s632ms 1s316ms 23 1 2s4ms 2s4ms Apr 03 00 1 1s74ms 1s74ms 01 2 2s49ms 1s24ms 02 8 13s865ms 1s733ms 03 3 3s905ms 1s301ms 05 1 1s612ms 1s612ms 06 1 1s181ms 1s181ms 07 1 1s511ms 1s511ms 20 3 3s222ms 1s74ms 21 7 8s472ms 1s210ms 22 70 2m7s 1s822ms 23 39 1m18s 2s16ms Apr 04 00 103 3m53s 2s264ms 01 83 2m24s 1s739ms 02 40 1m23s 2s86ms 03 55 1m42s 1s858ms 04 38 1m 1s601ms 05 34 1m12s 2s146ms 06 60 1m54s 1s914ms 07 27 47s24ms 1s741ms 08 29 48s15ms 1s655ms 09 49 1m29s 1s821ms 10 34 1m25s 2s505ms 11 13 19s311ms 1s485ms 22 11 17s385ms 1s580ms 23 105 4m9s 2s379ms Apr 05 05 47 1m29s 1s905ms 06 67 1m50s 1s643ms 07 91 3m 1s987ms 08 20 32s133ms 1s606ms 09 3 3s792ms 1s264ms [ User: pubeu - Total duration: 22m34s - Times executed: 708 ]
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1436913') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-04-04 23:19:40 Duration: 8s626ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-04-04 10:00:23 Duration: 8s599ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-04-04 00:04:52 Duration: 7s855ms Bind query: yes
9 995 37m44s 1s7ms 10s419ms 2s276ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 30 02 2 3s753ms 1s876ms 18 1 1s858ms 1s858ms 23 5 8s936ms 1s787ms Mar 31 00 2 4s73ms 2s36ms 03 1 2s8ms 2s8ms 07 1 1s885ms 1s885ms 20 1 1s858ms 1s858ms 23 1 1s811ms 1s811ms Apr 01 05 1 1s853ms 1s853ms 06 1 1s970ms 1s970ms 08 1 1s271ms 1s271ms 09 1 1s876ms 1s876ms 10 1 1s876ms 1s876ms 15 1 1s861ms 1s861ms 19 1 1s867ms 1s867ms 20 1 2s213ms 2s213ms 21 1 1s845ms 1s845ms 22 3 5s525ms 1s841ms 23 1 1s274ms 1s274ms Apr 02 00 1 1s884ms 1s884ms 01 4 6s902ms 1s725ms 02 4 7s112ms 1s778ms 03 1 2s8ms 2s8ms 04 1 1s972ms 1s972ms 05 1 2s8ms 2s8ms 06 1 1s897ms 1s897ms 07 3 4s457ms 1s485ms 08 1 1s885ms 1s885ms 09 4 6s977ms 1s744ms 10 3 4s432ms 1s477ms 19 3 4s441ms 1s480ms 20 6 10s896ms 1s816ms 21 10 19s703ms 1s970ms 22 10 16s899ms 1s689ms 23 3 4s638ms 1s546ms Apr 03 00 5 8s432ms 1s686ms 01 5 9s497ms 1s899ms 02 9 16s596ms 1s844ms 03 12 22s889ms 1s907ms 04 8 14s208ms 1s776ms 05 7 11s3ms 1s571ms 06 6 10s373ms 1s728ms 07 14 26s169ms 1s869ms 08 10 17s25ms 1s702ms 09 8 14s354ms 1s794ms 10 5 8s279ms 1s655ms 11 5 9s883ms 1s976ms 20 7 10s980ms 1s568ms 21 12 24s158ms 2s13ms 22 33 1m18s 2s391ms 23 34 1m31s 2s691ms Apr 04 00 63 2m47s 2s658ms 01 42 1m30s 2s144ms 02 33 1m16s 2s319ms 03 40 1m25s 2s127ms 04 32 1m11s 2s241ms 05 30 59s334ms 1s977ms 06 39 1m49s 2s798ms 07 35 1m14s 2s139ms 08 32 1m1s 1s922ms 09 23 1m7s 2s939ms 10 27 1m31s 3s376ms 11 10 18s197ms 1s819ms 22 8 13s246ms 1s655ms 23 87 4m17s 2s957ms Apr 05 05 43 1m36s 2s247ms 06 71 2m20s 1s977ms 07 74 2m56s 2s380ms 08 32 1m5s 2s54ms 09 8 15s589ms 1s948ms 14 1 1s837ms 1s837ms 18 2 3s136ms 1s568ms [ User: pubeu - Total duration: 21m11s - Times executed: 554 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-04 10:00:19 Duration: 10s419ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-04 23:19:42 Duration: 9s792ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-03 23:00:22 Duration: 9s303ms Database: ctdprd51 User: pubeu Bind query: yes
10 623 16m44s 1s308ms 7s855ms 1s612ms select t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, t.acc_txt acc, ? || t.nm accquerystr, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term t where t.object_type_id = ? and regexp_replace(upper(substring(t.nm, ?, ?)), ?, ?) = ? order by t.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 30 00 1 1s312ms 1s312ms 05 2 8s107ms 4s53ms 08 1 1s308ms 1s308ms 09 5 6s684ms 1s336ms 10 2 2s773ms 1s386ms 11 1 1s314ms 1s314ms 22 2 2s700ms 1s350ms 23 2 2s757ms 1s378ms Mar 31 00 1 1s576ms 1s576ms 04 1 1s569ms 1s569ms 05 2 2s928ms 1s464ms 08 1 1s417ms 1s417ms 10 1 1s440ms 1s440ms 12 2 2s852ms 1s426ms 14 1 1s418ms 1s418ms Apr 01 01 1 1s399ms 1s399ms 02 2 2s855ms 1s427ms 03 2 2s846ms 1s423ms 04 1 1s477ms 1s477ms 05 3 4s246ms 1s415ms 07 1 1s437ms 1s437ms 10 1 1s446ms 1s446ms 12 1 1s387ms 1s387ms 15 1 1s367ms 1s367ms 16 1 1s398ms 1s398ms 19 1 1s377ms 1s377ms 21 1 1s402ms 1s402ms 22 2 2s883ms 1s441ms Apr 02 00 1 1s387ms 1s387ms 05 4 5s885ms 1s471ms 09 2 2s723ms 1s361ms 21 6 10s855ms 1s809ms 23 3 4s205ms 1s401ms Apr 03 00 2 2s954ms 1s477ms 01 8 12s352ms 1s544ms 02 2 2s964ms 1s482ms 03 1 1s475ms 1s475ms 04 4 6s108ms 1s527ms 05 4 5s907ms 1s476ms 06 2 2s966ms 1s483ms 07 3 4s327ms 1s442ms 08 3 4s553ms 1s517ms 09 1 1s495ms 1s495ms 10 4 5s657ms 1s414ms 14 1 1s518ms 1s518ms 18 1 1s364ms 1s364ms 21 4 6s997ms 1s749ms 22 20 38s149ms 1s907ms 23 2 5s101ms 2s550ms Apr 04 00 3 7s25ms 2s341ms 01 1 2s589ms 2s589ms 02 5 11s763ms 2s352ms 03 5 14s653ms 2s930ms 04 4 7s834ms 1s958ms 05 10 15s895ms 1s589ms 06 17 29s598ms 1s741ms 07 26 51s494ms 1s980ms 08 26 45s284ms 1s741ms 09 5 11s733ms 2s346ms 10 14 28s865ms 2s61ms 11 4 6s536ms 1s634ms 12 36 52s553ms 1s459ms 13 11 16s99ms 1s463ms 14 9 12s967ms 1s440ms 15 17 23s728ms 1s395ms 16 29 40s831ms 1s407ms 17 44 1m1s 1s408ms 18 95 2m16s 1s435ms 19 38 53s517ms 1s408ms 20 57 1m22s 1s443ms 21 3 4s320ms 1s440ms 22 6 9s52ms 1s508ms 23 4 23s360ms 5s840ms Apr 05 05 7 12s169ms 1s738ms 06 7 12s625ms 1s803ms 07 5 13s84ms 2s616ms 08 3 5s457ms 1s819ms 09 3 4s727ms 1s575ms 10 1 1s518ms 1s518ms 12 1 1s491ms 1s491ms 14 1 1s479ms 1s479ms 15 1 1s467ms 1s467ms 20 1 1s456ms 1s456ms 21 1 1s526ms 1s526ms 22 2 2s713ms 1s356ms [ User: pubeu - Total duration: 6m39s - Times executed: 230 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-04-04 23:28:07 Duration: 7s855ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-04-04 23:04:35 Duration: 7s554ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-04-04 03:12:33 Duration: 7s315ms Bind query: yes
11 612 45m58s 1s15ms 1m50s 4s508ms 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.ixn_id = any (array (( select ixn_id from ixn_anatomy where anatomy_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?)))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 01 21 1 1s502ms 1s502ms Apr 02 20 4 6s176ms 1s544ms 23 4 8s235ms 2s58ms Apr 03 00 3 5s562ms 1s854ms 01 3 4s830ms 1s610ms 02 6 24s191ms 4s31ms 03 10 54s788ms 5s478ms 04 10 35s623ms 3s562ms 05 4 25s730ms 6s432ms 06 10 34s100ms 3s410ms 07 4 25s49ms 6s262ms 08 6 28s535ms 4s755ms 09 6 27s799ms 4s633ms 10 7 29s834ms 4s262ms 11 2 10s462ms 5s231ms 21 41 1m16s 1s876ms 22 42 1m28s 2s113ms 23 15 36s594ms 2s439ms Apr 04 00 31 2m22s 4s603ms 01 23 3m7s 8s172ms 02 28 1m31s 3s265ms 03 14 52s638ms 3s759ms 04 21 1m13s 3s478ms 05 18 1m3s 3s516ms 06 33 1m54s 3s467ms 07 30 1m53s 3s795ms 08 21 1m25s 4s55ms 09 22 1m38s 4s498ms 10 26 1m52s 4s317ms 11 24 1m47s 4s490ms 22 2 2s334ms 1s167ms 23 24 7m52s 19s702ms Apr 05 05 12 56s53ms 4s671ms 06 27 1m44s 3s866ms 07 37 3m7s 5s61ms 08 35 2m22s 4s57ms 09 6 25s700ms 4s283ms [ User: pubeu - Total duration: 29m13s - Times executed: 388 ]
-
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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 23:26:39 Duration: 1m50s 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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 01:10:05 Duration: 1m14s 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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 23:19:30 Duration: 1m3s Bind query: yes
12 476 34m14s 3s796ms 15s786ms 4s316ms 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 Mar 30 00 3 12s527ms 4s175ms 01 1 3s932ms 3s932ms 03 4 16s203ms 4s50ms 07 1 3s846ms 3s846ms 08 3 11s736ms 3s912ms 09 3 11s742ms 3s914ms 11 4 16s473ms 4s118ms 15 1 3s998ms 3s998ms 17 3 12s11ms 4s3ms 18 5 20s349ms 4s69ms 19 1 4s31ms 4s31ms 20 2 8s277ms 4s138ms 21 4 15s772ms 3s943ms 22 10 41s225ms 4s122ms Mar 31 01 2 8s647ms 4s323ms 02 1 4s133ms 4s133ms 03 4 17s35ms 4s258ms 04 12 52s311ms 4s359ms 05 1 4s159ms 4s159ms 07 4 16s52ms 4s13ms 08 2 7s871ms 3s935ms 09 3 12s476ms 4s158ms 10 5 21s295ms 4s259ms 11 4 16s584ms 4s146ms 12 1 4s79ms 4s79ms 13 3 11s969ms 3s989ms 14 2 8s81ms 4s40ms 15 4 17s797ms 4s449ms 16 2 8s137ms 4s68ms 18 1 3s990ms 3s990ms 19 2 8s132ms 4s66ms 20 3 12s272ms 4s90ms 21 7 29s362ms 4s194ms Apr 01 00 5 20s451ms 4s90ms 01 24 1m38s 4s83ms 02 18 1m14s 4s146ms 03 2 8s86ms 4s43ms 04 5 21s387ms 4s277ms 05 1 4s464ms 4s464ms 07 2 8s214ms 4s107ms 08 3 12s217ms 4s72ms 09 1 4s158ms 4s158ms 10 4 17s627ms 4s406ms 11 2 7s989ms 3s994ms 12 1 4s99ms 4s99ms 13 2 8s551ms 4s275ms 14 2 8s94ms 4s47ms 15 2 7s923ms 3s961ms 20 1 4s104ms 4s104ms 21 1 4s161ms 4s161ms 22 1 4s19ms 4s19ms Apr 02 00 1 3s904ms 3s904ms 01 1 4s261ms 4s261ms 02 8 34s932ms 4s366ms 03 6 26s168ms 4s361ms 04 2 8s527ms 4s263ms 05 1 3s946ms 3s946ms 07 2 8s747ms 4s373ms 08 43 3m2s 4s240ms 09 24 1m40s 4s179ms 10 3 12s414ms 4s138ms 11 10 41s254ms 4s125ms 12 10 40s483ms 4s48ms 13 7 28s853ms 4s121ms 14 2 8s417ms 4s208ms 15 6 24s700ms 4s116ms 16 4 16s735ms 4s183ms 17 1 4s25ms 4s25ms 18 1 4s6ms 4s6ms 19 9 36s638ms 4s70ms 20 8 33s881ms 4s235ms 21 1 4s97ms 4s97ms 22 3 12s678ms 4s226ms 23 4 18s652ms 4s663ms Apr 03 00 2 8s677ms 4s338ms 01 1 4s350ms 4s350ms 02 3 12s66ms 4s22ms 03 2 8s287ms 4s143ms 04 3 11s995ms 3s998ms 05 6 24s817ms 4s136ms 06 5 20s977ms 4s195ms 07 4 16s162ms 4s40ms 08 1 5s481ms 5s481ms 09 5 20s446ms 4s89ms 10 4 16s716ms 4s179ms 11 2 7s928ms 3s964ms 13 5 20s292ms 4s58ms 14 1 4s219ms 4s219ms 15 1 4s209ms 4s209ms 16 4 15s788ms 3s947ms 17 2 8s22ms 4s11ms 18 1 3s921ms 3s921ms 19 3 12s240ms 4s80ms 20 3 13s185ms 4s395ms 21 3 13s918ms 4s639ms 22 2 9s440ms 4s720ms 23 2 9s657ms 4s828ms Apr 04 00 5 38s491ms 7s698ms 02 5 24s194ms 4s838ms 03 2 15s120ms 7s560ms 04 2 10s266ms 5s133ms 05 2 9s218ms 4s609ms 06 4 29s509ms 7s377ms 07 1 4s357ms 4s357ms 08 2 10s54ms 5s27ms 09 6 41s852ms 6s975ms 10 5 28s41ms 5s608ms 11 1 4s931ms 4s931ms 12 8 33s72ms 4s134ms 13 3 12s402ms 4s134ms 14 2 8s26ms 4s13ms 15 1 4s411ms 4s411ms 18 1 4s149ms 4s149ms 20 2 8s180ms 4s90ms 21 1 3s979ms 3s979ms 22 1 3s993ms 3s993ms Apr 05 06 1 5s461ms 5s461ms 08 2 8s968ms 4s484ms 09 3 12s485ms 4s161ms 10 2 7s998ms 3s999ms 11 1 3s997ms 3s997ms 13 1 3s967ms 3s967ms 19 1 4s36ms 4s36ms 20 1 3s960ms 3s960ms 21 1 4s59ms 4s59ms 22 1 4s113ms 4s113ms 23 1 3s942ms 3s942ms [ User: pubeu - Total duration: 15m24s - Times executed: 212 ]
[ User: qaeu - Total duration: 4s32ms - Times executed: 1 ]
-
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 = '1438284') 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 = '1438284') 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-04-04 06:00:25 Duration: 15s786ms 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 = '1297150') 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 = '1297150') 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-04-04 00:05:28 Duration: 13s673ms 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 = '1352752') 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 = '1352752') 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-04-04 09:06:24 Duration: 13s68ms Bind query: yes
13 469 33m5s 1s2ms 23s436ms 4s233ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, exp_anatomy a1 where a1.anatomy_id = any (array ( select descendant_object_id from dag_path where ancestor_object_id = ?)) and a1.exp_outcome_id = e1.exp_outcome_id union select reference_id from exposure e2, exp_event ee, medium m, term anatomyterm where e2.exp_event_id = ee.id and ee.medium_id = m.id and m.term_acc_txt = anatomyterm.acc_txt and m.term_object_type_id = anatomyterm.object_type_id and anatomyterm.id = any (array ( select descendant_object_id from dag_path where ancestor_object_id = ?)))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 02 02 2 6s500ms 3s250ms 03 2 3s784ms 1s892ms 06 1 2s240ms 2s240ms 07 2 8s141ms 4s70ms 08 1 4s30ms 4s30ms 20 2 7s907ms 3s953ms 21 7 18s205ms 2s600ms 22 4 10s373ms 2s593ms 23 5 13s502ms 2s700ms Apr 03 00 3 8s342ms 2s780ms 01 2 9s194ms 4s597ms 02 2 4s561ms 2s280ms 03 4 14s183ms 3s545ms 04 5 10s441ms 2s88ms 05 2 8s701ms 4s350ms 06 7 21s435ms 3s62ms 07 3 12s623ms 4s207ms 08 3 13s716ms 4s572ms 09 4 12s978ms 3s244ms 10 4 13s420ms 3s355ms 11 3 11s334ms 3s778ms 21 10 36s395ms 3s639ms 22 23 1m45s 4s571ms 23 14 1m10s 5s25ms Apr 04 00 22 1m51s 5s46ms 01 24 1m22s 3s441ms 02 17 57s833ms 3s401ms 03 14 59s920ms 4s280ms 04 22 1m37s 4s422ms 05 10 43s527ms 4s352ms 06 13 1m6s 5s118ms 07 19 1m5s 3s446ms 08 11 57s869ms 5s260ms 09 10 1m3s 6s307ms 10 11 57s913ms 5s264ms 11 6 23s168ms 3s861ms 22 6 19s776ms 3s296ms 23 20 1m24s 4s206ms Apr 05 05 27 1m50s 4s109ms 06 51 3m19s 3s914ms 07 48 4m30s 5s636ms 08 16 59s719ms 3s732ms 09 7 27s143ms 3s877ms [ User: pubeu - Total duration: 18m12s - Times executed: 257 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, exp_anatomy a1 where a1.anatomy_id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2107441')) and a1.exp_outcome_id = e1.exp_outcome_id UNION select reference_id from exposure e2, exp_event ee, medium m, term anatomyTerm where e2.exp_event_id = ee.id and ee.medium_id = m.id and m.term_acc_txt = anatomyTerm.acc_txt and m.term_object_type_id = anatomyTerm.object_type_id and anatomyTerm.id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2107441')))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-05 07:49:20 Duration: 23s436ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, exp_anatomy a1 where a1.anatomy_id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2106151')) and a1.exp_outcome_id = e1.exp_outcome_id UNION select reference_id from exposure e2, exp_event ee, medium m, term anatomyTerm where e2.exp_event_id = ee.id and ee.medium_id = m.id and m.term_acc_txt = anatomyTerm.acc_txt and m.term_object_type_id = anatomyTerm.object_type_id and anatomyTerm.id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2106151')))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-05 07:50:22 Duration: 18s209ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, exp_anatomy a1 where a1.anatomy_id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2106632')) and a1.exp_outcome_id = e1.exp_outcome_id UNION select reference_id from exposure e2, exp_event ee, medium m, term anatomyTerm where e2.exp_event_id = ee.id and ee.medium_id = m.id and m.term_acc_txt = anatomyTerm.acc_txt and m.term_object_type_id = anatomyTerm.object_type_id and anatomyTerm.id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2106632')))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-05 07:50:44 Duration: 18s110ms Bind query: yes
14 451 10m43s 1s255ms 2s526ms 1s426ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 30 01 5 6s697ms 1s339ms 02 2 2s797ms 1s398ms 03 3 3s966ms 1s322ms 04 2 2s652ms 1s326ms 05 12 16s634ms 1s386ms 06 9 11s982ms 1s331ms 07 2 2s702ms 1s351ms 08 2 2s734ms 1s367ms 09 6 7s957ms 1s326ms 10 2 2s730ms 1s365ms 11 3 4s34ms 1s344ms 12 5 6s819ms 1s363ms 13 4 5s239ms 1s309ms 14 4 5s183ms 1s295ms 15 3 3s931ms 1s310ms 16 1 1s404ms 1s404ms 18 8 10s820ms 1s352ms 19 3 3s944ms 1s314ms 20 1 1s360ms 1s360ms 21 3 4s179ms 1s393ms 22 3 4s287ms 1s429ms 23 9 12s490ms 1s387ms Mar 31 00 4 5s757ms 1s439ms 01 3 4s326ms 1s442ms 02 2 2s873ms 1s436ms 03 3 4s273ms 1s424ms 04 6 8s445ms 1s407ms 05 4 5s875ms 1s468ms 06 2 2s963ms 1s481ms 07 3 4s233ms 1s411ms 08 4 5s265ms 1s316ms 09 4 5s312ms 1s328ms 10 5 7s90ms 1s418ms 11 2 2s761ms 1s380ms 12 1 1s356ms 1s356ms 13 2 2s757ms 1s378ms 14 2 2s827ms 1s413ms 15 1 1s403ms 1s403ms 16 1 1s345ms 1s345ms 17 3 4s127ms 1s375ms 18 8 11s41ms 1s380ms 20 2 2s811ms 1s405ms 21 3 4s84ms 1s361ms 23 1 1s471ms 1s471ms Apr 01 00 1 1s360ms 1s360ms 01 4 5s657ms 1s414ms 02 2 2s785ms 1s392ms 03 10 14s119ms 1s411ms 04 8 11s79ms 1s384ms 05 3 4s387ms 1s462ms 06 5 7s159ms 1s431ms 07 1 1s420ms 1s420ms 08 5 6s970ms 1s394ms 09 2 2s902ms 1s451ms 10 2 2s792ms 1s396ms 11 1 1s355ms 1s355ms 12 1 1s506ms 1s506ms 13 3 4s355ms 1s451ms 14 2 2s886ms 1s443ms 15 2 2s785ms 1s392ms 16 3 4s162ms 1s387ms 17 1 1s440ms 1s440ms 18 1 1s411ms 1s411ms 19 3 4s229ms 1s409ms 20 2 2s884ms 1s442ms 22 1 1s427ms 1s427ms 23 2 2s906ms 1s453ms Apr 02 00 3 4s412ms 1s470ms 01 5 7s193ms 1s438ms 02 2 3s24ms 1s512ms 03 6 9s415ms 1s569ms 04 3 4s683ms 1s561ms 05 10 15s3ms 1s500ms 06 1 1s449ms 1s449ms 07 5 7s528ms 1s505ms 08 4 5s735ms 1s433ms 09 3 4s93ms 1s364ms 10 3 4s265ms 1s421ms 11 2 2s924ms 1s462ms 12 4 5s689ms 1s422ms 13 3 4s241ms 1s413ms 15 8 11s89ms 1s386ms 16 2 2s813ms 1s406ms 17 1 1s351ms 1s351ms 18 1 1s332ms 1s332ms 19 2 2s749ms 1s374ms 20 1 1s348ms 1s348ms 21 2 2s896ms 1s448ms 22 1 1s378ms 1s378ms 23 7 9s953ms 1s421ms Apr 03 01 6 9s11ms 1s501ms 02 4 5s805ms 1s451ms 03 3 4s635ms 1s545ms 04 2 3s29ms 1s514ms 05 4 6s411ms 1s602ms 06 2 2s807ms 1s403ms 07 4 5s636ms 1s409ms 08 5 7s100ms 1s420ms 09 2 2s866ms 1s433ms 10 1 1s588ms 1s588ms 11 1 1s316ms 1s316ms 12 3 4s88ms 1s362ms 13 3 4s107ms 1s369ms 14 3 4s287ms 1s429ms 15 1 1s387ms 1s387ms 16 5 6s643ms 1s328ms 18 2 2s706ms 1s353ms 19 3 4s55ms 1s351ms 20 1 1s461ms 1s461ms 21 3 5s21ms 1s673ms 22 1 1s622ms 1s622ms 23 4 5s789ms 1s447ms Apr 04 00 3 4s296ms 1s432ms 01 1 2s250ms 2s250ms 02 2 3s516ms 1s758ms 03 2 3s176ms 1s588ms 04 5 8s306ms 1s661ms 05 2 2s900ms 1s450ms 06 5 8s542ms 1s708ms 07 2 3s28ms 1s514ms 08 1 1s541ms 1s541ms 09 2 2s962ms 1s481ms 10 3 4s617ms 1s539ms 11 1 1s562ms 1s562ms 12 4 5s720ms 1s430ms 13 1 1s407ms 1s407ms 17 3 4s88ms 1s362ms 18 5 6s966ms 1s393ms 19 2 3s7ms 1s503ms 20 3 4s87ms 1s362ms 21 1 1s350ms 1s350ms 22 2 3s120ms 1s560ms 23 1 1s633ms 1s633ms Apr 05 05 1 1s719ms 1s719ms 06 1 1s549ms 1s549ms 07 1 1s654ms 1s654ms 09 2 2s873ms 1s436ms 10 3 4s126ms 1s375ms 12 8 11s175ms 1s396ms 14 1 1s510ms 1s510ms 15 3 4s103ms 1s367ms 17 1 1s395ms 1s395ms 18 4 5s960ms 1s490ms 19 2 2s865ms 1s432ms 20 2 3s72ms 1s536ms 21 3 4s211ms 1s403ms 22 2 2s720ms 1s360ms 23 1 1s376ms 1s376ms [ User: pubeu - Total duration: 4m26s - Times executed: 187 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1263232') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1263232') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-04 06:01:24 Duration: 2s526ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1264664') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1264664') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-04 01:01:27 Duration: 2s250ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1244891') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1244891') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-04 10:13:57 Duration: 1s927ms Bind query: yes
15 296 20m48s 1s1ms 24s882ms 4s219ms 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 #15
Day Hour Count Duration Avg duration Mar 30 00 1 1s52ms 1s52ms 01 1 5s241ms 5s241ms 02 1 5s278ms 5s278ms 04 1 5s685ms 5s685ms 05 3 3s374ms 1s124ms 06 1 4s918ms 4s918ms 07 1 4s883ms 4s883ms 08 2 5s937ms 2s968ms 09 3 15s801ms 5s267ms 10 1 1s19ms 1s19ms 12 1 1s29ms 1s29ms 14 2 10s814ms 5s407ms 15 1 1s1ms 1s1ms 16 1 4s871ms 4s871ms 18 4 19s831ms 4s957ms 20 1 1s43ms 1s43ms 21 1 6s222ms 6s222ms 22 1 4s898ms 4s898ms 23 1 1s47ms 1s47ms Mar 31 01 1 1s148ms 1s148ms 03 8 55s500ms 6s937ms 04 3 13s900ms 4s633ms 05 3 3s254ms 1s84ms 07 1 1s35ms 1s35ms 08 1 5s378ms 5s378ms 09 1 5s413ms 5s413ms 10 5 13s909ms 2s781ms 11 2 6s300ms 3s150ms 15 1 4s890ms 4s890ms 17 1 4s980ms 4s980ms 20 1 5s278ms 5s278ms Apr 01 00 1 5s575ms 5s575ms 01 4 16s710ms 4s177ms 03 1 5s272ms 5s272ms 04 4 22s903ms 5s725ms 05 8 20s269ms 2s533ms 09 2 10s406ms 5s203ms 10 1 5s425ms 5s425ms 15 1 1s79ms 1s79ms 16 2 10s483ms 5s241ms 17 1 5s397ms 5s397ms 19 1 1s45ms 1s45ms 20 1 1s266ms 1s266ms 21 4 12s740ms 3s185ms 22 7 24s492ms 3s498ms 23 4 13s273ms 3s318ms Apr 02 00 2 10s581ms 5s290ms 01 7 26s39ms 3s719ms 02 2 6s767ms 3s383ms 03 3 18s402ms 6s134ms 04 1 5s563ms 5s563ms 05 7 7s789ms 1s112ms 06 3 7s211ms 2s403ms 07 4 21s927ms 5s481ms 10 2 10s255ms 5s127ms 11 1 5s173ms 5s173ms 12 2 10s585ms 5s292ms 13 2 10s435ms 5s217ms 15 4 4s170ms 1s42ms 16 4 21s350ms 5s337ms 18 1 1s21ms 1s21ms 19 2 10s725ms 5s362ms 20 1 6s7ms 6s7ms 21 4 4s603ms 1s150ms 22 2 11s581ms 5s790ms 23 1 1s33ms 1s33ms Apr 03 00 1 5s318ms 5s318ms 01 3 7s992ms 2s664ms 03 3 13s167ms 4s389ms 04 7 30s634ms 4s376ms 05 7 11s819ms 1s688ms 06 1 1s64ms 1s64ms 08 2 11s550ms 5s775ms 09 4 18s878ms 4s719ms 11 2 11s783ms 5s891ms 12 3 10s900ms 3s633ms 13 2 10s183ms 5s91ms 14 3 3s203ms 1s67ms 19 2 10s884ms 5s442ms 22 1 1s553ms 1s553ms 23 5 20s945ms 4s189ms Apr 04 00 2 17s946ms 8s973ms 02 1 1s290ms 1s290ms 04 3 21s581ms 7s193ms 05 9 27s910ms 3s101ms 06 1 8s85ms 8s85ms 07 2 13s426ms 6s713ms 08 6 25s103ms 4s183ms 09 4 10s55ms 2s513ms 11 3 20s346ms 6s782ms 12 3 3s160ms 1s53ms 13 1 1s42ms 1s42ms 14 1 5s337ms 5s337ms 18 1 5s545ms 5s545ms 20 2 2s84ms 1s42ms 23 8 1m33s 11s694ms Apr 05 05 5 20s519ms 4s103ms 06 14 1m24s 6s19ms 07 8 41s299ms 5s162ms 08 4 30s32ms 7s508ms 09 5 15s239ms 3s47ms 11 1 5s383ms 5s383ms 15 1 1s144ms 1s144ms 17 2 10s238ms 5s119ms 18 6 23s694ms 3s949ms 21 3 3s64ms 1s21ms 22 1 5s102ms 5s102ms [ User: pubeu - Total duration: 8m40s - Times executed: 109 ]
[ User: qaeu - Total duration: 7s490ms - Times executed: 7 ]
-
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 = '1372685' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-04 23:28:18 Duration: 24s882ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1422646' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-04 23:28:20 Duration: 18s207ms 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 = '1336527' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-04 00:06:48 Duration: 12s679ms Database: ctdprd51 User: pubeu Bind query: yes
16 226 5m28s 1s262ms 1s938ms 1s452ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 30 01 1 1s374ms 1s374ms 02 5 6s603ms 1s320ms 03 1 1s339ms 1s339ms 04 2 2s686ms 1s343ms 05 3 4s349ms 1s449ms 07 2 2s720ms 1s360ms 09 1 1s332ms 1s332ms 10 1 1s439ms 1s439ms 12 2 2s702ms 1s351ms 14 4 5s374ms 1s343ms 17 1 1s415ms 1s415ms 20 1 1s333ms 1s333ms 22 2 2s895ms 1s447ms 23 4 5s858ms 1s464ms Mar 31 01 2 2s927ms 1s463ms 04 5 7s392ms 1s478ms 05 3 4s779ms 1s593ms 08 1 1s371ms 1s371ms 09 1 1s268ms 1s268ms 10 2 2s959ms 1s479ms 11 1 1s443ms 1s443ms 12 2 2s757ms 1s378ms 14 1 1s401ms 1s401ms 15 1 1s374ms 1s374ms 16 1 1s406ms 1s406ms 17 1 1s425ms 1s425ms 18 1 1s397ms 1s397ms 19 1 1s441ms 1s441ms 20 1 1s357ms 1s357ms Apr 01 00 1 1s382ms 1s382ms 01 1 1s419ms 1s419ms 02 2 2s822ms 1s411ms 03 3 4s269ms 1s423ms 04 2 2s750ms 1s375ms 05 2 3s19ms 1s509ms 06 2 2s742ms 1s371ms 07 1 1s443ms 1s443ms 08 4 5s647ms 1s411ms 09 5 7s110ms 1s422ms 10 1 1s425ms 1s425ms 11 1 1s470ms 1s470ms 13 3 4s352ms 1s450ms 15 3 4s376ms 1s458ms 16 1 1s417ms 1s417ms 17 1 1s483ms 1s483ms 18 1 1s395ms 1s395ms 20 4 5s888ms 1s472ms 21 1 1s442ms 1s442ms 22 4 5s945ms 1s486ms 23 2 2s743ms 1s371ms Apr 02 00 1 1s403ms 1s403ms 01 2 3s28ms 1s514ms 02 4 6s472ms 1s618ms 03 6 9s309ms 1s551ms 04 1 1s665ms 1s665ms 05 4 5s927ms 1s481ms 06 2 2s881ms 1s440ms 07 1 1s430ms 1s430ms 08 2 2s977ms 1s488ms 09 2 3s34ms 1s517ms 10 1 1s550ms 1s550ms 11 1 1s396ms 1s396ms 13 1 1s371ms 1s371ms 15 2 2s739ms 1s369ms 16 1 1s309ms 1s309ms 18 2 2s709ms 1s354ms 21 2 2s984ms 1s492ms 22 2 2s759ms 1s379ms 23 2 2s878ms 1s439ms Apr 03 01 2 2s922ms 1s461ms 02 2 2s962ms 1s481ms 05 4 6s6ms 1s501ms 07 2 2s792ms 1s396ms 08 2 2s855ms 1s427ms 09 1 1s440ms 1s440ms 11 4 6s178ms 1s544ms 12 1 1s352ms 1s352ms 13 2 2s809ms 1s404ms 14 1 1s565ms 1s565ms 15 1 1s345ms 1s345ms 16 1 1s444ms 1s444ms 17 1 1s451ms 1s451ms 19 3 3s978ms 1s326ms 20 3 4s132ms 1s377ms 21 3 4s860ms 1s620ms Apr 04 00 1 1s476ms 1s476ms 04 2 3s65ms 1s532ms 05 2 2s982ms 1s491ms 06 1 1s586ms 1s586ms 07 6 9s654ms 1s609ms 08 2 3s672ms 1s836ms 09 4 6s394ms 1s598ms 11 1 1s438ms 1s438ms 12 3 4s399ms 1s466ms 13 1 1s383ms 1s383ms 16 1 1s325ms 1s325ms 18 1 1s374ms 1s374ms 19 1 1s306ms 1s306ms Apr 05 05 1 1s763ms 1s763ms 06 1 1s557ms 1s557ms 08 1 1s649ms 1s649ms 09 1 1s609ms 1s609ms 10 4 5s773ms 1s443ms 11 2 2s888ms 1s444ms 12 2 2s763ms 1s381ms 14 1 1s338ms 1s338ms 15 3 4s215ms 1s405ms 17 1 1s350ms 1s350ms 18 1 1s310ms 1s310ms 19 2 2s725ms 1s362ms 21 3 4s284ms 1s428ms 22 1 1s355ms 1s355ms 23 5 7s33ms 1s406ms [ User: pubeu - Total duration: 2m11s - Times executed: 90 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2094697') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2094697') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-04 07:54:29 Duration: 1s938ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2092335') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2092335') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-04 08:16:27 Duration: 1s863ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2099247') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2099247') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-04 08:53:37 Duration: 1s809ms Bind query: yes
17 202 7m39s 1s9ms 20s657ms 2s273ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 31 09 1 2s988ms 2s988ms 23 6 11s581ms 1s930ms Apr 02 02 1 1s169ms 1s169ms 04 1 1s100ms 1s100ms 05 1 1s22ms 1s22ms 08 1 1s74ms 1s74ms 20 1 4s549ms 4s549ms 21 4 7s993ms 1s998ms 23 1 3s652ms 3s652ms Apr 03 00 1 1s105ms 1s105ms 01 1 1s136ms 1s136ms 03 1 1s119ms 1s119ms 06 1 1s160ms 1s160ms 07 5 7s946ms 1s589ms 08 1 4s412ms 4s412ms 09 1 1s32ms 1s32ms 10 1 1s215ms 1s215ms 11 2 5s702ms 2s851ms 21 5 12s681ms 2s536ms 22 7 17s857ms 2s551ms 23 10 27s110ms 2s711ms Apr 04 00 15 34s104ms 2s273ms 01 10 31s724ms 3s172ms 02 8 13s7ms 1s625ms 03 7 21s826ms 3s118ms 04 6 8s521ms 1s420ms 05 8 13s427ms 1s678ms 06 8 16s16ms 2s2ms 07 7 16s174ms 2s310ms 08 12 16s989ms 1s415ms 09 10 40s20ms 4s2ms 10 6 24s953ms 4s158ms 11 2 3s175ms 1s587ms 22 3 3s515ms 1s171ms 23 7 30s876ms 4s410ms Apr 05 05 5 8s119ms 1s623ms 06 12 18s843ms 1s570ms 07 17 31s878ms 1s875ms 08 4 5s989ms 1s497ms 09 2 2s517ms 1s258ms [ User: pubeu - Total duration: 4m46s - Times executed: 122 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents;
Date: 2025-04-04 09:06:22 Duration: 20s657ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents;
Date: 2025-04-04 10:04:04 Duration: 14s610ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents;
Date: 2025-04-03 23:02:52 Duration: 10s2ms Database: ctdprd51 User: pubeu Bind query: yes
18 140 12m50s 1s21ms 17s404ms 5s501ms 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 #18
Day Hour Count Duration Avg duration Mar 30 00 1 1s335ms 1s335ms 02 1 4s406ms 4s406ms 03 1 2s194ms 2s194ms 05 1 1s279ms 1s279ms 08 1 2s217ms 2s217ms 09 1 2s767ms 2s767ms 11 1 4s551ms 4s551ms 13 1 2s513ms 2s513ms 15 1 10s42ms 10s42ms 17 1 2s496ms 2s496ms 19 2 4s114ms 2s57ms 20 2 3s763ms 1s881ms 21 2 11s74ms 5s537ms 22 1 6s113ms 6s113ms Mar 31 01 1 5s85ms 5s85ms 03 1 3s121ms 3s121ms 05 4 38s817ms 9s704ms 07 2 5s387ms 2s693ms 08 4 6s372ms 1s593ms 09 1 4s383ms 4s383ms 11 1 1s123ms 1s123ms 17 1 4s584ms 4s584ms 18 2 3s251ms 1s625ms 19 1 5s114ms 5s114ms 21 4 12s693ms 3s173ms 23 1 6s7ms 6s7ms Apr 01 01 5 29s297ms 5s859ms 03 1 5s541ms 5s541ms 07 1 2s649ms 2s649ms 08 1 2s732ms 2s732ms 12 1 3s217ms 3s217ms 13 1 2s831ms 2s831ms 17 1 1s86ms 1s86ms 19 3 23s21ms 7s673ms 22 2 22s358ms 11s179ms 23 2 6s48ms 3s24ms Apr 02 01 9 1m23s 9s317ms 02 2 4s357ms 2s178ms 04 1 1s289ms 1s289ms 06 5 58s111ms 11s622ms 08 6 22s708ms 3s784ms 09 2 3s282ms 1s641ms 13 1 4s472ms 4s472ms 15 2 8s704ms 4s352ms 20 2 7s390ms 3s695ms 21 1 13s497ms 13s497ms 23 1 4s542ms 4s542ms Apr 03 01 1 1s767ms 1s767ms 06 1 2s820ms 2s820ms 09 6 30s682ms 5s113ms 10 1 2s615ms 2s615ms 11 1 4s577ms 4s577ms 16 1 2s167ms 2s167ms 20 1 1s50ms 1s50ms 21 7 54s794ms 7s827ms Apr 04 02 1 5s710ms 5s710ms 05 1 1s814ms 1s814ms 08 1 16s715ms 16s715ms 09 2 3s217ms 1s608ms 10 4 29s327ms 7s331ms 11 1 1s326ms 1s326ms 14 1 11s689ms 11s689ms 16 1 2s175ms 2s175ms 17 2 5s673ms 2s836ms 18 3 22s666ms 7s555ms 19 4 16s626ms 4s156ms 20 1 6s445ms 6s445ms 23 1 15s512ms 15s512ms Apr 05 06 1 17s404ms 17s404ms 09 1 2s553ms 2s553ms 10 1 4s729ms 4s729ms 11 1 10s867ms 10s867ms 13 1 11s938ms 11s938ms 15 2 14s408ms 7s204ms 21 1 3s109ms 3s109ms [ User: pubeu - Total duration: 6m39s - Times executed: 67 ]
-
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 = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-05 06:33:20 Duration: 17s404ms 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 = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-03 21:58:45 Duration: 17s283ms 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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-04 08:07:09 Duration: 16s715ms Database: ctdprd51 User: pubeu Bind query: yes
19 137 3m37s 1s478ms 2s988ms 1s586ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 30 05 2 3s463ms 1s731ms Mar 31 04 1 1s517ms 1s517ms 05 2 3s171ms 1s585ms 10 1 1s547ms 1s547ms 20 1 1s543ms 1s543ms Apr 01 05 2 3s42ms 1s521ms 07 1 1s527ms 1s527ms 09 1 1s520ms 1s520ms 13 1 1s577ms 1s577ms 20 1 1s524ms 1s524ms 22 1 1s521ms 1s521ms Apr 02 04 1 1s551ms 1s551ms 05 2 3s68ms 1s534ms 16 7 10s621ms 1s517ms 20 1 1s517ms 1s517ms 21 1 1s550ms 1s550ms 22 1 1s558ms 1s558ms 23 3 4s788ms 1s596ms Apr 03 00 1 1s611ms 1s611ms 01 2 3s215ms 1s607ms 02 1 1s550ms 1s550ms 03 2 3s238ms 1s619ms 04 2 3s182ms 1s591ms 05 3 4s732ms 1s577ms 14 1 1s524ms 1s524ms 15 4 6s142ms 1s535ms 19 1 1s534ms 1s534ms 20 40 1m2s 1s566ms 21 24 37s278ms 1s553ms 22 1 1s774ms 1s774ms 23 1 1s699ms 1s699ms Apr 04 00 1 1s697ms 1s697ms 01 1 2s988ms 2s988ms 03 1 1s769ms 1s769ms 04 1 1s572ms 1s572ms 05 2 3s144ms 1s572ms 06 1 1s540ms 1s540ms 08 2 3s475ms 1s737ms 09 1 1s669ms 1s669ms 10 2 3s555ms 1s777ms 11 1 1s690ms 1s690ms 12 2 3s199ms 1s599ms 13 1 1s529ms 1s529ms Apr 05 05 1 1s801ms 1s801ms 06 1 1s675ms 1s675ms 08 2 3s169ms 1s584ms 09 1 1s552ms 1s552ms 14 1 1s520ms 1s520ms 21 1 1s510ms 1s510ms 22 1 1s538ms 1s538ms [ User: pubeu - Total duration: 54s606ms - Times executed: 34 ]
[ User: qaeu - Total duration: 4s600ms - Times executed: 3 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-04-04 01:01:44 Duration: 2s988ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-03-30 05:43:56 Duration: 1s985ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-04-04 08:20:06 Duration: 1s873ms Database: ctdprd51 User: pubeu Bind query: yes
20 135 13m42s 1s3ms 56s570ms 6s89ms 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 #20
Day Hour Count Duration Avg duration Mar 30 02 1 1s120ms 1s120ms 03 5 59s602ms 11s920ms 07 1 5s390ms 5s390ms 10 1 1s92ms 1s92ms 12 1 1s704ms 1s704ms 16 1 2s172ms 2s172ms 17 1 11s233ms 11s233ms 20 2 3s150ms 1s575ms 23 3 14s861ms 4s953ms Mar 31 00 2 3s299ms 1s649ms 05 2 37s83ms 18s541ms 08 2 2s136ms 1s68ms 09 2 2s182ms 1s91ms 10 1 17s946ms 17s946ms 16 2 2s734ms 1s367ms 17 1 1s673ms 1s673ms 18 1 2s573ms 2s573ms 21 10 2m19s 13s939ms Apr 01 00 1 1s622ms 1s622ms 01 11 13s445ms 1s222ms 02 3 1m22s 27s439ms 05 1 1s528ms 1s528ms 06 2 5s993ms 2s996ms 09 1 16s329ms 16s329ms 17 1 1s568ms 1s568ms 23 4 6s659ms 1s664ms Apr 02 01 1 18s111ms 18s111ms 08 25 2m11s 5s276ms 09 9 44s223ms 4s913ms 11 1 1s208ms 1s208ms 12 1 1s310ms 1s310ms 16 2 28s74ms 14s37ms 20 2 15s461ms 7s730ms 23 1 3s414ms 3s414ms Apr 03 00 1 7s820ms 7s820ms 01 2 20s697ms 10s348ms 02 1 16s119ms 16s119ms 03 2 2s287ms 1s143ms 04 2 4s888ms 2s444ms 05 1 2s281ms 2s281ms 09 1 3s231ms 3s231ms 13 2 3s586ms 1s793ms 16 1 3s701ms 3s701ms 18 1 2s627ms 2s627ms Apr 04 00 1 8s201ms 8s201ms 03 1 1s269ms 1s269ms 11 1 8s67ms 8s67ms Apr 05 09 1 1s241ms 1s241ms 10 6 12s842ms 2s140ms 17 1 1s574ms 1s574ms 18 1 1s73ms 1s73ms 21 4 38s105ms 9s526ms [ User: pubeu - Total duration: 8m - Times executed: 74 ]
-
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 = '2100721') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-31 21:53:13 Duration: 56s570ms 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-31 05:32:08 Duration: 35s991ms 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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-01 02:45:38 Duration: 34s267ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 25m5s 25m5s 25m5s 1 25m5s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 05 19 1 25m5s 25m5s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-04-05 19:02:14 Duration: 25m5s
2 24m43s 24m43s 24m43s 1 24m43s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 05 19 1 24m43s 24m43s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-04-05 19:45:11 Duration: 24m43s
3 4m36s 30m7s 22m50s 7 2h39m51s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 30 00 1 29m23s 29m23s Mar 31 00 1 30m3s 30m3s Apr 01 00 1 30m7s 30m7s Apr 02 00 1 29m44s 29m44s Apr 03 00 1 29m4s 29m4s Apr 04 00 1 6m50s 6m50s Apr 05 00 1 4m36s 4m36s -
/* * 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-04-01 00:30:09 Duration: 30m7s
-
/* * 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-03-31 00:30:05 Duration: 30m3s
-
/* * 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-04-02 00:29:45 Duration: 29m44s
4 6s346ms 4m32s 3m14s 8 25m57s 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 Mar 30 07 5 21m32s 4m18s Apr 02 23 2 13s201ms 6s600ms Apr 03 02 1 4m11s 4m11s [ User: pubeu - Total duration: 17m32s - Times executed: 5 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'liver disease' "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 = 2098594) 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-03-30 07:50:42 Duration: 4m32s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'liver disease' "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 = 2098594) 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-03-30 07:49:04 Duration: 4m32s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'liver disease' "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 = 2098594) 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-03-30 07:51:15 Duration: 4m12s Database: ctdprd51 User: pubeu Bind query: yes
5 1s553ms 5m17s 1m59s 9 17m52s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 31 08 1 2m6s 2m6s Apr 01 06 1 1s641ms 1s641ms 09 3 15m37s 5m12s Apr 04 14 1 1s629ms 1s629ms 22 1 1s666ms 1s666ms Apr 05 14 1 1s553ms 1s553ms 21 1 1s630ms 1s630ms [ User: pubeu - Total duration: 17m46s - Times executed: 5 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1269311') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-01 09:23:00 Duration: 5m17s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1269311') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-01 09:43:07 Duration: 5m10s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1269311') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-01 09:35:55 Duration: 5m9s Database: ctdprd51 User: pubeu Bind query: yes
6 50s215ms 1m7s 52s25ms 25 21m40s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 30 06 1 51s220ms 51s220ms 10 1 51s525ms 51s525ms 14 1 51s920ms 51s920ms 18 1 51s385ms 51s385ms Mar 31 06 1 52s311ms 52s311ms 10 1 51s676ms 51s676ms 14 1 51s273ms 51s273ms 18 1 51s775ms 51s775ms Apr 01 06 1 51s732ms 51s732ms 10 1 51s616ms 51s616ms 14 1 51s473ms 51s473ms 18 1 51s528ms 51s528ms Apr 02 06 1 51s708ms 51s708ms 10 1 51s616ms 51s616ms 14 1 50s469ms 50s469ms 18 1 50s233ms 50s233ms Apr 03 06 1 51s658ms 51s658ms 10 1 51s671ms 51s671ms 14 1 50s355ms 50s355ms 18 1 50s476ms 50s476ms Apr 04 06 1 1m7s 1m7s 10 1 54s776ms 54s776ms 14 1 50s298ms 50s298ms 18 1 50s215ms 50s215ms Apr 05 20 1 50s377ms 50s377ms [ User: postgres - Total duration: 20m50s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 20m50s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-04-04 06:06:10 Duration: 1m7s Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-04-04 10:05:57 Duration: 54s776ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-03-31 06:05:54 Duration: 52s311ms Database: ctdprd51 User: postgres Application: pg_dump
7 1s17ms 3m13s 43s520ms 30 21m45s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 30 17 1 1s942ms 1s942ms Mar 31 23 1 1s17ms 1s17ms Apr 01 06 2 1m21s 40s821ms Apr 02 02 1 2s398ms 2s398ms 21 1 1s752ms 1s752ms 23 2 1m56s 58s224ms Apr 03 00 2 59s190ms 29s595ms 09 1 1s990ms 1s990ms 10 1 42s74ms 42s74ms 14 1 42s71ms 42s71ms 22 3 2m58s 59s341ms Apr 04 04 1 2s82ms 2s82ms 10 1 1m16s 1m16s 20 1 1m3s 1m3s 23 1 1s151ms 1s151ms Apr 05 05 2 2m5s 1m2s 06 1 1m16s 1m16s 07 4 4m22s 1m5s 08 2 2m16s 1m8s 23 1 34s30ms 34s30ms [ User: pubeu - Total duration: 6m30s - Times executed: 11 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1445812')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-05 07:50:36 Duration: 3m13s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1275630')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-05 05:55:54 Duration: 2m1s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1445812')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-05 08:46:03 Duration: 1m18s Bind query: yes
8 1s 10m38s 6s946ms 2,002 3h51m47s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 31 23 1 10m38s 10m38s Apr 01 00 4 46s122ms 11s530ms 05 1 1s954ms 1s954ms 23 1 1s2ms 1s2ms Apr 02 00 3 20s82ms 6s694ms 01 5 24s474ms 4s894ms 02 4 17s676ms 4s419ms 03 1 6s790ms 6s790ms 04 8 36s647ms 4s580ms 05 4 24s167ms 6s41ms 06 3 20s167ms 6s722ms 07 3 20s60ms 6s686ms 08 4 27s368ms 6s842ms 09 4 24s252ms 6s63ms 10 4 23s796ms 5s949ms 11 4 20s878ms 5s219ms 20 8 27s405ms 3s425ms 21 7 33s40ms 4s720ms 22 16 1m22s 5s141ms 23 13 1m6s 5s137ms Apr 03 00 8 42s695ms 5s336ms 01 8 40s911ms 5s113ms 02 11 56s786ms 5s162ms 03 7 27s964ms 3s994ms 04 9 42s612ms 4s734ms 05 12 50s237ms 4s186ms 06 9 45s355ms 5s39ms 07 9 38s581ms 4s286ms 08 14 59s756ms 4s268ms 09 12 54s786ms 4s565ms 10 9 34s769ms 3s863ms 11 7 33s150ms 4s735ms 21 90 8m40s 5s786ms 22 120 9m46s 4s890ms 23 89 7m40s 5s176ms Apr 04 00 95 9m24s 5s940ms 01 99 10m45s 6s515ms 02 82 7m38s 5s592ms 03 80 17m1s 12s768ms 04 87 7m16s 5s19ms 05 75 6m19s 5s54ms 06 113 9m56s 5s275ms 07 110 10m17s 5s609ms 08 104 9m41s 5s589ms 09 75 12m52s 10s298ms 10 106 10m16s 5s820ms 11 88 21m28s 14s646ms 22 47 5m29s 7s21ms 23 85 20m7s 14s202ms Apr 05 05 24 1m38s 4s108ms 06 60 4m24s 4s401ms 07 77 6m6s 4s766ms 08 69 5m27s 4s747ms 09 14 1m16s 5s441ms [ User: pubeu - Total duration: 2h42m14s - Times executed: 1317 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1445823'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-03-31 23:56:21 Duration: 10m38s Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1447336'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 03:11:31 Duration: 5m27s Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 11:53:23 Duration: 5m22s Database: ctdprd51 User: pubeu Bind query: yes
9 1s3ms 56s570ms 6s89ms 135 13m42s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 30 02 1 1s120ms 1s120ms 03 5 59s602ms 11s920ms 07 1 5s390ms 5s390ms 10 1 1s92ms 1s92ms 12 1 1s704ms 1s704ms 16 1 2s172ms 2s172ms 17 1 11s233ms 11s233ms 20 2 3s150ms 1s575ms 23 3 14s861ms 4s953ms Mar 31 00 2 3s299ms 1s649ms 05 2 37s83ms 18s541ms 08 2 2s136ms 1s68ms 09 2 2s182ms 1s91ms 10 1 17s946ms 17s946ms 16 2 2s734ms 1s367ms 17 1 1s673ms 1s673ms 18 1 2s573ms 2s573ms 21 10 2m19s 13s939ms Apr 01 00 1 1s622ms 1s622ms 01 11 13s445ms 1s222ms 02 3 1m22s 27s439ms 05 1 1s528ms 1s528ms 06 2 5s993ms 2s996ms 09 1 16s329ms 16s329ms 17 1 1s568ms 1s568ms 23 4 6s659ms 1s664ms Apr 02 01 1 18s111ms 18s111ms 08 25 2m11s 5s276ms 09 9 44s223ms 4s913ms 11 1 1s208ms 1s208ms 12 1 1s310ms 1s310ms 16 2 28s74ms 14s37ms 20 2 15s461ms 7s730ms 23 1 3s414ms 3s414ms Apr 03 00 1 7s820ms 7s820ms 01 2 20s697ms 10s348ms 02 1 16s119ms 16s119ms 03 2 2s287ms 1s143ms 04 2 4s888ms 2s444ms 05 1 2s281ms 2s281ms 09 1 3s231ms 3s231ms 13 2 3s586ms 1s793ms 16 1 3s701ms 3s701ms 18 1 2s627ms 2s627ms Apr 04 00 1 8s201ms 8s201ms 03 1 1s269ms 1s269ms 11 1 8s67ms 8s67ms Apr 05 09 1 1s241ms 1s241ms 10 6 12s842ms 2s140ms 17 1 1s574ms 1s574ms 18 1 1s73ms 1s73ms 21 4 38s105ms 9s526ms [ User: pubeu - Total duration: 8m - Times executed: 74 ]
-
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 = '2100721') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-31 21:53:13 Duration: 56s570ms 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-31 05:32:08 Duration: 35s991ms 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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-01 02:45:38 Duration: 34s267ms Database: ctdprd51 User: pubeu Bind query: yes
10 1s21ms 17s404ms 5s501ms 140 12m50s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 30 00 1 1s335ms 1s335ms 02 1 4s406ms 4s406ms 03 1 2s194ms 2s194ms 05 1 1s279ms 1s279ms 08 1 2s217ms 2s217ms 09 1 2s767ms 2s767ms 11 1 4s551ms 4s551ms 13 1 2s513ms 2s513ms 15 1 10s42ms 10s42ms 17 1 2s496ms 2s496ms 19 2 4s114ms 2s57ms 20 2 3s763ms 1s881ms 21 2 11s74ms 5s537ms 22 1 6s113ms 6s113ms Mar 31 01 1 5s85ms 5s85ms 03 1 3s121ms 3s121ms 05 4 38s817ms 9s704ms 07 2 5s387ms 2s693ms 08 4 6s372ms 1s593ms 09 1 4s383ms 4s383ms 11 1 1s123ms 1s123ms 17 1 4s584ms 4s584ms 18 2 3s251ms 1s625ms 19 1 5s114ms 5s114ms 21 4 12s693ms 3s173ms 23 1 6s7ms 6s7ms Apr 01 01 5 29s297ms 5s859ms 03 1 5s541ms 5s541ms 07 1 2s649ms 2s649ms 08 1 2s732ms 2s732ms 12 1 3s217ms 3s217ms 13 1 2s831ms 2s831ms 17 1 1s86ms 1s86ms 19 3 23s21ms 7s673ms 22 2 22s358ms 11s179ms 23 2 6s48ms 3s24ms Apr 02 01 9 1m23s 9s317ms 02 2 4s357ms 2s178ms 04 1 1s289ms 1s289ms 06 5 58s111ms 11s622ms 08 6 22s708ms 3s784ms 09 2 3s282ms 1s641ms 13 1 4s472ms 4s472ms 15 2 8s704ms 4s352ms 20 2 7s390ms 3s695ms 21 1 13s497ms 13s497ms 23 1 4s542ms 4s542ms Apr 03 01 1 1s767ms 1s767ms 06 1 2s820ms 2s820ms 09 6 30s682ms 5s113ms 10 1 2s615ms 2s615ms 11 1 4s577ms 4s577ms 16 1 2s167ms 2s167ms 20 1 1s50ms 1s50ms 21 7 54s794ms 7s827ms Apr 04 02 1 5s710ms 5s710ms 05 1 1s814ms 1s814ms 08 1 16s715ms 16s715ms 09 2 3s217ms 1s608ms 10 4 29s327ms 7s331ms 11 1 1s326ms 1s326ms 14 1 11s689ms 11s689ms 16 1 2s175ms 2s175ms 17 2 5s673ms 2s836ms 18 3 22s666ms 7s555ms 19 4 16s626ms 4s156ms 20 1 6s445ms 6s445ms 23 1 15s512ms 15s512ms Apr 05 06 1 17s404ms 17s404ms 09 1 2s553ms 2s553ms 10 1 4s729ms 4s729ms 11 1 10s867ms 10s867ms 13 1 11s938ms 11s938ms 15 2 14s408ms 7s204ms 21 1 3s109ms 3s109ms [ User: pubeu - Total duration: 6m39s - Times executed: 67 ]
-
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 = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-05 06:33:20 Duration: 17s404ms 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 = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-03 21:58:45 Duration: 17s283ms 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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-04 08:07:09 Duration: 16s715ms Database: ctdprd51 User: pubeu Bind query: yes
11 1s15ms 1m50s 4s508ms 612 45m58s 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.ixn_id = any (array (( select ixn_id from ixn_anatomy where anatomy_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?)))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 01 21 1 1s502ms 1s502ms Apr 02 20 4 6s176ms 1s544ms 23 4 8s235ms 2s58ms Apr 03 00 3 5s562ms 1s854ms 01 3 4s830ms 1s610ms 02 6 24s191ms 4s31ms 03 10 54s788ms 5s478ms 04 10 35s623ms 3s562ms 05 4 25s730ms 6s432ms 06 10 34s100ms 3s410ms 07 4 25s49ms 6s262ms 08 6 28s535ms 4s755ms 09 6 27s799ms 4s633ms 10 7 29s834ms 4s262ms 11 2 10s462ms 5s231ms 21 41 1m16s 1s876ms 22 42 1m28s 2s113ms 23 15 36s594ms 2s439ms Apr 04 00 31 2m22s 4s603ms 01 23 3m7s 8s172ms 02 28 1m31s 3s265ms 03 14 52s638ms 3s759ms 04 21 1m13s 3s478ms 05 18 1m3s 3s516ms 06 33 1m54s 3s467ms 07 30 1m53s 3s795ms 08 21 1m25s 4s55ms 09 22 1m38s 4s498ms 10 26 1m52s 4s317ms 11 24 1m47s 4s490ms 22 2 2s334ms 1s167ms 23 24 7m52s 19s702ms Apr 05 05 12 56s53ms 4s671ms 06 27 1m44s 3s866ms 07 37 3m7s 5s61ms 08 35 2m22s 4s57ms 09 6 25s700ms 4s283ms [ User: pubeu - Total duration: 29m13s - Times executed: 388 ]
-
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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 23:26:39 Duration: 1m50s 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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 01:10:05 Duration: 1m14s 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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-04-04 23:19:30 Duration: 1m3s Bind query: yes
12 3s796ms 15s786ms 4s316ms 476 34m14s 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 Mar 30 00 3 12s527ms 4s175ms 01 1 3s932ms 3s932ms 03 4 16s203ms 4s50ms 07 1 3s846ms 3s846ms 08 3 11s736ms 3s912ms 09 3 11s742ms 3s914ms 11 4 16s473ms 4s118ms 15 1 3s998ms 3s998ms 17 3 12s11ms 4s3ms 18 5 20s349ms 4s69ms 19 1 4s31ms 4s31ms 20 2 8s277ms 4s138ms 21 4 15s772ms 3s943ms 22 10 41s225ms 4s122ms Mar 31 01 2 8s647ms 4s323ms 02 1 4s133ms 4s133ms 03 4 17s35ms 4s258ms 04 12 52s311ms 4s359ms 05 1 4s159ms 4s159ms 07 4 16s52ms 4s13ms 08 2 7s871ms 3s935ms 09 3 12s476ms 4s158ms 10 5 21s295ms 4s259ms 11 4 16s584ms 4s146ms 12 1 4s79ms 4s79ms 13 3 11s969ms 3s989ms 14 2 8s81ms 4s40ms 15 4 17s797ms 4s449ms 16 2 8s137ms 4s68ms 18 1 3s990ms 3s990ms 19 2 8s132ms 4s66ms 20 3 12s272ms 4s90ms 21 7 29s362ms 4s194ms Apr 01 00 5 20s451ms 4s90ms 01 24 1m38s 4s83ms 02 18 1m14s 4s146ms 03 2 8s86ms 4s43ms 04 5 21s387ms 4s277ms 05 1 4s464ms 4s464ms 07 2 8s214ms 4s107ms 08 3 12s217ms 4s72ms 09 1 4s158ms 4s158ms 10 4 17s627ms 4s406ms 11 2 7s989ms 3s994ms 12 1 4s99ms 4s99ms 13 2 8s551ms 4s275ms 14 2 8s94ms 4s47ms 15 2 7s923ms 3s961ms 20 1 4s104ms 4s104ms 21 1 4s161ms 4s161ms 22 1 4s19ms 4s19ms Apr 02 00 1 3s904ms 3s904ms 01 1 4s261ms 4s261ms 02 8 34s932ms 4s366ms 03 6 26s168ms 4s361ms 04 2 8s527ms 4s263ms 05 1 3s946ms 3s946ms 07 2 8s747ms 4s373ms 08 43 3m2s 4s240ms 09 24 1m40s 4s179ms 10 3 12s414ms 4s138ms 11 10 41s254ms 4s125ms 12 10 40s483ms 4s48ms 13 7 28s853ms 4s121ms 14 2 8s417ms 4s208ms 15 6 24s700ms 4s116ms 16 4 16s735ms 4s183ms 17 1 4s25ms 4s25ms 18 1 4s6ms 4s6ms 19 9 36s638ms 4s70ms 20 8 33s881ms 4s235ms 21 1 4s97ms 4s97ms 22 3 12s678ms 4s226ms 23 4 18s652ms 4s663ms Apr 03 00 2 8s677ms 4s338ms 01 1 4s350ms 4s350ms 02 3 12s66ms 4s22ms 03 2 8s287ms 4s143ms 04 3 11s995ms 3s998ms 05 6 24s817ms 4s136ms 06 5 20s977ms 4s195ms 07 4 16s162ms 4s40ms 08 1 5s481ms 5s481ms 09 5 20s446ms 4s89ms 10 4 16s716ms 4s179ms 11 2 7s928ms 3s964ms 13 5 20s292ms 4s58ms 14 1 4s219ms 4s219ms 15 1 4s209ms 4s209ms 16 4 15s788ms 3s947ms 17 2 8s22ms 4s11ms 18 1 3s921ms 3s921ms 19 3 12s240ms 4s80ms 20 3 13s185ms 4s395ms 21 3 13s918ms 4s639ms 22 2 9s440ms 4s720ms 23 2 9s657ms 4s828ms Apr 04 00 5 38s491ms 7s698ms 02 5 24s194ms 4s838ms 03 2 15s120ms 7s560ms 04 2 10s266ms 5s133ms 05 2 9s218ms 4s609ms 06 4 29s509ms 7s377ms 07 1 4s357ms 4s357ms 08 2 10s54ms 5s27ms 09 6 41s852ms 6s975ms 10 5 28s41ms 5s608ms 11 1 4s931ms 4s931ms 12 8 33s72ms 4s134ms 13 3 12s402ms 4s134ms 14 2 8s26ms 4s13ms 15 1 4s411ms 4s411ms 18 1 4s149ms 4s149ms 20 2 8s180ms 4s90ms 21 1 3s979ms 3s979ms 22 1 3s993ms 3s993ms Apr 05 06 1 5s461ms 5s461ms 08 2 8s968ms 4s484ms 09 3 12s485ms 4s161ms 10 2 7s998ms 3s999ms 11 1 3s997ms 3s997ms 13 1 3s967ms 3s967ms 19 1 4s36ms 4s36ms 20 1 3s960ms 3s960ms 21 1 4s59ms 4s59ms 22 1 4s113ms 4s113ms 23 1 3s942ms 3s942ms [ User: pubeu - Total duration: 15m24s - Times executed: 212 ]
[ User: qaeu - Total duration: 4s32ms - Times executed: 1 ]
-
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 = '1438284') 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 = '1438284') 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-04-04 06:00:25 Duration: 15s786ms 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 = '1297150') 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 = '1297150') 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-04-04 00:05:28 Duration: 13s673ms 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 = '1352752') 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 = '1352752') 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-04-04 09:06:24 Duration: 13s68ms Bind query: yes
13 1s2ms 23s436ms 4s233ms 469 33m5s select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, exp_anatomy a1 where a1.anatomy_id = any (array ( select descendant_object_id from dag_path where ancestor_object_id = ?)) and a1.exp_outcome_id = e1.exp_outcome_id union select reference_id from exposure e2, exp_event ee, medium m, term anatomyterm where e2.exp_event_id = ee.id and ee.medium_id = m.id and m.term_acc_txt = anatomyterm.acc_txt and m.term_object_type_id = anatomyterm.object_type_id and anatomyterm.id = any (array ( select descendant_object_id from dag_path where ancestor_object_id = ?)))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 02 02 2 6s500ms 3s250ms 03 2 3s784ms 1s892ms 06 1 2s240ms 2s240ms 07 2 8s141ms 4s70ms 08 1 4s30ms 4s30ms 20 2 7s907ms 3s953ms 21 7 18s205ms 2s600ms 22 4 10s373ms 2s593ms 23 5 13s502ms 2s700ms Apr 03 00 3 8s342ms 2s780ms 01 2 9s194ms 4s597ms 02 2 4s561ms 2s280ms 03 4 14s183ms 3s545ms 04 5 10s441ms 2s88ms 05 2 8s701ms 4s350ms 06 7 21s435ms 3s62ms 07 3 12s623ms 4s207ms 08 3 13s716ms 4s572ms 09 4 12s978ms 3s244ms 10 4 13s420ms 3s355ms 11 3 11s334ms 3s778ms 21 10 36s395ms 3s639ms 22 23 1m45s 4s571ms 23 14 1m10s 5s25ms Apr 04 00 22 1m51s 5s46ms 01 24 1m22s 3s441ms 02 17 57s833ms 3s401ms 03 14 59s920ms 4s280ms 04 22 1m37s 4s422ms 05 10 43s527ms 4s352ms 06 13 1m6s 5s118ms 07 19 1m5s 3s446ms 08 11 57s869ms 5s260ms 09 10 1m3s 6s307ms 10 11 57s913ms 5s264ms 11 6 23s168ms 3s861ms 22 6 19s776ms 3s296ms 23 20 1m24s 4s206ms Apr 05 05 27 1m50s 4s109ms 06 51 3m19s 3s914ms 07 48 4m30s 5s636ms 08 16 59s719ms 3s732ms 09 7 27s143ms 3s877ms [ User: pubeu - Total duration: 18m12s - Times executed: 257 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, exp_anatomy a1 where a1.anatomy_id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2107441')) and a1.exp_outcome_id = e1.exp_outcome_id UNION select reference_id from exposure e2, exp_event ee, medium m, term anatomyTerm where e2.exp_event_id = ee.id and ee.medium_id = m.id and m.term_acc_txt = anatomyTerm.acc_txt and m.term_object_type_id = anatomyTerm.object_type_id and anatomyTerm.id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2107441')))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-05 07:49:20 Duration: 23s436ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, exp_anatomy a1 where a1.anatomy_id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2106151')) and a1.exp_outcome_id = e1.exp_outcome_id UNION select reference_id from exposure e2, exp_event ee, medium m, term anatomyTerm where e2.exp_event_id = ee.id and ee.medium_id = m.id and m.term_acc_txt = anatomyTerm.acc_txt and m.term_object_type_id = anatomyTerm.object_type_id and anatomyTerm.id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2106151')))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-05 07:50:22 Duration: 18s209ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, exp_anatomy a1 where a1.anatomy_id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2106632')) and a1.exp_outcome_id = e1.exp_outcome_id UNION select reference_id from exposure e2, exp_event ee, medium m, term anatomyTerm where e2.exp_event_id = ee.id and ee.medium_id = m.id and m.term_acc_txt = anatomyTerm.acc_txt and m.term_object_type_id = anatomyTerm.object_type_id and anatomyTerm.id = ANY (ARRAY ( select descendant_object_id from dag_path where ancestor_object_id = '2106632')))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-05 07:50:44 Duration: 18s110ms Bind query: yes
14 1s1ms 24s882ms 4s219ms 296 20m48s 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 #14
Day Hour Count Duration Avg duration Mar 30 00 1 1s52ms 1s52ms 01 1 5s241ms 5s241ms 02 1 5s278ms 5s278ms 04 1 5s685ms 5s685ms 05 3 3s374ms 1s124ms 06 1 4s918ms 4s918ms 07 1 4s883ms 4s883ms 08 2 5s937ms 2s968ms 09 3 15s801ms 5s267ms 10 1 1s19ms 1s19ms 12 1 1s29ms 1s29ms 14 2 10s814ms 5s407ms 15 1 1s1ms 1s1ms 16 1 4s871ms 4s871ms 18 4 19s831ms 4s957ms 20 1 1s43ms 1s43ms 21 1 6s222ms 6s222ms 22 1 4s898ms 4s898ms 23 1 1s47ms 1s47ms Mar 31 01 1 1s148ms 1s148ms 03 8 55s500ms 6s937ms 04 3 13s900ms 4s633ms 05 3 3s254ms 1s84ms 07 1 1s35ms 1s35ms 08 1 5s378ms 5s378ms 09 1 5s413ms 5s413ms 10 5 13s909ms 2s781ms 11 2 6s300ms 3s150ms 15 1 4s890ms 4s890ms 17 1 4s980ms 4s980ms 20 1 5s278ms 5s278ms Apr 01 00 1 5s575ms 5s575ms 01 4 16s710ms 4s177ms 03 1 5s272ms 5s272ms 04 4 22s903ms 5s725ms 05 8 20s269ms 2s533ms 09 2 10s406ms 5s203ms 10 1 5s425ms 5s425ms 15 1 1s79ms 1s79ms 16 2 10s483ms 5s241ms 17 1 5s397ms 5s397ms 19 1 1s45ms 1s45ms 20 1 1s266ms 1s266ms 21 4 12s740ms 3s185ms 22 7 24s492ms 3s498ms 23 4 13s273ms 3s318ms Apr 02 00 2 10s581ms 5s290ms 01 7 26s39ms 3s719ms 02 2 6s767ms 3s383ms 03 3 18s402ms 6s134ms 04 1 5s563ms 5s563ms 05 7 7s789ms 1s112ms 06 3 7s211ms 2s403ms 07 4 21s927ms 5s481ms 10 2 10s255ms 5s127ms 11 1 5s173ms 5s173ms 12 2 10s585ms 5s292ms 13 2 10s435ms 5s217ms 15 4 4s170ms 1s42ms 16 4 21s350ms 5s337ms 18 1 1s21ms 1s21ms 19 2 10s725ms 5s362ms 20 1 6s7ms 6s7ms 21 4 4s603ms 1s150ms 22 2 11s581ms 5s790ms 23 1 1s33ms 1s33ms Apr 03 00 1 5s318ms 5s318ms 01 3 7s992ms 2s664ms 03 3 13s167ms 4s389ms 04 7 30s634ms 4s376ms 05 7 11s819ms 1s688ms 06 1 1s64ms 1s64ms 08 2 11s550ms 5s775ms 09 4 18s878ms 4s719ms 11 2 11s783ms 5s891ms 12 3 10s900ms 3s633ms 13 2 10s183ms 5s91ms 14 3 3s203ms 1s67ms 19 2 10s884ms 5s442ms 22 1 1s553ms 1s553ms 23 5 20s945ms 4s189ms Apr 04 00 2 17s946ms 8s973ms 02 1 1s290ms 1s290ms 04 3 21s581ms 7s193ms 05 9 27s910ms 3s101ms 06 1 8s85ms 8s85ms 07 2 13s426ms 6s713ms 08 6 25s103ms 4s183ms 09 4 10s55ms 2s513ms 11 3 20s346ms 6s782ms 12 3 3s160ms 1s53ms 13 1 1s42ms 1s42ms 14 1 5s337ms 5s337ms 18 1 5s545ms 5s545ms 20 2 2s84ms 1s42ms 23 8 1m33s 11s694ms Apr 05 05 5 20s519ms 4s103ms 06 14 1m24s 6s19ms 07 8 41s299ms 5s162ms 08 4 30s32ms 7s508ms 09 5 15s239ms 3s47ms 11 1 5s383ms 5s383ms 15 1 1s144ms 1s144ms 17 2 10s238ms 5s119ms 18 6 23s694ms 3s949ms 21 3 3s64ms 1s21ms 22 1 5s102ms 5s102ms [ User: pubeu - Total duration: 8m40s - Times executed: 109 ]
[ User: qaeu - Total duration: 7s490ms - Times executed: 7 ]
-
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 = '1372685' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-04 23:28:18 Duration: 24s882ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1422646' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-04 23:28:20 Duration: 18s207ms 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 = '1336527' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-04 00:06:48 Duration: 12s679ms Database: ctdprd51 User: pubeu Bind query: yes
15 1s 24s134ms 3s814ms 8,571 9h4m52s select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 30 06 1 5s745ms 5s745ms 10 1 2s85ms 2s85ms Mar 31 00 3 8s71ms 2s690ms 13 1 5s991ms 5s991ms 16 1 2s253ms 2s253ms 23 1 4s51ms 4s51ms Apr 01 00 1 1s836ms 1s836ms 03 1 2s794ms 2s794ms 10 1 1s66ms 1s66ms 21 4 12s491ms 3s122ms 22 2 3s823ms 1s911ms 23 4 10s467ms 2s616ms Apr 02 00 1 1s62ms 1s62ms 01 1 2s808ms 2s808ms 02 4 11s99ms 2s774ms 03 6 20s692ms 3s448ms 04 5 11s717ms 2s343ms 05 5 9s253ms 1s850ms 06 1 2s737ms 2s737ms 07 1 2s895ms 2s895ms 08 3 9s588ms 3s196ms 09 3 8s35ms 2s678ms 11 3 7s135ms 2s378ms 19 5 15s909ms 3s181ms 20 19 1m8s 3s598ms 21 32 1m51s 3s472ms 22 37 2m 3s243ms 23 169 8m47s 3s121ms Apr 03 00 39 2m3s 3s163ms 01 70 3m37s 3s101ms 02 114 5m50s 3s78ms 03 27 1m27s 3s235ms 04 38 1m53s 2s985ms 05 46 2m18s 3s15ms 06 34 1m40s 2s945ms 07 32 1m37s 3s44ms 08 27 1m23s 3s94ms 09 26 1m36s 3s724ms 10 14 50s31ms 3s573ms 11 18 1m4s 3s567ms 17 1 5s861ms 5s861ms 19 15 44s338ms 2s955ms 20 782 39m10s 3s5ms 21 630 32m11s 3s65ms 22 282 19m15s 4s96ms 23 228 14m8s 3s721ms Apr 04 00 359 26m14s 4s385ms 01 271 18m57s 4s198ms 02 226 14m18s 3s798ms 03 229 14m26s 3s785ms 04 246 13m59s 3s411ms 05 229 13m42s 3s593ms 06 243 18m1s 4s450ms 07 197 12m16s 3s736ms 08 189 12m10s 3s862ms 09 127 8m51s 4s186ms 10 158 12m44s 4s837ms 11 70 4m19s 3s711ms 12 26 1m39s 3s820ms 13 6 22s394ms 3s732ms 14 3 6s721ms 2s240ms 15 2 6s284ms 3s142ms 16 2 8s776ms 4s388ms 17 2 8s703ms 4s351ms 18 2 8s655ms 4s327ms 19 1 5s873ms 5s873ms 22 146 8m25s 3s461ms 23 481 46m12s 5s763ms Apr 05 05 534 33m17s 3s740ms 06 873 52m25s 3s602ms 07 766 57m15s 4s485ms 08 291 17m52s 3s685ms 09 152 8m58s 3s545ms 21 1 6s35ms 6s35ms [ User: pubeu - Total duration: 4h39m23s - Times executed: 4223 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-05 07:50:41 Duration: 24s134ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-04 06:00:38 Duration: 24s69ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-05 07:50:49 Duration: 23s226ms Bind query: yes
16 1s 27s478ms 3s712ms 2,644 2h43m35s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 30 16 1 1s922ms 1s922ms 18 2 8s269ms 4s134ms 21 2 9s218ms 4s609ms 22 2 9s215ms 4s607ms 23 3 10s765ms 3s588ms Mar 31 11 1 2s168ms 2s168ms 23 8 46s315ms 5s789ms Apr 01 00 7 9s322ms 1s331ms 01 1 3s385ms 3s385ms 05 3 9s548ms 3s182ms 06 3 8s381ms 2s793ms 07 1 6s568ms 6s568ms 08 2 12s811ms 6s405ms 12 1 2s44ms 2s44ms 15 1 1s836ms 1s836ms 16 1 2s143ms 2s143ms 20 3 9s831ms 3s277ms 21 2 3s160ms 1s580ms 22 1 3s437ms 3s437ms 23 1 1s990ms 1s990ms Apr 02 00 4 11s611ms 2s902ms 01 13 36s232ms 2s787ms 02 4 11s873ms 2s968ms 03 7 14s42ms 2s6ms 04 5 8s361ms 1s672ms 05 4 10s411ms 2s602ms 06 2 8s524ms 4s262ms 07 6 11s375ms 1s895ms 08 1 1s996ms 1s996ms 09 5 18s997ms 3s799ms 10 5 24s765ms 4s953ms 11 5 19s631ms 3s926ms 12 1 1s905ms 1s905ms 19 5 18s612ms 3s722ms 20 21 1m16s 3s644ms 21 21 1m19s 3s764ms 22 23 1m39s 4s329ms 23 15 51s335ms 3s422ms Apr 03 00 32 1m39s 3s95ms 01 17 52s719ms 3s101ms 02 21 1m2s 2s966ms 03 23 1m22s 3s598ms 04 21 1m6s 3s164ms 05 25 1m15s 3s27ms 06 14 40s139ms 2s867ms 07 20 1m11s 3s584ms 08 22 1m28s 4s1ms 09 23 1m26s 3s752ms 10 15 39s503ms 2s633ms 11 10 18s714ms 1s871ms 20 17 55s565ms 3s268ms 21 52 2m36s 3s8ms 22 121 8m12s 4s73ms 23 100 5m51s 3s515ms Apr 04 00 124 8m46s 4s247ms 01 131 8m15s 3s781ms 02 101 6m12s 3s684ms 03 68 3m36s 3s190ms 04 108 6m6s 3s389ms 05 86 5m32s 3s868ms 06 105 6m56s 3s969ms 07 74 4m48s 3s900ms 08 94 5m25s 3s459ms 09 62 4m54s 4s746ms 10 57 4m26s 4s668ms 11 37 2m15s 3s674ms 12 1 1s836ms 1s836ms 16 1 1s993ms 1s993ms 22 39 1m50s 2s838ms 23 98 9m4s 5s554ms Apr 05 05 139 8m21s 3s606ms 06 272 14m13s 3s138ms 07 185 13m 4s218ms 08 85 5m7s 3s613ms 09 44 2m30s 3s411ms 18 7 20s324ms 2s903ms [ User: pubeu - Total duration: 1h32m50s - Times executed: 1446 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-04 23:04:52 Duration: 27s478ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-04 06:00:40 Duration: 25s534ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-04 23:28:19 Duration: 25s442ms Database: ctdprd51 User: pubeu Bind query: yes
17 1s3ms 18s611ms 3s253ms 5,115 4h37m23s with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 30 01 1 2s929ms 2s929ms 05 4 9s318ms 2s329ms 14 1 2s828ms 2s828ms Mar 31 05 4 9s185ms 2s296ms 06 1 2s874ms 2s874ms 10 2 4s590ms 2s295ms 18 1 2s837ms 2s837ms Apr 01 04 1 1s843ms 1s843ms 05 6 14s608ms 2s434ms 07 2 5s329ms 2s664ms 09 1 1s988ms 1s988ms 10 1 3s444ms 3s444ms 15 1 2s865ms 2s865ms 20 1 2s409ms 2s409ms 21 5 15s136ms 3s27ms 22 1 2s22ms 2s22ms Apr 02 00 6 15s165ms 2s527ms 01 2 5s601ms 2s800ms 03 2 4s43ms 2s21ms 05 4 9s49ms 2s262ms 07 3 6s5ms 2s1ms 08 1 2s37ms 2s37ms 09 2 4s588ms 2s294ms 10 1 2s442ms 2s442ms 13 1 2s9ms 2s9ms 16 1 1s851ms 1s851ms 19 4 8s672ms 2s168ms 20 16 36s628ms 2s289ms 21 28 1m26s 3s81ms 22 19 45s689ms 2s404ms 23 130 5m20s 2s463ms Apr 03 00 28 1m7s 2s412ms 01 67 2m44s 2s458ms 02 92 3m50s 2s502ms 03 23 53s654ms 2s332ms 04 29 1m12s 2s501ms 05 45 1m52s 2s506ms 06 25 57s539ms 2s301ms 07 20 52s276ms 2s613ms 08 28 1m11s 2s560ms 09 29 1m15s 2s599ms 10 12 33s309ms 2s775ms 11 17 39s780ms 2s340ms 19 14 33s750ms 2s410ms 20 581 25m5s 2s591ms 21 489 21m2s 2s581ms 22 135 9m10s 4s77ms 23 101 5m54s 3s505ms Apr 04 00 144 10m37s 4s424ms 01 124 7m32s 3s645ms 02 113 6m35s 3s504ms 03 125 6m53s 3s309ms 04 130 7m11s 3s320ms 05 137 7m17s 3s194ms 06 132 7m51s 3s569ms 07 95 5m21s 3s380ms 08 112 6m 3s221ms 09 67 5m24s 4s837ms 10 83 5m41s 4s110ms 11 38 1m54s 3s22ms 12 21 57s624ms 2s744ms 13 9 24s895ms 2s766ms 14 1 2s548ms 2s548ms 15 1 1s827ms 1s827ms 17 3 8s274ms 2s758ms 18 2 5s152ms 2s576ms 22 90 4m13s 2s811ms 23 236 21m16s 5s406ms Apr 05 05 274 14m37s 3s203ms 06 560 29m 3s107ms 07 350 24m16s 4s162ms 08 185 9m48s 3s181ms 09 93 4m32s 2s932ms 21 2 4s743ms 2s371ms [ User: pubeu - Total duration: 2h11m15s - Times executed: 2232 ]
[ User: qaeu - Total duration: 24s759ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '659068' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-04-04 23:18:20 Duration: 18s611ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '658730' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-04-04 23:18:19 Duration: 17s779ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '659068' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-04-04 23:28:15 Duration: 15s947ms Bind query: yes
18 1s 23s624ms 3s149ms 1,151 1h24s 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.ixn_id = any (array (( select ixn_id from ixn_anatomy where anatomy_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?)))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 30 05 1 1s198ms 1s198ms 14 1 7s359ms 7s359ms 15 1 1s419ms 1s419ms Mar 31 18 1 1s584ms 1s584ms Apr 01 20 1 1s551ms 1s551ms 22 3 4s93ms 1s364ms Apr 02 00 1 1s223ms 1s223ms 01 3 4s489ms 1s496ms 02 4 11s550ms 2s887ms 05 1 1s593ms 1s593ms 06 2 2s782ms 1s391ms 07 1 1s41ms 1s41ms 08 1 1s565ms 1s565ms 10 2 2s723ms 1s361ms 19 5 10s151ms 2s30ms 20 3 4s460ms 1s486ms 21 4 12s483ms 3s120ms 22 6 9s391ms 1s565ms 23 6 11s29ms 1s838ms Apr 03 00 8 17s853ms 2s231ms 01 7 15s495ms 2s213ms 02 2 2s921ms 1s460ms 03 12 32s697ms 2s724ms 04 7 9s702ms 1s386ms 05 17 33s123ms 1s948ms 06 11 35s596ms 3s236ms 07 5 6s982ms 1s396ms 08 8 18s857ms 2s357ms 09 11 22s644ms 2s58ms 10 8 18s599ms 2s324ms 11 2 4s413ms 2s206ms 21 16 33s242ms 2s77ms 22 36 2m31s 4s199ms 23 33 1m47s 3s264ms Apr 04 00 61 3m31s 3s472ms 01 53 2m45s 3s125ms 02 44 2m21s 3s227ms 03 38 2m26s 3s858ms 04 38 1m46s 2s789ms 05 35 2m50s 4s866ms 06 42 1m57s 2s790ms 07 41 2m 2s933ms 08 34 1m31s 2s695ms 09 20 1m14s 3s739ms 10 32 1m52s 3s505ms 11 17 1m4s 3s780ms 16 1 7s244ms 7s244ms 22 18 42s140ms 2s341ms 23 74 4m20s 3s521ms Apr 05 05 73 3m44s 3s81ms 06 133 6m20s 2s859ms 07 100 5m35s 3s353ms 08 45 2m45s 3s677ms 09 22 1m22s 3s769ms [ User: pubeu - Total duration: 34m42s - Times executed: 647 ]
-
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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-03 22:01:41 Duration: 23s624ms 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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-05 07:50:27 Duration: 21s734ms 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.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107543')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-04 01:00:41 Duration: 20s245ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s 24s181ms 3s101ms 2,981 2h34m4s select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 30 04 1 2s891ms 2s891ms 18 6 11s993ms 1s998ms 21 1 4s165ms 4s165ms 22 5 14s292ms 2s858ms 23 5 7s635ms 1s527ms Mar 31 00 1 4s422ms 4s422ms 01 1 4s415ms 4s415ms 05 1 4s319ms 4s319ms 07 1 1s30ms 1s30ms 19 1 3s93ms 3s93ms 23 2 4s556ms 2s278ms Apr 01 00 1 1s74ms 1s74ms 01 3 6s218ms 2s72ms 04 2 3s179ms 1s589ms 05 2 4s104ms 2s52ms 06 1 1s70ms 1s70ms 07 2 2s921ms 1s460ms 09 2 6s17ms 3s8ms 13 1 1s852ms 1s852ms 20 2 7s329ms 3s664ms 21 5 13s485ms 2s697ms 22 3 8s102ms 2s700ms 23 4 12s373ms 3s93ms Apr 02 00 4 13s445ms 3s361ms 01 15 34s129ms 2s275ms 02 4 7s611ms 1s902ms 03 5 9s439ms 1s887ms 04 10 19s416ms 1s941ms 05 3 6s543ms 2s181ms 06 5 14s337ms 2s867ms 07 5 8s599ms 1s719ms 08 7 17s745ms 2s535ms 09 6 19s634ms 3s272ms 10 2 2s135ms 1s67ms 11 2 6s219ms 3s109ms 19 3 5s44ms 1s681ms 20 19 54s321ms 2s859ms 21 27 1m6s 2s457ms 22 31 1m7s 2s175ms 23 25 1m10s 2s826ms Apr 03 00 24 1m2s 2s621ms 01 19 40s188ms 2s115ms 02 15 44s406ms 2s960ms 03 18 36s774ms 2s43ms 04 22 49s349ms 2s243ms 05 30 51s903ms 1s730ms 06 27 1m6s 2s472ms 07 19 46s239ms 2s433ms 08 25 1m3s 2s537ms 09 23 46s557ms 2s24ms 10 14 27s627ms 1s973ms 11 14 39s648ms 2s832ms 20 13 32s298ms 2s484ms 21 68 2m45s 2s431ms 22 134 8m31s 3s819ms 23 93 5m13s 3s368ms Apr 04 00 159 9m20s 3s523ms 01 141 7m30s 3s196ms 02 131 7m7s 3s259ms 03 98 5m16s 3s234ms 04 116 5m8s 2s659ms 05 105 5m23s 3s84ms 06 104 5m55s 3s417ms 07 106 5m41s 3s222ms 08 87 4m21s 3s4ms 09 61 4m7s 4s56ms 10 88 4m37s 3s154ms 11 36 1m17s 2s142ms 19 1 1s920ms 1s920ms 22 44 1m47s 2s435ms 23 152 10m38s 4s197ms Apr 05 05 159 7m26s 2s807ms 06 254 11m59s 2s831ms 07 208 13m41s 3s949ms 08 99 4m55s 2s980ms 09 41 1m39s 2s433ms 18 7 15s558ms 2s222ms [ User: pubeu - Total duration: 1h28m12s - Times executed: 1655 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-05 07:50:53 Duration: 24s181ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-04 23:04:49 Duration: 24s102ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-04 00:03:38 Duration: 19s422ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s7ms 10s419ms 2s276ms 995 37m44s select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 30 02 2 3s753ms 1s876ms 18 1 1s858ms 1s858ms 23 5 8s936ms 1s787ms Mar 31 00 2 4s73ms 2s36ms 03 1 2s8ms 2s8ms 07 1 1s885ms 1s885ms 20 1 1s858ms 1s858ms 23 1 1s811ms 1s811ms Apr 01 05 1 1s853ms 1s853ms 06 1 1s970ms 1s970ms 08 1 1s271ms 1s271ms 09 1 1s876ms 1s876ms 10 1 1s876ms 1s876ms 15 1 1s861ms 1s861ms 19 1 1s867ms 1s867ms 20 1 2s213ms 2s213ms 21 1 1s845ms 1s845ms 22 3 5s525ms 1s841ms 23 1 1s274ms 1s274ms Apr 02 00 1 1s884ms 1s884ms 01 4 6s902ms 1s725ms 02 4 7s112ms 1s778ms 03 1 2s8ms 2s8ms 04 1 1s972ms 1s972ms 05 1 2s8ms 2s8ms 06 1 1s897ms 1s897ms 07 3 4s457ms 1s485ms 08 1 1s885ms 1s885ms 09 4 6s977ms 1s744ms 10 3 4s432ms 1s477ms 19 3 4s441ms 1s480ms 20 6 10s896ms 1s816ms 21 10 19s703ms 1s970ms 22 10 16s899ms 1s689ms 23 3 4s638ms 1s546ms Apr 03 00 5 8s432ms 1s686ms 01 5 9s497ms 1s899ms 02 9 16s596ms 1s844ms 03 12 22s889ms 1s907ms 04 8 14s208ms 1s776ms 05 7 11s3ms 1s571ms 06 6 10s373ms 1s728ms 07 14 26s169ms 1s869ms 08 10 17s25ms 1s702ms 09 8 14s354ms 1s794ms 10 5 8s279ms 1s655ms 11 5 9s883ms 1s976ms 20 7 10s980ms 1s568ms 21 12 24s158ms 2s13ms 22 33 1m18s 2s391ms 23 34 1m31s 2s691ms Apr 04 00 63 2m47s 2s658ms 01 42 1m30s 2s144ms 02 33 1m16s 2s319ms 03 40 1m25s 2s127ms 04 32 1m11s 2s241ms 05 30 59s334ms 1s977ms 06 39 1m49s 2s798ms 07 35 1m14s 2s139ms 08 32 1m1s 1s922ms 09 23 1m7s 2s939ms 10 27 1m31s 3s376ms 11 10 18s197ms 1s819ms 22 8 13s246ms 1s655ms 23 87 4m17s 2s957ms Apr 05 05 43 1m36s 2s247ms 06 71 2m20s 1s977ms 07 74 2m56s 2s380ms 08 32 1m5s 2s54ms 09 8 15s589ms 1s948ms 14 1 1s837ms 1s837ms 18 2 3s136ms 1s568ms [ User: pubeu - Total duration: 21m11s - Times executed: 554 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-04 10:00:19 Duration: 10s419ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-04 23:19:42 Duration: 9s792ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-03 23:00:22 Duration: 9s303ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 21m50s 12 1m11s 2m23s 1m49s SELECT /* BasicCountsDAO gen */ ii.cd;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Apr 05 11 12 21m50s 1m49s -
SELECT /* BasicCountsDAO gen */ ii.cd;
Date: 2025-04-01 11:04:32 Duration: 2m23s Database: postgres
-
SELECT /* BasicCountsDAO gen */ ii.cd;
Date: 2025-04-01 11:04:32 Duration: 2m15s Database: postgres
-
SELECT /* BasicCountsDAO gen */ ii.cd;
Date: 2025-04-01 11:04:32 Duration: 2m14s Database: postgres
2 7m22s 4 1m22s 2m19s 1m50s SELECT /* TermDAO */ ;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 10 4 7m22s 1m50s -
SELECT /* TermDAO */ ;
Date: 2025-04-01 11:04:32 Duration: 2m19s Database: postgres
-
SELECT /* TermDAO */ ;
Date: 2025-04-01 11:04:32 Duration: 1m22s Database: postgres
3 49s583ms 3 16s527ms 16s527ms 16s527ms SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 09 3 49s583ms 16s527ms -
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id;
Date: 2025-04-04 10:03:19 Duration: 16s527ms Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 13s58ms 12 1s6ms 1s299ms 1s88ms SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $3) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Apr 05 10 3 3s18ms 1s6ms 23 6 6s987ms 1s164ms Apr 05 06 3 3s51ms 1s17ms -
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $3) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-04 23:18:06 Duration: 1s299ms Database: postgres parameters: $1 = '2107829', $2 = '2107829'
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $3) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-04 23:12:51 Duration: 1s29ms Database: postgres parameters: $1 = '1445812'
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $3) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-05 06:32:31 Duration: 1s17ms Database: postgres parameters: $1 = '659068', $2 = '659068'
2 2s330ms 2 1s165ms 1s165ms 1s165ms SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 19 2 2s330ms 1s165ms -
SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;
Date: 2025-04-03 20:36:40 Duration: 1s165ms Database: postgres parameters: $1 = '1447336', $2 = '1447336', $3 = 'chem%'
3 0ms 402 0ms 0ms 0ms ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration Mar 29 09 1 0ms 0ms 15 2 0ms 0ms 16 1 0ms 0ms 19 1 0ms 0ms Mar 30 01 1 0ms 0ms 05 4 0ms 0ms 07 12 0ms 0ms 08 2 0ms 0ms Mar 31 00 1 0ms 0ms 06 2 0ms 0ms 07 6 0ms 0ms 08 4 0ms 0ms 09 2 0ms 0ms 10 6 0ms 0ms 11 4 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 4 0ms 0ms 17 2 0ms 0ms 20 2 0ms 0ms Apr 01 06 6 0ms 0ms 07 4 0ms 0ms 08 4 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 20 0ms 0ms 12 2 0ms 0ms 13 12 0ms 0ms 14 4 0ms 0ms 16 4 0ms 0ms 19 2 0ms 0ms 23 2 0ms 0ms Apr 02 00 1 0ms 0ms 09 4 0ms 0ms 10 10 0ms 0ms 11 6 0ms 0ms 15 4 0ms 0ms 21 4 0ms 0ms Apr 03 00 1 0ms 0ms 06 20 0ms 0ms 07 16 0ms 0ms 08 8 0ms 0ms 09 4 0ms 0ms 10 12 0ms 0ms 11 12 0ms 0ms 15 6 0ms 0ms 16 2 0ms 0ms 21 2 0ms 0ms 22 4 0ms 0ms Apr 04 00 1 0ms 0ms 01 1 0ms 0ms 03 3 0ms 0ms 05 6 0ms 0ms 06 12 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 12 0ms 0ms 13 9 0ms 0ms 14 21 0ms 0ms 15 45 0ms 0ms 16 9 0ms 0ms 17 3 0ms 0ms 23 15 0ms 0ms Apr 05 05 3 0ms 0ms 07 9 0ms 0ms 08 3 0ms 0ms 13 3 0ms 0ms [ User: pubeu - Total duration: 17m33s - Times executed: 163 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '2095942'
-
Events
Log levels
Key values
- 373,208 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 220 FATAL entries
- 174 ERROR entries
- 3 WARNING entries
- 129 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 121 Max number of times the same event was reported
- 526 Total events found
Rank Times reported Error 1 121 FATAL: remaining connection slots are reserved for non-replication superuser connections
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 01 11 121 2 114 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 30 01 3 03 1 04 1 17 1 Mar 31 00 2 05 1 10 1 12 1 20 1 Apr 01 00 1 02 1 04 2 05 2 06 1 07 1 08 2 10 2 12 2 14 2 15 1 17 1 20 2 23 1 Apr 02 00 2 01 1 03 1 05 1 06 1 07 3 08 1 09 1 10 1 18 2 19 1 22 1 23 1 Apr 03 00 2 01 1 05 2 08 2 11 1 12 2 14 1 20 2 21 2 23 1 Apr 04 00 3 01 2 02 3 04 1 05 1 07 1 11 1 17 1 18 2 21 1 23 4 Apr 05 06 3 08 2 09 4 10 2 11 2 12 1 14 1 15 1 17 1 18 1 19 5 20 2 21 2 23 1 - ERROR: syntax error in ts"セイコー時計 アルピニスト"
- ERROR: syntax error in ts"REACTIVE BLUE 19"
- ERROR: syntax error in ts"阳 & 19337783253 & (-- | ) & 51 & 32 & 1 & 11 & 40 & 0 & 10 & 66.67% & 14 & 2 & 0 & 2 & 3.92% & 0 & 赵鑫 & 17326270623 & (-- | ) & 42 & 31 & 0 & 3 & 42 & 0 & 3 & 33.33% & 9 & 0 & 0 & 1 & 2.38% & 0 & 杨帆 & 16639935048 & (-- | ) & 25 & 16 & 0 & 2 & 18 & 0 & 8 & 100.00% & 7 & 2 & 0 & 0 & 0.00% & 0 & 项双星 & 15938429078 & (-- | ) & 1 & 1 & 0 & 1 & 1 & 0 & 0 & 0.00% & 0 & 0 & 0 & 0 & 0.00% & 0 & 李玉浩 & 15083405956 & (-- | ) & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0.00% & 0 & 0 & 0 & 0 & 0.00% & 0 & 赵鑫 & 19511055921 & (-- | ) & 0 & 0"
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-03-30 04:31:45
Statement: 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',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) 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 $3 ) ) 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 $4 ) ) ii GROUP BY ii.cd
Date: 2025-03-30 01:17:09
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 OR upper( l.acc_txt ) = $11 OR upper( l.acc_txt ) = $12 OR upper( l.acc_txt ) = $13 OR upper( l.acc_txt ) = $14 OR upper( l.acc_txt ) = $15 OR upper( l.acc_txt ) = $16 OR upper( l.acc_txt ) = $17 OR upper( l.acc_txt ) = $18 OR upper( l.acc_txt ) = $19 OR upper( l.acc_txt ) = $20 OR upper( l.acc_txt ) = $21 OR upper( l.acc_txt ) = $22 OR upper( l.acc_txt ) = $23 OR upper( l.acc_txt ) = $24 OR upper( l.acc_txt ) = $25 OR upper( l.acc_txt ) = $26 OR upper( l.acc_txt ) = $27 OR upper( l.acc_txt ) = $28 OR upper( l.acc_txt ) = $29 OR upper( l.acc_txt ) = $30 OR upper( l.acc_txt ) = $31 OR upper( l.acc_txt ) = $32 OR upper( l.acc_txt ) = $33 OR upper( l.acc_txt ) = $34 OR upper( l.acc_txt ) = $35 OR upper( l.acc_txt ) = $36 OR upper( l.acc_txt ) = $37 OR upper( l.acc_txt ) = $38 OR upper( l.acc_txt ) = $39 OR upper( l.acc_txt ) = $40 OR upper( l.acc_txt ) = $41 OR upper( l.acc_txt ) = $42 OR upper( l.acc_txt ) = $43 OR upper( l.acc_txt ) = $44 OR upper( l.acc_txt ) = $45 OR upper( l.acc_txt ) = $46 OR upper( l.acc_txt ) = $47 OR upper( l.acc_txt ) = $48 OR upper( l.acc_txt ) = $49 OR upper( l.acc_txt ) = $50 OR upper( l.acc_txt ) = $51 OR upper( l.acc_txt ) = $52 OR upper( l.acc_txt ) = $53 OR upper( l.acc_txt ) = $54 OR upper( l.acc_txt ) = $55 OR upper( l.acc_txt ) = $56 OR upper( l.acc_txt ) = $57 OR upper( l.acc_txt ) = $58 OR upper( l.acc_txt ) = $59 OR upper( l.acc_txt ) = $60 OR upper( l.acc_txt ) = $61 OR upper( l.acc_txt ) = $62 OR upper( l.acc_txt ) = $63 OR upper( l.acc_txt ) = $64 OR upper( l.acc_txt ) = $65 OR upper( l.acc_txt ) = $66 OR upper( l.acc_txt ) = $67 OR upper( l.acc_txt ) = $68 OR upper( l.acc_txt ) = $69 OR upper( l.acc_txt ) = $70 OR upper( l.acc_txt ) = $71 OR upper( l.acc_txt ) = $72 OR upper( l.acc_txt ) = $73 OR upper( l.acc_txt ) = $74 OR upper( l.acc_txt ) = $75 OR upper( l.acc_txt ) = $76 OR upper( l.acc_txt ) = $77 OR upper( l.acc_txt ) = $78 OR upper( l.acc_txt ) = $79 OR upper( l.acc_txt ) = $80 OR upper( l.acc_txt ) = $81 OR upper( l.acc_txt ) = $82 OR upper( l.acc_txt ) = $83 OR upper( l.acc_txt ) = $84 OR upper( l.acc_txt ) = $85 OR upper( l.acc_txt ) = $86 OR upper( l.acc_txt ) = $87 OR upper( l.acc_txt ) = $88 OR upper( l.acc_txt ) = $89 OR upper( l.acc_txt ) = $90 OR upper( l.acc_txt ) = $91 OR upper( l.acc_txt ) = $92 OR upper( l.acc_txt ) = $93 OR upper( l.acc_txt ) = $94 OR upper( l.acc_txt ) = $95 OR upper( l.acc_txt ) = $96 OR upper( l.acc_txt ) = $97 OR upper( l.acc_txt ) = $98 OR upper( l.acc_txt ) = $99 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-03-31 12:16:25 Database: ctdprd51 Application: User: pubeu Remote:
3 61 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 31 22 3 23 5 Apr 01 00 1 Apr 02 20 1 21 1 Apr 03 02 7 Apr 04 03 7 11 11 23 1 Apr 05 00 5 01 4 02 4 03 3 04 4 05 4 4 52 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #4
Day Hour Count Apr 01 11 52 - LOG: process 3257194 still waiting for AccessShareLock on relation 7766613 of database 484829 after 1000.067 ms
- LOG: process 3257195 still waiting for AccessShareLock on relation 7766613 of database 484829 after 1000.057 ms at character 1473
- LOG: process 3257193 still waiting for AccessShareLock on relation 7766613 of database 484829 after 1000.072 ms at character 664
Detail: Process holding the lock: 3258784. Wait queue: 3257194.
Statement: SELECT /* TermDAO */ t.id ,t.nm ,t.nm_html ,t.secondary_nm ,t.acc_db_cd ,t.is_leaf ,t.has_chems ,t.has_diseases ,t.has_genes ,t.has_go ,t.has_pathways ,t.has_ixns ,t.has_references ,t.has_comps ,t.has_exposures ,t.has_phenotypes FROM term t WHERE t.id = (SELECT l.object_id FROM db_link l WHERE l.type_cd = 'A' AND l.object_type_id = 2 AND l.acc_txt = $1 LIMIT 1)Date: 2025-04-01 11:02:02 Database: ctdprd51 Application: User: pubeu Remote:
Detail: Process holding the lock: 3258784. Wait queue: 3257194, 3257195, 3257193.
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50Date: 2025-04-01 11:02:05
Detail: Process holding the lock: 3258784. Wait queue: 3257194, 3257195, 3257193, 3257030, 3255764.
Statement: SELECT /* TermLinksDAO */ COALESCE(d.abbr_display, d.nm_display) dbnm ,d.cd dbcd ,d.id dbid ,COALESCE(d.abbr, d.nm) anchor ,l.acc_txt acc ,get_acc_sort_num(l.acc_txt) accsort ,l.is_primary isprimary ,dbrs.nm sitenm ,dbr.nm reportnm ,get_encoded_acc_url(dbrs.url, l.acc_txt) url ,COUNT(dbrs.id) OVER(PARTITION BY l.acc_txt,l.db_id,dbr.id) sitesPerAccCount ,COUNT(l.acc_txt) OVER(PARTITION BY l.db_id,dbrs.id) accsPerDbCount ,CASE WHEN l.type_cd = 'A' THEN (SELECT t.nm FROM gene_taxon gt INNER JOIN term t ON gt.taxon_id = t.id WHERE gt.gene_acc_txt = l.acc_txt) ELSE NULL END description FROM db_link l INNER JOIN db d ON l.db_id = d.id INNER JOIN db_report dbr ON d.id = dbr.db_id AND dbr.object_type_id = 4 INNER JOIN db_report_site dbrs ON dbr.id = dbrs.db_report_id WHERE l.object_id = $1 AND l.object_type_id = 4 AND l.type_cd = 'A' AND dbr.type_cd = 'PAV' ORDER BY 1 ,7 DESC ,6 ,5 ,8Date: 2025-04-01 11:02:06 Database: ctdprd51 Application: User: pubeu Remote:
5 31 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 31 22 1 Apr 01 00 2 Apr 03 02 1 11 1 23 3 Apr 04 02 2 03 1 04 7 06 1 10 3 11 1 23 2 Apr 05 06 3 07 3 - FATAL: connection to client lost
- FATAL: connection to client lost
- FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-03-31 22:18:10
Statement: select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm ,associatedTerm.id associatedTermId ,ptr.ixn_id ixnId ,associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort ,COALESCE( associatedTerm.secondary_nm, '' ) casRN ,phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype ,phenotypeTerm.id phenotypeId ,( SELECT STRING_AGG( distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE( taxonTerm.secondary_nm, '' ) ,'|' ) ) as taxonTerms ,( SELECT STRING_AGG( distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|' ) ) as anatomyTerms ,COUNT(DISTINCT taxonTerm.nm) taxonCount ,i.ixn_prose_html ixnProseHtml ,i.ixn_prose_txt ixnProse ,i.sort_txt ixnSort ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,COUNT(DISTINCT ptr.reference_id) refCount ,pt.indirect_term_qty inferredCount ,COUNT(*) OVER() fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY ( ARRAY ( ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1 ) ) ) and ptr.term_object_type_id = 2 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount ORDER BY associatedTermNmSort
Date: 2025-04-01 00:28:59
Statement: select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm ,associatedTerm.id associatedTermId ,ptr.ixn_id ixnId ,associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort ,COALESCE( associatedTerm.secondary_nm, '' ) casRN ,phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype ,phenotypeTerm.id phenotypeId ,( SELECT STRING_AGG( distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE( taxonTerm.secondary_nm, '' ) ,'|' ) ) as taxonTerms ,( SELECT STRING_AGG( distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|' ) ) as anatomyTerms ,COUNT(DISTINCT taxonTerm.nm) taxonCount ,i.ixn_prose_html ixnProseHtml ,i.ixn_prose_txt ixnProse ,i.sort_txt ixnSort ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,COUNT(DISTINCT ptr.reference_id) refCount ,pt.indirect_term_qty inferredCount ,COUNT(*) OVER() fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY ( ARRAY ( ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1 ) ) ) and ptr.term_object_type_id = 2 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId
Date: 2025-04-01 00:28:59
6 30 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Apr 04 07 30 - ERROR: duplicate key value violates unique constraint "ixn_action_pk"
Detail: Key (ixn_id, action_type_id, action_degree_type_id)=(9053001, 1, 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_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 RAISE
Statement: select * from edit.ins_ixn_action($1, $2, $3, $4, $5, $6, $7, $8) as resultDate: 2025-04-04 07:32:45
7 30 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 31 22 1 Apr 01 00 3 Apr 03 02 1 11 1 23 3 Apr 04 02 2 03 1 04 6 06 1 10 2 11 1 23 2 Apr 05 06 3 07 3 - LOG: could not send data to client: Broken pipe
- LOG: could not send data to client: Broken pipe
- LOG: could not send data to client: Broken pipe
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-03-31 22:18:10 Database: ctdprd51 Application: User: pubeu Remote:
Statement: select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm ,associatedTerm.id associatedTermId ,ptr.ixn_id ixnId ,associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort ,COALESCE( associatedTerm.secondary_nm, '' ) casRN ,phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype ,phenotypeTerm.id phenotypeId ,( SELECT STRING_AGG( distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE( taxonTerm.secondary_nm, '' ) ,'|' ) ) as taxonTerms ,( SELECT STRING_AGG( distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|' ) ) as anatomyTerms ,COUNT(DISTINCT taxonTerm.nm) taxonCount ,i.ixn_prose_html ixnProseHtml ,i.ixn_prose_txt ixnProse ,i.sort_txt ixnSort ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,COUNT(DISTINCT ptr.reference_id) refCount ,pt.indirect_term_qty inferredCount ,COUNT(*) OVER() fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY ( ARRAY ( ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1 ) ) ) and ptr.term_object_type_id = 2 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount ORDER BY associatedTermNmSort
Date: 2025-04-01 00:28:59 Database: ctdprd51 Application: User: pubeu Remote:
Statement: 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
Date: 2025-04-01 00:28:59 Database: ctdprd51 Application: User: pubeu Remote:
8 27 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #8
Day Hour Count Apr 02 21 1 Apr 04 09 1 12 10 Apr 05 05 14 21 1 9 23 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #9
Day Hour Count Apr 03 23 3 Apr 04 02 2 04 7 06 1 10 3 11 1 Apr 05 06 3 07 3 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT count(*) FROM pg_catalog.pg_stat_all_tables WHERE (n_dead_tup/(n_live_tup+n_dead_tup)::float8) > 0.2 AND (n_live_tup+n_dead_tup) > 50;
Date: 2025-04-03 23:12:31 Database: ctdprd51 Application: User: zbx_monitor Remote:
Statement: SELECT row_to_json(T) FROM ( SELECT archived_count, failed_count FROM pg_stat_archiver ) T;
Date: 2025-04-03 23:12:31
Statement: SELECT json_object_agg(coalesce (datname,'null'), row_to_json(T)) FROM ( SELECT datname , numbackends as numbackends , xact_commit as xact_commit , xact_rollback as xact_rollback , blks_read as blks_read , blks_hit as blks_hit , tup_returned as tup_returned , tup_fetched as tup_fetched , tup_inserted as tup_inserted , tup_updated as tup_updated , tup_deleted as tup_deleted , conflicts as conflicts , temp_files as temp_files , temp_bytes as temp_bytes , deadlocks as deadlocks , COALESCE(checksum_failures, 0) as checksum_failures , blk_read_time as blk_read_time , blk_write_time as blk_write_time FROM pg_catalog.pg_stat_database ) T ;
Date: 2025-04-04 02:10:22 Database: postgres Application: User: zbx_monitor Remote:
10 19 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 31 20 3 Apr 01 21 1 23 3 Apr 02 16 1 17 4 18 1 19 2 Apr 03 17 1 19 2 Apr 04 17 1 11 6 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 31 12 6 - FATAL: password authentication failed for user "load"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2025-03-31 12:33:22
12 4 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 31 08 1 Apr 02 04 1 15 1 Apr 03 07 1 - ERROR: relation "disease_chem_gene" does not exist at character 369
- ERROR: relation "pubx.reference" does not exist at character 407
Statement: SELECT /* DiseaseIxnsDAO */ dcg.chem_id chemid ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,dcg.gene_id geneid ,g.nm genesymbol ,g.acc_txt geneacc ,dcg.ixn_id ixnId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,dcg.reference_qty refCount ,dcg.taxon_qty taxonCount FROM disease_chem_gene dcg INNER JOIN ixn i ON dcg.ixn_id = i.id INNER JOIN term g ON dcg.gene_id = g.id INNER JOIN term c ON dcg.chem_id = c.id WHERE dcg.disease_id = $1 AND g.object_type_id = 4 AND c.object_type_id = 2 ORDER BY g.nm_sort ,c.nm_sort LIMIT 50
Date: 2025-03-31 08:43:11
Statement: SELECT r.acc_txt AS reference_acc_txt ,(SELECT id FROM db WHERE cd = r.acc_db_cd) AS reference_acc_db_id ,COALESCE(common.email_substr(r.affiliation_txt), common.email_substr(r.abstract_txt)) AS email_addr ,'D' AS source_cd ,'twiegers' AS create_by ,CURRENT_TIMESTAMP AS create_tm ,'twiegers' AS mod_by ,CURRENT_TIMESTAMP AS mod_tm -- !! CHANGE PUB SCHEMA QUALIFIER TO LIVE/QA SCHEMA !! FROM pubX.reference r WHERE NOT EXISTS (SELECT 1 FROM edit.reference_contact rc WHERE rc.reference_acc_txt = r.acc_txt) AND COALESCE(common.email_substr(r.affiliation_txt), common.email_substr(r.abstract_txt)) IS NOT NULL AND (r.has_diseases OR r.has_ixns OR r.has_exposures OR r.has_phenotypes) -- Curated only! (i.e., no BioGRID refs) ORDER BY email_addr;
Date: 2025-04-02 15:16:09 Database: ctdprd51 Application: pgAdmin 4 - CONN:3876510 User: edit Remote:
13 3 WARNING: is not a PostgreSQL server process
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 31 09 2 Apr 01 09 1 14 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #14
Day Hour Count Apr 02 12 1 - ERROR: syntax error at or near "distinct" at character 39
Statement: SELECT TO_CHAR(i.dt, 'YYYY') "Year" , distinct(http_user_agent) ,COUNT(DISTINCT i.http_user_agent) "User Agent" FROM (SELECT http_user_agent ,DATE_TRUNC('year',query_tm) dt FROM log_query_archive) i GROUP BY TO_CHAR(dt, 'YYYY') ORDER BY 1 DESC limit 50
Date: 2025-04-02 12:42:02
15 1 ERROR: operator does not exist: text - integer
Times Reported Most Frequent Error / Event #15
Day Hour Count Apr 02 10 1 - ERROR: operator does not exist: text - integer at character 171
Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
Statement: select count(*) from log_query q -- 291979, but some may match more than 1 of these so real total will be lower WHERE upper(q.http_user_agent) LIKE upper('%ARCHIVE%') - 0 OR upper(q.http_user_agent) LIKE upper('%SPIDER%') - 1 OR upper(q.http_user_agent) LIKE upper('%FACEBOOK%') - 0 OR upper(q.http_user_agent) LIKE upper('%NUTCH%') - 0 OR upper(q.http_user_agent) LIKE upper('%TRACK%') -- 0 OR upper(q.http_user_agent) LIKE upper('%SITESUCKER%') --0 OR upper(q.http_user_agent) LIKE upper('%KNOWLEDGE AI%') --0 OR upper(q.http_user_agent) LIKE upper('%MEGAINDEX%') --0 OR upper(q.http_user_agent) LIKE upper('%YANDEX%') --0 OR upper(q.http_user_agent) LIKE upper('%PANSCIENT%') --0 OR upper(q.http_user_agent) LIKE upper('%GOOGLEOTHER%') OR upper(q.http_user_agent) LIKE upper('%QWANTIFY%') OR upper(q.http_user_agent) LIKE upper('%SEOKICKS%') OR upper(q.http_user_agent) LIKE upper('%ARQUIVO%') OR upper(q.http_user_agent) LIKE upper('%SEMANTIC%') --13 OR upper(q.http_user_agent) LIKE upper('%BOT%'); -- 291965Date: 2025-04-02 10:37:13
16 1 FATAL: connection to client lost 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(...) casRN ,phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype ,phenotypeTerm.id phenotypeId ,(...) ,'|' ) ) as taxonTerms ,(...) ) as anatomyTerms ,COUNT(...) taxonCount ,i.ixn_prose_html ixnProseHtml ,i.ixn_prose_txt ixnProse ,i.sort_txt ixnSort ,(...) ) as references ,COUNT(...) refCount ,pt.indirect_term_qty inferredCount ,COUNT(...) OVER() fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (...) ) ) and ptr.term_object_type_id = 2 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount ORDER BY associatedTermNmSort
Times Reported Most Frequent Error / Event #16
Day Hour Count Apr 01 00 1 - FATAL: connection to client lost associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm ,associatedTerm.id associatedTermId ,ptr.ixn_id ixnId ,associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort ,COALESCE( associatedTerm.secondary_nm, '' ) casRN ,phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype ,phenotypeTerm.id phenotypeId ,( SELECT STRING_AGG( distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE( taxonTerm.secondary_nm, '' ) ,'|' ) ) as taxonTerms ,( SELECT STRING_AGG( distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|' ) ) as anatomyTerms ,COUNT(DISTINCT taxonTerm.nm) taxonCount ,i.ixn_prose_html ixnProseHtml ,i.ixn_prose_txt ixnProse ,i.sort_txt ixnSort ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,COUNT(DISTINCT ptr.reference_id) refCount ,pt.indirect_term_qty inferredCount ,COUNT(*) OVER() fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY ( ARRAY ( ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ) ) and ptr.term_object_type_id = 2 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount ORDER BY associatedTermNmSort
Statement: select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' ||
Date: 2025-04-01 00:28:59
17 1 ERROR: , temp_files as temp_files , temp_bytes as temp_bytes , deadlocks as deadlocks , COALESCE(...) as checksum_failures , blk_read_time as blk_read_time , blk_write_time as blk_write_time FROM pg_catalog.pg_stat_database ) T
Times Reported Most Frequent Error / Event #17
Day Hour Count Apr 04 10 1 18 1 ERROR: missing FROM-clause entry for table "..."
Times Reported Most Frequent Error / Event #18
Day Hour Count Apr 02 10 1 - ERROR: missing FROM-clause entry for table "q" at character 48
Statement: select count(*) from log_query WHERE upper(q.http_user_agent) LIKE upper('%BOT%');
Date: 2025-04-02 10:38:35