-
Global information
- Generated on Sun Apr 28 04:15:15 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240427
- Parsed 340,019 log entries in 14s
- Log start from 2024-04-21 00:00:01 to 2024-04-27 23:59:42
-
Overview
Global Stats
- 569 Number of unique normalized queries
- 15,208 Number of queries
- 2d37m28s Total query duration
- 2024-04-21 00:00:01 First query
- 2024-04-27 23:53:42 Last query
- 13 queries/s at 2024-04-21 17:13:19 Query peak
- 2d37m28s Total query duration
- 21s50ms Prepare/parse total duration
- 51s601ms Bind total duration
- 2d36m16s Execute total duration
- 1,525 Number of events
- 21 Number of unique normalized events
- 1,026 Max number of times the same event was reported
- 0 Number of cancellation
- 112 Total number of automatic vacuums
- 256 Total number of automatic analyzes
- 2,980 Number temporary file
- 1.00 GiB Max size of temporary file
- 180.19 MiB Average size of temporary file
- 32,847 Total number of sessions
- 159 sessions at 2024-04-25 03:02:48 Session peak
- 358d3h59m5s Total duration of sessions
- 15m42s Average duration of sessions
- 0 Average queries per session
- 5s329ms Average queries duration per session
- 15m36s Average idle time per session
- 32,848 Total number of connections
- 86 connections/s at 2024-04-23 23:33:21 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 13 queries/s Query Peak
- 2024-04-21 17:13:19 Date
SELECT Traffic
Key values
- 13 queries/s Query Peak
- 2024-04-21 17:13:19 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-04-24 05:40:13 Date
Queries duration
Key values
- 2d37m28s 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) Apr 21 00 9 0ms 15m35s 1m46s 2s261ms 11s839ms 15m40s 01 9 0ms 8s310ms 2s805ms 2s817ms 4s845ms 8s310ms 02 18 0ms 18s790ms 2s772ms 3s627ms 6s185ms 18s790ms 03 18 0ms 16s861ms 5s163ms 11s391ms 16s211ms 16s861ms 04 24 0ms 17s333ms 2s738ms 2s856ms 5s720ms 17s333ms 05 57 0ms 36s98ms 3s156ms 13s961ms 21s690ms 51s132ms 06 41 0ms 31s955ms 3s550ms 4s754ms 9s390ms 58s86ms 07 31 0ms 29s322ms 3s252ms 3s933ms 6s479ms 30s641ms 08 73 0ms 23s513ms 1s833ms 6s220ms 13s822ms 29s121ms 09 33 0ms 3s152ms 1s336ms 2s480ms 3s827ms 7s347ms 10 27 0ms 19m54s 50s173ms 14s937ms 39s782ms 19m56s 11 18 0ms 12s602ms 2s631ms 3s973ms 3s987ms 12s602ms 12 24 0ms 20s398ms 3s360ms 6s66ms 8s7ms 20s398ms 13 23 0ms 1m36s 10s174ms 19s398ms 19s504ms 1m37s 14 173 0ms 44s50ms 3s714ms 52s246ms 1m29s 2m43s 15 1,609 0ms 24m33s 12s481ms 24m33s 25m25s 29m29s 16 197 0ms 1m14s 3s977ms 17s563ms 1m30s 7m25s 17 887 0ms 21m44s 10s573ms 7m36s 21m28s 24m30s 18 17 0ms 31s921ms 7s16ms 8s300ms 38s502ms 51s932ms 19 77 0ms 17s541ms 3s343ms 3s817ms 4s967ms 3m33s 20 761 0ms 11m54s 10s136ms 7m49s 12m13s 31m 21 909 0ms 18m47s 7s608ms 6m28s 12m16s 24m30s 22 18 0ms 4s894ms 1s721ms 2s315ms 2s948ms 4s894ms 23 18 0ms 8s186ms 2s650ms 3s758ms 4s953ms 8s186ms Apr 22 00 21 0ms 15m34s 46s832ms 3s599ms 5s935ms 15m39s 01 30 0ms 11s658ms 4s758ms 11s658ms 12s751ms 46s388ms 02 958 0ms 24m6s 18s797ms 23m 30m14s 55m31s 03 22 0ms 5s247ms 2s189ms 3s803ms 4s430ms 5s247ms 04 1,682 0ms 6m54s 7s415ms 11m33s 18m36s 31m23s 05 765 0ms 5m49s 4s320ms 2m45s 3m 11m32s 06 10 0ms 32s229ms 10s54ms 0ms 38s843ms 52s329ms 07 26 0ms 6s467ms 2s135ms 1s259ms 6s103ms 36s488ms 08 23 0ms 4s88ms 2s85ms 3s720ms 4s88ms 5s216ms 09 14 0ms 3s818ms 1s866ms 3s661ms 3s818ms 4s203ms 10 1,221 0ms 9m22s 6s948ms 6m46s 18m53s 22m58s 11 921 0ms 17m59s 7s506ms 7m11s 16m55s 20m51s 12 384 0ms 3m 8s430ms 4m8s 6m8s 18m8s 13 12 0ms 8s207ms 2s236ms 2s145ms 3s666ms 8s207ms 14 40 0ms 31s937ms 4s804ms 9s332ms 31s419ms 52s136ms 15 48 0ms 3m38s 7s591ms 8s348ms 24s36ms 3m43s 16 7 0ms 5s304ms 2s795ms 2s329ms 3s878ms 5s304ms 17 35 0ms 11s701ms 2s702ms 5s409ms 11s701ms 33s929ms 18 19 0ms 31s985ms 5s957ms 3s583ms 38s639ms 52s257ms 19 16 0ms 11s517ms 3s196ms 2s334ms 11s517ms 20s471ms 20 19 0ms 4s733ms 2s123ms 3s124ms 3s628ms 7s883ms 21 18 0ms 3s774ms 1s772ms 3s124ms 3s711ms 3s774ms 22 14 0ms 11s825ms 4s283ms 3s865ms 8s685ms 11s825ms 23 13 0ms 11s670ms 4s577ms 5s951ms 11s293ms 11s670ms Apr 23 00 12 0ms 15m43s 1m21s 2s384ms 4s881ms 15m47s 01 14 0ms 17s906ms 3s900ms 3s637ms 4s769ms 17s906ms 02 11 0ms 4s847ms 3s162ms 3s973ms 4s330ms 4s847ms 03 30 0ms 4s934ms 2s404ms 3s789ms 4s934ms 24s221ms 04 31 0ms 8m27s 20s206ms 5s159ms 19s248ms 8m27s 05 49 0ms 9m8s 35s479ms 23s56ms 9m8s 9m12s 06 18 0ms 32s62ms 6s269ms 3s621ms 38s641ms 52s177ms 07 11 0ms 5s867ms 2s305ms 2s138ms 4s840ms 5s867ms 08 13 0ms 6s180ms 2s239ms 2s752ms 3s760ms 6s180ms 09 7 0ms 4s947ms 2s441ms 2s311ms 3s825ms 4s947ms 10 36 0ms 32s362ms 5s282ms 8s317ms 37s274ms 52s314ms 11 19 0ms 17s569ms 2s665ms 3s304ms 4s839ms 17s569ms 12 23 0ms 10s679ms 2s495ms 4s699ms 5s585ms 10s679ms 13 10 0ms 3s617ms 1s575ms 1s760ms 2s223ms 3s617ms 14 34 0ms 32s151ms 7s469ms 20s821ms 38s769ms 1m7s 15 15 0ms 7s859ms 2s356ms 3s223ms 3s552ms 7s859ms 16 8 0ms 14s550ms 5s725ms 3s582ms 7s426ms 14s550ms 17 10 0ms 4s874ms 1s839ms 2s89ms 3s795ms 4s874ms 18 23 0ms 32s161ms 5s795ms 8s80ms 11s597ms 52s22ms 19 17 0ms 3s806ms 1s575ms 2s269ms 3s705ms 3s806ms 20 15 0ms 5s874ms 2s368ms 4s815ms 5s47ms 5s874ms 21 8 0ms 5s359ms 3s98ms 4s530ms 5s115ms 5s359ms 22 20 0ms 36s218ms 11s73ms 35s654ms 45s424ms 57s163ms 23 7 0ms 35s824ms 7s343ms 0ms 5s826ms 45s578ms Apr 24 00 2 0ms 15m34s 7m49s 0ms 0ms 15m39s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 45 0ms 4s57ms 2s283ms 12s411ms 22s715ms 23s447ms 06 24 0ms 32s110ms 6s55ms 3s795ms 9s718ms 1m4s 07 8 0ms 5s22ms 2s814ms 1s137ms 4s768ms 5s592ms 08 19 0ms 35s347ms 7s98ms 4s534ms 17s827ms 35s347ms 09 70 0ms 15s727ms 7s997ms 43s155ms 44s940ms 48s746ms 10 31 0ms 32s55ms 5s412ms 7s520ms 16s99ms 52s202ms 11 16 0ms 5s838ms 3s39ms 2s213ms 5s838ms 19s564ms 12 17 0ms 9s258ms 3s479ms 4s90ms 7s450ms 10s514ms 13 61 0ms 3m28s 13s770ms 1m22s 1m31s 3m47s 14 41 0ms 1m38s 17s880ms 1m4s 1m16s 2m2s 15 13 0ms 1m25s 11s117ms 4s891ms 7s391ms 1m25s 16 7 0ms 3s674ms 2s378ms 1s335ms 2s736ms 5s580ms 17 29 0ms 10m45s 34s581ms 6s 1m56s 10m56s 18 46 0ms 33m37s 1m40s 1m59s 10m30s 33m48s 19 30 0ms 50s252ms 9s753ms 40s529ms 47s655ms 50s252ms 20 30 0ms 38m14s 2m51s 57s409ms 6m37s 38m14s 21 68 0ms 5m26s 25s715ms 1m26s 2m58s 5m26s 22 42 0ms 59s727ms 8s786ms 18s144ms 54s803ms 1m14s 23 70 0ms 12m12s 25s689ms 1m34s 2m57s 12m12s Apr 25 00 28 0ms 24m9s 1m39s 1m9s 2m29s 24m9s 01 20 0ms 1h33m49s 4m51s 4s880ms 6s310ms 1h33m49s 02 39 0ms 1h1m35s 1m44s 18s76ms 1m31s 1h1m46s 03 21 0ms 45m15s 2m12s 5s741ms 6s271ms 45m15s 04 23 0ms 10s875ms 3s273ms 4s229ms 10s116ms 11s44ms 05 61 0ms 1h53m13s 2m4s 19s217ms 1m8s 1h53m48s 06 21 0ms 34m27s 1m44s 5s775ms 38s974ms 34m27s 07 15 0ms 12s121ms 2s969ms 3s682ms 3s768ms 12s121ms 08 27 0ms 17s104ms 5s100ms 6s695ms 9s507ms 50s90ms 09 32 0ms 5s292ms 2s530ms 5s292ms 9s577ms 14s906ms 10 62 0ms 32s4ms 4s233ms 11s384ms 42s278ms 52s315ms 11 48 0ms 10s917ms 3s13ms 9s679ms 11s818ms 23s764ms 12 41 0ms 8s77ms 2s767ms 9s265ms 12s819ms 15s762ms 13 66 0ms 6s795ms 2s741ms 9s625ms 20s20ms 29s581ms 14 54 0ms 32s7ms 3s699ms 9s488ms 18s611ms 54s400ms 15 35 0ms 8s325ms 2s922ms 8s325ms 11s946ms 16s577ms 16 27 0ms 12s121ms 3s237ms 10s737ms 10s949ms 14s894ms 17 22 0ms 5s911ms 3s786ms 10s696ms 11s9ms 12s117ms 18 38 0ms 31s991ms 4s844ms 10s881ms 15s521ms 52s256ms 19 59 0ms 8s648ms 3s337ms 10s988ms 34s579ms 49s634ms 20 19 0ms 5s913ms 3s90ms 2s553ms 10s783ms 12s872ms 21 28 0ms 15s278ms 4s139ms 8s723ms 14s565ms 15s278ms 22 43 0ms 12s61ms 3s377ms 11s834ms 14s856ms 17s68ms 23 40 0ms 34s196ms 3s569ms 6s534ms 10s545ms 34s196ms Apr 26 00 36 0ms 15m44s 29s947ms 11s860ms 19s786ms 15m49s 01 29 0ms 20s689ms 4s219ms 5s865ms 20s418ms 23s900ms 02 25 0ms 20s989ms 4s622ms 15s480ms 20s605ms 20s989ms 03 30 0ms 36s549ms 5s327ms 6s900ms 21s633ms 1m12s 04 50 0ms 1m54s 7s778ms 13s515ms 16s553ms 3m55s 05 84 0ms 11s542ms 2s705ms 14s63ms 18s703ms 33s495ms 06 50 0ms 1m20s 8s753ms 30s999ms 46s534ms 3m23s 07 17 0ms 7s928ms 2s978ms 3s684ms 5s154ms 9s46ms 08 56 0ms 1m16s 7s178ms 25s559ms 43s906ms 1m46s 09 239 0ms 34m17s 12s632ms 31s872ms 35s108ms 34m34s 10 69 0ms 2m7s 7s45ms 18s511ms 1m10s 2m7s 11 19 0ms 40s23ms 5s170ms 4s193ms 6s194ms 40s23ms 12 27 0ms 34s249ms 4s227ms 6s518ms 24s560ms 34s249ms 13 36 0ms 4s69ms 2s79ms 3s583ms 4s761ms 24s767ms 14 21 0ms 32s172ms 6s415ms 7s785ms 38s938ms 52s308ms 15 23 0ms 5s205ms 1s719ms 2s738ms 3s523ms 5s841ms 16 24 0ms 8s903ms 2s542ms 4s904ms 5s70ms 8s903ms 17 15 0ms 4s934ms 2s177ms 3s4ms 3s856ms 4s934ms 18 20 0ms 32s130ms 6s185ms 4s910ms 9s391ms 53s379ms 19 8 0ms 5s261ms 2s593ms 2s772ms 4s197ms 5s261ms 20 23 0ms 5s166ms 2s433ms 4s79ms 4s926ms 10s327ms 21 139 0ms 5s57ms 1s563ms 14s62ms 29s78ms 37s715ms 22 15 0ms 5s156ms 2s124ms 3s205ms 4s857ms 9s202ms 23 17 0ms 4m11s 16s772ms 4s916ms 6s572ms 4m13s Apr 27 00 6 0ms 15m41s 2m40s 1s206ms 11s912ms 15m46s 01 11 0ms 18s49ms 3s221ms 2s538ms 3s560ms 18s49ms 02 13 0ms 4s914ms 1s831ms 1s801ms 2s337ms 4s914ms 03 23 0ms 7s165ms 1s697ms 1s762ms 6s966ms 10s607ms 04 18 0ms 7s165ms 3s531ms 5s269ms 7s165ms 14s677ms 05 48 0ms 4s850ms 2s352ms 4s850ms 15s 24s805ms 06 16 0ms 6s662ms 2s256ms 3s203ms 3s724ms 6s662ms 07 13 0ms 4s888ms 2s105ms 2s344ms 3s721ms 5s918ms 08 18 0ms 4s882ms 1s525ms 2s139ms 2s389ms 4s882ms 09 28 0ms 10s454ms 2s309ms 5s70ms 6s515ms 10s454ms 10 35 0ms 30s370ms 3s31ms 6s987ms 8s277ms 30s370ms 11 12 0ms 5s7ms 1s976ms 2s326ms 6s88ms 7s304ms 12 6 0ms 8m48s 1m29s 1s102ms 2s763ms 8m48s 13 15 0ms 5s900ms 2s145ms 3s486ms 3s688ms 5s900ms 14 14 0ms 4s934ms 2s53ms 2s499ms 3s665ms 5s67ms 15 10 0ms 6s762ms 3s448ms 3s569ms 5s14ms 6s762ms 16 203 0ms 18m5s 10s673ms 51s680ms 1m18s 18m21s 17 115 0ms 17m28s 16s764ms 24s731ms 1m6s 17m48s 18 41 0ms 23m12s 45s5ms 52s163ms 1m16s 23m14s 19 60 0ms 23m8s 54s622ms 1m54s 6m56s 23m40s 20 14 0ms 5s901ms 2s125ms 3s92ms 5s29ms 5s901ms 21 25 0ms 6s602ms 2s49ms 3s779ms 4s818ms 6s602ms 22 10 0ms 4s783ms 2s31ms 2s148ms 4s783ms 5s944ms 23 14 0ms 35s116ms 4s120ms 2s161ms 4s878ms 35s116ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 21 00 8 0 1m59s 0ms 2s261ms 15m35s 01 9 0 2s805ms 1s237ms 2s817ms 8s310ms 02 18 0 2s772ms 2s234ms 3s627ms 18s790ms 03 18 0 5s163ms 2s252ms 11s391ms 16s861ms 04 24 0 2s738ms 2s262ms 2s856ms 17s333ms 05 53 0 3s223ms 2s456ms 13s961ms 51s132ms 06 31 10 3s550ms 2s651ms 5s618ms 52s360ms 07 31 0 3s252ms 2s238ms 3s933ms 30s641ms 08 72 0 1s824ms 2s821ms 6s220ms 29s121ms 09 33 0 1s336ms 1s404ms 2s480ms 4s928ms 10 18 9 50s173ms 2s385ms 14s937ms 19m56s 11 18 0 2s631ms 2s296ms 3s973ms 12s602ms 12 23 0 3s409ms 2s173ms 6s66ms 20s398ms 13 22 0 10s524ms 5s963ms 19s398ms 1m37s 14 162 10 3s714ms 3s711ms 52s246ms 2m43s 15 1,598 0 12s541ms 9m32s 24m33s 25m33s 16 193 0 4s29ms 9s757ms 17s563ms 7m20s 17 885 0 10s594ms 4m5s 7m36s 21m54s 18 8 9 7s16ms 1s100ms 8s300ms 51s932ms 19 75 0 3s393ms 2s738ms 3s817ms 3m30s 20 759 0 10s159ms 3m5s 7m49s 12m23s 21 905 0 7s633ms 2m37s 6m28s 19m40s 22 18 0 1s721ms 1s358ms 2s315ms 4s894ms 23 18 0 2s650ms 2s159ms 3s758ms 8s186ms Apr 22 00 20 0 48s924ms 1s322ms 3s599ms 15m34s 01 30 0 4s758ms 2s443ms 11s658ms 46s388ms 02 956 0 18s829ms 8m11s 23m 30m19s 03 21 0 2s178ms 2s206ms 3s803ms 5s247ms 04 1,676 0 7s435ms 5m48s 11m33s 25m54s 05 760 0 4s331ms 1m40s 2m45s 3m22s 06 0 10 10s54ms 0ms 0ms 52s329ms 07 24 0 2s123ms 0ms 1s259ms 6s183ms 08 23 0 2s85ms 2s322ms 3s720ms 5s216ms 09 14 0 1s866ms 2s221ms 3s661ms 4s203ms 10 1,204 9 6s982ms 2m17s 6m44s 20m11s 11 919 0 7s519ms 2m8s 7m8s 18m22s 12 382 0 8s461ms 38s528ms 4m8s 18m8s 13 11 0 2s264ms 1s66ms 2s145ms 8s207ms 14 30 10 4s804ms 3s769ms 9s332ms 52s136ms 15 48 0 7s591ms 3s689ms 8s348ms 29s669ms 16 7 0 2s795ms 0ms 2s329ms 5s304ms 17 35 0 2s702ms 2s719ms 5s409ms 33s929ms 18 9 10 5s957ms 1s296ms 3s583ms 52s257ms 19 16 0 3s196ms 1s325ms 2s334ms 20s471ms 20 19 0 2s123ms 1s760ms 3s124ms 7s883ms 21 18 0 1s772ms 2s105ms 3s124ms 3s774ms 22 14 0 4s283ms 2s354ms 3s865ms 11s825ms 23 13 0 4s577ms 3s218ms 5s951ms 11s670ms Apr 23 00 11 0 1m28s 1s97ms 2s384ms 15m43s 01 14 0 3s900ms 2s207ms 3s637ms 17s906ms 02 11 0 3s162ms 3s645ms 3s973ms 4s847ms 03 30 0 2s404ms 1s277ms 3s789ms 24s221ms 04 31 0 20s206ms 3s925ms 5s159ms 8m27s 05 45 0 38s436ms 6s398ms 23s56ms 9m8s 06 8 10 6s269ms 1s544ms 3s621ms 52s177ms 07 11 0 2s305ms 1s312ms 2s138ms 5s867ms 08 13 0 2s239ms 1s260ms 2s752ms 6s180ms 09 7 0 2s441ms 0ms 2s311ms 4s947ms 10 26 10 5s282ms 3s762ms 8s317ms 52s314ms 11 19 0 2s665ms 1s252ms 3s304ms 7s237ms 12 23 0 2s495ms 2s114ms 4s699ms 10s679ms 13 10 0 1s575ms 0ms 1s760ms 3s617ms 14 24 10 7s469ms 3s534ms 20s821ms 1m7s 15 15 0 2s356ms 1s158ms 3s223ms 7s859ms 16 8 0 5s725ms 0ms 3s582ms 14s550ms 17 10 0 1s839ms 1s5ms 2s89ms 4s874ms 18 14 9 5s795ms 1s276ms 8s80ms 52s22ms 19 17 0 1s575ms 1s765ms 2s269ms 3s806ms 20 15 0 2s368ms 1s989ms 4s815ms 5s874ms 21 8 0 3s98ms 0ms 4s530ms 5s359ms 22 20 0 11s73ms 1s764ms 35s654ms 57s163ms 23 7 0 7s343ms 0ms 0ms 45s578ms Apr 24 00 1 0 15m34s 0ms 0ms 15m34s 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 41 0 2s291ms 1s786ms 12s411ms 23s447ms 06 15 9 6s55ms 3s587ms 3s942ms 52s358ms 07 8 0 2s814ms 0ms 1s137ms 5s22ms 08 19 0 7s98ms 2s598ms 4s534ms 33s809ms 09 70 0 7s997ms 28s866ms 43s155ms 46s120ms 10 18 10 5s661ms 3s930ms 6s840ms 52s202ms 11 16 0 3s39ms 1s251ms 2s213ms 19s564ms 12 16 0 3s577ms 1s211ms 4s90ms 10s514ms 13 60 0 13s819ms 23s236ms 1m22s 3m47s 14 29 8 16s411ms 5s694ms 59s255ms 1m16s 15 10 0 2s938ms 0ms 2s745ms 7s391ms 16 7 0 2s378ms 0ms 1s335ms 5s580ms 17 25 0 2s8ms 2s238ms 3s683ms 6s227ms 18 28 10 1m15s 5s959ms 39s16ms 33m48s 19 30 0 9s753ms 4s823ms 40s529ms 50s252ms 20 30 0 2m51s 5s858ms 57s409ms 38m14s 21 35 0 16s567ms 5s357ms 28s452ms 5m26s 22 42 0 8s786ms 5s615ms 18s144ms 1m13s 23 34 0 10s144ms 4s48ms 19s97ms 29s455ms Apr 25 00 18 0 56s630ms 1s785ms 3s915ms 15m51s 01 18 0 5m14s 1s261ms 4s372ms 1h33m49s 02 29 0 2m14s 3s801ms 4s853ms 1h1m35s 03 16 0 3s50ms 1s193ms 4s25ms 5s927ms 04 22 0 3s236ms 1s697ms 4s229ms 10s875ms 05 57 0 2m12s 5s65ms 19s217ms 1h53m48s 06 11 10 1m44s 1s894ms 5s775ms 34m27s 07 15 0 2s969ms 1s487ms 3s682ms 12s121ms 08 27 0 5s100ms 3s867ms 6s695ms 15s579ms 09 32 0 2s530ms 2s147ms 5s292ms 9s723ms 10 52 10 4s233ms 8s635ms 11s384ms 42s431ms 11 48 0 3s13ms 4s784ms 9s679ms 13s525ms 12 41 0 2s767ms 4s858ms 9s265ms 15s762ms 13 64 0 2s755ms 7s257ms 9s625ms 26s469ms 14 44 10 3s699ms 6s340ms 9s488ms 52s304ms 15 35 0 2s922ms 5s22ms 8s325ms 16s577ms 16 27 0 3s237ms 4s843ms 10s737ms 14s894ms 17 22 0 3s786ms 4s907ms 10s696ms 12s117ms 18 28 10 4s844ms 5s135ms 10s881ms 52s256ms 19 59 0 3s337ms 10s667ms 10s988ms 49s634ms 20 18 0 3s162ms 1s74ms 2s553ms 12s872ms 21 28 0 4s139ms 4s873ms 8s723ms 15s278ms 22 42 0 3s410ms 6s500ms 11s834ms 17s68ms 23 39 0 3s606ms 4s465ms 6s534ms 34s196ms Apr 26 00 35 0 30s661ms 4s403ms 11s860ms 15m44s 01 29 0 4s219ms 4s390ms 5s865ms 23s900ms 02 25 0 4s622ms 4s135ms 15s480ms 20s989ms 03 28 0 5s551ms 3s748ms 6s900ms 1m12s 04 50 0 7s778ms 5s243ms 13s515ms 3m55s 05 80 0 2s730ms 6s558ms 14s63ms 33s495ms 06 40 10 8s753ms 5s397ms 22s576ms 3m23s 07 16 0 3s47ms 1s232ms 3s684ms 6s596ms 08 56 0 7s178ms 5s176ms 25s559ms 1m16s 09 239 0 12s632ms 28s571ms 31s872ms 39s780ms 10 57 10 7s201ms 6s234ms 18s511ms 1m49s 11 19 0 5s170ms 3s703ms 4s193ms 40s23ms 12 25 0 4s385ms 3s687ms 6s518ms 34s249ms 13 34 0 2s115ms 2s318ms 3s583ms 24s767ms 14 11 10 6s415ms 3s861ms 7s785ms 52s308ms 15 23 0 1s719ms 2s169ms 2s738ms 5s841ms 16 24 0 2s542ms 2s830ms 4s904ms 8s903ms 17 15 0 2s177ms 1s702ms 3s4ms 4s934ms 18 10 10 6s185ms 1s266ms 4s910ms 52s302ms 19 8 0 2s593ms 0ms 2s772ms 5s261ms 20 23 0 2s433ms 2s720ms 4s79ms 10s327ms 21 139 0 1s563ms 6s76ms 14s62ms 37s715ms 22 15 0 2s124ms 1s303ms 3s205ms 9s202ms 23 17 0 16s772ms 1s810ms 4s916ms 4m13s Apr 27 00 5 0 3m11s 0ms 1s206ms 15m41s 01 11 0 3s221ms 1s89ms 2s538ms 18s49ms 02 13 0 1s831ms 1s202ms 1s801ms 4s914ms 03 23 0 1s697ms 1s147ms 1s762ms 10s607ms 04 18 0 3s531ms 2s159ms 5s269ms 14s677ms 05 44 0 2s369ms 3s543ms 4s850ms 24s805ms 06 15 0 2s240ms 1s249ms 3s203ms 6s662ms 07 13 0 2s105ms 1s214ms 2s344ms 5s918ms 08 18 0 1s525ms 1s326ms 2s139ms 4s882ms 09 28 0 2s309ms 2s456ms 5s70ms 10s454ms 10 35 0 3s31ms 3s753ms 6s987ms 30s370ms 11 12 0 1s976ms 1s88ms 2s326ms 7s304ms 12 6 0 1m29s 0ms 1s102ms 8m48s 13 15 0 2s145ms 1s227ms 3s486ms 5s900ms 14 14 0 2s53ms 1s269ms 2s499ms 5s67ms 15 10 0 3s448ms 1s350ms 3s569ms 6s762ms 16 202 0 10s709ms 18s938ms 51s680ms 18m21s 17 114 0 16s881ms 19s341ms 24s731ms 17m48s 18 14 27 45s5ms 5s812ms 52s163ms 1m20s 19 18 42 54s622ms 57s708ms 1m54s 23m40s 20 14 0 2s125ms 1s40ms 3s92ms 5s901ms 21 25 0 2s49ms 1s971ms 3s779ms 6s602ms 22 10 0 2s31ms 0ms 2s148ms 5s944ms 23 14 0 4s120ms 1s97ms 2s161ms 35s116ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 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 Apr 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 Apr 23 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 24 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 1 0 0 0 10s832ms 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 4 0 0 0 3m58s 0ms 0ms 3m 18 8 0 0 0 3m34s 0ms 0ms 3m34s 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 11 5 0 0 21s973ms 0ms 0ms 1m22s Apr 25 00 5 4 0 0 3m15s 0ms 0ms 2m5s 01 1 0 0 0 2m41s 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 26 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 27 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 Apr 21 00 0 7 7.00 0.00% 01 0 9 9.00 0.00% 02 0 18 18.00 0.00% 03 0 18 18.00 0.00% 04 0 24 24.00 0.00% 05 0 57 57.00 0.00% 06 0 31 31.00 0.00% 07 0 33 33.00 0.00% 08 0 77 77.00 0.00% 09 0 33 33.00 0.00% 10 0 18 18.00 0.00% 11 0 18 18.00 0.00% 12 0 25 25.00 0.00% 13 0 23 23.00 0.00% 14 0 163 163.00 0.00% 15 0 1,610 1,610.00 0.00% 16 0 197 197.00 0.00% 17 0 887 887.00 0.00% 18 0 8 8.00 0.00% 19 0 77 77.00 0.00% 20 0 762 762.00 0.00% 21 0 912 912.00 0.00% 22 0 18 18.00 0.00% 23 0 18 18.00 0.00% Apr 22 00 0 19 19.00 0.00% 01 0 30 30.00 0.00% 02 0 960 960.00 0.00% 03 0 22 22.00 0.00% 04 0 1,683 1,683.00 0.00% 05 0 765 765.00 0.00% 06 0 0 0.00 0.00% 07 0 29 29.00 0.00% 08 0 24 24.00 0.00% 09 0 14 14.00 0.00% 10 2 1,218 609.00 0.16% 11 0 922 922.00 0.00% 12 0 390 390.00 0.00% 13 0 13 13.00 0.00% 14 0 34 34.00 0.00% 15 0 58 58.00 0.00% 16 0 7 7.00 0.00% 17 0 35 35.00 0.00% 18 0 9 9.00 0.00% 19 0 16 16.00 0.00% 20 0 21 21.00 0.00% 21 0 18 18.00 0.00% 22 0 14 14.00 0.00% 23 0 13 13.00 0.00% Apr 23 00 0 10 10.00 0.00% 01 0 14 14.00 0.00% 02 0 11 11.00 0.00% 03 0 30 30.00 0.00% 04 0 31 31.00 0.00% 05 0 49 49.00 0.00% 06 0 8 8.00 0.00% 07 0 11 11.00 0.00% 08 0 13 13.00 0.00% 09 0 8 8.00 0.00% 10 0 26 26.00 0.00% 11 0 22 22.00 0.00% 12 0 24 24.00 0.00% 13 0 10 10.00 0.00% 14 0 24 24.00 0.00% 15 0 15 15.00 0.00% 16 0 8 8.00 0.00% 17 0 10 10.00 0.00% 18 0 14 14.00 0.00% 19 0 17 17.00 0.00% 20 0 15 15.00 0.00% 21 0 8 8.00 0.00% 22 0 20 20.00 0.00% 23 0 7 7.00 0.00% Apr 24 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 45 45.00 0.00% 06 0 17 17.00 0.00% 07 0 14 14.00 0.00% 08 0 21 21.00 0.00% 09 0 71 71.00 0.00% 10 0 20 20.00 0.00% 11 0 13 13.00 0.00% 12 0 17 17.00 0.00% 13 0 60 60.00 0.00% 14 0 28 28.00 0.00% 15 0 10 10.00 0.00% 16 0 7 7.00 0.00% 17 0 29 29.00 0.00% 18 0 36 36.00 0.00% 19 0 30 30.00 0.00% 20 0 30 30.00 0.00% 21 0 68 68.00 0.00% 22 0 42 42.00 0.00% 23 0 70 70.00 0.00% Apr 25 00 0 26 26.00 0.00% 01 0 20 20.00 0.00% 02 0 39 39.00 0.00% 03 0 21 21.00 0.00% 04 0 24 24.00 0.00% 05 0 67 67.00 0.00% 06 0 11 11.00 0.00% 07 0 15 15.00 0.00% 08 0 29 29.00 0.00% 09 0 32 32.00 0.00% 10 0 36 36.00 0.00% 11 0 44 44.00 0.00% 12 0 41 41.00 0.00% 13 0 67 67.00 0.00% 14 0 44 44.00 0.00% 15 0 35 35.00 0.00% 16 0 28 28.00 0.00% 17 0 22 22.00 0.00% 18 0 28 28.00 0.00% 19 0 59 59.00 0.00% 20 0 19 19.00 0.00% 21 0 28 28.00 0.00% 22 0 43 43.00 0.00% 23 0 40 40.00 0.00% Apr 26 00 0 34 34.00 0.00% 01 0 29 29.00 0.00% 02 0 26 26.00 0.00% 03 0 30 30.00 0.00% 04 0 50 50.00 0.00% 05 0 84 84.00 0.00% 06 0 44 44.00 0.00% 07 0 20 20.00 0.00% 08 0 58 58.00 0.00% 09 0 251 251.00 0.00% 10 0 64 64.00 0.00% 11 0 19 19.00 0.00% 12 0 26 26.00 0.00% 13 0 35 35.00 0.00% 14 0 11 11.00 0.00% 15 0 23 23.00 0.00% 16 0 24 24.00 0.00% 17 0 15 15.00 0.00% 18 0 10 10.00 0.00% 19 0 8 8.00 0.00% 20 0 23 23.00 0.00% 21 0 139 139.00 0.00% 22 0 15 15.00 0.00% 23 0 17 17.00 0.00% Apr 27 00 0 4 4.00 0.00% 01 0 11 11.00 0.00% 02 0 13 13.00 0.00% 03 0 23 23.00 0.00% 04 0 18 18.00 0.00% 05 0 48 48.00 0.00% 06 0 16 16.00 0.00% 07 0 13 13.00 0.00% 08 0 18 18.00 0.00% 09 0 28 28.00 0.00% 10 0 35 35.00 0.00% 11 0 12 12.00 0.00% 12 0 6 6.00 0.00% 13 0 15 15.00 0.00% 14 0 14 14.00 0.00% 15 0 10 10.00 0.00% 16 0 203 203.00 0.00% 17 0 118 118.00 0.00% 18 0 14 14.00 0.00% 19 0 18 18.00 0.00% 20 0 14 14.00 0.00% 21 0 25 25.00 0.00% 22 0 10 10.00 0.00% 23 0 14 14.00 0.00% Day Hour Count Average / Second Apr 21 00 518 0.14/s 01 518 0.14/s 02 525 0.15/s 03 523 0.15/s 04 529 0.15/s 05 564 0.16/s 06 528 0.15/s 07 525 0.15/s 08 522 0.14/s 09 521 0.14/s 10 519 0.14/s 11 525 0.15/s 12 306 0.09/s 13 75 0.02/s 14 470 0.13/s 15 2,323 0.65/s 16 265 0.07/s 17 1,174 0.33/s 18 71 0.02/s 19 232 0.06/s 20 1,431 0.40/s 21 856 0.24/s 22 66 0.02/s 23 69 0.02/s Apr 22 00 73 0.02/s 01 72 0.02/s 02 873 0.24/s 03 76 0.02/s 04 962 0.27/s 05 2,477 0.69/s 06 65 0.02/s 07 107 0.03/s 08 75 0.02/s 09 66 0.02/s 10 1,590 0.44/s 11 799 0.22/s 12 885 0.25/s 13 73 0.02/s 14 80 0.02/s 15 85 0.02/s 16 77 0.02/s 17 78 0.02/s 18 77 0.02/s 19 71 0.02/s 20 71 0.02/s 21 77 0.02/s 22 84 0.02/s 23 79 0.02/s Apr 23 00 80 0.02/s 01 81 0.02/s 02 78 0.02/s 03 83 0.02/s 04 79 0.02/s 05 93 0.03/s 06 79 0.02/s 07 77 0.02/s 08 75 0.02/s 09 76 0.02/s 10 97 0.03/s 11 80 0.02/s 12 79 0.02/s 13 76 0.02/s 14 108 0.03/s 15 84 0.02/s 16 81 0.02/s 17 76 0.02/s 18 81 0.02/s 19 74 0.02/s 20 85 0.02/s 21 74 0.02/s 22 88 0.02/s 23 171 0.05/s Apr 24 00 65 0.02/s 01 62 0.02/s 02 63 0.02/s 03 64 0.02/s 04 62 0.02/s 05 88 0.02/s 06 78 0.02/s 07 73 0.02/s 08 127 0.04/s 09 124 0.03/s 10 89 0.02/s 11 91 0.03/s 12 85 0.02/s 13 147 0.04/s 14 109 0.03/s 15 76 0.02/s 16 80 0.02/s 17 81 0.02/s 18 97 0.03/s 19 74 0.02/s 20 90 0.03/s 21 86 0.02/s 22 108 0.03/s 23 107 0.03/s Apr 25 00 88 0.02/s 01 78 0.02/s 02 90 0.03/s 03 95 0.03/s 04 86 0.02/s 05 93 0.03/s 06 71 0.02/s 07 77 0.02/s 08 81 0.02/s 09 89 0.02/s 10 88 0.02/s 11 122 0.03/s 12 82 0.02/s 13 89 0.02/s 14 103 0.03/s 15 69 0.02/s 16 76 0.02/s 17 80 0.02/s 18 82 0.02/s 19 83 0.02/s 20 79 0.02/s 21 81 0.02/s 22 91 0.03/s 23 124 0.03/s Apr 26 00 87 0.02/s 01 84 0.02/s 02 80 0.02/s 03 85 0.02/s 04 112 0.03/s 05 103 0.03/s 06 81 0.02/s 07 72 0.02/s 08 92 0.03/s 09 79 0.02/s 10 93 0.03/s 11 77 0.02/s 12 92 0.03/s 13 81 0.02/s 14 70 0.02/s 15 77 0.02/s 16 80 0.02/s 17 73 0.02/s 18 74 0.02/s 19 73 0.02/s 20 74 0.02/s 21 87 0.02/s 22 78 0.02/s 23 78 0.02/s Apr 27 00 78 0.02/s 01 76 0.02/s 02 71 0.02/s 03 78 0.02/s 04 82 0.02/s 05 94 0.03/s 06 79 0.02/s 07 77 0.02/s 08 77 0.02/s 09 84 0.02/s 10 103 0.03/s 11 72 0.02/s 12 74 0.02/s 13 77 0.02/s 14 77 0.02/s 15 78 0.02/s 16 110 0.03/s 17 84 0.02/s 18 82 0.02/s 19 81 0.02/s 20 78 0.02/s 21 79 0.02/s 22 88 0.02/s 23 82 0.02/s Day Hour Count Average Duration Average idle time Apr 21 00 518 4m24s 4m22s 01 518 4m21s 4m20s 02 525 5m2s 5m2s 03 523 4m44s 4m44s 04 529 4m44s 4m44s 05 564 4m33s 4m33s 06 528 4m25s 4m25s 07 525 4m8s 4m7s 08 522 4m36s 4m36s 09 520 4m20s 4m20s 10 520 4m52s 4m50s 11 525 4m46s 4m46s 12 314 4h1m25s 4h1m25s 13 75 31m52s 31m49s 14 470 5m45s 5m44s 15 2,323 1m27s 1m19s 16 265 9m13s 9m10s 17 1,174 2m13s 2m5s 18 71 31m16s 31m14s 19 190 14m54s 14m52s 20 1,473 1m43s 1m38s 21 856 2m35s 2m27s 22 66 31m59s 31m59s 23 69 36m1s 36m Apr 22 00 73 34m43s 34m29s 01 72 32m10s 32m8s 02 873 4m43s 4m22s 03 76 30m45s 30m44s 04 962 3m1s 2m48s 05 2,474 1m4s 1m3s 06 68 28m36s 28m35s 07 107 27m10s 27m9s 08 75 31m50s 31m50s 09 66 32m56s 32m56s 10 1,584 2m4s 1m59s 11 805 3m7s 2m59s 12 885 3m13s 3m9s 13 73 31m12s 31m11s 14 80 31m24s 31m22s 15 85 29m4s 28m59s 16 77 30m50s 30m50s 17 78 29m49s 29m48s 18 77 32m37s 32m36s 19 71 31m46s 31m45s 20 71 32m11s 32m11s 21 77 30m58s 30m57s 22 84 29m37s 29m36s 23 79 30m8s 30m7s Apr 23 00 80 30m49s 30m37s 01 81 29m59s 29m59s 02 78 30m38s 30m38s 03 83 28m48s 28m48s 04 79 29m43s 29m35s 05 93 25m51s 25m33s 06 79 30m53s 30m52s 07 77 31m49s 31m49s 08 75 30m35s 30m34s 09 76 30m21s 30m21s 10 97 25m7s 25m5s 11 80 30m13s 30m13s 12 79 30m42s 30m41s 13 76 32m28s 32m28s 14 108 22m35s 22m33s 15 82 29m42s 29m42s 16 81 1h20m4s 1h20m3s 17 76 31m35s 31m35s 18 81 30m10s 30m9s 19 75 34m46s 34m45s 20 86 32m2s 32m1s 21 74 30m29s 30m29s 22 87 27m33s 27m30s 23 172 13m54s 13m54s Apr 24 00 65 30m25s 30m10s 01 62 30m41s 30m41s 02 63 30m39s 30m39s 03 64 30m39s 30m39s 04 62 30m41s 30m41s 05 88 54m24s 54m23s 06 78 29m14s 29m12s 07 73 32m25s 32m24s 08 127 19m44s 19m43s 09 124 19m17s 19m12s 10 81 29m29s 29m27s 11 88 27m30s 27m30s 12 85 28m53s 28m52s 13 147 16m11s 16m5s 14 107 23m51s 23m44s 15 76 31m31s 31m29s 16 80 31m5s 31m5s 17 81 32m36s 32m24s 18 97 25m55s 25m8s 19 78 55m51s 55m47s 20 91 33m43s 32m47s 21 87 49m33s 49m13s 22 108 23m17s 23m13s 23 107 23m38s 23m22s Apr 25 00 88 28m25s 27m53s 01 78 30m38s 29m24s 02 90 28m58s 28m13s 03 95 24m18s 23m48s 04 86 28m35s 28m34s 05 93 24m32s 23m11s 06 72 36m6s 35m36s 07 77 32m18s 32m17s 08 81 29m22s 29m20s 09 85 28m49s 28m48s 10 82 28m56s 28m53s 11 122 20m33s 20m32s 12 82 29m10s 29m8s 13 89 25m55s 25m53s 14 95 27m32s 27m29s 15 69 30m39s 30m37s 16 76 33m15s 33m14s 17 80 30m1s 30m 18 82 29m20s 29m18s 19 84 51m 50m58s 20 88 1h47m34s 1h47m33s 21 87 2h18m3s 2h18m2s 22 91 27m31s 27m30s 23 124 19m13s 19m12s Apr 26 00 87 27m46s 27m33s 01 84 29m26s 29m24s 02 80 29m58s 29m56s 03 85 28m43s 28m41s 04 112 21m34s 21m30s 05 103 21m23s 21m20s 06 81 28m4s 27m58s 07 72 33m18s 33m18s 08 91 26m31s 26m27s 09 79 31m52s 31m14s 10 91 28m14s 28m9s 11 77 31m8s 31m7s 12 92 27m40s 27m39s 13 76 30m21s 30m20s 14 70 31m52s 31m50s 15 77 31m22s 31m22s 16 80 30m3s 30m3s 17 73 32m28s 32m27s 18 74 31m45s 31m43s 19 73 32m13s 32m13s 20 77 52m2s 52m1s 21 92 55m23s 55m21s 22 78 31m13s 31m12s 23 78 31m14s 31m10s Apr 27 00 78 32m2s 31m50s 01 76 31m48s 31m47s 02 71 32m54s 32m54s 03 78 31m23s 31m23s 04 82 30m18s 30m17s 05 94 24m44s 24m43s 06 79 31m1s 31m1s 07 77 31m21s 31m21s 08 77 31m44s 31m43s 09 84 28m20s 28m19s 10 103 24m48s 24m47s 11 72 31m48s 31m48s 12 74 31m12s 31m4s 13 77 29m46s 29m46s 14 77 31m49s 31m48s 15 78 30m59s 30m58s 16 110 22m5s 21m46s 17 84 27m48s 27m25s 18 81 30m29s 30m6s 19 82 30m42s 30m2s 20 78 30m44s 30m44s 21 79 29m3s 29m3s 22 88 27m24s 27m24s 23 81 30m1s 30m -
Connections
Established Connections
Key values
- 86 connections Connection Peak
- 2024-04-23 23:33:21 Date
Connections per database
Key values
- ctdprd51 Main Database
- 32,848 connections Total
Connections per user
Key values
- pubeu Main User
- 32,848 connections Total
Connections per host
Key values
- 10.12.5.37 Main host with 16324 connections
- 32,848 Total connections
-
Sessions
Simultaneous sessions
Key values
- 159 sessions Session Peak
- 2024-04-25 03:02:48 Date
Histogram of session times
Key values
- 11,722 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 32,847 sessions Total
Sessions per user
Key values
- pubeu Main User
- 32,847 sessions Total
User Count Total Duration Average Duration edit 20 8d11h20m 10h10m editeu 2,611 104d21h23m9s 57m50s load 175 8d21h17m25s 1h13m7s postgres 5,676 2h8m4s 1s353ms pub1 1 20s50ms 20s50ms pub2 26 1d9h17m14s 1h16m49s pubc 8 1h50m24s 13m48s pubeu 18,951 114d6h16m39s 8m40s qaeu 5,350 111d21h49m4s 30m7s zbx_monitor 29 8d4h36m43s 6h46m47s Sessions per host
Key values
- 10.12.5.37 Main Host
- 32,847 sessions Total
Host Count Total Duration Average Duration 10.12.5.122 14 48d22h24m34s 3d11h53m11s 10.12.5.36 38 2h55s 3m10s 10.12.5.37 16,323 58d9h49m23s 5m9s 10.12.5.38 2,634 55d22h16m56s 30m34s 10.12.5.39 2,590 55d22h36m2s 31m6s 10.12.5.40 172 13h54m4s 4m50s 10.12.5.45 2,693 55d22h55m25s 29m55s 10.12.5.46 2,635 55d20h53m57s 30m31s 192.168.201.10 12 11d57m46s 22h4m48s 192.168.201.6 5 1d15h22m53s 7h52m34s 192.168.202.5 7 22m31s 3m13s 192.168.202.6 19 5d11h39m45s 6h55m46s ::1 105 8d6h44m32s 1h53m34s [local] 5,600 15s530ms 2ms Sessions per application
Key values
- unknown Main Application
- 32,847 sessions Total
Application Count Total Duration Average Duration pgAdmin 4 - CONN:288486 2 6m35s 3m17s pgAdmin 4 - CONN:5060859 2 57s181ms 28s590ms pgAdmin 4 - CONN:8770850 2 6s929ms 3s464ms pgAdmin 4 - DB:ctdprd51 4 7m55s 1m58s pgAdmin 4 - DB:postgres 1 7m55s 7m55s pg_bulkload 14 7s67ms 504ms pg_dump 1 89ms 89ms pg_dumpall 1 21ms 21ms psql 5,647 30s498ms 5ms unknown 27,173 358d3h34m57s 18m58s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 4,877,304 buffers Checkpoint Peak
- 2024-04-24 23:46:54 Date
- 1620.018 seconds Highest write time
- 1.003 seconds Sync time
Checkpoints Wal files
Key values
- 869 files Wal files usage Peak
- 2024-04-25 03:17:20 Date
Checkpoints distance
Key values
- 17,688.71 Mo Distance Peak
- 2024-04-25 03:10:05 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Apr 21 00 376 37.879s 0.003s 37.951s 01 95 9.711s 0.002s 9.742s 02 76 7.803s 0.002s 7.833s 03 98 10.015s 0.002s 10.045s 04 1,158 116.26s 0.002s 116.338s 05 1,990 199.578s 0.003s 199.612s 06 130 13.215s 0.002s 13.247s 07 303 30.466s 0.002s 30.545s 08 236 23.848s 0.002s 23.879s 09 249 25.149s 0.002s 25.18s 10 150 15.217s 0.002s 15.247s 11 140 14.22s 0.002s 14.251s 12 181 9.611s 0.002s 9.657s 13 205 21.015s 0.002s 21.046s 14 92 9.384s 0.002s 9.415s 15 1,697 174.079s 0.007s 174.117s 16 186 19.099s 0.002s 19.129s 17 370 38.57s 0.028s 38.825s 18 114 11.599s 0.002s 11.631s 19 146 15.09s 0.002s 15.121s 20 225 22.839s 0.003s 22.878s 21 566 57.181s 0.002s 57.291s 22 207 20.93s 0.002s 20.96s 23 5,538 554.951s 0.003s 555.055s Apr 22 00 1,140 114.419s 0.004s 114.5s 01 179 18.108s 0.002s 18.138s 02 724 72.923s 0.001s 72.94s 03 14,065 1,409.065s 0.004s 1,409.327s 04 53,748 1,619.17s 0.002s 1,620.292s 05 69,781 1,944.367s 0.006s 1,944.625s 06 138 13.942s 0.001s 13.957s 07 271 27.625s 0.002s 27.655s 08 287 28.935s 0.002s 28.964s 09 833 83.655s 0.002s 83.687s 10 4,938 496.993s 0.007s 497.097s 11 550 55.614s 0.002s 55.647s 12 488 49.104s 0.002s 49.181s 13 324 32.661s 0.003s 32.693s 14 1,393 139.968s 0.002s 139.984s 15 50,513 1,676.28s 0.004s 1,676.765s 16 191 19.319s 0.002s 19.349s 17 96 9.786s 0.002s 9.817s 18 195 20.017s 0.002s 20.048s 19 85 8.692s 0.002s 8.722s 20 236 23.835s 0.002s 23.865s 21 176 17.807s 0.003s 17.837s 22 218 22.315s 0.002s 22.346s 23 120 12.197s 0.002s 12.229s Apr 23 00 2,624 294.386s 0.003s 294.503s 01 122 12.409s 0.002s 12.441s 02 85 8.508s 0.001s 8.569s 03 183,909 3,357.409s 0.005s 3,358.401s 04 630 63.299s 0.002s 63.328s 05 32 3.292s 0.001s 3.307s 06 64,415 2,178.353s 0.003s 2,178.952s 07 214 21.632s 0.002s 21.663s 08 10,413 1,043.346s 0.001s 1,043.555s 09 10,476 1,049.39s 0.003s 1,049.436s 10 772 77.534s 0.002s 77.614s 11 621 62.428s 0.002s 62.459s 12 260 26.515s 0.002s 26.545s 13 305 30.74s 0.002s 30.77s 14 100 10.221s 0.002s 10.251s 15 128 12.99s 0.002s 13.019s 16 180 18.225s 0.002s 18.256s 17 330 33.432s 0.002s 33.462s 18 60 6.173s 0.002s 6.202s 19 80 8.174s 0.002s 8.204s 20 60 6.187s 0.002s 6.218s 21 3,646 365.397s 0.002s 365.491s 22 18,398 1,787.847s 0.003s 1,788.051s 23 384 38.685s 0.002s 38.716s Apr 24 00 568 57.199s 0.004s 57.273s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 87 9.082s 0.001s 9.098s 06 260 26.145s 0.002s 26.223s 07 347 34.961s 0.002s 34.992s 08 380 38.832s 0.002s 38.864s 09 80 8.107s 0.001s 8.123s 10 119,061 3,251.156s 0.004s 3,252.008s 11 2,169 217.36s 0.144s 217.658s 12 584 59.008s 0.003s 59.053s 13 242,414 2,390.139s 0.457s 2,405.6s 14 22,354 1,732.724s 0.019s 1,745.413s 15 32,487 1,623.185s 0.006s 1,632.482s 16 264 26.929s 0.002s 26.959s 17 1,173,135 737.702s 0.292s 751.699s 18 1,793,641 4,413.323s 0.149s 4,430.1s 19 31,109 1,619.787s 0.002s 1,619.82s 20 214 21.991s 0.002s 22.1s 21 4,375,698 1,765.102s 0.457s 1,807.679s 22 8,180 819.601s 0.003s 819.86s 23 9,025,700 3,585.875s 0.156s 3,621.351s Apr 25 00 2,606,534 2,740.708s 0.074s 2,760.583s 01 252,382 1,627.923s 0.002s 1,628.592s 02 570,219 3,733.103s 0.045s 3,737.256s 03 284,257 775.354s 5.791s 936.38s 04 488,007 1,619.552s 0.007s 1,625.51s 05 114,064 3,239.321s 0.005s 3,239.95s 06 1,111,331 3,238.851s 0.005s 3,248.823s 07 2,876 288.254s 0.003s 288.444s 08 6,568 657.984s 0.004s 658.029s 09 103 10.828s 0.001s 10.844s 10 83,434 3,350.701s 0.005s 3,350.965s 11 456 45.895s 0.002s 45.925s 12 212 21.423s 0.002s 21.453s 13 25,354 2,175.542s 0.003s 2,175.655s 14 198 20.027s 0.002s 20.058s 15 69 7.094s 0.002s 7.124s 16 228 23.037s 0.002s 23.11s 17 90 9.203s 0.002s 9.233s 18 78 8.149s 0.002s 8.179s 19 286 28.857s 0.002s 28.889s 20 82 8.389s 0.002s 8.419s 21 107 10.898s 0.002s 10.928s 22 639 64.243s 0.002s 64.274s 23 393 39.64s 0.003s 39.671s Apr 26 00 2,935 294.331s 0.003s 294.369s 01 3,624 363.219s 0.003s 363.295s 02 243 24.527s 0.002s 24.558s 03 5,607 561.836s 0.003s 561.875s 04 240 24.235s 0.002s 24.267s 05 963 96.761s 0.003s 96.793s 06 1,439 144.298s 0.003s 144.372s 07 302 30.444s 0.002s 30.476s 08 552 55.554s 0.003s 55.585s 09 245 24.754s 0.002s 24.786s 10 333 33.591s 0.002s 33.623s 11 525 52.803s 0.003s 52.878s 12 173 17.517s 0.002s 17.548s 13 2,027 203.19s 0.003s 203.222s 14 9,709 972.777s 0.003s 972.868s 15 3,605 361.433s 0.003s 361.501s 16 91 9.296s 0.002s 9.326s 17 144 14.61s 0.002s 14.64s 18 108 10.999s 0.002s 11.03s 19 103 10.497s 0.002s 10.528s 20 1,163 116.767s 0.003s 116.841s 21 347 34.844s 0.003s 34.876s 22 105 10.702s 0.002s 10.732s 23 122 12.402s 0.002s 12.433s Apr 27 00 986 99.046s 0.002s 99.078s 01 50,113 1,624.622s 0.003s 1,624.8s 02 12,160 1,218.281s 0.004s 1,218.321s 03 577 57.994s 0.002s 58.025s 04 160 16.221s 0.002s 16.292s 05 827 83.07s 0.002s 83.101s 06 112 11.406s 0.002s 11.435s 07 63 6.556s 0.002s 6.586s 08 117 11.903s 0.002s 11.933s 09 136 13.82s 0.002s 13.851s 10 230 23.144s 0.001s 23.159s 11 50,103 1,625.607s 0.004s 1,625.789s 12 140 14.262s 0.002s 14.292s 13 75 7.692s 0.002s 7.722s 14 56 5.787s 0.002s 5.818s 15 159 16.116s 0.002s 16.146s 16 206 20.754s 0.002s 20.784s 17 353 35.49s 0.002s 35.522s 18 69 7.094s 0.002s 7.124s 19 34 3.489s 0.001s 3.504s 20 42,477 1,636.99s 0.004s 1,637.036s 21 76 7.786s 0.002s 7.816s 22 97 9.937s 0.002s 9.968s 23 56 5.808s 0.002s 5.838s Day Hour Added Removed Recycled Synced files Longest sync Average sync Apr 21 00 0 0 0 59 0.001s 0.002s 01 0 0 0 24 0.001s 0.002s 02 0 0 0 21 0.001s 0.002s 03 0 0 0 25 0.001s 0.002s 04 0 0 1 34 0.001s 0.002s 05 0 0 0 42 0.001s 0.002s 06 0 0 0 27 0.001s 0.002s 07 0 0 1 116 0.001s 0.002s 08 0 0 0 72 0.001s 0.002s 09 0 0 0 30 0.001s 0.002s 10 0 0 0 31 0.001s 0.002s 11 0 0 0 25 0.001s 0.002s 12 0 0 1 102 0.001s 0.002s 13 0 0 0 71 0.001s 0.002s 14 0 0 0 22 0.001s 0.002s 15 0 0 0 41 0.004s 0.002s 16 0 0 0 27 0.001s 0.002s 17 0 0 0 38 0.027s 0.003s 18 0 0 0 18 0.001s 0.002s 19 0 0 0 26 0.001s 0.002s 20 0 0 0 22 0.001s 0.002s 21 0 0 1 37 0.001s 0.002s 22 0 0 0 28 0.001s 0.002s 23 0 0 3 35 0.001s 0.002s Apr 22 00 0 0 1 82 0.001s 0.002s 01 0 0 0 44 0.001s 0.002s 02 0 0 0 30 0.001s 0.001s 03 0 0 8 70 0.001s 0.003s 04 0 0 68 34 0.001s 0.001s 05 0 0 10 98 0.002s 0.003s 06 0 0 0 17 0.001s 0.001s 07 0 0 0 107 0.001s 0.002s 08 0 0 0 76 0.001s 0.002s 09 0 0 0 81 0.001s 0.002s 10 0 0 3 95 0.003s 0.002s 11 0 0 0 75 0.001s 0.002s 12 0 0 1 108 0.001s 0.002s 13 0 0 0 111 0.001s 0.002s 14 0 0 0 84 0.001s 0.001s 15 0 0 34 188 0.002s 0.003s 16 0 0 0 69 0.001s 0.002s 17 0 0 0 22 0.001s 0.002s 18 0 0 0 31 0.001s 0.002s 19 0 0 0 16 0.001s 0.002s 20 0 0 0 102 0.001s 0.002s 21 0 0 0 55 0.001s 0.002s 22 0 0 0 27 0.001s 0.002s 23 0 0 0 19 0.001s 0.002s Apr 23 00 0 0 1 78 0.001s 0.002s 01 0 0 0 31 0.001s 0.002s 02 0 0 1 17 0.001s 0.001s 03 0 0 74 95 0.002s 0.003s 04 0 0 0 45 0.001s 0.002s 05 0 0 0 10 0.001s 0.001s 06 0 0 43 74 0.001s 0.003s 07 0 0 0 82 0.001s 0.002s 08 0 0 13 30 0.001s 0.001s 09 0 0 0 126 0.001s 0.003s 10 0 0 1 82 0.001s 0.002s 11 0 0 0 124 0.001s 0.002s 12 0 0 0 108 0.001s 0.002s 13 0 0 0 112 0.001s 0.002s 14 0 0 0 23 0.001s 0.002s 15 0 0 0 64 0.001s 0.002s 16 0 0 0 67 0.001s 0.002s 17 0 0 0 43 0.001s 0.002s 18 0 0 0 21 0.001s 0.002s 19 0 0 0 17 0.001s 0.002s 20 0 0 0 18 0.001s 0.002s 21 0 0 2 36 0.001s 0.002s 22 0 0 11 49 0.002s 0.002s 23 0 0 0 26 0.001s 0.002s Apr 24 00 0 0 0 58 0.001s 0.002s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 16 0.001s 0.001s 06 0 0 1 79 0.001s 0.002s 07 0 0 0 126 0.001s 0.002s 08 0 0 0 123 0.001s 0.002s 09 0 0 0 16 0.001s 0.001s 10 0 0 62 166 0.001s 0.003s 11 0 0 1 730 0.002s 0.002s 12 0 0 0 143 0.001s 0.002s 13 0 122 1,124 514 0.233s 0.006s 14 0 0 1,016 212 0.001s 0.002s 15 0 0 762 125 0.001s 0.002s 16 0 0 0 30 0.001s 0.002s 17 0 31 1,077 213 0.123s 0.005s 18 0 0 1,314 388 0.040s 0.005s 19 0 0 0 38 0.001s 0.001s 20 0 0 0 36 0.001s 0.002s 21 0 103 3,058 230 0.434s 0.025s 22 0 0 7 75 0.001s 0.002s 23 0 476 2,523 633 0.046s 0.006s Apr 25 00 0 0 1,614 288 0.032s 0.004s 01 0 0 41 48 0.001s 0.002s 02 0 255 251 188 0.015s 0.003s 03 0 296 10,919 992 0.946s 0.165s 04 0 0 494 115 0.001s 0.001s 05 0 33 43 104 0.001s 0.002s 06 0 0 817 194 0.001s 0.002s 07 0 0 1 111 0.001s 0.002s 08 0 4 0 153 0.001s 0.002s 09 0 0 0 53 0.001s 0.001s 10 0 46 0 213 0.001s 0.003s 11 0 0 0 117 0.001s 0.002s 12 0 0 0 31 0.001s 0.002s 13 0 13 0 91 0.001s 0.002s 14 0 0 0 80 0.001s 0.002s 15 0 0 0 18 0.001s 0.002s 16 0 1 0 73 0.001s 0.002s 17 0 0 0 19 0.001s 0.002s 18 0 0 0 22 0.001s 0.002s 19 0 0 0 31 0.001s 0.002s 20 0 0 0 22 0.001s 0.002s 21 0 0 0 21 0.001s 0.002s 22 0 0 0 29 0.001s 0.002s 23 0 0 0 39 0.001s 0.002s Apr 26 00 0 1 0 86 0.001s 0.002s 01 0 2 0 36 0.001s 0.002s 02 0 0 0 46 0.001s 0.002s 03 0 3 0 45 0.001s 0.002s 04 0 0 0 39 0.001s 0.002s 05 0 0 0 32 0.001s 0.002s 06 0 1 0 92 0.001s 0.002s 07 0 0 0 106 0.001s 0.002s 08 0 0 0 124 0.001s 0.002s 09 0 0 0 71 0.001s 0.002s 10 0 0 0 115 0.001s 0.002s 11 0 1 0 153 0.001s 0.002s 12 0 0 0 29 0.001s 0.002s 13 0 0 0 45 0.001s 0.002s 14 0 7 0 172 0.001s 0.002s 15 0 1 0 34 0.001s 0.002s 16 0 0 0 19 0.001s 0.002s 17 0 0 0 26 0.001s 0.002s 18 0 0 0 30 0.001s 0.002s 19 0 0 0 17 0.001s 0.002s 20 0 1 0 47 0.001s 0.002s 21 0 0 0 28 0.001s 0.002s 22 0 0 0 18 0.001s 0.002s 23 0 0 0 22 0.001s 0.002s Apr 27 00 0 0 0 82 0.001s 0.002s 01 0 34 0 42 0.001s 0.002s 02 0 3 0 49 0.001s 0.002s 03 0 0 0 36 0.001s 0.002s 04 0 1 0 33 0.001s 0.002s 05 0 0 0 44 0.001s 0.002s 06 0 0 0 24 0.001s 0.002s 07 0 0 0 18 0.001s 0.002s 08 0 0 0 24 0.001s 0.002s 09 0 0 0 26 0.001s 0.002s 10 0 0 0 28 0.001s 0.001s 11 0 34 0 43 0.001s 0.003s 12 0 0 0 26 0.001s 0.002s 13 0 0 0 18 0.001s 0.002s 14 0 0 0 17 0.001s 0.002s 15 0 0 0 21 0.001s 0.002s 16 0 0 0 30 0.001s 0.002s 17 0 0 0 28 0.001s 0.002s 18 0 0 0 22 0.001s 0.002s 19 0 0 0 10 0.001s 0.001s 20 0 0 0 41 0.001s 0.003s 21 0 0 0 18 0.001s 0.002s 22 0 0 0 18 0.001s 0.002s 23 0 0 0 16 0.001s 0.002s Day Hour Count Avg time (sec) Apr 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 Apr 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 Apr 23 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 24 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 25 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 26 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 27 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 Apr 21 00 1,807.50 kB 71,560.50 kB 01 164.00 kB 57,986.50 kB 02 161.50 kB 46,999.00 kB 03 188.50 kB 38,103.50 kB 04 3,344.00 kB 31,498.50 kB 05 7,123.50 kB 26,847.50 kB 06 153.50 kB 21,804.50 kB 07 766.50 kB 17,775.50 kB 08 629.00 kB 14,535.50 kB 09 606.00 kB 11,863.50 kB 10 338.50 kB 9,712.00 kB 11 329.50 kB 7,915.00 kB 12 6,082.50 kB 6,082.50 kB 13 512.50 kB 568.50 kB 14 135.50 kB 501.50 kB 15 4,775.50 kB 8,852.00 kB 16 365.00 kB 7,246.00 kB 17 716.00 kB 5,992.50 kB 18 153.50 kB 4,893.00 kB 19 350.50 kB 4,012.00 kB 20 377.50 kB 3,330.00 kB 21 1,437.50 kB 2,976.00 kB 22 413.50 kB 2,473.00 kB 23 29,166.50 kB 55,252.50 kB Apr 22 00 3,421.50 kB 45,217.50 kB 01 457.00 kB 36,884.00 kB 02 4,174.00 kB 31,891.00 kB 03 44,809.33 kB 120,038.67 kB 04 587,758.00 kB 587,758.00 kB 05 228,251.33 kB 599,564.33 kB 06 620.00 kB 485,109.00 kB 07 978.00 kB 414,894.50 kB 08 754.00 kB 336,237.00 kB 09 2,404.00 kB 272,829.50 kB 10 24,199.50 kB 223,440.50 kB 11 1,370.50 kB 183,357.50 kB 12 953.00 kB 148,696.00 kB 13 880.00 kB 120,633.50 kB 14 10,292.00 kB 103,918.00 kB 15 183,500.33 kB 494,586.33 kB 16 461.50 kB 379,423.50 kB 17 191.00 kB 307,371.00 kB 18 538.00 kB 249,076.00 kB 19 190.00 kB 201,787.00 kB 20 620.50 kB 163,538.50 kB 21 516.00 kB 132,584.50 kB 22 554.50 kB 107,494.50 kB 23 267.00 kB 87,127.00 kB Apr 23 00 9,037.00 kB 72,231.00 kB 01 302.00 kB 58,619.00 kB 02 390.00 kB 50,035.00 kB 03 404,314.00 kB 745,890.00 kB 04 1,850.00 kB 882,884.00 kB 05 121.00 kB 752,809.00 kB 06 234,816.67 kB 674,084.67 kB 07 564.00 kB 518,561.00 kB 08 113,312.00 kB 453,479.00 kB 09 35,651.33 kB 378,292.33 kB 10 2,178.00 kB 290,324.50 kB 11 1,697.00 kB 235,535.50 kB 12 739.50 kB 190,998.50 kB 13 843.00 kB 154,878.00 kB 14 199.00 kB 125,509.00 kB 15 294.00 kB 101,706.00 kB 16 496.00 kB 82,489.50 kB 17 869.00 kB 66,934.00 kB 18 132.00 kB 54,290.50 kB 19 146.00 kB 44,001.50 kB 20 123.00 kB 35,666.00 kB 21 16,209.50 kB 31,175.50 kB 22 89,138.00 kB 152,121.50 kB 23 1,139.50 kB 124,294.00 kB Apr 24 00 1,733.50 kB 100,945.00 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 580.00 kB 86,196.00 kB 06 646.50 kB 73,779.00 kB 07 1,123.00 kB 59,956.50 kB 08 1,182.50 kB 48,797.00 kB 09 416.00 kB 41,702.00 kB 10 337,298.33 kB 512,840.33 kB 11 8,124.50 kB 452,341.50 kB 12 1,457.50 kB 366,689.50 kB 13 4,971,849.25 kB 4,989,984.50 kB 14 8,323,990.00 kB 8,767,987.50 kB 15 6,505,989.00 kB 8,595,060.00 kB 16 497.50 kB 7,150,401.00 kB 17 5,875,788.00 kB 7,907,961.00 kB 18 7,351,434.00 kB 8,672,163.00 kB 19 898.00 kB 7,541,345.00 kB 20 495.00 kB 6,447,919.00 kB 21 8,543,126.67 kB 8,551,727.67 kB 22 323,864.00 kB 7,608,299.00 kB 23 8,100,199.83 kB 8,797,022.33 kB Apr 25 00 8,814,501.33 kB 8,853,543.67 kB 01 599,092.50 kB 7,680,142.00 kB 02 2,588,830.33 kB 6,360,937.33 kB 03 8,838,605.81 kB 8,940,163.24 kB 04 6,236,211.00 kB 8,672,093.00 kB 05 617,861.50 kB 7,521,000.00 kB 06 6,956,362.50 kB 8,630,439.50 kB 07 9,454.00 kB 7,221,600.00 kB 08 32,385.00 kB 5,853,179.00 kB 09 528.00 kB 4,993,453.00 kB 10 253,218.67 kB 4,122,513.33 kB 11 735.00 kB 3,166,759.00 kB 12 444.00 kB 2,565,180.50 kB 13 106,394.50 kB 2,095,514.00 kB 14 524.50 kB 1,699,970.00 kB 15 138.00 kB 1,377,002.00 kB 16 598.50 kB 1,115,465.50 kB 17 146.00 kB 903,574.50 kB 18 141.00 kB 731,922.00 kB 19 582.00 kB 592,966.50 kB 20 147.50 kB 480,329.00 kB 21 232.50 kB 389,108.00 kB 22 1,868.00 kB 315,533.50 kB 23 1,023.50 kB 255,724.50 kB Apr 26 00 8,865.00 kB 208,209.00 kB 01 12,362.50 kB 171,658.50 kB 02 648.00 kB 139,138.00 kB 03 29,250.50 kB 115,674.00 kB 04 558.50 kB 96,401.00 kB 05 820.00 kB 78,208.50 kB 06 4,660.00 kB 64,255.00 kB 07 1,083.50 kB 52,255.00 kB 08 956.50 kB 42,514.50 kB 09 576.00 kB 34,549.50 kB 10 962.50 kB 28,142.00 kB 11 1,730.00 kB 23,164.00 kB 12 410.50 kB 18,828.00 kB 13 6,088.00 kB 15,895.50 kB 14 50,487.50 kB 95,444.50 kB 15 13,350.00 kB 79,864.00 kB 16 140.00 kB 64,715.50 kB 17 240.50 kB 52,455.00 kB 18 153.50 kB 42,531.00 kB 19 146.50 kB 34,476.00 kB 20 3,547.50 kB 28,568.00 kB 21 968.50 kB 23,356.00 kB 22 137.50 kB 18,945.00 kB 23 198.00 kB 15,381.00 kB Apr 27 00 2,808.00 kB 12,932.50 kB 01 274,075.00 kB 520,686.00 kB 02 29,439.50 kB 427,333.00 kB 03 1,562.50 kB 346,330.00 kB 04 341.50 kB 280,701.50 kB 05 2,464.50 kB 227,635.50 kB 06 292.50 kB 184,653.50 kB 07 97.50 kB 149,587.50 kB 08 245.50 kB 121,213.00 kB 09 307.00 kB 98,222.50 kB 10 1,331.00 kB 83,904.00 kB 11 183,092.67 kB 495,952.67 kB 12 314.00 kB 380,274.50 kB 13 140.00 kB 308,066.50 kB 14 110.00 kB 249,556.50 kB 15 292.00 kB 202,196.00 kB 16 570.50 kB 163,847.00 kB 17 1,352.50 kB 133,013.00 kB 18 91.00 kB 107,760.00 kB 19 134.00 kB 91,896.00 kB 20 240.67 kB 74,743.67 kB 21 157.00 kB 57,361.00 kB 22 170.00 kB 46,493.00 kB 23 120.50 kB 37,685.00 kB -
Temporary Files
Size of temporary files
Key values
- 15.00 GiB Temp Files size Peak
- 2024-04-24 20:48:34 Date
Number of temporary files
Key values
- 21 per second Temp Files Peak
- 2024-04-25 03:09:31 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Apr 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 Apr 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 Apr 23 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 24 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 806 23.30 GiB 29.60 MiB 14 342 22.10 GiB 66.17 MiB 15 70 3.90 GiB 57.02 MiB 16 0 0 0 17 0 0 0 18 0 0 0 19 24 23.33 GiB 995.54 MiB 20 110 108.24 GiB 1007.63 MiB 21 260 101.82 GiB 401.02 MiB 22 175 15.66 GiB 91.63 MiB 23 166 30.37 GiB 187.36 MiB Apr 25 00 0 0 0 01 0 0 0 02 87 2.84 GiB 33.43 MiB 03 892 145.59 GiB 167.14 MiB 04 0 0 0 05 0 0 0 06 8 7.75 GiB 991.53 MiB 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 26 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 40 39.47 GiB 1010.45 MiB 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 27 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 1,193 63.27 GiB 8.00 KiB 1.00 GiB 54.31 MiB select * from pgbulkload.pg_bulkload (?);-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2024-04-24 20:59:22 Duration: 6m24s Database: ctdprd51 User: load Application: pg_bulkload
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2024-04-24 21:26:57 Duration: 5m26s
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2024-04-24 13:48:39 Duration: 3m28s
2 897 145.82 GiB 128.00 KiB 1.00 GiB 166.47 MiB vacuum full analyze;-
VACUUM FULL ANALYZE;
Date: 2024-04-25 03:44:59 Duration: 45m15s
-
VACUUM FULL ANALYZE;
Date: 2024-04-25 02:59:53 Duration: 0ms
3 70 6.46 GiB 52.97 MiB 126.60 MiB 94.51 MiB vacuum full analyze db_link;-
vacuum FULL analyze db_link;
Date: 2024-04-24 14:59:14 Duration: 1m25s
-
vacuum FULL analyze db_link;
Date: 2024-04-24 15:01:55 Duration: 1m25s
-
vacuum FULL analyze db_link;
Date: 2024-04-24 14:58:04 Duration: 0ms
4 70 2.17 GiB 20.25 MiB 47.82 MiB 31.71 MiB vacuum full analyze ixn_actor;-
vacuum FULL analyze ixn_actor;
Date: 2024-04-24 14:57:09 Duration: 23s96ms
-
vacuum FULL analyze ixn_actor;
Date: 2024-04-24 15:00:05 Duration: 22s422ms
-
vacuum FULL analyze ixn_actor;
Date: 2024-04-24 14:56:53 Duration: 0ms
5 62 1.97 GiB 7.21 MiB 1.00 GiB 32.48 MiB cluster pub2.term;-
CLUSTER pub2.TERM;
Date: 2024-04-25 02:59:09 Duration: 59s17ms
-
CLUSTER pub2.TERM;
Date: 2024-04-25 02:58:19 Duration: 0ms
6 60 59.11 GiB 116.33 MiB 1.00 GiB 1008.87 MiB select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.gene_go_annot gga, pub2.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in;-
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in;
Date: 2024-04-24 20:48:30 Duration: 0ms
7 50 712.64 MiB 10.64 MiB 20.46 MiB 14.25 MiB vacuum full analyze ixn;-
vacuum FULL analyze ixn;
Date: 2024-04-24 14:57:28 Duration: 7s347ms
-
vacuum FULL analyze ixn;
Date: 2024-04-24 15:00:20 Duration: 7s304ms
-
vacuum FULL analyze ixn;
Date: 2024-04-24 14:57:23 Duration: 0ms
8 45 44.14 GiB 139.70 MiB 1.00 GiB 1004.35 MiB select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.object_type where cd = ?), ptr.term_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.phenotype_term_reference ptr, pub2.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in;-
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in;
Date: 2024-04-24 20:11:30 Duration: 0ms
9 40 39.47 GiB 481.80 MiB 1.00 GiB 1010.45 MiB select ;-
SELECT /* RefsDAO */ ;
Date: 2024-04-21 15:22:46 Duration: 8m11s Database: ctdprd51 User: pubeu
-
SELECT /* ChemGODAO */ ;
Date: 2024-04-21 15:54:10 Duration: 32s491ms
-
SELECT /* DiseaseGeneAssnsDAO */ ;
Date: 2024-04-22 02:07:01 Duration: 13s659ms Database: ctdprd51 User: pubeu
10 25 15.43 GiB 8.00 KiB 1.00 GiB 632.21 MiB alter table pub2.term_enrichment_agent add constraint term_enrichment_agent_pk primary key (term_id, enriched_term_id, agent_term_id);-
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2024-04-24 23:24:27 Duration: 2m57s
-
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2024-04-24 23:24:26 Duration: 0ms
11 24 23.33 GiB 340.97 MiB 1.00 GiB 995.54 MiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, to_char(cdr.mod_tm, ?) from pub2.gene_chem_reference gcr, pub2.chem_disease_reference cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = ? and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;-
select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;
Date: 2024-04-24 19:29:50 Duration: 0ms
12 20 656.61 MiB 19.27 MiB 55.12 MiB 32.83 MiB cluster pub2.term_label;-
CLUSTER pub2.TERM_LABEL;
Date: 2024-04-25 02:59:42 Duration: 32s580ms
-
CLUSTER pub2.TERM_LABEL;
Date: 2024-04-25 02:59:14 Duration: 0ms
13 20 214.45 MiB 6.91 MiB 16.14 MiB 10.72 MiB vacuum full analyze term;-
vacuum FULL analyze TERM;
Date: 2024-04-24 14:56:50 Duration: 9s844ms
-
vacuum FULL analyze TERM;
Date: 2024-04-24 14:56:42 Duration: 0ms
14 20 12.13 GiB 8.00 KiB 1.00 GiB 620.88 MiB create unique index gene_disease_reference_ak1 on pub2.gene_disease_reference using btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);-
CREATE UNIQUE INDEX gene_disease_reference_ak1 ON pub2.gene_disease_reference USING btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);
Date: 2024-04-24 21:04:43 Duration: 2m57s
-
CREATE UNIQUE INDEX gene_disease_reference_ak1 ON pub2.gene_disease_reference USING btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);
Date: 2024-04-24 21:04:42 Duration: 0ms
15 15 11.02 GiB 117.04 MiB 1.00 GiB 752.61 MiB create index ix_term_enrich_agent_enr_term on pub2.term_enrichment_agent using btree (enriched_term_id);-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);
Date: 2024-04-24 23:26:10 Duration: 1m43s
-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);
Date: 2024-04-24 23:26:10 Duration: 0ms
16 15 6.74 GiB 8.00 KiB 1.00 GiB 459.91 MiB alter table pub2.gene_disease_reference add constraint gene_disease_reference_pk primary key (id);-
ALTER TABLE pub2.gene_disease_reference ADD CONSTRAINT gene_disease_reference_pk PRIMARY KEY (id);
Date: 2024-04-24 21:01:45 Duration: 1m13s
-
ALTER TABLE pub2.gene_disease_reference ADD CONSTRAINT gene_disease_reference_pk PRIMARY KEY (id);
Date: 2024-04-24 21:01:45 Duration: 0ms Database: ctdprd51 User: pub2
17 10 6.74 GiB 132.22 MiB 1.00 GiB 689.87 MiB create index ix_gene_disease_ref_source_cd on pub2.gene_disease_reference using btree (source_cd);-
CREATE INDEX ix_gene_disease_ref_source_cd ON pub2.gene_disease_reference USING btree (source_cd);
Date: 2024-04-24 21:06:26 Duration: 55s478ms
-
CREATE INDEX ix_gene_disease_ref_source_cd ON pub2.gene_disease_reference USING btree (source_cd);
Date: 2024-04-24 21:06:25 Duration: 0ms
18 10 6.74 GiB 333.91 MiB 1.00 GiB 689.86 MiB create index ix_gene_disease_ref_mod_tm on pub2.gene_disease_reference using btree (mod_tm);-
CREATE INDEX ix_gene_disease_ref_mod_tm ON pub2.gene_disease_reference USING btree (mod_tm);
Date: 2024-04-24 21:15:11 Duration: 1m23s
-
CREATE INDEX ix_gene_disease_ref_mod_tm ON pub2.gene_disease_reference USING btree (mod_tm);
Date: 2024-04-24 21:15:10 Duration: 0ms
19 10 6.74 GiB 332.41 MiB 1.00 GiB 689.86 MiB create index ix_gene_disease_ref_disease on pub2.gene_disease_reference using btree (disease_id);-
CREATE INDEX ix_gene_disease_ref_disease ON pub2.gene_disease_reference USING btree (disease_id);
Date: 2024-04-24 21:09:14 Duration: 1m22s
-
CREATE INDEX ix_gene_disease_ref_disease ON pub2.gene_disease_reference USING btree (disease_id);
Date: 2024-04-24 21:09:14 Duration: 0ms
20 10 6.74 GiB 343.98 MiB 1.00 GiB 689.86 MiB create index ix_gene_disease_ref_dis_gene on pub2.gene_disease_reference using btree (disease_id, gene_id);-
CREATE INDEX ix_gene_disease_ref_dis_gene ON pub2.gene_disease_reference USING btree (disease_id, gene_id);
Date: 2024-04-24 21:12:26 Duration: 1m51s
-
CREATE INDEX ix_gene_disease_ref_dis_gene ON pub2.gene_disease_reference USING btree (disease_id, gene_id);
Date: 2024-04-24 21:12:25 Duration: 0ms
21 10 6.74 GiB 314.70 MiB 1.00 GiB 689.86 MiB create index ix_gene_disease_ref_net_sc on pub2.gene_disease_reference using btree (network_score);-
CREATE INDEX ix_gene_disease_ref_net_sc ON pub2.gene_disease_reference USING btree (network_score);
Date: 2024-04-24 21:17:32 Duration: 2m21s
-
CREATE INDEX ix_gene_disease_ref_net_sc ON pub2.gene_disease_reference USING btree (network_score);
Date: 2024-04-24 21:17:32 Duration: 0ms
22 10 6.74 GiB 278.23 MiB 1.00 GiB 689.86 MiB create index ix_gene_disease_reference_ixn on pub2.gene_disease_reference using btree (ixn_id);-
CREATE INDEX ix_gene_disease_reference_ixn ON pub2.gene_disease_reference USING btree (ixn_id);
Date: 2024-04-24 21:13:47 Duration: 1m21s
-
CREATE INDEX ix_gene_disease_reference_ixn ON pub2.gene_disease_reference USING btree (ixn_id);
Date: 2024-04-24 21:13:47 Duration: 0ms
23 10 433.48 MiB 8.00 KiB 89.92 MiB 43.35 MiB create unique index chem_disease_reference_ak1 on pub2.chem_disease_reference using btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);-
CREATE UNIQUE INDEX chem_disease_reference_ak1 ON pub2.chem_disease_reference USING btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);
Date: 2024-04-24 21:19:38 Duration: 5s862ms
-
CREATE UNIQUE INDEX chem_disease_reference_ak1 ON pub2.chem_disease_reference USING btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);
Date: 2024-04-24 21:19:38 Duration: 0ms
24 10 987.13 MiB 8.00 KiB 200.39 MiB 98.71 MiB alter table pub2.phenotype_term_reference add constraint phenotype_term_reference_pk primary key (id);-
ALTER TABLE pub2.phenotype_term_reference ADD CONSTRAINT phenotype_term_reference_pk PRIMARY KEY (id);
Date: 2024-04-24 21:17:43 Duration: 10s582ms
-
ALTER TABLE pub2.phenotype_term_reference ADD CONSTRAINT phenotype_term_reference_pk PRIMARY KEY (id);
Date: 2024-04-24 21:17:43 Duration: 0ms
25 10 6.74 GiB 338.12 MiB 1.00 GiB 689.86 MiB create index ix_gene_disease_ref_reference on pub2.gene_disease_reference using btree (reference_id);-
CREATE INDEX ix_gene_disease_ref_reference ON pub2.gene_disease_reference USING btree (reference_id);
Date: 2024-04-24 21:10:34 Duration: 1m20s
-
CREATE INDEX ix_gene_disease_ref_reference ON pub2.gene_disease_reference USING btree (reference_id);
Date: 2024-04-24 21:10:34 Duration: 0ms
26 10 623.31 MiB 8.00 KiB 127.26 MiB 62.33 MiB alter table pub2.gene_disease add constraint gene_disease_pk primary key (gene_id, disease_id);-
ALTER TABLE pub2.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2024-04-24 23:40:15 Duration: 6s501ms
-
ALTER TABLE pub2.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2024-04-24 23:40:15 Duration: 0ms Database: ctdprd51 User: pub2
27 10 6.74 GiB 284.47 MiB 1.00 GiB 689.86 MiB create index ix_gene_disease_ref_src_db on pub2.gene_disease_reference using btree (source_acc_db_id);-
CREATE INDEX ix_gene_disease_ref_src_db ON pub2.gene_disease_reference USING btree (source_acc_db_id);
Date: 2024-04-24 21:05:30 Duration: 47s707ms
-
CREATE INDEX ix_gene_disease_ref_src_db ON pub2.gene_disease_reference USING btree (source_acc_db_id);
Date: 2024-04-24 21:05:30 Duration: 0ms
28 10 6.74 GiB 293.88 MiB 1.00 GiB 689.87 MiB create index ix_gene_disease_ref_chem on pub2.gene_disease_reference using btree (via_chem_id);-
CREATE INDEX ix_gene_disease_ref_chem ON pub2.gene_disease_reference USING btree (via_chem_id);
Date: 2024-04-24 21:07:52 Duration: 1m26s
-
CREATE INDEX ix_gene_disease_ref_chem ON pub2.gene_disease_reference USING btree (via_chem_id);
Date: 2024-04-24 21:07:52 Duration: 0ms
29 10 62.12 MiB 8.00 KiB 12.55 MiB 6.21 MiB alter table pub2.phenotype_term add constraint phenotype_term_pk primary key (phenotype_id, term_id);-
ALTER TABLE pub2.phenotype_term ADD CONSTRAINT phenotype_term_pk PRIMARY KEY (phenotype_id, term_id);
Date: 2024-04-24 23:40:46 Duration: 0ms
30 10 237.90 MiB 8.00 KiB 47.86 MiB 23.79 MiB alter table pub2.chem_disease_reference add constraint chem_disease_reference_pk primary key (id);-
ALTER TABLE pub2.chem_disease_reference ADD CONSTRAINT chem_disease_reference_pk PRIMARY KEY (id);
Date: 2024-04-24 21:19:32 Duration: 2s458ms
-
ALTER TABLE pub2.chem_disease_reference ADD CONSTRAINT chem_disease_reference_pk PRIMARY KEY (id);
Date: 2024-04-24 21:19:32 Duration: 0ms
31 10 154.60 MiB 8.00 KiB 31.26 MiB 15.46 MiB alter table pub2.term_enrichment add constraint term_enrichment_pk primary key (term_id, enriched_term_id);-
ALTER TABLE pub2.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2024-04-24 23:09:04 Duration: 2s263ms
-
ALTER TABLE pub2.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2024-04-24 23:09:04 Duration: 0ms Database: ctdprd51 User: pub2
32 8 62.81 MiB 8.00 KiB 15.95 MiB 7.85 MiB alter table pub2.chem_disease add constraint chem_disease_pk primary key (chem_id, disease_id);-
ALTER TABLE pub2.chem_disease ADD CONSTRAINT chem_disease_pk PRIMARY KEY (chem_id, disease_id);
Date: 2024-04-24 23:40:49 Duration: 0ms
33 8 7.75 GiB 764.27 MiB 1.00 GiB 991.53 MiB select pub2.maint_cached_value_refresh_data_metrics ();-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2024-04-25 06:23:18 Duration: 34m27s
-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2024-04-25 06:19:03 Duration: 0ms
34 5 4.99 GiB 1015.18 MiB 1.00 GiB 1022.24 MiB select distinct ptr.phenotype_id, cdr.disease_id, ( select id from pub2.object_type where cd = ?), cdr.reference_id, ptr.reference_id, cdr.ixn_id, cdr.chem_id, ( select id from pub2.object_type where cd = ?), cdr.mod_tm from pub2.chem_disease_reference cdr, pub2.phenotype_term_reference ptr where cdr.chem_id = ptr.term_id;-
SELECT DISTINCT ptr.phenotype_id, cdr.disease_id, ( select id from pub2.OBJECT_TYPE where cd = 'disease'), cdr.reference_id, ptr.reference_id, cdr.ixn_id, cdr.chem_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), cdr.mod_tm FROM pub2.CHEM_DISEASE_REFERENCE cdr, pub2.PHENOTYPE_TERM_REFERENCE ptr WHERE cdr.chem_id = ptr.term_id;
Date: 2024-04-24 20:51:55 Duration: 0ms
35 5 987.10 MiB 185.09 MiB 204.34 MiB 197.42 MiB create index ix_phenotype_term_ref_term_id on pub2.phenotype_term_reference using btree (term_id);-
CREATE INDEX ix_phenotype_term_ref_term_id ON pub2.phenotype_term_reference USING btree (term_id);
Date: 2024-04-24 21:18:01 Duration: 9s167ms
-
CREATE INDEX ix_phenotype_term_ref_term_id ON pub2.phenotype_term_reference USING btree (term_id);
Date: 2024-04-24 21:18:01 Duration: 0ms
36 5 237.87 MiB 45.56 MiB 48.63 MiB 47.57 MiB create index ix_chem_disease_ref_source_cd on pub2.chem_disease_reference using btree (source_cd);-
CREATE INDEX ix_chem_disease_ref_source_cd ON pub2.chem_disease_reference USING btree (source_cd);
Date: 2024-04-24 21:19:45 Duration: 1s923ms
-
CREATE INDEX ix_chem_disease_ref_source_cd ON pub2.chem_disease_reference USING btree (source_cd);
Date: 2024-04-24 21:19:45 Duration: 0ms
37 5 62.09 MiB 11.11 MiB 13.19 MiB 12.42 MiB create index ix_phenotype_term_term_id on pub2.phenotype_term using btree (term_id);-
CREATE INDEX ix_phenotype_term_term_id ON pub2.phenotype_term USING btree (term_id);
Date: 2024-04-24 23:40:47 Duration: 0ms
38 5 987.09 MiB 193.91 MiB 199.61 MiB 197.42 MiB create index ix_phenotype_term_reference_source_acc_db_id on pub2.phenotype_term_reference using btree (source_acc_db_id);-
CREATE INDEX ix_phenotype_term_reference_source_acc_db_id ON pub2.phenotype_term_reference USING btree (source_acc_db_id);
Date: 2024-04-24 21:18:43 Duration: 7s298ms
-
CREATE INDEX ix_phenotype_term_reference_source_acc_db_id ON pub2.phenotype_term_reference USING btree (source_acc_db_id);
Date: 2024-04-24 21:18:43 Duration: 0ms
39 5 987.09 MiB 184.04 MiB 203.12 MiB 197.42 MiB create index ix_phenotype_term_ref_taxon_id on pub2.phenotype_term_reference using btree (taxon_id);-
CREATE INDEX ix_phenotype_term_ref_taxon_id ON pub2.phenotype_term_reference USING btree (taxon_id);
Date: 2024-04-24 21:18:29 Duration: 7s416ms
-
CREATE INDEX ix_phenotype_term_ref_taxon_id ON pub2.phenotype_term_reference USING btree (taxon_id);
Date: 2024-04-24 21:18:29 Duration: 0ms
40 5 688.00 KiB 120.00 KiB 152.00 KiB 137.60 KiB create index ix_gene_disease_cur_ref_qty on pub2.gene_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_gene_disease_cur_ref_qty ON pub2.gene_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2024-04-24 23:40:37 Duration: 0ms
41 5 1.35 GiB 266.55 MiB 287.06 MiB 277.06 MiB create index ix_phenotype_term_ref_ids on pub2.phenotype_term_reference using btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);-
CREATE INDEX ix_phenotype_term_ref_ids ON pub2.phenotype_term_reference USING btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);
Date: 2024-04-24 21:19:29 Duration: 15s130ms
-
CREATE INDEX ix_phenotype_term_ref_ids ON pub2.phenotype_term_reference USING btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);
Date: 2024-04-24 21:19:29 Duration: 0ms
42 5 987.09 MiB 189.35 MiB 202.90 MiB 197.42 MiB create index ix_phenotype_term_reference_ixn_id on pub2.phenotype_term_reference using btree (ixn_id);-
CREATE INDEX ix_phenotype_term_reference_ixn_id ON pub2.phenotype_term_reference USING btree (ixn_id);
Date: 2024-04-24 21:19:04 Duration: 10s105ms
-
CREATE INDEX ix_phenotype_term_reference_ixn_id ON pub2.phenotype_term_reference USING btree (ixn_id);
Date: 2024-04-24 21:19:04 Duration: 0ms
43 5 237.88 MiB 45.73 MiB 48.75 MiB 47.58 MiB create index ix_chem_disease_ref_src_db on pub2.chem_disease_reference using btree (source_acc_db_id);-
CREATE INDEX ix_chem_disease_ref_src_db ON pub2.chem_disease_reference USING btree (source_acc_db_id);
Date: 2024-04-24 21:19:47 Duration: 1s869ms
-
CREATE INDEX ix_chem_disease_ref_src_db ON pub2.chem_disease_reference USING btree (source_acc_db_id);
Date: 2024-04-24 21:19:47 Duration: 0ms
44 5 987.10 MiB 177.85 MiB 212.42 MiB 197.42 MiB create index ix_phenotype_term_ref_reference_id on pub2.phenotype_term_reference using btree (reference_id);-
CREATE INDEX ix_phenotype_term_ref_reference_id ON pub2.phenotype_term_reference USING btree (reference_id);
Date: 2024-04-24 21:18:21 Duration: 10s315ms
-
CREATE INDEX ix_phenotype_term_ref_reference_id ON pub2.phenotype_term_reference USING btree (reference_id);
Date: 2024-04-24 21:18:21 Duration: 0ms
45 5 987.09 MiB 194.87 MiB 199.86 MiB 197.42 MiB create index ix_phenotype_term_ref_evidence_cd on pub2.phenotype_term_reference using btree (evidence_cd);-
CREATE INDEX ix_phenotype_term_ref_evidence_cd ON pub2.phenotype_term_reference USING btree (evidence_cd);
Date: 2024-04-24 21:18:36 Duration: 7s86ms
-
CREATE INDEX ix_phenotype_term_ref_evidence_cd ON pub2.phenotype_term_reference USING btree (evidence_cd);
Date: 2024-04-24 21:18:36 Duration: 0ms
46 5 237.86 MiB 42.58 MiB 50.85 MiB 47.57 MiB create index ix_chem_disease_reference_dis on pub2.chem_disease_reference using btree (disease_id);-
CREATE INDEX ix_chem_disease_reference_dis ON pub2.chem_disease_reference USING btree (disease_id);
Date: 2024-04-24 21:19:40 Duration: 2s742ms
-
CREATE INDEX ix_chem_disease_reference_dis ON pub2.chem_disease_reference USING btree (disease_id);
Date: 2024-04-24 21:19:40 Duration: 0ms
47 5 237.87 MiB 46.95 MiB 47.95 MiB 47.57 MiB create index ix_chem_disease_ref_mod_tm on pub2.chem_disease_reference using btree (mod_tm);-
CREATE INDEX ix_chem_disease_ref_mod_tm ON pub2.chem_disease_reference USING btree (mod_tm);
Date: 2024-04-24 21:19:56 Duration: 2s722ms
-
CREATE INDEX ix_chem_disease_ref_mod_tm ON pub2.chem_disease_reference USING btree (mod_tm);
Date: 2024-04-24 21:19:56 Duration: 0ms
48 5 154.57 MiB 27.95 MiB 32.16 MiB 30.91 MiB create index ix_term_enrich_enr_obj_type on pub2.term_enrichment using btree (enriched_object_type_id);-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub2.term_enrichment USING btree (enriched_object_type_id);
Date: 2024-04-24 23:09:09 Duration: 1s137ms
-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub2.term_enrichment USING btree (enriched_object_type_id);
Date: 2024-04-24 23:09:09 Duration: 0ms
49 5 237.87 MiB 45.94 MiB 50.59 MiB 47.57 MiB create index ix_chem_disease_ref_net_sc on pub2.chem_disease_reference using btree (network_score);-
CREATE INDEX ix_chem_disease_ref_net_sc ON pub2.chem_disease_reference USING btree (network_score);
Date: 2024-04-24 21:20:01 Duration: 4s973ms
-
CREATE INDEX ix_chem_disease_ref_net_sc ON pub2.chem_disease_reference USING btree (network_score);
Date: 2024-04-24 21:20:01 Duration: 0ms
50 5 623.27 MiB 119.52 MiB 128.02 MiB 124.65 MiB create index ix_gene_disease_disease on pub2.gene_disease using btree (disease_id);-
CREATE INDEX ix_gene_disease_disease ON pub2.gene_disease USING btree (disease_id);
Date: 2024-04-24 23:40:37 Duration: 7s443ms
-
CREATE INDEX ix_gene_disease_disease ON pub2.gene_disease USING btree (disease_id);
Date: 2024-04-24 23:40:37 Duration: 0ms
51 5 154.56 MiB 27.78 MiB 32.22 MiB 30.91 MiB create index ix_term_enrich_obj_type on pub2.term_enrichment using btree (object_type_id);-
CREATE INDEX ix_term_enrich_obj_type ON pub2.term_enrichment USING btree (object_type_id);
Date: 2024-04-24 23:09:06 Duration: 1s167ms
-
CREATE INDEX ix_term_enrich_obj_type ON pub2.term_enrichment USING btree (object_type_id);
Date: 2024-04-24 23:09:06 Duration: 0ms
52 5 987.10 MiB 175.05 MiB 212.68 MiB 197.42 MiB create index ixn_phenotype_term_ref_phenotype_id on pub2.phenotype_term_reference using btree (phenotype_id);-
CREATE INDEX ixn_phenotype_term_ref_phenotype_id ON pub2.phenotype_term_reference USING btree (phenotype_id);
Date: 2024-04-24 21:17:52 Duration: 9s90ms
-
CREATE INDEX ixn_phenotype_term_ref_phenotype_id ON pub2.phenotype_term_reference USING btree (phenotype_id);
Date: 2024-04-24 21:17:52 Duration: 0ms
53 5 987.09 MiB 191.41 MiB 214.15 MiB 197.42 MiB create index ix_phenotype_term_ref_object_type_id on pub2.phenotype_term_reference using btree (term_object_type_id);-
CREATE INDEX ix_phenotype_term_ref_object_type_id ON pub2.phenotype_term_reference USING btree (term_object_type_id);
Date: 2024-04-24 21:18:11 Duration: 9s822ms
-
CREATE INDEX ix_phenotype_term_ref_object_type_id ON pub2.phenotype_term_reference USING btree (term_object_type_id);
Date: 2024-04-24 21:18:11 Duration: 0ms
54 5 237.87 MiB 46.66 MiB 48.14 MiB 47.57 MiB create index ix_chem_disease_reference_ref on pub2.chem_disease_reference using btree (reference_id);-
CREATE INDEX ix_chem_disease_reference_ref ON pub2.chem_disease_reference USING btree (reference_id);
Date: 2024-04-24 21:19:43 Duration: 2s674ms
-
CREATE INDEX ix_chem_disease_reference_ref ON pub2.chem_disease_reference USING btree (reference_id);
Date: 2024-04-24 21:19:43 Duration: 0ms
55 5 987.11 MiB 184.64 MiB 204.80 MiB 197.42 MiB create index ix_phenotype_term_ref_via_term_id on pub2.phenotype_term_reference using btree (via_term_id);-
CREATE INDEX ix_phenotype_term_ref_via_term_id ON pub2.phenotype_term_reference USING btree (via_term_id);
Date: 2024-04-24 21:19:14 Duration: 10s522ms
-
CREATE INDEX ix_phenotype_term_ref_via_term_id ON pub2.phenotype_term_reference USING btree (via_term_id);
Date: 2024-04-24 21:19:14 Duration: 0ms
56 5 237.86 MiB 45.24 MiB 50.66 MiB 47.57 MiB create index ix_chem_disease_reference_gene on pub2.chem_disease_reference using btree (via_gene_id);-
CREATE INDEX ix_chem_disease_reference_gene ON pub2.chem_disease_reference USING btree (via_gene_id);
Date: 2024-04-24 21:19:50 Duration: 2s735ms
-
CREATE INDEX ix_chem_disease_reference_gene ON pub2.chem_disease_reference USING btree (via_gene_id);
Date: 2024-04-24 21:19:50 Duration: 0ms
57 5 215.80 MiB 41.84 MiB 43.70 MiB 43.16 MiB create index ix_term_enrich_raw_p_val on pub2.term_enrichment using btree (raw_p_val);-
CREATE INDEX ix_term_enrich_raw_p_val ON pub2.term_enrichment USING btree (raw_p_val);
Date: 2024-04-24 23:09:18 Duration: 4s770ms
-
CREATE INDEX ix_term_enrich_raw_p_val ON pub2.term_enrichment USING btree (raw_p_val);
Date: 2024-04-24 23:09:18 Duration: 0ms
58 5 987.09 MiB 191.51 MiB 202.43 MiB 197.42 MiB create index ix_phenotype_term_reference_term_reference_id on pub2.phenotype_term_reference using btree (term_reference_id);-
CREATE INDEX ix_phenotype_term_reference_term_reference_id ON pub2.phenotype_term_reference USING btree (term_reference_id);
Date: 2024-04-24 21:18:54 Duration: 10s471ms
-
CREATE INDEX ix_phenotype_term_reference_term_reference_id ON pub2.phenotype_term_reference USING btree (term_reference_id);
Date: 2024-04-24 21:18:54 Duration: 0ms
59 5 62.09 MiB 10.02 MiB 13.55 MiB 12.42 MiB create index ix_phenotype_term_phenotype_id on pub2.phenotype_term using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_phenotype_id ON pub2.phenotype_term USING btree (phenotype_id);
Date: 2024-04-24 23:40:46 Duration: 0ms
60 5 40.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_gene_disease_exp_ref_qty on pub2.gene_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_gene_disease_exp_ref_qty ON pub2.gene_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2024-04-24 23:40:45 Duration: 0ms
61 5 154.56 MiB 30.17 MiB 31.37 MiB 30.91 MiB create index ix_term_enrich_tgt_match on pub2.term_enrichment using btree (target_match_qty);-
CREATE INDEX ix_term_enrich_tgt_match ON pub2.term_enrichment USING btree (target_match_qty);
Date: 2024-04-24 23:09:07 Duration: 1s877ms
-
CREATE INDEX ix_term_enrich_tgt_match ON pub2.term_enrichment USING btree (target_match_qty);
Date: 2024-04-24 23:09:07 Duration: 0ms
62 5 215.82 MiB 41.84 MiB 44.34 MiB 43.16 MiB create index ix_term_enrich_corr_p_val on pub2.term_enrichment using btree (corrected_p_val);-
CREATE INDEX ix_term_enrich_corr_p_val ON pub2.term_enrichment USING btree (corrected_p_val);
Date: 2024-04-24 23:09:13 Duration: 4s561ms
-
CREATE INDEX ix_term_enrich_corr_p_val ON pub2.term_enrichment USING btree (corrected_p_val);
Date: 2024-04-24 23:09:13 Duration: 0ms
63 5 623.28 MiB 121.05 MiB 127.52 MiB 124.66 MiB create index ix_gene_disease_network_score on pub2.gene_disease using btree (network_score);-
CREATE INDEX ix_gene_disease_network_score ON pub2.gene_disease USING btree (network_score);
Date: 2024-04-24 23:40:29 Duration: 14s754ms
-
CREATE INDEX ix_gene_disease_network_score ON pub2.gene_disease USING btree (network_score);
Date: 2024-04-24 23:40:29 Duration: 0ms
64 5 237.87 MiB 44.81 MiB 49.82 MiB 47.57 MiB create index ix_chem_disease_reference_ixn on pub2.chem_disease_reference using btree (ixn_id);-
CREATE INDEX ix_chem_disease_reference_ixn ON pub2.chem_disease_reference USING btree (ixn_id);
Date: 2024-04-24 21:19:53 Duration: 3s488ms
-
CREATE INDEX ix_chem_disease_reference_ixn ON pub2.chem_disease_reference USING btree (ixn_id);
Date: 2024-04-24 21:19:53 Duration: 0ms
65 5 623.14 MiB 123.13 MiB 125.77 MiB 124.63 MiB create index ix_gene_disease_ind_chem_qty on pub2.gene_disease using btree (indirect_chem_qty) where (indirect_chem_qty > ?);-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub2.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2024-04-24 23:40:45 Duration: 7s166ms
-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub2.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2024-04-24 23:40:44 Duration: 0ms
66 4 12.95 MiB 8.00 KiB 6.77 MiB 3.24 MiB alter table pub2.phenotype_term_axn add constraint phenotype_term_axn_pk primary key (phenotype_id, term_id, action_type_nm, action_degree_type_nm);-
ALTER TABLE pub2.phenotype_term_axn ADD CONSTRAINT phenotype_term_axn_pk PRIMARY KEY (phenotype_id, term_id, action_type_nm, action_degree_type_nm);
Date: 2024-04-24 23:40:48 Duration: 0ms
67 4 62.78 MiB 13.31 MiB 17.37 MiB 15.70 MiB create index ix_chem_disease_network_score on pub2.chem_disease using btree (network_score);-
CREATE INDEX ix_chem_disease_network_score ON pub2.chem_disease USING btree (network_score);
Date: 2024-04-24 23:40:51 Duration: 1s562ms
-
CREATE INDEX ix_chem_disease_network_score ON pub2.chem_disease USING btree (network_score);
Date: 2024-04-24 23:40:51 Duration: 0ms
68 4 32.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_chem_disease_exp_ref_qty on pub2.chem_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_chem_disease_exp_ref_qty ON pub2.chem_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2024-04-24 23:40:52 Duration: 0ms
69 4 1.98 MiB 400.00 KiB 624.00 KiB 506.00 KiB create index ix_chem_disease_cur_ref_qty on pub2.chem_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_chem_disease_cur_ref_qty ON pub2.chem_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2024-04-24 23:40:51 Duration: 0ms
70 4 62.78 MiB 11.08 MiB 17.50 MiB 15.70 MiB create index ix_chem_disease_disease on pub2.chem_disease using btree (disease_id);-
CREATE INDEX ix_chem_disease_disease ON pub2.chem_disease USING btree (disease_id);
Date: 2024-04-24 23:40:51 Duration: 0ms
71 4 61.89 MiB 14.16 MiB 15.96 MiB 15.47 MiB create index ix_chem_disease_ind_gene_qty on pub2.chem_disease using btree (indirect_gene_qty) where (indirect_gene_qty > ?);-
CREATE INDEX ix_chem_disease_ind_gene_qty ON pub2.chem_disease USING btree (indirect_gene_qty) WHERE (indirect_gene_qty > 0);
Date: 2024-04-24 23:40:52 Duration: 0ms
72 2 5.87 MiB 2.40 MiB 3.47 MiB 2.93 MiB create index ix_phenotype_term_axn_term_id on pub2.phenotype_term_axn using btree (term_id);-
CREATE INDEX ix_phenotype_term_axn_term_id ON pub2.phenotype_term_axn USING btree (term_id);
Date: 2024-04-24 23:40:48 Duration: 0ms
73 2 5.87 MiB 2.62 MiB 3.25 MiB 2.93 MiB create index ix_phenotype_term_axn_phenotype_id on pub2.phenotype_term_axn using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_axn_phenotype_id ON pub2.phenotype_term_axn USING btree (phenotype_id);
Date: 2024-04-24 23:40:48 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2024-04-24 14:14:19 - Database: ctdprd51 - User: load - Application: pg_bulkload ]
2 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:50 ]
3 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:50 ]
4 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:50 ]
5 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:50 ]
6 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:50 ]
7 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:50 ]
8 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:50 ]
9 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:50 ]
10 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:51 ]
11 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:51 ]
12 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:51 ]
13 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:51 ]
14 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:51 ]
15 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:51 ]
16 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:51 ]
17 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:51 ]
18 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:51 ]
19 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:51 ]
20 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-04-24 19:29:51 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 285.44 sec Highest CPU-cost vacuum
Table pub2.gene_disease
Database ctdprd51 - 2024-04-25 00:21:37 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 285.44 sec Highest CPU-cost vacuum
Table pub2.gene_disease
Database ctdprd51 - 2024-04-25 00:21:37 Date
Analyzes per table
Key values
- pubc.log_query (139) Main table analyzed (database ctdprd51)
- 256 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 139 ctdprd51.pg_catalog.pg_class 6 ctdprd51.pg_catalog.pg_attribute 5 ctdprd51.pub2.term 4 ctdprd51.pg_catalog.pg_type 4 ctdprd51.pg_catalog.pg_index 4 ctdprd51.pub1.term_set_enrichment 3 ctdprd51.pub2.reference 3 ctdprd51.pg_catalog.pg_depend 3 ctdprd51.pub2.term_set_enrichment_agent 3 ctdprd51.pub2.term_set_enrichment 3 ctdprd51.pub1.term_set_enrichment_agent 3 ctdprd51.pg_catalog.pg_constraint 3 ctdprd51.pg_catalog.pg_trigger 3 ctdprd51.pg_catalog.pg_shdepend 3 ctdprd51.pub2.term_comp_agent 2 ctdprd51.pub2.phenotype_term 2 ctdprd51.pg_catalog.pg_attrdef 2 ctdprd51.pg_catalog.pg_description 2 ctdprd51.pub2.db 2 ctdprd51.pub2.dag_node 2 ctdprd51.pub2.exp_event_project 1 ctdprd51.pub2.gene_go_annot 1 ctdprd51.edit.action_type_path 1 ctdprd51.pub2.gene_chem_ref_gene_form 1 ctdprd51.pub2.country 1 ctdprd51.pub2.geographic_region 1 ctdprd51.edit.race 1 ctdprd51.pub2.db_report 1 ctdprd51.edit.action_type 1 ctdprd51.edit.country 1 ctdprd51.pub2.slim_term_mapping 1 ctdprd51.pub2.db_report_site 1 ctdprd51.pub2.term_label 1 ctdprd51.edit.list_db_report 1 ctdprd51.pub2.exp_event_location 1 ctdprd51.edit.object_note 1 ctdprd51.pub2.exp_anatomy 1 ctdprd51.pub2.exp_receptor_tobacco_use 1 ctdprd51.pub2.gene_gene_reference 1 ctdprd51.pub2.reference_party 1 ctdprd51.pub2.gene_gene 1 ctdprd51.pub2.reference_party_role 1 ctdprd51.pub2.action_type 1 postgres.pg_catalog.pg_shdepend 1 ctdprd51.pub2.db_link 1 ctdprd51.pub2.term_reference 1 ctdprd51.pub2.term_pathway 1 ctdprd51.pub2.exp_receptor_gender 1 ctdprd51.pub2.medium 1 ctdprd51.edit.db 1 ctdprd51.edit.db_link 1 ctdprd51.pub2.exp_stressor_stressor_src 1 ctdprd51.pub2.exp_event 1 ctdprd51.edit.db_report_site 1 ctdprd51.pub2.img 1 ctdprd51.pub2.gene_taxon 1 ctdprd51.pub2.gene_gene_ref_throughput 1 ctdprd51.pub2.exp_stressor 1 ctdprd51.pub2.term_comp 1 ctdprd51.edit.reference_db_link 1 ctdprd51.pub2.reference_exp 1 ctdprd51.pub2.exposure 1 ctdprd51.edit.db_report 1 ctdprd51.pub2.exp_receptor 1 ctdprd51.pub2.ixn 1 ctdprd51.load.data_load 1 ctdprd51.pub2.exp_study_factor 1 ctdprd51.edit.action_degree 1 ctdprd51.pub2.chem_disease 1 ctdprd51.pub2.gene_disease 1 ctdprd51.pub2.dag_edge 1 ctdprd51.pub2.exp_event_assay_method 1 ctdprd51.pub2.exp_outcome 1 ctdprd51.pub2.list_db_report 1 ctdprd51.pub2.exp_receptor_race 1 Total 256 Vacuums per table
Key values
- pubc.log_query (20) Main table vacuumed on database ctdprd51
- 112 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 20 19 7,513 0 1,280 0 2 2,638 586 4,105,489 ctdprd51.pub2.gene_disease 5 1 6,602,934 0 1,193,599 0 0 1,576,094 825,486 2,042,310,192 ctdprd51.pub2.phenotype_term 5 2 1,293,095 0 44,008 0 0 746,015 132,484 302,709,692 ctdprd51.pg_catalog.pg_class 4 4 1,263 0 231 0 0 676 209 983,262 ctdprd51.pg_toast.pg_toast_2619 4 4 13,832 0 6,616 0 40,989 12,969 3,673 2,097,897 ctdprd51.pg_catalog.pg_statistic 4 4 2,471 0 494 0 122 1,533 378 1,614,470 ctdprd51.pub2.term 4 2 1,388,609 0 298,125 0 34 909,698 294,846 1,328,887,322 ctdprd51.pub2.reference 3 2 668,164 0 125,922 0 0 405,737 51,625 232,876,506 ctdprd51.pub2.dag_node 2 1 398,474 0 556 0 0 311,673 546 93,803,121 ctdprd51.pg_catalog.pg_shdepend 2 2 291 0 125 0 0 191 84 304,790 ctdprd51.pg_toast.pg_toast_486223 2 0 77 0 0 0 0 2 0 376 ctdprd51.pg_catalog.pg_attribute 2 2 1,213 0 263 0 109 737 199 850,596 ctdprd51.pub2.term_set_enrichment_agent 2 0 15,088 0 3 0 0 7,508 2 459,810 ctdprd51.pub2.term_set_enrichment 2 0 760 0 5 0 0 287 4 44,003 ctdprd51.pub2.exp_outcome 1 0 582 0 4 0 0 217 2 26,578 ctdprd51.pub2.exp_event_assay_method 1 0 4,709 0 3 0 0 2,326 1 145,653 ctdprd51.pub2.dag_edge 1 0 1,053 0 5 0 0 482 2 41,137 ctdprd51.pub2.db 1 1 146 0 15 0 0 17 9 28,443 ctdprd51.pg_toast.pg_toast_1255 1 1 84 0 14 0 0 50 14 33,724 ctdprd51.pg_catalog.pg_index 1 1 179 0 35 0 0 119 31 138,098 ctdprd51.pub2.exp_receptor_race 1 0 1,322 0 3 0 0 625 1 45,294 ctdprd51.pub2.exp_receptor 1 0 7,213 0 4 0 0 3,577 2 226,050 ctdprd51.pub2.exposure 1 0 3,613 0 4 0 0 1,753 2 118,278 ctdprd51.pub2.ixn 1 1 1,417,865 0 83 0 0 1,208,031 17 83,648,716 ctdprd51.pg_catalog.pg_constraint 1 1 253 0 59 0 0 138 50 170,511 ctdprd51.pg_catalog.pg_trigger 1 1 353 0 50 0 0 152 50 212,271 ctdprd51.pub2.exp_study_factor 1 0 80 0 15 0 0 11 2 13,176 ctdprd51.pub2.chem_disease 1 1 259,299 0 9,459 0 0 158,623 9,448 114,553,038 ctdprd51.pub2.exp_stressor 1 0 5,955 0 3 0 0 2,948 1 182,351 ctdprd51.edit.evidence 1 0 32 0 2 0 0 3 2 13,763 ctdprd51.pg_catalog.pg_description 1 1 217 0 42 0 42 123 29 109,125 ctdprd51.pg_catalog.pg_type 1 1 162 0 45 0 0 81 40 187,772 ctdprd51.edit.reference_db_link 1 0 7,173 0 4 0 0 3,574 1 219,192 ctdprd51.pub2.reference_exp 1 0 325 0 4 0 0 125 2 19,902 ctdprd51.pub2.exp_stressor_stressor_src 1 0 2,551 0 4 0 0 1,247 1 81,992 ctdprd51.pub1.term_set_enrichment_agent 1 0 291,718 0 214,728 0 0 216,134 9 12,821,460 ctdprd51.pub2.img 1 0 1,101 0 5 0 0 520 2 44,091 ctdprd51.pub2.exp_event 1 0 12,275 0 4 0 0 6,043 2 371,532 ctdprd51.pg_catalog.pg_attrdef 1 1 80 0 12 0 0 25 6 29,710 ctdprd51.pub2.gene_gene_ref_throughput 1 0 14,053 0 2 0 0 1 0 281 ctdprd51.pub2.gene_taxon 1 0 123,283 0 5 0 0 61,586 3 3,655,182 ctdprd51.pg_catalog.pg_depend 1 1 648 0 72 0 65 288 79 358,567 ctdprd51.pub2.reference_party_role 1 0 13,168 0 4 0 0 6,557 1 395,282 ctdprd51.pub2.term_pathway 1 0 3,367 0 4 0 0 1,614 2 106,989 ctdprd51.pub2.term_reference 1 0 35,868 0 5 0 0 17,878 2 1,066,565 ctdprd51.pub2.db_link 1 0 214,300 0 70,836 0 0 107,032 5 6,354,854 ctdprd51.pg_toast.pg_toast_5031308 1 1 90 0 3 0 0 50 1 11,614 ctdprd51.pg_toast.pg_toast_5031377 1 0 86,645 0 4 0 0 43,315 2 2,572,108 ctdprd51.edit.actor_form_type 1 0 82 0 1 0 0 3 1 8,747 ctdprd51.pub2.exp_receptor_gender 1 0 2,646 0 4 0 0 1,308 2 92,115 ctdprd51.edit.db_link 1 0 7,407 0 3 0 0 3,574 1 219,261 ctdprd51.pub1.term_set_enrichment 1 0 8,976 0 4,875 0 0 5,166 2 316,969 ctdprd51.pub2.exp_anatomy 1 0 123 0 4 0 0 33 2 16,970 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 1,174 0 3 0 0 552 1 40,987 ctdprd51.edit.object_note 1 1 175 0 5 0 0 16 3 15,476 ctdprd51.pub2.exp_event_location 1 0 3,390 0 3 0 0 1,644 1 105,415 ctdprd51.pub2.term_label 1 0 167,061 0 5,084 0 0 83,481 4 4,955,216 ctdprd51.pub2.gene_gene_reference 1 0 29,346 0 3 0 0 1 1 5,273 ctdprd51.pub2.gene_gene 1 0 11,609 0 4 0 0 1 1 6,333 ctdprd51.pub2.reference_party 1 0 5,051 0 4 0 0 2,492 2 160,339 ctdprd51.pub2.term_comp_agent 1 0 160 0 4 0 0 36 2 15,543 ctdprd51.pub2.slim_term_mapping 1 0 600 0 3 0 0 1 1 5,173 ctdprd51.pub2.gene_go_annot 1 0 459,006 0 118,076 0 0 1 1 5,273 ctdprd51.pub2.exp_event_project 1 0 2,012 0 4 0 0 984 2 73,339 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 31,299 0 5 0 0 15,600 2 935,523 Total 112 56 13,633,663 329,796 2,094,853 0 41,363 5,935,916 1,319,972 4,246,028,777 Tuples removed per table
Key values
- pub2.gene_disease (32612953) Main table with removed tuples on database ctdprd51
- 61947786 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pub2.gene_disease 5 1 32,612,953 293,516,577 130,451,812 0 2,398,015 ctdprd51.pub2.phenotype_term 5 2 19,513,459 25,981,280 9,742,980 0 425,185 ctdprd51.pub2.chem_disease 1 1 3,284,548 3,284,548 0 0 48,253 ctdprd51.pub2.term 4 2 2,512,896 6,307,703 0 0 384,570 ctdprd51.pub2.ixn 1 1 2,244,898 2,191,575 0 0 518,173 ctdprd51.pub2.dag_node 2 1 1,701,845 3,389,308 0 0 122,548 ctdprd51.pub2.reference 3 2 48,681 587,854 0 0 199,513 ctdprd51.pg_toast.pg_toast_2619 4 4 14,952 80,616 0 0 50,368 ctdprd51.pg_catalog.pg_attribute 2 2 2,968 16,160 0 0 488 ctdprd51.pubc.log_query 20 19 2,444 41,481 2 0 1,827 ctdprd51.pg_catalog.pg_statistic 4 4 1,741 8,550 0 0 1,160 ctdprd51.pg_catalog.pg_description 1 1 1,459 4,952 0 0 87 ctdprd51.pg_catalog.pg_depend 1 1 1,190 13,281 0 0 145 ctdprd51.pg_catalog.pg_shdepend 2 2 1,135 3,735 0 0 48 ctdprd51.pg_catalog.pg_class 4 4 981 6,756 0 0 244 ctdprd51.pg_catalog.pg_index 1 1 421 884 0 0 41 ctdprd51.pg_catalog.pg_constraint 1 1 270 665 0 0 44 ctdprd51.pg_catalog.pg_type 1 1 233 1,181 0 0 35 ctdprd51.pg_catalog.pg_trigger 1 1 203 1,220 0 0 57 ctdprd51.pub2.db 1 1 130 130 0 0 6 ctdprd51.pg_catalog.pg_attrdef 1 1 111 168 0 0 10 ctdprd51.pg_toast.pg_toast_5031308 1 1 71 69 0 0 21 ctdprd51.edit.object_note 1 1 61 33 0 1 2 ctdprd51.edit.evidence 1 0 54 18 0 0 1 ctdprd51.edit.actor_form_type 1 0 54 18 0 0 1 ctdprd51.pg_toast.pg_toast_1255 1 1 28 12 0 3 13 ctdprd51.pub2.exp_outcome 1 0 0 11,260 0 0 216 ctdprd51.pub2.exp_event_assay_method 1 0 0 233,530 0 0 2,325 ctdprd51.pub2.dag_edge 1 0 0 88,931 0 0 481 ctdprd51.pub2.exp_receptor_race 1 0 0 96,184 0 0 624 ctdprd51.pub2.exp_receptor 1 0 0 189,374 0 0 3,576 ctdprd51.pub2.exposure 1 0 0 212,861 0 0 1,752 ctdprd51.pub2.exp_study_factor 1 0 0 1,610 0 0 10 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 0 0 0 ctdprd51.pub2.exp_stressor 1 0 0 206,044 0 0 2,947 ctdprd51.edit.reference_db_link 1 0 0 320,847 0 0 3,573 ctdprd51.pub2.reference_exp 1 0 0 3,428 0 0 124 ctdprd51.pub2.exp_stressor_stressor_src 1 0 0 281,520 0 0 1,246 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 97,188,883 0 0 1,104,421 ctdprd51.pub2.img 1 0 0 50,340 0 0 519 ctdprd51.pub2.exp_event 1 0 0 205,926 0 0 6,042 ctdprd51.pub2.gene_gene_ref_throughput 1 0 0 1,347,229 0 0 7,003 ctdprd51.pub2.gene_taxon 1 0 0 9,668,882 0 0 61,585 ctdprd51.pub2.term_set_enrichment_agent 2 0 0 1,146,991 0 0 13,035 ctdprd51.pub2.reference_party_role 1 0 0 1,212,784 0 0 6,556 ctdprd51.pub2.term_pathway 1 0 0 135,792 0 0 1,613 ctdprd51.pub2.term_reference 1 0 0 3,307,119 0 0 17,877 ctdprd51.pub2.db_link 1 0 0 14,849,334 0 0 107,031 ctdprd51.pg_toast.pg_toast_5031377 1 0 0 234,256 0 0 43,314 ctdprd51.pub2.term_set_enrichment 2 0 0 31,720 0 0 527 ctdprd51.pub2.exp_receptor_gender 1 0 0 186,174 0 0 1,307 ctdprd51.edit.db_link 1 0 0 320,847 0 0 3,573 ctdprd51.pub1.term_set_enrichment 1 0 0 1,516,992 0 0 25,104 ctdprd51.pub2.exp_anatomy 1 0 0 3,746 0 0 32 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 0 78,085 0 0 551 ctdprd51.pub2.exp_event_location 1 0 0 247,504 0 0 1,643 ctdprd51.pub2.term_label 1 0 0 5,648,328 0 0 83,480 ctdprd51.pub2.gene_gene_reference 1 0 0 1,341,638 0 0 14,610 ctdprd51.pub2.gene_gene 1 0 0 1,069,096 0 0 5,779 ctdprd51.pub2.reference_party 1 0 0 445,970 0 0 2,491 ctdprd51.pub2.term_comp_agent 1 0 0 3,636 0 0 35 ctdprd51.pub2.slim_term_mapping 1 0 0 32,792 0 0 261 ctdprd51.pub2.gene_go_annot 1 0 0 36,017,361 0 0 229,397 ctdprd51.pub2.exp_event_project 1 0 0 94,256 0 0 983 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 0 2,879,676 0 0 15,599 Total 112 56 61,947,786 516,349,720 140,194,794 4 5,922,097 Pages removed per table
Key values
- pg_toast.pg_toast_1255 (3) Main table with removed pages on database ctdprd51
- 4 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_toast.pg_toast_1255 1 1 28 3 ctdprd51.edit.object_note 1 1 61 1 ctdprd51.pub2.exp_outcome 1 0 0 0 ctdprd51.pub2.exp_event_assay_method 1 0 0 0 ctdprd51.pg_catalog.pg_class 4 4 981 0 ctdprd51.pub2.dag_edge 1 0 0 0 ctdprd51.pub2.db 1 1 130 0 ctdprd51.pub2.dag_node 2 1 1701845 0 ctdprd51.pg_catalog.pg_index 1 1 421 0 ctdprd51.pub2.exp_receptor_race 1 0 0 0 ctdprd51.pub2.exp_receptor 1 0 0 0 ctdprd51.pub2.exposure 1 0 0 0 ctdprd51.pub2.ixn 1 1 2244898 0 ctdprd51.pg_catalog.pg_constraint 1 1 270 0 ctdprd51.pg_catalog.pg_trigger 1 1 203 0 ctdprd51.pg_catalog.pg_shdepend 2 2 1135 0 ctdprd51.pub2.exp_study_factor 1 0 0 0 ctdprd51.pub2.gene_disease 5 1 32612953 0 ctdprd51.pub2.chem_disease 1 1 3284548 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 ctdprd51.pub2.exp_stressor 1 0 0 0 ctdprd51.edit.evidence 1 0 54 0 ctdprd51.pg_catalog.pg_description 1 1 1459 0 ctdprd51.pg_catalog.pg_type 1 1 233 0 ctdprd51.edit.reference_db_link 1 0 0 0 ctdprd51.pub2.reference_exp 1 0 0 0 ctdprd51.pub2.exp_stressor_stressor_src 1 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 0 ctdprd51.pub2.img 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 4 4 14952 0 ctdprd51.pub2.exp_event 1 0 0 0 ctdprd51.pg_catalog.pg_attrdef 1 1 111 0 ctdprd51.pg_catalog.pg_attribute 2 2 2968 0 ctdprd51.pub2.gene_gene_ref_throughput 1 0 0 0 ctdprd51.pub2.gene_taxon 1 0 0 0 ctdprd51.pub2.term_set_enrichment_agent 2 0 0 0 ctdprd51.pg_catalog.pg_depend 1 1 1190 0 ctdprd51.pub2.reference_party_role 1 0 0 0 ctdprd51.pub2.term_pathway 1 0 0 0 ctdprd51.pub2.term_reference 1 0 0 0 ctdprd51.pub2.db_link 1 0 0 0 ctdprd51.pg_toast.pg_toast_5031308 1 1 71 0 ctdprd51.pg_toast.pg_toast_5031377 1 0 0 0 ctdprd51.pub2.term_set_enrichment 2 0 0 0 ctdprd51.edit.actor_form_type 1 0 54 0 ctdprd51.pub2.exp_receptor_gender 1 0 0 0 ctdprd51.edit.db_link 1 0 0 0 ctdprd51.pg_catalog.pg_statistic 4 4 1741 0 ctdprd51.pub1.term_set_enrichment 1 0 0 0 ctdprd51.pub2.exp_anatomy 1 0 0 0 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 0 0 ctdprd51.pub2.phenotype_term 5 2 19513459 0 ctdprd51.pubc.log_query 20 19 2444 0 ctdprd51.pub2.exp_event_location 1 0 0 0 ctdprd51.pub2.term_label 1 0 0 0 ctdprd51.pub2.term 4 2 2512896 0 ctdprd51.pub2.gene_gene_reference 1 0 0 0 ctdprd51.pub2.gene_gene 1 0 0 0 ctdprd51.pub2.reference 3 2 48681 0 ctdprd51.pub2.reference_party 1 0 0 0 ctdprd51.pub2.term_comp_agent 1 0 0 0 ctdprd51.pub2.slim_term_mapping 1 0 0 0 ctdprd51.pub2.gene_go_annot 1 0 0 0 ctdprd51.pub2.exp_event_project 1 0 0 0 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 0 0 Total 112 56 61,947,786 4 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Apr 21 00 0 0 01 0 1 02 0 1 03 0 1 04 0 1 05 0 3 06 0 1 07 0 0 08 0 1 09 0 0 10 0 1 11 0 1 12 0 0 13 0 1 14 0 0 15 0 2 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 0 1 22 0 1 23 0 0 Apr 22 00 0 2 01 0 2 02 0 7 03 0 1 04 0 6 05 0 4 06 0 0 07 0 0 08 0 1 09 0 0 10 0 1 11 0 1 12 0 0 13 0 1 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 1 23 0 0 Apr 23 00 0 1 01 0 3 02 0 2 03 0 3 04 0 1 05 0 3 06 0 1 07 0 0 08 0 1 09 0 0 10 0 1 11 0 1 12 0 0 13 0 1 14 0 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 1 23 0 0 Apr 24 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 4 06 0 1 07 0 2 08 0 2 09 0 2 10 0 11 11 0 16 12 0 1 13 0 12 14 0 1 15 0 1 16 0 0 17 0 11 18 0 9 19 0 1 20 0 0 21 0 1 22 0 1 23 0 23 Apr 25 00 0 7 01 0 3 02 0 2 03 0 9 04 0 1 05 0 7 06 0 1 07 0 1 08 0 0 09 0 1 10 0 1 11 0 0 12 0 1 13 0 8 14 0 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 1 23 0 0 Apr 26 00 0 0 01 0 1 02 0 2 03 0 2 04 0 2 05 0 3 06 0 1 07 0 0 08 0 1 09 0 0 10 0 2 11 0 0 12 0 1 13 0 2 14 0 1 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 1 21 0 2 22 0 0 23 0 0 Apr 27 00 0 3 01 0 1 02 0 2 03 0 1 04 0 2 05 0 3 06 0 0 07 0 0 08 0 1 09 0 2 10 0 1 11 0 0 12 0 1 13 0 0 14 0 0 15 0 0 16 0 6 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 0 - 285.44 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
- 14,680 Total read queries
- 495 Total write queries
Queries by database
Key values
- unknown Main database
- 9,670 Requests
- 1d9h47m52s (unknown)
- Main time consuming database
Database Request type Count Duration ctdprd51 Total 5,532 14h48m14s copy to 49 18m17s cte 49 2m12s ddl 1 4s245ms insert 4 11m25s others 1 2s613ms select 5,427 14h16m10s tcl 1 1s79ms postgres Total 6 9s463ms select 6 9s463ms unknown Total 9,670 1d9h47m52s copy to 253 1h45m5s cte 51 1m40s ddl 52 38m14s insert 26 38m44s others 32 53m5s select 9,247 1d5h18m39s update 9 32m22s Queries by user
Key values
- unknown Main user
- 21,562 Requests
User Request type Count Duration edit Total 4 26s904ms insert 2 21s665ms select 2 5s238ms editeu Total 6 14s933ms select 6 14s933ms load Total 66 48m50s others 2 5s226ms select 64 48m45s postgres Total 108 40m3s copy to 108 40m3s pub1 Total 2 8s18ms select 2 8s18ms pub2 Total 18 22m54s ddl 2 8s491ms insert 5 22m8s select 8 34s11ms tcl 3 3s238ms pubeu Total 11,745 1d4h43m8s cte 94 3m57s select 11,651 1d4h39m11s qaeu Total 178 2h16m30s cte 22 1m16s select 156 2h15m13s unknown Total 21,562 2d23h23m55s copy to 677 6h22m12s cte 123 4m6s ddl 101 1h15m33s insert 47 1h13m10s others 51 1h43m30s select 20,549 2d12h7m59s update 14 37m20s zbx_monitor Total 21 31s24ms select 21 31s24ms Duration by user
Key values
- 2d23h23m55s (unknown) Main time consuming user
User Request type Count Duration edit Total 4 26s904ms insert 2 21s665ms select 2 5s238ms editeu Total 6 14s933ms select 6 14s933ms load Total 66 48m50s others 2 5s226ms select 64 48m45s postgres Total 108 40m3s copy to 108 40m3s pub1 Total 2 8s18ms select 2 8s18ms pub2 Total 18 22m54s ddl 2 8s491ms insert 5 22m8s select 8 34s11ms tcl 3 3s238ms pubeu Total 11,745 1d4h43m8s cte 94 3m57s select 11,651 1d4h39m11s qaeu Total 178 2h16m30s cte 22 1m16s select 156 2h15m13s unknown Total 21,562 2d23h23m55s copy to 677 6h22m12s cte 123 4m6s ddl 101 1h15m33s insert 47 1h13m10s others 51 1h43m30s select 20,549 2d12h7m59s update 14 37m20s zbx_monitor Total 21 31s24ms select 21 31s24ms Queries by host
Key values
- unknown Main host
- 33,710 Requests
- 4d8h16m42s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 15,127 Requests
- 2d3m55s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:6335351 Total 1 10s832ms insert 1 10s832ms pgAdmin 4 - CONN:8436271 Total 1 2s619ms select 1 2s619ms pgAdmin 4 - CONN:9365532 Total 1 1s79ms tcl 1 1s79ms pgAdmin 4 - CONN:9532605 Total 1 5s685ms select 1 5s685ms pg_bulkload Total 23 13m24s select 23 13m24s pg_dump Total 49 18m17s copy to 49 18m17s psql Total 5 17s787ms ddl 1 4s245ms select 4 13s542ms unknown Total 15,127 2d3m55s copy to 253 1h45m5s cte 100 3m53s ddl 52 38m14s insert 29 49m58s others 33 53m8s select 14,651 1d19h21m12s update 9 32m22s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-04-24 16:11:25 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 13,429 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 1h53m13s select pub2.maint_term_derive_data ();[ Date: 2024-04-25 05:38:37 - Bind query: yes ]
2 1h33m49s select pub2.maint_gene_chem_ref_gene_form_refresh ();[ Date: 2024-04-25 01:49:58 - Bind query: yes ]
3 1h1m35s SELECT maint_term_derive_nm_fts ();[ Date: 2024-04-25 02:54:24 - Bind query: yes ]
4 45m15s VACUUM FULL ANALYZE;[ Date: 2024-04-25 03:44:59 - Bind query: yes ]
5 38m14s select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');[ Date: 2024-04-24 20:11:29 - Bind query: yes ]
6 36m53s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');[ Date: 2024-04-24 20:48:28 - Bind query: yes ]
7 34m27s select pub2.maint_cached_value_refresh_data_metrics ();[ Date: 2024-04-25 06:23:18 - Bind query: yes ]
8 34m17s SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;[ Date: 2024-04-26 09:25:06 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
9 33m37s SELECT i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) FROM edit.IXN i, edit.REFERENCE_IXN r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in ('bogusName') order by i.id asc;[ Date: 2024-04-24 18:42:14 - Bind query: yes ]
10 24m33s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-21 15:41:08 - Bind query: yes ]
11 24m33s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-21 15:40:56 - Bind query: yes ]
12 24m9s update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));[ Date: 2024-04-25 00:10:57 - Bind query: yes ]
13 24m6s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-22 02:49:21 - Bind query: yes ]
14 23m12s 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: 2024-04-27 18:59:55 ]
15 23m10s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-22 02:48:37 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 23m8s 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: 2024-04-27 19:41:20 ]
17 21m44s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-21 17:27:30 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 21m13s insert into pub2.GENE_GO_ANNOT (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.GENE_GO_ANNOT;[ Date: 2024-04-24 18:00:44 - Bind query: yes ]
19 19m54s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-21 10:02:28 - Bind query: yes ]
20 18m47s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-21 21:28:18 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 8h27m42s 204 1s359ms 24m33s 2m29s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 21 09 1 3s152ms 3s152ms 10 1 19m54s 19m54s 11 1 3s223ms 3s223ms 15 2 49m7s 24m33s 17 4 21m54s 5m28s 20 1 2s289ms 2s289ms 21 7 24m42s 3m31s Apr 22 01 1 1s564ms 1s564ms 02 66 3h19m36s 3m1s 04 53 1h8m16s 1m17s 05 7 26s872ms 3s838ms 08 2 3s826ms 1s913ms 10 2 12s113ms 6s56ms 11 17 43m20s 2m32s 12 3 40s119ms 13s373ms 14 1 1s638ms 1s638ms 15 1 3m38s 3m38s Apr 23 04 2 8m28s 4m14s 05 1 2s330ms 2s330ms 10 1 1s539ms 1s539ms 12 2 2s965ms 1s482ms Apr 24 06 1 3s177ms 3s177ms 11 1 1s565ms 1s565ms 14 1 1s467ms 1s467ms 20 1 3s72ms 3s72ms Apr 25 10 1 3s684ms 3s684ms 11 2 5s833ms 2s916ms 12 1 1s552ms 1s552ms 23 1 2s379ms 2s379ms Apr 26 00 1 2s372ms 2s372ms 02 1 1s509ms 1s509ms 08 1 2s47ms 2s47ms 09 1 1s538ms 1s538ms 16 1 1s546ms 1s546ms 20 1 3s190ms 3s190ms 23 1 4m11s 4m11s Apr 27 04 1 3s165ms 3s165ms 09 1 1s452ms 1s452ms 12 1 8m48s 8m48s 16 3 27m14s 9m4s 17 3 26m 8m40s 18 1 1s663ms 1s663ms 19 2 5s998ms 2s999ms [ User: pubeu - Total duration: 3h2m17s - Times executed: 87 ]
-
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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-21 15:41:08 Duration: 24m33s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-21 15:40:56 Duration: 24m33s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-22 02:49:21 Duration: 24m6s Bind query: yes
2 5h16m57s 216 1s5ms 18m35s 1m28s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 21 08 1 23s513ms 23s513ms 13 1 1m36s 1m36s 14 4 51s299ms 12s824ms 15 56 1h54m59s 2m3s 16 5 3m43s 44s634ms 17 34 1h2m19s 1m49s 19 6 16s646ms 2s774ms 20 19 58m11s 3m3s 21 32 30m35s 57s363ms Apr 22 02 4 5s275ms 1s318ms 04 7 44s243ms 6s320ms 05 4 1m29s 22s391ms 10 16 22m4s 1m22s 11 10 9m22s 56s243ms 12 4 15s883ms 3s970ms Apr 23 17 1 1s872ms 1s872ms Apr 25 23 1 2s34ms 2s34ms Apr 26 03 2 1m12s 36s30ms 04 2 3m46s 1m53s 06 2 2m39s 1m19s 11 1 40s23ms 40s23ms Apr 27 10 1 30s370ms 30s370ms 16 1 1s945ms 1s945ms 18 1 28s404ms 28s404ms 23 1 35s116ms 35s116ms [ User: pubeu - Total duration: 2h32m59s - Times executed: 88 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1420575')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-21 15:33:10 Duration: 18m35s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1420574')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-21 15:30:26 Duration: 14m36s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1420574')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-21 15:30:09 Duration: 14m30s Database: ctdprd51 User: pubeu Bind query: yes
3 2h28m9s 1,695 1s 44s729ms 5s244ms 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 Apr 21 00 1 4s988ms 4s988ms 01 1 4s845ms 4s845ms 02 1 4s820ms 4s820ms 03 3 5s720ms 1s906ms 04 2 2s821ms 1s410ms 05 2 6s97ms 3s48ms 06 1 2s651ms 2s651ms 07 1 1s256ms 1s256ms 08 2 6s179ms 3s89ms 10 2 2s932ms 1s466ms 11 1 2s838ms 2s838ms 12 3 7s391ms 2s463ms 13 2 3s733ms 1s866ms 14 18 53s80ms 2s948ms 15 143 20m9s 8s455ms 16 22 1m36s 4s380ms 17 106 12m39s 7s168ms 18 1 2s420ms 2s420ms 19 5 16s265ms 3s253ms 20 88 7m53s 5s375ms 21 107 9m58s 5s597ms 22 3 9s773ms 3s257ms 23 5 15s473ms 3s94ms Apr 22 00 1 1s296ms 1s296ms 01 1 1s8ms 1s8ms 02 35 1m32s 2s636ms 03 4 8s397ms 2s99ms 04 211 23m10s 6s590ms 05 144 7m36s 3s170ms 07 1 1s259ms 1s259ms 10 133 19m15s 8s685ms 11 92 11m56s 7s783ms 12 54 4m39s 5s183ms 13 3 6s1ms 2s 14 3 11s529ms 3s843ms 15 4 11s211ms 2s802ms 16 3 7s250ms 2s416ms 17 4 15s381ms 3s845ms 18 3 6s156ms 2s52ms 19 3 7s774ms 2s591ms 20 1 3s628ms 3s628ms 21 2 3s695ms 1s847ms 22 1 4s886ms 4s886ms 23 3 7s604ms 2s534ms Apr 23 00 3 7s266ms 2s422ms 01 4 14s790ms 3s697ms 02 2 7s253ms 3s626ms 03 5 10s168ms 2s33ms 04 4 17s182ms 4s295ms 05 1 1s10ms 1s10ms 06 1 2s109ms 2s109ms 07 1 2s797ms 2s797ms 08 4 7s821ms 1s955ms 10 3 10s49ms 3s349ms 12 3 11s187ms 3s729ms 14 2 5s73ms 2s536ms 15 2 2s239ms 1s119ms 16 2 6s255ms 3s127ms 17 3 7s135ms 2s378ms 18 3 5s886ms 1s962ms 19 1 1s273ms 1s273ms 20 2 6s403ms 3s201ms 21 3 9s97ms 3s32ms 23 1 1s41ms 1s41ms Apr 24 05 2 5s798ms 2s899ms 06 1 1s256ms 1s256ms 07 1 5s22ms 5s22ms 09 7 15s893ms 2s270ms 10 3 12s447ms 4s149ms 11 3 4s69ms 1s356ms 12 2 8s632ms 4s316ms 13 2 4s569ms 2s284ms 14 4 8s226ms 2s56ms 15 3 11s280ms 3s760ms 16 2 3s998ms 1s999ms 17 1 1s48ms 1s48ms 18 2 7s596ms 3s798ms 19 3 10s211ms 3s403ms 20 3 12s854ms 4s284ms 21 2 3s856ms 1s928ms 22 4 14s710ms 3s677ms 23 6 15s334ms 2s555ms Apr 25 00 3 7s655ms 2s551ms 02 2 2s681ms 1s340ms 03 1 3s656ms 3s656ms 04 2 6s604ms 3s302ms 05 1 2s152ms 2s152ms 06 1 1s52ms 1s52ms 07 3 8s604ms 2s868ms 08 7 27s925ms 3s989ms 09 11 36s782ms 3s343ms 10 14 47s148ms 3s367ms 11 11 37s881ms 3s443ms 12 12 38s52ms 3s171ms 13 11 33s498ms 3s45ms 14 13 38s727ms 2s979ms 15 13 45s177ms 3s475ms 16 6 25s581ms 4s263ms 17 9 38s8ms 4s223ms 18 8 28s464ms 3s558ms 19 15 52s520ms 3s501ms 20 6 22s769ms 3s794ms 21 5 21s470ms 4s294ms 22 5 24s842ms 4s968ms 23 6 17s 2s833ms Apr 26 00 5 14s814ms 2s962ms 01 5 10s827ms 2s165ms 02 6 15s114ms 2s519ms 03 7 19s732ms 2s818ms 04 12 35s583ms 2s965ms 05 11 30s195ms 2s745ms 06 6 13s704ms 2s284ms 07 6 19s122ms 3s187ms 08 4 13s277ms 3s319ms 09 6 13s734ms 2s289ms 10 6 15s734ms 2s622ms 11 7 18s400ms 2s628ms 12 8 22s663ms 2s832ms 13 3 9s322ms 3s107ms 14 1 2s446ms 2s446ms 15 2 4s530ms 2s265ms 16 5 17s108ms 3s421ms 17 4 13s957ms 3s489ms 18 4 9s907ms 2s476ms 20 7 25s481ms 3s640ms 21 2 7s155ms 3s577ms 22 3 7s403ms 2s467ms 23 5 14s860ms 2s972ms Apr 27 01 1 3s560ms 3s560ms 02 3 8s479ms 2s826ms 03 1 1s267ms 1s267ms 05 4 13s177ms 3s294ms 06 2 3s985ms 1s992ms 07 2 4s870ms 2s435ms 08 2 6s122ms 3s61ms 09 3 8s766ms 2s922ms 10 1 1s104ms 1s104ms 11 2 7s776ms 3s888ms 12 2 3s914ms 1s957ms 13 1 1s48ms 1s48ms 14 3 7s866ms 2s622ms 15 5 14s875ms 2s975ms 16 20 40s941ms 2s47ms 17 10 27s967ms 2s796ms 18 4 13s563ms 3s390ms 19 4 11s4ms 2s751ms 20 3 8s902ms 2s967ms 21 3 11s180ms 3s726ms 22 2 4s574ms 2s287ms [ User: pubeu - Total duration: 1h4m10s - Times executed: 755 ]
-
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 = '1381425') 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 = '1381425') 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: 2024-04-22 04:34:08 Duration: 44s729ms 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 = '1381425') 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 = '1381425') 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: 2024-04-22 04:34:06 Duration: 44s583ms 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 = '1381425') 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 = '1381425') 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: 2024-04-21 15:54:09 Duration: 44s397ms Database: ctdprd51 User: pubeu Bind query: yes
4 1h59m50s 1,330 1s 41s87ms 5s406ms 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 Apr 21 02 2 4s207ms 2s103ms 06 1 2s28ms 2s28ms 08 3 7s921ms 2s640ms 12 2 14s15ms 7s7ms 14 20 53s610ms 2s680ms 15 154 14m35s 5s684ms 16 32 2m28s 4s638ms 17 127 11m59s 5s663ms 19 6 39s815ms 6s635ms 20 104 10m35s 6s111ms 21 124 9m11s 4s446ms Apr 22 00 1 5s935ms 5s935ms 02 43 2m49s 3s944ms 04 178 18m54s 6s376ms 05 99 5m54s 3s579ms 10 119 20m36s 10s388ms 11 66 6m7s 5s561ms 12 33 2m58s 5s405ms 14 2 12s175ms 6s87ms 15 4 16s569ms 4s142ms 17 1 1s989ms 1s989ms 22 1 3s178ms 3s178ms 23 1 3s218ms 3s218ms Apr 23 07 1 1s312ms 1s312ms 11 2 4s582ms 2s291ms 12 3 5s761ms 1s920ms 13 1 1s945ms 1s945ms 15 2 5s323ms 2s661ms 20 1 5s874ms 5s874ms 21 1 1s816ms 1s816ms 22 1 3s214ms 3s214ms 23 1 3s712ms 3s712ms Apr 24 09 1 2s106ms 2s106ms 11 1 5s838ms 5s838ms 13 2 5s64ms 2s532ms 14 2 5s405ms 2s702ms 15 1 1s189ms 1s189ms 17 1 5s919ms 5s919ms 18 5 14s73ms 2s814ms 19 2 4s527ms 2s263ms 20 2 9s291ms 4s645ms 21 2 3s688ms 1s844ms Apr 25 00 1 1s923ms 1s923ms 04 3 11s728ms 3s909ms 06 1 5s775ms 5s775ms 08 3 8s527ms 2s842ms 09 5 13s405ms 2s681ms 10 6 15s179ms 2s529ms 11 6 15s123ms 2s520ms 12 5 13s591ms 2s718ms 13 4 11s595ms 2s898ms 14 5 13s744ms 2s748ms 15 4 11s28ms 2s757ms 16 6 28s476ms 4s746ms 17 6 27s381ms 4s563ms 18 4 23s268ms 5s817ms 19 10 52s263ms 5s226ms 20 4 23s474ms 5s868ms 21 4 23s397ms 5s849ms 22 9 31s243ms 3s471ms 23 5 13s976ms 2s795ms Apr 26 00 4 7s809ms 1s952ms 01 6 15s531ms 2s588ms 02 4 7s835ms 1s958ms 03 5 11s54ms 2s210ms 04 7 14s28ms 2s4ms 05 5 13s60ms 2s612ms 06 3 6s425ms 2s141ms 08 1 2s97ms 2s97ms 10 1 2s66ms 2s66ms 15 1 2s738ms 2s738ms 16 2 3s11ms 1s505ms 17 3 7s50ms 2s350ms 19 1 2s772ms 2s772ms 21 3 5s768ms 1s922ms 22 1 1s955ms 1s955ms 23 3 6s5ms 2s1ms Apr 27 01 1 3s227ms 3s227ms 06 1 3s202ms 3s202ms 07 1 1s582ms 1s582ms 08 1 3s186ms 3s186ms 09 1 5s905ms 5s905ms 10 2 11s735ms 5s867ms 13 1 1s304ms 1s304ms 16 13 30s496ms 2s345ms 17 8 28s964ms 3s620ms 18 1 5s812ms 5s812ms 20 1 5s901ms 5s901ms 21 3 9s373ms 3s124ms [ User: pubeu - Total duration: 47m44s - Times executed: 564 ]
-
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 = '1381425'))) 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: 2024-04-21 20:00:40 Duration: 41s87ms 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 = '1381425'))) 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: 2024-04-22 04:34:04 Duration: 40s876ms 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 = '1381425'))) 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: 2024-04-21 20:00:29 Duration: 37s771ms Bind query: yes
5 1h53m13s 1 1h53m13s 1h53m13s 1h53m13s select pub2.maint_term_derive_data ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 25 05 1 1h53m13s 1h53m13s -
select pub2.maint_term_derive_data ();
Date: 2024-04-25 05:38:37 Duration: 1h53m13s Bind query: yes
6 1h49m40s 7 15m34s 15m46s 15m40s select maint_query_logs_archive ();Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 21 00 1 15m35s 15m35s Apr 22 00 1 15m34s 15m34s Apr 23 00 1 15m43s 15m43s Apr 24 00 1 15m34s 15m34s Apr 25 00 1 15m46s 15m46s Apr 26 00 1 15m44s 15m44s Apr 27 00 1 15m41s 15m41s -
/* * 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: 2024-04-25 00:15:47 Duration: 15m46s
-
/* * 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: 2024-04-26 00:15:46 Duration: 15m44s
-
/* * 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: 2024-04-23 00:15:44 Duration: 15m43s
7 1h35m58s 559 1s2ms 35s12ms 10s300ms 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 #7
Day Hour Count Duration Avg duration Apr 21 00 1 5s322ms 5s322ms 03 2 11s391ms 5s695ms 05 2 6s594ms 3s297ms 06 1 5s618ms 5s618ms 12 1 5s578ms 5s578ms 14 15 1m33s 6s223ms 15 109 28m41s 15s795ms 16 9 50s689ms 5s632ms 17 55 10m45s 11s740ms 20 63 12m9s 11s576ms 21 58 10m37s 10s994ms Apr 22 00 3 15s425ms 5s141ms 02 12 1m56s 9s711ms 03 1 5s247ms 5s247ms 04 33 4m27s 8s107ms 05 34 2m25s 4s284ms 10 44 8m23s 11s444ms 11 16 3m23s 12s695ms 12 15 2m59s 11s958ms 15 2 9s734ms 4s867ms 16 1 5s304ms 5s304ms 17 1 5s409ms 5s409ms 19 1 1s29ms 1s29ms 20 1 4s733ms 4s733ms 21 1 1s2ms 1s2ms Apr 23 01 1 4s769ms 4s769ms 05 1 5s171ms 5s171ms 09 1 4s947ms 4s947ms 12 1 5s262ms 5s262ms 20 1 5s47ms 5s47ms 21 1 5s359ms 5s359ms 23 1 5s826ms 5s826ms Apr 24 08 5 26s855ms 5s371ms 11 3 15s665ms 5s221ms 20 1 5s414ms 5s414ms 21 8 41s5ms 5s125ms 22 3 17s218ms 5s739ms Apr 25 02 1 5s727ms 5s727ms 03 1 5s927ms 5s927ms 04 1 6s48ms 6s48ms 05 2 2s72ms 1s36ms 06 1 5s281ms 5s281ms 11 1 5s313ms 5s313ms 13 2 5s824ms 2s912ms 14 1 5s318ms 5s318ms 17 1 5s38ms 5s38ms 19 1 5s538ms 5s538ms 21 2 10s80ms 5s40ms Apr 26 00 2 10s348ms 5s174ms 05 1 1s18ms 1s18ms 06 1 5s397ms 5s397ms 07 1 5s332ms 5s332ms 10 1 5s203ms 5s203ms 11 1 5s195ms 5s195ms 15 1 5s205ms 5s205ms 16 2 10s191ms 5s95ms 19 1 5s261ms 5s261ms 21 2 9s711ms 4s855ms 23 1 4s916ms 4s916ms Apr 27 04 2 10s209ms 5s104ms 07 1 4s888ms 4s888ms 10 1 5s57ms 5s57ms 11 1 5s7ms 5s7ms 16 12 54s356ms 4s529ms 17 2 9s792ms 4s896ms 18 1 4s887ms 4s887ms 19 1 4s854ms 4s854ms 20 1 5s29ms 5s29ms 22 1 4s783ms 4s783ms [ User: pubeu - Total duration: 40m55s - Times executed: 242 ]
-
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 = '1255628' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-21 20:00:40 Duration: 35s12ms 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 = '1326444' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-21 21:01:20 Duration: 34s807ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1300382' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-21 20:00:30 Duration: 34s578ms Database: ctdprd51 User: pubeu Bind query: yes
8 1h33m49s 1 1h33m49s 1h33m49s 1h33m49s select pub2.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 25 01 1 1h33m49s 1h33m49s -
select pub2.maint_gene_chem_ref_gene_form_refresh ();
Date: 2024-04-25 01:49:58 Duration: 1h33m49s Bind query: yes
9 1h28m53s 290 1s20ms 2m10s 18s390ms 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 Apr 21 02 1 18s790ms 18s790ms 03 1 1s52ms 1s52ms 04 1 1s43ms 1s43ms 10 2 32s359ms 16s179ms 14 1 1s528ms 1s528ms 15 5 6m48s 1m21s 17 3 1m 20s283ms 20 1 9s122ms 9s122ms 21 3 49s571ms 16s523ms 23 1 1s32ms 1s32ms Apr 22 02 91 38m50s 25s613ms 04 66 22m53s 20s810ms 05 11 2m36s 14s259ms 08 2 2s465ms 1s232ms 10 3 54s552ms 18s184ms 11 18 2m52s 9s569ms 12 4 1m49s 27s272ms 13 2 9s231ms 4s615ms 14 3 31s526ms 10s508ms 15 3 45s604ms 15s201ms 17 2 2s575ms 1s287ms 20 1 3s433ms 3s433ms 21 1 2s749ms 2s749ms Apr 23 00 1 1s359ms 1s359ms 01 1 17s906ms 17s906ms 03 1 1s30ms 1s30ms 04 1 3s136ms 3s136ms 10 2 37s274ms 18s637ms 11 3 20s460ms 6s820ms 12 1 1s212ms 1s212ms 16 1 14s550ms 14s550ms Apr 24 05 1 1s558ms 1s558ms 06 1 1s25ms 1s25ms 17 2 7s286ms 3s643ms 22 1 3s407ms 3s407ms Apr 25 00 1 3s915ms 3s915ms 01 1 1s530ms 1s530ms 04 1 1s293ms 1s293ms 07 1 1s64ms 1s64ms 09 1 1s34ms 1s34ms 11 1 1s765ms 1s765ms 12 1 1s342ms 1s342ms 14 2 4s780ms 2s390ms 15 1 8s325ms 8s325ms 21 1 1s53ms 1s53ms 22 2 5s625ms 2s812ms Apr 26 06 4 1m23s 20s953ms 07 1 1s118ms 1s118ms 08 2 23s522ms 11s761ms 11 2 7s214ms 3s607ms 12 1 14s180ms 14s180ms 16 2 10s187ms 5s93ms 17 1 3s4ms 3s4ms 18 1 6s373ms 6s373ms 20 1 1s203ms 1s203ms 22 1 2s790ms 2s790ms Apr 27 01 1 18s49ms 18s49ms 07 1 1s29ms 1s29ms 10 1 3s255ms 3s255ms 16 5 42s978ms 8s595ms 17 9 1m24s 9s438ms 19 1 2s869ms 2s869ms 21 1 6s602ms 6s602ms [ User: pubeu - Total duration: 26m38s - Times executed: 99 ]
-
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 = '1206427') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-22 02:35:31 Duration: 2m10s 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 = '1206427') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-22 02:36:07 Duration: 1m51s 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 = '1206427') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-22 02:34:52 Duration: 1m41s Bind query: yes
10 1h17m46s 708 1s8ms 58s857ms 6s591ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 21 01 2 9s724ms 4s862ms 02 3 9s351ms 3s117ms 04 1 1s395ms 1s395ms 05 3 24s307ms 8s102ms 06 1 1s316ms 1s316ms 07 2 3s760ms 1s880ms 08 1 2s597ms 2s597ms 09 2 2s444ms 1s222ms 10 3 11s400ms 3s800ms 11 2 13s681ms 6s840ms 12 1 2s476ms 2s476ms 13 3 19s92ms 6s364ms 14 8 1m13s 9s180ms 15 32 6m9s 11s540ms 16 2 8s6ms 4s3ms 17 19 4m56s 15s610ms 18 2 12s839ms 6s419ms 19 1 6s189ms 6s189ms 20 14 1m17s 5s557ms 21 41 2m55s 4s275ms 22 1 2s315ms 2s315ms 23 2 7s34ms 3s517ms Apr 22 01 9 48s570ms 5s396ms 02 70 8m37s 7s394ms 03 1 4s430ms 4s430ms 04 64 8m6s 7s603ms 05 34 2m47s 4s928ms 09 1 2s306ms 2s306ms 10 53 7m3s 7s996ms 11 42 7m53s 11s282ms 12 28 2m29s 5s345ms 15 2 6s947ms 3s473ms 17 1 11s701ms 11s701ms 19 3 31s989ms 10s663ms 20 2 3s943ms 1s971ms 21 1 2s483ms 2s483ms 22 2 22s565ms 11s282ms 23 4 37s836ms 9s459ms Apr 23 00 3 15s791ms 5s263ms 03 14 38s418ms 2s744ms 04 9 1m11s 7s946ms 05 1 2s535ms 2s535ms 07 1 2s138ms 2s138ms 08 1 6s180ms 6s180ms 09 1 3s58ms 3s58ms 11 1 2s124ms 2s124ms 12 3 16s680ms 5s560ms 13 2 2s121ms 1s60ms 14 7 1m8s 9s822ms 15 1 7s859ms 7s859ms 16 1 11s552ms 11s552ms 18 2 14s640ms 7s320ms 19 2 3s452ms 1s726ms 22 6 56s390ms 9s398ms Apr 24 06 1 11s836ms 11s836ms 08 1 10s37ms 10s37ms 10 2 8s99ms 4s49ms 11 1 2s213ms 2s213ms 12 2 2s140ms 1s70ms 13 2 14s875ms 7s437ms 14 1 3s110ms 3s110ms 18 1 12s24ms 12s24ms 21 1 1s88ms 1s88ms 22 4 22s535ms 5s633ms 23 3 11s957ms 3s985ms Apr 25 00 1 2s452ms 2s452ms 01 3 11s43ms 3s681ms 02 2 3s844ms 1s922ms 04 1 4s229ms 4s229ms 07 2 13s273ms 6s636ms 09 1 1s666ms 1s666ms 10 2 11s458ms 5s729ms 11 4 18s236ms 4s559ms 12 2 10s535ms 5s267ms 13 4 11s873ms 2s968ms 14 2 6s584ms 3s292ms 15 2 6s673ms 3s336ms 16 1 12s121ms 12s121ms 19 10 49s866ms 4s986ms 20 1 2s553ms 2s553ms 21 1 4s134ms 4s134ms 22 5 38s142ms 7s628ms 23 3 3s680ms 1s226ms Apr 26 00 2 22s599ms 11s299ms 01 5 38s315ms 7s663ms 02 1 1s287ms 1s287ms 03 4 16s641ms 4s160ms 04 1 2s510ms 2s510ms 07 1 7s928ms 7s928ms 08 2 7s23ms 3s511ms 09 2 7s581ms 3s790ms 11 1 10s78ms 10s78ms 12 2 4s619ms 2s309ms 13 1 1s9ms 1s9ms 14 2 6s145ms 3s72ms 15 2 4s997ms 2s498ms 17 1 1s11ms 1s11ms 18 2 3s417ms 1s708ms 19 2 6s836ms 3s418ms 20 1 1s41ms 1s41ms 21 2 9s788ms 4s894ms Apr 27 00 1 11s912ms 11s912ms 01 1 1s154ms 1s154ms 02 2 3s59ms 1s529ms 03 1 1s67ms 1s67ms 04 3 14s677ms 4s892ms 05 1 2s218ms 2s218ms 09 1 10s454ms 10s454ms 10 4 10s98ms 2s524ms 14 2 4s540ms 2s270ms 15 2 10s676ms 5s338ms 16 46 3m6s 4s45ms 17 22 1m23s 3s794ms 18 2 3s484ms 1s742ms 19 1 11s845ms 11s845ms 23 1 1s385ms 1s385ms [ User: pubeu - Total duration: 32m15s - Times executed: 283 ]
-
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 = '2061611') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-21 17:13:48 Duration: 58s857ms 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 = '2061611') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-21 17:13:53 Duration: 51s145ms 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 = '2063367') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-22 10:56:24 Duration: 50s456ms Database: ctdprd51 User: pubeu Bind query: yes
11 1h1m35s 1 1h1m35s 1h1m35s 1h1m35s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 25 02 1 1h1m35s 1h1m35s -
SELECT maint_term_derive_nm_fts ();
Date: 2024-04-25 02:54:24 Duration: 1h1m35s Bind query: yes
12 48m24s 194 3s979ms 34m17s 14s970ms select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 26 09 192 48m15s 15s80ms 10 2 8s748ms 4s374ms [ User: qaeu - Total duration: 34m17s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-04-26 09:25:06 Duration: 34m17s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-04-26 09:43:42 Duration: 5s903ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-04-26 09:37:28 Duration: 5s719ms Bind query: yes
13 47m25s 1,728 1s2ms 12s679ms 1s646ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 21 00 2 2s261ms 1s130ms 02 8 9s73ms 1s134ms 03 3 3s374ms 1s124ms 04 5 5s625ms 1s125ms 05 7 8s116ms 1s159ms 06 15 16s959ms 1s130ms 07 13 14s500ms 1s115ms 08 52 58s460ms 1s124ms 09 7 8s38ms 1s148ms 10 2 2s226ms 1s113ms 11 4 4s569ms 1s142ms 12 6 6s555ms 1s92ms 13 2 2s132ms 1s66ms 14 5 5s211ms 1s42ms 15 36 1m57s 3s265ms 16 62 1m54s 1s838ms 17 5 5s501ms 1s100ms 18 4 4s192ms 1s48ms 19 1 1s63ms 1s63ms 20 18 24s105ms 1s339ms 21 88 2m35s 1s763ms 22 7 7s659ms 1s94ms 23 4 4s311ms 1s77ms Apr 22 00 7 7s604ms 1s86ms 01 2 2s140ms 1s70ms 02 139 3m45s 1s622ms 03 8 8s740ms 1s92ms 04 272 6m54s 1s523ms 05 28 34s386ms 1s228ms 07 3 3s296ms 1s98ms 08 3 3s348ms 1s116ms 09 3 3s319ms 1s106ms 10 154 9m18s 3s628ms 11 285 8m14s 1s733ms 12 4 4s782ms 1s195ms 13 3 3s211ms 1s70ms 14 5 5s391ms 1s78ms 15 17 18s408ms 1s82ms 17 3 3s273ms 1s91ms 18 3 3s150ms 1s50ms 19 6 6s389ms 1s64ms 20 5 5s279ms 1s55ms 21 4 4s160ms 1s40ms Apr 23 01 2 2s207ms 1s103ms 04 5 5s466ms 1s93ms 05 3 3s429ms 1s143ms 06 4 4s309ms 1s77ms 07 1 1s94ms 1s94ms 08 1 1s42ms 1s42ms 10 9 9s775ms 1s86ms 11 3 3s196ms 1s65ms 12 6 6s307ms 1s51ms 13 1 1s80ms 1s80ms 14 4 4s411ms 1s102ms 17 2 2s89ms 1s44ms 18 1 1s100ms 1s100ms 19 6 6s324ms 1s54ms 20 2 2s84ms 1s42ms Apr 24 05 3 3s514ms 1s171ms 06 2 2s178ms 1s89ms 09 2 2s229ms 1s114ms 10 2 2s131ms 1s65ms 11 1 1s83ms 1s83ms 12 1 1s136ms 1s136ms 13 9 9s891ms 1s99ms 15 2 2s170ms 1s85ms 17 8 8s852ms 1s106ms 18 3 3s198ms 1s66ms 19 3 3s255ms 1s85ms 20 1 1s87ms 1s87ms 22 5 5s580ms 1s116ms 23 2 2s358ms 1s179ms Apr 25 00 2 2s138ms 1s69ms 01 4 4s172ms 1s43ms 02 4 4s316ms 1s79ms 03 1 1s98ms 1s98ms 05 3 3s517ms 1s172ms 06 2 2s177ms 1s88ms 07 1 1s123ms 1s123ms 08 4 4s370ms 1s92ms 09 4 4s344ms 1s86ms 10 6 6s463ms 1s77ms 11 3 3s195ms 1s65ms 12 8 8s468ms 1s58ms 13 2 2s307ms 1s153ms 14 10 10s466ms 1s46ms 15 4 4s174ms 1s43ms 16 4 4s221ms 1s55ms 18 10 10s595ms 1s59ms 19 3 3s212ms 1s70ms 20 5 5s258ms 1s51ms 21 3 3s115ms 1s38ms Apr 26 00 4 4s278ms 1s69ms 01 7 7s690ms 1s98ms 03 3 3s328ms 1s109ms 04 6 6s473ms 1s78ms 05 4 4s606ms 1s151ms 06 6 6s502ms 1s83ms 07 1 1s54ms 1s54ms 08 6 6s492ms 1s82ms 09 2 2s214ms 1s107ms 10 13 14s128ms 1s86ms 11 1 1s146ms 1s146ms 12 2 2s275ms 1s137ms 13 8 8s887ms 1s110ms 14 1 1s73ms 1s73ms 15 9 9s796ms 1s88ms 16 7 7s695ms 1s99ms 17 1 1s115ms 1s115ms 18 1 1s53ms 1s53ms 19 1 1s113ms 1s113ms 20 3 3s262ms 1s87ms 21 24 26s375ms 1s98ms 22 2 2s233ms 1s116ms 23 5 5s390ms 1s78ms Apr 27 00 1 1s119ms 1s119ms 01 3 3s233ms 1s77ms 02 2 2s184ms 1s92ms 03 5 5s527ms 1s105ms 04 2 2s159ms 1s79ms 05 2 2s460ms 1s230ms 06 8 8s579ms 1s72ms 07 2 2s232ms 1s116ms 08 6 6s463ms 1s77ms 09 7 7s682ms 1s97ms 10 8 8s791ms 1s98ms 11 6 6s486ms 1s81ms 12 2 2s195ms 1s97ms 13 5 5s382ms 1s76ms 14 3 3s293ms 1s97ms 15 2 2s172ms 1s86ms 16 26 28s818ms 1s108ms 17 8 8s922ms 1s115ms 18 1 1s79ms 1s79ms 19 2 2s166ms 1s83ms 20 5 5s170ms 1s34ms 21 8 8s457ms 1s57ms 22 5 5s447ms 1s89ms 23 5 5s444ms 1s88ms [ User: pubeu - Total duration: 14m3s - Times executed: 539 ]
[ User: qaeu - Total duration: 2s688ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2015277' or receptorTerm.id = '2015277' 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: 2024-04-22 11:24:14 Duration: 12s679ms 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 = '1972855' or receptorTerm.id = '1972855' 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: 2024-04-22 11:24:16 Duration: 12s418ms 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 = '2006956' or receptorTerm.id = '2006956' 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: 2024-04-22 11:24:28 Duration: 12s337ms Bind query: yes
14 45m15s 1 0ms 45m15s 45m15s vacuum full analyze;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 25 03 1 45m15s 45m15s -
VACUUM FULL ANALYZE;
Date: 2024-04-25 03:44:59 Duration: 45m15s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2024-04-25 02:59:53 Duration: 0ms
15 43m17s 72 1s325ms 6m24s 36s78ms select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 24 13 31 12m37s 24s433ms 14 8 7m17s 54s723ms 18 6 1m5s 10s986ms 20 2 6m37s 3m18s 21 4 8m2s 2m 22 14 3m57s 16s935ms 23 7 3m39s 31s419ms [ User: load - Total duration: 13m24s - Times executed: 23 ]
[ Application: pg_bulkload - Total duration: 13m24s - Times executed: 23 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2024-04-24 20:59:22 Duration: 6m24s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2024-04-24 21:26:57 Duration: 5m26s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2024-04-24 13:48:39 Duration: 3m28s Bind query: yes
16 42m22s 466 1s1ms 15s206ms 5s455ms select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 21 12 1 1s494ms 1s494ms 14 2 2s97ms 1s48ms 15 67 7m9s 6s406ms 17 18 2m16s 7s569ms 20 15 47s111ms 3s140ms 21 14 44s975ms 3s212ms Apr 22 02 55 5m32s 6s41ms 04 127 12m45s 6s25ms 05 7 18s247ms 2s606ms 10 95 7m56s 5s12ms 11 52 4m20s 5s5ms 12 9 18s947ms 2s105ms Apr 27 16 2 4s864ms 2s432ms 17 2 5s47ms 2s523ms [ User: pubeu - Total duration: 7m19s - Times executed: 111 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2051586');
Date: 2024-04-21 17:13:24 Duration: 15s206ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2064161');
Date: 2024-04-22 04:34:03 Duration: 14s968ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2056338');
Date: 2024-04-22 11:24:12 Duration: 14s767ms Bind query: yes
17 39m22s 177 1s7ms 1m32s 13s346ms 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 #17
Day Hour Count Duration Avg duration Apr 21 17 1 1s307ms 1s307ms 20 1 1s627ms 1s627ms 21 5 37s750ms 7s550ms Apr 22 02 72 19m52s 16s564ms 04 45 11m15s 15s2ms 05 12 1m46s 8s848ms 10 4 41s35ms 10s258ms 11 14 45s627ms 3s259ms 12 2 1m39s 49s844ms Apr 23 15 1 1s64ms 1s64ms Apr 24 18 1 10s567ms 10s567ms 22 1 2s796ms 2s796ms Apr 25 00 1 3s428ms 3s428ms 03 1 5s741ms 5s741ms 04 1 10s875ms 10s875ms 21 1 15s278ms 15s278ms 22 1 3s750ms 3s750ms Apr 26 04 1 15s499ms 15s499ms 06 5 40s292ms 8s58ms Apr 27 10 1 1s37ms 1s37ms 16 2 16s790ms 8s395ms 17 3 31s832ms 10s610ms 19 1 2s337ms 2s337ms [ User: pubeu - Total duration: 14m17s - Times executed: 64 ]
-
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 = '1206427'))) 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: 2024-04-22 02:35:28 Duration: 1m32s 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 = '1206427'))) 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: 2024-04-22 02:35:14 Duration: 1m28s 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 = '1206427'))) 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: 2024-04-22 02:35:36 Duration: 1m21s Bind query: yes
18 38m14s 1 38m14s 38m14s 38m14s select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.object_type where cd = ?), ptr.term_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.phenotype_term_reference ptr, pub2.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 24 20 1 38m14s 38m14s -
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2024-04-24 20:11:29 Duration: 38m14s Bind query: yes
19 36m53s 1 36m53s 36m53s 36m53s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.gene_go_annot gga, pub2.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 24 20 1 36m53s 36m53s -
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2024-04-24 20:48:28 Duration: 36m53s Bind query: yes
20 34m27s 1 34m27s 34m27s 34m27s select pub2.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 25 06 1 34m27s 34m27s -
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2024-04-25 06:23:18 Duration: 34m27s Bind query: yes
-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2024-04-25 06:19:03 Duration: 0ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,728 47m25s 1s2ms 12s679ms 1s646ms 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 Apr 21 00 2 2s261ms 1s130ms 02 8 9s73ms 1s134ms 03 3 3s374ms 1s124ms 04 5 5s625ms 1s125ms 05 7 8s116ms 1s159ms 06 15 16s959ms 1s130ms 07 13 14s500ms 1s115ms 08 52 58s460ms 1s124ms 09 7 8s38ms 1s148ms 10 2 2s226ms 1s113ms 11 4 4s569ms 1s142ms 12 6 6s555ms 1s92ms 13 2 2s132ms 1s66ms 14 5 5s211ms 1s42ms 15 36 1m57s 3s265ms 16 62 1m54s 1s838ms 17 5 5s501ms 1s100ms 18 4 4s192ms 1s48ms 19 1 1s63ms 1s63ms 20 18 24s105ms 1s339ms 21 88 2m35s 1s763ms 22 7 7s659ms 1s94ms 23 4 4s311ms 1s77ms Apr 22 00 7 7s604ms 1s86ms 01 2 2s140ms 1s70ms 02 139 3m45s 1s622ms 03 8 8s740ms 1s92ms 04 272 6m54s 1s523ms 05 28 34s386ms 1s228ms 07 3 3s296ms 1s98ms 08 3 3s348ms 1s116ms 09 3 3s319ms 1s106ms 10 154 9m18s 3s628ms 11 285 8m14s 1s733ms 12 4 4s782ms 1s195ms 13 3 3s211ms 1s70ms 14 5 5s391ms 1s78ms 15 17 18s408ms 1s82ms 17 3 3s273ms 1s91ms 18 3 3s150ms 1s50ms 19 6 6s389ms 1s64ms 20 5 5s279ms 1s55ms 21 4 4s160ms 1s40ms Apr 23 01 2 2s207ms 1s103ms 04 5 5s466ms 1s93ms 05 3 3s429ms 1s143ms 06 4 4s309ms 1s77ms 07 1 1s94ms 1s94ms 08 1 1s42ms 1s42ms 10 9 9s775ms 1s86ms 11 3 3s196ms 1s65ms 12 6 6s307ms 1s51ms 13 1 1s80ms 1s80ms 14 4 4s411ms 1s102ms 17 2 2s89ms 1s44ms 18 1 1s100ms 1s100ms 19 6 6s324ms 1s54ms 20 2 2s84ms 1s42ms Apr 24 05 3 3s514ms 1s171ms 06 2 2s178ms 1s89ms 09 2 2s229ms 1s114ms 10 2 2s131ms 1s65ms 11 1 1s83ms 1s83ms 12 1 1s136ms 1s136ms 13 9 9s891ms 1s99ms 15 2 2s170ms 1s85ms 17 8 8s852ms 1s106ms 18 3 3s198ms 1s66ms 19 3 3s255ms 1s85ms 20 1 1s87ms 1s87ms 22 5 5s580ms 1s116ms 23 2 2s358ms 1s179ms Apr 25 00 2 2s138ms 1s69ms 01 4 4s172ms 1s43ms 02 4 4s316ms 1s79ms 03 1 1s98ms 1s98ms 05 3 3s517ms 1s172ms 06 2 2s177ms 1s88ms 07 1 1s123ms 1s123ms 08 4 4s370ms 1s92ms 09 4 4s344ms 1s86ms 10 6 6s463ms 1s77ms 11 3 3s195ms 1s65ms 12 8 8s468ms 1s58ms 13 2 2s307ms 1s153ms 14 10 10s466ms 1s46ms 15 4 4s174ms 1s43ms 16 4 4s221ms 1s55ms 18 10 10s595ms 1s59ms 19 3 3s212ms 1s70ms 20 5 5s258ms 1s51ms 21 3 3s115ms 1s38ms Apr 26 00 4 4s278ms 1s69ms 01 7 7s690ms 1s98ms 03 3 3s328ms 1s109ms 04 6 6s473ms 1s78ms 05 4 4s606ms 1s151ms 06 6 6s502ms 1s83ms 07 1 1s54ms 1s54ms 08 6 6s492ms 1s82ms 09 2 2s214ms 1s107ms 10 13 14s128ms 1s86ms 11 1 1s146ms 1s146ms 12 2 2s275ms 1s137ms 13 8 8s887ms 1s110ms 14 1 1s73ms 1s73ms 15 9 9s796ms 1s88ms 16 7 7s695ms 1s99ms 17 1 1s115ms 1s115ms 18 1 1s53ms 1s53ms 19 1 1s113ms 1s113ms 20 3 3s262ms 1s87ms 21 24 26s375ms 1s98ms 22 2 2s233ms 1s116ms 23 5 5s390ms 1s78ms Apr 27 00 1 1s119ms 1s119ms 01 3 3s233ms 1s77ms 02 2 2s184ms 1s92ms 03 5 5s527ms 1s105ms 04 2 2s159ms 1s79ms 05 2 2s460ms 1s230ms 06 8 8s579ms 1s72ms 07 2 2s232ms 1s116ms 08 6 6s463ms 1s77ms 09 7 7s682ms 1s97ms 10 8 8s791ms 1s98ms 11 6 6s486ms 1s81ms 12 2 2s195ms 1s97ms 13 5 5s382ms 1s76ms 14 3 3s293ms 1s97ms 15 2 2s172ms 1s86ms 16 26 28s818ms 1s108ms 17 8 8s922ms 1s115ms 18 1 1s79ms 1s79ms 19 2 2s166ms 1s83ms 20 5 5s170ms 1s34ms 21 8 8s457ms 1s57ms 22 5 5s447ms 1s89ms 23 5 5s444ms 1s88ms [ User: pubeu - Total duration: 14m3s - Times executed: 539 ]
[ User: qaeu - Total duration: 2s688ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2015277' or receptorTerm.id = '2015277' 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: 2024-04-22 11:24:14 Duration: 12s679ms 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 = '1972855' or receptorTerm.id = '1972855' 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: 2024-04-22 11:24:16 Duration: 12s418ms 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 = '2006956' or receptorTerm.id = '2006956' 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: 2024-04-22 11:24:28 Duration: 12s337ms Bind query: yes
2 1,695 2h28m9s 1s 44s729ms 5s244ms 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 #2
Day Hour Count Duration Avg duration Apr 21 00 1 4s988ms 4s988ms 01 1 4s845ms 4s845ms 02 1 4s820ms 4s820ms 03 3 5s720ms 1s906ms 04 2 2s821ms 1s410ms 05 2 6s97ms 3s48ms 06 1 2s651ms 2s651ms 07 1 1s256ms 1s256ms 08 2 6s179ms 3s89ms 10 2 2s932ms 1s466ms 11 1 2s838ms 2s838ms 12 3 7s391ms 2s463ms 13 2 3s733ms 1s866ms 14 18 53s80ms 2s948ms 15 143 20m9s 8s455ms 16 22 1m36s 4s380ms 17 106 12m39s 7s168ms 18 1 2s420ms 2s420ms 19 5 16s265ms 3s253ms 20 88 7m53s 5s375ms 21 107 9m58s 5s597ms 22 3 9s773ms 3s257ms 23 5 15s473ms 3s94ms Apr 22 00 1 1s296ms 1s296ms 01 1 1s8ms 1s8ms 02 35 1m32s 2s636ms 03 4 8s397ms 2s99ms 04 211 23m10s 6s590ms 05 144 7m36s 3s170ms 07 1 1s259ms 1s259ms 10 133 19m15s 8s685ms 11 92 11m56s 7s783ms 12 54 4m39s 5s183ms 13 3 6s1ms 2s 14 3 11s529ms 3s843ms 15 4 11s211ms 2s802ms 16 3 7s250ms 2s416ms 17 4 15s381ms 3s845ms 18 3 6s156ms 2s52ms 19 3 7s774ms 2s591ms 20 1 3s628ms 3s628ms 21 2 3s695ms 1s847ms 22 1 4s886ms 4s886ms 23 3 7s604ms 2s534ms Apr 23 00 3 7s266ms 2s422ms 01 4 14s790ms 3s697ms 02 2 7s253ms 3s626ms 03 5 10s168ms 2s33ms 04 4 17s182ms 4s295ms 05 1 1s10ms 1s10ms 06 1 2s109ms 2s109ms 07 1 2s797ms 2s797ms 08 4 7s821ms 1s955ms 10 3 10s49ms 3s349ms 12 3 11s187ms 3s729ms 14 2 5s73ms 2s536ms 15 2 2s239ms 1s119ms 16 2 6s255ms 3s127ms 17 3 7s135ms 2s378ms 18 3 5s886ms 1s962ms 19 1 1s273ms 1s273ms 20 2 6s403ms 3s201ms 21 3 9s97ms 3s32ms 23 1 1s41ms 1s41ms Apr 24 05 2 5s798ms 2s899ms 06 1 1s256ms 1s256ms 07 1 5s22ms 5s22ms 09 7 15s893ms 2s270ms 10 3 12s447ms 4s149ms 11 3 4s69ms 1s356ms 12 2 8s632ms 4s316ms 13 2 4s569ms 2s284ms 14 4 8s226ms 2s56ms 15 3 11s280ms 3s760ms 16 2 3s998ms 1s999ms 17 1 1s48ms 1s48ms 18 2 7s596ms 3s798ms 19 3 10s211ms 3s403ms 20 3 12s854ms 4s284ms 21 2 3s856ms 1s928ms 22 4 14s710ms 3s677ms 23 6 15s334ms 2s555ms Apr 25 00 3 7s655ms 2s551ms 02 2 2s681ms 1s340ms 03 1 3s656ms 3s656ms 04 2 6s604ms 3s302ms 05 1 2s152ms 2s152ms 06 1 1s52ms 1s52ms 07 3 8s604ms 2s868ms 08 7 27s925ms 3s989ms 09 11 36s782ms 3s343ms 10 14 47s148ms 3s367ms 11 11 37s881ms 3s443ms 12 12 38s52ms 3s171ms 13 11 33s498ms 3s45ms 14 13 38s727ms 2s979ms 15 13 45s177ms 3s475ms 16 6 25s581ms 4s263ms 17 9 38s8ms 4s223ms 18 8 28s464ms 3s558ms 19 15 52s520ms 3s501ms 20 6 22s769ms 3s794ms 21 5 21s470ms 4s294ms 22 5 24s842ms 4s968ms 23 6 17s 2s833ms Apr 26 00 5 14s814ms 2s962ms 01 5 10s827ms 2s165ms 02 6 15s114ms 2s519ms 03 7 19s732ms 2s818ms 04 12 35s583ms 2s965ms 05 11 30s195ms 2s745ms 06 6 13s704ms 2s284ms 07 6 19s122ms 3s187ms 08 4 13s277ms 3s319ms 09 6 13s734ms 2s289ms 10 6 15s734ms 2s622ms 11 7 18s400ms 2s628ms 12 8 22s663ms 2s832ms 13 3 9s322ms 3s107ms 14 1 2s446ms 2s446ms 15 2 4s530ms 2s265ms 16 5 17s108ms 3s421ms 17 4 13s957ms 3s489ms 18 4 9s907ms 2s476ms 20 7 25s481ms 3s640ms 21 2 7s155ms 3s577ms 22 3 7s403ms 2s467ms 23 5 14s860ms 2s972ms Apr 27 01 1 3s560ms 3s560ms 02 3 8s479ms 2s826ms 03 1 1s267ms 1s267ms 05 4 13s177ms 3s294ms 06 2 3s985ms 1s992ms 07 2 4s870ms 2s435ms 08 2 6s122ms 3s61ms 09 3 8s766ms 2s922ms 10 1 1s104ms 1s104ms 11 2 7s776ms 3s888ms 12 2 3s914ms 1s957ms 13 1 1s48ms 1s48ms 14 3 7s866ms 2s622ms 15 5 14s875ms 2s975ms 16 20 40s941ms 2s47ms 17 10 27s967ms 2s796ms 18 4 13s563ms 3s390ms 19 4 11s4ms 2s751ms 20 3 8s902ms 2s967ms 21 3 11s180ms 3s726ms 22 2 4s574ms 2s287ms [ User: pubeu - Total duration: 1h4m10s - Times executed: 755 ]
-
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 = '1381425') 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 = '1381425') 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: 2024-04-22 04:34:08 Duration: 44s729ms 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 = '1381425') 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 = '1381425') 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: 2024-04-22 04:34:06 Duration: 44s583ms 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 = '1381425') 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 = '1381425') 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: 2024-04-21 15:54:09 Duration: 44s397ms Database: ctdprd51 User: pubeu Bind query: yes
3 1,330 1h59m50s 1s 41s87ms 5s406ms 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 #3
Day Hour Count Duration Avg duration Apr 21 02 2 4s207ms 2s103ms 06 1 2s28ms 2s28ms 08 3 7s921ms 2s640ms 12 2 14s15ms 7s7ms 14 20 53s610ms 2s680ms 15 154 14m35s 5s684ms 16 32 2m28s 4s638ms 17 127 11m59s 5s663ms 19 6 39s815ms 6s635ms 20 104 10m35s 6s111ms 21 124 9m11s 4s446ms Apr 22 00 1 5s935ms 5s935ms 02 43 2m49s 3s944ms 04 178 18m54s 6s376ms 05 99 5m54s 3s579ms 10 119 20m36s 10s388ms 11 66 6m7s 5s561ms 12 33 2m58s 5s405ms 14 2 12s175ms 6s87ms 15 4 16s569ms 4s142ms 17 1 1s989ms 1s989ms 22 1 3s178ms 3s178ms 23 1 3s218ms 3s218ms Apr 23 07 1 1s312ms 1s312ms 11 2 4s582ms 2s291ms 12 3 5s761ms 1s920ms 13 1 1s945ms 1s945ms 15 2 5s323ms 2s661ms 20 1 5s874ms 5s874ms 21 1 1s816ms 1s816ms 22 1 3s214ms 3s214ms 23 1 3s712ms 3s712ms Apr 24 09 1 2s106ms 2s106ms 11 1 5s838ms 5s838ms 13 2 5s64ms 2s532ms 14 2 5s405ms 2s702ms 15 1 1s189ms 1s189ms 17 1 5s919ms 5s919ms 18 5 14s73ms 2s814ms 19 2 4s527ms 2s263ms 20 2 9s291ms 4s645ms 21 2 3s688ms 1s844ms Apr 25 00 1 1s923ms 1s923ms 04 3 11s728ms 3s909ms 06 1 5s775ms 5s775ms 08 3 8s527ms 2s842ms 09 5 13s405ms 2s681ms 10 6 15s179ms 2s529ms 11 6 15s123ms 2s520ms 12 5 13s591ms 2s718ms 13 4 11s595ms 2s898ms 14 5 13s744ms 2s748ms 15 4 11s28ms 2s757ms 16 6 28s476ms 4s746ms 17 6 27s381ms 4s563ms 18 4 23s268ms 5s817ms 19 10 52s263ms 5s226ms 20 4 23s474ms 5s868ms 21 4 23s397ms 5s849ms 22 9 31s243ms 3s471ms 23 5 13s976ms 2s795ms Apr 26 00 4 7s809ms 1s952ms 01 6 15s531ms 2s588ms 02 4 7s835ms 1s958ms 03 5 11s54ms 2s210ms 04 7 14s28ms 2s4ms 05 5 13s60ms 2s612ms 06 3 6s425ms 2s141ms 08 1 2s97ms 2s97ms 10 1 2s66ms 2s66ms 15 1 2s738ms 2s738ms 16 2 3s11ms 1s505ms 17 3 7s50ms 2s350ms 19 1 2s772ms 2s772ms 21 3 5s768ms 1s922ms 22 1 1s955ms 1s955ms 23 3 6s5ms 2s1ms Apr 27 01 1 3s227ms 3s227ms 06 1 3s202ms 3s202ms 07 1 1s582ms 1s582ms 08 1 3s186ms 3s186ms 09 1 5s905ms 5s905ms 10 2 11s735ms 5s867ms 13 1 1s304ms 1s304ms 16 13 30s496ms 2s345ms 17 8 28s964ms 3s620ms 18 1 5s812ms 5s812ms 20 1 5s901ms 5s901ms 21 3 9s373ms 3s124ms [ User: pubeu - Total duration: 47m44s - Times executed: 564 ]
-
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 = '1381425'))) 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: 2024-04-21 20:00:40 Duration: 41s87ms 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 = '1381425'))) 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: 2024-04-22 04:34:04 Duration: 40s876ms 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 = '1381425'))) 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: 2024-04-21 20:00:29 Duration: 37s771ms Bind query: yes
4 748 32m7s 1s2ms 13s851ms 2s576ms 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 #4
Day Hour Count Duration Avg duration Apr 21 02 1 1s256ms 1s256ms 09 2 3s537ms 1s768ms 10 1 1s225ms 1s225ms 12 1 1s951ms 1s951ms 13 2 2s458ms 1s229ms 14 13 26s386ms 2s29ms 15 74 4m10s 3s379ms 16 15 32s786ms 2s185ms 17 93 4m39s 3s6ms 19 10 20s613ms 2s61ms 20 48 2m10s 2s727ms 21 55 2m17s 2s495ms 22 3 4s819ms 1s606ms 23 2 3s11ms 1s505ms Apr 22 01 1 1s204ms 1s204ms 02 25 47s109ms 1s884ms 04 92 4m18s 2s812ms 05 42 1m18s 1s857ms 09 1 1s896ms 1s896ms 10 79 4m48s 3s655ms 11 36 1m47s 2s993ms 12 17 34s957ms 2s56ms 13 1 1s233ms 1s233ms 14 1 1s751ms 1s751ms 15 3 4s779ms 1s593ms 16 1 1s805ms 1s805ms 17 1 1s793ms 1s793ms 19 1 1s212ms 1s212ms 20 2 3s556ms 1s778ms 21 1 1s230ms 1s230ms Apr 23 00 1 1s823ms 1s823ms 03 2 2s432ms 1s216ms 04 1 1s788ms 1s788ms 05 1 1s824ms 1s824ms 07 3 4s829ms 1s609ms 08 2 2s422ms 1s211ms 09 1 1s772ms 1s772ms 10 2 3s22ms 1s511ms 11 1 1s778ms 1s778ms 13 2 3s570ms 1s785ms 14 1 1s238ms 1s238ms 16 1 1s216ms 1s216ms 17 1 1s234ms 1s234ms 19 3 4s773ms 1s591ms 20 1 1s236ms 1s236ms 21 1 1s240ms 1s240ms 22 2 3s130ms 1s565ms Apr 24 05 1 1s786ms 1s786ms 09 1 1s881ms 1s881ms 10 1 1s763ms 1s763ms 11 1 1s801ms 1s801ms 14 2 2s477ms 1s238ms 15 1 1s752ms 1s752ms 18 3 5s494ms 1s831ms 19 1 1s816ms 1s816ms 20 4 6s705ms 1s676ms 23 1 1s816ms 1s816ms Apr 25 00 4 6s68ms 1s517ms 05 1 1s814ms 1s814ms 06 1 1s209ms 1s209ms 07 1 1s769ms 1s769ms 08 1 1s230ms 1s230ms 09 1 1s769ms 1s769ms 11 1 1s249ms 1s249ms 12 1 1s801ms 1s801ms 13 1 1s250ms 1s250ms 14 1 1s242ms 1s242ms 15 2 3s636ms 1s818ms 16 2 3s5ms 1s502ms 19 3 4s876ms 1s625ms 20 1 1s786ms 1s786ms 22 1 1s796ms 1s796ms Apr 26 00 1 1s235ms 1s235ms 01 2 3s551ms 1s775ms 02 2 2s454ms 1s227ms 04 4 6s179ms 1s544ms 05 1 1s758ms 1s758ms 07 1 1s773ms 1s773ms 08 1 1s785ms 1s785ms 09 2 3s62ms 1s531ms 10 1 1s797ms 1s797ms 11 1 1s762ms 1s762ms 14 1 1s237ms 1s237ms 15 1 1s792ms 1s792ms 16 1 1s227ms 1s227ms 17 1 1s785ms 1s785ms 18 1 1s231ms 1s231ms 20 1 1s772ms 1s772ms 22 2 3s555ms 1s777ms 23 1 1s810ms 1s810ms Apr 27 01 1 1s240ms 1s240ms 02 1 1s801ms 1s801ms 03 1 1s762ms 1s762ms 04 1 1s786ms 1s786ms 05 3 4s788ms 1s596ms 07 2 3s1ms 1s500ms 08 2 2s999ms 1s499ms 09 1 1s784ms 1s784ms 10 3 5s382ms 1s794ms 11 1 1s797ms 1s797ms 13 2 3s 1s500ms 14 3 4s283ms 1s427ms 16 2 3s67ms 1s533ms 17 3 4s331ms 1s443ms 18 1 1s227ms 1s227ms 19 2 3s6ms 1s503ms 20 1 1s239ms 1s239ms 21 3 4s795ms 1s598ms 22 1 1s766ms 1s766ms 23 1 1s789ms 1s789ms [ User: pubeu - Total duration: 12m31s - Times executed: 314 ]
-
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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-21 15:16:32 Duration: 13s851ms 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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-22 04:34:07 Duration: 12s726ms 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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-21 20:00:17 Duration: 12s437ms Bind query: yes
5 708 1h17m46s 1s8ms 58s857ms 6s591ms 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 #5
Day Hour Count Duration Avg duration Apr 21 01 2 9s724ms 4s862ms 02 3 9s351ms 3s117ms 04 1 1s395ms 1s395ms 05 3 24s307ms 8s102ms 06 1 1s316ms 1s316ms 07 2 3s760ms 1s880ms 08 1 2s597ms 2s597ms 09 2 2s444ms 1s222ms 10 3 11s400ms 3s800ms 11 2 13s681ms 6s840ms 12 1 2s476ms 2s476ms 13 3 19s92ms 6s364ms 14 8 1m13s 9s180ms 15 32 6m9s 11s540ms 16 2 8s6ms 4s3ms 17 19 4m56s 15s610ms 18 2 12s839ms 6s419ms 19 1 6s189ms 6s189ms 20 14 1m17s 5s557ms 21 41 2m55s 4s275ms 22 1 2s315ms 2s315ms 23 2 7s34ms 3s517ms Apr 22 01 9 48s570ms 5s396ms 02 70 8m37s 7s394ms 03 1 4s430ms 4s430ms 04 64 8m6s 7s603ms 05 34 2m47s 4s928ms 09 1 2s306ms 2s306ms 10 53 7m3s 7s996ms 11 42 7m53s 11s282ms 12 28 2m29s 5s345ms 15 2 6s947ms 3s473ms 17 1 11s701ms 11s701ms 19 3 31s989ms 10s663ms 20 2 3s943ms 1s971ms 21 1 2s483ms 2s483ms 22 2 22s565ms 11s282ms 23 4 37s836ms 9s459ms Apr 23 00 3 15s791ms 5s263ms 03 14 38s418ms 2s744ms 04 9 1m11s 7s946ms 05 1 2s535ms 2s535ms 07 1 2s138ms 2s138ms 08 1 6s180ms 6s180ms 09 1 3s58ms 3s58ms 11 1 2s124ms 2s124ms 12 3 16s680ms 5s560ms 13 2 2s121ms 1s60ms 14 7 1m8s 9s822ms 15 1 7s859ms 7s859ms 16 1 11s552ms 11s552ms 18 2 14s640ms 7s320ms 19 2 3s452ms 1s726ms 22 6 56s390ms 9s398ms Apr 24 06 1 11s836ms 11s836ms 08 1 10s37ms 10s37ms 10 2 8s99ms 4s49ms 11 1 2s213ms 2s213ms 12 2 2s140ms 1s70ms 13 2 14s875ms 7s437ms 14 1 3s110ms 3s110ms 18 1 12s24ms 12s24ms 21 1 1s88ms 1s88ms 22 4 22s535ms 5s633ms 23 3 11s957ms 3s985ms Apr 25 00 1 2s452ms 2s452ms 01 3 11s43ms 3s681ms 02 2 3s844ms 1s922ms 04 1 4s229ms 4s229ms 07 2 13s273ms 6s636ms 09 1 1s666ms 1s666ms 10 2 11s458ms 5s729ms 11 4 18s236ms 4s559ms 12 2 10s535ms 5s267ms 13 4 11s873ms 2s968ms 14 2 6s584ms 3s292ms 15 2 6s673ms 3s336ms 16 1 12s121ms 12s121ms 19 10 49s866ms 4s986ms 20 1 2s553ms 2s553ms 21 1 4s134ms 4s134ms 22 5 38s142ms 7s628ms 23 3 3s680ms 1s226ms Apr 26 00 2 22s599ms 11s299ms 01 5 38s315ms 7s663ms 02 1 1s287ms 1s287ms 03 4 16s641ms 4s160ms 04 1 2s510ms 2s510ms 07 1 7s928ms 7s928ms 08 2 7s23ms 3s511ms 09 2 7s581ms 3s790ms 11 1 10s78ms 10s78ms 12 2 4s619ms 2s309ms 13 1 1s9ms 1s9ms 14 2 6s145ms 3s72ms 15 2 4s997ms 2s498ms 17 1 1s11ms 1s11ms 18 2 3s417ms 1s708ms 19 2 6s836ms 3s418ms 20 1 1s41ms 1s41ms 21 2 9s788ms 4s894ms Apr 27 00 1 11s912ms 11s912ms 01 1 1s154ms 1s154ms 02 2 3s59ms 1s529ms 03 1 1s67ms 1s67ms 04 3 14s677ms 4s892ms 05 1 2s218ms 2s218ms 09 1 10s454ms 10s454ms 10 4 10s98ms 2s524ms 14 2 4s540ms 2s270ms 15 2 10s676ms 5s338ms 16 46 3m6s 4s45ms 17 22 1m23s 3s794ms 18 2 3s484ms 1s742ms 19 1 11s845ms 11s845ms 23 1 1s385ms 1s385ms [ User: pubeu - Total duration: 32m15s - Times executed: 283 ]
-
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 = '2061611') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-21 17:13:48 Duration: 58s857ms 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 = '2061611') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-21 17:13:53 Duration: 51s145ms 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 = '2063367') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-22 10:56:24 Duration: 50s456ms Database: ctdprd51 User: pubeu Bind query: yes
6 638 26m31s 1s 13s239ms 2s493ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, count(gcr.ixn_id) ixncount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join term g on gcr.gene_id = g.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort order by count(gcr.ixn_id) desc, g.nm_sort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 21 14 4 5s43ms 1s260ms 15 120 5m3s 2s529ms 16 12 20s312ms 1s692ms 17 97 4m31s 2s798ms 19 6 15s386ms 2s564ms 20 67 2m33s 2s296ms 21 58 2m12s 2s287ms Apr 22 02 35 57s353ms 1s638ms 03 1 1s308ms 1s308ms 04 78 3m38s 2s800ms 05 21 32s549ms 1s549ms 10 82 3m45s 2s746ms 11 37 1m41s 2s729ms 12 20 52s877ms 2s643ms [ User: pubeu - Total duration: 9m42s - Times executed: 257 ]
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2024-04-21 17:13:18 Duration: 13s239ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2024-04-21 15:53:31 Duration: 12s297ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2024-04-22 04:33:46 Duration: 12s35ms Bind query: yes
7 559 1h35m58s 1s2ms 35s12ms 10s300ms 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 #7
Day Hour Count Duration Avg duration Apr 21 00 1 5s322ms 5s322ms 03 2 11s391ms 5s695ms 05 2 6s594ms 3s297ms 06 1 5s618ms 5s618ms 12 1 5s578ms 5s578ms 14 15 1m33s 6s223ms 15 109 28m41s 15s795ms 16 9 50s689ms 5s632ms 17 55 10m45s 11s740ms 20 63 12m9s 11s576ms 21 58 10m37s 10s994ms Apr 22 00 3 15s425ms 5s141ms 02 12 1m56s 9s711ms 03 1 5s247ms 5s247ms 04 33 4m27s 8s107ms 05 34 2m25s 4s284ms 10 44 8m23s 11s444ms 11 16 3m23s 12s695ms 12 15 2m59s 11s958ms 15 2 9s734ms 4s867ms 16 1 5s304ms 5s304ms 17 1 5s409ms 5s409ms 19 1 1s29ms 1s29ms 20 1 4s733ms 4s733ms 21 1 1s2ms 1s2ms Apr 23 01 1 4s769ms 4s769ms 05 1 5s171ms 5s171ms 09 1 4s947ms 4s947ms 12 1 5s262ms 5s262ms 20 1 5s47ms 5s47ms 21 1 5s359ms 5s359ms 23 1 5s826ms 5s826ms Apr 24 08 5 26s855ms 5s371ms 11 3 15s665ms 5s221ms 20 1 5s414ms 5s414ms 21 8 41s5ms 5s125ms 22 3 17s218ms 5s739ms Apr 25 02 1 5s727ms 5s727ms 03 1 5s927ms 5s927ms 04 1 6s48ms 6s48ms 05 2 2s72ms 1s36ms 06 1 5s281ms 5s281ms 11 1 5s313ms 5s313ms 13 2 5s824ms 2s912ms 14 1 5s318ms 5s318ms 17 1 5s38ms 5s38ms 19 1 5s538ms 5s538ms 21 2 10s80ms 5s40ms Apr 26 00 2 10s348ms 5s174ms 05 1 1s18ms 1s18ms 06 1 5s397ms 5s397ms 07 1 5s332ms 5s332ms 10 1 5s203ms 5s203ms 11 1 5s195ms 5s195ms 15 1 5s205ms 5s205ms 16 2 10s191ms 5s95ms 19 1 5s261ms 5s261ms 21 2 9s711ms 4s855ms 23 1 4s916ms 4s916ms Apr 27 04 2 10s209ms 5s104ms 07 1 4s888ms 4s888ms 10 1 5s57ms 5s57ms 11 1 5s7ms 5s7ms 16 12 54s356ms 4s529ms 17 2 9s792ms 4s896ms 18 1 4s887ms 4s887ms 19 1 4s854ms 4s854ms 20 1 5s29ms 5s29ms 22 1 4s783ms 4s783ms [ User: pubeu - Total duration: 40m55s - Times executed: 242 ]
-
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 = '1255628' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-21 20:00:40 Duration: 35s12ms 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 = '1326444' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-21 21:01:20 Duration: 34s807ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1300382' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-21 20:00:30 Duration: 34s578ms Database: ctdprd51 User: pubeu Bind query: yes
8 466 42m22s 1s1ms 15s206ms 5s455ms select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 21 12 1 1s494ms 1s494ms 14 2 2s97ms 1s48ms 15 67 7m9s 6s406ms 17 18 2m16s 7s569ms 20 15 47s111ms 3s140ms 21 14 44s975ms 3s212ms Apr 22 02 55 5m32s 6s41ms 04 127 12m45s 6s25ms 05 7 18s247ms 2s606ms 10 95 7m56s 5s12ms 11 52 4m20s 5s5ms 12 9 18s947ms 2s105ms Apr 27 16 2 4s864ms 2s432ms 17 2 5s47ms 2s523ms [ User: pubeu - Total duration: 7m19s - Times executed: 111 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2051586');
Date: 2024-04-21 17:13:24 Duration: 15s206ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2064161');
Date: 2024-04-22 04:34:03 Duration: 14s968ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2056338');
Date: 2024-04-22 11:24:12 Duration: 14s767ms Bind query: yes
9 409 9m8s 1s 2s945ms 1s340ms select count(*) from chem_disease cd where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 21 14 4 4s719ms 1s179ms 15 105 2m20s 1s337ms 16 7 7s918ms 1s131ms 17 83 1m53s 1s369ms 19 11 13s205ms 1s200ms 20 39 53s162ms 1s363ms 21 36 52s691ms 1s463ms Apr 22 02 17 20s284ms 1s193ms 04 29 40s732ms 1s404ms 10 41 56s55ms 1s367ms 11 30 36s437ms 1s214ms 12 7 8s955ms 1s279ms [ User: pubeu - Total duration: 1m27s - Times executed: 71 ]
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425');
Date: 2024-04-21 20:00:20 Duration: 2s945ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425');
Date: 2024-04-22 10:19:57 Duration: 2s743ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425');
Date: 2024-04-21 15:15:01 Duration: 2s735ms Bind query: yes
10 375 9m32s 1s194ms 7s654ms 1s527ms 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 #10
Day Hour Count Duration Avg duration Apr 21 00 1 1s252ms 1s252ms 05 2 2s544ms 1s272ms 09 1 1s284ms 1s284ms 11 2 2s512ms 1s256ms 14 1 1s642ms 1s642ms 16 4 7s178ms 1s794ms 17 2 3s334ms 1s667ms 20 5 11s36ms 2s207ms 21 3 4s598ms 1s532ms Apr 22 00 1 1s208ms 1s208ms 02 60 2m36s 2s600ms 03 1 1s215ms 1s215ms 04 53 1m14s 1s408ms 05 48 1m3s 1s319ms 07 1 1s205ms 1s205ms 08 2 2s426ms 1s213ms 10 1 1s330ms 1s330ms 11 17 26s108ms 1s535ms 12 3 3s720ms 1s240ms 15 1 1s200ms 1s200ms 19 1 1s215ms 1s215ms 21 1 1s211ms 1s211ms Apr 23 05 3 3s646ms 1s215ms 11 2 2s420ms 1s210ms 20 1 1s204ms 1s204ms 22 1 1s216ms 1s216ms Apr 24 05 3 3s636ms 1s212ms 09 1 1s212ms 1s212ms 14 1 1s206ms 1s206ms 21 1 1s238ms 1s238ms Apr 25 00 1 1s638ms 1s638ms 04 2 2s858ms 1s429ms 05 2 2s504ms 1s252ms 09 3 3s673ms 1s224ms 13 2 2s541ms 1s270ms 19 11 13s630ms 1s239ms 21 1 1s228ms 1s228ms Apr 26 02 1 1s228ms 1s228ms 05 2 2s480ms 1s240ms 06 1 1s227ms 1s227ms 10 9 11s117ms 1s235ms 13 1 1s263ms 1s263ms 15 2 2s458ms 1s229ms 21 93 1m54s 1s230ms Apr 27 01 1 1s236ms 1s236ms 05 2 2s483ms 1s241ms 09 8 9s910ms 1s238ms 10 5 6s122ms 1s224ms 16 2 2s454ms 1s227ms 17 1 1s236ms 1s236ms 19 1 1s239ms 1s239ms [ User: pubeu - Total duration: 2m49s - Times executed: 101 ]
-
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: 2024-04-22 02:34:39 Duration: 7s654ms 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: 2024-04-22 02:33:39 Duration: 6s616ms 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: 2024-04-22 02:35:00 Duration: 6s131ms Bind query: yes
11 299 24m42s 1s6ms 54s285ms 4s959ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 21 14 9 30s715ms 3s412ms 15 58 3m55s 4s55ms 16 3 22s601ms 7s533ms 17 32 2m45s 5s170ms 19 1 3s944ms 3s944ms 20 39 3m47s 5s837ms 21 33 2m16s 4s150ms Apr 22 02 9 29s688ms 3s298ms 04 24 1m33s 3s901ms 05 9 51s574ms 5s730ms 10 42 4m4s 5s819ms 11 15 1m23s 5s556ms 12 8 2m7s 15s925ms 14 4 4s203ms 1s50ms Apr 23 10 1 1s873ms 1s873ms 23 2 2s616ms 1s308ms Apr 24 14 1 4s339ms 4s339ms Apr 25 01 1 1s261ms 1s261ms 22 1 4s256ms 4s256ms Apr 26 00 2 2s166ms 1s83ms Apr 27 03 1 1s862ms 1s862ms 16 3 3s497ms 1s165ms 23 1 4s317ms 4s317ms [ User: pubeu - Total duration: 9m24s - Times executed: 131 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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: 2024-04-21 20:01:01 Duration: 54s285ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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: 2024-04-21 20:01:11 Duration: 49s176ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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: 2024-04-22 10:19:58 Duration: 46s858ms Bind query: yes
12 295 19m58s 3s610ms 36s700ms 4s64ms 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 Apr 21 01 1 4s17ms 4s17ms 04 1 4s40ms 4s40ms 06 1 4s7ms 4s7ms 07 2 7s876ms 3s938ms 08 1 3s977ms 3s977ms 10 1 4s1ms 4s1ms 11 4 15s890ms 3s972ms 13 1 3s752ms 3s752ms 14 1 3s711ms 3s711ms 19 3 11s439ms 3s813ms 21 2 7s444ms 3s722ms 23 1 3s758ms 3s758ms Apr 22 00 1 3s774ms 3s774ms 01 2 7s744ms 3s872ms 02 5 34s408ms 6s881ms 03 4 15s58ms 3s764ms 04 7 1m8s 9s838ms 05 16 1m7s 4s237ms 08 7 26s867ms 3s838ms 09 3 11s146ms 3s715ms 10 1 7s998ms 7s998ms 11 2 7s362ms 3s681ms 13 1 3s666ms 3s666ms 14 4 15s68ms 3s767ms 15 4 15s1ms 3s750ms 16 1 3s878ms 3s878ms 17 1 3s814ms 3s814ms 20 2 7s883ms 3s941ms 21 3 11s175ms 3s725ms 22 4 15s195ms 3s798ms 23 2 7s445ms 3s722ms Apr 23 01 2 7s548ms 3s774ms 02 6 23s377ms 3s896ms 03 2 7s733ms 3s866ms 04 1 3s925ms 3s925ms 06 1 3s621ms 3s621ms 08 2 7s574ms 3s787ms 09 1 3s825ms 3s825ms 10 4 14s976ms 3s744ms 11 1 4s92ms 4s92ms 12 1 3s665ms 3s665ms 13 1 3s617ms 3s617ms 14 1 3s626ms 3s626ms 15 1 3s705ms 3s705ms 16 1 3s639ms 3s639ms 17 1 3s795ms 3s795ms 19 2 7s511ms 3s755ms 20 2 7s267ms 3s633ms 21 2 7s274ms 3s637ms 22 1 3s740ms 3s740ms Apr 24 05 2 7s509ms 3s754ms 06 5 18s728ms 3s745ms 07 2 7s423ms 3s711ms 08 4 16s391ms 4s97ms 09 3 11s424ms 3s808ms 10 7 26s621ms 3s803ms 11 1 3s899ms 3s899ms 12 7 26s727ms 3s818ms 13 7 27s987ms 3s998ms 14 2 7s679ms 3s839ms 15 2 7s391ms 3s695ms 16 2 7s328ms 3s664ms 17 3 11s315ms 3s771ms 20 2 7s526ms 3s763ms 22 1 4s21ms 4s21ms 23 1 4s48ms 4s48ms Apr 25 00 1 3s786ms 3s786ms 01 1 3s728ms 3s728ms 02 5 19s639ms 3s927ms 03 5 20s41ms 4s8ms 04 1 3s999ms 3s999ms 05 12 46s264ms 3s855ms 06 1 3s856ms 3s856ms 07 4 14s977ms 3s744ms 08 1 3s867ms 3s867ms 09 2 7s750ms 3s875ms 10 1 3s731ms 3s731ms 11 1 3s932ms 3s932ms 12 2 9s533ms 4s766ms 13 6 22s621ms 3s770ms 15 1 3s793ms 3s793ms 16 1 3s693ms 3s693ms 17 1 3s879ms 3s879ms 21 6 22s923ms 3s820ms 22 3 11s584ms 3s861ms 23 2 7s538ms 3s769ms Apr 26 01 1 3s716ms 3s716ms 03 2 7s511ms 3s755ms 04 2 8s622ms 4s311ms 05 14 54s544ms 3s896ms 06 1 3s839ms 3s839ms 07 1 3s684ms 3s684ms 08 1 4s108ms 4s108ms 09 4 15s438ms 3s859ms 10 3 11s524ms 3s841ms 11 3 11s396ms 3s798ms 12 3 11s289ms 3s763ms 13 2 7s693ms 3s846ms 14 6 23s230ms 3s871ms 16 2 7s551ms 3s775ms Apr 27 02 1 3s731ms 3s731ms 04 1 3s725ms 3s725ms 05 1 3s758ms 3s758ms 06 3 11s180ms 3s726ms 07 2 7s423ms 3s711ms 09 2 7s408ms 3s704ms 10 3 11s449ms 3s816ms 13 1 3s688ms 3s688ms 14 2 7s501ms 3s750ms 17 1 3s820ms 3s820ms 18 1 3s960ms 3s960ms 21 1 3s655ms 3s655ms 22 1 3s740ms 3s740ms [ User: pubeu - Total duration: 9m28s - Times executed: 143 ]
[ User: qaeu - Total duration: 15s672ms - Times executed: 4 ]
-
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 = '1420158') 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 = '1420158') 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: 2024-04-22 04:48:21 Duration: 36s700ms 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 = '1293510') 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 = '1293510') 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: 2024-04-22 02:26:12 Duration: 18s628ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1376003') 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 = '1376003') 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: 2024-04-22 04:50:29 Duration: 10s550ms Bind query: yes
13 290 1h28m53s 1s20ms 2m10s 18s390ms 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 Apr 21 02 1 18s790ms 18s790ms 03 1 1s52ms 1s52ms 04 1 1s43ms 1s43ms 10 2 32s359ms 16s179ms 14 1 1s528ms 1s528ms 15 5 6m48s 1m21s 17 3 1m 20s283ms 20 1 9s122ms 9s122ms 21 3 49s571ms 16s523ms 23 1 1s32ms 1s32ms Apr 22 02 91 38m50s 25s613ms 04 66 22m53s 20s810ms 05 11 2m36s 14s259ms 08 2 2s465ms 1s232ms 10 3 54s552ms 18s184ms 11 18 2m52s 9s569ms 12 4 1m49s 27s272ms 13 2 9s231ms 4s615ms 14 3 31s526ms 10s508ms 15 3 45s604ms 15s201ms 17 2 2s575ms 1s287ms 20 1 3s433ms 3s433ms 21 1 2s749ms 2s749ms Apr 23 00 1 1s359ms 1s359ms 01 1 17s906ms 17s906ms 03 1 1s30ms 1s30ms 04 1 3s136ms 3s136ms 10 2 37s274ms 18s637ms 11 3 20s460ms 6s820ms 12 1 1s212ms 1s212ms 16 1 14s550ms 14s550ms Apr 24 05 1 1s558ms 1s558ms 06 1 1s25ms 1s25ms 17 2 7s286ms 3s643ms 22 1 3s407ms 3s407ms Apr 25 00 1 3s915ms 3s915ms 01 1 1s530ms 1s530ms 04 1 1s293ms 1s293ms 07 1 1s64ms 1s64ms 09 1 1s34ms 1s34ms 11 1 1s765ms 1s765ms 12 1 1s342ms 1s342ms 14 2 4s780ms 2s390ms 15 1 8s325ms 8s325ms 21 1 1s53ms 1s53ms 22 2 5s625ms 2s812ms Apr 26 06 4 1m23s 20s953ms 07 1 1s118ms 1s118ms 08 2 23s522ms 11s761ms 11 2 7s214ms 3s607ms 12 1 14s180ms 14s180ms 16 2 10s187ms 5s93ms 17 1 3s4ms 3s4ms 18 1 6s373ms 6s373ms 20 1 1s203ms 1s203ms 22 1 2s790ms 2s790ms Apr 27 01 1 18s49ms 18s49ms 07 1 1s29ms 1s29ms 10 1 3s255ms 3s255ms 16 5 42s978ms 8s595ms 17 9 1m24s 9s438ms 19 1 2s869ms 2s869ms 21 1 6s602ms 6s602ms [ User: pubeu - Total duration: 26m38s - Times executed: 99 ]
-
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 = '1206427') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-22 02:35:31 Duration: 2m10s 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 = '1206427') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-22 02:36:07 Duration: 1m51s 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 = '1206427') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-22 02:34:52 Duration: 1m41s Bind query: yes
14 229 6m38s 1s100ms 12s606ms 1s741ms 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 #14
Day Hour Count Duration Avg duration Apr 21 00 1 1s226ms 1s226ms 01 2 2s442ms 1s221ms 03 4 4s781ms 1s195ms 05 2 2s702ms 1s351ms 06 2 2s436ms 1s218ms 08 1 1s267ms 1s267ms 09 1 1s258ms 1s258ms 10 2 2s385ms 1s192ms 11 2 2s514ms 1s257ms 12 2 6s177ms 3s88ms 13 4 4s576ms 1s144ms 14 2 2s318ms 1s159ms 15 9 29s597ms 3s288ms 16 2 2s306ms 1s153ms 17 6 18s324ms 3s54ms 18 1 1s100ms 1s100ms 19 1 1s201ms 1s201ms 20 1 5s69ms 5s69ms 21 1 1s147ms 1s147ms Apr 22 01 2 2s397ms 1s198ms 02 19 49s758ms 2s618ms 04 5 7s67ms 1s413ms 05 7 10s788ms 1s541ms 10 11 37s328ms 3s393ms 11 6 33s679ms 5s613ms 12 2 2s893ms 1s446ms 14 2 2s444ms 1s222ms 22 2 2s354ms 1s177ms Apr 23 02 1 1s925ms 1s925ms 03 1 1s193ms 1s193ms 05 4 4s990ms 1s247ms 09 3 3s487ms 1s162ms 11 1 1s252ms 1s252ms 13 1 1s199ms 1s199ms 15 2 2s376ms 1s188ms 16 1 1s160ms 1s160ms 18 2 2s365ms 1s182ms 19 2 2s269ms 1s134ms Apr 24 05 2 2s646ms 1s323ms 08 4 4s885ms 1s221ms 09 3 3s454ms 1s151ms 12 1 1s210ms 1s210ms 13 1 1s196ms 1s196ms 20 1 1s169ms 1s169ms 21 3 3s612ms 1s204ms Apr 25 02 3 3s686ms 1s228ms 04 1 1s152ms 1s152ms 05 2 2s670ms 1s335ms 11 6 7s12ms 1s168ms 12 4 4s642ms 1s160ms 13 3 3s873ms 1s291ms 15 1 1s565ms 1s565ms 16 1 1s169ms 1s169ms 19 2 2s561ms 1s280ms 21 2 2s357ms 1s178ms 22 4 4s886ms 1s221ms 23 3 3s782ms 1s260ms Apr 26 00 2 2s316ms 1s158ms 04 2 2s384ms 1s192ms 05 5 6s797ms 1s359ms 06 2 2s679ms 1s339ms 13 1 1s446ms 1s446ms 15 1 1s171ms 1s171ms 16 2 2s495ms 1s247ms 17 1 1s193ms 1s193ms Apr 27 01 1 1s189ms 1s189ms 02 3 3s540ms 1s180ms 05 2 2s767ms 1s383ms 07 2 2s344ms 1s172ms 14 1 1s259ms 1s259ms 16 27 34s261ms 1s268ms 18 1 1s196ms 1s196ms 19 2 2s308ms 1s154ms 21 3 3s436ms 1s145ms 23 4 4s757ms 1s189ms [ User: pubeu - Total duration: 1m37s - Times executed: 64 ]
[ User: qaeu - Total duration: 1s305ms - Times executed: 1 ]
-
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 = '2056028') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2056028') 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: 2024-04-22 10:55:50 Duration: 12s606ms 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 = '2056337') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2056337') 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: 2024-04-22 11:24:09 Duration: 11s169ms 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 = '2058652') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2058652') 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: 2024-04-22 02:34:42 Duration: 10s985ms Bind query: yes
15 216 5h16m57s 1s5ms 18m35s 1m28s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 21 08 1 23s513ms 23s513ms 13 1 1m36s 1m36s 14 4 51s299ms 12s824ms 15 56 1h54m59s 2m3s 16 5 3m43s 44s634ms 17 34 1h2m19s 1m49s 19 6 16s646ms 2s774ms 20 19 58m11s 3m3s 21 32 30m35s 57s363ms Apr 22 02 4 5s275ms 1s318ms 04 7 44s243ms 6s320ms 05 4 1m29s 22s391ms 10 16 22m4s 1m22s 11 10 9m22s 56s243ms 12 4 15s883ms 3s970ms Apr 23 17 1 1s872ms 1s872ms Apr 25 23 1 2s34ms 2s34ms Apr 26 03 2 1m12s 36s30ms 04 2 3m46s 1m53s 06 2 2m39s 1m19s 11 1 40s23ms 40s23ms Apr 27 10 1 30s370ms 30s370ms 16 1 1s945ms 1s945ms 18 1 28s404ms 28s404ms 23 1 35s116ms 35s116ms [ User: pubeu - Total duration: 2h32m59s - Times executed: 88 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1420575')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-21 15:33:10 Duration: 18m35s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1420574')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-21 15:30:26 Duration: 14m36s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1420574')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-21 15:30:09 Duration: 14m30s Database: ctdprd51 User: pubeu Bind query: yes
16 204 8h27m42s 1s359ms 24m33s 2m29s 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 #16
Day Hour Count Duration Avg duration Apr 21 09 1 3s152ms 3s152ms 10 1 19m54s 19m54s 11 1 3s223ms 3s223ms 15 2 49m7s 24m33s 17 4 21m54s 5m28s 20 1 2s289ms 2s289ms 21 7 24m42s 3m31s Apr 22 01 1 1s564ms 1s564ms 02 66 3h19m36s 3m1s 04 53 1h8m16s 1m17s 05 7 26s872ms 3s838ms 08 2 3s826ms 1s913ms 10 2 12s113ms 6s56ms 11 17 43m20s 2m32s 12 3 40s119ms 13s373ms 14 1 1s638ms 1s638ms 15 1 3m38s 3m38s Apr 23 04 2 8m28s 4m14s 05 1 2s330ms 2s330ms 10 1 1s539ms 1s539ms 12 2 2s965ms 1s482ms Apr 24 06 1 3s177ms 3s177ms 11 1 1s565ms 1s565ms 14 1 1s467ms 1s467ms 20 1 3s72ms 3s72ms Apr 25 10 1 3s684ms 3s684ms 11 2 5s833ms 2s916ms 12 1 1s552ms 1s552ms 23 1 2s379ms 2s379ms Apr 26 00 1 2s372ms 2s372ms 02 1 1s509ms 1s509ms 08 1 2s47ms 2s47ms 09 1 1s538ms 1s538ms 16 1 1s546ms 1s546ms 20 1 3s190ms 3s190ms 23 1 4m11s 4m11s Apr 27 04 1 3s165ms 3s165ms 09 1 1s452ms 1s452ms 12 1 8m48s 8m48s 16 3 27m14s 9m4s 17 3 26m 8m40s 18 1 1s663ms 1s663ms 19 2 5s998ms 2s999ms [ User: pubeu - Total duration: 3h2m17s - Times executed: 87 ]
-
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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-21 15:41:08 Duration: 24m33s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-21 15:40:56 Duration: 24m33s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-22 02:49:21 Duration: 24m6s Bind query: yes
17 200 11m48s 1s 2m11s 3s544ms select distinct childterm.acc_txt from term childterm, term baseterm, dag_path dag where baseterm.id = ? and baseterm.id = dag.ancestor_object_id and childterm.id = dag.descendant_object_id union select acc_txt from term where id = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 21 14 1 1s43ms 1s43ms 15 42 5m24s 7s731ms 16 3 5s522ms 1s840ms 17 15 29s916ms 1s994ms 20 14 25s763ms 1s840ms 21 20 34s911ms 1s745ms Apr 22 02 14 1m 4s344ms 04 36 1m28s 2s461ms 05 3 6s777ms 2s259ms 10 29 1m9s 2s398ms 11 10 20s435ms 2s43ms 12 8 32s724ms 4s90ms Apr 25 11 1 1s243ms 1s243ms Apr 26 06 1 1s236ms 1s236ms 19 1 1s843ms 1s843ms Apr 27 16 1 1s921ms 1s921ms 17 1 1s877ms 1s877ms [ User: pubeu - Total duration: 9s746ms - Times executed: 3 ]
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1206427' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1206427';
Date: 2024-04-21 15:18:43 Duration: 2m11s Bind query: yes
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1206427' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1206427';
Date: 2024-04-21 15:18:43 Duration: 2m2s Bind query: yes
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1206427' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1206427';
Date: 2024-04-22 04:48:41 Duration: 9s519ms Bind query: yes
18 194 48m24s 3s979ms 34m17s 14s970ms select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 26 09 192 48m15s 15s80ms 10 2 8s748ms 4s374ms [ User: qaeu - Total duration: 34m17s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-04-26 09:25:06 Duration: 34m17s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-04-26 09:43:42 Duration: 5s903ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-04-26 09:37:28 Duration: 5s719ms Bind query: yes
19 177 39m22s 1s7ms 1m32s 13s346ms 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 #19
Day Hour Count Duration Avg duration Apr 21 17 1 1s307ms 1s307ms 20 1 1s627ms 1s627ms 21 5 37s750ms 7s550ms Apr 22 02 72 19m52s 16s564ms 04 45 11m15s 15s2ms 05 12 1m46s 8s848ms 10 4 41s35ms 10s258ms 11 14 45s627ms 3s259ms 12 2 1m39s 49s844ms Apr 23 15 1 1s64ms 1s64ms Apr 24 18 1 10s567ms 10s567ms 22 1 2s796ms 2s796ms Apr 25 00 1 3s428ms 3s428ms 03 1 5s741ms 5s741ms 04 1 10s875ms 10s875ms 21 1 15s278ms 15s278ms 22 1 3s750ms 3s750ms Apr 26 04 1 15s499ms 15s499ms 06 5 40s292ms 8s58ms Apr 27 10 1 1s37ms 1s37ms 16 2 16s790ms 8s395ms 17 3 31s832ms 10s610ms 19 1 2s337ms 2s337ms [ User: pubeu - Total duration: 14m17s - Times executed: 64 ]
-
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 = '1206427'))) 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: 2024-04-22 02:35:28 Duration: 1m32s 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 = '1206427'))) 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: 2024-04-22 02:35:14 Duration: 1m28s 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 = '1206427'))) 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: 2024-04-22 02:35:36 Duration: 1m21s Bind query: yes
20 176 5m30s 1s290ms 8s792ms 1s877ms 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 #20
Day Hour Count Duration Avg duration Apr 21 01 2 2s833ms 1s416ms 04 8 11s415ms 1s426ms 05 2 2s860ms 1s430ms 08 1 1s400ms 1s400ms 09 5 7s91ms 1s418ms 15 3 19s894ms 6s631ms 16 1 1s385ms 1s385ms 17 4 27s965ms 6s991ms 19 1 1s322ms 1s322ms 20 2 9s887ms 4s943ms 21 7 31s319ms 4s474ms 22 1 1s358ms 1s358ms 23 1 1s305ms 1s305ms Apr 22 00 1 1s322ms 1s322ms 01 2 2s608ms 1s304ms 02 7 12s191ms 1s741ms 03 1 1s355ms 1s355ms 04 5 7s41ms 1s408ms 05 7 10s818ms 1s545ms 07 1 1s422ms 1s422ms 08 5 6s688ms 1s337ms 09 2 2s679ms 1s339ms 10 5 19s570ms 3s914ms 11 8 16s697ms 2s87ms 12 3 4s162ms 1s387ms 18 1 1s296ms 1s296ms 20 3 3s964ms 1s321ms Apr 23 04 4 5s380ms 1s345ms 05 3 3s934ms 1s311ms 07 1 1s343ms 1s343ms 08 3 4s76ms 1s358ms 10 2 2s673ms 1s336ms 15 1 1s320ms 1s320ms Apr 24 05 2 2s633ms 1s316ms 06 2 2s641ms 1s320ms 10 1 1s323ms 1s323ms 16 1 1s335ms 1s335ms 20 3 4s55ms 1s351ms 21 6 8s491ms 1s415ms 23 1 1s442ms 1s442ms Apr 25 01 1 1s434ms 1s434ms 04 2 2s797ms 1s398ms 05 1 1s434ms 1s434ms 07 1 1s375ms 1s375ms 08 1 1s347ms 1s347ms 13 1 1s459ms 1s459ms 14 1 1s403ms 1s403ms Apr 26 00 1 1s393ms 1s393ms 02 1 1s375ms 1s375ms 04 2 2s636ms 1s318ms 05 4 5s559ms 1s389ms 09 1 1s363ms 1s363ms 10 2 2s663ms 1s331ms 12 1 1s325ms 1s325ms 13 1 1s464ms 1s464ms 15 2 2s661ms 1s330ms 19 1 1s334ms 1s334ms 20 2 2s654ms 1s327ms 21 1 1s426ms 1s426ms 22 1 1s303ms 1s303ms Apr 27 03 2 2s683ms 1s341ms 05 2 2s817ms 1s408ms 08 3 4s19ms 1s339ms 13 1 1s335ms 1s335ms 16 1 1s340ms 1s340ms 17 20 27s371ms 1s368ms [ User: pubeu - Total duration: 1m34s - Times executed: 55 ]
[ User: qaeu - Total duration: 1s464ms - Times executed: 1 ]
-
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: 2024-04-21 21:01:11 Duration: 8s792ms 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: 2024-04-21 21:01:17 Duration: 8s714ms 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: 2024-04-21 15:53:55 Duration: 8s336ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 1h53m13s 1h53m13s 1h53m13s 1 1h53m13s select pub2.maint_term_derive_data ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 25 05 1 1h53m13s 1h53m13s -
select pub2.maint_term_derive_data ();
Date: 2024-04-25 05:38:37 Duration: 1h53m13s Bind query: yes
2 1h33m49s 1h33m49s 1h33m49s 1 1h33m49s select pub2.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 25 01 1 1h33m49s 1h33m49s -
select pub2.maint_gene_chem_ref_gene_form_refresh ();
Date: 2024-04-25 01:49:58 Duration: 1h33m49s Bind query: yes
3 1h1m35s 1h1m35s 1h1m35s 1 1h1m35s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 25 02 1 1h1m35s 1h1m35s -
SELECT maint_term_derive_nm_fts ();
Date: 2024-04-25 02:54:24 Duration: 1h1m35s Bind query: yes
4 0ms 45m15s 45m15s 1 45m15s vacuum full analyze;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 25 03 1 45m15s 45m15s -
VACUUM FULL ANALYZE;
Date: 2024-04-25 03:44:59 Duration: 45m15s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2024-04-25 02:59:53 Duration: 0ms
5 38m14s 38m14s 38m14s 1 38m14s select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.object_type where cd = ?), ptr.term_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.phenotype_term_reference ptr, pub2.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 24 20 1 38m14s 38m14s -
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2024-04-24 20:11:29 Duration: 38m14s Bind query: yes
6 36m53s 36m53s 36m53s 1 36m53s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.gene_go_annot gga, pub2.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 24 20 1 36m53s 36m53s -
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2024-04-24 20:48:28 Duration: 36m53s Bind query: yes
7 34m27s 34m27s 34m27s 1 34m27s select pub2.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 25 06 1 34m27s 34m27s -
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2024-04-25 06:23:18 Duration: 34m27s Bind query: yes
-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2024-04-25 06:19:03 Duration: 0ms
8 15m34s 15m46s 15m40s 7 1h49m40s select maint_query_logs_archive ();Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 21 00 1 15m35s 15m35s Apr 22 00 1 15m34s 15m34s Apr 23 00 1 15m43s 15m43s Apr 24 00 1 15m34s 15m34s Apr 25 00 1 15m46s 15m46s Apr 26 00 1 15m44s 15m44s Apr 27 00 1 15m41s 15m41s -
/* * 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: 2024-04-25 00:15:47 Duration: 15m46s
-
/* * 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: 2024-04-26 00:15:46 Duration: 15m44s
-
/* * 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: 2024-04-23 00:15:44 Duration: 15m43s
9 1s359ms 24m33s 2m29s 204 8h27m42s 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 #9
Day Hour Count Duration Avg duration Apr 21 09 1 3s152ms 3s152ms 10 1 19m54s 19m54s 11 1 3s223ms 3s223ms 15 2 49m7s 24m33s 17 4 21m54s 5m28s 20 1 2s289ms 2s289ms 21 7 24m42s 3m31s Apr 22 01 1 1s564ms 1s564ms 02 66 3h19m36s 3m1s 04 53 1h8m16s 1m17s 05 7 26s872ms 3s838ms 08 2 3s826ms 1s913ms 10 2 12s113ms 6s56ms 11 17 43m20s 2m32s 12 3 40s119ms 13s373ms 14 1 1s638ms 1s638ms 15 1 3m38s 3m38s Apr 23 04 2 8m28s 4m14s 05 1 2s330ms 2s330ms 10 1 1s539ms 1s539ms 12 2 2s965ms 1s482ms Apr 24 06 1 3s177ms 3s177ms 11 1 1s565ms 1s565ms 14 1 1s467ms 1s467ms 20 1 3s72ms 3s72ms Apr 25 10 1 3s684ms 3s684ms 11 2 5s833ms 2s916ms 12 1 1s552ms 1s552ms 23 1 2s379ms 2s379ms Apr 26 00 1 2s372ms 2s372ms 02 1 1s509ms 1s509ms 08 1 2s47ms 2s47ms 09 1 1s538ms 1s538ms 16 1 1s546ms 1s546ms 20 1 3s190ms 3s190ms 23 1 4m11s 4m11s Apr 27 04 1 3s165ms 3s165ms 09 1 1s452ms 1s452ms 12 1 8m48s 8m48s 16 3 27m14s 9m4s 17 3 26m 8m40s 18 1 1s663ms 1s663ms 19 2 5s998ms 2s999ms [ User: pubeu - Total duration: 3h2m17s - Times executed: 87 ]
-
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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-21 15:41:08 Duration: 24m33s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-21 15:40:56 Duration: 24m33s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-22 02:49:21 Duration: 24m6s Bind query: yes
10 1s5ms 18m35s 1m28s 216 5h16m57s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 21 08 1 23s513ms 23s513ms 13 1 1m36s 1m36s 14 4 51s299ms 12s824ms 15 56 1h54m59s 2m3s 16 5 3m43s 44s634ms 17 34 1h2m19s 1m49s 19 6 16s646ms 2s774ms 20 19 58m11s 3m3s 21 32 30m35s 57s363ms Apr 22 02 4 5s275ms 1s318ms 04 7 44s243ms 6s320ms 05 4 1m29s 22s391ms 10 16 22m4s 1m22s 11 10 9m22s 56s243ms 12 4 15s883ms 3s970ms Apr 23 17 1 1s872ms 1s872ms Apr 25 23 1 2s34ms 2s34ms Apr 26 03 2 1m12s 36s30ms 04 2 3m46s 1m53s 06 2 2m39s 1m19s 11 1 40s23ms 40s23ms Apr 27 10 1 30s370ms 30s370ms 16 1 1s945ms 1s945ms 18 1 28s404ms 28s404ms 23 1 35s116ms 35s116ms [ User: pubeu - Total duration: 2h32m59s - Times executed: 88 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1420575')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-21 15:33:10 Duration: 18m35s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1420574')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-21 15:30:26 Duration: 14m36s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1420574')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-21 15:30:09 Duration: 14m30s Database: ctdprd51 User: pubeu Bind query: yes
11 1s325ms 6m24s 36s78ms 72 43m17s select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 24 13 31 12m37s 24s433ms 14 8 7m17s 54s723ms 18 6 1m5s 10s986ms 20 2 6m37s 3m18s 21 4 8m2s 2m 22 14 3m57s 16s935ms 23 7 3m39s 31s419ms [ User: load - Total duration: 13m24s - Times executed: 23 ]
[ Application: pg_bulkload - Total duration: 13m24s - Times executed: 23 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2024-04-24 20:59:22 Duration: 6m24s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2024-04-24 21:26:57 Duration: 5m26s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2024-04-24 13:48:39 Duration: 3m28s Bind query: yes
12 1s20ms 2m10s 18s390ms 290 1h28m53s 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 Apr 21 02 1 18s790ms 18s790ms 03 1 1s52ms 1s52ms 04 1 1s43ms 1s43ms 10 2 32s359ms 16s179ms 14 1 1s528ms 1s528ms 15 5 6m48s 1m21s 17 3 1m 20s283ms 20 1 9s122ms 9s122ms 21 3 49s571ms 16s523ms 23 1 1s32ms 1s32ms Apr 22 02 91 38m50s 25s613ms 04 66 22m53s 20s810ms 05 11 2m36s 14s259ms 08 2 2s465ms 1s232ms 10 3 54s552ms 18s184ms 11 18 2m52s 9s569ms 12 4 1m49s 27s272ms 13 2 9s231ms 4s615ms 14 3 31s526ms 10s508ms 15 3 45s604ms 15s201ms 17 2 2s575ms 1s287ms 20 1 3s433ms 3s433ms 21 1 2s749ms 2s749ms Apr 23 00 1 1s359ms 1s359ms 01 1 17s906ms 17s906ms 03 1 1s30ms 1s30ms 04 1 3s136ms 3s136ms 10 2 37s274ms 18s637ms 11 3 20s460ms 6s820ms 12 1 1s212ms 1s212ms 16 1 14s550ms 14s550ms Apr 24 05 1 1s558ms 1s558ms 06 1 1s25ms 1s25ms 17 2 7s286ms 3s643ms 22 1 3s407ms 3s407ms Apr 25 00 1 3s915ms 3s915ms 01 1 1s530ms 1s530ms 04 1 1s293ms 1s293ms 07 1 1s64ms 1s64ms 09 1 1s34ms 1s34ms 11 1 1s765ms 1s765ms 12 1 1s342ms 1s342ms 14 2 4s780ms 2s390ms 15 1 8s325ms 8s325ms 21 1 1s53ms 1s53ms 22 2 5s625ms 2s812ms Apr 26 06 4 1m23s 20s953ms 07 1 1s118ms 1s118ms 08 2 23s522ms 11s761ms 11 2 7s214ms 3s607ms 12 1 14s180ms 14s180ms 16 2 10s187ms 5s93ms 17 1 3s4ms 3s4ms 18 1 6s373ms 6s373ms 20 1 1s203ms 1s203ms 22 1 2s790ms 2s790ms Apr 27 01 1 18s49ms 18s49ms 07 1 1s29ms 1s29ms 10 1 3s255ms 3s255ms 16 5 42s978ms 8s595ms 17 9 1m24s 9s438ms 19 1 2s869ms 2s869ms 21 1 6s602ms 6s602ms [ User: pubeu - Total duration: 26m38s - Times executed: 99 ]
-
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 = '1206427') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-22 02:35:31 Duration: 2m10s 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 = '1206427') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-22 02:36:07 Duration: 1m51s 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 = '1206427') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-22 02:34:52 Duration: 1m41s Bind query: yes
13 3s979ms 34m17s 14s970ms 194 48m24s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 26 09 192 48m15s 15s80ms 10 2 8s748ms 4s374ms [ User: qaeu - Total duration: 34m17s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-04-26 09:25:06 Duration: 34m17s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-04-26 09:43:42 Duration: 5s903ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-04-26 09:37:28 Duration: 5s719ms Bind query: yes
14 1s7ms 1m32s 13s346ms 177 39m22s 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 #14
Day Hour Count Duration Avg duration Apr 21 17 1 1s307ms 1s307ms 20 1 1s627ms 1s627ms 21 5 37s750ms 7s550ms Apr 22 02 72 19m52s 16s564ms 04 45 11m15s 15s2ms 05 12 1m46s 8s848ms 10 4 41s35ms 10s258ms 11 14 45s627ms 3s259ms 12 2 1m39s 49s844ms Apr 23 15 1 1s64ms 1s64ms Apr 24 18 1 10s567ms 10s567ms 22 1 2s796ms 2s796ms Apr 25 00 1 3s428ms 3s428ms 03 1 5s741ms 5s741ms 04 1 10s875ms 10s875ms 21 1 15s278ms 15s278ms 22 1 3s750ms 3s750ms Apr 26 04 1 15s499ms 15s499ms 06 5 40s292ms 8s58ms Apr 27 10 1 1s37ms 1s37ms 16 2 16s790ms 8s395ms 17 3 31s832ms 10s610ms 19 1 2s337ms 2s337ms [ User: pubeu - Total duration: 14m17s - Times executed: 64 ]
-
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 = '1206427'))) 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: 2024-04-22 02:35:28 Duration: 1m32s 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 = '1206427'))) 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: 2024-04-22 02:35:14 Duration: 1m28s 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 = '1206427'))) 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: 2024-04-22 02:35:36 Duration: 1m21s Bind query: yes
15 1s2ms 35s12ms 10s300ms 559 1h35m58s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 21 00 1 5s322ms 5s322ms 03 2 11s391ms 5s695ms 05 2 6s594ms 3s297ms 06 1 5s618ms 5s618ms 12 1 5s578ms 5s578ms 14 15 1m33s 6s223ms 15 109 28m41s 15s795ms 16 9 50s689ms 5s632ms 17 55 10m45s 11s740ms 20 63 12m9s 11s576ms 21 58 10m37s 10s994ms Apr 22 00 3 15s425ms 5s141ms 02 12 1m56s 9s711ms 03 1 5s247ms 5s247ms 04 33 4m27s 8s107ms 05 34 2m25s 4s284ms 10 44 8m23s 11s444ms 11 16 3m23s 12s695ms 12 15 2m59s 11s958ms 15 2 9s734ms 4s867ms 16 1 5s304ms 5s304ms 17 1 5s409ms 5s409ms 19 1 1s29ms 1s29ms 20 1 4s733ms 4s733ms 21 1 1s2ms 1s2ms Apr 23 01 1 4s769ms 4s769ms 05 1 5s171ms 5s171ms 09 1 4s947ms 4s947ms 12 1 5s262ms 5s262ms 20 1 5s47ms 5s47ms 21 1 5s359ms 5s359ms 23 1 5s826ms 5s826ms Apr 24 08 5 26s855ms 5s371ms 11 3 15s665ms 5s221ms 20 1 5s414ms 5s414ms 21 8 41s5ms 5s125ms 22 3 17s218ms 5s739ms Apr 25 02 1 5s727ms 5s727ms 03 1 5s927ms 5s927ms 04 1 6s48ms 6s48ms 05 2 2s72ms 1s36ms 06 1 5s281ms 5s281ms 11 1 5s313ms 5s313ms 13 2 5s824ms 2s912ms 14 1 5s318ms 5s318ms 17 1 5s38ms 5s38ms 19 1 5s538ms 5s538ms 21 2 10s80ms 5s40ms Apr 26 00 2 10s348ms 5s174ms 05 1 1s18ms 1s18ms 06 1 5s397ms 5s397ms 07 1 5s332ms 5s332ms 10 1 5s203ms 5s203ms 11 1 5s195ms 5s195ms 15 1 5s205ms 5s205ms 16 2 10s191ms 5s95ms 19 1 5s261ms 5s261ms 21 2 9s711ms 4s855ms 23 1 4s916ms 4s916ms Apr 27 04 2 10s209ms 5s104ms 07 1 4s888ms 4s888ms 10 1 5s57ms 5s57ms 11 1 5s7ms 5s7ms 16 12 54s356ms 4s529ms 17 2 9s792ms 4s896ms 18 1 4s887ms 4s887ms 19 1 4s854ms 4s854ms 20 1 5s29ms 5s29ms 22 1 4s783ms 4s783ms [ User: pubeu - Total duration: 40m55s - Times executed: 242 ]
-
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 = '1255628' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-21 20:00:40 Duration: 35s12ms 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 = '1326444' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-21 21:01:20 Duration: 34s807ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1300382' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-21 20:00:30 Duration: 34s578ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s8ms 58s857ms 6s591ms 708 1h17m46s 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 Apr 21 01 2 9s724ms 4s862ms 02 3 9s351ms 3s117ms 04 1 1s395ms 1s395ms 05 3 24s307ms 8s102ms 06 1 1s316ms 1s316ms 07 2 3s760ms 1s880ms 08 1 2s597ms 2s597ms 09 2 2s444ms 1s222ms 10 3 11s400ms 3s800ms 11 2 13s681ms 6s840ms 12 1 2s476ms 2s476ms 13 3 19s92ms 6s364ms 14 8 1m13s 9s180ms 15 32 6m9s 11s540ms 16 2 8s6ms 4s3ms 17 19 4m56s 15s610ms 18 2 12s839ms 6s419ms 19 1 6s189ms 6s189ms 20 14 1m17s 5s557ms 21 41 2m55s 4s275ms 22 1 2s315ms 2s315ms 23 2 7s34ms 3s517ms Apr 22 01 9 48s570ms 5s396ms 02 70 8m37s 7s394ms 03 1 4s430ms 4s430ms 04 64 8m6s 7s603ms 05 34 2m47s 4s928ms 09 1 2s306ms 2s306ms 10 53 7m3s 7s996ms 11 42 7m53s 11s282ms 12 28 2m29s 5s345ms 15 2 6s947ms 3s473ms 17 1 11s701ms 11s701ms 19 3 31s989ms 10s663ms 20 2 3s943ms 1s971ms 21 1 2s483ms 2s483ms 22 2 22s565ms 11s282ms 23 4 37s836ms 9s459ms Apr 23 00 3 15s791ms 5s263ms 03 14 38s418ms 2s744ms 04 9 1m11s 7s946ms 05 1 2s535ms 2s535ms 07 1 2s138ms 2s138ms 08 1 6s180ms 6s180ms 09 1 3s58ms 3s58ms 11 1 2s124ms 2s124ms 12 3 16s680ms 5s560ms 13 2 2s121ms 1s60ms 14 7 1m8s 9s822ms 15 1 7s859ms 7s859ms 16 1 11s552ms 11s552ms 18 2 14s640ms 7s320ms 19 2 3s452ms 1s726ms 22 6 56s390ms 9s398ms Apr 24 06 1 11s836ms 11s836ms 08 1 10s37ms 10s37ms 10 2 8s99ms 4s49ms 11 1 2s213ms 2s213ms 12 2 2s140ms 1s70ms 13 2 14s875ms 7s437ms 14 1 3s110ms 3s110ms 18 1 12s24ms 12s24ms 21 1 1s88ms 1s88ms 22 4 22s535ms 5s633ms 23 3 11s957ms 3s985ms Apr 25 00 1 2s452ms 2s452ms 01 3 11s43ms 3s681ms 02 2 3s844ms 1s922ms 04 1 4s229ms 4s229ms 07 2 13s273ms 6s636ms 09 1 1s666ms 1s666ms 10 2 11s458ms 5s729ms 11 4 18s236ms 4s559ms 12 2 10s535ms 5s267ms 13 4 11s873ms 2s968ms 14 2 6s584ms 3s292ms 15 2 6s673ms 3s336ms 16 1 12s121ms 12s121ms 19 10 49s866ms 4s986ms 20 1 2s553ms 2s553ms 21 1 4s134ms 4s134ms 22 5 38s142ms 7s628ms 23 3 3s680ms 1s226ms Apr 26 00 2 22s599ms 11s299ms 01 5 38s315ms 7s663ms 02 1 1s287ms 1s287ms 03 4 16s641ms 4s160ms 04 1 2s510ms 2s510ms 07 1 7s928ms 7s928ms 08 2 7s23ms 3s511ms 09 2 7s581ms 3s790ms 11 1 10s78ms 10s78ms 12 2 4s619ms 2s309ms 13 1 1s9ms 1s9ms 14 2 6s145ms 3s72ms 15 2 4s997ms 2s498ms 17 1 1s11ms 1s11ms 18 2 3s417ms 1s708ms 19 2 6s836ms 3s418ms 20 1 1s41ms 1s41ms 21 2 9s788ms 4s894ms Apr 27 00 1 11s912ms 11s912ms 01 1 1s154ms 1s154ms 02 2 3s59ms 1s529ms 03 1 1s67ms 1s67ms 04 3 14s677ms 4s892ms 05 1 2s218ms 2s218ms 09 1 10s454ms 10s454ms 10 4 10s98ms 2s524ms 14 2 4s540ms 2s270ms 15 2 10s676ms 5s338ms 16 46 3m6s 4s45ms 17 22 1m23s 3s794ms 18 2 3s484ms 1s742ms 19 1 11s845ms 11s845ms 23 1 1s385ms 1s385ms [ User: pubeu - Total duration: 32m15s - Times executed: 283 ]
-
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 = '2061611') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-21 17:13:48 Duration: 58s857ms 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 = '2061611') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-21 17:13:53 Duration: 51s145ms 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 = '2063367') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-22 10:56:24 Duration: 50s456ms Database: ctdprd51 User: pubeu Bind query: yes
17 1s1ms 15s206ms 5s455ms 466 42m22s select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 21 12 1 1s494ms 1s494ms 14 2 2s97ms 1s48ms 15 67 7m9s 6s406ms 17 18 2m16s 7s569ms 20 15 47s111ms 3s140ms 21 14 44s975ms 3s212ms Apr 22 02 55 5m32s 6s41ms 04 127 12m45s 6s25ms 05 7 18s247ms 2s606ms 10 95 7m56s 5s12ms 11 52 4m20s 5s5ms 12 9 18s947ms 2s105ms Apr 27 16 2 4s864ms 2s432ms 17 2 5s47ms 2s523ms [ User: pubeu - Total duration: 7m19s - Times executed: 111 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2051586');
Date: 2024-04-21 17:13:24 Duration: 15s206ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2064161');
Date: 2024-04-22 04:34:03 Duration: 14s968ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2056338');
Date: 2024-04-22 11:24:12 Duration: 14s767ms Bind query: yes
18 1s 41s87ms 5s406ms 1,330 1h59m50s 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 #18
Day Hour Count Duration Avg duration Apr 21 02 2 4s207ms 2s103ms 06 1 2s28ms 2s28ms 08 3 7s921ms 2s640ms 12 2 14s15ms 7s7ms 14 20 53s610ms 2s680ms 15 154 14m35s 5s684ms 16 32 2m28s 4s638ms 17 127 11m59s 5s663ms 19 6 39s815ms 6s635ms 20 104 10m35s 6s111ms 21 124 9m11s 4s446ms Apr 22 00 1 5s935ms 5s935ms 02 43 2m49s 3s944ms 04 178 18m54s 6s376ms 05 99 5m54s 3s579ms 10 119 20m36s 10s388ms 11 66 6m7s 5s561ms 12 33 2m58s 5s405ms 14 2 12s175ms 6s87ms 15 4 16s569ms 4s142ms 17 1 1s989ms 1s989ms 22 1 3s178ms 3s178ms 23 1 3s218ms 3s218ms Apr 23 07 1 1s312ms 1s312ms 11 2 4s582ms 2s291ms 12 3 5s761ms 1s920ms 13 1 1s945ms 1s945ms 15 2 5s323ms 2s661ms 20 1 5s874ms 5s874ms 21 1 1s816ms 1s816ms 22 1 3s214ms 3s214ms 23 1 3s712ms 3s712ms Apr 24 09 1 2s106ms 2s106ms 11 1 5s838ms 5s838ms 13 2 5s64ms 2s532ms 14 2 5s405ms 2s702ms 15 1 1s189ms 1s189ms 17 1 5s919ms 5s919ms 18 5 14s73ms 2s814ms 19 2 4s527ms 2s263ms 20 2 9s291ms 4s645ms 21 2 3s688ms 1s844ms Apr 25 00 1 1s923ms 1s923ms 04 3 11s728ms 3s909ms 06 1 5s775ms 5s775ms 08 3 8s527ms 2s842ms 09 5 13s405ms 2s681ms 10 6 15s179ms 2s529ms 11 6 15s123ms 2s520ms 12 5 13s591ms 2s718ms 13 4 11s595ms 2s898ms 14 5 13s744ms 2s748ms 15 4 11s28ms 2s757ms 16 6 28s476ms 4s746ms 17 6 27s381ms 4s563ms 18 4 23s268ms 5s817ms 19 10 52s263ms 5s226ms 20 4 23s474ms 5s868ms 21 4 23s397ms 5s849ms 22 9 31s243ms 3s471ms 23 5 13s976ms 2s795ms Apr 26 00 4 7s809ms 1s952ms 01 6 15s531ms 2s588ms 02 4 7s835ms 1s958ms 03 5 11s54ms 2s210ms 04 7 14s28ms 2s4ms 05 5 13s60ms 2s612ms 06 3 6s425ms 2s141ms 08 1 2s97ms 2s97ms 10 1 2s66ms 2s66ms 15 1 2s738ms 2s738ms 16 2 3s11ms 1s505ms 17 3 7s50ms 2s350ms 19 1 2s772ms 2s772ms 21 3 5s768ms 1s922ms 22 1 1s955ms 1s955ms 23 3 6s5ms 2s1ms Apr 27 01 1 3s227ms 3s227ms 06 1 3s202ms 3s202ms 07 1 1s582ms 1s582ms 08 1 3s186ms 3s186ms 09 1 5s905ms 5s905ms 10 2 11s735ms 5s867ms 13 1 1s304ms 1s304ms 16 13 30s496ms 2s345ms 17 8 28s964ms 3s620ms 18 1 5s812ms 5s812ms 20 1 5s901ms 5s901ms 21 3 9s373ms 3s124ms [ User: pubeu - Total duration: 47m44s - Times executed: 564 ]
-
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 = '1381425'))) 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: 2024-04-21 20:00:40 Duration: 41s87ms 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 = '1381425'))) 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: 2024-04-22 04:34:04 Duration: 40s876ms 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 = '1381425'))) 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: 2024-04-21 20:00:29 Duration: 37s771ms Bind query: yes
19 1s 44s729ms 5s244ms 1,695 2h28m9s select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 21 00 1 4s988ms 4s988ms 01 1 4s845ms 4s845ms 02 1 4s820ms 4s820ms 03 3 5s720ms 1s906ms 04 2 2s821ms 1s410ms 05 2 6s97ms 3s48ms 06 1 2s651ms 2s651ms 07 1 1s256ms 1s256ms 08 2 6s179ms 3s89ms 10 2 2s932ms 1s466ms 11 1 2s838ms 2s838ms 12 3 7s391ms 2s463ms 13 2 3s733ms 1s866ms 14 18 53s80ms 2s948ms 15 143 20m9s 8s455ms 16 22 1m36s 4s380ms 17 106 12m39s 7s168ms 18 1 2s420ms 2s420ms 19 5 16s265ms 3s253ms 20 88 7m53s 5s375ms 21 107 9m58s 5s597ms 22 3 9s773ms 3s257ms 23 5 15s473ms 3s94ms Apr 22 00 1 1s296ms 1s296ms 01 1 1s8ms 1s8ms 02 35 1m32s 2s636ms 03 4 8s397ms 2s99ms 04 211 23m10s 6s590ms 05 144 7m36s 3s170ms 07 1 1s259ms 1s259ms 10 133 19m15s 8s685ms 11 92 11m56s 7s783ms 12 54 4m39s 5s183ms 13 3 6s1ms 2s 14 3 11s529ms 3s843ms 15 4 11s211ms 2s802ms 16 3 7s250ms 2s416ms 17 4 15s381ms 3s845ms 18 3 6s156ms 2s52ms 19 3 7s774ms 2s591ms 20 1 3s628ms 3s628ms 21 2 3s695ms 1s847ms 22 1 4s886ms 4s886ms 23 3 7s604ms 2s534ms Apr 23 00 3 7s266ms 2s422ms 01 4 14s790ms 3s697ms 02 2 7s253ms 3s626ms 03 5 10s168ms 2s33ms 04 4 17s182ms 4s295ms 05 1 1s10ms 1s10ms 06 1 2s109ms 2s109ms 07 1 2s797ms 2s797ms 08 4 7s821ms 1s955ms 10 3 10s49ms 3s349ms 12 3 11s187ms 3s729ms 14 2 5s73ms 2s536ms 15 2 2s239ms 1s119ms 16 2 6s255ms 3s127ms 17 3 7s135ms 2s378ms 18 3 5s886ms 1s962ms 19 1 1s273ms 1s273ms 20 2 6s403ms 3s201ms 21 3 9s97ms 3s32ms 23 1 1s41ms 1s41ms Apr 24 05 2 5s798ms 2s899ms 06 1 1s256ms 1s256ms 07 1 5s22ms 5s22ms 09 7 15s893ms 2s270ms 10 3 12s447ms 4s149ms 11 3 4s69ms 1s356ms 12 2 8s632ms 4s316ms 13 2 4s569ms 2s284ms 14 4 8s226ms 2s56ms 15 3 11s280ms 3s760ms 16 2 3s998ms 1s999ms 17 1 1s48ms 1s48ms 18 2 7s596ms 3s798ms 19 3 10s211ms 3s403ms 20 3 12s854ms 4s284ms 21 2 3s856ms 1s928ms 22 4 14s710ms 3s677ms 23 6 15s334ms 2s555ms Apr 25 00 3 7s655ms 2s551ms 02 2 2s681ms 1s340ms 03 1 3s656ms 3s656ms 04 2 6s604ms 3s302ms 05 1 2s152ms 2s152ms 06 1 1s52ms 1s52ms 07 3 8s604ms 2s868ms 08 7 27s925ms 3s989ms 09 11 36s782ms 3s343ms 10 14 47s148ms 3s367ms 11 11 37s881ms 3s443ms 12 12 38s52ms 3s171ms 13 11 33s498ms 3s45ms 14 13 38s727ms 2s979ms 15 13 45s177ms 3s475ms 16 6 25s581ms 4s263ms 17 9 38s8ms 4s223ms 18 8 28s464ms 3s558ms 19 15 52s520ms 3s501ms 20 6 22s769ms 3s794ms 21 5 21s470ms 4s294ms 22 5 24s842ms 4s968ms 23 6 17s 2s833ms Apr 26 00 5 14s814ms 2s962ms 01 5 10s827ms 2s165ms 02 6 15s114ms 2s519ms 03 7 19s732ms 2s818ms 04 12 35s583ms 2s965ms 05 11 30s195ms 2s745ms 06 6 13s704ms 2s284ms 07 6 19s122ms 3s187ms 08 4 13s277ms 3s319ms 09 6 13s734ms 2s289ms 10 6 15s734ms 2s622ms 11 7 18s400ms 2s628ms 12 8 22s663ms 2s832ms 13 3 9s322ms 3s107ms 14 1 2s446ms 2s446ms 15 2 4s530ms 2s265ms 16 5 17s108ms 3s421ms 17 4 13s957ms 3s489ms 18 4 9s907ms 2s476ms 20 7 25s481ms 3s640ms 21 2 7s155ms 3s577ms 22 3 7s403ms 2s467ms 23 5 14s860ms 2s972ms Apr 27 01 1 3s560ms 3s560ms 02 3 8s479ms 2s826ms 03 1 1s267ms 1s267ms 05 4 13s177ms 3s294ms 06 2 3s985ms 1s992ms 07 2 4s870ms 2s435ms 08 2 6s122ms 3s61ms 09 3 8s766ms 2s922ms 10 1 1s104ms 1s104ms 11 2 7s776ms 3s888ms 12 2 3s914ms 1s957ms 13 1 1s48ms 1s48ms 14 3 7s866ms 2s622ms 15 5 14s875ms 2s975ms 16 20 40s941ms 2s47ms 17 10 27s967ms 2s796ms 18 4 13s563ms 3s390ms 19 4 11s4ms 2s751ms 20 3 8s902ms 2s967ms 21 3 11s180ms 3s726ms 22 2 4s574ms 2s287ms [ User: pubeu - Total duration: 1h4m10s - Times executed: 755 ]
-
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 = '1381425') 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 = '1381425') 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: 2024-04-22 04:34:08 Duration: 44s729ms 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 = '1381425') 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 = '1381425') 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: 2024-04-22 04:34:06 Duration: 44s583ms 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 = '1381425') 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 = '1381425') 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: 2024-04-21 15:54:09 Duration: 44s397ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s6ms 54s285ms 4s959ms 299 24m42s select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 21 14 9 30s715ms 3s412ms 15 58 3m55s 4s55ms 16 3 22s601ms 7s533ms 17 32 2m45s 5s170ms 19 1 3s944ms 3s944ms 20 39 3m47s 5s837ms 21 33 2m16s 4s150ms Apr 22 02 9 29s688ms 3s298ms 04 24 1m33s 3s901ms 05 9 51s574ms 5s730ms 10 42 4m4s 5s819ms 11 15 1m23s 5s556ms 12 8 2m7s 15s925ms 14 4 4s203ms 1s50ms Apr 23 10 1 1s873ms 1s873ms 23 2 2s616ms 1s308ms Apr 24 14 1 4s339ms 4s339ms Apr 25 01 1 1s261ms 1s261ms 22 1 4s256ms 4s256ms Apr 26 00 2 2s166ms 1s83ms Apr 27 03 1 1s862ms 1s862ms 16 3 3s497ms 1s165ms 23 1 4s317ms 4s317ms [ User: pubeu - Total duration: 9m24s - Times executed: 131 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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: 2024-04-21 20:01:01 Duration: 54s285ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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: 2024-04-21 20:01:11 Duration: 49s176ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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: 2024-04-22 10:19:58 Duration: 46s858ms Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 25s191ms 22 1s8ms 1s354ms 1s145ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Apr 27 13 1 1s95ms 1s95ms 14 2 2s641ms 1s320ms 18 1 1s171ms 1s171ms Apr 27 15 4 4s685ms 1s171ms 16 2 2s25ms 1s12ms 17 2 2s109ms 1s54ms 20 2 2s429ms 1s214ms 21 2 2s467ms 1s233ms Apr 27 02 2 2s173ms 1s86ms 04 4 4s389ms 1s97ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-04-20 14:22:42 Duration: 1s354ms Database: postgres parameters: $1 = '2062264'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-04-21 15:56:15 Duration: 1s329ms Database: postgres parameters: $1 = '2063912'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-04-20 14:22:43 Duration: 1s286ms Database: postgres parameters: $1 = '1382766', $2 = '1382766'
2 24s210ms 16 1s30ms 2s274ms 1s513ms SELECT /* GoGenesDAO */ sq.*;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 12 3 5s35ms 1s678ms 01 5 8s184ms 1s636ms 03 4 4s756ms 1s189ms 11 4 6s233ms 1s558ms -
SELECT /* GoGenesDAO */ sq.*;
Date: 2024-04-20 13:43:17 Duration: 2s274ms Database: postgres parameters: $1 = '1206427'
-
SELECT /* GoGenesDAO */ sq.*;
Date: 2024-04-22 02:34:34 Duration: 2s179ms Database: postgres parameters: $1 = '1206427'
-
SELECT /* GoGenesDAO */ sq.*;
Date: 2024-04-22 02:34:15 Duration: 1s958ms Database: postgres parameters: $1 = '1206427'
3 9s574ms 9 1s13ms 1s118ms 1s63ms SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 12 1 1s112ms 1s112ms 13 1 1s118ms 1s118ms 17 3 3s166ms 1s55ms 16 2 2s74ms 1s37ms 19 2 2s103ms 1s51ms -
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2024-04-20 14:22:43 Duration: 1s118ms Database: postgres parameters: $1 = '1420577', $2 = '1420577', $3 = 'chem%'
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2024-04-20 13:42:45 Duration: 1s112ms Database: postgres parameters: $1 = '2058426'
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2024-04-20 18:19:56 Duration: 1s81ms Database: postgres parameters: $1 = '1420574'
4 4s412ms 4 1s1ms 1s204ms 1s103ms SELECT /* ReferenceCitedGenesDAO */ ;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 03 2 2s409ms 1s204ms 10 2 2s3ms 1s1ms -
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2024-04-22 04:47:38 Duration: 1s204ms Database: postgres parameters: $1 = '1381390'
-
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2024-04-22 11:23:31 Duration: 1s1ms Database: postgres parameters: $1 = '2057975'
5 3s812ms 2 1s906ms 1s906ms 1s906ms select distinct ptr.phenotype_id, ptr.term_id, i.action_type_nm, i.action_type_cd, i.action_degree_type_nm, i.action_degree_type_cd from pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.IXN_AXN i where ptr.ixn_id = i.ixn_id;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 22 2 3s812ms 1s906ms -
select distinct ptr.phenotype_id, ptr.term_id, i.action_type_nm, i.action_type_cd, i.action_degree_type_nm, i.action_degree_type_cd from pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.IXN_AXN i where ptr.ixn_id = i.ixn_id;
Date: 2024-04-24 23:39:37 Duration: 1s906ms Database: postgres
6 1s119ms 1 1s119ms 1s119ms 1s119ms SELECT /* GeneDiseaseChemsDAO */ ;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 01 1 1s119ms 1s119ms -
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2024-04-22 02:39:23 Duration: 1s119ms Database: postgres parameters: $1 = '2062356', $2 = '2062356'
7 1s78ms 1 1s78ms 1s78ms 1s78ms SELECT /* GeneDiseaseRefsDAO */ ;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 13 1 1s78ms 1s78ms -
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2024-04-20 13:51:25 Duration: 1s78ms Database: postgres parameters: $1 = '1230239'
8 1s12ms 1 1s12ms 1s12ms 1s12ms select *, COUNT(*) OVER () as fullRowCount from;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 17 1 1s12ms 1s12ms -
select *, COUNT(*) OVER () as fullRowCount from;
Date: 2024-04-20 18:42:34 Duration: 1s12ms Database: postgres parameters: $1 = '2067008', $2 = '2067008'
9 0ms 215 0ms 0ms 0ms ;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration Apr 20 08 3 0ms 0ms 13 4 0ms 0ms 14 1 0ms 0ms 16 1 0ms 0ms Apr 21 07 2 0ms 0ms 08 6 0ms 0ms 12 2 0ms 0ms 15 8 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms 20 6 0ms 0ms 21 14 0ms 0ms Apr 22 02 4 0ms 0ms 04 4 0ms 0ms 07 6 0ms 0ms 08 2 0ms 0ms 10 18 0ms 0ms 11 2 0ms 0ms 12 14 0ms 0ms 14 6 0ms 0ms 15 10 0ms 0ms 20 4 0ms 0ms Apr 23 08 2 0ms 0ms 11 4 0ms 0ms 12 2 0ms 0ms Apr 24 06 4 0ms 0ms 07 6 0ms 0ms 08 4 0ms 0ms 10 4 0ms 0ms Apr 25 04 2 0ms 0ms 05 8 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 10 4 0ms 0ms 11 6 0ms 0ms 13 2 0ms 0ms 16 2 0ms 0ms Apr 26 02 1 0ms 0ms 06 6 0ms 0ms 07 9 0ms 0ms 08 6 0ms 0ms 09 3 0ms 0ms 10 6 0ms 0ms Apr 27 17 9 0ms 0ms [ User: pubeu - Total duration: 3m39s - Times executed: 77 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu
-
Events
Log levels
Key values
- 180,560 Log entries
Events distribution
Key values
- 0 PANIC entries
- 91 FATAL entries
- 135 ERROR entries
- 1299 WARNING entries
Most Frequent Errors/Events
Key values
- 1,026 Max number of times the same event was reported
- 1,525 Total events found
Rank Times reported Error 1 1,026 WARNING: skipping "..." --- only table or database owner can vacuum it
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 25 02 1,026 2 224 WARNING: skipping "..." --- only superuser or database owner can vacuum it
Times Reported Most Frequent Error / Event #2
Day Hour Count Apr 25 02 224 3 49 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #3
Day Hour Count Apr 21 12 49 4 43 WARNING: skipping "..." --- only superuser can vacuum it
Times Reported Most Frequent Error / Event #4
Day Hour Count Apr 25 02 43 5 39 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #5
Day Hour Count Apr 21 10 1 15 8 17 8 20 1 21 1 Apr 22 02 9 04 1 10 2 11 2 Apr 24 21 2 23 2 Apr 27 16 1 17 1 6 39 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #6
Day Hour Count Apr 21 10 1 15 8 17 8 20 1 21 1 Apr 22 02 9 04 1 10 2 11 2 Apr 24 21 2 23 2 Apr 27 16 1 17 1 7 32 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #7
Day Hour Count Apr 23 19 1 20 1 Apr 24 19 4 20 1 21 1 Apr 25 19 1 20 9 21 6 Apr 26 20 3 21 5 8 25 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #8
Day Hour Count Apr 21 15 4 17 7 Apr 22 02 7 04 1 10 2 Apr 24 21 2 23 2 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT row_to_json (T) FROM ( SELECT checkpoints_timed , checkpoints_req , checkpoint_write_time , checkpoint_sync_time , buffers_checkpoint , buffers_clean , maxwritten_clean , buffers_backend , buffers_backend_fsync , buffers_alloc FROM pg_catalog.pg_stat_bgwriter ) T ;
Date: 2024-04-21 15:18:09 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT pg_database_size(datname::text) FROM pg_catalog.pg_database WHERE datistemplate = false AND datname = $1;
Date: 2024-04-21 15:19:07 Database: ctdprd51 Application: User: zbx_monitor Remote:
Statement: SELECT count(*) FROM pg_catalog.pg_stat_all_tables WHERE (n_dead_tup/(n_live_tup+n_dead_tup)::float8) > 0.2 AND (n_live_tup+n_dead_tup) > 50;
Date: 2024-04-21 15:19:48
9 9 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #9
Day Hour Count Apr 24 11 1 Apr 25 10 8 - ERROR: column "mod" does not exist at character 40
- ERROR: column "exp_event_id" does not exist at character 59
- ERROR: column "exp_stressor_id" does not exist at character 93
Statement: select * from edit.reference_exp where mod-by <> 'Exposure*'
Date: 2024-04-24 11:48:43 Database: ctdprd51 Application: pgAdmin 4 - CONN:7834230 User: load Remote:
Statement: select * from edit.exp_event where id not in ( select exp_event_id from edit.exp_event where exp_stressor_id is not null ) order by chem_acc_txt
Date: 2024-04-25 10:05:11
Statement: select * from edit.exp_event where id not in ( select id from edit.exp_event where exp_stressor_id is not null ) order by chem_acc_txt
Date: 2024-04-25 10:05:19
10 7 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Apr 22 08 2 15 1 22 2 Apr 23 03 2 - ERROR: syntax error in ts"QCGD & YEQJPS< & >YESHBS"
- ERROR: syntax error in ts"QCGD & AND & SELECT & 6781 & FROM & SELECT & SLEEP & 5 & KQHG & (-- | ) & LSON"
- ERROR: syntax error in ts"DEL & Y & (Y-DEL<RIII> | YDEL<RIII>)"
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $6 OR upper( l.acc_txt ) LIKE $7 OR upper( l.acc_txt ) LIKE $8 ) ) ii GROUP BY ii.cd
Date: 2024-04-22 08:02:44 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $6 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $7 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $8 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $9 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $10 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $11 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $12 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $13 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $14 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $15 OR upper( l.acc_txt ) LIKE $16 OR upper( l.acc_txt ) LIKE $17 OR upper( l.acc_txt ) LIKE $18 OR upper( l.acc_txt ) LIKE $19 OR upper( l.acc_txt ) LIKE $20 OR upper( l.acc_txt ) LIKE $21 OR upper( l.acc_txt ) LIKE $22 OR upper( l.acc_txt ) LIKE $23 OR upper( l.acc_txt ) LIKE $24 OR upper( l.acc_txt ) LIKE $25 ) ) ii GROUP BY ii.cd
Date: 2024-04-22 08:02:49 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 OR upper( l.acc_txt ) = $7 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-04-22 15:54:54
11 6 WARNING: there is no transaction in progress
Times Reported Most Frequent Error / Event #11
Day Hour Count Apr 25 02 2 05 4 12 5 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #12
Day Hour Count Apr 24 14 2 Apr 25 10 2 Apr 26 13 1 - ERROR: syntax error at or near "(" at character 41
- ERROR: syntax error at or near "select" at character 41
- ERROR: syntax error at or near "between" at character 49
Statement: select into load.new_exposure_reference (select * from edit.reference_exp where mod_by <> 'initial')
Date: 2024-04-24 14:21:34
Statement: select into load.new_exposure_reference select * from edit.reference_exp where mod_by <> 'initial'
Date: 2024-04-24 14:21:45
Statement: select * from exposure where exp_stressor_id is between 206120 and 206137
Date: 2024-04-25 10:01:57 Database: ctdprd51 Application: pgAdmin 4 - CONN:6667691 User: load Remote:
13 4 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #13
Day Hour Count Apr 21 23 4 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
- ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $13
Statement: INSERT INTO /* BatchLoggingDAO */ pubc.log_query (type_cd ,query_tm ,submission_qty ,session_id ,server_nm ,node_nm ,remote_addr ,http_user_agent ,results_qty ,execution_ms ,batch_input_type_txt ,dag_txt ,results_format_txt ,action_type_txt ,basic_query_txt ,input_term_qty ) VALUES ($1 ,CURRENT_TIMESTAMP ,1 ,$2 ,$3 ,NULLIF($4,'') ,SUBSTR($5,1,128) ,NULLIF(SUBSTR($6,1,256),'') ,$7 ,NULLIF($8,-1) ,NULLIF($9,'') ,NULLIF(SUBSTR($10,1,128),'') ,NULLIF($11,'') ,NULLIF(SUBSTR($12,1,4000),'') ,NULLIF($13,'') ,$14 )Date: 2024-04-21 23:38:32
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 2 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 2 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2024-04-21 23:40:25
14 4 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #14
Day Hour Count Apr 25 10 4 - ERROR: relation "exposure" does not exist at character 15
- ERROR: relation "edit.event" does not exist at character 80
- ERROR: relation "exposure" does not exist at character 40
Statement: select * from exposure where exp_stressor_id =206126
Date: 2024-04-25 10:02:49
Statement: select * from edit.exp_event where id not in ( select exp_event_id from edit.event where exp_stressor_id is not null ) order by chem_acc_txt
Date: 2024-04-25 10:05:02 Database: ctdprd51 Application: pgAdmin 4 - CONN:5996890 User: edit Remote:
Statement: select distinct reference_acc_txt from exposure where exp_stressor_id is not null and exp_stressor_id in ( select id from exp_stressor where src_details = 'tire wear particles produced by friction between tires and road surfaces' )
Date: 2024-04-25 10:24:16
15 3 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #15
Day Hour Count Apr 22 12 1 Apr 23 22 1 23 1 16 2 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #16
Day Hour Count Apr 22 07 1 12 1 17 2 ERROR: function get_ixn_prose(...) does not exist
Times Reported Most Frequent Error / Event #17
Day Hour Count Apr 24 14 1 Apr 25 10 1 - ERROR: function get_ixn_prose(integer) does not exist at character 51
- ERROR: function get_ixn_prose(integer) does not exist at character 8
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Statement: select reference_acc_txt ,taxon_acc_txt ,get_ixn_prose( ixn_id ) ,create_by ,create_tm from edit.reference_ixn where taxon_acc_txt not in ( select acc_txt from load.term where object_type_id = ( select id from edit.object_type where cd = 'taxon' ) ) and taxon_acc_txt is not null and taxon_acc_txt <> ''vacuum FULL analyze TERMDate: 2024-04-24 14:02:58 Database: ctdprd51 Application: pgAdmin 4 - CONN:57374 User: load Remote:
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Statement: select get_ixn_prose( i.root_id ) from edit.ixn i where id = 8561995Date: 2024-04-25 10:37:28
18 2 ERROR: column reference "..." is ambiguous
Times Reported Most Frequent Error / Event #18
Day Hour Count Apr 25 10 2 - ERROR: column reference "id" is ambiguous at character 70
- ERROR: column reference "id" is ambiguous at character 107
Statement: select e.* from edit.exp_stressor es ,edit.exposure e where id not in ( select exp_stressor_id from pub2.exposure where exp_stressor_id is not null ) and es.id = e.exp_stressor_id order by chem_acc_txt
Date: 2024-04-25 10:01:20
Statement: select edit.get_ixn_prose( i.root_id ), ri.reference_acc_txt from edit.ixn i, edit.reference_ixn ri where id = 8561995 and i.root_id = ri.ixn_id
Date: 2024-04-25 10:55:44
19 2 ERROR: missing FROM-clause entry for table "..."
Times Reported Most Frequent Error / Event #19
Day Hour Count Apr 24 14 1 Apr 25 10 1 - ERROR: missing FROM-clause entry for table "t" at character 155
- ERROR: missing FROM-clause entry for table "i" at character 23
Statement: select * from edit.medium m where term_acc_txt is not null and term_acc_txt not in ( select acc_txt from load.term where m.term_object_type_id = t.object_type_id )
Date: 2024-04-24 14:05:56
Statement: select get_ixn_prose( i.root_id ) from edit.ixn where id = 8561995
Date: 2024-04-25 10:37:20
20 1 ERROR: cannot drop table ... because other objects depend on it
Times Reported Most Frequent Error / Event #20
Day Hour Count Apr 24 11 1 - ERROR: cannot drop table age_qualifier because other objects depend on it
Detail: constraint exp_receptor_age_qualifier_fk on table exp_receptor depends on table age_qualifier
Hint: Use DROP ... CASCADE to drop the dependent objects too.
Statement: DROP TABLE IF EXISTS load.age_qualifier ;Date: 2024-04-24 11:37:54
21 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #21
Day Hour Count Apr 21 12 1