-
Global information
- Generated on Sun Feb 23 04:15:19 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250222
- Parsed 243,255 log entries in 17s
- Log start from 2025-02-16 00:00:02 to 2025-02-22 23:59:43
-
Overview
Global Stats
- 385 Number of unique normalized queries
- 9,511 Number of queries
- 1d58m20s Total query duration
- 2025-02-16 00:00:33 First query
- 2025-02-22 23:59:43 Last query
- 5 queries/s at 2025-02-20 05:07:39 Query peak
- 1d58m20s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1d58m20s Execute total duration
- 971 Number of events
- 13 Number of unique normalized events
- 916 Max number of times the same event was reported
- 0 Number of cancellation
- 347 Total number of automatic vacuums
- 207 Total number of automatic analyzes
- 6 Number temporary file
- 1.91 MiB Max size of temporary file
- 1017.33 KiB Average size of temporary file
- 15,094 Total number of sessions
- 319 sessions at 2025-02-16 01:12:20 Session peak
- 286d19h51m55s Total duration of sessions
- 27m21s Average duration of sessions
- 0 Average queries per session
- 5s956ms Average queries duration per session
- 27m15s Average idle time per session
- 15,093 Total number of connections
- 37 connections/s at 2025-02-17 08:42:38 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 5 queries/s Query Peak
- 2025-02-20 05:07:39 Date
SELECT Traffic
Key values
- 5 queries/s Query Peak
- 2025-02-20 05:07:39 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-02-20 01:08:31 Date
Queries duration
Key values
- 1d58m20s 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) Feb 16 00 10 0ms 24m28s 2m29s 1s240ms 4s664ms 24m34s 01 44 0ms 4s785ms 1s440ms 3s780ms 5s4ms 6s85ms 02 37 0ms 20s271ms 2s261ms 3s144ms 8s96ms 20s271ms 03 34 0ms 6s379ms 2s244ms 2s486ms 9s570ms 24s71ms 04 30 0ms 8h14m54s 16m31s 3s726ms 5s362ms 8h14m54s 05 52 0ms 6s390ms 2s295ms 15s442ms 23s9ms 23s546ms 06 18 0ms 50s87ms 7s729ms 4s66ms 24s16ms 50s87ms 07 12 0ms 1s469ms 1s238ms 1s256ms 1s469ms 4s877ms 08 13 0ms 5s388ms 1s846ms 2s396ms 2s548ms 5s388ms 09 18 0ms 5s736ms 2s337ms 3s940ms 4s924ms 6s980ms 10 27 0ms 49s112ms 5s634ms 6s113ms 12s54ms 55s701ms 11 21 0ms 7s905ms 1s984ms 2s219ms 3s920ms 10s484ms 12 21 0ms 1m3s 4s611ms 2s507ms 4s 1m4s 13 18 0ms 4m6s 15s557ms 3s954ms 5s254ms 4m6s 14 23 0ms 49s241ms 6s174ms 2s494ms 25s461ms 50s569ms 15 12 0ms 4s24ms 1s498ms 1s299ms 2s401ms 4s24ms 16 29 0ms 4s683ms 1s304ms 3s416ms 3s646ms 5s835ms 17 20 0ms 4s55ms 1s678ms 2s388ms 3s940ms 4s986ms 18 26 0ms 49s277ms 5s674ms 3s327ms 26s557ms 49s277ms 19 34 0ms 4s169ms 1s400ms 3s277ms 3s618ms 4s169ms 20 44 0ms 6s67ms 2s394ms 6s950ms 18s90ms 20s 21 16 0ms 4s700ms 2s235ms 3s999ms 4s700ms 6s769ms 22 19 0ms 6s308ms 1s856ms 2s472ms 3s591ms 6s308ms 23 11 0ms 1s325ms 1s182ms 1s264ms 2s310ms 3s477ms Feb 17 00 13 0ms 24m31s 1m55s 2s78ms 3s919ms 24m37s 01 28 0ms 17s283ms 2s193ms 4s191ms 5s295ms 17s283ms 02 17 0ms 3s502ms 1s421ms 2s422ms 3s502ms 3s701ms 03 23 0ms 4s491ms 1s606ms 2s293ms 3s941ms 5s129ms 04 46 0ms 20s283ms 2s28ms 5s769ms 8s605ms 20s283ms 05 51 0ms 4s791ms 2s283ms 5s822ms 15s674ms 24s370ms 06 29 0ms 49s301ms 5s713ms 4s70ms 24s69ms 53s769ms 07 24 0ms 4s383ms 1s900ms 3s325ms 4s383ms 5s866ms 08 8 0ms 4s545ms 1s639ms 1s199ms 1s282ms 4s545ms 09 25 0ms 5s383ms 1s912ms 3s942ms 5s383ms 6s724ms 10 18 0ms 49s231ms 7s740ms 4s16ms 10s886ms 55s428ms 11 27 0ms 16s937ms 2s427ms 4s313ms 4s875ms 20s996ms 12 10 0ms 19s117ms 3s982ms 2s675ms 5s404ms 19s117ms 13 14 0ms 3s75ms 1s490ms 2s538ms 3s75ms 3s656ms 14 35 0ms 49s422ms 4s579ms 5s81ms 24s44ms 49s422ms 15 18 0ms 1s280ms 1s167ms 1s275ms 2s363ms 3s271ms 16 24 0ms 4s126ms 1s610ms 2s464ms 3s550ms 4s126ms 17 31 0ms 3s493ms 1s968ms 2s551ms 6s41ms 19s656ms 18 37 0ms 49s223ms 4s392ms 3s852ms 25s537ms 50s501ms 19 13 0ms 4s867ms 2s12ms 2s520ms 3s990ms 4s867ms 20 15 0ms 5s709ms 1s475ms 2s231ms 2s390ms 5s709ms 21 21 0ms 4s690ms 1s644ms 2s379ms 3s959ms 5s138ms 22 60 0ms 7s402ms 1s924ms 4s612ms 9s53ms 25s748ms 23 31 0ms 7s806ms 1s929ms 3s955ms 4s156ms 7s806ms Feb 18 00 57 0ms 24m36s 33s50ms 6s614ms 12s648ms 24m42s 01 18 0ms 15s7ms 2s787ms 3s886ms 4s318ms 15s7ms 02 33 0ms 4s994ms 1s807ms 3s915ms 4s620ms 6s489ms 03 60 0ms 4s261ms 1s447ms 4s292ms 6s249ms 7s402ms 04 15 0ms 2m48s 13s42ms 3s936ms 5s337ms 2m49s 05 46 0ms 4s778ms 2s356ms 4s520ms 15s607ms 24s325ms 06 28 0ms 2m48s 11s327ms 10s987ms 42s901ms 2m48s 07 45 0ms 43s609ms 3s122ms 5s434ms 8s161ms 43s609ms 08 36 0ms 43s641ms 4s606ms 9s636ms 15s448ms 43s641ms 09 33 0ms 6s443ms 1s760ms 4s89ms 5s24ms 6s443ms 10 34 0ms 5m8s 14s530ms 12s136ms 24s83ms 5m51s 11 35 0ms 10s621ms 3s321ms 3s983ms 7s345ms 49s939ms 12 21 0ms 4s105ms 1s462ms 2s437ms 3s279ms 5s565ms 13 16 0ms 5s350ms 2s609ms 3s929ms 4s68ms 10s680ms 14 29 0ms 49s288ms 5s680ms 4s731ms 12s617ms 55s603ms 15 43 0ms 7s568ms 1s862ms 3s594ms 5s310ms 15s985ms 16 24 0ms 4s137ms 1s515ms 2s345ms 3s932ms 6s941ms 17 17 0ms 4s917ms 2s20ms 2s386ms 4s47ms 4s917ms 18 21 0ms 49s464ms 7s161ms 10s956ms 44s288ms 56s881ms 19 21 0ms 4s70ms 1s433ms 2s402ms 3s318ms 4s70ms 20 13 0ms 5s927ms 2s541ms 2s254ms 4s28ms 9s869ms 21 23 0ms 6s824ms 2s153ms 3s305ms 4s55ms 7s846ms 22 55 0ms 4s820ms 1s378ms 4s256ms 5s937ms 20s577ms 23 31 0ms 1m45s 5s421ms 4s204ms 4s866ms 1m45s Feb 19 00 15 0ms 24m35s 1m40s 2s499ms 3s144ms 24m41s 01 18 0ms 5s198ms 2s475ms 4s79ms 4s808ms 5s236ms 02 30 0ms 7s745ms 2s680ms 5s134ms 13s459ms 15s72ms 03 26 0ms 5s250ms 2s338ms 5s923ms 6s805ms 18s452ms 04 18 0ms 17s438ms 2s671ms 2s861ms 4s837ms 17s438ms 05 95 0ms 6s414ms 2s428ms 14s189ms 25s858ms 44s73ms 06 39 0ms 50s160ms 4s610ms 4s580ms 24s151ms 50s160ms 07 39 0ms 2m14s 5s848ms 4s274ms 18s649ms 2m16s 08 38 0ms 16s146ms 3s84ms 6s160ms 7s520ms 16s146ms 09 68 0ms 4m53s 7s88ms 7s453ms 18s481ms 4m55s 10 95 0ms 3m17s 6s744ms 17s320ms 56s220ms 3m19s 11 70 0ms 11m29s 16s647ms 9s200ms 32s581ms 11m29s 12 109 0ms 6s327ms 2s92ms 9s471ms 11s161ms 12s131ms 13 98 0ms 5m19s 5s266ms 8s500ms 10s936ms 5m27s 14 120 0ms 49s701ms 3s139ms 16s550ms 29s50ms 55s779ms 15 95 0ms 4m43s 7s437ms 12s718ms 21s169ms 4m43s 16 87 0ms 3m50s 7s334ms 9s785ms 23s216ms 3m55s 17 110 0ms 21s531ms 2s263ms 7s687ms 11s90ms 26s92ms 18 104 0ms 3m30s 7s986ms 12s483ms 57s934ms 6m50s 19 99 0ms 6s504ms 1s989ms 5s830ms 9s297ms 23s793ms 20 117 0ms 36s123ms 2s412ms 9s730ms 17s21ms 1m3s 21 128 0ms 4m45s 6s803ms 12s403ms 27s581ms 4m50s 22 107 0ms 17s827ms 2s335ms 9s389ms 13s76ms 20s227ms 23 123 0ms 4m7s 4s348ms 11s135ms 13s611ms 4m8s Feb 20 00 134 0ms 24m40s 15s265ms 14s345ms 21s932ms 24m50s 01 107 0ms 35s928ms 2s492ms 8s985ms 12s810ms 47s674ms 02 86 0ms 4m43s 9s98ms 27s995ms 52s898ms 4m46s 03 74 0ms 23s383ms 2s933ms 9s44ms 22s176ms 29s563ms 04 50 0ms 4s91ms 1s629ms 4s30ms 5s901ms 12s531ms 05 98 0ms 9s800ms 2s555ms 15s527ms 23s931ms 1m29s 06 56 0ms 50s58ms 3s942ms 9s881ms 13s469ms 55s607ms 07 56 0ms 6s72ms 1s795ms 4s323ms 6s760ms 14s751ms 08 119 0ms 2m30s 4s652ms 29s139ms 35s994ms 2m36s 09 109 0ms 3m33s 5s255ms 14s847ms 52s125ms 3m33s 10 77 0ms 49s871ms 3s512ms 11s374ms 25s213ms 51s15ms 11 73 0ms 4m57s 6s786ms 9s320ms 18s887ms 4m57s 12 93 0ms 16s319ms 2s346ms 10s931ms 17s693ms 28s91ms 13 53 0ms 16s258ms 2s391ms 5s377ms 7s419ms 19s132ms 14 74 0ms 49s982ms 3s389ms 7s236ms 24s31ms 52s354ms 15 40 0ms 5m16s 16s42ms 4s76ms 13s651ms 5m16s 16 79 0ms 3m30s 5s479ms 21s199ms 25s209ms 3m33s 17 92 0ms 17s270ms 2s5ms 5s937ms 8s810ms 19s934ms 18 69 0ms 49s863ms 3s874ms 10s743ms 26s734ms 53s186ms 19 57 0ms 10s57ms 2s559ms 6s246ms 8s117ms 12s693ms 20 90 0ms 18m8s 26s 10s730ms 13s580ms 18m10s 21 82 0ms 17m49s 15s681ms 10s417ms 14s180ms 17m56s 22 69 0ms 17m46s 28s46ms 7s313ms 24s227ms 17m52s 23 55 0ms 17s764ms 2s524ms 7s561ms 9s166ms 27s324ms Feb 21 00 62 0ms 24m50s 27s357ms 8s901ms 17s569ms 25m6s 01 47 0ms 16s430ms 2s791ms 7s522ms 11s208ms 16s430ms 02 54 0ms 16s181ms 2s486ms 7s266ms 8s268ms 24s289ms 03 54 0ms 2m53s 5s472ms 7s507ms 10s699ms 2m53s 04 41 0ms 14s219ms 2s757ms 4s689ms 8s141ms 21s365ms 05 129 0ms 6s342ms 2s591ms 15s564ms 25s71ms 34s861ms 06 47 0ms 4m57s 11s67ms 15s804ms 41s527ms 4m59s 07 73 0ms 2m6s 3s930ms 7s377ms 17s862ms 2m8s 08 88 0ms 1m16s 5s562ms 30s145ms 54s938ms 1m16s 09 40 0ms 27s781ms 3s473ms 6s213ms 8s111ms 49s102ms 10 81 0ms 49s788ms 4s873ms 32s758ms 47s830ms 55s591ms 11 86 0ms 3m50s 5s247ms 10s802ms 16s232ms 3m52s 12 84 0ms 5m23s 5s934ms 7s847ms 11s40ms 5m28s 13 51 0ms 11m42s 35s843ms 13s634ms 4m37s 11m42s 14 61 0ms 50s380ms 4s447ms 9s860ms 35s276ms 50s380ms 15 62 0ms 6s161ms 1s779ms 6s28ms 6s699ms 8s155ms 16 52 0ms 5s798ms 1s527ms 3s970ms 5s108ms 7s671ms 17 55 0ms 4m57s 7s312ms 5s646ms 7s513ms 4m58s 18 80 0ms 3m11s 6s157ms 16s314ms 41s559ms 3m13s 19 80 0ms 19s612ms 2s3ms 6s439ms 7s964ms 20s898ms 20 68 0ms 3m12s 5s353ms 6s707ms 8s348ms 3m13s 21 67 0ms 27s242ms 2s618ms 5s601ms 20s994ms 27s242ms 22 78 0ms 5m18s 6s109ms 5s760ms 12s337ms 5m22s 23 58 0ms 4m14s 9s842ms 8s34ms 12s183ms 4m15s Feb 22 00 90 0ms 24m58s 18s761ms 7s617ms 10s309ms 25m6s 01 95 0ms 4m13s 7s288ms 11s785ms 34s613ms 4m15s 02 66 0ms 8s94ms 2s353ms 8s94ms 10s204ms 16s370ms 03 90 0ms 30s889ms 2s735ms 9s730ms 12s453ms 30s889ms 04 108 0ms 14s186ms 2s582ms 9s320ms 19s933ms 49s650ms 05 122 0ms 16s257ms 2s731ms 17s210ms 21s922ms 29s966ms 06 62 0ms 19s203ms 2s621ms 6s599ms 10s981ms 25s627ms 07 106 0ms 2m14s 3s398ms 8s585ms 13s336ms 2m17s 08 78 0ms 4m21s 5s845ms 9s36ms 22s317ms 4m22s 09 76 0ms 6s166ms 1s701ms 5s755ms 7s176ms 8s169ms 10 77 0ms 6s266ms 1s910ms 7s106ms 9s536ms 13s86ms 11 110 0ms 21s864ms 2s425ms 10s28ms 16s713ms 30s789ms 12 93 0ms 21s910ms 2s685ms 7s209ms 17s267ms 40s536ms 13 101 0ms 6s314ms 2s161ms 8s467ms 11s286ms 16s792ms 14 75 0ms 4m43s 5s856ms 7s700ms 10s530ms 4m43s 15 68 0ms 18s465ms 2s197ms 5s486ms 7s359ms 26s82ms 16 81 0ms 4m9s 7s281ms 11s11ms 14s113ms 4m10s 17 56 0ms 15s899ms 2s550ms 6s603ms 8s601ms 15s899ms 18 108 0ms 5m28s 8s144ms 52s47ms 1m9s 5m31s 19 138 0ms 24m18s 41s281ms 2m2s 12m44s 24m22s 20 99 0ms 1m16s 3s484ms 12s562ms 16s132ms 1m17s 21 91 0ms 3m27s 4s582ms 9s996ms 16s352ms 3m29s 22 92 0ms 21s484ms 2s502ms 8s102ms 10s565ms 29s854ms 23 130 0ms 14s24ms 2s322ms 11s189ms 14s427ms 22s545ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 16 00 9 0 2m45s 0ms 1s240ms 6s677ms 01 44 0 1s440ms 2s519ms 3s780ms 5s938ms 02 37 0 2s261ms 1s333ms 3s144ms 11s951ms 03 34 0 2s244ms 1s223ms 2s486ms 16s592ms 04 30 0 16m31s 1s497ms 3s726ms 8s816ms 05 48 0 2s304ms 3s998ms 15s442ms 23s546ms 06 8 10 7s729ms 1s211ms 4s66ms 50s87ms 07 12 0 1s238ms 0ms 1s256ms 2s394ms 08 13 0 1s846ms 1s200ms 2s396ms 5s388ms 09 18 0 2s337ms 1s200ms 3s940ms 6s773ms 10 17 10 5s634ms 1s325ms 6s113ms 55s701ms 11 21 0 1s984ms 1s290ms 2s219ms 10s484ms 12 20 0 4s673ms 1s313ms 2s507ms 1m4s 13 16 0 17s147ms 1s222ms 3s601ms 4m6s 14 13 10 6s174ms 1s328ms 2s494ms 49s241ms 15 12 0 1s498ms 1s141ms 1s299ms 4s24ms 16 29 0 1s304ms 1s368ms 3s416ms 5s835ms 17 20 0 1s678ms 1s297ms 2s388ms 4s986ms 18 15 10 5s767ms 1s497ms 2s458ms 49s277ms 19 34 0 1s400ms 2s391ms 3s277ms 4s169ms 20 44 0 2s394ms 2s604ms 6s950ms 20s 21 16 0 2s235ms 1s244ms 3s999ms 6s769ms 22 19 0 1s856ms 1s296ms 2s472ms 6s308ms 23 11 0 1s182ms 0ms 1s264ms 3s477ms Feb 17 00 12 0 2m4s 1s120ms 2s78ms 24m31s 01 28 0 2s193ms 1s284ms 4s191ms 17s283ms 02 17 0 1s421ms 1s223ms 2s422ms 3s701ms 03 23 0 1s606ms 1s275ms 2s293ms 4s491ms 04 46 0 2s28ms 3s530ms 5s769ms 20s283ms 05 47 0 2s286ms 3s381ms 5s19ms 24s370ms 06 18 10 5s797ms 1s586ms 4s70ms 41s628ms 07 24 0 1s900ms 1s240ms 3s325ms 5s106ms 08 8 0 1s639ms 0ms 1s199ms 4s545ms 09 25 0 1s912ms 2s245ms 3s942ms 6s724ms 10 8 10 7s740ms 1s123ms 4s16ms 55s428ms 11 27 0 2s427ms 2s347ms 4s313ms 20s996ms 12 10 0 3s982ms 1s116ms 2s675ms 19s117ms 13 14 0 1s490ms 1s197ms 2s538ms 3s656ms 14 25 10 4s579ms 2s359ms 5s81ms 49s422ms 15 18 0 1s167ms 1s120ms 1s275ms 2s544ms 16 24 0 1s610ms 1s284ms 2s464ms 3s852ms 17 31 0 1s968ms 2s179ms 2s551ms 8s351ms 18 33 4 4s392ms 2s178ms 3s852ms 49s223ms 19 13 0 2s12ms 1s158ms 2s520ms 4s867ms 20 15 0 1s475ms 1s92ms 2s231ms 5s709ms 21 21 0 1s644ms 1s186ms 2s379ms 5s138ms 22 60 0 1s924ms 2s430ms 4s612ms 25s748ms 23 31 0 1s929ms 2s388ms 3s955ms 7s806ms Feb 18 00 56 0 33s527ms 4s44ms 6s614ms 24m36s 01 18 0 2s787ms 1s174ms 3s886ms 4s853ms 02 33 0 1s807ms 2s581ms 3s915ms 4s994ms 03 60 0 1s447ms 2s883ms 4s292ms 7s402ms 04 15 0 13s42ms 1s127ms 3s936ms 2m49s 05 42 0 2s367ms 1s317ms 4s66ms 24s325ms 06 18 10 11s327ms 1s495ms 10s987ms 2m48s 07 45 0 3s122ms 4s711ms 5s434ms 43s609ms 08 36 0 4s606ms 3s963ms 9s636ms 43s641ms 09 33 0 1s760ms 2s438ms 4s89ms 6s443ms 10 24 10 14s530ms 3s537ms 17s613ms 5m9s 11 33 0 3s321ms 2s445ms 3s957ms 13s146ms 12 21 0 1s462ms 1s187ms 2s437ms 5s565ms 13 16 0 2s609ms 1s208ms 3s929ms 10s680ms 14 19 10 5s680ms 2s654ms 4s731ms 49s288ms 15 43 0 1s862ms 2s447ms 3s594ms 9s926ms 16 24 0 1s515ms 1s194ms 2s345ms 6s941ms 17 17 0 2s20ms 1s305ms 2s386ms 4s917ms 18 11 10 7s161ms 2s642ms 10s956ms 49s464ms 19 21 0 1s433ms 1s186ms 2s402ms 4s70ms 20 13 0 2s541ms 1s183ms 2s254ms 9s869ms 21 22 0 2s95ms 2s48ms 3s273ms 7s846ms 22 55 0 1s378ms 2s449ms 4s256ms 20s577ms 23 31 0 5s421ms 3s500ms 4s204ms 5s140ms Feb 19 00 14 0 1m46s 1s163ms 2s499ms 24m35s 01 18 0 2s475ms 1s353ms 4s79ms 5s236ms 02 30 0 2s680ms 1s765ms 5s134ms 15s72ms 03 26 0 2s338ms 0ms 5s923ms 18s452ms 04 17 0 2s630ms 1s462ms 2s274ms 17s438ms 05 91 0 2s436ms 5s769ms 13s963ms 29s986ms 06 29 10 4s610ms 2s984ms 4s580ms 41s667ms 07 39 0 5s848ms 2s609ms 4s274ms 21s374ms 08 38 0 3s84ms 3s368ms 6s160ms 11s833ms 09 65 0 7s280ms 5s242ms 7s280ms 24s947ms 10 84 8 6s887ms 7s804ms 17s320ms 2m15s 11 69 0 16s857ms 5s577ms 9s200ms 5m 12 108 0 2s85ms 6s543ms 9s317ms 11s161ms 13 97 0 5s300ms 5s676ms 8s500ms 14s685ms 14 110 10 3s139ms 7s396ms 11s607ms 41s537ms 15 94 0 7s490ms 6s825ms 12s718ms 3m4s 16 83 0 7s576ms 5s863ms 9s785ms 3m38s 17 108 0 2s243ms 6s475ms 7s687ms 20s58ms 18 92 10 8s85ms 9s776ms 11s164ms 1m12s 19 99 0 1s989ms 5s374ms 5s830ms 9s676ms 20 115 0 2s406ms 6s284ms 9s730ms 18s549ms 21 128 0 6s803ms 8s915ms 12s403ms 4m50s 22 105 0 2s338ms 6s881ms 9s389ms 16s124ms 23 123 0 4s348ms 8s498ms 11s135ms 18s962ms Feb 20 00 132 0 15s434ms 10s35ms 12s609ms 4m10s 01 106 0 2s499ms 7s441ms 8s985ms 16s934ms 02 85 0 9s170ms 5s429ms 27s995ms 3m4s 03 74 0 2s933ms 5s934ms 9s44ms 22s297ms 04 50 0 1s629ms 2s978ms 4s30ms 12s531ms 05 94 0 2s568ms 8s810ms 15s527ms 1m29s 06 46 10 3s942ms 3s898ms 9s881ms 50s58ms 07 56 0 1s795ms 3s527ms 4s323ms 8s437ms 08 118 0 4s663ms 8s780ms 29s139ms 45s420ms 09 108 0 5s281ms 7s842ms 14s847ms 56s497ms 10 67 10 3s512ms 5s622ms 11s224ms 41s627ms 11 71 0 6s894ms 6s110ms 7s671ms 21s387ms 12 91 0 2s349ms 7s917ms 10s931ms 23s658ms 13 53 0 2s391ms 4s309ms 5s377ms 7s507ms 14 61 10 3s431ms 4s560ms 7s236ms 41s559ms 15 40 0 16s42ms 2s610ms 4s76ms 4m10s 16 78 0 5s526ms 6s14ms 21s199ms 29s203ms 17 92 0 2s5ms 4s374ms 5s937ms 12s649ms 18 59 10 3s874ms 5s876ms 10s743ms 41s598ms 19 56 0 2s560ms 4s866ms 6s246ms 11s840ms 20 90 0 26s 5s958ms 10s730ms 17m47s 21 80 0 16s16ms 8s664ms 10s417ms 27s127ms 22 69 0 28s46ms 5s408ms 7s313ms 11m39s 23 54 0 2s517ms 4s25ms 7s527ms 27s324ms Feb 21 00 60 0 28s136ms 7s146ms 8s464ms 21s294ms 01 47 0 2s791ms 4s818ms 7s522ms 16s430ms 02 54 0 2s486ms 5s255ms 7s266ms 12s704ms 03 53 0 5s526ms 4s486ms 7s507ms 2m53s 04 41 0 2s757ms 3s443ms 4s689ms 11s847ms 05 125 0 2s601ms 8s631ms 15s564ms 27s218ms 06 37 10 11s67ms 3s399ms 11s155ms 49s993ms 07 73 0 3s930ms 4s938ms 7s377ms 18s464ms 08 84 0 5s718ms 20s661ms 30s145ms 1m10s 09 39 0 3s513ms 2s190ms 6s213ms 49s102ms 10 71 10 4s873ms 9s340ms 32s758ms 55s591ms 11 83 0 5s339ms 8s915ms 10s802ms 3m52s 12 81 0 6s74ms 4s993ms 7s847ms 23s439ms 13 50 0 36s490ms 5s257ms 13s634ms 11m34s 14 51 9 4s474ms 5s862ms 9s860ms 42s74ms 15 61 0 1s767ms 3s898ms 5s271ms 6s699ms 16 52 0 1s527ms 2s696ms 3s970ms 7s108ms 17 55 0 7s312ms 3s928ms 5s646ms 7s872ms 18 70 10 6s157ms 6s389ms 11s580ms 49s795ms 19 79 0 2s1ms 4s798ms 6s439ms 8s303ms 20 68 0 5s353ms 4s855ms 6s707ms 24s566ms 21 66 0 2s614ms 4s510ms 5s601ms 22s128ms 22 77 0 6s157ms 4s208ms 5s760ms 27s909ms 23 58 0 9s842ms 3s908ms 8s34ms 3m21s Feb 22 00 88 0 19s85ms 5s628ms 7s617ms 32s103ms 01 94 0 7s330ms 5s966ms 11s785ms 3m30s 02 66 0 2s353ms 5s514ms 8s94ms 16s370ms 03 89 0 2s728ms 6s227ms 9s730ms 18s69ms 04 107 0 2s582ms 6s732ms 9s320ms 21s9ms 05 118 0 2s747ms 8s638ms 17s210ms 25s74ms 06 61 0 2s623ms 4s184ms 6s599ms 21s358ms 07 106 0 3s398ms 6s183ms 8s585ms 24s804ms 08 77 0 5s896ms 6s212ms 9s36ms 25s891ms 09 76 0 1s701ms 3s768ms 5s755ms 7s325ms 10 76 0 1s902ms 3s995ms 6s401ms 10s627ms 11 107 0 2s413ms 7s302ms 10s28ms 24s975ms 12 92 0 2s684ms 5s796ms 7s209ms 26s165ms 13 100 0 2s164ms 6s302ms 8s467ms 14s37ms 14 75 0 5s856ms 5s637ms 7s700ms 26s119ms 15 68 0 2s197ms 4s534ms 5s486ms 7s708ms 16 79 0 7s416ms 5s831ms 11s11ms 4m10s 17 56 0 2s550ms 4s677ms 6s603ms 15s899ms 18 82 26 8s144ms 8s59ms 41s516ms 1m10s 19 87 50 41s565ms 1m27s 4m10s 24m10s 20 99 0 3s484ms 8s410ms 12s562ms 29s219ms 21 91 0 4s582ms 7s74ms 9s996ms 18s889ms 22 92 0 2s502ms 6s538ms 8s102ms 26s70ms 23 129 0 2s319ms 6s912ms 11s189ms 14s455ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 16 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 Feb 17 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Feb 18 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Feb 19 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Feb 20 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Feb 21 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Feb 22 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Feb 16 00 0 8 8.00 0.00% 01 0 44 44.00 0.00% 02 0 37 37.00 0.00% 03 0 34 34.00 0.00% 04 0 30 30.00 0.00% 05 0 52 52.00 0.00% 06 0 8 8.00 0.00% 07 0 16 16.00 0.00% 08 0 14 14.00 0.00% 09 0 26 26.00 0.00% 10 0 24 24.00 0.00% 11 0 21 21.00 0.00% 12 0 21 21.00 0.00% 13 0 18 18.00 0.00% 14 0 13 13.00 0.00% 15 0 12 12.00 0.00% 16 0 29 29.00 0.00% 17 0 22 22.00 0.00% 18 0 16 16.00 0.00% 19 0 34 34.00 0.00% 20 0 44 44.00 0.00% 21 0 16 16.00 0.00% 22 0 19 19.00 0.00% 23 0 11 11.00 0.00% Feb 17 00 0 11 11.00 0.00% 01 0 28 28.00 0.00% 02 0 17 17.00 0.00% 03 0 23 23.00 0.00% 04 0 46 46.00 0.00% 05 0 50 50.00 0.00% 06 0 21 21.00 0.00% 07 0 40 40.00 0.00% 08 0 10 10.00 0.00% 09 0 26 26.00 0.00% 10 0 9 9.00 0.00% 11 0 28 28.00 0.00% 12 0 9 9.00 0.00% 13 0 13 13.00 0.00% 14 0 26 26.00 0.00% 15 0 20 20.00 0.00% 16 0 26 26.00 0.00% 17 0 32 32.00 0.00% 18 0 41 41.00 0.00% 19 0 13 13.00 0.00% 20 0 15 15.00 0.00% 21 0 21 21.00 0.00% 22 0 60 60.00 0.00% 23 0 31 31.00 0.00% Feb 18 00 0 55 55.00 0.00% 01 0 18 18.00 0.00% 02 0 33 33.00 0.00% 03 0 60 60.00 0.00% 04 0 15 15.00 0.00% 05 0 46 46.00 0.00% 06 0 32 32.00 0.00% 07 0 46 46.00 0.00% 08 0 36 36.00 0.00% 09 0 33 33.00 0.00% 10 0 24 24.00 0.00% 11 0 35 35.00 0.00% 12 0 21 21.00 0.00% 13 0 16 16.00 0.00% 14 0 18 18.00 0.00% 15 0 45 45.00 0.00% 16 0 24 24.00 0.00% 17 0 17 17.00 0.00% 18 0 11 11.00 0.00% 19 0 21 21.00 0.00% 20 0 13 13.00 0.00% 21 0 23 23.00 0.00% 22 0 55 55.00 0.00% 23 0 31 31.00 0.00% Feb 19 00 0 13 13.00 0.00% 01 0 18 18.00 0.00% 02 0 30 30.00 0.00% 03 0 26 26.00 0.00% 04 0 18 18.00 0.00% 05 0 95 95.00 0.00% 06 0 36 36.00 0.00% 07 0 51 51.00 0.00% 08 0 38 38.00 0.00% 09 0 72 72.00 0.00% 10 0 88 88.00 0.00% 11 0 80 80.00 0.00% 12 0 111 111.00 0.00% 13 0 98 98.00 0.00% 14 0 110 110.00 0.00% 15 0 95 95.00 0.00% 16 0 108 108.00 0.00% 17 0 115 115.00 0.00% 18 0 94 94.00 0.00% 19 0 99 99.00 0.00% 20 0 117 117.00 0.00% 21 0 128 128.00 0.00% 22 0 107 107.00 0.00% 23 0 123 123.00 0.00% Feb 20 00 0 134 134.00 0.00% 01 0 107 107.00 0.00% 02 0 86 86.00 0.00% 03 0 74 74.00 0.00% 04 0 50 50.00 0.00% 05 0 98 98.00 0.00% 06 0 70 70.00 0.00% 07 0 60 60.00 0.00% 08 0 119 119.00 0.00% 09 0 109 109.00 0.00% 10 0 74 74.00 0.00% 11 0 73 73.00 0.00% 12 0 97 97.00 0.00% 13 0 56 56.00 0.00% 14 0 70 70.00 0.00% 15 0 49 49.00 0.00% 16 0 88 88.00 0.00% 17 0 92 92.00 0.00% 18 0 59 59.00 0.00% 19 0 57 57.00 0.00% 20 0 90 90.00 0.00% 21 0 83 83.00 0.00% 22 0 69 69.00 0.00% 23 0 55 55.00 0.00% Feb 21 00 0 62 62.00 0.00% 01 0 47 47.00 0.00% 02 0 54 54.00 0.00% 03 0 54 54.00 0.00% 04 0 41 41.00 0.00% 05 0 129 129.00 0.00% 06 0 47 47.00 0.00% 07 0 81 81.00 0.00% 08 0 93 93.00 0.00% 09 0 49 49.00 0.00% 10 0 71 71.00 0.00% 11 0 86 86.00 0.00% 12 0 85 85.00 0.00% 13 0 56 56.00 0.00% 14 0 67 67.00 0.00% 15 0 68 68.00 0.00% 16 0 64 64.00 0.00% 17 0 55 55.00 0.00% 18 0 70 70.00 0.00% 19 0 80 80.00 0.00% 20 0 68 68.00 0.00% 21 0 67 67.00 0.00% 22 0 78 78.00 0.00% 23 0 58 58.00 0.00% Feb 22 00 0 90 90.00 0.00% 01 0 95 95.00 0.00% 02 0 66 66.00 0.00% 03 0 90 90.00 0.00% 04 0 108 108.00 0.00% 05 0 122 122.00 0.00% 06 0 62 62.00 0.00% 07 0 106 106.00 0.00% 08 0 78 78.00 0.00% 09 0 76 76.00 0.00% 10 0 77 77.00 0.00% 11 0 110 110.00 0.00% 12 0 93 93.00 0.00% 13 0 101 101.00 0.00% 14 0 75 75.00 0.00% 15 0 68 68.00 0.00% 16 0 81 81.00 0.00% 17 0 56 56.00 0.00% 18 0 82 82.00 0.00% 19 0 88 88.00 0.00% 20 0 99 99.00 0.00% 21 0 91 91.00 0.00% 22 0 92 92.00 0.00% 23 0 130 130.00 0.00% Day Hour Count Average / Second Feb 16 00 83 0.02/s 01 84 0.02/s 02 88 0.02/s 03 82 0.02/s 04 84 0.02/s 05 94 0.03/s 06 78 0.02/s 07 79 0.02/s 08 77 0.02/s 09 82 0.02/s 10 79 0.02/s 11 80 0.02/s 12 79 0.02/s 13 78 0.02/s 14 79 0.02/s 15 79 0.02/s 16 76 0.02/s 17 77 0.02/s 18 78 0.02/s 19 79 0.02/s 20 82 0.02/s 21 77 0.02/s 22 79 0.02/s 23 79 0.02/s Feb 17 00 77 0.02/s 01 83 0.02/s 02 82 0.02/s 03 79 0.02/s 04 93 0.03/s 05 101 0.03/s 06 80 0.02/s 07 97 0.03/s 08 113 0.03/s 09 78 0.02/s 10 87 0.02/s 11 90 0.03/s 12 78 0.02/s 13 76 0.02/s 14 84 0.02/s 15 75 0.02/s 16 77 0.02/s 17 150 0.04/s 18 88 0.02/s 19 78 0.02/s 20 78 0.02/s 21 69 0.02/s 22 83 0.02/s 23 83 0.02/s Feb 18 00 80 0.02/s 01 98 0.03/s 02 86 0.02/s 03 99 0.03/s 04 87 0.02/s 05 92 0.03/s 06 87 0.02/s 07 84 0.02/s 08 86 0.02/s 09 83 0.02/s 10 81 0.02/s 11 82 0.02/s 12 78 0.02/s 13 78 0.02/s 14 81 0.02/s 15 85 0.02/s 16 76 0.02/s 17 76 0.02/s 18 80 0.02/s 19 77 0.02/s 20 80 0.02/s 21 80 0.02/s 22 102 0.03/s 23 105 0.03/s Feb 19 00 100 0.03/s 01 79 0.02/s 02 77 0.02/s 03 80 0.02/s 04 79 0.02/s 05 99 0.03/s 06 86 0.02/s 07 82 0.02/s 08 82 0.02/s 09 86 0.02/s 10 102 0.03/s 11 93 0.03/s 12 80 0.02/s 13 94 0.03/s 14 90 0.03/s 15 100 0.03/s 16 88 0.02/s 17 90 0.03/s 18 90 0.03/s 19 86 0.02/s 20 88 0.02/s 21 90 0.03/s 22 103 0.03/s 23 89 0.02/s Feb 20 00 107 0.03/s 01 89 0.02/s 02 95 0.03/s 03 120 0.03/s 04 81 0.02/s 05 106 0.03/s 06 82 0.02/s 07 85 0.02/s 08 116 0.03/s 09 187 0.05/s 10 88 0.02/s 11 96 0.03/s 12 96 0.03/s 13 78 0.02/s 14 81 0.02/s 15 91 0.03/s 16 87 0.02/s 17 92 0.03/s 18 90 0.03/s 19 82 0.02/s 20 89 0.02/s 21 93 0.03/s 22 87 0.02/s 23 82 0.02/s Feb 21 00 85 0.02/s 01 94 0.03/s 02 139 0.04/s 03 91 0.03/s 04 85 0.02/s 05 114 0.03/s 06 83 0.02/s 07 116 0.03/s 08 227 0.06/s 09 100 0.03/s 10 85 0.02/s 11 90 0.03/s 12 90 0.03/s 13 90 0.03/s 14 97 0.03/s 15 91 0.03/s 16 90 0.03/s 17 81 0.02/s 18 84 0.02/s 19 81 0.02/s 20 88 0.02/s 21 82 0.02/s 22 91 0.03/s 23 84 0.02/s Feb 22 00 87 0.02/s 01 102 0.03/s 02 90 0.03/s 03 119 0.03/s 04 103 0.03/s 05 104 0.03/s 06 98 0.03/s 07 92 0.03/s 08 106 0.03/s 09 89 0.02/s 10 87 0.02/s 11 98 0.03/s 12 98 0.03/s 13 91 0.03/s 14 83 0.02/s 15 87 0.02/s 16 90 0.03/s 17 86 0.02/s 18 90 0.03/s 19 96 0.03/s 20 86 0.02/s 21 97 0.03/s 22 85 0.02/s 23 84 0.02/s Day Hour Count Average Duration Average idle time Feb 16 00 83 30m15s 29m57s 01 84 28m31s 28m30s 02 88 28m35s 28m34s 03 82 29m35s 29m34s 04 85 33m49s 27m59s 05 94 23m30s 23m28s 06 78 30m29s 30m28s 07 79 31m10s 31m10s 08 77 30m46s 30m46s 09 82 30m45s 30m44s 10 79 30m57s 30m55s 11 80 30m33s 30m32s 12 79 30m3s 30m2s 13 78 31m9s 31m5s 14 79 30m44s 30m42s 15 79 30m33s 30m33s 16 76 31m6s 31m6s 17 77 31m48s 31m48s 18 78 30m25s 30m23s 19 79 30m13s 30m13s 20 82 28m55s 28m53s 21 77 29m10s 29m10s 22 79 31m14s 31m14s 23 79 30m9s 30m9s Feb 17 00 77 31m24s 31m4s 01 83 29m18s 29m17s 02 82 29m54s 29m54s 03 79 29m41s 29m41s 04 93 24m27s 24m26s 05 101 23m52s 23m51s 06 80 29m52s 29m50s 07 97 24m53s 24m52s 08 113 21m42s 21m42s 09 78 30m35s 30m34s 10 85 28m30s 28m28s 11 85 28m59s 28m58s 12 77 31m28s 31m28s 13 75 32m14s 32m14s 14 84 29m18s 29m16s 15 75 31m34s 31m34s 16 77 32m5s 32m5s 17 150 16m3s 16m2s 18 90 37m35s 37m33s 19 84 1h2m 1h1m59s 20 79 37m18s 37m18s 21 69 31m28s 31m28s 22 83 28m13s 28m11s 23 83 28m45s 28m45s Feb 18 00 80 29m52s 29m29s 01 98 25m54s 25m54s 02 86 28m51s 28m50s 03 99 22m9s 22m8s 04 87 27m46s 27m44s 05 92 26m19s 26m18s 06 87 27m13s 27m10s 07 84 28m51s 28m49s 08 86 28m18s 28m16s 09 82 30m24s 30m23s 10 80 29m30s 29m24s 11 82 29m43s 29m42s 12 78 31m30s 31m30s 13 78 31m1s 31m1s 14 79 30m42s 30m40s 15 85 28m41s 28m40s 16 76 31m20s 31m20s 17 76 31m24s 31m24s 18 82 38m52s 38m50s 19 79 41m12s 41m11s 20 80 30m4s 30m3s 21 80 28m17s 28m16s 22 102 23m33s 23m32s 23 105 23m 22m59s Feb 19 00 100 25m13s 24m58s 01 79 29m33s 29m33s 02 77 28m49s 28m48s 03 80 28m14s 28m13s 04 79 31m51s 31m50s 05 99 24m12s 24m10s 06 86 28m1s 27m59s 07 82 28m40s 28m37s 08 82 30m19s 30m17s 09 86 28m21s 28m15s 10 100 24m52s 24m46s 11 93 26m14s 26m2s 12 80 29m41s 29m38s 13 94 25m30s 25m24s 14 90 27m3s 26m59s 15 98 24m56s 24m49s 16 88 27m29s 27m21s 17 90 26m56s 26m53s 18 90 26m31s 26m22s 19 88 35m26s 35m24s 20 90 37m11s 37m8s 21 90 25m51s 25m42s 22 103 23m24s 23m21s 23 89 26m43s 26m37s Feb 20 00 107 22m27s 22m8s 01 89 24m56s 24m53s 02 94 26m34s 26m25s 03 121 20m17s 20m15s 04 81 29m17s 29m16s 05 106 21m58s 21m55s 06 82 28m41s 28m39s 07 85 29m 28m59s 08 116 21m34s 21m29s 09 187 13m13s 13m10s 10 87 28m2s 27m59s 11 96 25m52s 25m46s 12 96 23m31s 23m29s 13 78 30m43s 30m41s 14 81 28m56s 28m53s 15 91 27m8s 27m1s 16 87 28m9s 28m4s 17 92 25m46s 25m44s 18 90 27m37s 27m34s 19 82 29m25s 29m23s 20 88 28m19s 27m52s 21 94 33m 32m46s 22 88 26m38s 26m16s 23 82 29m51s 29m50s Feb 21 00 85 27m35s 27m15s 01 94 22m28s 22m27s 02 139 17m13s 17m12s 03 91 26m38s 26m35s 04 85 27m57s 27m55s 05 114 21m56s 21m53s 06 83 28m47s 28m41s 07 116 21m23s 21m21s 08 227 11m20s 11m18s 09 100 24m4s 24m3s 10 84 27m13s 27m8s 11 90 28m27s 28m22s 12 90 27m3s 26m58s 13 90 26m59s 26m39s 14 97 24m55s 24m52s 15 91 26m29s 26m27s 16 90 27m6s 27m5s 17 81 30m5s 30m 18 85 34m8s 34m2s 19 81 29m36s 29m34s 20 88 28m5s 28m1s 21 82 27m22s 27m19s 22 91 27m23s 27m18s 23 84 27m26s 27m19s Feb 22 00 87 24m34s 24m15s 01 102 24m3s 23m56s 02 90 26m57s 26m55s 03 119 20m8s 20m6s 04 103 23m23s 23m20s 05 104 23m12s 23m8s 06 98 24m25s 24m24s 07 92 26m43s 26m39s 08 106 22m59s 22m55s 09 89 26m35s 26m34s 10 87 29m 28m59s 11 98 25m47s 25m45s 12 98 23m 22m58s 13 91 26m28s 26m26s 14 83 29m17s 29m12s 15 87 27m53s 27m52s 16 90 27m58s 27m52s 17 86 28m51s 28m49s 18 89 27m28s 27m18s 19 97 25m53s 24m54s 20 86 26m34s 26m30s 21 97 23m23s 23m19s 22 85 26m57s 26m54s 23 84 25m 24m56s -
Connections
Established Connections
Key values
- 37 connections Connection Peak
- 2025-02-17 08:42:38 Date
Connections per database
Key values
- ctdprd51 Main Database
- 15,093 connections Total
Connections per user
Key values
- pubeu Main User
- 15,093 connections Total
-
Sessions
Simultaneous sessions
Key values
- 319 sessions Session Peak
- 2025-02-16 01:12:20 Date
Histogram of session times
Key values
- 12,065 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 15,094 sessions Total
Sessions per user
Key values
- pubeu Main User
- 15,094 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 15,094 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 4,496 56d20h20m30s 18m12s 10.12.5.38 2,633 55d23h25m19s 30m36s 10.12.5.39 2,590 56d21m55s 31m8s 10.12.5.45 2,675 55d23h50m38s 30m8s 10.12.5.46 2,626 55d20h59m3s 30m38s 192.168.201.10 4 1d6h39m53s 7h39m58s 192.168.201.14 16 4d8h41m19s 6h32m34s 192.168.201.6 3 9h9m47s 3h3m15s ::1 51 2h23m27s 2m48s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 215,024 buffers Checkpoint Peak
- 2025-02-19 14:24:42 Date
- 1619.997 seconds Highest write time
- 0.121 seconds Sync time
Checkpoints Wal files
Key values
- 44 files Wal files usage Peak
- 2025-02-19 13:54:42 Date
Checkpoints distance
Key values
- 1,220.22 Mo Distance Peak
- 2025-02-19 05:24:41 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Feb 16 00 3,732 373.798s 0.004s 373.986s 01 523 52.376s 0.001s 52.393s 02 10,676 1,069.222s 0.004s 1,069.369s 03 199,939 3,301.282s 0.006s 3,301.769s 04 4,934 494.002s 0.002s 494.092s 05 5,065 507.268s 0.003s 507.313s 06 3,598 360.331s 0.003s 360.41s 07 845 84.734s 0.002s 84.75s 08 58,797 1,982.937s 0.004s 1,983.51s 09 1,825 182.985s 0.003s 183.064s 10 1,539 154.22s 0.003s 154.251s 11 1,527 153.017s 0.027s 153.072s 12 4,234 423.927s 0.001s 424.047s 13 7,461 747.076s 0.005s 747.12s 14 1,527 153.007s 0.003s 153.039s 15 1,654 165.718s 0.004s 165.796s 16 1,482 148.517s 0.002s 148.545s 17 1,545 154.705s 0.003s 154.736s 18 1,283 128.667s 0.002s 128.747s 19 1,105 110.656s 0.002s 110.672s 20 3,630 363.627s 0.004s 363.685s 21 1,262 126.479s 0.003s 126.51s 22 1,524 152.7s 0.004s 152.778s 23 1,186 118.857s 0.003s 118.888s Feb 17 00 1,722 172.559s 0.003s 172.685s 01 261 26.243s 0.001s 26.258s 02 5,848 585.694s 0.004s 585.796s 03 2,677 268.278s 0.004s 268.374s 04 1,133 113.662s 0.004s 113.693s 05 1,290 129.282s 0.003s 129.312s 06 2,508 251.159s 0.004s 251.238s 07 1,713 171.647s 0.003s 171.725s 08 1,031 103.342s 0.002s 103.372s 09 932 93.431s 0.004s 93.508s 10 1,844 184.753s 0.004s 184.786s 11 5,644 565.121s 0.004s 565.189s 12 934 93.642s 0.003s 93.719s 13 1,513 151.635s 0.004s 151.666s 14 1,121 112.473s 0.004s 112.553s 15 1,966 196.877s 0.003s 196.908s 16 2,297 230.05s 0.004s 230.126s 17 722 72.303s 0.002s 72.366s 18 69,962 1,657.712s 0.004s 1,658.232s 19 1,950 195.379s 0.004s 195.407s 20 6,743 675.058s 0.004s 675.203s 21 8,857 886.705s 0.006s 886.875s 22 1,941 194.39s 0.003s 194.421s 23 1,724 172.537s 0.004s 172.619s Feb 18 00 2,429 243.286s 0.003s 243.438s 01 37,801 1,648.478s 0.003s 1,648.835s 02 1,967 197.006s 0.002s 197.082s 03 1,753 175.568s 0.005s 175.645s 04 1,258 125.981s 0.003s 126.013s 05 1,502 150.434s 0.004s 150.511s 06 911 91.027s 0.002s 91.042s 07 4,271 427.685s 0.006s 427.825s 08 6,515 652.318s 0.003s 652.466s 09 920 92.122s 0.002s 92.137s 10 50,146 1,721.444s 0.004s 1,721.919s 11 313 31.435s 0.036s 31.566s 12 10,630 1,064.442s 0.004s 1,064.595s 13 554 55.654s 0.003s 55.684s 14 649 65.193s 0.002s 65.224s 15 315 31.633s 0.002s 31.649s 16 4,328 433.429s 0.004s 433.543s 17 308 31.01s 0.002s 31.04s 18 291 29.31s 0.003s 29.339s 19 400 40.245s 0.002s 40.274s 20 363 36.526s 0.002s 36.555s 21 1,758 176.378s 0.003s 176.457s 22 935 93.74s 0.003s 93.771s 23 117 11.822s 0.001s 11.837s Feb 19 00 8,251 826.644s 0.004s 826.824s 01 50,630 1,641.538s 0.003s 1,642.022s 02 303 30.441s 0.002s 30.47s 03 3,176 317.979s 0.002s 318.053s 04 6,163 617.038s 0.001s 617.138s 05 89,306 1,689.659s 0.003s 1,690.194s 06 542 54.4s 0.001s 54.416s 07 2,916 292.264s 0.003s 292.413s 08 185 18.709s 0.002s 18.74s 09 392 39.476s 0.002s 39.507s 10 386 38.688s 0.001s 38.703s 11 51,033 1,669.216s 0.004s 1,669.735s 12 886 88.846s 0.002s 88.875s 13 55,871 1,619.139s 0.002s 1,619.715s 14 217,621 1,879.549s 0.004s 1,879.644s 15 311 31.354s 0.004s 31.386s 16 692 69.429s 0.003s 69.506s 17 440 44.248s 0.002s 44.278s 18 505 50.683s 0.002s 50.713s 19 2,656 266.131s 0.003s 266.175s 20 245 24.544s 0.001s 24.559s 21 1,590 159.442s 0.002s 159.472s 22 2,722 272.725s 0.003s 272.863s 23 251 25.24s 0.002s 25.256s Feb 20 00 7,412 742.509s 0.005s 742.711s 01 1,289 129.186s 0.004s 129.267s 02 583 58.613s 0.002s 58.642s 03 844 84.55s 0.002s 84.582s 04 667 67.016s 0.003s 67.046s 05 1,391 139.481s 0.003s 139.564s 06 5,548 555.681s 0.004s 555.777s 07 328 32.953s 0.001s 33.019s 08 8,857 887.375s 0.003s 887.525s 09 4,651 465.785s 0.003s 465.815s 10 6,437 644.617s 0.004s 644.745s 11 2,029 203.421s 0.003s 203.497s 12 1,830 183.468s 0.002s 183.501s 13 798 79.946s 0.002s 80.008s 14 5,636 564.697s 0.004s 564.854s 15 1,429 143.228s 0.003s 143.258s 16 1,077 107.866s 0.004s 107.947s 17 1,001 100.234s 0.003s 100.264s 18 425 42.675s 0.001s 42.689s 19 6,381 638.934s 0.003s 639.049s 20 10,431 1,044.159s 0.002s 1,044.295s 21 53,362 1,847.897s 0.004s 1,848.43s 22 1,074 107.671s 0.003s 107.748s 23 1,367 137s 0.003s 137.029s Feb 21 00 63,936 1,640.005s 0.004s 1,640.505s 01 542 54.362s 0.002s 54.439s 02 689 69.111s 0.002s 69.141s 03 5,282 529.002s 0.003s 529.108s 04 60,101 1,673.262s 0.003s 1,673.781s 05 1,033 103.473s 0.003s 103.504s 06 1,612 161.577s 0.002s 161.609s 07 959 96.163s 0.002s 96.243s 08 1,066 106.943s 0.003s 106.974s 09 1,093 109.567s 0.003s 109.6s 10 443 44.47s 0.002s 44.532s 11 3,987 399.432s 0.002s 399.509s 12 1,977 198.111s 0.003s 198.188s 13 10,573 1,058.225s 0.004s 1,058.379s 14 1,415 141.858s 0.004s 141.89s 15 5,801 580.935s 0.004s 581.004s 16 1,625 162.862s 0.003s 162.938s 17 867 86.922s 0.002s 86.953s 18 1,099 110.191s 0.002s 110.268s 19 990 99.26s 0.002s 99.291s 20 1,245 124.817s 0.003s 124.897s 21 1,280 128.282s 0.002s 128.312s 22 2,271 227.565s 0.003s 227.642s 23 1,121 112.383s 0.002s 112.412s Feb 22 00 1,777 178.115s 0.121s 178.727s 01 51,820 1,667.11s 0.004s 1,667.227s 02 629 63.109s 0.002s 63.139s 03 715 71.723s 0.004s 71.754s 04 2,110 211.55s 0.003s 211.628s 05 2,973 297.638s 0.003s 297.683s 06 6,542 655.25s 0.004s 655.354s 07 1,048 105.047s 0.004s 105.127s 08 789 79.124s 0.003s 79.154s 09 1,016 101.839s 0.003s 101.87s 10 939 94.156s 0.004s 94.239s 11 5,096 510.307s 0.003s 510.402s 12 774 77.617s 0.004s 77.649s 13 1,343 134.618s 0.003s 134.694s 14 835 83.821s 0.003s 83.852s 15 994 99.643s 0.003s 99.674s 16 820 82.195s 0.003s 82.273s 17 827 82.899s 0.002s 82.929s 18 1,335 133.805s 0.004s 133.837s 19 87,977 1,639.658s 0.003s 1,639.736s 20 1,569 157.266s 0.003s 157.298s 21 481 48.183s 0.002s 48.2s 22 5,898 590.569s 0.006s 590.685s 23 1,566 156.965s 0.003s 156.996s Day Hour Added Removed Recycled Synced files Longest sync Average sync Feb 16 00 0 0 4 80 0.001s 0.002s 01 0 0 0 18 0.001s 0.001s 02 0 0 7 50 0.001s 0.002s 03 0 0 34 76 0.001s 0.003s 04 0 0 3 34 0.001s 0.001s 05 0 0 0 59 0.001s 0.003s 06 0 0 1 51 0.001s 0.002s 07 0 0 0 70 0.001s 0.001s 08 0 0 38 183 0.001s 0.003s 09 0 0 1 135 0.001s 0.002s 10 0 0 0 87 0.001s 0.002s 11 0 0 0 47 0.021s 0.003s 12 0 0 6 26 0.001s 0.001s 13 0 0 0 60 0.001s 0.003s 14 0 0 0 40 0.001s 0.002s 15 0 0 1 27 0.001s 0.002s 16 0 0 0 37 0.001s 0.002s 17 0 0 0 79 0.001s 0.002s 18 0 0 1 32 0.001s 0.002s 19 0 0 0 24 0.001s 0.001s 20 0 0 1 63 0.001s 0.003s 21 0 0 0 24 0.001s 0.002s 22 0 0 1 40 0.001s 0.002s 23 0 0 0 27 0.001s 0.002s Feb 17 00 0 0 2 82 0.001s 0.002s 01 0 0 0 18 0.001s 0.001s 02 0 0 3 65 0.001s 0.002s 03 0 0 1 76 0.001s 0.003s 04 0 0 0 61 0.001s 0.002s 05 0 0 0 46 0.001s 0.002s 06 0 0 1 119 0.001s 0.002s 07 0 0 1 147 0.001s 0.002s 08 0 0 0 81 0.001s 0.002s 09 0 0 1 87 0.001s 0.002s 10 0 0 0 139 0.001s 0.002s 11 0 0 3 193 0.001s 0.002s 12 0 0 1 72 0.001s 0.002s 13 0 0 0 42 0.001s 0.002s 14 0 0 1 212 0.001s 0.002s 15 0 0 0 128 0.001s 0.002s 16 0 0 1 79 0.001s 0.002s 17 0 0 1 65 0.001s 0.001s 18 0 0 38 138 0.001s 0.002s 19 0 0 0 31 0.001s 0.002s 20 0 0 3 52 0.001s 0.002s 21 0 0 4 66 0.001s 0.003s 22 0 0 0 32 0.001s 0.002s 23 0 0 1 30 0.001s 0.002s Feb 18 00 0 0 3 77 0.001s 0.002s 01 0 0 24 49 0.001s 0.002s 02 0 0 1 48 0.001s 0.002s 03 0 0 1 45 0.004s 0.002s 04 0 0 0 35 0.001s 0.002s 05 0 0 1 44 0.001s 0.002s 06 0 0 0 30 0.001s 0.001s 07 0 0 2 150 0.001s 0.003s 08 0 0 4 38 0.001s 0.002s 09 0 0 0 11 0.001s 0.001s 10 0 0 33 142 0.001s 0.003s 11 0 0 4 69 0.017s 0.001s 12 0 0 3 96 0.001s 0.003s 13 0 0 0 130 0.001s 0.002s 14 0 0 0 124 0.001s 0.002s 15 0 0 0 49 0.001s 0.001s 16 0 0 3 92 0.001s 0.003s 17 0 0 0 21 0.001s 0.002s 18 0 0 0 22 0.001s 0.002s 19 0 0 0 19 0.001s 0.002s 20 0 0 0 17 0.001s 0.002s 21 0 0 1 38 0.001s 0.002s 22 0 0 0 34 0.001s 0.002s 23 0 0 0 9 0.001s 0.001s Feb 19 00 0 0 6 100 0.001s 0.002s 01 0 0 34 67 0.001s 0.003s 02 0 0 0 36 0.001s 0.002s 03 0 0 1 53 0.001s 0.002s 04 0 0 4 34 0.001s 0.001s 05 0 0 38 83 0.001s 0.003s 06 0 0 0 29 0.001s 0.001s 07 0 0 2 215 0.001s 0.003s 08 0 0 0 29 0.001s 0.002s 09 0 0 0 73 0.001s 0.002s 10 0 0 0 64 0.001s 0.001s 11 0 0 34 201 0.001s 0.003s 12 0 0 0 222 0.001s 0.002s 13 0 0 44 92 0.001s 0.001s 14 0 0 1 132 0.001s 0.003s 15 0 0 0 22 0.001s 0.002s 16 0 0 1 114 0.001s 0.002s 17 0 0 0 66 0.001s 0.002s 18 0 0 0 29 0.001s 0.002s 19 0 0 1 49 0.002s 0.002s 20 0 0 0 11 0.001s 0.001s 21 0 0 0 27 0.001s 0.002s 22 0 0 2 61 0.001s 0.003s 23 0 0 0 12 0.001s 0.001s Feb 20 00 0 0 3 124 0.001s 0.003s 01 0 0 1 64 0.001s 0.002s 02 0 0 0 47 0.001s 0.002s 03 0 0 0 42 0.001s 0.002s 04 0 0 0 36 0.001s 0.002s 05 0 0 1 46 0.001s 0.002s 06 0 0 2 164 0.001s 0.002s 07 0 0 1 66 0.001s 0.001s 08 0 0 6 62 0.001s 0.002s 09 0 0 0 46 0.001s 0.002s 10 0 0 4 118 0.001s 0.003s 11 0 0 1 55 0.001s 0.002s 12 0 0 0 86 0.001s 0.002s 13 0 0 1 80 0.001s 0.001s 14 0 0 3 151 0.001s 0.003s 15 0 0 0 139 0.001s 0.002s 16 0 0 1 84 0.001s 0.002s 17 0 0 0 29 0.001s 0.002s 18 0 0 0 16 0.001s 0.001s 19 0 0 4 42 0.001s 0.002s 20 0 0 6 33 0.001s 0.002s 21 0 0 35 204 0.001s 0.003s 22 0 0 1 35 0.001s 0.002s 23 0 0 0 25 0.001s 0.002s Feb 21 00 0 0 36 89 0.001s 0.002s 01 0 0 1 37 0.001s 0.002s 02 0 0 0 48 0.001s 0.002s 03 0 0 3 46 0.001s 0.002s 04 0 0 38 62 0.001s 0.002s 05 0 0 0 52 0.001s 0.002s 06 0 0 0 84 0.001s 0.002s 07 0 0 1 129 0.001s 0.002s 08 0 0 0 87 0.002s 0.002s 09 0 0 0 81 0.001s 0.002s 10 0 0 1 18 0.001s 0.001s 11 0 0 1 43 0.001s 0.002s 12 0 0 1 29 0.002s 0.002s 13 0 0 6 172 0.001s 0.003s 14 0 0 0 128 0.001s 0.002s 15 0 0 3 133 0.001s 0.002s 16 0 0 1 134 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 1 34 0.001s 0.002s 19 0 0 0 22 0.001s 0.002s 20 0 0 1 25 0.002s 0.002s 21 0 0 0 29 0.001s 0.002s 22 0 0 1 38 0.001s 0.002s 23 0 0 0 24 0.001s 0.002s Feb 22 00 0 0 34 68 0.067s 0.002s 01 0 0 3 70 0.001s 0.003s 02 0 0 0 39 0.001s 0.002s 03 0 0 0 35 0.001s 0.002s 04 0 0 1 47 0.001s 0.002s 05 0 0 1 51 0.001s 0.002s 06 0 0 3 49 0.001s 0.002s 07 0 0 1 35 0.001s 0.002s 08 0 0 0 31 0.001s 0.002s 09 0 0 0 30 0.001s 0.002s 10 0 0 1 27 0.001s 0.002s 11 0 0 2 43 0.001s 0.002s 12 0 0 0 21 0.001s 0.002s 13 0 0 1 35 0.001s 0.002s 14 0 0 0 21 0.001s 0.002s 15 0 0 0 34 0.001s 0.002s 16 0 0 1 22 0.001s 0.002s 17 0 0 0 19 0.001s 0.002s 18 0 0 0 32 0.001s 0.002s 19 0 0 1 24 0.001s 0.002s 20 0 0 0 28 0.001s 0.002s 21 0 0 0 9 0.001s 0.001s 22 0 0 3 52 0.001s 0.003s 23 0 0 0 23 0.001s 0.002s Day Hour Count Avg time (sec) Feb 16 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 Feb 17 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Feb 18 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Feb 19 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Feb 20 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Feb 21 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Feb 22 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Feb 16 00 27,423.00 kB 47,755.00 kB 01 3,838.00 kB 41,330.00 kB 02 54,859.00 kB 100,224.00 kB 03 188,885.00 kB 496,855.33 kB 04 42,088.00 kB 405,845.00 kB 05 3,553.00 kB 330,783.33 kB 06 7,150.00 kB 255,030.50 kB 07 2,500.00 kB 217,765.00 kB 08 207,149.00 kB 446,405.67 kB 09 2,854.00 kB 462,688.50 kB 10 2,204.50 kB 375,258.00 kB 11 2,338.50 kB 304,367.50 kB 12 32,041.00 kB 262,825.00 kB 13 21,500.00 kB 219,319.33 kB 14 2,389.50 kB 168,695.50 kB 15 2,301.00 kB 137,066.50 kB 16 2,525.50 kB 111,507.00 kB 17 2,761.00 kB 90,830.50 kB 18 2,305.00 kB 74,029.00 kB 19 5,188.00 kB 63,746.00 kB 20 5,920.00 kB 53,212.00 kB 21 2,563.00 kB 41,398.50 kB 22 2,922.00 kB 34,082.00 kB 23 2,561.50 kB 28,090.50 kB Feb 17 00 16,052.00 kB 28,799.50 kB 01 1,519.00 kB 24,796.00 kB 02 20,014.00 kB 24,010.50 kB 03 5,677.67 kB 20,834.00 kB 04 3,272.00 kB 16,546.00 kB 05 3,695.50 kB 14,174.50 kB 06 6,720.50 kB 12,683.00 kB 07 5,429.00 kB 11,141.50 kB 08 2,772.50 kB 9,814.50 kB 09 2,927.50 kB 8,431.00 kB 10 5,644.00 kB 8,163.00 kB 11 25,793.00 kB 46,545.50 kB 12 2,551.50 kB 38,210.50 kB 13 4,248.00 kB 31,726.00 kB 14 3,155.50 kB 26,292.50 kB 15 6,164.50 kB 22,449.50 kB 16 7,225.00 kB 19,609.00 kB 17 3,729.00 kB 17,200.00 kB 18 313,189.50 kB 591,451.00 kB 19 3,209.00 kB 479,750.50 kB 20 23,269.00 kB 392,533.00 kB 21 20,329.67 kB 307,593.00 kB 22 5,096.50 kB 237,419.00 kB 23 4,942.00 kB 193,246.50 kB Feb 18 00 21,801.50 kB 160,791.00 kB 01 201,361.50 kB 380,247.50 kB 02 6,199.00 kB 309,155.50 kB 03 5,834.50 kB 251,521.00 kB 04 3,941.50 kB 204,436.50 kB 05 4,462.00 kB 166,415.50 kB 06 3,556.00 kB 142,471.00 kB 07 9,355.67 kB 118,035.33 kB 08 32,513.00 kB 96,863.00 kB 09 4,999.00 kB 83,250.00 kB 10 180,991.00 kB 483,138.33 kB 11 1,952.00 kB 390,473.00 kB 12 35,730.67 kB 327,001.33 kB 13 1,608.00 kB 251,037.00 kB 14 1,729.50 kB 203,697.50 kB 15 1,795.00 kB 173,944.00 kB 16 13,785.67 kB 145,092.67 kB 17 888.00 kB 111,433.50 kB 18 580.50 kB 90,385.50 kB 19 1,181.00 kB 73,400.50 kB 20 1,064.50 kB 59,659.50 kB 21 5,213.50 kB 49,308.50 kB 22 2,762.50 kB 40,465.50 kB 23 659.00 kB 34,631.00 kB Feb 19 00 46,699.00 kB 48,143.00 kB 01 184,834.00 kB 499,687.33 kB 02 956.50 kB 383,281.00 kB 03 11,016.00 kB 312,534.50 kB 04 62,490.00 kB 272,800.00 kB 05 209,896.00 kB 564,575.00 kB 06 984.00 kB 455,973.00 kB 07 6,455.67 kB 372,121.00 kB 08 480.50 kB 285,712.50 kB 09 1,115.50 kB 231,609.50 kB 10 1,629.00 kB 197,693.00 kB 11 183,562.00 kB 494,682.67 kB 12 2,425.50 kB 379,778.00 kB 13 610,664.00 kB 610,664.00 kB 14 44,476.33 kB 508,012.00 kB 15 841.50 kB 390,132.00 kB 16 1,952.50 kB 316,312.50 kB 17 1,368.50 kB 256,530.00 kB 18 1,256.00 kB 208,007.00 kB 19 9,580.50 kB 170,316.00 kB 20 1,455.00 kB 145,423.00 kB 21 1,756.00 kB 124,609.50 kB 22 6,123.00 kB 97,468.67 kB 23 1,513.00 kB 79,058.00 kB Feb 20 00 20,256.33 kB 68,373.67 kB 01 2,833.00 kB 54,278.50 kB 02 1,129.00 kB 44,271.50 kB 03 2,054.50 kB 36,182.50 kB 04 1,184.00 kB 29,590.00 kB 05 3,676.50 kB 24,676.00 kB 06 22,992.50 kB 41,101.00 kB 07 1,575.00 kB 35,338.00 kB 08 37,418.50 kB 46,446.50 kB 09 16,094.50 kB 53,940.50 kB 10 20,891.67 kB 53,999.33 kB 11 5,557.00 kB 42,445.00 kB 12 5,701.50 kB 35,535.00 kB 13 3,827.00 kB 30,758.00 kB 14 17,562.33 kB 42,898.33 kB 15 3,676.50 kB 33,653.00 kB 16 3,077.50 kB 27,891.50 kB 17 2,649.00 kB 23,087.50 kB 18 2,307.00 kB 20,056.00 kB 19 29,485.50 kB 53,283.00 kB 20 53,754.50 kB 99,715.00 kB 21 191,487.33 kB 382,885.00 kB 22 3,150.00 kB 430,926.50 kB 23 3,349.50 kB 349,685.50 kB Feb 21 00 298,563.50 kB 565,888.00 kB 01 1,672.00 kB 458,678.50 kB 02 2,236.50 kB 371,948.00 kB 03 25,069.50 kB 306,033.00 kB 04 307,185.50 kB 580,319.00 kB 05 3,043.00 kB 470,659.00 kB 06 2,868.50 kB 381,735.00 kB 07 3,355.50 kB 309,886.00 kB 08 3,246.50 kB 251,634.00 kB 09 3,143.50 kB 204,455.50 kB 10 2,232.00 kB 174,654.00 kB 11 13,291.00 kB 151,755.50 kB 12 2,758.00 kB 123,449.50 kB 13 33,687.67 kB 103,709.00 kB 14 3,996.50 kB 80,699.00 kB 15 26,900.50 kB 70,513.00 kB 16 4,247.50 kB 57,905.50 kB 17 2,877.00 kB 47,500.00 kB 18 3,152.50 kB 39,045.00 kB 19 3,021.50 kB 32,217.50 kB 20 3,313.00 kB 26,704.50 kB 21 3,837.50 kB 22,311.50 kB 22 5,591.50 kB 19,001.00 kB 23 3,225.50 kB 16,198.00 kB Feb 22 00 36,218.00 kB 36,218.00 kB 01 188,841.67 kB 508,750.33 kB 02 1,787.50 kB 390,456.50 kB 03 2,062.00 kB 316,641.00 kB 04 6,200.50 kB 257,626.50 kB 05 10,583.00 kB 210,666.00 kB 06 23,982.00 kB 175,244.50 kB 07 2,536.00 kB 142,413.50 kB 08 2,394.50 kB 115,808.00 kB 09 2,630.50 kB 94,289.50 kB 10 2,599.50 kB 76,874.00 kB 11 21,571.50 kB 66,363.00 kB 12 2,074.50 kB 54,187.50 kB 13 2,941.50 kB 44,410.00 kB 14 2,475.50 kB 36,466.00 kB 15 2,683.00 kB 30,026.50 kB 16 2,540.00 kB 24,815.00 kB 17 2,660.50 kB 20,604.00 kB 18 3,296.00 kB 17,302.50 kB 19 2,954.00 kB 14,580.00 kB 20 3,341.00 kB 12,442.00 kB 21 3,088.00 kB 11,060.00 kB 22 14,193.67 kB 32,421.00 kB 23 3,652.00 kB 25,699.00 kB -
Temporary Files
Size of temporary files
Key values
- 5.96 MiB Temp Files size Peak
- 2025-02-16 00:24:30 Date
Number of temporary files
Key values
- 6 per second Temp Files Peak
- 2025-02-16 00:24:30 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Feb 16 00 6 5.96 MiB 1017.33 KiB 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 Feb 17 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Feb 18 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Feb 19 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Feb 20 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Feb 21 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 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 Feb 22 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 6 5.96 MiB 320.00 KiB 1.91 MiB 1017.33 KiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2025-02-16 00:24:30 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.91 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-16 00:24:30 ]
2 1.28 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-16 00:24:30 ]
3 1.16 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-16 00:24:30 ]
4 672.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-16 00:24:30 ]
5 656.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-16 00:24:30 ]
6 320.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-16 00:24:30 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 47.74 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-02-19 13:55:17 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 47.74 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-02-19 13:55:17 Date
Analyzes per table
Key values
- pubc.log_query (192) Main table analyzed (database ctdprd51)
- 207 analyzes Total
Vacuums per table
Key values
- pubc.log_query (316) Main table vacuumed on database ctdprd51
- 347 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 316 40 1,222,113 0 18,328 0 11,664 28,170 4,414 16,864,977 ctdprd51.pg_catalog.pg_statistic 18 3 10,508 0 508 0 1,999 1,223 447 1,518,549 ctdprd51.pg_toast.pg_toast_2619 3 3 11,194 0 2,969 0 30,138 8,755 2,816 1,476,074 ctdprd51.pg_toast.pg_toast_486223 3 0 105 0 7 0 0 5 1 8,879 ctdprd51.pub1.term_set_enrichment 2 0 14,583 0 6,552 0 0 7,183 4 452,275 ctdprd51.pub1.term_set_enrichment_agent 2 0 756,574 0 354,422 0 0 354,454 15 21,031,431 ctdprd51.pub1.term_comp 2 0 397 0 11 0 0 79 3 27,319 ctdprd51.pub1.term_comp_agent 1 0 1,056 0 23 0 0 484 1 36,975 Total 347 46 2,016,530 2,089 382,820 0 43,801 400,353 7,701 41,416,479 Tuples removed per table
Key values
- pubc.log_query (72037) Main table with removed tuples on database ctdprd51
- 84161 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 316 40 72,037 14,565,085 11,886,524 0 607,981 ctdprd51.pg_toast.pg_toast_2619 3 3 10,889 53,251 0 0 37,776 ctdprd51.pg_catalog.pg_statistic 18 3 1,235 67,036 10,690 0 7,524 ctdprd51.pub1.term_set_enrichment 2 0 0 2,283,493 0 0 37,785 ctdprd51.pg_toast.pg_toast_486223 3 0 0 63 0 0 12 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 155,007,449 0 0 1,761,449 ctdprd51.pub1.term_comp_agent 1 0 0 73,911 0 0 622 ctdprd51.pub1.term_comp 2 0 0 15,568 0 0 157 Total 347 46 84,161 172,065,856 11,897,214 0 2,453,306 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pubc.log_query 316 40 72037 0 ctdprd51.pg_toast.pg_toast_2619 3 3 10889 0 ctdprd51.pub1.term_set_enrichment 2 0 0 0 ctdprd51.pg_toast.pg_toast_486223 3 0 0 0 ctdprd51.pg_catalog.pg_statistic 18 3 1235 0 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pub1.term_comp 2 0 0 0 Total 347 46 84,161 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Feb 16 00 0 2 01 0 4 02 0 3 03 0 2 04 0 2 05 0 1 06 0 1 07 0 2 08 0 0 09 0 1 10 0 1 11 0 1 12 0 0 13 0 1 14 0 1 15 0 0 16 0 1 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 Feb 17 00 0 2 01 0 4 02 0 3 03 0 2 04 0 2 05 0 1 06 0 2 07 0 1 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 1 14 0 0 15 0 1 16 0 0 17 0 2 18 0 1 19 0 0 20 0 1 21 0 1 22 0 1 23 0 1 Feb 18 00 0 3 01 0 5 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 0 11 0 0 12 0 1 13 0 0 14 0 0 15 0 2 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Feb 19 00 0 1 01 0 5 02 0 4 03 0 5 04 0 3 05 0 3 06 0 1 07 0 1 08 0 0 09 0 1 10 0 1 11 0 0 12 0 2 13 0 2 14 0 1 15 0 0 16 0 1 17 0 0 18 0 1 19 0 4 20 0 1 21 0 0 22 0 1 23 0 0 Feb 20 00 0 5 01 0 3 02 0 2 03 0 4 04 0 1 05 0 1 06 0 1 07 0 0 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 1 14 0 1 15 0 1 16 0 1 17 0 1 18 0 0 19 0 1 20 0 1 21 0 0 22 0 1 23 0 0 Feb 21 00 0 5 01 0 4 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 1 14 0 1 15 0 0 16 0 1 17 0 0 18 0 1 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 Feb 22 00 0 3 01 0 4 02 0 2 03 0 3 04 0 2 05 0 1 06 0 3 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 0 13 0 1 14 0 0 15 0 1 16 0 0 17 0 0 18 0 1 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 - 47.74 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 9,086 Total read queries
- 418 Total write queries
Queries by database
Key values
- unknown Main database
- 6,943 Requests
- 21h22m49s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 16,911 Requests
User Request type Count Duration editeu Total 3 5s304ms select 3 5s304ms load Total 8 1m41s select 8 1m41s postgres Total 108 57m9s copy to 108 57m9s pubc Total 2 2s711ms select 2 2s711ms pubeu Total 5,798 15h7m51s cte 93 4m28s select 5,705 15h3m22s qaeu Total 90 4m cte 19 1m4s select 71 2m55s unknown Total 16,911 2d1h32m45s copy to 697 6h44m4s cte 154 5m26s others 9 56s444ms select 16,051 1d18h42m17s zbx_monitor Total 15 35s777ms select 15 35s777ms Duration by user
Key values
- 2d1h32m45s (unknown) Main time consuming user
User Request type Count Duration editeu Total 3 5s304ms select 3 5s304ms load Total 8 1m41s select 8 1m41s postgres Total 108 57m9s copy to 108 57m9s pubc Total 2 2s711ms select 2 2s711ms pubeu Total 5,798 15h7m51s cte 93 4m28s select 5,705 15h3m22s qaeu Total 90 4m cte 19 1m4s select 71 2m55s unknown Total 16,911 2d1h32m45s copy to 697 6h44m4s cte 154 5m26s others 9 56s444ms select 16,051 1d18h42m17s zbx_monitor Total 15 35s777ms select 15 35s777ms Queries by host
Key values
- unknown Main host
- 22,935 Requests
- 2d17h44m12s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 9,457 Requests
- 1d31m18s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:7637539 Total 2 30s271ms select 2 30s271ms pgAdmin 4 - CONN:8332409 Total 2 20s246ms select 2 20s246ms pg_dump Total 49 26m9s copy to 49 26m9s psql Total 1 1s355ms select 1 1s355ms unknown Total 9,457 1d31m18s copy to 258 1h51m35s cte 111 4m37s others 7 43s683ms select 9,081 22h34m21s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-02-21 13:51:40 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 9,415 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 8h14m54s 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 = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'COGNITION DISORDERS' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-02-16 04:37:32 - Bind query: yes ]
2 24m58s /* * 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-02-22 00:25:00 ]
3 24m50s /* * 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-02-21 00:24:51 ]
4 24m40s /* * 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-02-20 00:24:42 ]
5 24m36s /* * 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-02-18 00:24:38 ]
6 24m35s /* * 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-02-19 00:24:37 ]
7 24m31s /* * 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-02-17 00:24:33 ]
8 24m28s /* * 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-02-16 00:24:30 ]
9 24m18s 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-02-22 19:01:21 ]
10 24m7s 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-02-22 19:44:19 ]
11 18m8s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-02-20 20:36:06 - Bind query: yes ]
12 17m49s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-02-20 21:12:53 - Bind query: yes ]
13 17m46s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-02-20 22:06:17 - Bind query: yes ]
14 17m44s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-02-20 20:47:33 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
15 11m42s 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 /* GAIQH.getChemWhereEquals.Name */ gcri.gene_id FROM dag_path pi INNER JOIN gene_chem_reference gcri ON pi.descendant_object_id = gcri.chem_id INNER JOIN term ti ON ti.id = pi.ancestor_object_id WHERE UPPER(ti.nm) LIKE 'DIFENOCONAZOLE' AND ti.object_type_id = 2) INTERSECT ( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '7955' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '7955' AND n.dag_id = 7) INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-02-21 13:36:03 - Bind query: yes ]
16 11m35s 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 = '1244848') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-02-20 22:28:58 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 11m33s 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 /* GAIQH.getChemWhereEquals.Name */ gcri.gene_id FROM dag_path pi INNER JOIN gene_chem_reference gcri ON pi.descendant_object_id = gcri.chem_id INNER JOIN term ti ON ti.id = pi.ancestor_object_id WHERE UPPER(ti.nm) LIKE 'DIFENOCONAZOLE' AND ti.object_type_id = 2) INTERSECT ( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '7955' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '7955' AND n.dag_id = 7) INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-02-21 13:41:01 - Bind query: yes ]
18 11m29s 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 = '1244848') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-02-19 11:57:05 - Bind query: yes ]
19 7m1s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-02-22 19:13:25 ]
20 7m COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-02-22 19:56:21 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 8h14m54s 1 8h14m54s 8h14m54s 8h14m54s select 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 exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 16 04 1 8h14m54s 8h14m54s -
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 = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'COGNITION DISORDERS' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-16 04:37:32 Duration: 8h14m54s Bind query: yes
2 5h3m39s 185 1s408ms 18m8s 1m38s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 16 10 1 1s512ms 1s512ms 13 1 4m6s 4m6s 19 1 1s540ms 1s540ms 22 1 1s626ms 1s626ms Feb 17 18 1 1s547ms 1s547ms 21 1 1s604ms 1s604ms Feb 18 00 2 5m14s 2m37s 02 1 1s579ms 1s579ms 10 1 5m8s 5m8s Feb 19 06 1 1s480ms 1s480ms 07 3 2m19s 46s396ms 08 1 1s985ms 1s985ms 09 3 4m57s 1m39s 10 5 5m39s 1m7s 11 3 16m32s 5m30s 12 2 3s489ms 1s744ms 13 4 5m24s 1m21s 14 2 3s98ms 1s549ms 15 5 7m46s 1m33s 16 4 7m13s 1m48s 17 2 4s345ms 2s172ms 18 4 7m57s 1m59s 19 8 13s53ms 1s631ms 20 2 3s488ms 1s744ms 21 6 9m29s 1m34s 22 2 4s971ms 2s485ms 23 2 4m8s 2m4s Feb 20 00 1 4m10s 4m10s 02 3 8m28s 2m49s 03 1 3s264ms 3s264ms 08 4 2m35s 38s967ms 09 2 4m19s 2m9s 10 1 3s279ms 3s279ms 11 1 4m57s 4m57s 13 1 1s857ms 1s857ms 15 2 9m27s 4m43s 16 1 3m30s 3m30s 17 1 1s627ms 1s627ms 18 1 1s660ms 1s660ms 19 1 2s433ms 2s433ms 20 5 36m 7m12s 21 1 17m49s 17m49s 22 3 29m23s 9m47s 23 3 4s991ms 1s663ms Feb 21 00 2 3s496ms 1s748ms 01 2 3s947ms 1s973ms 03 1 2m53s 2m53s 06 2 5m1s 2m30s 07 3 2m10s 43s645ms 11 2 3m51s 1m55s 12 1 5m23s 5m23s 13 3 4m27s 1m29s 14 1 1s894ms 1s894ms 16 1 2s218ms 2s218ms 17 3 5m1s 1m40s 18 2 3m13s 1m36s 19 3 5s527ms 1s842ms 20 1 3m12s 3m12s 21 2 3s327ms 1s663ms 22 3 5m21s 1m47s 23 6 7m38s 1m16s Feb 22 00 1 1s528ms 1s528ms 01 3 7m46s 2m35s 02 2 4s767ms 2s383ms 03 2 6s649ms 3s324ms 04 1 1s597ms 1s597ms 05 3 8s139ms 2s713ms 07 4 2m20s 35s147ms 08 1 4m21s 4m21s 09 1 1s758ms 1s758ms 10 3 6s59ms 2s19ms 11 2 5s650ms 2s825ms 12 3 5s54ms 1s684ms 13 2 4s924ms 2s462ms 14 3 4m46s 1m35s 16 2 7m13s 3m36s 18 1 5m28s 5m28s 19 4 9m35s 2m23s 20 1 1m16s 1m16s 21 1 3m27s 3m27s 23 6 13s888ms 2s314ms [ User: pubeu - Total duration: 1h24m5s - Times executed: 44 ]
-
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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-20 20:36:06 Duration: 18m8s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-20 21:12:53 Duration: 17m49s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-20 22:06:17 Duration: 17m46s Bind query: yes
3 2h52m41s 7 24m28s 24m58s 24m40s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 16 00 1 24m28s 24m28s Feb 17 00 1 24m31s 24m31s Feb 18 00 1 24m36s 24m36s Feb 19 00 1 24m35s 24m35s Feb 20 00 1 24m40s 24m40s Feb 21 00 1 24m50s 24m50s Feb 22 00 1 24m58s 24m58s -
/* * 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-02-22 00:25:00 Duration: 24m58s
-
/* * 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-02-21 00:24:51 Duration: 24m50s
-
/* * 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-02-20 00:24:42 Duration: 24m40s
4 50m45s 945 1s237ms 9s523ms 3s222ms 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 Feb 16 00 1 1s953ms 1s953ms 02 1 2s8ms 2s8ms 03 6 17s445ms 2s907ms 05 1 6s390ms 6s390ms 10 1 6s113ms 6s113ms 11 1 3s251ms 3s251ms 12 1 1s969ms 1s969ms 14 1 1s371ms 1s371ms 16 1 1s239ms 1s239ms 20 5 14s152ms 2s830ms 22 1 6s308ms 6s308ms Feb 17 02 1 3s502ms 3s502ms 03 1 2s851ms 2s851ms 16 2 5s330ms 2s665ms 22 6 16s404ms 2s734ms Feb 18 01 1 1s380ms 1s380ms 10 1 2s829ms 2s829ms 11 1 5s914ms 5s914ms 18 1 6s206ms 6s206ms 21 1 3s305ms 3s305ms Feb 19 01 1 2s192ms 2s192ms 05 6 17s834ms 2s972ms 06 1 2s45ms 2s45ms 07 4 11s104ms 2s776ms 08 11 48s168ms 4s378ms 09 15 47s786ms 3s185ms 10 18 50s506ms 2s805ms 11 9 26s740ms 2s971ms 12 15 53s859ms 3s590ms 13 13 42s856ms 3s296ms 14 20 1m6s 3s327ms 15 19 59s709ms 3s142ms 16 15 46s698ms 3s113ms 17 16 40s390ms 2s524ms 18 17 1m2s 3s670ms 19 14 45s605ms 3s257ms 20 15 39s639ms 2s642ms 21 20 1m2s 3s124ms 22 17 53s855ms 3s167ms 23 13 52s480ms 4s36ms Feb 20 00 20 1m2s 3s103ms 01 20 59s993ms 2s999ms 02 7 15s646ms 2s235ms 03 4 14s755ms 3s688ms 04 2 6s404ms 3s202ms 05 7 35s899ms 5s128ms 06 3 11s377ms 3s792ms 07 1 2s198ms 2s198ms 08 11 34s74ms 3s97ms 09 12 44s860ms 3s738ms 10 6 13s845ms 2s307ms 11 4 17s137ms 4s284ms 12 7 19s177ms 2s739ms 13 12 31s640ms 2s636ms 14 7 26s906ms 3s843ms 15 6 18s981ms 3s163ms 16 9 18s751ms 2s83ms 17 12 30s346ms 2s528ms 18 13 42s600ms 3s276ms 19 16 52s826ms 3s301ms 20 13 35s972ms 2s767ms 21 14 46s111ms 3s293ms 22 13 40s220ms 3s93ms 23 6 24s374ms 4s62ms Feb 21 00 7 28s189ms 4s27ms 01 5 18s592ms 3s718ms 02 4 24s967ms 6s241ms 03 5 21s455ms 4s291ms 04 4 8s387ms 2s96ms 05 20 1m13s 3s655ms 06 8 22s179ms 2s772ms 07 12 36s139ms 3s11ms 08 1 2s62ms 2s62ms 09 3 9s821ms 3s273ms 10 6 21s180ms 3s530ms 11 8 31s696ms 3s962ms 12 10 28s454ms 2s845ms 13 4 12s244ms 3s61ms 14 6 19s339ms 3s223ms 15 5 18s348ms 3s669ms 16 3 4s726ms 1s575ms 17 8 29s524ms 3s690ms 18 6 29s844ms 4s974ms 19 9 23s817ms 2s646ms 20 13 35s612ms 2s739ms 21 12 28s306ms 2s358ms 22 11 28s8ms 2s546ms 23 7 27s507ms 3s929ms Feb 22 00 8 21s229ms 2s653ms 01 10 34s805ms 3s480ms 02 7 16s443ms 2s349ms 03 11 36s46ms 3s276ms 04 6 26s190ms 4s365ms 05 12 34s872ms 2s906ms 06 6 14s533ms 2s422ms 07 8 27s788ms 3s473ms 08 8 24s952ms 3s119ms 09 4 11s894ms 2s973ms 10 8 20s663ms 2s582ms 11 13 37s505ms 2s885ms 12 13 40s159ms 3s89ms 13 7 29s62ms 4s151ms 14 9 21s427ms 2s380ms 15 11 30s724ms 2s793ms 16 13 45s32ms 3s464ms 17 8 27s416ms 3s427ms 18 7 22s692ms 3s241ms 19 14 44s636ms 3s188ms 20 16 1m9s 4s354ms 21 13 59s845ms 4s603ms 22 12 27s538ms 2s294ms 23 25 1m27s 3s495ms [ User: pubeu - Total duration: 13m14s - Times executed: 239 ]
-
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 = '1399342'))) 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-02-20 05:07:44 Duration: 9s523ms 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 = '1399342'))) 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-02-21 10:56:45 Duration: 6s971ms 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 = '1399342'))) 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-02-22 21:44:26 Duration: 6s742ms Bind query: yes
5 50m38s 2,572 1s54ms 1s763ms 1s181ms 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 #5
Day Hour Count Duration Avg duration Feb 16 00 1 1s204ms 1s204ms 01 25 30s723ms 1s228ms 02 12 14s377ms 1s198ms 03 8 9s547ms 1s193ms 04 9 10s731ms 1s192ms 05 6 7s195ms 1s199ms 06 4 4s806ms 1s201ms 07 5 5s895ms 1s179ms 08 7 8s352ms 1s193ms 09 4 4s764ms 1s191ms 10 5 6s24ms 1s204ms 11 9 10s617ms 1s179ms 12 8 9s228ms 1s153ms 13 6 7s135ms 1s189ms 14 5 5s891ms 1s178ms 15 4 4s730ms 1s182ms 16 18 20s738ms 1s152ms 17 8 9s586ms 1s198ms 18 8 9s479ms 1s184ms 19 20 22s892ms 1s144ms 20 6 6s965ms 1s160ms 21 5 5s488ms 1s97ms 22 6 7s12ms 1s168ms 23 6 6s771ms 1s128ms Feb 17 00 1 1s223ms 1s223ms 01 16 18s801ms 1s175ms 02 6 7s380ms 1s230ms 03 8 9s388ms 1s173ms 04 16 18s537ms 1s158ms 05 3 3s868ms 1s289ms 06 4 4s548ms 1s137ms 07 5 5s885ms 1s177ms 08 5 6s94ms 1s218ms 09 10 11s746ms 1s174ms 11 11 12s825ms 1s165ms 12 3 3s402ms 1s134ms 13 5 5s974ms 1s194ms 14 19 22s314ms 1s174ms 15 9 10s101ms 1s122ms 16 10 11s782ms 1s178ms 17 12 13s845ms 1s153ms 18 24 27s765ms 1s156ms 19 5 5s876ms 1s175ms 20 11 12s658ms 1s150ms 21 7 8s194ms 1s170ms 22 8 9s517ms 1s189ms 23 13 15s317ms 1s178ms Feb 18 00 18 21s128ms 1s173ms 01 1 1s192ms 1s192ms 02 6 7s284ms 1s214ms 03 26 30s727ms 1s181ms 04 5 5s856ms 1s171ms 05 2 2s607ms 1s303ms 06 8 9s527ms 1s190ms 07 27 32s202ms 1s192ms 08 10 11s510ms 1s151ms 09 17 20s456ms 1s203ms 10 7 8s165ms 1s166ms 11 9 10s494ms 1s166ms 12 13 14s980ms 1s152ms 13 4 4s671ms 1s167ms 14 7 8s334ms 1s190ms 15 24 28s93ms 1s170ms 16 17 19s609ms 1s153ms 17 8 9s200ms 1s150ms 18 4 4s663ms 1s165ms 19 17 19s634ms 1s154ms 20 5 5s647ms 1s129ms 21 7 8s80ms 1s154ms 22 11 13s263ms 1s205ms 23 5 6s143ms 1s228ms Feb 19 00 1 1s163ms 1s163ms 01 4 4s789ms 1s197ms 02 3 3s571ms 1s190ms 03 1 1s535ms 1s535ms 04 2 2s274ms 1s137ms 05 10 12s424ms 1s242ms 06 9 10s867ms 1s207ms 07 12 14s65ms 1s172ms 08 10 11s661ms 1s166ms 09 10 11s999ms 1s199ms 10 24 29s49ms 1s210ms 11 15 17s606ms 1s173ms 12 28 32s923ms 1s175ms 13 28 32s693ms 1s167ms 14 24 28s417ms 1s184ms 15 9 10s708ms 1s189ms 16 18 21s52ms 1s169ms 17 18 21s133ms 1s174ms 18 26 30s527ms 1s174ms 19 17 20s132ms 1s184ms 20 36 42s263ms 1s173ms 21 32 37s407ms 1s168ms 22 31 37s285ms 1s202ms 23 38 45s562ms 1s199ms Feb 20 00 35 42s42ms 1s201ms 01 30 35s960ms 1s198ms 02 24 28s726ms 1s196ms 03 22 27s288ms 1s240ms 04 15 18s241ms 1s216ms 05 9 11s347ms 1s260ms 06 16 19s92ms 1s193ms 07 24 28s112ms 1s171ms 08 21 25s99ms 1s195ms 09 32 37s921ms 1s185ms 10 22 26s96ms 1s186ms 11 22 26s875ms 1s221ms 12 21 24s805ms 1s181ms 13 12 14s243ms 1s186ms 14 17 19s936ms 1s172ms 15 7 8s192ms 1s170ms 16 27 31s774ms 1s176ms 17 28 32s640ms 1s165ms 18 12 14s252ms 1s187ms 19 12 14s96ms 1s174ms 20 23 27s66ms 1s176ms 21 15 17s944ms 1s196ms 22 14 16s701ms 1s192ms 23 12 14s532ms 1s211ms Feb 21 00 9 10s707ms 1s189ms 01 10 12s21ms 1s202ms 02 24 28s554ms 1s189ms 03 13 15s422ms 1s186ms 04 6 7s135ms 1s189ms 05 13 15s610ms 1s200ms 06 7 8s424ms 1s203ms 07 11 12s764ms 1s160ms 08 7 8s456ms 1s208ms 09 8 9s396ms 1s174ms 10 9 10s459ms 1s162ms 11 25 29s192ms 1s167ms 12 32 37s775ms 1s180ms 13 8 9s439ms 1s179ms 14 15 18s674ms 1s244ms 15 22 26s104ms 1s186ms 16 18 21s299ms 1s183ms 17 11 12s919ms 1s174ms 18 16 18s719ms 1s169ms 19 22 25s789ms 1s172ms 20 9 10s385ms 1s153ms 21 25 28s833ms 1s153ms 22 29 34s369ms 1s185ms 23 17 20s103ms 1s182ms Feb 22 00 35 41s92ms 1s174ms 01 32 37s492ms 1s171ms 02 18 21s30ms 1s168ms 03 26 30s732ms 1s182ms 04 46 54s687ms 1s188ms 05 27 32s71ms 1s187ms 06 18 21s147ms 1s174ms 07 51 59s613ms 1s168ms 08 17 19s810ms 1s165ms 09 22 25s882ms 1s176ms 10 22 25s919ms 1s178ms 11 39 45s432ms 1s164ms 12 22 25s838ms 1s174ms 13 29 33s991ms 1s172ms 14 25 29s285ms 1s171ms 15 24 27s877ms 1s161ms 16 32 37s174ms 1s161ms 17 12 14s16ms 1s168ms 18 33 38s210ms 1s157ms 19 24 27s566ms 1s148ms 20 25 30s14ms 1s200ms 21 30 36s359ms 1s211ms 22 26 31s19ms 1s193ms 23 29 34s758ms 1s198ms [ User: pubeu - Total duration: 13m18s - Times executed: 675 ]
-
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 = '2039255' or receptorTerm.id = '2039255' 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-02-16 01:17:21 Duration: 1s763ms 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 = '1642341' or receptorTerm.id = '1642341' 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-02-21 14:04:23 Duration: 1s663ms 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 = '2066169' or receptorTerm.id = '2066169' 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-02-21 14:01:38 Duration: 1s541ms Bind query: yes
6 36m32s 825 1s1ms 6s864ms 2s657ms 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 Feb 16 00 1 1s53ms 1s53ms 03 8 18s532ms 2s316ms 05 1 3s242ms 3s242ms 08 1 2s548ms 2s548ms 11 2 2s613ms 1s306ms 14 1 1s15ms 1s15ms 20 9 20s177ms 2s241ms 22 1 3s397ms 3s397ms Feb 17 02 1 1s140ms 1s140ms 03 1 2s175ms 2s175ms 06 1 1s253ms 1s253ms 10 1 1s15ms 1s15ms 11 1 3s393ms 3s393ms 14 1 3s303ms 3s303ms 22 9 20s205ms 2s245ms Feb 18 17 1 2s327ms 2s327ms 23 1 1s146ms 1s146ms Feb 19 01 1 1s173ms 1s173ms 02 1 3s265ms 3s265ms 04 3 5s626ms 1s875ms 05 10 21s467ms 2s146ms 06 3 9s529ms 3s176ms 07 1 1s192ms 1s192ms 08 5 10s953ms 2s190ms 09 13 32s785ms 2s521ms 10 9 23s534ms 2s614ms 11 6 15s797ms 2s632ms 12 10 25s518ms 2s551ms 13 12 33s424ms 2s785ms 14 19 39s696ms 2s89ms 15 20 1m5s 3s295ms 16 11 23s760ms 2s160ms 17 19 49s293ms 2s594ms 18 11 32s519ms 2s956ms 19 20 50s744ms 2s537ms 20 10 29s834ms 2s983ms 21 13 44s79ms 3s390ms 22 21 51s281ms 2s441ms 23 12 31s351ms 2s612ms Feb 20 00 13 34s832ms 2s679ms 01 8 22s837ms 2s854ms 02 12 35s821ms 2s985ms 03 7 19s943ms 2s849ms 05 9 33s489ms 3s721ms 06 4 6s373ms 1s593ms 07 4 10s380ms 2s595ms 08 6 16s151ms 2s691ms 09 8 16s705ms 2s88ms 10 8 24s460ms 3s57ms 11 7 22s418ms 3s202ms 12 3 6s507ms 2s169ms 13 10 22s309ms 2s230ms 14 8 23s347ms 2s918ms 16 5 13s627ms 2s725ms 17 11 33s696ms 3s63ms 18 3 6s918ms 2s306ms 19 11 37s514ms 3s410ms 20 16 50s655ms 3s165ms 21 3 4s990ms 1s663ms 22 7 17s333ms 2s476ms 23 5 18s188ms 3s637ms Feb 21 00 10 20s250ms 2s25ms 01 3 5s557ms 1s852ms 02 3 9s1ms 3s 03 9 25s117ms 2s790ms 04 9 20s882ms 2s320ms 05 20 52s790ms 2s639ms 06 5 13s663ms 2s732ms 07 6 15s552ms 2s592ms 08 3 5s372ms 1s790ms 09 3 6s552ms 2s184ms 10 11 23s968ms 2s178ms 11 7 17s467ms 2s495ms 12 5 17s911ms 3s582ms 13 7 17s404ms 2s486ms 14 6 15s867ms 2s644ms 15 5 12s492ms 2s498ms 16 2 5s839ms 2s919ms 17 8 22s932ms 2s866ms 18 11 26s12ms 2s364ms 19 5 11s106ms 2s221ms 20 10 22s215ms 2s221ms 21 8 18s794ms 2s349ms 22 8 22s152ms 2s769ms 23 7 17s290ms 2s470ms Feb 22 00 8 26s100ms 3s262ms 01 11 28s44ms 2s549ms 02 2 6s342ms 3s171ms 03 5 13s724ms 2s744ms 04 9 28s298ms 3s144ms 05 6 17s670ms 2s945ms 06 6 16s896ms 2s816ms 07 6 16s308ms 2s718ms 08 6 24s782ms 4s130ms 09 5 11s193ms 2s238ms 10 5 13s771ms 2s754ms 11 10 35s956ms 3s595ms 12 20 1m 3s9ms 13 10 26s352ms 2s635ms 14 2 7s989ms 3s994ms 15 11 27s446ms 2s495ms 16 6 13s400ms 2s233ms 17 8 22s588ms 2s823ms 18 10 22s121ms 2s212ms 19 13 38s662ms 2s974ms 20 12 32s984ms 2s748ms 21 6 14s193ms 2s365ms 22 16 40s431ms 2s526ms 23 22 51s290ms 2s331ms [ User: pubeu - Total duration: 9m48s - Times executed: 215 ]
-
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 = '1399342') 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 = '1399342') 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-02-20 05:07:44 Duration: 6s864ms 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 = '1437508') 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 = '1437508') 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-02-20 05:07:44 Duration: 6s431ms 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 = '1399342') 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 = '1399342') 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-02-19 20:48:43 Duration: 4s787ms Bind query: yes
7 25m43s 376 3s852ms 17s36ms 4s105ms 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 #7
Day Hour Count Duration Avg duration Feb 16 02 1 4s88ms 4s88ms 04 1 4s116ms 4s116ms 05 3 11s922ms 3s974ms 06 1 4s66ms 4s66ms 08 1 3s991ms 3s991ms 09 4 16s143ms 4s35ms 11 1 3s920ms 3s920ms 12 2 8s10ms 4s5ms 13 2 7s911ms 3s955ms 15 1 4s24ms 4s24ms 17 2 7s995ms 3s997ms 19 2 8s92ms 4s46ms 20 3 12s111ms 4s37ms 21 3 12s262ms 4s87ms 22 1 3s915ms 3s915ms Feb 17 00 1 4s104ms 4s104ms 01 3 12s397ms 4s132ms 03 2 8s432ms 4s216ms 04 2 8s218ms 4s109ms 05 4 16s48ms 4s12ms 06 4 16s72ms 4s18ms 07 3 12s706ms 4s235ms 09 2 8s240ms 4s120ms 10 1 4s16ms 4s16ms 11 2 8s372ms 4s186ms 12 1 4s115ms 4s115ms 16 2 7s978ms 3s989ms 19 2 8s101ms 4s50ms 20 1 5s709ms 5s709ms 21 1 3s959ms 3s959ms 22 1 3s998ms 3s998ms 23 2 8s128ms 4s64ms Feb 18 00 7 28s699ms 4s99ms 01 4 16s351ms 4s87ms 02 4 16s5ms 4s1ms 03 3 12s259ms 4s86ms 04 2 7s913ms 3s956ms 05 4 15s948ms 3s987ms 07 5 20s685ms 4s137ms 08 3 11s971ms 3s990ms 09 2 8s49ms 4s24ms 10 1 4s13ms 4s13ms 11 3 12s261ms 4s87ms 12 2 8s128ms 4s64ms 13 4 16s101ms 4s25ms 15 2 8s153ms 4s76ms 16 3 11s984ms 3s994ms 17 3 12s30ms 4s10ms 18 2 8s16ms 4s8ms 19 2 8s31ms 4s15ms 20 4 16s9ms 4s2ms 21 3 11s901ms 3s967ms 22 3 12s156ms 4s52ms 23 6 24s508ms 4s84ms Feb 19 01 5 20s177ms 4s35ms 02 8 33s927ms 4s240ms 03 3 11s930ms 3s976ms 05 8 32s461ms 4s57ms 06 1 4s87ms 4s87ms 08 1 4s177ms 4s177ms 09 3 12s232ms 4s77ms 10 1 4s33ms 4s33ms 11 1 4s466ms 4s466ms 12 4 16s245ms 4s61ms 13 1 3s867ms 3s867ms 14 1 4s105ms 4s105ms 15 1 4s185ms 4s185ms 16 1 4s151ms 4s151ms 17 2 8s117ms 4s58ms 19 1 4s17ms 4s17ms 20 4 16s430ms 4s107ms 21 3 12s480ms 4s160ms 22 1 4s93ms 4s93ms 23 5 20s411ms 4s82ms Feb 20 00 7 28s674ms 4s96ms 01 4 16s194ms 4s48ms 02 1 3s893ms 3s893ms 03 3 12s221ms 4s73ms 04 3 12s95ms 4s31ms 05 2 7s978ms 3s989ms 07 2 7s918ms 3s959ms 08 8 32s595ms 4s74ms 09 6 25s199ms 4s199ms 10 4 16s37ms 4s9ms 11 8 32s524ms 4s65ms 12 7 27s960ms 3s994ms 13 3 12s31ms 4s10ms 15 1 4s76ms 4s76ms 18 4 16s79ms 4s19ms 21 14 56s360ms 4s25ms 22 2 7s951ms 3s975ms Feb 21 00 1 3s990ms 3s990ms 01 2 8s435ms 4s217ms 03 4 16s276ms 4s69ms 05 10 40s138ms 4s13ms 06 1 4s57ms 4s57ms 09 1 4s13ms 4s13ms 10 6 23s879ms 3s979ms 11 5 20s312ms 4s62ms 12 1 4s257ms 4s257ms 13 1 4s1ms 4s1ms 14 2 8s61ms 4s30ms 15 1 4s2ms 4s2ms 18 1 3s984ms 3s984ms 19 2 8s5ms 4s2ms 20 2 7s934ms 3s967ms 22 2 7s973ms 3s986ms Feb 22 01 3 12s281ms 4s93ms 02 6 24s732ms 4s122ms 03 5 19s961ms 3s992ms 04 7 28s147ms 4s21ms 05 16 1m4s 4s28ms 06 8 49s643ms 6s205ms 07 5 20s896ms 4s179ms 08 1 4s17ms 4s17ms 10 2 8s48ms 4s24ms 11 2 8s201ms 4s100ms 12 2 7s882ms 3s941ms 13 6 24s35ms 4s5ms 14 1 4s65ms 4s65ms 17 1 4s290ms 4s290ms 20 1 4s48ms 4s48ms [ User: pubeu - Total duration: 8m42s - Times executed: 128 ]
-
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 = '1399342') 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 = '1399342') 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-02-22 06:55:58 Duration: 17s36ms 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 = '1343984') 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 = '1343984') 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-02-22 06:50:06 Duration: 5s769ms 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 = '1343984') 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 = '1343984') 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-02-19 02:26:24 Duration: 5s714ms Database: ctdprd51 User: pubeu Bind query: yes
8 24m18s 1 24m18s 24m18s 24m18s 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 #8
Day Hour Count Duration Avg duration Feb 22 19 1 24m18s 24m18s -
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-02-22 19:01:21 Duration: 24m18s
9 24m7s 1 24m7s 24m7s 24m7s 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 #9
Day Hour Count Duration Avg duration Feb 22 19 1 24m7s 24m7s -
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-02-22 19:44:19 Duration: 24m7s
10 23m16s 2 11m33s 11m42s 11m38s select 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 gcri.gene_id from dag_path pi inner join gene_chem_reference gcri on pi.descendant_object_id = gcri.chem_id inner join term ti on ti.id = pi.ancestor_object_id where upper(ti.nm) like ? and ti.object_type_id = ?) intersect ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ? union select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?)) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 21 13 2 23m16s 11m38s -
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 /* GAIQH.getChemWhereEquals.Name */ gcri.gene_id FROM dag_path pi INNER JOIN gene_chem_reference gcri ON pi.descendant_object_id = gcri.chem_id INNER JOIN term ti ON ti.id = pi.ancestor_object_id WHERE UPPER(ti.nm) LIKE 'DIFENOCONAZOLE' AND ti.object_type_id = 2) INTERSECT ( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '7955' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '7955' AND n.dag_id = 7) INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-21 13:36:03 Duration: 11m42s Bind query: yes
-
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 /* GAIQH.getChemWhereEquals.Name */ gcri.gene_id FROM dag_path pi INNER JOIN gene_chem_reference gcri ON pi.descendant_object_id = gcri.chem_id INNER JOIN term ti ON ti.id = pi.ancestor_object_id WHERE UPPER(ti.nm) LIKE 'DIFENOCONAZOLE' AND ti.object_type_id = 2) INTERSECT ( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '7955' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '7955' AND n.dag_id = 7) INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-21 13:41:01 Duration: 11m33s Bind query: yes
11 20m41s 25 49s112ms 50s380ms 49s654ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 16 06 1 50s87ms 50s87ms 10 1 49s112ms 49s112ms 14 1 49s241ms 49s241ms 18 1 49s277ms 49s277ms Feb 17 06 1 49s301ms 49s301ms 10 1 49s231ms 49s231ms 14 1 49s422ms 49s422ms 18 1 49s223ms 49s223ms Feb 18 06 1 49s629ms 49s629ms 10 1 49s309ms 49s309ms 14 1 49s288ms 49s288ms 18 1 49s464ms 49s464ms Feb 19 06 1 50s160ms 50s160ms 10 1 49s717ms 49s717ms 14 1 49s701ms 49s701ms 18 1 49s907ms 49s907ms Feb 20 06 1 50s58ms 50s58ms 10 1 49s871ms 49s871ms 14 1 49s982ms 49s982ms 18 1 49s863ms 49s863ms Feb 21 06 1 49s993ms 49s993ms 10 1 49s788ms 49s788ms 14 1 50s380ms 50s380ms 18 1 49s795ms 49s795ms Feb 22 19 1 49s540ms 49s540ms [ User: postgres - Total duration: 19m51s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 19m51s - 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-02-21 14:05:52 Duration: 50s380ms 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-02-19 06:05:52 Duration: 50s160ms 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-02-16 06:05:52 Duration: 50s87ms Database: ctdprd51 User: postgres Application: pg_dump
12 20m41s 166 1s24ms 25s454ms 7s477ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 16 10 1 1s310ms 1s310ms 15 1 1s141ms 1s141ms 22 1 1s296ms 1s296ms Feb 17 01 1 17s283ms 17s283ms 22 1 7s402ms 7s402ms 23 1 7s806ms 7s806ms Feb 18 02 1 1s944ms 1s944ms Feb 19 04 1 17s438ms 17s438ms 05 1 3s952ms 3s952ms 07 2 22s713ms 11s356ms 08 1 10s658ms 10s658ms 09 2 23s477ms 11s738ms 10 1 1s778ms 1s778ms 14 5 25s587ms 5s117ms 15 1 10s889ms 10s889ms 16 2 19s323ms 9s661ms 17 3 24s516ms 8s172ms 18 1 21s824ms 21s824ms 19 2 4s295ms 2s147ms 20 5 33s127ms 6s625ms 21 9 59s902ms 6s655ms 22 2 21s732ms 10s866ms Feb 20 00 4 27s189ms 6s797ms 01 3 17s463ms 5s821ms 02 2 45s697ms 22s848ms 06 2 6s177ms 3s88ms 07 2 6s572ms 3s286ms 08 3 7s720ms 2s573ms 09 2 22s842ms 11s421ms 10 4 22s301ms 5s575ms 11 2 23s170ms 11s585ms 12 2 3s151ms 1s575ms 14 3 6s425ms 2s141ms 15 2 12s323ms 6s161ms 16 7 1m46s 15s173ms 17 2 21s892ms 10s946ms 18 2 7s236ms 3s618ms 19 1 10s57ms 10s57ms 20 3 8s615ms 2s871ms 21 2 12s443ms 6s221ms 22 6 43s822ms 7s303ms 23 1 17s764ms 17s764ms Feb 21 00 2 25s163ms 12s581ms 01 1 2s24ms 2s24ms 02 2 15s121ms 7s560ms 03 1 1s847ms 1s847ms 06 2 22s245ms 11s122ms 07 2 3s270ms 1s635ms 09 1 1s497ms 1s497ms 11 1 17s459ms 17s459ms 13 1 7s791ms 7s791ms 16 2 2s880ms 1s440ms 17 2 3s330ms 1s665ms 18 2 4s798ms 2s399ms 19 2 6s607ms 3s303ms 20 1 21s172ms 21s172ms 21 1 21s 21s 22 1 22s36ms 22s36ms 23 1 3s683ms 3s683ms Feb 22 00 1 1s207ms 1s207ms 01 1 10s949ms 10s949ms 02 1 3s13ms 3s13ms 03 2 19s554ms 9s777ms 07 1 21s280ms 21s280ms 08 1 1s557ms 1s557ms 10 1 3s559ms 3s559ms 11 1 21s864ms 21s864ms 12 2 39s288ms 19s644ms 13 3 4s488ms 1s496ms 14 5 12s644ms 2s528ms 15 1 18s465ms 18s465ms 16 1 3s553ms 3s553ms 17 2 4s966ms 2s483ms 18 2 6s752ms 3s376ms 19 2 16s268ms 8s134ms 20 1 25s454ms 25s454ms 21 4 18s123ms 4s530ms 22 3 44s136ms 14s712ms 23 6 13s665ms 2s277ms [ User: pubeu - Total duration: 6m45s - Times executed: 48 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-22 20:19:09 Duration: 25s454ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-20 02:57:16 Duration: 24s131ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-20 16:39:32 Duration: 22s115ms Database: ctdprd51 User: pubeu Bind query: yes
13 14m35s 206 1s1ms 6s43ms 4s252ms 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 #13
Day Hour Count Duration Avg duration Feb 16 00 1 4s664ms 4s664ms 01 2 9s521ms 4s760ms 02 4 19s255ms 4s813ms 03 6 21s891ms 3s648ms 04 2 9s284ms 4s642ms 08 1 5s388ms 5s388ms 09 1 4s924ms 4s924ms 11 1 5s371ms 5s371ms 13 1 5s254ms 5s254ms 16 1 4s683ms 4s683ms 20 4 18s660ms 4s665ms 21 1 4s563ms 4s563ms Feb 17 01 2 5s690ms 2s845ms 04 2 9s394ms 4s697ms 08 1 4s545ms 4s545ms 11 2 10s349ms 5s174ms 12 1 5s404ms 5s404ms 16 1 1s5ms 1s5ms 22 6 22s267ms 3s711ms Feb 18 07 1 4s716ms 4s716ms 08 1 5s545ms 5s545ms 09 1 4s568ms 4s568ms 14 3 14s292ms 4s764ms 15 3 15s985ms 5s328ms 17 2 5s926ms 2s963ms 22 1 4s820ms 4s820ms 23 1 4s840ms 4s840ms Feb 19 01 1 5s198ms 5s198ms 02 1 4s784ms 4s784ms 03 2 9s501ms 4s750ms 04 2 5s979ms 2s989ms 05 8 32s381ms 4s47ms 07 3 15s217ms 5s72ms 10 3 11s53ms 3s684ms 12 4 15s822ms 3s955ms 13 1 4s950ms 4s950ms 17 1 4s982ms 4s982ms 18 4 21s352ms 5s338ms 19 1 1s23ms 1s23ms 20 2 2s36ms 1s18ms 21 1 5s170ms 5s170ms 23 1 5s268ms 5s268ms Feb 20 00 3 11s271ms 3s757ms 01 4 16s139ms 4s34ms 02 3 11s295ms 3s765ms 03 3 11s202ms 3s734ms 06 6 22s665ms 3s777ms 07 2 9s511ms 4s755ms 08 17 1m26s 5s72ms 09 1 5s262ms 5s262ms 10 3 6s898ms 2s299ms 11 2 5s758ms 2s879ms 12 1 5s437ms 5s437ms 13 1 4s694ms 4s694ms 15 1 1s46ms 1s46ms 18 2 10s100ms 5s50ms 20 1 4s739ms 4s739ms 21 1 5s208ms 5s208ms 22 2 2s48ms 1s24ms Feb 21 00 2 6s656ms 3s328ms 01 1 5s459ms 5s459ms 05 8 32s722ms 4s90ms 07 4 16s577ms 4s144ms 08 1 5s408ms 5s408ms 10 9 37s985ms 4s220ms 11 2 10s301ms 5s150ms 12 1 1s28ms 1s28ms 14 1 5s289ms 5s289ms 15 3 6s988ms 2s329ms 16 1 1s20ms 1s20ms 18 1 4s968ms 4s968ms 20 1 5s197ms 5s197ms Feb 22 01 2 10s248ms 5s124ms 02 1 5s108ms 5s108ms 04 2 5s856ms 2s928ms 05 1 4s911ms 4s911ms 07 2 9s896ms 4s948ms 09 3 14s625ms 4s875ms 11 1 4s896ms 4s896ms 12 5 21s102ms 4s220ms 13 3 14s585ms 4s861ms 14 1 5s76ms 5s76ms 17 1 5s247ms 5s247ms 18 1 5s169ms 5s169ms 20 3 16s268ms 5s422ms 21 2 6s106ms 3s53ms 22 1 5s245ms 5s245ms 23 1 4s966ms 4s966ms [ User: pubeu - Total duration: 4m9s - Times executed: 57 ]
-
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 = '1401438' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-22 20:07:17 Duration: 6s43ms 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 = '1338761' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-21 00:08:30 Duration: 5s649ms 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 = '1266526' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-20 08:17:16 Duration: 5s649ms Database: ctdprd51 User: pubeu Bind query: yes
14 13m58s 100 1s49ms 1m16s 8s389ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 16 12 1 1m3s 1m3s 19 1 1s312ms 1s312ms Feb 17 02 1 2s422ms 2s422ms 07 1 1s75ms 1s75ms 10 2 2s192ms 1s96ms 17 13 35s806ms 2s754ms 18 2 3s686ms 1s843ms 22 1 1s117ms 1s117ms Feb 18 01 4 18s434ms 4s608ms 02 3 4s361ms 1s453ms 03 6 9s344ms 1s557ms 05 2 2s216ms 1s108ms 07 1 43s609ms 43s609ms 08 2 46s820ms 23s410ms 21 1 1s78ms 1s78ms Feb 19 00 5 8s677ms 1s735ms 03 1 1s596ms 1s596ms 13 2 3s146ms 1s573ms 22 2 17s832ms 8s916ms Feb 20 00 1 15s385ms 15s385ms 02 1 1s884ms 1s884ms 03 4 30s208ms 7s552ms 08 2 28s13ms 14s6ms 09 4 54s766ms 13s691ms 17 1 2s966ms 2s966ms Feb 21 08 9 4m52s 32s500ms 09 5 7s849ms 1s569ms 12 4 4s619ms 1s154ms 13 1 14s851ms 14s851ms Feb 22 01 2 16s168ms 8s84ms 03 1 30s889ms 30s889ms 05 1 2s110ms 2s110ms 06 1 19s203ms 19s203ms 08 2 7s522ms 3s761ms 09 1 3s841ms 3s841ms 11 1 19s347ms 19s347ms 15 2 7s636ms 3s818ms 17 1 2s418ms 2s418ms 21 3 5s483ms 1s827ms 22 1 1s85ms 1s85ms 23 1 1s719ms 1s719ms [ User: pubeu - Total duration: 4m55s - Times executed: 39 ]
-
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 = '2093721') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-21 08:31:31 Duration: 1m16s 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 = '2081644') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-16 12:43:49 Duration: 1m3s 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 = '2086420') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-18 08:00:28 Duration: 43s641ms Database: ctdprd51 User: pubeu Bind query: yes
15 12m36s 507 1s457ms 1s834ms 1s492ms 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 #15
Day Hour Count Duration Avg duration Feb 16 04 1 1s497ms 1s497ms 05 3 4s448ms 1s482ms 07 1 1s469ms 1s469ms 10 1 1s491ms 1s491ms 11 2 2s983ms 1s491ms 12 1 1s461ms 1s461ms 13 1 1s457ms 1s457ms 14 1 1s475ms 1s475ms 15 1 1s471ms 1s471ms 20 1 1s469ms 1s469ms Feb 17 04 1 1s470ms 1s470ms 05 2 2s955ms 1s477ms 13 1 1s475ms 1s475ms Feb 18 05 2 2s968ms 1s484ms 06 1 1s480ms 1s480ms 09 1 1s461ms 1s461ms 12 1 1s460ms 1s460ms Feb 19 03 1 1s834ms 1s834ms 04 3 4s421ms 1s473ms 05 6 8s910ms 1s485ms 06 3 4s451ms 1s483ms 07 4 5s979ms 1s494ms 08 3 4s538ms 1s512ms 09 5 7s433ms 1s486ms 10 4 5s934ms 1s483ms 11 8 11s992ms 1s499ms 12 13 19s429ms 1s494ms 13 11 16s282ms 1s480ms 14 5 7s425ms 1s485ms 15 10 14s954ms 1s495ms 16 4 6s4ms 1s501ms 17 8 12s144ms 1s518ms 18 9 13s481ms 1s497ms 19 10 14s907ms 1s490ms 20 9 13s551ms 1s505ms 21 12 17s880ms 1s490ms 22 2 3s2ms 1s501ms 23 8 11s948ms 1s493ms Feb 20 00 11 16s614ms 1s510ms 01 7 10s452ms 1s493ms 02 9 13s405ms 1s489ms 03 5 7s484ms 1s496ms 04 1 1s490ms 1s490ms 05 2 3s83ms 1s541ms 06 1 1s497ms 1s497ms 07 4 5s931ms 1s482ms 08 6 8s941ms 1s490ms 09 5 7s489ms 1s497ms 10 7 10s515ms 1s502ms 11 5 7s418ms 1s483ms 12 6 8s963ms 1s493ms 13 5 7s410ms 1s482ms 14 7 10s421ms 1s488ms 15 3 4s453ms 1s484ms 16 8 11s984ms 1s498ms 17 10 14s901ms 1s490ms 18 10 14s829ms 1s482ms 19 5 7s408ms 1s481ms 20 9 13s372ms 1s485ms 21 2 3s57ms 1s528ms 22 2 2s972ms 1s486ms 23 7 10s396ms 1s485ms Feb 21 00 6 8s932ms 1s488ms 01 1 1s474ms 1s474ms 02 1 1s524ms 1s524ms 03 3 4s451ms 1s483ms 04 4 5s951ms 1s487ms 05 7 10s448ms 1s492ms 06 7 10s358ms 1s479ms 07 3 4s441ms 1s480ms 08 4 5s984ms 1s496ms 10 2 2s999ms 1s499ms 11 10 14s925ms 1s492ms 12 1 1s480ms 1s480ms 13 2 2s980ms 1s490ms 15 1 1s491ms 1s491ms 16 5 7s432ms 1s486ms 17 4 5s942ms 1s485ms 18 3 4s468ms 1s489ms 19 6 8s907ms 1s484ms 20 6 8s903ms 1s483ms 21 3 4s476ms 1s492ms 22 4 5s996ms 1s499ms 23 2 2s957ms 1s478ms Feb 22 00 1 1s503ms 1s503ms 01 6 8s946ms 1s491ms 02 8 11s931ms 1s491ms 03 5 7s558ms 1s511ms 04 3 4s474ms 1s491ms 05 8 11s921ms 1s490ms 06 2 3s4ms 1s502ms 07 7 10s653ms 1s521ms 08 6 8s945ms 1s490ms 09 3 4s465ms 1s488ms 10 4 5s979ms 1s494ms 11 4 5s917ms 1s479ms 12 2 2s969ms 1s484ms 13 7 10s362ms 1s480ms 14 6 8s926ms 1s487ms 15 6 8s925ms 1s487ms 16 7 10s446ms 1s492ms 17 3 4s452ms 1s484ms 18 11 16s320ms 1s483ms 19 5 7s540ms 1s508ms 20 4 5s949ms 1s487ms 21 4 6s5ms 1s501ms 22 6 8s859ms 1s476ms 23 7 10s359ms 1s479ms [ User: pubeu - Total duration: 3m8s - Times executed: 126 ]
-
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-02-19 03:08:28 Duration: 1s834ms Database: ctdprd51 User: pubeu 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-02-22 03:20:59 Duration: 1s649ms Database: ctdprd51 User: pubeu 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-02-22 07:41:14 Duration: 1s633ms Bind query: yes
16 12m6s 125 1s9ms 16s713ms 5s814ms 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 phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.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 Feb 17 21 1 3s864ms 3s864ms Feb 18 13 1 1s9ms 1s9ms Feb 19 03 1 5s250ms 5s250ms 05 2 3s953ms 1s976ms 06 1 1s101ms 1s101ms 08 1 16s146ms 16s146ms 09 1 16s93ms 16s93ms 11 1 4s393ms 4s393ms 12 2 3s641ms 1s820ms 13 1 2s463ms 2s463ms 14 1 5s723ms 5s723ms 15 4 23s143ms 5s785ms 16 3 28s206ms 9s402ms 17 4 21s991ms 5s497ms 18 2 4s426ms 2s213ms 19 3 5s369ms 1s789ms 21 1 2s295ms 2s295ms 22 1 2s819ms 2s819ms 23 3 17s613ms 5s871ms Feb 20 00 1 5s824ms 5s824ms 01 1 4s388ms 4s388ms 02 1 2s364ms 2s364ms 06 1 1s320ms 1s320ms 09 2 22s274ms 11s137ms 11 2 22s308ms 11s154ms 12 5 39s376ms 7s875ms 13 2 20s235ms 10s117ms 14 1 2s249ms 2s249ms 17 3 4s756ms 1s585ms 18 1 10s743ms 10s743ms 19 3 5s885ms 1s961ms 20 1 4s462ms 4s462ms 21 3 13s451ms 4s483ms 23 1 2s971ms 2s971ms Feb 21 00 1 1s965ms 1s965ms 01 1 16s430ms 16s430ms 02 1 16s181ms 16s181ms 04 1 3s910ms 3s910ms 07 2 20s302ms 10s151ms 08 1 16s424ms 16s424ms 10 1 4s372ms 4s372ms 11 2 3s665ms 1s832ms 12 1 1s143ms 1s143ms 14 1 16s623ms 16s623ms 15 1 1s172ms 1s172ms 18 5 21s423ms 4s284ms 21 2 3s684ms 1s842ms 23 1 10s875ms 10s875ms Feb 22 00 2 6s759ms 3s379ms 01 2 2s609ms 1s304ms 05 2 32s291ms 16s145ms 07 2 11s181ms 5s590ms 08 4 49s427ms 12s356ms 10 1 4s364ms 4s364ms 11 2 17s877ms 8s938ms 12 2 4s154ms 2s77ms 14 2 10s229ms 5s114ms 16 2 16s204ms 8s102ms 17 2 19s368ms 9s684ms 18 3 6s677ms 2s225ms 19 5 32s459ms 6s491ms 20 2 2s832ms 1s416ms 21 2 8s611ms 4s305ms 22 3 12s45ms 4s15ms 23 4 19s374ms 4s843ms [ User: pubeu - Total duration: 3m14s - Times executed: 30 ]
-
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 phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-22 11:55:04 Duration: 16s713ms 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 phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-21 14:08:29 Duration: 16s623ms 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 phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-21 01:28:56 Duration: 16s430ms Bind query: yes
17 12m 269 1s1ms 11s357ms 2s679ms 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 #17
Day Hour Count Duration Avg duration Feb 16 01 3 5s223ms 1s741ms 10 1 1s80ms 1s80ms 11 1 7s905ms 7s905ms 19 1 1s1ms 1s1ms 21 1 4s700ms 4s700ms 22 2 3s601ms 1s800ms Feb 17 00 1 2s400ms 2s400ms 02 1 1s228ms 1s228ms 05 1 2s669ms 2s669ms 07 2 4s604ms 2s302ms 09 2 5s861ms 2s930ms 10 1 2s786ms 2s786ms 11 2 3s666ms 1s833ms 12 1 2s675ms 2s675ms 13 1 3s75ms 3s75ms 14 2 4s617ms 2s308ms 16 1 1s605ms 1s605ms 17 1 2s407ms 2s407ms 19 3 8s301ms 2s767ms 21 3 6s954ms 2s318ms 23 2 3s998ms 1s999ms Feb 18 00 1 2s422ms 2s422ms 01 1 4s853ms 4s853ms 02 3 8s732ms 2s910ms 03 4 6s989ms 1s747ms 06 1 2s141ms 2s141ms 07 2 5s303ms 2s651ms 08 2 2s289ms 1s144ms 09 3 10s552ms 3s517ms 14 3 7s294ms 2s431ms 17 1 2s386ms 2s386ms 21 3 9s274ms 3s91ms 22 1 2s692ms 2s692ms 23 5 7s990ms 1s598ms Feb 19 00 1 2s499ms 2s499ms 02 3 10s722ms 3s574ms 03 1 3s101ms 3s101ms 05 1 2s93ms 2s93ms 10 1 1s616ms 1s616ms 11 4 23s656ms 5s914ms 12 5 12s768ms 2s553ms 13 1 8s407ms 8s407ms 15 2 5s701ms 2s850ms 16 2 8s311ms 4s155ms 17 4 5s385ms 1s346ms 18 3 10s450ms 3s483ms 19 3 3s243ms 1s81ms 20 6 19s485ms 3s247ms 21 3 5s189ms 1s729ms 22 5 8s219ms 1s643ms 23 2 11s652ms 5s826ms Feb 20 00 1 3s144ms 3s144ms 01 3 3s787ms 1s262ms 02 3 9s296ms 3s98ms 03 2 9s125ms 4s562ms 04 1 3s214ms 3s214ms 05 1 2s115ms 2s115ms 06 3 6s679ms 2s226ms 08 5 10s95ms 2s19ms 09 4 16s312ms 4s78ms 12 3 3s893ms 1s297ms 14 1 1s35ms 1s35ms 15 1 1s402ms 1s402ms 16 2 7s600ms 3s800ms 17 3 7s338ms 2s446ms 18 2 3s978ms 1s989ms 19 2 2s332ms 1s166ms 20 4 9s698ms 2s424ms 21 2 6s822ms 3s411ms 22 3 6s274ms 2s91ms 23 2 8s272ms 4s136ms Feb 21 00 1 1s161ms 1s161ms 01 1 2s155ms 2s155ms 02 4 7s392ms 1s848ms 03 2 5s822ms 2s911ms 04 2 8s618ms 4s309ms 07 2 4s965ms 2s482ms 08 4 10s65ms 2s516ms 09 2 3s841ms 1s920ms 10 2 3s242ms 1s621ms 11 3 7s614ms 2s538ms 12 1 2s620ms 2s620ms 13 1 1s58ms 1s58ms 15 1 1s451ms 1s451ms 16 1 1s758ms 1s758ms 17 2 3s475ms 1s737ms 18 1 6s287ms 6s287ms 19 3 10s769ms 3s589ms 20 5 17s273ms 3s454ms 21 2 4s1ms 2s 22 3 4s964ms 1s654ms 23 1 1s722ms 1s722ms Feb 22 00 2 3s546ms 1s773ms 01 3 3s304ms 1s101ms 02 5 14s946ms 2s989ms 03 3 13s476ms 4s492ms 04 2 3s833ms 1s916ms 05 2 12s210ms 6s105ms 06 1 2s162ms 2s162ms 07 3 9s433ms 3s144ms 08 3 4s147ms 1s382ms 09 2 2s657ms 1s328ms 10 3 6s308ms 2s102ms 11 6 11s530ms 1s921ms 13 6 16s216ms 2s702ms 14 1 1s543ms 1s543ms 15 3 6s322ms 2s107ms 16 2 5s859ms 2s929ms 17 3 11s133ms 3s711ms 18 2 9s273ms 4s636ms 19 1 1s197ms 1s197ms 20 3 5s151ms 1s717ms 21 5 23s253ms 4s650ms 22 3 16s982ms 5s660ms 23 3 7s789ms 2s596ms [ User: pubeu - Total duration: 3m23s - Times executed: 83 ]
-
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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-19 11:32:17 Duration: 11s357ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-19 20:37:58 Duration: 11s202ms 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 = '2085373') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-19 13:37:52 Duration: 8s407ms Bind query: yes
18 11m17s 525 1s163ms 1s818ms 1s290ms 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 #18
Day Hour Count Duration Avg duration Feb 16 00 1 1s253ms 1s253ms 01 12 15s495ms 1s291ms 02 6 7s709ms 1s284ms 03 2 2s589ms 1s294ms 04 7 9s329ms 1s332ms 05 6 7s729ms 1s288ms 06 2 2s629ms 1s314ms 07 3 3s791ms 1s263ms 08 2 2s456ms 1s228ms 09 6 7s700ms 1s283ms 10 1 1s188ms 1s188ms 11 2 2s702ms 1s351ms 12 6 7s790ms 1s298ms 13 3 3s772ms 1s257ms 14 4 5s292ms 1s323ms 15 3 3s796ms 1s265ms 16 8 9s978ms 1s247ms 17 4 5s85ms 1s271ms 18 5 6s258ms 1s251ms 19 5 6s263ms 1s252ms 20 6 7s542ms 1s257ms 22 2 2s518ms 1s259ms 23 3 3s699ms 1s233ms Feb 17 00 3 4s105ms 1s368ms 01 1 1s306ms 1s306ms 02 4 5s154ms 1s288ms 04 3 3s768ms 1s256ms 05 3 4s118ms 1s372ms 06 1 1s292ms 1s292ms 09 2 2s649ms 1s324ms 11 5 6s420ms 1s284ms 12 1 1s278ms 1s278ms 13 2 2s566ms 1s283ms 14 2 2s546ms 1s273ms 15 3 3s731ms 1s243ms 16 5 6s369ms 1s273ms 17 1 1s280ms 1s280ms 18 3 3s786ms 1s262ms 19 1 1s271ms 1s271ms 21 1 1s274ms 1s274ms 22 5 6s419ms 1s283ms 23 5 6s595ms 1s319ms Feb 18 00 4 5s165ms 1s291ms 02 1 1s208ms 1s208ms 03 2 2s629ms 1s314ms 04 1 1s199ms 1s199ms 05 2 2s869ms 1s434ms 06 2 2s439ms 1s219ms 07 3 3s841ms 1s280ms 08 3 3s963ms 1s321ms 09 4 5s177ms 1s294ms 10 4 5s162ms 1s290ms 11 2 2s550ms 1s275ms 12 2 2s444ms 1s222ms 13 2 2s643ms 1s321ms 14 1 1s219ms 1s219ms 15 9 11s321ms 1s257ms 16 2 2s425ms 1s212ms 18 1 1s291ms 1s291ms 19 1 1s170ms 1s170ms 20 1 1s308ms 1s308ms 21 1 1s292ms 1s292ms 22 1 1s309ms 1s309ms Feb 19 01 1 1s353ms 1s353ms 02 1 1s302ms 1s302ms 04 1 1s354ms 1s354ms 05 4 5s613ms 1s403ms 06 1 1s287ms 1s287ms 07 1 1s395ms 1s395ms 09 1 1s373ms 1s373ms 12 3 3s829ms 1s276ms 13 3 3s917ms 1s305ms 14 5 6s348ms 1s269ms 15 2 2s567ms 1s283ms 16 7 8s919ms 1s274ms 17 8 10s175ms 1s271ms 18 3 3s841ms 1s280ms 20 1 1s226ms 1s226ms 21 5 6s350ms 1s270ms 22 7 9s50ms 1s292ms 23 8 10s589ms 1s323ms Feb 20 00 8 10s446ms 1s305ms 01 4 5s191ms 1s297ms 02 2 2s576ms 1s288ms 03 5 7s486ms 1s497ms 04 7 9s961ms 1s423ms 05 6 8s74ms 1s345ms 06 2 2s535ms 1s267ms 07 4 5s112ms 1s278ms 08 2 2s545ms 1s272ms 09 2 2s574ms 1s287ms 10 3 3s881ms 1s293ms 11 3 3s912ms 1s304ms 12 4 5s318ms 1s329ms 14 4 5s93ms 1s273ms 15 2 2s540ms 1s270ms 17 10 12s830ms 1s283ms 18 1 1s267ms 1s267ms 19 1 1s202ms 1s202ms 20 3 3s737ms 1s245ms 21 3 3s853ms 1s284ms 22 1 1s324ms 1s324ms 23 4 5s385ms 1s346ms Feb 21 00 1 1s244ms 1s244ms 01 3 3s766ms 1s255ms 02 3 4s248ms 1s416ms 03 1 1s463ms 1s463ms 04 1 1s295ms 1s295ms 05 3 4s121ms 1s373ms 07 3 3s807ms 1s269ms 08 2 2s744ms 1s372ms 09 2 2s463ms 1s231ms 10 2 2s568ms 1s284ms 11 3 3s789ms 1s263ms 12 5 6s324ms 1s264ms 13 3 3s946ms 1s315ms 14 2 2s714ms 1s357ms 15 3 3s921ms 1s307ms 16 2 2s541ms 1s270ms 17 7 8s753ms 1s250ms 18 2 2s511ms 1s255ms 19 6 7s522ms 1s253ms 20 1 1s231ms 1s231ms 21 4 5s7ms 1s251ms 22 3 3s666ms 1s222ms 23 1 1s220ms 1s220ms Feb 22 00 10 13s34ms 1s303ms 01 3 3s810ms 1s270ms 02 1 1s291ms 1s291ms 03 7 9s86ms 1s298ms 04 4 5s7ms 1s251ms 05 5 6s592ms 1s318ms 06 2 2s487ms 1s243ms 07 6 7s575ms 1s262ms 08 4 5s240ms 1s310ms 09 7 8s986ms 1s283ms 10 7 8s854ms 1s264ms 11 9 11s694ms 1s299ms 12 2 2s557ms 1s278ms 13 11 13s829ms 1s257ms 14 6 7s619ms 1s269ms 15 2 2s486ms 1s243ms 16 4 5s116ms 1s279ms 17 5 6s302ms 1s260ms 18 2 2s529ms 1s264ms 19 3 3s721ms 1s240ms 20 5 6s542ms 1s308ms 21 6 7s747ms 1s291ms 22 3 3s919ms 1s306ms 23 6 7s890ms 1s315ms [ User: pubeu - Total duration: 2m48s - Times executed: 129 ]
[ User: qaeu - Total duration: 6s830ms - Times executed: 5 ]
-
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 = '1264086') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1264086') 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-02-20 03:49:07 Duration: 1s818ms 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 = '1236593') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1236593') 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-02-20 03:36:21 Duration: 1s610ms 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 = '1253456') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1253456') 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-02-22 11:51:23 Duration: 1s595ms Bind query: yes
19 10m35s 389 1s106ms 2s240ms 1s634ms 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 #19
Day Hour Count Duration Avg duration Feb 16 03 1 1s871ms 1s871ms 14 1 1s284ms 1s284ms 19 1 1s907ms 1s907ms 20 1 1s864ms 1s864ms 21 1 1s244ms 1s244ms Feb 17 00 2 3s89ms 1s544ms 22 1 1s848ms 1s848ms Feb 18 02 1 1s299ms 1s299ms Feb 19 05 2 3s123ms 1s561ms 06 1 1s302ms 1s302ms 07 4 7s478ms 1s869ms 08 1 1s860ms 1s860ms 09 3 4s498ms 1s499ms 10 9 13s805ms 1s533ms 11 5 8s212ms 1s642ms 12 7 10s815ms 1s545ms 13 5 6s398ms 1s279ms 14 9 12s189ms 1s354ms 15 6 10s588ms 1s764ms 16 6 10s565ms 1s760ms 17 6 10s142ms 1s690ms 18 4 5s713ms 1s428ms 19 11 18s645ms 1s695ms 20 11 18s242ms 1s658ms 21 10 16s198ms 1s619ms 22 4 6s994ms 1s748ms 23 9 14s562ms 1s618ms Feb 20 00 4 6s905ms 1s726ms 01 3 4s478ms 1s492ms 02 4 7s467ms 1s866ms 03 2 2s537ms 1s268ms 04 1 1s880ms 1s880ms 05 5 7s713ms 1s542ms 07 3 4s958ms 1s652ms 08 1 1s253ms 1s253ms 09 9 15s674ms 1s741ms 10 2 3s681ms 1s840ms 11 5 8s142ms 1s628ms 12 3 4s453ms 1s484ms 13 2 3s118ms 1s559ms 14 4 6s324ms 1s581ms 15 2 3s174ms 1s587ms 16 5 8s772ms 1s754ms 17 5 8s799ms 1s759ms 18 1 1s286ms 1s286ms 19 1 1s871ms 1s871ms 20 4 6s859ms 1s714ms 21 2 3s713ms 1s856ms 22 3 3s833ms 1s277ms 23 3 4s398ms 1s466ms Feb 21 00 1 1s267ms 1s267ms 01 1 1s288ms 1s288ms 02 3 5s609ms 1s869ms 03 7 11s401ms 1s628ms 04 3 5s632ms 1s877ms 05 2 3s709ms 1s854ms 06 3 4s970ms 1s656ms 07 4 6s280ms 1s570ms 08 1 1s850ms 1s850ms 10 4 7s486ms 1s871ms 11 6 9s443ms 1s573ms 12 6 8s917ms 1s486ms 13 2 3s788ms 1s894ms 15 6 10s630ms 1s771ms 16 2 3s157ms 1s578ms 17 2 3s128ms 1s564ms 18 6 10s29ms 1s671ms 19 6 9s421ms 1s570ms 20 5 8s150ms 1s630ms 21 3 4s376ms 1s458ms 22 4 6s891ms 1s722ms 23 7 12s964ms 1s852ms Feb 22 00 5 8s401ms 1s680ms 01 6 10s116ms 1s686ms 02 1 1s299ms 1s299ms 03 3 4s944ms 1s648ms 04 4 5s788ms 1s447ms 05 1 1s255ms 1s255ms 06 5 8s170ms 1s634ms 07 2 3s706ms 1s853ms 08 5 7s559ms 1s511ms 09 6 10s98ms 1s683ms 10 9 15s17ms 1s668ms 11 4 6s272ms 1s568ms 12 5 8s144ms 1s628ms 13 2 3s752ms 1s876ms 14 8 12s556ms 1s569ms 15 2 3s690ms 1s845ms 16 3 3s794ms 1s264ms 18 4 7s394ms 1s848ms 19 5 8s876ms 1s775ms 20 9 15s108ms 1s678ms 21 10 16s295ms 1s629ms 22 4 6s861ms 1s715ms 23 6 9s389ms 1s564ms [ User: pubeu - Total duration: 2m44s - Times executed: 99 ]
-
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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-20 05:07:37 Duration: 2s240ms 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-22 00:14:47 Duration: 2s63ms 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-22 19:36:43 Duration: 1s999ms Bind query: yes
20 9m47s 218 1s3ms 5s985ms 2s695ms 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 #20
Day Hour Count Duration Avg duration Feb 16 13 1 1s79ms 1s79ms Feb 18 21 1 2s69ms 2s69ms Feb 19 03 1 1s280ms 1s280ms 06 2 6s179ms 3s89ms 08 1 1s83ms 1s83ms 09 2 5s453ms 2s726ms 10 2 4s885ms 2s442ms 11 2 4s455ms 2s227ms 12 5 12s347ms 2s469ms 13 6 15s533ms 2s588ms 14 4 8s663ms 2s165ms 15 3 5s340ms 1s780ms 16 3 6s542ms 2s180ms 17 5 11s83ms 2s216ms 18 3 5s221ms 1s740ms 19 6 11s614ms 1s935ms 20 5 8s732ms 1s746ms 21 6 20s540ms 3s423ms 22 2 8s737ms 4s368ms 23 6 21s474ms 3s579ms Feb 20 00 3 8s610ms 2s870ms 01 4 9s877ms 2s469ms 02 3 6s133ms 2s44ms 03 1 1s518ms 1s518ms 07 2 4s892ms 2s446ms 08 2 8s454ms 4s227ms 09 5 15s952ms 3s190ms 10 2 4s828ms 2s414ms 11 4 12s156ms 3s39ms 12 2 3s670ms 1s835ms 13 1 1s664ms 1s664ms 15 3 4s981ms 1s660ms 16 1 1s535ms 1s535ms 17 1 2s683ms 2s683ms 18 2 3s185ms 1s592ms 19 2 5s393ms 2s696ms 20 1 5s722ms 5s722ms 22 5 16s234ms 3s246ms 23 4 8s228ms 2s57ms Feb 21 00 1 2s693ms 2s693ms 01 1 1s42ms 1s42ms 02 1 3s826ms 3s826ms 03 1 2s335ms 2s335ms 04 3 10s825ms 3s608ms 05 3 4s824ms 1s608ms 07 2 3s230ms 1s615ms 08 4 9s869ms 2s467ms 09 2 4s274ms 2s137ms 10 2 8s167ms 4s83ms 11 2 3s760ms 1s880ms 12 5 15s804ms 3s160ms 14 1 3s419ms 3s419ms 16 2 7s14ms 3s507ms 18 2 4s295ms 2s147ms 19 2 4s883ms 2s441ms 20 4 7s437ms 1s859ms 22 1 5s836ms 5s836ms 23 2 4s206ms 2s103ms Feb 22 00 1 5s873ms 5s873ms 01 1 1s4ms 1s4ms 02 1 2s737ms 2s737ms 03 6 13s418ms 2s236ms 04 2 8s43ms 4s21ms 05 3 17s564ms 5s854ms 06 5 14s666ms 2s933ms 07 3 10s823ms 3s607ms 08 3 6s492ms 2s164ms 09 2 6s176ms 3s88ms 10 3 9s643ms 3s214ms 11 6 17s704ms 2s950ms 12 2 8s525ms 4s262ms 13 3 9s514ms 3s171ms 14 1 2s743ms 2s743ms 15 1 2s229ms 2s229ms 16 3 6s362ms 2s120ms 17 2 8s30ms 4s15ms 18 1 2s723ms 2s723ms 19 1 1s624ms 1s624ms 20 3 11s230ms 3s743ms 21 1 2s90ms 2s90ms 22 4 12s858ms 3s214ms 23 5 9s688ms 1s937ms [ User: pubeu - Total duration: 2m39s - Times executed: 56 ]
-
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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-20 09:11:41 Duration: 5s985ms 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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-19 22:11:21 Duration: 5s974ms 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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-19 23:04:40 Duration: 5s938ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,572 50m38s 1s54ms 1s763ms 1s181ms 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 #1
Day Hour Count Duration Avg duration Feb 16 00 1 1s204ms 1s204ms 01 25 30s723ms 1s228ms 02 12 14s377ms 1s198ms 03 8 9s547ms 1s193ms 04 9 10s731ms 1s192ms 05 6 7s195ms 1s199ms 06 4 4s806ms 1s201ms 07 5 5s895ms 1s179ms 08 7 8s352ms 1s193ms 09 4 4s764ms 1s191ms 10 5 6s24ms 1s204ms 11 9 10s617ms 1s179ms 12 8 9s228ms 1s153ms 13 6 7s135ms 1s189ms 14 5 5s891ms 1s178ms 15 4 4s730ms 1s182ms 16 18 20s738ms 1s152ms 17 8 9s586ms 1s198ms 18 8 9s479ms 1s184ms 19 20 22s892ms 1s144ms 20 6 6s965ms 1s160ms 21 5 5s488ms 1s97ms 22 6 7s12ms 1s168ms 23 6 6s771ms 1s128ms Feb 17 00 1 1s223ms 1s223ms 01 16 18s801ms 1s175ms 02 6 7s380ms 1s230ms 03 8 9s388ms 1s173ms 04 16 18s537ms 1s158ms 05 3 3s868ms 1s289ms 06 4 4s548ms 1s137ms 07 5 5s885ms 1s177ms 08 5 6s94ms 1s218ms 09 10 11s746ms 1s174ms 11 11 12s825ms 1s165ms 12 3 3s402ms 1s134ms 13 5 5s974ms 1s194ms 14 19 22s314ms 1s174ms 15 9 10s101ms 1s122ms 16 10 11s782ms 1s178ms 17 12 13s845ms 1s153ms 18 24 27s765ms 1s156ms 19 5 5s876ms 1s175ms 20 11 12s658ms 1s150ms 21 7 8s194ms 1s170ms 22 8 9s517ms 1s189ms 23 13 15s317ms 1s178ms Feb 18 00 18 21s128ms 1s173ms 01 1 1s192ms 1s192ms 02 6 7s284ms 1s214ms 03 26 30s727ms 1s181ms 04 5 5s856ms 1s171ms 05 2 2s607ms 1s303ms 06 8 9s527ms 1s190ms 07 27 32s202ms 1s192ms 08 10 11s510ms 1s151ms 09 17 20s456ms 1s203ms 10 7 8s165ms 1s166ms 11 9 10s494ms 1s166ms 12 13 14s980ms 1s152ms 13 4 4s671ms 1s167ms 14 7 8s334ms 1s190ms 15 24 28s93ms 1s170ms 16 17 19s609ms 1s153ms 17 8 9s200ms 1s150ms 18 4 4s663ms 1s165ms 19 17 19s634ms 1s154ms 20 5 5s647ms 1s129ms 21 7 8s80ms 1s154ms 22 11 13s263ms 1s205ms 23 5 6s143ms 1s228ms Feb 19 00 1 1s163ms 1s163ms 01 4 4s789ms 1s197ms 02 3 3s571ms 1s190ms 03 1 1s535ms 1s535ms 04 2 2s274ms 1s137ms 05 10 12s424ms 1s242ms 06 9 10s867ms 1s207ms 07 12 14s65ms 1s172ms 08 10 11s661ms 1s166ms 09 10 11s999ms 1s199ms 10 24 29s49ms 1s210ms 11 15 17s606ms 1s173ms 12 28 32s923ms 1s175ms 13 28 32s693ms 1s167ms 14 24 28s417ms 1s184ms 15 9 10s708ms 1s189ms 16 18 21s52ms 1s169ms 17 18 21s133ms 1s174ms 18 26 30s527ms 1s174ms 19 17 20s132ms 1s184ms 20 36 42s263ms 1s173ms 21 32 37s407ms 1s168ms 22 31 37s285ms 1s202ms 23 38 45s562ms 1s199ms Feb 20 00 35 42s42ms 1s201ms 01 30 35s960ms 1s198ms 02 24 28s726ms 1s196ms 03 22 27s288ms 1s240ms 04 15 18s241ms 1s216ms 05 9 11s347ms 1s260ms 06 16 19s92ms 1s193ms 07 24 28s112ms 1s171ms 08 21 25s99ms 1s195ms 09 32 37s921ms 1s185ms 10 22 26s96ms 1s186ms 11 22 26s875ms 1s221ms 12 21 24s805ms 1s181ms 13 12 14s243ms 1s186ms 14 17 19s936ms 1s172ms 15 7 8s192ms 1s170ms 16 27 31s774ms 1s176ms 17 28 32s640ms 1s165ms 18 12 14s252ms 1s187ms 19 12 14s96ms 1s174ms 20 23 27s66ms 1s176ms 21 15 17s944ms 1s196ms 22 14 16s701ms 1s192ms 23 12 14s532ms 1s211ms Feb 21 00 9 10s707ms 1s189ms 01 10 12s21ms 1s202ms 02 24 28s554ms 1s189ms 03 13 15s422ms 1s186ms 04 6 7s135ms 1s189ms 05 13 15s610ms 1s200ms 06 7 8s424ms 1s203ms 07 11 12s764ms 1s160ms 08 7 8s456ms 1s208ms 09 8 9s396ms 1s174ms 10 9 10s459ms 1s162ms 11 25 29s192ms 1s167ms 12 32 37s775ms 1s180ms 13 8 9s439ms 1s179ms 14 15 18s674ms 1s244ms 15 22 26s104ms 1s186ms 16 18 21s299ms 1s183ms 17 11 12s919ms 1s174ms 18 16 18s719ms 1s169ms 19 22 25s789ms 1s172ms 20 9 10s385ms 1s153ms 21 25 28s833ms 1s153ms 22 29 34s369ms 1s185ms 23 17 20s103ms 1s182ms Feb 22 00 35 41s92ms 1s174ms 01 32 37s492ms 1s171ms 02 18 21s30ms 1s168ms 03 26 30s732ms 1s182ms 04 46 54s687ms 1s188ms 05 27 32s71ms 1s187ms 06 18 21s147ms 1s174ms 07 51 59s613ms 1s168ms 08 17 19s810ms 1s165ms 09 22 25s882ms 1s176ms 10 22 25s919ms 1s178ms 11 39 45s432ms 1s164ms 12 22 25s838ms 1s174ms 13 29 33s991ms 1s172ms 14 25 29s285ms 1s171ms 15 24 27s877ms 1s161ms 16 32 37s174ms 1s161ms 17 12 14s16ms 1s168ms 18 33 38s210ms 1s157ms 19 24 27s566ms 1s148ms 20 25 30s14ms 1s200ms 21 30 36s359ms 1s211ms 22 26 31s19ms 1s193ms 23 29 34s758ms 1s198ms [ User: pubeu - Total duration: 13m18s - Times executed: 675 ]
-
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 = '2039255' or receptorTerm.id = '2039255' 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-02-16 01:17:21 Duration: 1s763ms 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 = '1642341' or receptorTerm.id = '1642341' 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-02-21 14:04:23 Duration: 1s663ms 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 = '2066169' or receptorTerm.id = '2066169' 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-02-21 14:01:38 Duration: 1s541ms Bind query: yes
2 945 50m45s 1s237ms 9s523ms 3s222ms 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 #2
Day Hour Count Duration Avg duration Feb 16 00 1 1s953ms 1s953ms 02 1 2s8ms 2s8ms 03 6 17s445ms 2s907ms 05 1 6s390ms 6s390ms 10 1 6s113ms 6s113ms 11 1 3s251ms 3s251ms 12 1 1s969ms 1s969ms 14 1 1s371ms 1s371ms 16 1 1s239ms 1s239ms 20 5 14s152ms 2s830ms 22 1 6s308ms 6s308ms Feb 17 02 1 3s502ms 3s502ms 03 1 2s851ms 2s851ms 16 2 5s330ms 2s665ms 22 6 16s404ms 2s734ms Feb 18 01 1 1s380ms 1s380ms 10 1 2s829ms 2s829ms 11 1 5s914ms 5s914ms 18 1 6s206ms 6s206ms 21 1 3s305ms 3s305ms Feb 19 01 1 2s192ms 2s192ms 05 6 17s834ms 2s972ms 06 1 2s45ms 2s45ms 07 4 11s104ms 2s776ms 08 11 48s168ms 4s378ms 09 15 47s786ms 3s185ms 10 18 50s506ms 2s805ms 11 9 26s740ms 2s971ms 12 15 53s859ms 3s590ms 13 13 42s856ms 3s296ms 14 20 1m6s 3s327ms 15 19 59s709ms 3s142ms 16 15 46s698ms 3s113ms 17 16 40s390ms 2s524ms 18 17 1m2s 3s670ms 19 14 45s605ms 3s257ms 20 15 39s639ms 2s642ms 21 20 1m2s 3s124ms 22 17 53s855ms 3s167ms 23 13 52s480ms 4s36ms Feb 20 00 20 1m2s 3s103ms 01 20 59s993ms 2s999ms 02 7 15s646ms 2s235ms 03 4 14s755ms 3s688ms 04 2 6s404ms 3s202ms 05 7 35s899ms 5s128ms 06 3 11s377ms 3s792ms 07 1 2s198ms 2s198ms 08 11 34s74ms 3s97ms 09 12 44s860ms 3s738ms 10 6 13s845ms 2s307ms 11 4 17s137ms 4s284ms 12 7 19s177ms 2s739ms 13 12 31s640ms 2s636ms 14 7 26s906ms 3s843ms 15 6 18s981ms 3s163ms 16 9 18s751ms 2s83ms 17 12 30s346ms 2s528ms 18 13 42s600ms 3s276ms 19 16 52s826ms 3s301ms 20 13 35s972ms 2s767ms 21 14 46s111ms 3s293ms 22 13 40s220ms 3s93ms 23 6 24s374ms 4s62ms Feb 21 00 7 28s189ms 4s27ms 01 5 18s592ms 3s718ms 02 4 24s967ms 6s241ms 03 5 21s455ms 4s291ms 04 4 8s387ms 2s96ms 05 20 1m13s 3s655ms 06 8 22s179ms 2s772ms 07 12 36s139ms 3s11ms 08 1 2s62ms 2s62ms 09 3 9s821ms 3s273ms 10 6 21s180ms 3s530ms 11 8 31s696ms 3s962ms 12 10 28s454ms 2s845ms 13 4 12s244ms 3s61ms 14 6 19s339ms 3s223ms 15 5 18s348ms 3s669ms 16 3 4s726ms 1s575ms 17 8 29s524ms 3s690ms 18 6 29s844ms 4s974ms 19 9 23s817ms 2s646ms 20 13 35s612ms 2s739ms 21 12 28s306ms 2s358ms 22 11 28s8ms 2s546ms 23 7 27s507ms 3s929ms Feb 22 00 8 21s229ms 2s653ms 01 10 34s805ms 3s480ms 02 7 16s443ms 2s349ms 03 11 36s46ms 3s276ms 04 6 26s190ms 4s365ms 05 12 34s872ms 2s906ms 06 6 14s533ms 2s422ms 07 8 27s788ms 3s473ms 08 8 24s952ms 3s119ms 09 4 11s894ms 2s973ms 10 8 20s663ms 2s582ms 11 13 37s505ms 2s885ms 12 13 40s159ms 3s89ms 13 7 29s62ms 4s151ms 14 9 21s427ms 2s380ms 15 11 30s724ms 2s793ms 16 13 45s32ms 3s464ms 17 8 27s416ms 3s427ms 18 7 22s692ms 3s241ms 19 14 44s636ms 3s188ms 20 16 1m9s 4s354ms 21 13 59s845ms 4s603ms 22 12 27s538ms 2s294ms 23 25 1m27s 3s495ms [ User: pubeu - Total duration: 13m14s - Times executed: 239 ]
-
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 = '1399342'))) 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-02-20 05:07:44 Duration: 9s523ms 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 = '1399342'))) 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-02-21 10:56:45 Duration: 6s971ms 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 = '1399342'))) 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-02-22 21:44:26 Duration: 6s742ms Bind query: yes
3 825 36m32s 1s1ms 6s864ms 2s657ms 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 Feb 16 00 1 1s53ms 1s53ms 03 8 18s532ms 2s316ms 05 1 3s242ms 3s242ms 08 1 2s548ms 2s548ms 11 2 2s613ms 1s306ms 14 1 1s15ms 1s15ms 20 9 20s177ms 2s241ms 22 1 3s397ms 3s397ms Feb 17 02 1 1s140ms 1s140ms 03 1 2s175ms 2s175ms 06 1 1s253ms 1s253ms 10 1 1s15ms 1s15ms 11 1 3s393ms 3s393ms 14 1 3s303ms 3s303ms 22 9 20s205ms 2s245ms Feb 18 17 1 2s327ms 2s327ms 23 1 1s146ms 1s146ms Feb 19 01 1 1s173ms 1s173ms 02 1 3s265ms 3s265ms 04 3 5s626ms 1s875ms 05 10 21s467ms 2s146ms 06 3 9s529ms 3s176ms 07 1 1s192ms 1s192ms 08 5 10s953ms 2s190ms 09 13 32s785ms 2s521ms 10 9 23s534ms 2s614ms 11 6 15s797ms 2s632ms 12 10 25s518ms 2s551ms 13 12 33s424ms 2s785ms 14 19 39s696ms 2s89ms 15 20 1m5s 3s295ms 16 11 23s760ms 2s160ms 17 19 49s293ms 2s594ms 18 11 32s519ms 2s956ms 19 20 50s744ms 2s537ms 20 10 29s834ms 2s983ms 21 13 44s79ms 3s390ms 22 21 51s281ms 2s441ms 23 12 31s351ms 2s612ms Feb 20 00 13 34s832ms 2s679ms 01 8 22s837ms 2s854ms 02 12 35s821ms 2s985ms 03 7 19s943ms 2s849ms 05 9 33s489ms 3s721ms 06 4 6s373ms 1s593ms 07 4 10s380ms 2s595ms 08 6 16s151ms 2s691ms 09 8 16s705ms 2s88ms 10 8 24s460ms 3s57ms 11 7 22s418ms 3s202ms 12 3 6s507ms 2s169ms 13 10 22s309ms 2s230ms 14 8 23s347ms 2s918ms 16 5 13s627ms 2s725ms 17 11 33s696ms 3s63ms 18 3 6s918ms 2s306ms 19 11 37s514ms 3s410ms 20 16 50s655ms 3s165ms 21 3 4s990ms 1s663ms 22 7 17s333ms 2s476ms 23 5 18s188ms 3s637ms Feb 21 00 10 20s250ms 2s25ms 01 3 5s557ms 1s852ms 02 3 9s1ms 3s 03 9 25s117ms 2s790ms 04 9 20s882ms 2s320ms 05 20 52s790ms 2s639ms 06 5 13s663ms 2s732ms 07 6 15s552ms 2s592ms 08 3 5s372ms 1s790ms 09 3 6s552ms 2s184ms 10 11 23s968ms 2s178ms 11 7 17s467ms 2s495ms 12 5 17s911ms 3s582ms 13 7 17s404ms 2s486ms 14 6 15s867ms 2s644ms 15 5 12s492ms 2s498ms 16 2 5s839ms 2s919ms 17 8 22s932ms 2s866ms 18 11 26s12ms 2s364ms 19 5 11s106ms 2s221ms 20 10 22s215ms 2s221ms 21 8 18s794ms 2s349ms 22 8 22s152ms 2s769ms 23 7 17s290ms 2s470ms Feb 22 00 8 26s100ms 3s262ms 01 11 28s44ms 2s549ms 02 2 6s342ms 3s171ms 03 5 13s724ms 2s744ms 04 9 28s298ms 3s144ms 05 6 17s670ms 2s945ms 06 6 16s896ms 2s816ms 07 6 16s308ms 2s718ms 08 6 24s782ms 4s130ms 09 5 11s193ms 2s238ms 10 5 13s771ms 2s754ms 11 10 35s956ms 3s595ms 12 20 1m 3s9ms 13 10 26s352ms 2s635ms 14 2 7s989ms 3s994ms 15 11 27s446ms 2s495ms 16 6 13s400ms 2s233ms 17 8 22s588ms 2s823ms 18 10 22s121ms 2s212ms 19 13 38s662ms 2s974ms 20 12 32s984ms 2s748ms 21 6 14s193ms 2s365ms 22 16 40s431ms 2s526ms 23 22 51s290ms 2s331ms [ User: pubeu - Total duration: 9m48s - Times executed: 215 ]
-
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 = '1399342') 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 = '1399342') 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-02-20 05:07:44 Duration: 6s864ms 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 = '1437508') 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 = '1437508') 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-02-20 05:07:44 Duration: 6s431ms 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 = '1399342') 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 = '1399342') 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-02-19 20:48:43 Duration: 4s787ms Bind query: yes
4 525 11m17s 1s163ms 1s818ms 1s290ms 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 #4
Day Hour Count Duration Avg duration Feb 16 00 1 1s253ms 1s253ms 01 12 15s495ms 1s291ms 02 6 7s709ms 1s284ms 03 2 2s589ms 1s294ms 04 7 9s329ms 1s332ms 05 6 7s729ms 1s288ms 06 2 2s629ms 1s314ms 07 3 3s791ms 1s263ms 08 2 2s456ms 1s228ms 09 6 7s700ms 1s283ms 10 1 1s188ms 1s188ms 11 2 2s702ms 1s351ms 12 6 7s790ms 1s298ms 13 3 3s772ms 1s257ms 14 4 5s292ms 1s323ms 15 3 3s796ms 1s265ms 16 8 9s978ms 1s247ms 17 4 5s85ms 1s271ms 18 5 6s258ms 1s251ms 19 5 6s263ms 1s252ms 20 6 7s542ms 1s257ms 22 2 2s518ms 1s259ms 23 3 3s699ms 1s233ms Feb 17 00 3 4s105ms 1s368ms 01 1 1s306ms 1s306ms 02 4 5s154ms 1s288ms 04 3 3s768ms 1s256ms 05 3 4s118ms 1s372ms 06 1 1s292ms 1s292ms 09 2 2s649ms 1s324ms 11 5 6s420ms 1s284ms 12 1 1s278ms 1s278ms 13 2 2s566ms 1s283ms 14 2 2s546ms 1s273ms 15 3 3s731ms 1s243ms 16 5 6s369ms 1s273ms 17 1 1s280ms 1s280ms 18 3 3s786ms 1s262ms 19 1 1s271ms 1s271ms 21 1 1s274ms 1s274ms 22 5 6s419ms 1s283ms 23 5 6s595ms 1s319ms Feb 18 00 4 5s165ms 1s291ms 02 1 1s208ms 1s208ms 03 2 2s629ms 1s314ms 04 1 1s199ms 1s199ms 05 2 2s869ms 1s434ms 06 2 2s439ms 1s219ms 07 3 3s841ms 1s280ms 08 3 3s963ms 1s321ms 09 4 5s177ms 1s294ms 10 4 5s162ms 1s290ms 11 2 2s550ms 1s275ms 12 2 2s444ms 1s222ms 13 2 2s643ms 1s321ms 14 1 1s219ms 1s219ms 15 9 11s321ms 1s257ms 16 2 2s425ms 1s212ms 18 1 1s291ms 1s291ms 19 1 1s170ms 1s170ms 20 1 1s308ms 1s308ms 21 1 1s292ms 1s292ms 22 1 1s309ms 1s309ms Feb 19 01 1 1s353ms 1s353ms 02 1 1s302ms 1s302ms 04 1 1s354ms 1s354ms 05 4 5s613ms 1s403ms 06 1 1s287ms 1s287ms 07 1 1s395ms 1s395ms 09 1 1s373ms 1s373ms 12 3 3s829ms 1s276ms 13 3 3s917ms 1s305ms 14 5 6s348ms 1s269ms 15 2 2s567ms 1s283ms 16 7 8s919ms 1s274ms 17 8 10s175ms 1s271ms 18 3 3s841ms 1s280ms 20 1 1s226ms 1s226ms 21 5 6s350ms 1s270ms 22 7 9s50ms 1s292ms 23 8 10s589ms 1s323ms Feb 20 00 8 10s446ms 1s305ms 01 4 5s191ms 1s297ms 02 2 2s576ms 1s288ms 03 5 7s486ms 1s497ms 04 7 9s961ms 1s423ms 05 6 8s74ms 1s345ms 06 2 2s535ms 1s267ms 07 4 5s112ms 1s278ms 08 2 2s545ms 1s272ms 09 2 2s574ms 1s287ms 10 3 3s881ms 1s293ms 11 3 3s912ms 1s304ms 12 4 5s318ms 1s329ms 14 4 5s93ms 1s273ms 15 2 2s540ms 1s270ms 17 10 12s830ms 1s283ms 18 1 1s267ms 1s267ms 19 1 1s202ms 1s202ms 20 3 3s737ms 1s245ms 21 3 3s853ms 1s284ms 22 1 1s324ms 1s324ms 23 4 5s385ms 1s346ms Feb 21 00 1 1s244ms 1s244ms 01 3 3s766ms 1s255ms 02 3 4s248ms 1s416ms 03 1 1s463ms 1s463ms 04 1 1s295ms 1s295ms 05 3 4s121ms 1s373ms 07 3 3s807ms 1s269ms 08 2 2s744ms 1s372ms 09 2 2s463ms 1s231ms 10 2 2s568ms 1s284ms 11 3 3s789ms 1s263ms 12 5 6s324ms 1s264ms 13 3 3s946ms 1s315ms 14 2 2s714ms 1s357ms 15 3 3s921ms 1s307ms 16 2 2s541ms 1s270ms 17 7 8s753ms 1s250ms 18 2 2s511ms 1s255ms 19 6 7s522ms 1s253ms 20 1 1s231ms 1s231ms 21 4 5s7ms 1s251ms 22 3 3s666ms 1s222ms 23 1 1s220ms 1s220ms Feb 22 00 10 13s34ms 1s303ms 01 3 3s810ms 1s270ms 02 1 1s291ms 1s291ms 03 7 9s86ms 1s298ms 04 4 5s7ms 1s251ms 05 5 6s592ms 1s318ms 06 2 2s487ms 1s243ms 07 6 7s575ms 1s262ms 08 4 5s240ms 1s310ms 09 7 8s986ms 1s283ms 10 7 8s854ms 1s264ms 11 9 11s694ms 1s299ms 12 2 2s557ms 1s278ms 13 11 13s829ms 1s257ms 14 6 7s619ms 1s269ms 15 2 2s486ms 1s243ms 16 4 5s116ms 1s279ms 17 5 6s302ms 1s260ms 18 2 2s529ms 1s264ms 19 3 3s721ms 1s240ms 20 5 6s542ms 1s308ms 21 6 7s747ms 1s291ms 22 3 3s919ms 1s306ms 23 6 7s890ms 1s315ms [ User: pubeu - Total duration: 2m48s - Times executed: 129 ]
[ User: qaeu - Total duration: 6s830ms - Times executed: 5 ]
-
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 = '1264086') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1264086') 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-02-20 03:49:07 Duration: 1s818ms 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 = '1236593') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1236593') 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-02-20 03:36:21 Duration: 1s610ms 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 = '1253456') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1253456') 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-02-22 11:51:23 Duration: 1s595ms Bind query: yes
5 507 12m36s 1s457ms 1s834ms 1s492ms 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 #5
Day Hour Count Duration Avg duration Feb 16 04 1 1s497ms 1s497ms 05 3 4s448ms 1s482ms 07 1 1s469ms 1s469ms 10 1 1s491ms 1s491ms 11 2 2s983ms 1s491ms 12 1 1s461ms 1s461ms 13 1 1s457ms 1s457ms 14 1 1s475ms 1s475ms 15 1 1s471ms 1s471ms 20 1 1s469ms 1s469ms Feb 17 04 1 1s470ms 1s470ms 05 2 2s955ms 1s477ms 13 1 1s475ms 1s475ms Feb 18 05 2 2s968ms 1s484ms 06 1 1s480ms 1s480ms 09 1 1s461ms 1s461ms 12 1 1s460ms 1s460ms Feb 19 03 1 1s834ms 1s834ms 04 3 4s421ms 1s473ms 05 6 8s910ms 1s485ms 06 3 4s451ms 1s483ms 07 4 5s979ms 1s494ms 08 3 4s538ms 1s512ms 09 5 7s433ms 1s486ms 10 4 5s934ms 1s483ms 11 8 11s992ms 1s499ms 12 13 19s429ms 1s494ms 13 11 16s282ms 1s480ms 14 5 7s425ms 1s485ms 15 10 14s954ms 1s495ms 16 4 6s4ms 1s501ms 17 8 12s144ms 1s518ms 18 9 13s481ms 1s497ms 19 10 14s907ms 1s490ms 20 9 13s551ms 1s505ms 21 12 17s880ms 1s490ms 22 2 3s2ms 1s501ms 23 8 11s948ms 1s493ms Feb 20 00 11 16s614ms 1s510ms 01 7 10s452ms 1s493ms 02 9 13s405ms 1s489ms 03 5 7s484ms 1s496ms 04 1 1s490ms 1s490ms 05 2 3s83ms 1s541ms 06 1 1s497ms 1s497ms 07 4 5s931ms 1s482ms 08 6 8s941ms 1s490ms 09 5 7s489ms 1s497ms 10 7 10s515ms 1s502ms 11 5 7s418ms 1s483ms 12 6 8s963ms 1s493ms 13 5 7s410ms 1s482ms 14 7 10s421ms 1s488ms 15 3 4s453ms 1s484ms 16 8 11s984ms 1s498ms 17 10 14s901ms 1s490ms 18 10 14s829ms 1s482ms 19 5 7s408ms 1s481ms 20 9 13s372ms 1s485ms 21 2 3s57ms 1s528ms 22 2 2s972ms 1s486ms 23 7 10s396ms 1s485ms Feb 21 00 6 8s932ms 1s488ms 01 1 1s474ms 1s474ms 02 1 1s524ms 1s524ms 03 3 4s451ms 1s483ms 04 4 5s951ms 1s487ms 05 7 10s448ms 1s492ms 06 7 10s358ms 1s479ms 07 3 4s441ms 1s480ms 08 4 5s984ms 1s496ms 10 2 2s999ms 1s499ms 11 10 14s925ms 1s492ms 12 1 1s480ms 1s480ms 13 2 2s980ms 1s490ms 15 1 1s491ms 1s491ms 16 5 7s432ms 1s486ms 17 4 5s942ms 1s485ms 18 3 4s468ms 1s489ms 19 6 8s907ms 1s484ms 20 6 8s903ms 1s483ms 21 3 4s476ms 1s492ms 22 4 5s996ms 1s499ms 23 2 2s957ms 1s478ms Feb 22 00 1 1s503ms 1s503ms 01 6 8s946ms 1s491ms 02 8 11s931ms 1s491ms 03 5 7s558ms 1s511ms 04 3 4s474ms 1s491ms 05 8 11s921ms 1s490ms 06 2 3s4ms 1s502ms 07 7 10s653ms 1s521ms 08 6 8s945ms 1s490ms 09 3 4s465ms 1s488ms 10 4 5s979ms 1s494ms 11 4 5s917ms 1s479ms 12 2 2s969ms 1s484ms 13 7 10s362ms 1s480ms 14 6 8s926ms 1s487ms 15 6 8s925ms 1s487ms 16 7 10s446ms 1s492ms 17 3 4s452ms 1s484ms 18 11 16s320ms 1s483ms 19 5 7s540ms 1s508ms 20 4 5s949ms 1s487ms 21 4 6s5ms 1s501ms 22 6 8s859ms 1s476ms 23 7 10s359ms 1s479ms [ User: pubeu - Total duration: 3m8s - Times executed: 126 ]
-
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-02-19 03:08:28 Duration: 1s834ms Database: ctdprd51 User: pubeu 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-02-22 03:20:59 Duration: 1s649ms Database: ctdprd51 User: pubeu 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-02-22 07:41:14 Duration: 1s633ms Bind query: yes
6 389 10m35s 1s106ms 2s240ms 1s634ms 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 #6
Day Hour Count Duration Avg duration Feb 16 03 1 1s871ms 1s871ms 14 1 1s284ms 1s284ms 19 1 1s907ms 1s907ms 20 1 1s864ms 1s864ms 21 1 1s244ms 1s244ms Feb 17 00 2 3s89ms 1s544ms 22 1 1s848ms 1s848ms Feb 18 02 1 1s299ms 1s299ms Feb 19 05 2 3s123ms 1s561ms 06 1 1s302ms 1s302ms 07 4 7s478ms 1s869ms 08 1 1s860ms 1s860ms 09 3 4s498ms 1s499ms 10 9 13s805ms 1s533ms 11 5 8s212ms 1s642ms 12 7 10s815ms 1s545ms 13 5 6s398ms 1s279ms 14 9 12s189ms 1s354ms 15 6 10s588ms 1s764ms 16 6 10s565ms 1s760ms 17 6 10s142ms 1s690ms 18 4 5s713ms 1s428ms 19 11 18s645ms 1s695ms 20 11 18s242ms 1s658ms 21 10 16s198ms 1s619ms 22 4 6s994ms 1s748ms 23 9 14s562ms 1s618ms Feb 20 00 4 6s905ms 1s726ms 01 3 4s478ms 1s492ms 02 4 7s467ms 1s866ms 03 2 2s537ms 1s268ms 04 1 1s880ms 1s880ms 05 5 7s713ms 1s542ms 07 3 4s958ms 1s652ms 08 1 1s253ms 1s253ms 09 9 15s674ms 1s741ms 10 2 3s681ms 1s840ms 11 5 8s142ms 1s628ms 12 3 4s453ms 1s484ms 13 2 3s118ms 1s559ms 14 4 6s324ms 1s581ms 15 2 3s174ms 1s587ms 16 5 8s772ms 1s754ms 17 5 8s799ms 1s759ms 18 1 1s286ms 1s286ms 19 1 1s871ms 1s871ms 20 4 6s859ms 1s714ms 21 2 3s713ms 1s856ms 22 3 3s833ms 1s277ms 23 3 4s398ms 1s466ms Feb 21 00 1 1s267ms 1s267ms 01 1 1s288ms 1s288ms 02 3 5s609ms 1s869ms 03 7 11s401ms 1s628ms 04 3 5s632ms 1s877ms 05 2 3s709ms 1s854ms 06 3 4s970ms 1s656ms 07 4 6s280ms 1s570ms 08 1 1s850ms 1s850ms 10 4 7s486ms 1s871ms 11 6 9s443ms 1s573ms 12 6 8s917ms 1s486ms 13 2 3s788ms 1s894ms 15 6 10s630ms 1s771ms 16 2 3s157ms 1s578ms 17 2 3s128ms 1s564ms 18 6 10s29ms 1s671ms 19 6 9s421ms 1s570ms 20 5 8s150ms 1s630ms 21 3 4s376ms 1s458ms 22 4 6s891ms 1s722ms 23 7 12s964ms 1s852ms Feb 22 00 5 8s401ms 1s680ms 01 6 10s116ms 1s686ms 02 1 1s299ms 1s299ms 03 3 4s944ms 1s648ms 04 4 5s788ms 1s447ms 05 1 1s255ms 1s255ms 06 5 8s170ms 1s634ms 07 2 3s706ms 1s853ms 08 5 7s559ms 1s511ms 09 6 10s98ms 1s683ms 10 9 15s17ms 1s668ms 11 4 6s272ms 1s568ms 12 5 8s144ms 1s628ms 13 2 3s752ms 1s876ms 14 8 12s556ms 1s569ms 15 2 3s690ms 1s845ms 16 3 3s794ms 1s264ms 18 4 7s394ms 1s848ms 19 5 8s876ms 1s775ms 20 9 15s108ms 1s678ms 21 10 16s295ms 1s629ms 22 4 6s861ms 1s715ms 23 6 9s389ms 1s564ms [ User: pubeu - Total duration: 2m44s - Times executed: 99 ]
-
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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-20 05:07:37 Duration: 2s240ms 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-22 00:14:47 Duration: 2s63ms 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-22 19:36:43 Duration: 1s999ms Bind query: yes
7 376 25m43s 3s852ms 17s36ms 4s105ms 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 #7
Day Hour Count Duration Avg duration Feb 16 02 1 4s88ms 4s88ms 04 1 4s116ms 4s116ms 05 3 11s922ms 3s974ms 06 1 4s66ms 4s66ms 08 1 3s991ms 3s991ms 09 4 16s143ms 4s35ms 11 1 3s920ms 3s920ms 12 2 8s10ms 4s5ms 13 2 7s911ms 3s955ms 15 1 4s24ms 4s24ms 17 2 7s995ms 3s997ms 19 2 8s92ms 4s46ms 20 3 12s111ms 4s37ms 21 3 12s262ms 4s87ms 22 1 3s915ms 3s915ms Feb 17 00 1 4s104ms 4s104ms 01 3 12s397ms 4s132ms 03 2 8s432ms 4s216ms 04 2 8s218ms 4s109ms 05 4 16s48ms 4s12ms 06 4 16s72ms 4s18ms 07 3 12s706ms 4s235ms 09 2 8s240ms 4s120ms 10 1 4s16ms 4s16ms 11 2 8s372ms 4s186ms 12 1 4s115ms 4s115ms 16 2 7s978ms 3s989ms 19 2 8s101ms 4s50ms 20 1 5s709ms 5s709ms 21 1 3s959ms 3s959ms 22 1 3s998ms 3s998ms 23 2 8s128ms 4s64ms Feb 18 00 7 28s699ms 4s99ms 01 4 16s351ms 4s87ms 02 4 16s5ms 4s1ms 03 3 12s259ms 4s86ms 04 2 7s913ms 3s956ms 05 4 15s948ms 3s987ms 07 5 20s685ms 4s137ms 08 3 11s971ms 3s990ms 09 2 8s49ms 4s24ms 10 1 4s13ms 4s13ms 11 3 12s261ms 4s87ms 12 2 8s128ms 4s64ms 13 4 16s101ms 4s25ms 15 2 8s153ms 4s76ms 16 3 11s984ms 3s994ms 17 3 12s30ms 4s10ms 18 2 8s16ms 4s8ms 19 2 8s31ms 4s15ms 20 4 16s9ms 4s2ms 21 3 11s901ms 3s967ms 22 3 12s156ms 4s52ms 23 6 24s508ms 4s84ms Feb 19 01 5 20s177ms 4s35ms 02 8 33s927ms 4s240ms 03 3 11s930ms 3s976ms 05 8 32s461ms 4s57ms 06 1 4s87ms 4s87ms 08 1 4s177ms 4s177ms 09 3 12s232ms 4s77ms 10 1 4s33ms 4s33ms 11 1 4s466ms 4s466ms 12 4 16s245ms 4s61ms 13 1 3s867ms 3s867ms 14 1 4s105ms 4s105ms 15 1 4s185ms 4s185ms 16 1 4s151ms 4s151ms 17 2 8s117ms 4s58ms 19 1 4s17ms 4s17ms 20 4 16s430ms 4s107ms 21 3 12s480ms 4s160ms 22 1 4s93ms 4s93ms 23 5 20s411ms 4s82ms Feb 20 00 7 28s674ms 4s96ms 01 4 16s194ms 4s48ms 02 1 3s893ms 3s893ms 03 3 12s221ms 4s73ms 04 3 12s95ms 4s31ms 05 2 7s978ms 3s989ms 07 2 7s918ms 3s959ms 08 8 32s595ms 4s74ms 09 6 25s199ms 4s199ms 10 4 16s37ms 4s9ms 11 8 32s524ms 4s65ms 12 7 27s960ms 3s994ms 13 3 12s31ms 4s10ms 15 1 4s76ms 4s76ms 18 4 16s79ms 4s19ms 21 14 56s360ms 4s25ms 22 2 7s951ms 3s975ms Feb 21 00 1 3s990ms 3s990ms 01 2 8s435ms 4s217ms 03 4 16s276ms 4s69ms 05 10 40s138ms 4s13ms 06 1 4s57ms 4s57ms 09 1 4s13ms 4s13ms 10 6 23s879ms 3s979ms 11 5 20s312ms 4s62ms 12 1 4s257ms 4s257ms 13 1 4s1ms 4s1ms 14 2 8s61ms 4s30ms 15 1 4s2ms 4s2ms 18 1 3s984ms 3s984ms 19 2 8s5ms 4s2ms 20 2 7s934ms 3s967ms 22 2 7s973ms 3s986ms Feb 22 01 3 12s281ms 4s93ms 02 6 24s732ms 4s122ms 03 5 19s961ms 3s992ms 04 7 28s147ms 4s21ms 05 16 1m4s 4s28ms 06 8 49s643ms 6s205ms 07 5 20s896ms 4s179ms 08 1 4s17ms 4s17ms 10 2 8s48ms 4s24ms 11 2 8s201ms 4s100ms 12 2 7s882ms 3s941ms 13 6 24s35ms 4s5ms 14 1 4s65ms 4s65ms 17 1 4s290ms 4s290ms 20 1 4s48ms 4s48ms [ User: pubeu - Total duration: 8m42s - Times executed: 128 ]
-
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 = '1399342') 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 = '1399342') 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-02-22 06:55:58 Duration: 17s36ms 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 = '1343984') 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 = '1343984') 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-02-22 06:50:06 Duration: 5s769ms 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 = '1343984') 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 = '1343984') 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-02-19 02:26:24 Duration: 5s714ms Database: ctdprd51 User: pubeu Bind query: yes
8 269 12m 1s1ms 11s357ms 2s679ms 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 #8
Day Hour Count Duration Avg duration Feb 16 01 3 5s223ms 1s741ms 10 1 1s80ms 1s80ms 11 1 7s905ms 7s905ms 19 1 1s1ms 1s1ms 21 1 4s700ms 4s700ms 22 2 3s601ms 1s800ms Feb 17 00 1 2s400ms 2s400ms 02 1 1s228ms 1s228ms 05 1 2s669ms 2s669ms 07 2 4s604ms 2s302ms 09 2 5s861ms 2s930ms 10 1 2s786ms 2s786ms 11 2 3s666ms 1s833ms 12 1 2s675ms 2s675ms 13 1 3s75ms 3s75ms 14 2 4s617ms 2s308ms 16 1 1s605ms 1s605ms 17 1 2s407ms 2s407ms 19 3 8s301ms 2s767ms 21 3 6s954ms 2s318ms 23 2 3s998ms 1s999ms Feb 18 00 1 2s422ms 2s422ms 01 1 4s853ms 4s853ms 02 3 8s732ms 2s910ms 03 4 6s989ms 1s747ms 06 1 2s141ms 2s141ms 07 2 5s303ms 2s651ms 08 2 2s289ms 1s144ms 09 3 10s552ms 3s517ms 14 3 7s294ms 2s431ms 17 1 2s386ms 2s386ms 21 3 9s274ms 3s91ms 22 1 2s692ms 2s692ms 23 5 7s990ms 1s598ms Feb 19 00 1 2s499ms 2s499ms 02 3 10s722ms 3s574ms 03 1 3s101ms 3s101ms 05 1 2s93ms 2s93ms 10 1 1s616ms 1s616ms 11 4 23s656ms 5s914ms 12 5 12s768ms 2s553ms 13 1 8s407ms 8s407ms 15 2 5s701ms 2s850ms 16 2 8s311ms 4s155ms 17 4 5s385ms 1s346ms 18 3 10s450ms 3s483ms 19 3 3s243ms 1s81ms 20 6 19s485ms 3s247ms 21 3 5s189ms 1s729ms 22 5 8s219ms 1s643ms 23 2 11s652ms 5s826ms Feb 20 00 1 3s144ms 3s144ms 01 3 3s787ms 1s262ms 02 3 9s296ms 3s98ms 03 2 9s125ms 4s562ms 04 1 3s214ms 3s214ms 05 1 2s115ms 2s115ms 06 3 6s679ms 2s226ms 08 5 10s95ms 2s19ms 09 4 16s312ms 4s78ms 12 3 3s893ms 1s297ms 14 1 1s35ms 1s35ms 15 1 1s402ms 1s402ms 16 2 7s600ms 3s800ms 17 3 7s338ms 2s446ms 18 2 3s978ms 1s989ms 19 2 2s332ms 1s166ms 20 4 9s698ms 2s424ms 21 2 6s822ms 3s411ms 22 3 6s274ms 2s91ms 23 2 8s272ms 4s136ms Feb 21 00 1 1s161ms 1s161ms 01 1 2s155ms 2s155ms 02 4 7s392ms 1s848ms 03 2 5s822ms 2s911ms 04 2 8s618ms 4s309ms 07 2 4s965ms 2s482ms 08 4 10s65ms 2s516ms 09 2 3s841ms 1s920ms 10 2 3s242ms 1s621ms 11 3 7s614ms 2s538ms 12 1 2s620ms 2s620ms 13 1 1s58ms 1s58ms 15 1 1s451ms 1s451ms 16 1 1s758ms 1s758ms 17 2 3s475ms 1s737ms 18 1 6s287ms 6s287ms 19 3 10s769ms 3s589ms 20 5 17s273ms 3s454ms 21 2 4s1ms 2s 22 3 4s964ms 1s654ms 23 1 1s722ms 1s722ms Feb 22 00 2 3s546ms 1s773ms 01 3 3s304ms 1s101ms 02 5 14s946ms 2s989ms 03 3 13s476ms 4s492ms 04 2 3s833ms 1s916ms 05 2 12s210ms 6s105ms 06 1 2s162ms 2s162ms 07 3 9s433ms 3s144ms 08 3 4s147ms 1s382ms 09 2 2s657ms 1s328ms 10 3 6s308ms 2s102ms 11 6 11s530ms 1s921ms 13 6 16s216ms 2s702ms 14 1 1s543ms 1s543ms 15 3 6s322ms 2s107ms 16 2 5s859ms 2s929ms 17 3 11s133ms 3s711ms 18 2 9s273ms 4s636ms 19 1 1s197ms 1s197ms 20 3 5s151ms 1s717ms 21 5 23s253ms 4s650ms 22 3 16s982ms 5s660ms 23 3 7s789ms 2s596ms [ User: pubeu - Total duration: 3m23s - Times executed: 83 ]
-
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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-19 11:32:17 Duration: 11s357ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-19 20:37:58 Duration: 11s202ms 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 = '2085373') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-19 13:37:52 Duration: 8s407ms Bind query: yes
9 243 5m20s 1s151ms 1s851ms 1s318ms 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 #9
Day Hour Count Duration Avg duration Feb 16 00 1 1s240ms 1s240ms 01 1 1s221ms 1s221ms 02 6 8s250ms 1s375ms 05 2 2s665ms 1s332ms 07 1 1s343ms 1s343ms 09 1 1s254ms 1s254ms 10 1 1s325ms 1s325ms 11 1 1s290ms 1s290ms 12 1 1s302ms 1s302ms 16 1 1s192ms 1s192ms 17 1 1s298ms 1s298ms 19 1 1s337ms 1s337ms 21 1 1s169ms 1s169ms 22 1 1s191ms 1s191ms Feb 17 01 1 1s284ms 1s284ms 02 1 1s294ms 1s294ms 03 2 2s536ms 1s268ms 04 3 3s877ms 1s292ms 05 2 2s899ms 1s449ms 06 1 1s338ms 1s338ms 08 1 1s285ms 1s285ms 11 2 2s506ms 1s253ms 12 1 1s201ms 1s201ms 13 4 5s17ms 1s254ms 15 3 3s813ms 1s271ms 16 1 1s284ms 1s284ms 19 1 1s299ms 1s299ms 20 1 1s214ms 1s214ms 23 1 1s282ms 1s282ms Feb 18 00 10 12s993ms 1s299ms 01 1 1s362ms 1s362ms 02 2 2s596ms 1s298ms 03 1 1s360ms 1s360ms 04 4 5s624ms 1s406ms 05 3 4s124ms 1s374ms 06 1 1s387ms 1s387ms 08 1 1s296ms 1s296ms 09 4 5s102ms 1s275ms 11 2 2s735ms 1s367ms 12 1 1s161ms 1s161ms 14 1 1s380ms 1s380ms 15 2 2s505ms 1s252ms 17 2 2s476ms 1s238ms 19 1 1s269ms 1s269ms 21 1 1s174ms 1s174ms 22 1 1s382ms 1s382ms 23 1 1s320ms 1s320ms Feb 19 00 1 1s402ms 1s402ms 01 1 1s223ms 1s223ms 02 5 6s311ms 1s262ms 05 2 2s994ms 1s497ms 06 3 4s137ms 1s379ms 08 2 2s631ms 1s315ms 10 2 2s593ms 1s296ms 11 4 5s168ms 1s292ms 12 3 3s854ms 1s284ms 14 3 4s13ms 1s337ms 15 3 3s934ms 1s311ms 16 1 1s446ms 1s446ms 17 4 5s458ms 1s364ms 18 1 1s369ms 1s369ms 20 2 2s629ms 1s314ms 21 1 1s280ms 1s280ms 22 2 2s547ms 1s273ms 23 1 1s410ms 1s410ms Feb 20 00 3 3s958ms 1s319ms 01 2 2s556ms 1s278ms 02 2 2s613ms 1s306ms 03 3 3s998ms 1s332ms 04 2 2s762ms 1s381ms 05 3 4s121ms 1s373ms 07 2 2s591ms 1s295ms 08 2 2s659ms 1s329ms 09 2 2s588ms 1s294ms 10 1 1s331ms 1s331ms 11 3 4s474ms 1s491ms 12 2 2s759ms 1s379ms 13 1 1s324ms 1s324ms 14 3 3s921ms 1s307ms 15 2 2s595ms 1s297ms 16 2 2s553ms 1s276ms 17 1 1s262ms 1s262ms 18 2 2s543ms 1s271ms 20 1 1s299ms 1s299ms 21 1 1s711ms 1s711ms 22 1 1s458ms 1s458ms 23 2 2s564ms 1s282ms Feb 21 00 3 4s27ms 1s342ms 01 3 3s900ms 1s300ms 02 1 1s339ms 1s339ms 03 1 1s277ms 1s277ms 05 4 5s542ms 1s385ms 07 1 1s259ms 1s259ms 08 3 4s156ms 1s385ms 09 1 1s346ms 1s346ms 11 1 1s289ms 1s289ms 14 1 1s272ms 1s272ms 15 3 4s8ms 1s336ms 16 1 1s211ms 1s211ms 17 1 1s344ms 1s344ms 18 1 1s272ms 1s272ms 19 1 1s226ms 1s226ms 20 1 1s411ms 1s411ms 21 1 1s731ms 1s731ms 22 2 2s771ms 1s385ms Feb 22 00 3 3s841ms 1s280ms 01 2 2s589ms 1s294ms 03 1 1s276ms 1s276ms 04 2 2s461ms 1s230ms 05 3 4s190ms 1s396ms 06 2 2s570ms 1s285ms 07 1 1s320ms 1s320ms 08 2 2s482ms 1s241ms 09 3 3s868ms 1s289ms 10 1 1s364ms 1s364ms 11 3 3s869ms 1s289ms 12 1 1s234ms 1s234ms 13 2 2s527ms 1s263ms 14 2 2s685ms 1s342ms 15 1 1s344ms 1s344ms 16 2 2s555ms 1s277ms 17 2 2s610ms 1s305ms 18 2 2s518ms 1s259ms 19 3 4s97ms 1s365ms 21 2 2s667ms 1s333ms 22 5 6s495ms 1s299ms [ User: pubeu - Total duration: 1m21s - Times executed: 62 ]
-
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 = '2084903') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084903') 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-02-16 02:05:19 Duration: 1s851ms 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 = '2090693') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2090693') 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-02-20 11:30:23 Duration: 1s794ms 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 = '2081644') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2081644') 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-02-21 21:32:28 Duration: 1s731ms Database: ctdprd51 User: pubeu Bind query: yes
10 218 9m47s 1s3ms 5s985ms 2s695ms 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 #10
Day Hour Count Duration Avg duration Feb 16 13 1 1s79ms 1s79ms Feb 18 21 1 2s69ms 2s69ms Feb 19 03 1 1s280ms 1s280ms 06 2 6s179ms 3s89ms 08 1 1s83ms 1s83ms 09 2 5s453ms 2s726ms 10 2 4s885ms 2s442ms 11 2 4s455ms 2s227ms 12 5 12s347ms 2s469ms 13 6 15s533ms 2s588ms 14 4 8s663ms 2s165ms 15 3 5s340ms 1s780ms 16 3 6s542ms 2s180ms 17 5 11s83ms 2s216ms 18 3 5s221ms 1s740ms 19 6 11s614ms 1s935ms 20 5 8s732ms 1s746ms 21 6 20s540ms 3s423ms 22 2 8s737ms 4s368ms 23 6 21s474ms 3s579ms Feb 20 00 3 8s610ms 2s870ms 01 4 9s877ms 2s469ms 02 3 6s133ms 2s44ms 03 1 1s518ms 1s518ms 07 2 4s892ms 2s446ms 08 2 8s454ms 4s227ms 09 5 15s952ms 3s190ms 10 2 4s828ms 2s414ms 11 4 12s156ms 3s39ms 12 2 3s670ms 1s835ms 13 1 1s664ms 1s664ms 15 3 4s981ms 1s660ms 16 1 1s535ms 1s535ms 17 1 2s683ms 2s683ms 18 2 3s185ms 1s592ms 19 2 5s393ms 2s696ms 20 1 5s722ms 5s722ms 22 5 16s234ms 3s246ms 23 4 8s228ms 2s57ms Feb 21 00 1 2s693ms 2s693ms 01 1 1s42ms 1s42ms 02 1 3s826ms 3s826ms 03 1 2s335ms 2s335ms 04 3 10s825ms 3s608ms 05 3 4s824ms 1s608ms 07 2 3s230ms 1s615ms 08 4 9s869ms 2s467ms 09 2 4s274ms 2s137ms 10 2 8s167ms 4s83ms 11 2 3s760ms 1s880ms 12 5 15s804ms 3s160ms 14 1 3s419ms 3s419ms 16 2 7s14ms 3s507ms 18 2 4s295ms 2s147ms 19 2 4s883ms 2s441ms 20 4 7s437ms 1s859ms 22 1 5s836ms 5s836ms 23 2 4s206ms 2s103ms Feb 22 00 1 5s873ms 5s873ms 01 1 1s4ms 1s4ms 02 1 2s737ms 2s737ms 03 6 13s418ms 2s236ms 04 2 8s43ms 4s21ms 05 3 17s564ms 5s854ms 06 5 14s666ms 2s933ms 07 3 10s823ms 3s607ms 08 3 6s492ms 2s164ms 09 2 6s176ms 3s88ms 10 3 9s643ms 3s214ms 11 6 17s704ms 2s950ms 12 2 8s525ms 4s262ms 13 3 9s514ms 3s171ms 14 1 2s743ms 2s743ms 15 1 2s229ms 2s229ms 16 3 6s362ms 2s120ms 17 2 8s30ms 4s15ms 18 1 2s723ms 2s723ms 19 1 1s624ms 1s624ms 20 3 11s230ms 3s743ms 21 1 2s90ms 2s90ms 22 4 12s858ms 3s214ms 23 5 9s688ms 1s937ms [ User: pubeu - Total duration: 2m39s - Times executed: 56 ]
-
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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-20 09:11:41 Duration: 5s985ms 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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-19 22:11:21 Duration: 5s974ms 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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-19 23:04:40 Duration: 5s938ms Bind query: yes
11 206 14m35s 1s1ms 6s43ms 4s252ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 16 00 1 4s664ms 4s664ms 01 2 9s521ms 4s760ms 02 4 19s255ms 4s813ms 03 6 21s891ms 3s648ms 04 2 9s284ms 4s642ms 08 1 5s388ms 5s388ms 09 1 4s924ms 4s924ms 11 1 5s371ms 5s371ms 13 1 5s254ms 5s254ms 16 1 4s683ms 4s683ms 20 4 18s660ms 4s665ms 21 1 4s563ms 4s563ms Feb 17 01 2 5s690ms 2s845ms 04 2 9s394ms 4s697ms 08 1 4s545ms 4s545ms 11 2 10s349ms 5s174ms 12 1 5s404ms 5s404ms 16 1 1s5ms 1s5ms 22 6 22s267ms 3s711ms Feb 18 07 1 4s716ms 4s716ms 08 1 5s545ms 5s545ms 09 1 4s568ms 4s568ms 14 3 14s292ms 4s764ms 15 3 15s985ms 5s328ms 17 2 5s926ms 2s963ms 22 1 4s820ms 4s820ms 23 1 4s840ms 4s840ms Feb 19 01 1 5s198ms 5s198ms 02 1 4s784ms 4s784ms 03 2 9s501ms 4s750ms 04 2 5s979ms 2s989ms 05 8 32s381ms 4s47ms 07 3 15s217ms 5s72ms 10 3 11s53ms 3s684ms 12 4 15s822ms 3s955ms 13 1 4s950ms 4s950ms 17 1 4s982ms 4s982ms 18 4 21s352ms 5s338ms 19 1 1s23ms 1s23ms 20 2 2s36ms 1s18ms 21 1 5s170ms 5s170ms 23 1 5s268ms 5s268ms Feb 20 00 3 11s271ms 3s757ms 01 4 16s139ms 4s34ms 02 3 11s295ms 3s765ms 03 3 11s202ms 3s734ms 06 6 22s665ms 3s777ms 07 2 9s511ms 4s755ms 08 17 1m26s 5s72ms 09 1 5s262ms 5s262ms 10 3 6s898ms 2s299ms 11 2 5s758ms 2s879ms 12 1 5s437ms 5s437ms 13 1 4s694ms 4s694ms 15 1 1s46ms 1s46ms 18 2 10s100ms 5s50ms 20 1 4s739ms 4s739ms 21 1 5s208ms 5s208ms 22 2 2s48ms 1s24ms Feb 21 00 2 6s656ms 3s328ms 01 1 5s459ms 5s459ms 05 8 32s722ms 4s90ms 07 4 16s577ms 4s144ms 08 1 5s408ms 5s408ms 10 9 37s985ms 4s220ms 11 2 10s301ms 5s150ms 12 1 1s28ms 1s28ms 14 1 5s289ms 5s289ms 15 3 6s988ms 2s329ms 16 1 1s20ms 1s20ms 18 1 4s968ms 4s968ms 20 1 5s197ms 5s197ms Feb 22 01 2 10s248ms 5s124ms 02 1 5s108ms 5s108ms 04 2 5s856ms 2s928ms 05 1 4s911ms 4s911ms 07 2 9s896ms 4s948ms 09 3 14s625ms 4s875ms 11 1 4s896ms 4s896ms 12 5 21s102ms 4s220ms 13 3 14s585ms 4s861ms 14 1 5s76ms 5s76ms 17 1 5s247ms 5s247ms 18 1 5s169ms 5s169ms 20 3 16s268ms 5s422ms 21 2 6s106ms 3s53ms 22 1 5s245ms 5s245ms 23 1 4s966ms 4s966ms [ User: pubeu - Total duration: 4m9s - Times executed: 57 ]
-
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 = '1401438' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-22 20:07:17 Duration: 6s43ms 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 = '1338761' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-21 00:08:30 Duration: 5s649ms 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 = '1266526' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-20 08:17:16 Duration: 5s649ms Database: ctdprd51 User: pubeu Bind query: yes
12 185 5h3m39s 1s408ms 18m8s 1m38s 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 #12
Day Hour Count Duration Avg duration Feb 16 10 1 1s512ms 1s512ms 13 1 4m6s 4m6s 19 1 1s540ms 1s540ms 22 1 1s626ms 1s626ms Feb 17 18 1 1s547ms 1s547ms 21 1 1s604ms 1s604ms Feb 18 00 2 5m14s 2m37s 02 1 1s579ms 1s579ms 10 1 5m8s 5m8s Feb 19 06 1 1s480ms 1s480ms 07 3 2m19s 46s396ms 08 1 1s985ms 1s985ms 09 3 4m57s 1m39s 10 5 5m39s 1m7s 11 3 16m32s 5m30s 12 2 3s489ms 1s744ms 13 4 5m24s 1m21s 14 2 3s98ms 1s549ms 15 5 7m46s 1m33s 16 4 7m13s 1m48s 17 2 4s345ms 2s172ms 18 4 7m57s 1m59s 19 8 13s53ms 1s631ms 20 2 3s488ms 1s744ms 21 6 9m29s 1m34s 22 2 4s971ms 2s485ms 23 2 4m8s 2m4s Feb 20 00 1 4m10s 4m10s 02 3 8m28s 2m49s 03 1 3s264ms 3s264ms 08 4 2m35s 38s967ms 09 2 4m19s 2m9s 10 1 3s279ms 3s279ms 11 1 4m57s 4m57s 13 1 1s857ms 1s857ms 15 2 9m27s 4m43s 16 1 3m30s 3m30s 17 1 1s627ms 1s627ms 18 1 1s660ms 1s660ms 19 1 2s433ms 2s433ms 20 5 36m 7m12s 21 1 17m49s 17m49s 22 3 29m23s 9m47s 23 3 4s991ms 1s663ms Feb 21 00 2 3s496ms 1s748ms 01 2 3s947ms 1s973ms 03 1 2m53s 2m53s 06 2 5m1s 2m30s 07 3 2m10s 43s645ms 11 2 3m51s 1m55s 12 1 5m23s 5m23s 13 3 4m27s 1m29s 14 1 1s894ms 1s894ms 16 1 2s218ms 2s218ms 17 3 5m1s 1m40s 18 2 3m13s 1m36s 19 3 5s527ms 1s842ms 20 1 3m12s 3m12s 21 2 3s327ms 1s663ms 22 3 5m21s 1m47s 23 6 7m38s 1m16s Feb 22 00 1 1s528ms 1s528ms 01 3 7m46s 2m35s 02 2 4s767ms 2s383ms 03 2 6s649ms 3s324ms 04 1 1s597ms 1s597ms 05 3 8s139ms 2s713ms 07 4 2m20s 35s147ms 08 1 4m21s 4m21s 09 1 1s758ms 1s758ms 10 3 6s59ms 2s19ms 11 2 5s650ms 2s825ms 12 3 5s54ms 1s684ms 13 2 4s924ms 2s462ms 14 3 4m46s 1m35s 16 2 7m13s 3m36s 18 1 5m28s 5m28s 19 4 9m35s 2m23s 20 1 1m16s 1m16s 21 1 3m27s 3m27s 23 6 13s888ms 2s314ms [ User: pubeu - Total duration: 1h24m5s - Times executed: 44 ]
-
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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-20 20:36:06 Duration: 18m8s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-20 21:12:53 Duration: 17m49s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-20 22:06:17 Duration: 17m46s Bind query: yes
13 166 20m41s 1s24ms 25s454ms 7s477ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 16 10 1 1s310ms 1s310ms 15 1 1s141ms 1s141ms 22 1 1s296ms 1s296ms Feb 17 01 1 17s283ms 17s283ms 22 1 7s402ms 7s402ms 23 1 7s806ms 7s806ms Feb 18 02 1 1s944ms 1s944ms Feb 19 04 1 17s438ms 17s438ms 05 1 3s952ms 3s952ms 07 2 22s713ms 11s356ms 08 1 10s658ms 10s658ms 09 2 23s477ms 11s738ms 10 1 1s778ms 1s778ms 14 5 25s587ms 5s117ms 15 1 10s889ms 10s889ms 16 2 19s323ms 9s661ms 17 3 24s516ms 8s172ms 18 1 21s824ms 21s824ms 19 2 4s295ms 2s147ms 20 5 33s127ms 6s625ms 21 9 59s902ms 6s655ms 22 2 21s732ms 10s866ms Feb 20 00 4 27s189ms 6s797ms 01 3 17s463ms 5s821ms 02 2 45s697ms 22s848ms 06 2 6s177ms 3s88ms 07 2 6s572ms 3s286ms 08 3 7s720ms 2s573ms 09 2 22s842ms 11s421ms 10 4 22s301ms 5s575ms 11 2 23s170ms 11s585ms 12 2 3s151ms 1s575ms 14 3 6s425ms 2s141ms 15 2 12s323ms 6s161ms 16 7 1m46s 15s173ms 17 2 21s892ms 10s946ms 18 2 7s236ms 3s618ms 19 1 10s57ms 10s57ms 20 3 8s615ms 2s871ms 21 2 12s443ms 6s221ms 22 6 43s822ms 7s303ms 23 1 17s764ms 17s764ms Feb 21 00 2 25s163ms 12s581ms 01 1 2s24ms 2s24ms 02 2 15s121ms 7s560ms 03 1 1s847ms 1s847ms 06 2 22s245ms 11s122ms 07 2 3s270ms 1s635ms 09 1 1s497ms 1s497ms 11 1 17s459ms 17s459ms 13 1 7s791ms 7s791ms 16 2 2s880ms 1s440ms 17 2 3s330ms 1s665ms 18 2 4s798ms 2s399ms 19 2 6s607ms 3s303ms 20 1 21s172ms 21s172ms 21 1 21s 21s 22 1 22s36ms 22s36ms 23 1 3s683ms 3s683ms Feb 22 00 1 1s207ms 1s207ms 01 1 10s949ms 10s949ms 02 1 3s13ms 3s13ms 03 2 19s554ms 9s777ms 07 1 21s280ms 21s280ms 08 1 1s557ms 1s557ms 10 1 3s559ms 3s559ms 11 1 21s864ms 21s864ms 12 2 39s288ms 19s644ms 13 3 4s488ms 1s496ms 14 5 12s644ms 2s528ms 15 1 18s465ms 18s465ms 16 1 3s553ms 3s553ms 17 2 4s966ms 2s483ms 18 2 6s752ms 3s376ms 19 2 16s268ms 8s134ms 20 1 25s454ms 25s454ms 21 4 18s123ms 4s530ms 22 3 44s136ms 14s712ms 23 6 13s665ms 2s277ms [ User: pubeu - Total duration: 6m45s - Times executed: 48 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-22 20:19:09 Duration: 25s454ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-20 02:57:16 Duration: 24s131ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-20 16:39:32 Duration: 22s115ms Database: ctdprd51 User: pubeu Bind query: yes
14 150 3m28s 1s255ms 2s468ms 1s390ms 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 #14
Day Hour Count Duration Avg duration Feb 16 04 1 1s266ms 1s266ms 05 2 2s776ms 1s388ms 07 1 1s256ms 1s256ms 09 1 1s556ms 1s556ms 10 3 3s827ms 1s275ms 17 1 1s261ms 1s261ms 18 1 1s497ms 1s497ms 20 2 2s534ms 1s267ms 21 2 2s776ms 1s388ms 22 1 1s277ms 1s277ms Feb 17 01 1 1s263ms 1s263ms 03 7 8s886ms 1s269ms 04 6 8s573ms 1s428ms 05 3 4s44ms 1s348ms 06 1 1s305ms 1s305ms 09 2 2s517ms 1s258ms 10 2 2s754ms 1s377ms 20 1 1s302ms 1s302ms 21 3 4s14ms 1s338ms 22 2 3s40ms 1s520ms 23 2 2s816ms 1s408ms Feb 18 00 5 6s996ms 1s399ms 02 2 3s18ms 1s509ms 03 8 11s199ms 1s399ms 04 1 1s272ms 1s272ms 05 2 2s793ms 1s396ms 06 2 2s757ms 1s378ms 08 1 1s544ms 1s544ms 10 2 2s805ms 1s402ms 11 1 1s264ms 1s264ms Feb 19 00 2 2s607ms 1s303ms 02 1 1s284ms 1s284ms 03 3 5s415ms 1s805ms 04 2 2s753ms 1s376ms 05 4 5s566ms 1s391ms 14 2 2s835ms 1s417ms 16 1 1s415ms 1s415ms 20 1 1s394ms 1s394ms 22 1 1s355ms 1s355ms 23 1 1s364ms 1s364ms Feb 20 00 1 1s426ms 1s426ms 01 1 1s393ms 1s393ms 02 1 1s368ms 1s368ms 03 2 2s737ms 1s368ms 04 7 9s722ms 1s388ms 05 3 4s164ms 1s388ms 08 2 2s704ms 1s352ms 12 2 2s703ms 1s351ms 14 1 1s362ms 1s362ms 18 1 1s447ms 1s447ms 20 2 2s628ms 1s314ms 23 1 1s391ms 1s391ms Feb 21 01 1 1s441ms 1s441ms 02 2 2s781ms 1s390ms 03 1 1s401ms 1s401ms 05 2 2s791ms 1s395ms 07 1 1s453ms 1s453ms 08 2 2s955ms 1s477ms 13 4 5s750ms 1s437ms 14 1 1s366ms 1s366ms 16 3 4s224ms 1s408ms 17 1 1s350ms 1s350ms 18 1 1s392ms 1s392ms 19 1 1s416ms 1s416ms 20 2 2s820ms 1s410ms 22 3 4s133ms 1s377ms 23 1 1s411ms 1s411ms Feb 22 03 2 2s858ms 1s429ms 04 1 1s412ms 1s412ms 05 2 2s917ms 1s458ms 07 1 1s477ms 1s477ms 15 1 1s314ms 1s314ms 17 1 1s516ms 1s516ms 18 1 1s455ms 1s455ms 20 2 2s904ms 1s452ms 23 2 2s720ms 1s360ms [ User: pubeu - Total duration: 1m3s - Times executed: 46 ]
-
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-02-19 03:08:29 Duration: 2s468ms 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]', '#') = 'T' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-02-18 02:57:44 Duration: 1s639ms Database: ctdprd51 User: pubeu 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-02-16 09:47:42 Duration: 1s556ms Bind query: yes
15 125 12m6s 1s9ms 16s713ms 5s814ms 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 phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.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 #15
Day Hour Count Duration Avg duration Feb 17 21 1 3s864ms 3s864ms Feb 18 13 1 1s9ms 1s9ms Feb 19 03 1 5s250ms 5s250ms 05 2 3s953ms 1s976ms 06 1 1s101ms 1s101ms 08 1 16s146ms 16s146ms 09 1 16s93ms 16s93ms 11 1 4s393ms 4s393ms 12 2 3s641ms 1s820ms 13 1 2s463ms 2s463ms 14 1 5s723ms 5s723ms 15 4 23s143ms 5s785ms 16 3 28s206ms 9s402ms 17 4 21s991ms 5s497ms 18 2 4s426ms 2s213ms 19 3 5s369ms 1s789ms 21 1 2s295ms 2s295ms 22 1 2s819ms 2s819ms 23 3 17s613ms 5s871ms Feb 20 00 1 5s824ms 5s824ms 01 1 4s388ms 4s388ms 02 1 2s364ms 2s364ms 06 1 1s320ms 1s320ms 09 2 22s274ms 11s137ms 11 2 22s308ms 11s154ms 12 5 39s376ms 7s875ms 13 2 20s235ms 10s117ms 14 1 2s249ms 2s249ms 17 3 4s756ms 1s585ms 18 1 10s743ms 10s743ms 19 3 5s885ms 1s961ms 20 1 4s462ms 4s462ms 21 3 13s451ms 4s483ms 23 1 2s971ms 2s971ms Feb 21 00 1 1s965ms 1s965ms 01 1 16s430ms 16s430ms 02 1 16s181ms 16s181ms 04 1 3s910ms 3s910ms 07 2 20s302ms 10s151ms 08 1 16s424ms 16s424ms 10 1 4s372ms 4s372ms 11 2 3s665ms 1s832ms 12 1 1s143ms 1s143ms 14 1 16s623ms 16s623ms 15 1 1s172ms 1s172ms 18 5 21s423ms 4s284ms 21 2 3s684ms 1s842ms 23 1 10s875ms 10s875ms Feb 22 00 2 6s759ms 3s379ms 01 2 2s609ms 1s304ms 05 2 32s291ms 16s145ms 07 2 11s181ms 5s590ms 08 4 49s427ms 12s356ms 10 1 4s364ms 4s364ms 11 2 17s877ms 8s938ms 12 2 4s154ms 2s77ms 14 2 10s229ms 5s114ms 16 2 16s204ms 8s102ms 17 2 19s368ms 9s684ms 18 3 6s677ms 2s225ms 19 5 32s459ms 6s491ms 20 2 2s832ms 1s416ms 21 2 8s611ms 4s305ms 22 3 12s45ms 4s15ms 23 4 19s374ms 4s843ms [ User: pubeu - Total duration: 3m14s - Times executed: 30 ]
-
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 phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-22 11:55:04 Duration: 16s713ms 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 phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-21 14:08:29 Duration: 16s623ms 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 phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-21 01:28:56 Duration: 16s430ms Bind query: yes
16 111 4m37s 1s20ms 3s520ms 2s500ms 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 #16
Day Hour Count Duration Avg duration Feb 16 05 4 8s775ms 2s193ms 12 1 3s380ms 3s380ms 13 2 5s675ms 2s837ms 18 1 3s327ms 3s327ms Feb 17 05 4 8s972ms 2s243ms 06 1 3s352ms 3s352ms Feb 18 05 4 8s938ms 2s234ms 11 2 6s636ms 3s318ms 21 1 3s413ms 3s413ms Feb 19 04 1 3s358ms 3s358ms 05 4 8s952ms 2s238ms 09 3 8s813ms 2s937ms 10 3 7s39ms 2s346ms 11 1 2s162ms 2s162ms 12 1 2s813ms 2s813ms 13 1 1s911ms 1s911ms 15 1 2s493ms 2s493ms 16 4 9s246ms 2s311ms 17 2 6s645ms 3s322ms 18 2 5s838ms 2s919ms 20 2 5s484ms 2s742ms 22 2 4s356ms 2s178ms Feb 20 00 1 1s980ms 1s980ms 01 1 1s800ms 1s800ms 02 1 2s910ms 2s910ms 05 4 8s952ms 2s238ms 08 1 3s304ms 3s304ms 09 1 2s484ms 2s484ms 11 2 5s892ms 2s946ms 12 2 4s433ms 2s216ms 14 3 7s177ms 2s392ms 16 1 1s843ms 1s843ms 19 1 2s488ms 2s488ms 21 2 4s510ms 2s255ms 23 1 2s917ms 2s917ms Feb 21 00 1 1s817ms 1s817ms 03 1 2s624ms 2s624ms 05 4 9s95ms 2s273ms 08 4 9s134ms 2s283ms 09 1 1s949ms 1s949ms 11 3 8s180ms 2s726ms 12 3 6s456ms 2s152ms 13 1 3s461ms 3s461ms 14 1 2s866ms 2s866ms 15 1 2s506ms 2s506ms 19 1 2s174ms 2s174ms 21 1 2s880ms 2s880ms 22 1 2s447ms 2s447ms Feb 22 00 1 2s471ms 2s471ms 01 1 3s382ms 3s382ms 03 1 3s367ms 3s367ms 04 1 2s635ms 2s635ms 05 4 8s937ms 2s234ms 06 1 2s515ms 2s515ms 08 1 1s917ms 1s917ms 10 1 2s522ms 2s522ms 11 3 8s554ms 2s851ms 12 1 2s818ms 2s818ms 13 1 1s844ms 1s844ms 16 2 3s850ms 1s925ms 19 1 2s312ms 2s312ms 23 1 2s593ms 2s593ms [ User: pubeu - Total duration: 1m53s - Times executed: 39 ]
[ User: qaeu - Total duration: 27s306ms - Times executed: 8 ]
-
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 = '594557' 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 <= 2 ORDER BY sn.path;
Date: 2025-02-21 08:26:20 Duration: 3s520ms 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 = '594557' 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 <= 2 ORDER BY sn.path;
Date: 2025-02-21 08:41:18 Duration: 3s474ms 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 = '655185' 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-02-21 13:43:25 Duration: 3s461ms Database: ctdprd51 User: pubeu Bind query: yes
17 100 13m58s 1s49ms 1m16s 8s389ms 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 #17
Day Hour Count Duration Avg duration Feb 16 12 1 1m3s 1m3s 19 1 1s312ms 1s312ms Feb 17 02 1 2s422ms 2s422ms 07 1 1s75ms 1s75ms 10 2 2s192ms 1s96ms 17 13 35s806ms 2s754ms 18 2 3s686ms 1s843ms 22 1 1s117ms 1s117ms Feb 18 01 4 18s434ms 4s608ms 02 3 4s361ms 1s453ms 03 6 9s344ms 1s557ms 05 2 2s216ms 1s108ms 07 1 43s609ms 43s609ms 08 2 46s820ms 23s410ms 21 1 1s78ms 1s78ms Feb 19 00 5 8s677ms 1s735ms 03 1 1s596ms 1s596ms 13 2 3s146ms 1s573ms 22 2 17s832ms 8s916ms Feb 20 00 1 15s385ms 15s385ms 02 1 1s884ms 1s884ms 03 4 30s208ms 7s552ms 08 2 28s13ms 14s6ms 09 4 54s766ms 13s691ms 17 1 2s966ms 2s966ms Feb 21 08 9 4m52s 32s500ms 09 5 7s849ms 1s569ms 12 4 4s619ms 1s154ms 13 1 14s851ms 14s851ms Feb 22 01 2 16s168ms 8s84ms 03 1 30s889ms 30s889ms 05 1 2s110ms 2s110ms 06 1 19s203ms 19s203ms 08 2 7s522ms 3s761ms 09 1 3s841ms 3s841ms 11 1 19s347ms 19s347ms 15 2 7s636ms 3s818ms 17 1 2s418ms 2s418ms 21 3 5s483ms 1s827ms 22 1 1s85ms 1s85ms 23 1 1s719ms 1s719ms [ User: pubeu - Total duration: 4m55s - Times executed: 39 ]
-
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 = '2093721') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-21 08:31:31 Duration: 1m16s 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 = '2081644') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-16 12:43:49 Duration: 1m3s 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 = '2086420') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-18 08:00:28 Duration: 43s641ms Database: ctdprd51 User: pubeu Bind query: yes
18 51 2m57s 1s191ms 27s242ms 3s477ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 16 04 1 1s556ms 1s556ms 13 1 1s420ms 1s420ms Feb 17 07 1 2s341ms 2s341ms 14 1 1s728ms 1s728ms 16 1 2s196ms 2s196ms 17 1 2s327ms 2s327ms Feb 18 02 1 1s357ms 1s357ms 07 1 5s509ms 5s509ms 08 1 1s759ms 1s759ms 09 1 2s722ms 2s722ms 21 1 2s167ms 2s167ms 23 1 1s292ms 1s292ms Feb 19 00 1 2s184ms 2s184ms 09 1 5s242ms 5s242ms 13 1 1s700ms 1s700ms 17 1 2s176ms 2s176ms 18 1 1s643ms 1s643ms 21 1 2s724ms 2s724ms 22 1 2s610ms 2s610ms 23 1 14s948ms 14s948ms Feb 20 02 1 5s642ms 5s642ms 03 1 2s630ms 2s630ms 04 1 1s653ms 1s653ms 16 1 2s176ms 2s176ms 21 1 1s460ms 1s460ms Feb 21 00 1 2s456ms 2s456ms 04 1 14s219ms 14s219ms 15 1 2s635ms 2s635ms 21 1 27s242ms 27s242ms 23 1 1s306ms 1s306ms Feb 22 02 1 8s94ms 8s94ms 06 1 1s191ms 1s191ms 08 5 9s129ms 1s825ms 09 10 14s155ms 1s415ms 13 2 6s989ms 3s494ms 18 1 2s851ms 2s851ms 20 1 13s927ms 13s927ms [ User: pubeu - Total duration: 56s901ms - Times executed: 16 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086895') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4315700;
Date: 2025-02-21 21:38:22 Duration: 27s242ms 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 = '2081499') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1909300;
Date: 2025-02-19 23:19:28 Duration: 14s948ms 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 = '2093124') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2469800;
Date: 2025-02-21 04:30:38 Duration: 14s219ms Bind query: yes
19 51 54s639ms 1s26ms 1s137ms 1s71ms select g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, i.id ixnid, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by g.nm_sort, c.nm_sort, i.sort_txt limit ? offset ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 18 22 31 33s508ms 1s80ms Feb 20 01 2 2s72ms 1s36ms 09 1 1s71ms 1s71ms Feb 21 07 1 1s28ms 1s28ms 14 1 1s137ms 1s137ms 15 2 2s174ms 1s87ms 16 1 1s26ms 1s26ms 19 1 1s48ms 1s48ms 22 1 1s82ms 1s82ms Feb 22 02 1 1s27ms 1s27ms 06 1 1s33ms 1s33ms 07 1 1s32ms 1s32ms 08 1 1s28ms 1s28ms 09 1 1s40ms 1s40ms 11 2 2s100ms 1s50ms 13 1 1s26ms 1s26ms 19 1 1s115ms 1s115ms 20 1 1s84ms 1s84ms [ User: pubeu - Total duration: 11s808ms - Times executed: 11 ]
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1266526') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 79400;
Date: 2025-02-18 22:27:50 Duration: 1s137ms Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1266526') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 76800;
Date: 2025-02-21 14:04:38 Duration: 1s137ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1266526') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 74400;
Date: 2025-02-18 22:29:31 Duration: 1s132ms Bind query: yes
20 40 41s240ms 1s 1s143ms 1s31ms select p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p on te.enriched_term_id = p.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, p.nm_sort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 16 22 1 1s24ms 1s24ms Feb 17 05 1 1s36ms 1s36ms 22 2 2s33ms 1s16ms Feb 18 12 1 1s12ms 1s12ms 23 1 1s15ms 1s15ms Feb 19 02 1 1s26ms 1s26ms 12 2 2s95ms 1s47ms 14 1 1s61ms 1s61ms Feb 20 03 1 1s20ms 1s20ms 04 1 1s 1s 06 1 1s2ms 1s2ms 08 9 9s375ms 1s41ms 12 1 1s12ms 1s12ms 14 1 1s4ms 1s4ms 20 2 2s122ms 1s61ms 21 1 1s23ms 1s23ms Feb 21 05 3 3s172ms 1s57ms 07 1 1s33ms 1s33ms 10 2 2s62ms 1s31ms 19 3 3s22ms 1s7ms Feb 22 08 1 1s26ms 1s26ms 13 1 1s11ms 1s11ms 15 1 1s6ms 1s6ms 23 1 1s36ms 1s36ms [ User: pubeu - Total duration: 9s214ms - Times executed: 9 ]
-
SELECT /* ChemPathwaysDAO */ p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p ON te.enriched_term_id = p.id WHERE te.term_id = '1266526' AND te.enriched_object_type_id = 6 ORDER BY te.corrected_p_val, p.nm_sort LIMIT 50;
Date: 2025-02-20 08:32:01 Duration: 1s143ms Bind query: yes
-
SELECT /* ChemPathwaysDAO */ p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p ON te.enriched_term_id = p.id WHERE te.term_id = '1266526' AND te.enriched_object_type_id = 6 ORDER BY te.corrected_p_val, p.nm_sort LIMIT 50;
Date: 2025-02-21 05:26:52 Duration: 1s119ms Bind query: yes
-
SELECT /* ChemPathwaysDAO */ p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p ON te.enriched_term_id = p.id WHERE te.term_id = '1428598' AND te.enriched_object_type_id = 6 ORDER BY te.corrected_p_val, p.nm_sort LIMIT 50;
Date: 2025-02-20 20:59:00 Duration: 1s99ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 8h14m54s 8h14m54s 8h14m54s 1 8h14m54s select 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 exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 16 04 1 8h14m54s 8h14m54s -
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 = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'COGNITION DISORDERS' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-16 04:37:32 Duration: 8h14m54s Bind query: yes
2 24m28s 24m58s 24m40s 7 2h52m41s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 16 00 1 24m28s 24m28s Feb 17 00 1 24m31s 24m31s Feb 18 00 1 24m36s 24m36s Feb 19 00 1 24m35s 24m35s Feb 20 00 1 24m40s 24m40s Feb 21 00 1 24m50s 24m50s Feb 22 00 1 24m58s 24m58s -
/* * 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-02-22 00:25:00 Duration: 24m58s
-
/* * 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-02-21 00:24:51 Duration: 24m50s
-
/* * 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-02-20 00:24:42 Duration: 24m40s
3 24m18s 24m18s 24m18s 1 24m18s 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 #3
Day Hour Count Duration Avg duration Feb 22 19 1 24m18s 24m18s -
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-02-22 19:01:21 Duration: 24m18s
4 24m7s 24m7s 24m7s 1 24m7s 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 #4
Day Hour Count Duration Avg duration Feb 22 19 1 24m7s 24m7s -
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-02-22 19:44:19 Duration: 24m7s
5 11m33s 11m42s 11m38s 2 23m16s select 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 gcri.gene_id from dag_path pi inner join gene_chem_reference gcri on pi.descendant_object_id = gcri.chem_id inner join term ti on ti.id = pi.ancestor_object_id where upper(ti.nm) like ? and ti.object_type_id = ?) intersect ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ? union select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?)) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 21 13 2 23m16s 11m38s -
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 /* GAIQH.getChemWhereEquals.Name */ gcri.gene_id FROM dag_path pi INNER JOIN gene_chem_reference gcri ON pi.descendant_object_id = gcri.chem_id INNER JOIN term ti ON ti.id = pi.ancestor_object_id WHERE UPPER(ti.nm) LIKE 'DIFENOCONAZOLE' AND ti.object_type_id = 2) INTERSECT ( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '7955' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '7955' AND n.dag_id = 7) INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-21 13:36:03 Duration: 11m42s Bind query: yes
-
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 /* GAIQH.getChemWhereEquals.Name */ gcri.gene_id FROM dag_path pi INNER JOIN gene_chem_reference gcri ON pi.descendant_object_id = gcri.chem_id INNER JOIN term ti ON ti.id = pi.ancestor_object_id WHERE UPPER(ti.nm) LIKE 'DIFENOCONAZOLE' AND ti.object_type_id = 2) INTERSECT ( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '7955' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '7955' AND n.dag_id = 7) INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-21 13:41:01 Duration: 11m33s Bind query: yes
6 1s408ms 18m8s 1m38s 185 5h3m39s 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 #6
Day Hour Count Duration Avg duration Feb 16 10 1 1s512ms 1s512ms 13 1 4m6s 4m6s 19 1 1s540ms 1s540ms 22 1 1s626ms 1s626ms Feb 17 18 1 1s547ms 1s547ms 21 1 1s604ms 1s604ms Feb 18 00 2 5m14s 2m37s 02 1 1s579ms 1s579ms 10 1 5m8s 5m8s Feb 19 06 1 1s480ms 1s480ms 07 3 2m19s 46s396ms 08 1 1s985ms 1s985ms 09 3 4m57s 1m39s 10 5 5m39s 1m7s 11 3 16m32s 5m30s 12 2 3s489ms 1s744ms 13 4 5m24s 1m21s 14 2 3s98ms 1s549ms 15 5 7m46s 1m33s 16 4 7m13s 1m48s 17 2 4s345ms 2s172ms 18 4 7m57s 1m59s 19 8 13s53ms 1s631ms 20 2 3s488ms 1s744ms 21 6 9m29s 1m34s 22 2 4s971ms 2s485ms 23 2 4m8s 2m4s Feb 20 00 1 4m10s 4m10s 02 3 8m28s 2m49s 03 1 3s264ms 3s264ms 08 4 2m35s 38s967ms 09 2 4m19s 2m9s 10 1 3s279ms 3s279ms 11 1 4m57s 4m57s 13 1 1s857ms 1s857ms 15 2 9m27s 4m43s 16 1 3m30s 3m30s 17 1 1s627ms 1s627ms 18 1 1s660ms 1s660ms 19 1 2s433ms 2s433ms 20 5 36m 7m12s 21 1 17m49s 17m49s 22 3 29m23s 9m47s 23 3 4s991ms 1s663ms Feb 21 00 2 3s496ms 1s748ms 01 2 3s947ms 1s973ms 03 1 2m53s 2m53s 06 2 5m1s 2m30s 07 3 2m10s 43s645ms 11 2 3m51s 1m55s 12 1 5m23s 5m23s 13 3 4m27s 1m29s 14 1 1s894ms 1s894ms 16 1 2s218ms 2s218ms 17 3 5m1s 1m40s 18 2 3m13s 1m36s 19 3 5s527ms 1s842ms 20 1 3m12s 3m12s 21 2 3s327ms 1s663ms 22 3 5m21s 1m47s 23 6 7m38s 1m16s Feb 22 00 1 1s528ms 1s528ms 01 3 7m46s 2m35s 02 2 4s767ms 2s383ms 03 2 6s649ms 3s324ms 04 1 1s597ms 1s597ms 05 3 8s139ms 2s713ms 07 4 2m20s 35s147ms 08 1 4m21s 4m21s 09 1 1s758ms 1s758ms 10 3 6s59ms 2s19ms 11 2 5s650ms 2s825ms 12 3 5s54ms 1s684ms 13 2 4s924ms 2s462ms 14 3 4m46s 1m35s 16 2 7m13s 3m36s 18 1 5m28s 5m28s 19 4 9m35s 2m23s 20 1 1m16s 1m16s 21 1 3m27s 3m27s 23 6 13s888ms 2s314ms [ User: pubeu - Total duration: 1h24m5s - Times executed: 44 ]
-
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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-20 20:36:06 Duration: 18m8s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-20 21:12:53 Duration: 17m49s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-20 22:06:17 Duration: 17m46s Bind query: yes
7 49s112ms 50s380ms 49s654ms 25 20m41s 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 #7
Day Hour Count Duration Avg duration Feb 16 06 1 50s87ms 50s87ms 10 1 49s112ms 49s112ms 14 1 49s241ms 49s241ms 18 1 49s277ms 49s277ms Feb 17 06 1 49s301ms 49s301ms 10 1 49s231ms 49s231ms 14 1 49s422ms 49s422ms 18 1 49s223ms 49s223ms Feb 18 06 1 49s629ms 49s629ms 10 1 49s309ms 49s309ms 14 1 49s288ms 49s288ms 18 1 49s464ms 49s464ms Feb 19 06 1 50s160ms 50s160ms 10 1 49s717ms 49s717ms 14 1 49s701ms 49s701ms 18 1 49s907ms 49s907ms Feb 20 06 1 50s58ms 50s58ms 10 1 49s871ms 49s871ms 14 1 49s982ms 49s982ms 18 1 49s863ms 49s863ms Feb 21 06 1 49s993ms 49s993ms 10 1 49s788ms 49s788ms 14 1 50s380ms 50s380ms 18 1 49s795ms 49s795ms Feb 22 19 1 49s540ms 49s540ms [ User: postgres - Total duration: 19m51s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 19m51s - 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-02-21 14:05:52 Duration: 50s380ms 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-02-19 06:05:52 Duration: 50s160ms 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-02-16 06:05:52 Duration: 50s87ms Database: ctdprd51 User: postgres Application: pg_dump
8 1s49ms 1m16s 8s389ms 100 13m58s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 16 12 1 1m3s 1m3s 19 1 1s312ms 1s312ms Feb 17 02 1 2s422ms 2s422ms 07 1 1s75ms 1s75ms 10 2 2s192ms 1s96ms 17 13 35s806ms 2s754ms 18 2 3s686ms 1s843ms 22 1 1s117ms 1s117ms Feb 18 01 4 18s434ms 4s608ms 02 3 4s361ms 1s453ms 03 6 9s344ms 1s557ms 05 2 2s216ms 1s108ms 07 1 43s609ms 43s609ms 08 2 46s820ms 23s410ms 21 1 1s78ms 1s78ms Feb 19 00 5 8s677ms 1s735ms 03 1 1s596ms 1s596ms 13 2 3s146ms 1s573ms 22 2 17s832ms 8s916ms Feb 20 00 1 15s385ms 15s385ms 02 1 1s884ms 1s884ms 03 4 30s208ms 7s552ms 08 2 28s13ms 14s6ms 09 4 54s766ms 13s691ms 17 1 2s966ms 2s966ms Feb 21 08 9 4m52s 32s500ms 09 5 7s849ms 1s569ms 12 4 4s619ms 1s154ms 13 1 14s851ms 14s851ms Feb 22 01 2 16s168ms 8s84ms 03 1 30s889ms 30s889ms 05 1 2s110ms 2s110ms 06 1 19s203ms 19s203ms 08 2 7s522ms 3s761ms 09 1 3s841ms 3s841ms 11 1 19s347ms 19s347ms 15 2 7s636ms 3s818ms 17 1 2s418ms 2s418ms 21 3 5s483ms 1s827ms 22 1 1s85ms 1s85ms 23 1 1s719ms 1s719ms [ User: pubeu - Total duration: 4m55s - Times executed: 39 ]
-
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 = '2093721') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-21 08:31:31 Duration: 1m16s 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 = '2081644') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-16 12:43:49 Duration: 1m3s 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 = '2086420') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-18 08:00:28 Duration: 43s641ms Database: ctdprd51 User: pubeu Bind query: yes
9 1s24ms 25s454ms 7s477ms 166 20m41s select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 16 10 1 1s310ms 1s310ms 15 1 1s141ms 1s141ms 22 1 1s296ms 1s296ms Feb 17 01 1 17s283ms 17s283ms 22 1 7s402ms 7s402ms 23 1 7s806ms 7s806ms Feb 18 02 1 1s944ms 1s944ms Feb 19 04 1 17s438ms 17s438ms 05 1 3s952ms 3s952ms 07 2 22s713ms 11s356ms 08 1 10s658ms 10s658ms 09 2 23s477ms 11s738ms 10 1 1s778ms 1s778ms 14 5 25s587ms 5s117ms 15 1 10s889ms 10s889ms 16 2 19s323ms 9s661ms 17 3 24s516ms 8s172ms 18 1 21s824ms 21s824ms 19 2 4s295ms 2s147ms 20 5 33s127ms 6s625ms 21 9 59s902ms 6s655ms 22 2 21s732ms 10s866ms Feb 20 00 4 27s189ms 6s797ms 01 3 17s463ms 5s821ms 02 2 45s697ms 22s848ms 06 2 6s177ms 3s88ms 07 2 6s572ms 3s286ms 08 3 7s720ms 2s573ms 09 2 22s842ms 11s421ms 10 4 22s301ms 5s575ms 11 2 23s170ms 11s585ms 12 2 3s151ms 1s575ms 14 3 6s425ms 2s141ms 15 2 12s323ms 6s161ms 16 7 1m46s 15s173ms 17 2 21s892ms 10s946ms 18 2 7s236ms 3s618ms 19 1 10s57ms 10s57ms 20 3 8s615ms 2s871ms 21 2 12s443ms 6s221ms 22 6 43s822ms 7s303ms 23 1 17s764ms 17s764ms Feb 21 00 2 25s163ms 12s581ms 01 1 2s24ms 2s24ms 02 2 15s121ms 7s560ms 03 1 1s847ms 1s847ms 06 2 22s245ms 11s122ms 07 2 3s270ms 1s635ms 09 1 1s497ms 1s497ms 11 1 17s459ms 17s459ms 13 1 7s791ms 7s791ms 16 2 2s880ms 1s440ms 17 2 3s330ms 1s665ms 18 2 4s798ms 2s399ms 19 2 6s607ms 3s303ms 20 1 21s172ms 21s172ms 21 1 21s 21s 22 1 22s36ms 22s36ms 23 1 3s683ms 3s683ms Feb 22 00 1 1s207ms 1s207ms 01 1 10s949ms 10s949ms 02 1 3s13ms 3s13ms 03 2 19s554ms 9s777ms 07 1 21s280ms 21s280ms 08 1 1s557ms 1s557ms 10 1 3s559ms 3s559ms 11 1 21s864ms 21s864ms 12 2 39s288ms 19s644ms 13 3 4s488ms 1s496ms 14 5 12s644ms 2s528ms 15 1 18s465ms 18s465ms 16 1 3s553ms 3s553ms 17 2 4s966ms 2s483ms 18 2 6s752ms 3s376ms 19 2 16s268ms 8s134ms 20 1 25s454ms 25s454ms 21 4 18s123ms 4s530ms 22 3 44s136ms 14s712ms 23 6 13s665ms 2s277ms [ User: pubeu - Total duration: 6m45s - Times executed: 48 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-22 20:19:09 Duration: 25s454ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-20 02:57:16 Duration: 24s131ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-20 16:39:32 Duration: 22s115ms Database: ctdprd51 User: pubeu Bind query: yes
10 1s9ms 16s713ms 5s814ms 125 12m6s 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 phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.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 #10
Day Hour Count Duration Avg duration Feb 17 21 1 3s864ms 3s864ms Feb 18 13 1 1s9ms 1s9ms Feb 19 03 1 5s250ms 5s250ms 05 2 3s953ms 1s976ms 06 1 1s101ms 1s101ms 08 1 16s146ms 16s146ms 09 1 16s93ms 16s93ms 11 1 4s393ms 4s393ms 12 2 3s641ms 1s820ms 13 1 2s463ms 2s463ms 14 1 5s723ms 5s723ms 15 4 23s143ms 5s785ms 16 3 28s206ms 9s402ms 17 4 21s991ms 5s497ms 18 2 4s426ms 2s213ms 19 3 5s369ms 1s789ms 21 1 2s295ms 2s295ms 22 1 2s819ms 2s819ms 23 3 17s613ms 5s871ms Feb 20 00 1 5s824ms 5s824ms 01 1 4s388ms 4s388ms 02 1 2s364ms 2s364ms 06 1 1s320ms 1s320ms 09 2 22s274ms 11s137ms 11 2 22s308ms 11s154ms 12 5 39s376ms 7s875ms 13 2 20s235ms 10s117ms 14 1 2s249ms 2s249ms 17 3 4s756ms 1s585ms 18 1 10s743ms 10s743ms 19 3 5s885ms 1s961ms 20 1 4s462ms 4s462ms 21 3 13s451ms 4s483ms 23 1 2s971ms 2s971ms Feb 21 00 1 1s965ms 1s965ms 01 1 16s430ms 16s430ms 02 1 16s181ms 16s181ms 04 1 3s910ms 3s910ms 07 2 20s302ms 10s151ms 08 1 16s424ms 16s424ms 10 1 4s372ms 4s372ms 11 2 3s665ms 1s832ms 12 1 1s143ms 1s143ms 14 1 16s623ms 16s623ms 15 1 1s172ms 1s172ms 18 5 21s423ms 4s284ms 21 2 3s684ms 1s842ms 23 1 10s875ms 10s875ms Feb 22 00 2 6s759ms 3s379ms 01 2 2s609ms 1s304ms 05 2 32s291ms 16s145ms 07 2 11s181ms 5s590ms 08 4 49s427ms 12s356ms 10 1 4s364ms 4s364ms 11 2 17s877ms 8s938ms 12 2 4s154ms 2s77ms 14 2 10s229ms 5s114ms 16 2 16s204ms 8s102ms 17 2 19s368ms 9s684ms 18 3 6s677ms 2s225ms 19 5 32s459ms 6s491ms 20 2 2s832ms 1s416ms 21 2 8s611ms 4s305ms 22 3 12s45ms 4s15ms 23 4 19s374ms 4s843ms [ User: pubeu - Total duration: 3m14s - Times executed: 30 ]
-
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 phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-22 11:55:04 Duration: 16s713ms 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 phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-21 14:08:29 Duration: 16s623ms 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 phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-21 01:28:56 Duration: 16s430ms Bind query: yes
11 1s1ms 6s43ms 4s252ms 206 14m35s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 16 00 1 4s664ms 4s664ms 01 2 9s521ms 4s760ms 02 4 19s255ms 4s813ms 03 6 21s891ms 3s648ms 04 2 9s284ms 4s642ms 08 1 5s388ms 5s388ms 09 1 4s924ms 4s924ms 11 1 5s371ms 5s371ms 13 1 5s254ms 5s254ms 16 1 4s683ms 4s683ms 20 4 18s660ms 4s665ms 21 1 4s563ms 4s563ms Feb 17 01 2 5s690ms 2s845ms 04 2 9s394ms 4s697ms 08 1 4s545ms 4s545ms 11 2 10s349ms 5s174ms 12 1 5s404ms 5s404ms 16 1 1s5ms 1s5ms 22 6 22s267ms 3s711ms Feb 18 07 1 4s716ms 4s716ms 08 1 5s545ms 5s545ms 09 1 4s568ms 4s568ms 14 3 14s292ms 4s764ms 15 3 15s985ms 5s328ms 17 2 5s926ms 2s963ms 22 1 4s820ms 4s820ms 23 1 4s840ms 4s840ms Feb 19 01 1 5s198ms 5s198ms 02 1 4s784ms 4s784ms 03 2 9s501ms 4s750ms 04 2 5s979ms 2s989ms 05 8 32s381ms 4s47ms 07 3 15s217ms 5s72ms 10 3 11s53ms 3s684ms 12 4 15s822ms 3s955ms 13 1 4s950ms 4s950ms 17 1 4s982ms 4s982ms 18 4 21s352ms 5s338ms 19 1 1s23ms 1s23ms 20 2 2s36ms 1s18ms 21 1 5s170ms 5s170ms 23 1 5s268ms 5s268ms Feb 20 00 3 11s271ms 3s757ms 01 4 16s139ms 4s34ms 02 3 11s295ms 3s765ms 03 3 11s202ms 3s734ms 06 6 22s665ms 3s777ms 07 2 9s511ms 4s755ms 08 17 1m26s 5s72ms 09 1 5s262ms 5s262ms 10 3 6s898ms 2s299ms 11 2 5s758ms 2s879ms 12 1 5s437ms 5s437ms 13 1 4s694ms 4s694ms 15 1 1s46ms 1s46ms 18 2 10s100ms 5s50ms 20 1 4s739ms 4s739ms 21 1 5s208ms 5s208ms 22 2 2s48ms 1s24ms Feb 21 00 2 6s656ms 3s328ms 01 1 5s459ms 5s459ms 05 8 32s722ms 4s90ms 07 4 16s577ms 4s144ms 08 1 5s408ms 5s408ms 10 9 37s985ms 4s220ms 11 2 10s301ms 5s150ms 12 1 1s28ms 1s28ms 14 1 5s289ms 5s289ms 15 3 6s988ms 2s329ms 16 1 1s20ms 1s20ms 18 1 4s968ms 4s968ms 20 1 5s197ms 5s197ms Feb 22 01 2 10s248ms 5s124ms 02 1 5s108ms 5s108ms 04 2 5s856ms 2s928ms 05 1 4s911ms 4s911ms 07 2 9s896ms 4s948ms 09 3 14s625ms 4s875ms 11 1 4s896ms 4s896ms 12 5 21s102ms 4s220ms 13 3 14s585ms 4s861ms 14 1 5s76ms 5s76ms 17 1 5s247ms 5s247ms 18 1 5s169ms 5s169ms 20 3 16s268ms 5s422ms 21 2 6s106ms 3s53ms 22 1 5s245ms 5s245ms 23 1 4s966ms 4s966ms [ User: pubeu - Total duration: 4m9s - Times executed: 57 ]
-
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 = '1401438' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-22 20:07:17 Duration: 6s43ms 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 = '1338761' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-21 00:08:30 Duration: 5s649ms 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 = '1266526' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-20 08:17:16 Duration: 5s649ms Database: ctdprd51 User: pubeu Bind query: yes
12 3s852ms 17s36ms 4s105ms 376 25m43s 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 Feb 16 02 1 4s88ms 4s88ms 04 1 4s116ms 4s116ms 05 3 11s922ms 3s974ms 06 1 4s66ms 4s66ms 08 1 3s991ms 3s991ms 09 4 16s143ms 4s35ms 11 1 3s920ms 3s920ms 12 2 8s10ms 4s5ms 13 2 7s911ms 3s955ms 15 1 4s24ms 4s24ms 17 2 7s995ms 3s997ms 19 2 8s92ms 4s46ms 20 3 12s111ms 4s37ms 21 3 12s262ms 4s87ms 22 1 3s915ms 3s915ms Feb 17 00 1 4s104ms 4s104ms 01 3 12s397ms 4s132ms 03 2 8s432ms 4s216ms 04 2 8s218ms 4s109ms 05 4 16s48ms 4s12ms 06 4 16s72ms 4s18ms 07 3 12s706ms 4s235ms 09 2 8s240ms 4s120ms 10 1 4s16ms 4s16ms 11 2 8s372ms 4s186ms 12 1 4s115ms 4s115ms 16 2 7s978ms 3s989ms 19 2 8s101ms 4s50ms 20 1 5s709ms 5s709ms 21 1 3s959ms 3s959ms 22 1 3s998ms 3s998ms 23 2 8s128ms 4s64ms Feb 18 00 7 28s699ms 4s99ms 01 4 16s351ms 4s87ms 02 4 16s5ms 4s1ms 03 3 12s259ms 4s86ms 04 2 7s913ms 3s956ms 05 4 15s948ms 3s987ms 07 5 20s685ms 4s137ms 08 3 11s971ms 3s990ms 09 2 8s49ms 4s24ms 10 1 4s13ms 4s13ms 11 3 12s261ms 4s87ms 12 2 8s128ms 4s64ms 13 4 16s101ms 4s25ms 15 2 8s153ms 4s76ms 16 3 11s984ms 3s994ms 17 3 12s30ms 4s10ms 18 2 8s16ms 4s8ms 19 2 8s31ms 4s15ms 20 4 16s9ms 4s2ms 21 3 11s901ms 3s967ms 22 3 12s156ms 4s52ms 23 6 24s508ms 4s84ms Feb 19 01 5 20s177ms 4s35ms 02 8 33s927ms 4s240ms 03 3 11s930ms 3s976ms 05 8 32s461ms 4s57ms 06 1 4s87ms 4s87ms 08 1 4s177ms 4s177ms 09 3 12s232ms 4s77ms 10 1 4s33ms 4s33ms 11 1 4s466ms 4s466ms 12 4 16s245ms 4s61ms 13 1 3s867ms 3s867ms 14 1 4s105ms 4s105ms 15 1 4s185ms 4s185ms 16 1 4s151ms 4s151ms 17 2 8s117ms 4s58ms 19 1 4s17ms 4s17ms 20 4 16s430ms 4s107ms 21 3 12s480ms 4s160ms 22 1 4s93ms 4s93ms 23 5 20s411ms 4s82ms Feb 20 00 7 28s674ms 4s96ms 01 4 16s194ms 4s48ms 02 1 3s893ms 3s893ms 03 3 12s221ms 4s73ms 04 3 12s95ms 4s31ms 05 2 7s978ms 3s989ms 07 2 7s918ms 3s959ms 08 8 32s595ms 4s74ms 09 6 25s199ms 4s199ms 10 4 16s37ms 4s9ms 11 8 32s524ms 4s65ms 12 7 27s960ms 3s994ms 13 3 12s31ms 4s10ms 15 1 4s76ms 4s76ms 18 4 16s79ms 4s19ms 21 14 56s360ms 4s25ms 22 2 7s951ms 3s975ms Feb 21 00 1 3s990ms 3s990ms 01 2 8s435ms 4s217ms 03 4 16s276ms 4s69ms 05 10 40s138ms 4s13ms 06 1 4s57ms 4s57ms 09 1 4s13ms 4s13ms 10 6 23s879ms 3s979ms 11 5 20s312ms 4s62ms 12 1 4s257ms 4s257ms 13 1 4s1ms 4s1ms 14 2 8s61ms 4s30ms 15 1 4s2ms 4s2ms 18 1 3s984ms 3s984ms 19 2 8s5ms 4s2ms 20 2 7s934ms 3s967ms 22 2 7s973ms 3s986ms Feb 22 01 3 12s281ms 4s93ms 02 6 24s732ms 4s122ms 03 5 19s961ms 3s992ms 04 7 28s147ms 4s21ms 05 16 1m4s 4s28ms 06 8 49s643ms 6s205ms 07 5 20s896ms 4s179ms 08 1 4s17ms 4s17ms 10 2 8s48ms 4s24ms 11 2 8s201ms 4s100ms 12 2 7s882ms 3s941ms 13 6 24s35ms 4s5ms 14 1 4s65ms 4s65ms 17 1 4s290ms 4s290ms 20 1 4s48ms 4s48ms [ User: pubeu - Total duration: 8m42s - Times executed: 128 ]
-
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 = '1399342') 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 = '1399342') 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-02-22 06:55:58 Duration: 17s36ms 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 = '1343984') 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 = '1343984') 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-02-22 06:50:06 Duration: 5s769ms 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 = '1343984') 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 = '1343984') 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-02-19 02:26:24 Duration: 5s714ms Database: ctdprd51 User: pubeu Bind query: yes
13 1s191ms 27s242ms 3s477ms 51 2m57s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 16 04 1 1s556ms 1s556ms 13 1 1s420ms 1s420ms Feb 17 07 1 2s341ms 2s341ms 14 1 1s728ms 1s728ms 16 1 2s196ms 2s196ms 17 1 2s327ms 2s327ms Feb 18 02 1 1s357ms 1s357ms 07 1 5s509ms 5s509ms 08 1 1s759ms 1s759ms 09 1 2s722ms 2s722ms 21 1 2s167ms 2s167ms 23 1 1s292ms 1s292ms Feb 19 00 1 2s184ms 2s184ms 09 1 5s242ms 5s242ms 13 1 1s700ms 1s700ms 17 1 2s176ms 2s176ms 18 1 1s643ms 1s643ms 21 1 2s724ms 2s724ms 22 1 2s610ms 2s610ms 23 1 14s948ms 14s948ms Feb 20 02 1 5s642ms 5s642ms 03 1 2s630ms 2s630ms 04 1 1s653ms 1s653ms 16 1 2s176ms 2s176ms 21 1 1s460ms 1s460ms Feb 21 00 1 2s456ms 2s456ms 04 1 14s219ms 14s219ms 15 1 2s635ms 2s635ms 21 1 27s242ms 27s242ms 23 1 1s306ms 1s306ms Feb 22 02 1 8s94ms 8s94ms 06 1 1s191ms 1s191ms 08 5 9s129ms 1s825ms 09 10 14s155ms 1s415ms 13 2 6s989ms 3s494ms 18 1 2s851ms 2s851ms 20 1 13s927ms 13s927ms [ User: pubeu - Total duration: 56s901ms - Times executed: 16 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086895') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4315700;
Date: 2025-02-21 21:38:22 Duration: 27s242ms 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 = '2081499') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1909300;
Date: 2025-02-19 23:19:28 Duration: 14s948ms 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 = '2093124') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2469800;
Date: 2025-02-21 04:30:38 Duration: 14s219ms Bind query: yes
14 1s237ms 9s523ms 3s222ms 945 50m45s 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 #14
Day Hour Count Duration Avg duration Feb 16 00 1 1s953ms 1s953ms 02 1 2s8ms 2s8ms 03 6 17s445ms 2s907ms 05 1 6s390ms 6s390ms 10 1 6s113ms 6s113ms 11 1 3s251ms 3s251ms 12 1 1s969ms 1s969ms 14 1 1s371ms 1s371ms 16 1 1s239ms 1s239ms 20 5 14s152ms 2s830ms 22 1 6s308ms 6s308ms Feb 17 02 1 3s502ms 3s502ms 03 1 2s851ms 2s851ms 16 2 5s330ms 2s665ms 22 6 16s404ms 2s734ms Feb 18 01 1 1s380ms 1s380ms 10 1 2s829ms 2s829ms 11 1 5s914ms 5s914ms 18 1 6s206ms 6s206ms 21 1 3s305ms 3s305ms Feb 19 01 1 2s192ms 2s192ms 05 6 17s834ms 2s972ms 06 1 2s45ms 2s45ms 07 4 11s104ms 2s776ms 08 11 48s168ms 4s378ms 09 15 47s786ms 3s185ms 10 18 50s506ms 2s805ms 11 9 26s740ms 2s971ms 12 15 53s859ms 3s590ms 13 13 42s856ms 3s296ms 14 20 1m6s 3s327ms 15 19 59s709ms 3s142ms 16 15 46s698ms 3s113ms 17 16 40s390ms 2s524ms 18 17 1m2s 3s670ms 19 14 45s605ms 3s257ms 20 15 39s639ms 2s642ms 21 20 1m2s 3s124ms 22 17 53s855ms 3s167ms 23 13 52s480ms 4s36ms Feb 20 00 20 1m2s 3s103ms 01 20 59s993ms 2s999ms 02 7 15s646ms 2s235ms 03 4 14s755ms 3s688ms 04 2 6s404ms 3s202ms 05 7 35s899ms 5s128ms 06 3 11s377ms 3s792ms 07 1 2s198ms 2s198ms 08 11 34s74ms 3s97ms 09 12 44s860ms 3s738ms 10 6 13s845ms 2s307ms 11 4 17s137ms 4s284ms 12 7 19s177ms 2s739ms 13 12 31s640ms 2s636ms 14 7 26s906ms 3s843ms 15 6 18s981ms 3s163ms 16 9 18s751ms 2s83ms 17 12 30s346ms 2s528ms 18 13 42s600ms 3s276ms 19 16 52s826ms 3s301ms 20 13 35s972ms 2s767ms 21 14 46s111ms 3s293ms 22 13 40s220ms 3s93ms 23 6 24s374ms 4s62ms Feb 21 00 7 28s189ms 4s27ms 01 5 18s592ms 3s718ms 02 4 24s967ms 6s241ms 03 5 21s455ms 4s291ms 04 4 8s387ms 2s96ms 05 20 1m13s 3s655ms 06 8 22s179ms 2s772ms 07 12 36s139ms 3s11ms 08 1 2s62ms 2s62ms 09 3 9s821ms 3s273ms 10 6 21s180ms 3s530ms 11 8 31s696ms 3s962ms 12 10 28s454ms 2s845ms 13 4 12s244ms 3s61ms 14 6 19s339ms 3s223ms 15 5 18s348ms 3s669ms 16 3 4s726ms 1s575ms 17 8 29s524ms 3s690ms 18 6 29s844ms 4s974ms 19 9 23s817ms 2s646ms 20 13 35s612ms 2s739ms 21 12 28s306ms 2s358ms 22 11 28s8ms 2s546ms 23 7 27s507ms 3s929ms Feb 22 00 8 21s229ms 2s653ms 01 10 34s805ms 3s480ms 02 7 16s443ms 2s349ms 03 11 36s46ms 3s276ms 04 6 26s190ms 4s365ms 05 12 34s872ms 2s906ms 06 6 14s533ms 2s422ms 07 8 27s788ms 3s473ms 08 8 24s952ms 3s119ms 09 4 11s894ms 2s973ms 10 8 20s663ms 2s582ms 11 13 37s505ms 2s885ms 12 13 40s159ms 3s89ms 13 7 29s62ms 4s151ms 14 9 21s427ms 2s380ms 15 11 30s724ms 2s793ms 16 13 45s32ms 3s464ms 17 8 27s416ms 3s427ms 18 7 22s692ms 3s241ms 19 14 44s636ms 3s188ms 20 16 1m9s 4s354ms 21 13 59s845ms 4s603ms 22 12 27s538ms 2s294ms 23 25 1m27s 3s495ms [ User: pubeu - Total duration: 13m14s - Times executed: 239 ]
-
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 = '1399342'))) 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-02-20 05:07:44 Duration: 9s523ms 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 = '1399342'))) 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-02-21 10:56:45 Duration: 6s971ms 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 = '1399342'))) 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-02-22 21:44:26 Duration: 6s742ms Bind query: yes
15 1s3ms 5s985ms 2s695ms 218 9m47s 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 Feb 16 13 1 1s79ms 1s79ms Feb 18 21 1 2s69ms 2s69ms Feb 19 03 1 1s280ms 1s280ms 06 2 6s179ms 3s89ms 08 1 1s83ms 1s83ms 09 2 5s453ms 2s726ms 10 2 4s885ms 2s442ms 11 2 4s455ms 2s227ms 12 5 12s347ms 2s469ms 13 6 15s533ms 2s588ms 14 4 8s663ms 2s165ms 15 3 5s340ms 1s780ms 16 3 6s542ms 2s180ms 17 5 11s83ms 2s216ms 18 3 5s221ms 1s740ms 19 6 11s614ms 1s935ms 20 5 8s732ms 1s746ms 21 6 20s540ms 3s423ms 22 2 8s737ms 4s368ms 23 6 21s474ms 3s579ms Feb 20 00 3 8s610ms 2s870ms 01 4 9s877ms 2s469ms 02 3 6s133ms 2s44ms 03 1 1s518ms 1s518ms 07 2 4s892ms 2s446ms 08 2 8s454ms 4s227ms 09 5 15s952ms 3s190ms 10 2 4s828ms 2s414ms 11 4 12s156ms 3s39ms 12 2 3s670ms 1s835ms 13 1 1s664ms 1s664ms 15 3 4s981ms 1s660ms 16 1 1s535ms 1s535ms 17 1 2s683ms 2s683ms 18 2 3s185ms 1s592ms 19 2 5s393ms 2s696ms 20 1 5s722ms 5s722ms 22 5 16s234ms 3s246ms 23 4 8s228ms 2s57ms Feb 21 00 1 2s693ms 2s693ms 01 1 1s42ms 1s42ms 02 1 3s826ms 3s826ms 03 1 2s335ms 2s335ms 04 3 10s825ms 3s608ms 05 3 4s824ms 1s608ms 07 2 3s230ms 1s615ms 08 4 9s869ms 2s467ms 09 2 4s274ms 2s137ms 10 2 8s167ms 4s83ms 11 2 3s760ms 1s880ms 12 5 15s804ms 3s160ms 14 1 3s419ms 3s419ms 16 2 7s14ms 3s507ms 18 2 4s295ms 2s147ms 19 2 4s883ms 2s441ms 20 4 7s437ms 1s859ms 22 1 5s836ms 5s836ms 23 2 4s206ms 2s103ms Feb 22 00 1 5s873ms 5s873ms 01 1 1s4ms 1s4ms 02 1 2s737ms 2s737ms 03 6 13s418ms 2s236ms 04 2 8s43ms 4s21ms 05 3 17s564ms 5s854ms 06 5 14s666ms 2s933ms 07 3 10s823ms 3s607ms 08 3 6s492ms 2s164ms 09 2 6s176ms 3s88ms 10 3 9s643ms 3s214ms 11 6 17s704ms 2s950ms 12 2 8s525ms 4s262ms 13 3 9s514ms 3s171ms 14 1 2s743ms 2s743ms 15 1 2s229ms 2s229ms 16 3 6s362ms 2s120ms 17 2 8s30ms 4s15ms 18 1 2s723ms 2s723ms 19 1 1s624ms 1s624ms 20 3 11s230ms 3s743ms 21 1 2s90ms 2s90ms 22 4 12s858ms 3s214ms 23 5 9s688ms 1s937ms [ User: pubeu - Total duration: 2m39s - Times executed: 56 ]
-
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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-20 09:11:41 Duration: 5s985ms 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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-19 22:11:21 Duration: 5s974ms 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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-19 23:04:40 Duration: 5s938ms Bind query: yes
16 1s1ms 11s357ms 2s679ms 269 12m 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 #16
Day Hour Count Duration Avg duration Feb 16 01 3 5s223ms 1s741ms 10 1 1s80ms 1s80ms 11 1 7s905ms 7s905ms 19 1 1s1ms 1s1ms 21 1 4s700ms 4s700ms 22 2 3s601ms 1s800ms Feb 17 00 1 2s400ms 2s400ms 02 1 1s228ms 1s228ms 05 1 2s669ms 2s669ms 07 2 4s604ms 2s302ms 09 2 5s861ms 2s930ms 10 1 2s786ms 2s786ms 11 2 3s666ms 1s833ms 12 1 2s675ms 2s675ms 13 1 3s75ms 3s75ms 14 2 4s617ms 2s308ms 16 1 1s605ms 1s605ms 17 1 2s407ms 2s407ms 19 3 8s301ms 2s767ms 21 3 6s954ms 2s318ms 23 2 3s998ms 1s999ms Feb 18 00 1 2s422ms 2s422ms 01 1 4s853ms 4s853ms 02 3 8s732ms 2s910ms 03 4 6s989ms 1s747ms 06 1 2s141ms 2s141ms 07 2 5s303ms 2s651ms 08 2 2s289ms 1s144ms 09 3 10s552ms 3s517ms 14 3 7s294ms 2s431ms 17 1 2s386ms 2s386ms 21 3 9s274ms 3s91ms 22 1 2s692ms 2s692ms 23 5 7s990ms 1s598ms Feb 19 00 1 2s499ms 2s499ms 02 3 10s722ms 3s574ms 03 1 3s101ms 3s101ms 05 1 2s93ms 2s93ms 10 1 1s616ms 1s616ms 11 4 23s656ms 5s914ms 12 5 12s768ms 2s553ms 13 1 8s407ms 8s407ms 15 2 5s701ms 2s850ms 16 2 8s311ms 4s155ms 17 4 5s385ms 1s346ms 18 3 10s450ms 3s483ms 19 3 3s243ms 1s81ms 20 6 19s485ms 3s247ms 21 3 5s189ms 1s729ms 22 5 8s219ms 1s643ms 23 2 11s652ms 5s826ms Feb 20 00 1 3s144ms 3s144ms 01 3 3s787ms 1s262ms 02 3 9s296ms 3s98ms 03 2 9s125ms 4s562ms 04 1 3s214ms 3s214ms 05 1 2s115ms 2s115ms 06 3 6s679ms 2s226ms 08 5 10s95ms 2s19ms 09 4 16s312ms 4s78ms 12 3 3s893ms 1s297ms 14 1 1s35ms 1s35ms 15 1 1s402ms 1s402ms 16 2 7s600ms 3s800ms 17 3 7s338ms 2s446ms 18 2 3s978ms 1s989ms 19 2 2s332ms 1s166ms 20 4 9s698ms 2s424ms 21 2 6s822ms 3s411ms 22 3 6s274ms 2s91ms 23 2 8s272ms 4s136ms Feb 21 00 1 1s161ms 1s161ms 01 1 2s155ms 2s155ms 02 4 7s392ms 1s848ms 03 2 5s822ms 2s911ms 04 2 8s618ms 4s309ms 07 2 4s965ms 2s482ms 08 4 10s65ms 2s516ms 09 2 3s841ms 1s920ms 10 2 3s242ms 1s621ms 11 3 7s614ms 2s538ms 12 1 2s620ms 2s620ms 13 1 1s58ms 1s58ms 15 1 1s451ms 1s451ms 16 1 1s758ms 1s758ms 17 2 3s475ms 1s737ms 18 1 6s287ms 6s287ms 19 3 10s769ms 3s589ms 20 5 17s273ms 3s454ms 21 2 4s1ms 2s 22 3 4s964ms 1s654ms 23 1 1s722ms 1s722ms Feb 22 00 2 3s546ms 1s773ms 01 3 3s304ms 1s101ms 02 5 14s946ms 2s989ms 03 3 13s476ms 4s492ms 04 2 3s833ms 1s916ms 05 2 12s210ms 6s105ms 06 1 2s162ms 2s162ms 07 3 9s433ms 3s144ms 08 3 4s147ms 1s382ms 09 2 2s657ms 1s328ms 10 3 6s308ms 2s102ms 11 6 11s530ms 1s921ms 13 6 16s216ms 2s702ms 14 1 1s543ms 1s543ms 15 3 6s322ms 2s107ms 16 2 5s859ms 2s929ms 17 3 11s133ms 3s711ms 18 2 9s273ms 4s636ms 19 1 1s197ms 1s197ms 20 3 5s151ms 1s717ms 21 5 23s253ms 4s650ms 22 3 16s982ms 5s660ms 23 3 7s789ms 2s596ms [ User: pubeu - Total duration: 3m23s - Times executed: 83 ]
-
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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-19 11:32:17 Duration: 11s357ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-19 20:37:58 Duration: 11s202ms 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 = '2085373') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-19 13:37:52 Duration: 8s407ms Bind query: yes
17 1s1ms 6s864ms 2s657ms 825 36m32s 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 #17
Day Hour Count Duration Avg duration Feb 16 00 1 1s53ms 1s53ms 03 8 18s532ms 2s316ms 05 1 3s242ms 3s242ms 08 1 2s548ms 2s548ms 11 2 2s613ms 1s306ms 14 1 1s15ms 1s15ms 20 9 20s177ms 2s241ms 22 1 3s397ms 3s397ms Feb 17 02 1 1s140ms 1s140ms 03 1 2s175ms 2s175ms 06 1 1s253ms 1s253ms 10 1 1s15ms 1s15ms 11 1 3s393ms 3s393ms 14 1 3s303ms 3s303ms 22 9 20s205ms 2s245ms Feb 18 17 1 2s327ms 2s327ms 23 1 1s146ms 1s146ms Feb 19 01 1 1s173ms 1s173ms 02 1 3s265ms 3s265ms 04 3 5s626ms 1s875ms 05 10 21s467ms 2s146ms 06 3 9s529ms 3s176ms 07 1 1s192ms 1s192ms 08 5 10s953ms 2s190ms 09 13 32s785ms 2s521ms 10 9 23s534ms 2s614ms 11 6 15s797ms 2s632ms 12 10 25s518ms 2s551ms 13 12 33s424ms 2s785ms 14 19 39s696ms 2s89ms 15 20 1m5s 3s295ms 16 11 23s760ms 2s160ms 17 19 49s293ms 2s594ms 18 11 32s519ms 2s956ms 19 20 50s744ms 2s537ms 20 10 29s834ms 2s983ms 21 13 44s79ms 3s390ms 22 21 51s281ms 2s441ms 23 12 31s351ms 2s612ms Feb 20 00 13 34s832ms 2s679ms 01 8 22s837ms 2s854ms 02 12 35s821ms 2s985ms 03 7 19s943ms 2s849ms 05 9 33s489ms 3s721ms 06 4 6s373ms 1s593ms 07 4 10s380ms 2s595ms 08 6 16s151ms 2s691ms 09 8 16s705ms 2s88ms 10 8 24s460ms 3s57ms 11 7 22s418ms 3s202ms 12 3 6s507ms 2s169ms 13 10 22s309ms 2s230ms 14 8 23s347ms 2s918ms 16 5 13s627ms 2s725ms 17 11 33s696ms 3s63ms 18 3 6s918ms 2s306ms 19 11 37s514ms 3s410ms 20 16 50s655ms 3s165ms 21 3 4s990ms 1s663ms 22 7 17s333ms 2s476ms 23 5 18s188ms 3s637ms Feb 21 00 10 20s250ms 2s25ms 01 3 5s557ms 1s852ms 02 3 9s1ms 3s 03 9 25s117ms 2s790ms 04 9 20s882ms 2s320ms 05 20 52s790ms 2s639ms 06 5 13s663ms 2s732ms 07 6 15s552ms 2s592ms 08 3 5s372ms 1s790ms 09 3 6s552ms 2s184ms 10 11 23s968ms 2s178ms 11 7 17s467ms 2s495ms 12 5 17s911ms 3s582ms 13 7 17s404ms 2s486ms 14 6 15s867ms 2s644ms 15 5 12s492ms 2s498ms 16 2 5s839ms 2s919ms 17 8 22s932ms 2s866ms 18 11 26s12ms 2s364ms 19 5 11s106ms 2s221ms 20 10 22s215ms 2s221ms 21 8 18s794ms 2s349ms 22 8 22s152ms 2s769ms 23 7 17s290ms 2s470ms Feb 22 00 8 26s100ms 3s262ms 01 11 28s44ms 2s549ms 02 2 6s342ms 3s171ms 03 5 13s724ms 2s744ms 04 9 28s298ms 3s144ms 05 6 17s670ms 2s945ms 06 6 16s896ms 2s816ms 07 6 16s308ms 2s718ms 08 6 24s782ms 4s130ms 09 5 11s193ms 2s238ms 10 5 13s771ms 2s754ms 11 10 35s956ms 3s595ms 12 20 1m 3s9ms 13 10 26s352ms 2s635ms 14 2 7s989ms 3s994ms 15 11 27s446ms 2s495ms 16 6 13s400ms 2s233ms 17 8 22s588ms 2s823ms 18 10 22s121ms 2s212ms 19 13 38s662ms 2s974ms 20 12 32s984ms 2s748ms 21 6 14s193ms 2s365ms 22 16 40s431ms 2s526ms 23 22 51s290ms 2s331ms [ User: pubeu - Total duration: 9m48s - Times executed: 215 ]
-
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 = '1399342') 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 = '1399342') 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-02-20 05:07:44 Duration: 6s864ms 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 = '1437508') 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 = '1437508') 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-02-20 05:07:44 Duration: 6s431ms 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 = '1399342') 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 = '1399342') 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-02-19 20:48:43 Duration: 4s787ms Bind query: yes
18 1s20ms 3s520ms 2s500ms 111 4m37s 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 #18
Day Hour Count Duration Avg duration Feb 16 05 4 8s775ms 2s193ms 12 1 3s380ms 3s380ms 13 2 5s675ms 2s837ms 18 1 3s327ms 3s327ms Feb 17 05 4 8s972ms 2s243ms 06 1 3s352ms 3s352ms Feb 18 05 4 8s938ms 2s234ms 11 2 6s636ms 3s318ms 21 1 3s413ms 3s413ms Feb 19 04 1 3s358ms 3s358ms 05 4 8s952ms 2s238ms 09 3 8s813ms 2s937ms 10 3 7s39ms 2s346ms 11 1 2s162ms 2s162ms 12 1 2s813ms 2s813ms 13 1 1s911ms 1s911ms 15 1 2s493ms 2s493ms 16 4 9s246ms 2s311ms 17 2 6s645ms 3s322ms 18 2 5s838ms 2s919ms 20 2 5s484ms 2s742ms 22 2 4s356ms 2s178ms Feb 20 00 1 1s980ms 1s980ms 01 1 1s800ms 1s800ms 02 1 2s910ms 2s910ms 05 4 8s952ms 2s238ms 08 1 3s304ms 3s304ms 09 1 2s484ms 2s484ms 11 2 5s892ms 2s946ms 12 2 4s433ms 2s216ms 14 3 7s177ms 2s392ms 16 1 1s843ms 1s843ms 19 1 2s488ms 2s488ms 21 2 4s510ms 2s255ms 23 1 2s917ms 2s917ms Feb 21 00 1 1s817ms 1s817ms 03 1 2s624ms 2s624ms 05 4 9s95ms 2s273ms 08 4 9s134ms 2s283ms 09 1 1s949ms 1s949ms 11 3 8s180ms 2s726ms 12 3 6s456ms 2s152ms 13 1 3s461ms 3s461ms 14 1 2s866ms 2s866ms 15 1 2s506ms 2s506ms 19 1 2s174ms 2s174ms 21 1 2s880ms 2s880ms 22 1 2s447ms 2s447ms Feb 22 00 1 2s471ms 2s471ms 01 1 3s382ms 3s382ms 03 1 3s367ms 3s367ms 04 1 2s635ms 2s635ms 05 4 8s937ms 2s234ms 06 1 2s515ms 2s515ms 08 1 1s917ms 1s917ms 10 1 2s522ms 2s522ms 11 3 8s554ms 2s851ms 12 1 2s818ms 2s818ms 13 1 1s844ms 1s844ms 16 2 3s850ms 1s925ms 19 1 2s312ms 2s312ms 23 1 2s593ms 2s593ms [ User: pubeu - Total duration: 1m53s - Times executed: 39 ]
[ User: qaeu - Total duration: 27s306ms - Times executed: 8 ]
-
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 = '594557' 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 <= 2 ORDER BY sn.path;
Date: 2025-02-21 08:26:20 Duration: 3s520ms 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 = '594557' 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 <= 2 ORDER BY sn.path;
Date: 2025-02-21 08:41:18 Duration: 3s474ms 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 = '655185' 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-02-21 13:43:25 Duration: 3s461ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s106ms 2s240ms 1s634ms 389 10m35s 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 #19
Day Hour Count Duration Avg duration Feb 16 03 1 1s871ms 1s871ms 14 1 1s284ms 1s284ms 19 1 1s907ms 1s907ms 20 1 1s864ms 1s864ms 21 1 1s244ms 1s244ms Feb 17 00 2 3s89ms 1s544ms 22 1 1s848ms 1s848ms Feb 18 02 1 1s299ms 1s299ms Feb 19 05 2 3s123ms 1s561ms 06 1 1s302ms 1s302ms 07 4 7s478ms 1s869ms 08 1 1s860ms 1s860ms 09 3 4s498ms 1s499ms 10 9 13s805ms 1s533ms 11 5 8s212ms 1s642ms 12 7 10s815ms 1s545ms 13 5 6s398ms 1s279ms 14 9 12s189ms 1s354ms 15 6 10s588ms 1s764ms 16 6 10s565ms 1s760ms 17 6 10s142ms 1s690ms 18 4 5s713ms 1s428ms 19 11 18s645ms 1s695ms 20 11 18s242ms 1s658ms 21 10 16s198ms 1s619ms 22 4 6s994ms 1s748ms 23 9 14s562ms 1s618ms Feb 20 00 4 6s905ms 1s726ms 01 3 4s478ms 1s492ms 02 4 7s467ms 1s866ms 03 2 2s537ms 1s268ms 04 1 1s880ms 1s880ms 05 5 7s713ms 1s542ms 07 3 4s958ms 1s652ms 08 1 1s253ms 1s253ms 09 9 15s674ms 1s741ms 10 2 3s681ms 1s840ms 11 5 8s142ms 1s628ms 12 3 4s453ms 1s484ms 13 2 3s118ms 1s559ms 14 4 6s324ms 1s581ms 15 2 3s174ms 1s587ms 16 5 8s772ms 1s754ms 17 5 8s799ms 1s759ms 18 1 1s286ms 1s286ms 19 1 1s871ms 1s871ms 20 4 6s859ms 1s714ms 21 2 3s713ms 1s856ms 22 3 3s833ms 1s277ms 23 3 4s398ms 1s466ms Feb 21 00 1 1s267ms 1s267ms 01 1 1s288ms 1s288ms 02 3 5s609ms 1s869ms 03 7 11s401ms 1s628ms 04 3 5s632ms 1s877ms 05 2 3s709ms 1s854ms 06 3 4s970ms 1s656ms 07 4 6s280ms 1s570ms 08 1 1s850ms 1s850ms 10 4 7s486ms 1s871ms 11 6 9s443ms 1s573ms 12 6 8s917ms 1s486ms 13 2 3s788ms 1s894ms 15 6 10s630ms 1s771ms 16 2 3s157ms 1s578ms 17 2 3s128ms 1s564ms 18 6 10s29ms 1s671ms 19 6 9s421ms 1s570ms 20 5 8s150ms 1s630ms 21 3 4s376ms 1s458ms 22 4 6s891ms 1s722ms 23 7 12s964ms 1s852ms Feb 22 00 5 8s401ms 1s680ms 01 6 10s116ms 1s686ms 02 1 1s299ms 1s299ms 03 3 4s944ms 1s648ms 04 4 5s788ms 1s447ms 05 1 1s255ms 1s255ms 06 5 8s170ms 1s634ms 07 2 3s706ms 1s853ms 08 5 7s559ms 1s511ms 09 6 10s98ms 1s683ms 10 9 15s17ms 1s668ms 11 4 6s272ms 1s568ms 12 5 8s144ms 1s628ms 13 2 3s752ms 1s876ms 14 8 12s556ms 1s569ms 15 2 3s690ms 1s845ms 16 3 3s794ms 1s264ms 18 4 7s394ms 1s848ms 19 5 8s876ms 1s775ms 20 9 15s108ms 1s678ms 21 10 16s295ms 1s629ms 22 4 6s861ms 1s715ms 23 6 9s389ms 1s564ms [ User: pubeu - Total duration: 2m44s - Times executed: 99 ]
-
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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-20 05:07:37 Duration: 2s240ms 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-22 00:14:47 Duration: 2s63ms 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-22 19:36:43 Duration: 1s999ms Bind query: yes
20 1s457ms 1s834ms 1s492ms 507 12m36s 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 #20
Day Hour Count Duration Avg duration Feb 16 04 1 1s497ms 1s497ms 05 3 4s448ms 1s482ms 07 1 1s469ms 1s469ms 10 1 1s491ms 1s491ms 11 2 2s983ms 1s491ms 12 1 1s461ms 1s461ms 13 1 1s457ms 1s457ms 14 1 1s475ms 1s475ms 15 1 1s471ms 1s471ms 20 1 1s469ms 1s469ms Feb 17 04 1 1s470ms 1s470ms 05 2 2s955ms 1s477ms 13 1 1s475ms 1s475ms Feb 18 05 2 2s968ms 1s484ms 06 1 1s480ms 1s480ms 09 1 1s461ms 1s461ms 12 1 1s460ms 1s460ms Feb 19 03 1 1s834ms 1s834ms 04 3 4s421ms 1s473ms 05 6 8s910ms 1s485ms 06 3 4s451ms 1s483ms 07 4 5s979ms 1s494ms 08 3 4s538ms 1s512ms 09 5 7s433ms 1s486ms 10 4 5s934ms 1s483ms 11 8 11s992ms 1s499ms 12 13 19s429ms 1s494ms 13 11 16s282ms 1s480ms 14 5 7s425ms 1s485ms 15 10 14s954ms 1s495ms 16 4 6s4ms 1s501ms 17 8 12s144ms 1s518ms 18 9 13s481ms 1s497ms 19 10 14s907ms 1s490ms 20 9 13s551ms 1s505ms 21 12 17s880ms 1s490ms 22 2 3s2ms 1s501ms 23 8 11s948ms 1s493ms Feb 20 00 11 16s614ms 1s510ms 01 7 10s452ms 1s493ms 02 9 13s405ms 1s489ms 03 5 7s484ms 1s496ms 04 1 1s490ms 1s490ms 05 2 3s83ms 1s541ms 06 1 1s497ms 1s497ms 07 4 5s931ms 1s482ms 08 6 8s941ms 1s490ms 09 5 7s489ms 1s497ms 10 7 10s515ms 1s502ms 11 5 7s418ms 1s483ms 12 6 8s963ms 1s493ms 13 5 7s410ms 1s482ms 14 7 10s421ms 1s488ms 15 3 4s453ms 1s484ms 16 8 11s984ms 1s498ms 17 10 14s901ms 1s490ms 18 10 14s829ms 1s482ms 19 5 7s408ms 1s481ms 20 9 13s372ms 1s485ms 21 2 3s57ms 1s528ms 22 2 2s972ms 1s486ms 23 7 10s396ms 1s485ms Feb 21 00 6 8s932ms 1s488ms 01 1 1s474ms 1s474ms 02 1 1s524ms 1s524ms 03 3 4s451ms 1s483ms 04 4 5s951ms 1s487ms 05 7 10s448ms 1s492ms 06 7 10s358ms 1s479ms 07 3 4s441ms 1s480ms 08 4 5s984ms 1s496ms 10 2 2s999ms 1s499ms 11 10 14s925ms 1s492ms 12 1 1s480ms 1s480ms 13 2 2s980ms 1s490ms 15 1 1s491ms 1s491ms 16 5 7s432ms 1s486ms 17 4 5s942ms 1s485ms 18 3 4s468ms 1s489ms 19 6 8s907ms 1s484ms 20 6 8s903ms 1s483ms 21 3 4s476ms 1s492ms 22 4 5s996ms 1s499ms 23 2 2s957ms 1s478ms Feb 22 00 1 1s503ms 1s503ms 01 6 8s946ms 1s491ms 02 8 11s931ms 1s491ms 03 5 7s558ms 1s511ms 04 3 4s474ms 1s491ms 05 8 11s921ms 1s490ms 06 2 3s4ms 1s502ms 07 7 10s653ms 1s521ms 08 6 8s945ms 1s490ms 09 3 4s465ms 1s488ms 10 4 5s979ms 1s494ms 11 4 5s917ms 1s479ms 12 2 2s969ms 1s484ms 13 7 10s362ms 1s480ms 14 6 8s926ms 1s487ms 15 6 8s925ms 1s487ms 16 7 10s446ms 1s492ms 17 3 4s452ms 1s484ms 18 11 16s320ms 1s483ms 19 5 7s540ms 1s508ms 20 4 5s949ms 1s487ms 21 4 6s5ms 1s501ms 22 6 8s859ms 1s476ms 23 7 10s359ms 1s479ms [ User: pubeu - Total duration: 3m8s - Times executed: 126 ]
-
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-02-19 03:08:28 Duration: 1s834ms Database: ctdprd51 User: pubeu 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-02-22 03:20:59 Duration: 1s649ms Database: ctdprd51 User: pubeu 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-02-22 07:41:14 Duration: 1s633ms Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 7s111ms 1 7s111ms 7s111ms 7s111ms select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' ||;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Feb 22 21 1 7s111ms 7s111ms -
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' ||;
Date: 2025-02-15 21:44:11 Duration: 7s111ms Database: postgres
2 2s52ms 1 2s52ms 2s52ms 2s52ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 20 1 2s52ms 2s52ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-02-15 20:46:21 Duration: 2s52ms Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 15s164ms 14 1s8ms 1s137ms 1s83ms SELECT /* GeneDiseaseChemsDAO */ ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Feb 22 20 6 6s386ms 1s64ms 21 8 8s777ms 1s97ms -
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-02-15 21:12:51 Duration: 1s137ms Database: postgres parameters: $1 = 'OBS', $2 = 'OBS', $3 = 'OBS', $4 = 'OBS'
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-02-15 20:39:23 Duration: 1s120ms Database: postgres parameters: $1 = 'CD5%', $2 = 'CD5', $3 = 'CD5'
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-02-15 21:13:21 Duration: 1s111ms Database: postgres parameters: $1 = '2087567'
2 6s751ms 6 1s95ms 1s165ms 1s125ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 20 1 1s149ms 1s149ms 21 5 5s601ms 1s120ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-02-15 21:30:39 Duration: 1s165ms Database: postgres parameters: $1 = '1955756', $2 = '1955756'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-02-15 20:23:40 Duration: 1s149ms Database: postgres parameters: $1 = '1982317', $2 = '1982317'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-02-15 21:45:13 Duration: 1s135ms Database: postgres parameters: $1 = '568429', $2 = '568429'
3 3s85ms 3 1s9ms 1s51ms 1s28ms SELECT /* ReferenceCitedGenesDAO */ ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 20 2 2s76ms 1s38ms 21 1 1s9ms 1s9ms -
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2025-02-15 20:43:57 Duration: 1s51ms Database: postgres parameters: $1 = '1247044', $2 = '1247044'
-
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2025-02-15 20:51:09 Duration: 1s24ms Database: postgres parameters: $1 = '2087671'
-
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2025-02-15 21:18:53 Duration: 1s9ms Database: postgres parameters: $1 = 'MICROPLASTIC', $2 = 'MICROPLASTIC', $3 = 'MICROPLASTIC', $4 = 'MICROPLASTIC'
4 2s53ms 2 1s21ms 1s31ms 1s26ms SELECT /* GeneDiseaseRefsDAO */ ;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 20 2 2s53ms 1s26ms -
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2025-02-15 20:22:05 Duration: 1s31ms Database: postgres parameters: $1 = '2090693'
-
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2025-02-15 20:22:04 Duration: 1s21ms Database: postgres parameters: $1 = '552893', $2 = '552893'
5 1s128ms 1 1s128ms 1s128ms 1s128ms SELECT /* ReferenceDiseasesDAO */ ;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 21 1 1s128ms 1s128ms -
SELECT /* ReferenceDiseasesDAO */ ;
Date: 2025-02-15 21:20:55 Duration: 1s128ms Database: postgres parameters: $1 = '2091439'
6 1s121ms 1 1s121ms 1s121ms 1s121ms SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 20 1 1s121ms 1s121ms -
SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT;
Date: 2025-02-15 20:24:51 Duration: 1s121ms Database: postgres parameters: $1 = 'NDUFS2%', $2 = 'NDUFS2', $3 = 'NDUFS2'
7 1s28ms 1 1s28ms 1s28ms 1s28ms SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 20 1 1s28ms 1s28ms -
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2025-02-15 20:23:50 Duration: 1s28ms Database: postgres parameters: $1 = '2017654', $2 = '2017654'
8 0ms 448 0ms 0ms 0ms ;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration Feb 15 04 12 0ms 0ms 09 1 0ms 0ms 20 1 0ms 0ms Feb 16 07 4 0ms 0ms 08 2 0ms 0ms 09 10 0ms 0ms 10 8 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms Feb 17 06 12 0ms 0ms 07 16 0ms 0ms 08 2 0ms 0ms 09 4 0ms 0ms 11 6 0ms 0ms 14 2 0ms 0ms 15 4 0ms 0ms 16 4 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms Feb 18 06 16 0ms 0ms 10 2 0ms 0ms 11 4 0ms 0ms 13 4 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms Feb 19 06 10 0ms 0ms 07 12 0ms 0ms 09 10 0ms 0ms 10 6 0ms 0ms 11 10 0ms 0ms 12 2 0ms 0ms 16 30 0ms 0ms 17 8 0ms 0ms Feb 20 00 2 0ms 0ms 06 30 0ms 0ms 07 4 0ms 0ms 10 8 0ms 0ms 12 4 0ms 0ms 13 6 0ms 0ms 14 10 0ms 0ms 15 8 0ms 0ms 16 14 0ms 0ms 21 2 0ms 0ms 22 2 0ms 0ms Feb 21 00 2 0ms 0ms 06 18 0ms 0ms 07 18 0ms 0ms 09 18 0ms 0ms 12 3 0ms 0ms 13 6 0ms 0ms 14 33 0ms 0ms 15 18 0ms 0ms 16 12 0ms 0ms Feb 22 00 4 0ms 0ms 07 3 0ms 0ms 14 3 0ms 0ms Feb 23 00 1 0ms 0ms 02 2 0ms 0ms 03 3 0ms 0ms [ User: pubeu - Total duration: 7m17s - Times executed: 173 ]
[ User: qaeu - Total duration: 2s448ms - Times executed: 2 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '1581969', $2 = '1581969'
-
Events
Log levels
Key values
- 171,808 Log entries
Events distribution
Key values
- 0 PANIC entries
- 13 FATAL entries
- 957 ERROR entries
- 1 WARNING entries
Most Frequent Errors/Events
Key values
- 916 Max number of times the same event was reported
- 971 Total events found
Rank Times reported Error 1 916 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Feb 16 00 4 01 5 02 13 03 8 04 5 05 1 06 3 07 6 08 5 09 7 10 2 11 2 12 1 14 2 17 1 19 2 20 9 21 3 22 6 23 2 Feb 17 00 2 01 2 02 4 03 6 04 2 05 4 06 2 07 2 08 1 09 2 11 1 13 1 14 3 17 1 18 9 19 2 20 12 21 8 22 13 23 8 Feb 18 00 2 01 10 02 21 03 7 04 5 05 10 06 9 07 6 08 3 09 5 10 1 11 2 17 2 18 1 19 15 20 11 21 5 22 9 23 7 Feb 19 00 7 01 9 02 4 03 13 04 2 05 8 06 7 07 8 08 3 09 4 10 4 11 2 17 1 18 6 19 9 20 7 21 12 22 17 23 16 Feb 20 00 27 01 18 02 12 03 25 04 13 05 10 06 7 07 2 08 5 09 7 10 1 11 1 12 3 14 1 18 2 19 6 20 9 21 1 22 4 23 6 Feb 21 01 10 02 10 03 9 04 8 05 6 06 2 07 5 08 3 10 7 11 2 15 1 16 2 17 1 18 3 19 8 20 4 21 9 22 4 23 2 Feb 22 00 16 01 13 02 21 03 16 04 7 05 4 06 9 07 23 08 9 09 19 10 10 11 3 12 1 13 2 14 3 16 5 17 4 18 6 19 4 20 10 21 12 22 9 23 12 - ERROR: syntax error in ts"水着 PIXIV"
- ERROR: syntax error in ts"山形県 & 仕事 酒田"
- ERROR: syntax error in ts"モンペラ & スペシャルセレクション & ルージュ ヴィンテージ"
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-02-16 00:02:41
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 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-02-16 00:29:05 Database: ctdprd51 Application: User: pubeu Remote:
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 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-02-16 03:08:37
2 19 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #2
Day Hour Count Feb 17 18 2 19 6 20 1 Feb 18 18 2 19 2 Feb 19 19 2 20 2 Feb 20 21 1 Feb 21 18 1 3 10 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #3
Day Hour Count Feb 16 04 1 Feb 19 11 1 Feb 20 20 2 21 1 22 2 Feb 21 08 3 - 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-02-21 08:41:12
4 7 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #4
Day Hour Count Feb 16 04 1 Feb 19 11 1 Feb 20 20 2 21 1 22 2 5 6 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #5
Day Hour Count Feb 18 00 2 11 3 Feb 20 02 1 - ERROR: syntax error at or near "SELECT" at character 61
- ERROR: syntax error at or near "SELECT" at character 61
- ERROR: syntax error at or near "SELECT" at character 61
Statement: SELECT TO_CHAR(DATE_TRUNC('year',query_tm), 'YYYY') "Year", SELECT COALESCE(SUM(i.queries),0) "Queries" --SELECT COALESCE(SUM(i.queries),0) "Queries" ,COUNT(DISTINCT i.session_id) "Query Sessions" -- ,COALESCE(ROUND(SUM(i.queries) / COUNT(DISTINCT i.session_id), 3), 0) "Avg Q/S" FROM (SELECT session_id ,COALESCE(SUM(submission_qty), 0) queries FROM pubc.log_query_archive GROUP BY DATE_TRUNC('year',query_tm) -- GROUP BY session_id) i;
Date: 2025-02-18 11:01:29
Statement: SELECT TO_CHAR(DATE_TRUNC('year',query_tm), 'YYYY') "Year", SELECT COALESCE(SUM(i.queries),0) "Queries" --SELECT COALESCE(SUM(i.queries),0) "Queries" ,COUNT(DISTINCT i.session_id) "Query Sessions" -- ,COALESCE(ROUND(SUM(i.queries) / COUNT(DISTINCT i.session_id), 3), 0) "Avg Q/S" FROM (SELECT session_id ,COALESCE(SUM(submission_qty), 0) queries FROM pubc.log_query_archive GROUP BY DATE_TRUNC('year',query_tm) ) -- GROUP BY session_id) i;
Date: 2025-02-18 11:02:19
Statement: SELECT TO_CHAR(DATE_TRUNC('year',query_tm), 'YYYY') "Year", SELECT COALESCE(SUM(i.queries),0) "Queries" --SELECT COALESCE(SUM(i.queries),0) "Queries" ,COUNT(DISTINCT i.session_id) "Query Sessions" -- ,COALESCE(ROUND(SUM(i.queries) / COUNT(DISTINCT i.session_id), 3), 0) "Avg Q/S" FROM (SELECT session_id ,COALESCE(SUM(submission_qty), 0) queries FROM pubc.log_query_archive -- GROUP BY DATE_TRUNC('year',query_tm) ) GROUP BY session_id) i;
Date: 2025-02-18 11:02:43
6 3 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count Feb 21 08 3 - ERROR: could not send data to client: Connection reset by peer
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-02-21 08:41:12
7 3 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #7
Day Hour Count Feb 21 08 3 8 2 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #8
Day Hour Count Feb 18 14 1 15 1 - ERROR: relation "db_report_site" does not exist at character 17
- ERROR: relation "db_link" does not exist at character 15
Statement: select * from db_report_site
Date: 2025-02-18 14:29:52 Database: ctdprd51 Application: pgAdmin 4 - CONN:429307 User: load Remote:
Statement: select * from db_link limit 100
Date: 2025-02-18 15:01:00
9 1 ERROR: column reference "..." is ambiguous
Times Reported Most Frequent Error / Event #9
Day Hour Count Feb 18 14 1 - ERROR: column reference "nm" is ambiguous at character 149
Statement: select * from edit.db_report_site dbrs ,edit.db_report dbr ,edit.db db where db.id = dbr.db_id and dbr.id = dbrs.db_report_id and nm = 'PUBCHEM'
Date: 2025-02-18 14:31:33
10 1 ERROR: column "..." must appear in the GROUP BY clause or be used in an aggregate function
Times Reported Most Frequent Error / Event #10
Day Hour Count Feb 18 11 1 - ERROR: column "log_query_archive.query_tm" must appear in the GROUP BY clause or be used in an aggregate function at character 30
Statement: SELECT TO_CHAR(DATE_TRUNC('',query_tm), 'YYYY-MM') "Year" ,COALESCE(SUM(submission_qty), 0) "Queries" FROM pubc.log_query_archive GROUP BY DATE_TRUNC('month',query_tm) ORDER BY 1 DESC;
Date: 2025-02-18 11:06:57
11 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #11
Day Hour Count Feb 18 11 1 - ERROR: column "query_tm" does not exist at character 34
Statement: SELECT TO_CHAR(DATE_TRUNC('year',query_tm), 'YYYY') "Year", COALESCE(SUM(i.queries),0) "Queries" --SELECT COALESCE(SUM(i.queries),0) "Queries" ,COUNT(DISTINCT i.session_id) "Query Sessions" -- ,COALESCE(ROUND(SUM(i.queries) / COUNT(DISTINCT i.session_id), 3), 0) "Avg Q/S" FROM (SELECT session_id ,COALESCE(SUM(submission_qty), 0) queries FROM pubc.log_query_archive -- GROUP BY DATE_TRUNC('year',query_tm) ) GROUP BY session_id) i;
Date: 2025-02-18 11:03:24
12 1 ERROR: permission denied for schema ...
Times Reported Most Frequent Error / Event #12
Day Hour Count Feb 17 11 1 - ERROR: permission denied for schema pubc at character 174
Statement: SELECT TO_CHAR(i.dt, 'YYYY-MM') "Month" ,COUNT(DISTINCT i.session_id) "Query Sessions" FROM (SELECT session_id ,DATE_TRUNC('month',query_tm) dt FROM pubc.log_query_archive) i GROUP BY TO_CHAR(dt, 'YYYY-MM') ORDER BY 1 DESC;
Date: 2025-02-17 11:25:59 Database: ctdprd51 Application: pgAdmin 4 - CONN:2506687 User: pub1 Remote:
13 1 WARNING: is not a PostgreSQL server process
Times Reported Most Frequent Error / Event #13
Day Hour Count Feb 19 15 1