-
Global information
- Generated on Sun Apr 27 04:15:28 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250426
- Parsed 378,026 log entries in 27s
- Log start from 2025-04-20 00:00:01 to 2025-04-26 23:59:58
-
Overview
Global Stats
- 594 Number of unique normalized queries
- 28,421 Number of queries
- 1d16h39m47s Total query duration
- 2025-04-20 00:01:54 First query
- 2025-04-26 23:59:58 Last query
- 11 queries/s at 2025-04-22 01:42:16 Query peak
- 1d16h39m47s Total query duration
- 16s63ms Prepare/parse total duration
- 50s71ms Bind total duration
- 1d16h38m41s Execute total duration
- 248 Number of events
- 18 Number of unique normalized events
- 130 Max number of times the same event was reported
- 0 Number of cancellation
- 109 Total number of automatic vacuums
- 247 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 34,280 Total number of sessions
- 83 sessions at 2025-04-22 02:07:23 Session peak
- 300d3h51m Total duration of sessions
- 12m36s Average duration of sessions
- 0 Average queries per session
- 4s270ms Average queries duration per session
- 12m32s Average idle time per session
- 34,279 Total number of connections
- 98 connections/s at 2025-04-20 05:03:52 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 11 queries/s Query Peak
- 2025-04-22 01:42:16 Date
SELECT Traffic
Key values
- 11 queries/s Query Peak
- 2025-04-22 01:42:16 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2 queries/s Query Peak
- 2025-04-22 02:03:43 Date
Queries duration
Key values
- 1d16h39m47s 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 20 00 84 0ms 8m51s 15s247ms 17s379ms 4m9s 8m51s 01 116 0ms 4m14s 5s16ms 16s467ms 23s446ms 4m17s 02 61 0ms 10s60ms 2s423ms 7s330ms 11s345ms 19s577ms 03 78 0ms 2m57s 4s865ms 9s533ms 23s493ms 2m59s 04 10 0ms 5m 32s763ms 2s586ms 12s852ms 5m5s 05 130 0ms 4m55s 4s656ms 20s96ms 27s129ms 5m4s 06 77 0ms 1m37s 5s130ms 16s708ms 44s934ms 1m37s 07 57 0ms 4m23s 11s753ms 10s779ms 26s169ms 4m23s 08 84 0ms 4m46s 8s779ms 11s114ms 18s160ms 4m46s 09 55 0ms 1m36s 4s11ms 7s162ms 11s12ms 1m36s 10 72 0ms 1m2s 4s95ms 7s424ms 24s53ms 1m2s 11 93 0ms 7s515ms 2s183ms 8s684ms 12s290ms 12s797ms 12 63 0ms 3m31s 8s756ms 8s388ms 16s216ms 3m31s 13 118 0ms 20s556ms 2s392ms 11s804ms 17s633ms 1m2s 14 216 0ms 3m31s 3s475ms 26s290ms 51s883ms 3m34s 15 232 0ms 3m50s 2s905ms 15s456ms 24s563ms 3m59s 16 232 0ms 11m40s 9s641ms 23s340ms 5m28s 11m43s 17 189 0ms 23s92ms 1s744ms 11s72ms 13s923ms 25s511ms 18 139 0ms 3m7s 5s59ms 20s936ms 1m1s 3m9s 19 84 0ms 3m18s 4s831ms 7s924ms 25s74ms 3m24s 20 97 0ms 17s527ms 2s355ms 8s894ms 14s702ms 17s527ms 21 84 0ms 11m37s 10s247ms 7s582ms 10s816ms 11m39s 22 97 0ms 3m5s 5s334ms 17s669ms 28s165ms 3m14s 23 85 0ms 3m18s 4s430ms 7s595ms 12s285ms 3m23s Apr 21 00 115 0ms 4m46s 4s616ms 10s227ms 19s930ms 4m54s 01 106 0ms 8m52s 8s943ms 8s787ms 26s776ms 8m52s 02 227 0ms 8m59s 9s912ms 2m34s 5m30s 9m5s 03 250 0ms 25s798ms 1s889ms 13s300ms 17s703ms 50s529ms 04 274 0ms 3m4s 3s271ms 28s500ms 58s290ms 3m11s 05 364 1s5ms 57s801ms 2s832ms 41s459ms 1m14s 2m29s 06 211 0ms 3m3s 5s160ms 24s220ms 45s462ms 9m10s 07 110 0ms 47s115ms 2s162ms 7s479ms 8s677ms 47s115ms 08 137 0ms 4m25s 5s352ms 10s202ms 54s163ms 4m25s 09 110 0ms 15s998ms 2s947ms 14s103ms 20s503ms 1m8s 10 140 0ms 56s307ms 3s271ms 23s444ms 36s621ms 1m39s 11 115 0ms 8m54s 8s79ms 14s667ms 26s400ms 8m54s 12 230 1s4ms 4m48s 5s218ms 18s403ms 2m27s 4m56s 13 263 1s8ms 5m48s 7s911ms 1m12s 5m29s 11m16s 14 237 0ms 3m 3s642ms 24s419ms 1m4s 3m4s 15 243 1s12ms 4m14s 5s93ms 19s114ms 38s885ms 8m27s 16 239 1s1ms 5m28s 8s324ms 2m58s 4m27s 7m3s 17 102 0ms 5s439ms 1s508ms 7s299ms 11s33ms 13s385ms 18 119 0ms 3m33s 5s197ms 17s468ms 44s437ms 3m46s 19 100 0ms 4m53s 10s500ms 14s750ms 3m19s 4m55s 20 120 0ms 8m50s 8s413ms 13s551ms 1m21s 8m57s 21 94 0ms 4m26s 5s453ms 10s181ms 20s374ms 4m26s 22 126 0ms 5m2s 4s393ms 11s628ms 17s470ms 5m2s 23 250 0ms 3m56s 6s597ms 21s682ms 4m10s 7m42s Apr 22 00 245 0ms 4m50s 3s385ms 23s18ms 30s567ms 5m1s 01 572 0ms 9m7s 4s868ms 1m33s 6m27s 9m10s 02 973 1s1ms 19m27s 12s411ms 9m9s 20m17s 59m5s 03 386 0ms 11m47s 5s570ms 1m42s 3m10s 11m52s 04 105 0ms 3m20s 4s323ms 9s886ms 19s964ms 3m25s 05 129 0ms 17s895ms 2s966ms 20s817ms 30s706ms 1m21s 06 84 0ms 52s604ms 3s465ms 11s463ms 35s933ms 57s761ms 07 177 0ms 2m10s 4s75ms 15s204ms 19s514ms 6m35s 08 214 0ms 6m18s 9s998ms 13s385ms 5m9s 18m59s 09 267 1s12ms 11m54s 6s800ms 17s380ms 24s887ms 12m1s 10 280 0ms 3m32s 5s39ms 37s36ms 2m41s 7m4s 11 239 1s10ms 5m1s 4s360ms 15s101ms 49s61ms 5m7s 12 137 0ms 18m37s 10s479ms 18s295ms 20s900ms 18m40s 13 106 0ms 4m53s 5s197ms 12s554ms 23s147ms 5m5s 14 131 0ms 52s576ms 2s798ms 10s506ms 33s697ms 58s858ms 15 98 0ms 4m8s 8s694ms 14s43ms 3m11s 4m10s 16 91 0ms 2m8s 4s508ms 9s660ms 27s820ms 2m8s 17 170 0ms 4m47s 6s710ms 19s978ms 3m52s 4m47s 18 258 1s7ms 52s549ms 2s332ms 19s510ms 38s710ms 53s738ms 19 247 1s21ms 4m21s 8s302ms 1m40s 3m55s 8m38s 20 251 0ms 4m17s 3s6ms 17s131ms 30s483ms 4m23s 21 233 0ms 3m33s 4s64ms 23s207ms 1m54s 3m37s 22 165 0ms 1m 2s301ms 14s271ms 18s499ms 1m20s 23 97 0ms 5m24s 8s966ms 18s587ms 30s453ms 5m29s Apr 23 00 102 0ms 4m56s 4s873ms 7s928ms 9s478ms 5m6s 01 118 0ms 4m10s 6s998ms 22s665ms 2m 4m12s 02 163 0ms 23s724ms 2s437ms 14s391ms 26s668ms 32s759ms 03 156 0ms 21s370ms 1s970ms 10s274ms 14s725ms 23s921ms 04 239 0ms 11m48s 4s939ms 16s249ms 32s842ms 11m50s 05 321 0ms 3m13s 3s732ms 34s525ms 1m39s 3m19s 06 337 0ms 11m42s 6s6ms 39s611ms 4m14s 11m53s 07 352 1s 18s886ms 2s12ms 27s133ms 33s886ms 40s104ms 08 226 0ms 4m51s 4s534ms 26s104ms 30s546ms 5m2s 09 156 0ms 19s18ms 2s138ms 14s494ms 19s157ms 23s456ms 10 154 0ms 53s757ms 2s693ms 15s136ms 24s803ms 53s757ms 11 120 0ms 5m4s 4s244ms 8s291ms 10s382ms 5m4s 12 124 0ms 4m26s 5s854ms 10s443ms 1m25s 4m26s 13 194 0ms 40s222ms 2s382ms 16s42ms 26s343ms 1m 14 247 1s6ms 53s628ms 2s439ms 18s580ms 51s2ms 1m9s 15 244 0ms 12m15s 6s521ms 19s896ms 2m50s 12m35s 16 311 1s10ms 12m27s 12s529ms 1m2s 12m20s 12m42s 17 250 0ms 12m22s 9s212ms 54s446ms 3m52s 12m28s 18 190 0ms 56s841ms 2s798ms 23s841ms 37s25ms 1m38s 19 114 0ms 38s337ms 2s82ms 9s305ms 11s64ms 39s811ms 20 100 0ms 5m21s 12s693ms 14s512ms 4m29s 5m28s 21 87 0ms 50s5ms 3s140ms 7s709ms 26s372ms 54s419ms 22 157 0ms 14s740ms 1s919ms 13s111ms 17s658ms 21s979ms 23 218 0ms 3m25s 3s285ms 24s340ms 38s983ms 3m31s Apr 24 00 300 1s24ms 4m59s 3s799ms 35s731ms 46s853ms 5m7s 01 358 0ms 24s652ms 2s291ms 31s425ms 33s533ms 51s37ms 02 317 1s15ms 4m15s 2s923ms 23s551ms 52s700ms 4m27s 03 269 0ms 5m13s 3s794ms 24s912ms 35s451ms 5m20s 04 263 0ms 22s692ms 2s219ms 26s909ms 33s346ms 50s909ms 05 201 0ms 3m14s 3s83ms 22s228ms 34s107ms 3m23s 06 172 0ms 3m18s 5s753ms 46s197ms 58s661ms 3m24s 07 156 0ms 1m58s 3s532ms 20s510ms 28s482ms 2m 08 201 0ms 18m1s 10s366ms 25s506ms 4m50s 18m3s 09 278 0ms 12s22ms 1s930ms 16s212ms 26s847ms 36s250ms 10 373 1s1ms 3m29s 4s737ms 1m18s 3m26s 3m36s 11 263 0ms 3m32s 5s205ms 27s455ms 3m34s 4m25s 12 248 0ms 38s766ms 2s530ms 22s361ms 31s304ms 3m3s 13 158 0ms 6s711ms 1s544ms 8s48ms 9s559ms 22s465ms 14 70 0ms 53s937ms 3s255ms 5s356ms 33s945ms 56s862ms 15 60 0ms 16s25ms 1s904ms 5s649ms 6s526ms 16s25ms 16 44 0ms 5s263ms 1s511ms 3s384ms 5s409ms 11s401ms 17 58 0ms 18s782ms 2s628ms 5s461ms 7s335ms 1m16s 18 98 0ms 53s841ms 2s887ms 13s648ms 34s356ms 57s553ms 19 58 0ms 4m16s 7s192ms 7s479ms 35s506ms 4m20s 20 60 0ms 13s570ms 1s468ms 4s704ms 7s128ms 13s570ms 21 49 0ms 44s563ms 4s525ms 4s712ms 18s34ms 1m29s 22 51 0ms 3m22s 17s457ms 6s263ms 14s922ms 10m2s 23 50 0ms 4s991ms 1s455ms 3s829ms 3s979ms 7s711ms Apr 25 00 39 0ms 4m55s 9s464ms 4s42ms 10s81ms 4m55s 01 55 0ms 44s467ms 2s954ms 3s966ms 5s207ms 1m31s 02 30 0ms 38s823ms 3s424ms 8s26ms 11s280ms 38s823ms 03 69 0ms 4s765ms 1s392ms 6s479ms 7s823ms 8s598ms 04 185 0ms 25s215ms 2s435ms 16s710ms 37s639ms 57s277ms 05 224 0ms 25s362ms 2s601ms 30s521ms 50s498ms 55s778ms 06 153 0ms 54s695ms 3s39ms 33s475ms 46s264ms 56s27ms 07 195 0ms 1m51s 7s472ms 28s820ms 1m54s 12m56s 08 94 0ms 5s84ms 1s405ms 5s309ms 8s758ms 9s120ms 09 33 0ms 8m52s 17s779ms 2s379ms 5s457ms 8m52s 10 128 0ms 54s633ms 2s335ms 9s193ms 32s170ms 54s633ms 11 169 0ms 18s321ms 1s715ms 7s823ms 9s763ms 42s665ms 12 189 0ms 4m20s 3s900ms 11s632ms 52s864ms 4m28s 13 128 0ms 19s711ms 1s542ms 7s497ms 8s148ms 23s505ms 14 177 0ms 55s925ms 2s792ms 29s276ms 44s994ms 59s347ms 15 79 0ms 5s273ms 1s432ms 5s273ms 5s939ms 8s334ms 16 48 0ms 36s700ms 3s793ms 3s941ms 6s257ms 1m11s 17 50 0ms 10s141ms 2s137ms 5s241ms 8s874ms 21s272ms 18 76 0ms 55s31ms 4s560ms 32s28ms 39s383ms 58s548ms 19 74 0ms 6s335ms 1s379ms 4s867ms 6s146ms 7s520ms 20 186 0ms 17s706ms 1s590ms 7s573ms 15s931ms 40s754ms 21 171 0ms 3m59s 3s491ms 18s301ms 38s798ms 4m3s 22 184 0ms 18m2s 13s596ms 13s171ms 1m6s 18m12s 23 216 0ms 5m21s 4s791ms 20s519ms 54s958ms 5m25s Apr 26 00 218 0ms 5m19s 5s428ms 23s349ms 1m40s 5m55s 01 159 0ms 34s943ms 3s263ms 20s555ms 38s762ms 1m4s 02 99 0ms 5s541ms 1s812ms 7s427ms 9s552ms 13s61ms 03 113 0ms 9s517ms 1s853ms 7s113ms 8s604ms 11s194ms 04 97 0ms 22s594ms 2s516ms 10s943ms 19s556ms 28s13ms 05 236 0ms 48s728ms 2s256ms 24s579ms 33s275ms 52s491ms 06 225 1s13ms 2m30s 2s313ms 11s335ms 17s587ms 2m36s 07 238 0ms 4m47s 3s401ms 23s648ms 42s36ms 4m58s 08 217 0ms 18m39s 7s242ms 16s568ms 52s351ms 18m44s 09 194 0ms 4m13s 3s543ms 13s517ms 22s121ms 4m14s 10 109 0ms 11m38s 10s931ms 9s718ms 16s381ms 11m40s 11 106 0ms 5m24s 8s371ms 11s28ms 1m8s 5m25s 12 100 0ms 15s670ms 1s697ms 7s794ms 9s145ms 19s37ms 13 76 0ms 16s787ms 2s127ms 7s13ms 10s274ms 19s175ms 14 139 0ms 5m4s 6s821ms 21s548ms 53s592ms 5m16s 15 230 0ms 8m55s 4s961ms 40s263ms 43s82ms 9m5s 16 207 0ms 4m48s 4s180ms 16s362ms 27s616ms 4m50s 17 254 0ms 3m34s 3s90ms 23s471ms 55s10ms 4m12s 18 279 1s 6m20s 5s223ms 1m5s 1m31s 6m23s 19 214 0ms 25m6s 26s341ms 3m48s 7m35s 25m56s 20 129 0ms 1m33s 3s862ms 14s921ms 39s45ms 1m54s 21 129 0ms 8m51s 8s599ms 17s821ms 1m24s 8m59s 22 147 0ms 5m26s 9s629ms 21s470ms 3m31s 5m34s 23 229 0ms 47s389ms 3s87ms 21s21ms 44s491ms 1m42s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 20 00 83 0 15s354ms 7s302ms 17s379ms 4m47s 01 116 0 5s16ms 8s60ms 16s467ms 36s709ms 02 61 0 2s423ms 6s400ms 7s330ms 19s577ms 03 78 0 4s865ms 6s147ms 9s533ms 2m59s 04 10 0 32s763ms 0ms 2s586ms 5m5s 05 126 0 4s731ms 9s767ms 20s96ms 28s343ms 06 67 10 5s130ms 6s313ms 16s230ms 51s262ms 07 57 0 11s753ms 5s511ms 10s779ms 4m18s 08 83 0 8s851ms 5s707ms 11s114ms 4m22s 09 54 0 4s25ms 4s144ms 7s162ms 12s233ms 10 63 7 4s147ms 5s340ms 7s424ms 52s68ms 11 93 0 2s183ms 6s374ms 8s684ms 12s317ms 12 62 0 8s843ms 4s595ms 8s388ms 3m16s 13 118 0 2s392ms 6s446ms 11s804ms 22s457ms 14 204 10 3s481ms 12s164ms 24s101ms 51s415ms 15 232 0 2s905ms 10s890ms 15s456ms 39s920ms 16 232 0 9s641ms 12s766ms 23s340ms 7m6s 17 188 0 1s735ms 7s638ms 11s72ms 14s231ms 18 129 10 5s59ms 7s773ms 24s390ms 2m19s 19 83 0 4s860ms 5s843ms 7s924ms 32s729ms 20 96 0 2s357ms 5s820ms 8s894ms 17s319ms 21 84 0 10s247ms 5s146ms 7s582ms 17s281ms 22 97 0 5s334ms 7s32ms 17s669ms 59s866ms 23 85 0 4s430ms 5s931ms 7s595ms 16s722ms Apr 21 00 112 0 4s633ms 6s279ms 10s227ms 19s960ms 01 104 0 9s60ms 5s636ms 8s787ms 3m23s 02 225 0 9s977ms 10s449ms 2m31s 5m37s 03 250 0 1s889ms 11s578ms 13s300ms 28s206ms 04 274 0 3s271ms 13s32ms 28s500ms 2m5s 05 360 0 2s839ms 21s376ms 41s459ms 1m25s 06 201 10 5s160ms 16s63ms 24s220ms 52s606ms 07 110 0 2s162ms 5s739ms 7s479ms 9s149ms 08 137 0 5s352ms 8s546ms 10s202ms 3m7s 09 110 0 2s947ms 6s651ms 14s103ms 31s687ms 10 128 9 3s285ms 7s915ms 24s349ms 51s588ms 11 114 0 8s125ms 8s702ms 14s667ms 2m11s 12 226 0 5s215ms 11s86ms 17s636ms 4m24s 13 262 0 7s931ms 16s267ms 1m12s 5m49s 14 227 10 3s642ms 14s721ms 24s267ms 2m49s 15 243 0 5s93ms 12s478ms 19s114ms 4m28s 16 238 0 8s344ms 14s515ms 2m58s 5m30s 17 102 0 1s508ms 4s650ms 7s299ms 12s860ms 18 106 11 5s242ms 10s45ms 17s468ms 52s256ms 19 99 0 10s588ms 6s389ms 14s750ms 3m53s 20 118 0 8s503ms 7s492ms 13s551ms 2m31s 21 94 0 5s453ms 9s135ms 10s181ms 23s107ms 22 126 0 4s393ms 6s913ms 11s628ms 22s573ms 23 248 0 6s626ms 12s888ms 21s682ms 4m34s Apr 22 00 244 0 3s372ms 15s40ms 23s18ms 38s643ms 01 569 0 4s882ms 32s120ms 1m33s 6m53s 02 967 0 12s465ms 3m46s 9m9s 25m30s 03 386 0 5s570ms 34s983ms 1m42s 3m23s 04 105 0 4s323ms 5s703ms 9s886ms 50s230ms 05 124 0 2s987ms 7s737ms 20s817ms 40s244ms 06 73 11 3s465ms 5s156ms 11s463ms 42s261ms 07 177 0 4s75ms 9s91ms 15s204ms 31s333ms 08 213 0 10s31ms 10s16ms 12s467ms 5m36s 09 267 0 6s800ms 11s552ms 17s380ms 10m42s 10 269 11 5s39ms 17s444ms 30s953ms 3m37s 11 239 0 4s360ms 12s663ms 15s101ms 4m37s 12 137 0 10s479ms 7s625ms 18s295ms 39s779ms 13 104 0 5s253ms 7s863ms 12s554ms 31s529ms 14 118 11 2s803ms 7s96ms 10s506ms 42s319ms 15 97 0 8s750ms 7s812ms 14s43ms 3m17s 16 91 0 4s508ms 6s38ms 9s660ms 1m38s 17 167 0 6s781ms 12s167ms 19s978ms 4m28s 18 245 11 2s331ms 11s446ms 19s510ms 42s443ms 19 247 0 8s302ms 19s233ms 1m40s 7m23s 20 247 0 3s15ms 14s125ms 17s131ms 38s370ms 21 230 0 4s82ms 13s615ms 21s972ms 1m59s 22 163 0 2s306ms 8s738ms 14s271ms 19s820ms 23 95 0 9s97ms 7s807ms 18s587ms 4m37s Apr 23 00 100 0 4s886ms 5s512ms 7s928ms 19s439ms 01 118 0 6s998ms 8s200ms 22s665ms 2m3s 02 161 0 2s433ms 9s970ms 14s391ms 27s459ms 03 155 0 1s968ms 7s453ms 10s274ms 15s534ms 04 239 0 4s939ms 12s457ms 16s249ms 34s413ms 05 317 0 3s750ms 23s833ms 34s525ms 2m23s 06 325 11 6s14ms 18s863ms 38s797ms 5m37s 07 350 0 2s11ms 17s834ms 27s133ms 39s42ms 08 225 0 4s539ms 11s822ms 26s104ms 4m29s 09 156 0 2s138ms 9s42ms 14s494ms 22s582ms 10 144 10 2s693ms 9s851ms 15s136ms 42s626ms 11 120 0 4s244ms 7s410ms 8s291ms 13s263ms 12 122 0 5s902ms 6s921ms 10s443ms 2m42s 13 194 0 2s382ms 11s593ms 16s42ms 41s770ms 14 236 11 2s439ms 13s741ms 18s580ms 53s628ms 15 244 0 6s521ms 11s899ms 19s896ms 3m28s 16 308 0 12s626ms 21s167ms 1m2s 12m34s 17 250 0 9s212ms 14s631ms 54s446ms 9m55s 18 178 11 2s795ms 12s184ms 23s841ms 42s261ms 19 114 0 2s82ms 6s359ms 9s305ms 19s580ms 20 100 0 12s693ms 7s669ms 14s512ms 4m49s 21 86 0 3s143ms 5s399ms 7s709ms 29s270ms 22 157 0 1s919ms 8s295ms 13s111ms 19s846ms 23 218 0 3s285ms 11s157ms 24s340ms 46s627ms Apr 24 00 299 0 3s790ms 21s950ms 35s731ms 1m56s 01 357 0 2s292ms 21s348ms 31s425ms 45s314ms 02 317 0 2s923ms 16s164ms 23s551ms 1m1s 03 267 0 3s799ms 13s568ms 24s912ms 3m54s 04 260 0 2s210ms 15s901ms 26s909ms 44s486ms 05 195 0 3s101ms 8s428ms 22s228ms 35s499ms 06 161 11 5s753ms 19s773ms 42s445ms 3m9s 07 156 0 3s532ms 11s616ms 20s510ms 1m30s 08 201 0 10s366ms 12s359ms 25s506ms 5m44s 09 276 0 1s920ms 12s781ms 16s212ms 31s183ms 10 361 11 4s744ms 31s570ms 54s189ms 3m36s 11 263 0 5s205ms 16s188ms 27s455ms 3m37s 12 247 0 2s533ms 11s836ms 22s361ms 54s476ms 13 158 0 1s544ms 6s546ms 8s48ms 10s459ms 14 59 11 3s255ms 3s534ms 5s356ms 42s52ms 15 60 0 1s904ms 3s925ms 5s649ms 8s785ms 16 44 0 1s511ms 2s418ms 3s384ms 11s401ms 17 58 0 2s628ms 3s658ms 5s461ms 1m16s 18 87 11 2s887ms 5s222ms 13s648ms 53s841ms 19 58 0 7s192ms 4s52ms 7s479ms 4m20s 20 60 0 1s468ms 2s705ms 4s704ms 13s570ms 21 48 0 4s550ms 3s202ms 4s712ms 1m29s 22 51 0 17s457ms 3s831ms 6s263ms 10m2s 23 50 0 1s455ms 2s714ms 3s829ms 4s991ms Apr 25 00 38 0 9s547ms 2s411ms 2s967ms 10s436ms 01 55 0 2s954ms 3s331ms 3s966ms 1m31s 02 30 0 3s424ms 2s396ms 8s26ms 38s823ms 03 69 0 1s392ms 3s959ms 6s479ms 8s598ms 04 185 0 2s435ms 8s962ms 16s710ms 38s62ms 05 218 0 2s599ms 12s519ms 30s521ms 50s870ms 06 142 11 3s39ms 8s37ms 30s978ms 53s521ms 07 195 0 7s472ms 7s531ms 28s820ms 4m7s 08 94 0 1s405ms 3s824ms 5s309ms 8s870ms 09 33 0 17s779ms 1s315ms 2s379ms 11s212ms 10 118 10 2s335ms 5s216ms 9s193ms 34s978ms 11 169 0 1s715ms 6s785ms 7s823ms 20s304ms 12 189 0 3s900ms 7s690ms 11s632ms 2m44s 13 128 0 1s542ms 5s594ms 7s497ms 12s996ms 14 166 11 2s792ms 9s39ms 24s815ms 44s994ms 15 79 0 1s432ms 3s720ms 5s273ms 8s334ms 16 48 0 3s793ms 2s680ms 3s941ms 37s872ms 17 49 0 2s122ms 3s797ms 5s241ms 21s272ms 18 65 11 4s560ms 6s365ms 30s919ms 55s31ms 19 74 0 1s379ms 3s649ms 4s867ms 7s328ms 20 186 0 1s590ms 6s242ms 7s573ms 20s604ms 21 171 0 3s491ms 7s357ms 18s301ms 40s780ms 22 184 0 13s596ms 8s153ms 13s171ms 18m3s 23 216 0 4s791ms 11s728ms 20s519ms 4m31s Apr 26 00 217 0 5s423ms 11s558ms 23s349ms 5m25s 01 158 0 3s272ms 13s764ms 20s555ms 54s664ms 02 98 0 1s806ms 4s639ms 7s427ms 10s791ms 03 113 0 1s853ms 6s185ms 7s113ms 10s141ms 04 97 0 2s516ms 7s403ms 10s943ms 20s412ms 05 233 0 2s252ms 12s177ms 24s579ms 48s720ms 06 224 0 2s308ms 9s331ms 11s335ms 21s757ms 07 238 0 3s401ms 12s717ms 23s648ms 43s120ms 08 217 0 7s242ms 10s496ms 16s568ms 53s870ms 09 194 0 3s543ms 9s763ms 13s517ms 1m38s 10 108 0 11s2ms 6s117ms 9s718ms 4m53s 11 106 0 8s371ms 6s553ms 11s28ms 5m17s 12 100 0 1s697ms 4s411ms 7s794ms 11s739ms 13 75 0 2s130ms 4s536ms 7s13ms 11s486ms 14 138 0 6s855ms 8s6ms 21s548ms 5m2s 15 228 0 4s982ms 16s482ms 38s411ms 51s348ms 16 206 0 4s190ms 9s800ms 16s362ms 3m34s 17 254 0 3s90ms 11s883ms 23s471ms 59s246ms 18 252 27 5s223ms 25s762ms 1m1s 3m17s 19 168 45 26s448ms 1m4s 3m48s 24m39s 20 121 7 3s867ms 7s324ms 15s217ms 1m24s 21 129 0 8s599ms 10s177ms 17s821ms 3m1s 22 147 0 9s629ms 10s374ms 21s470ms 3m40s 23 229 0 3s87ms 13s176ms 21s21ms 1m19s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 20 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms 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 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 25 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 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 Day Hour Prepare Bind Bind/Prepare Percentage of prepare Apr 20 00 0 82 82.00 0.00% 01 0 116 116.00 0.00% 02 0 61 61.00 0.00% 03 0 78 78.00 0.00% 04 0 10 10.00 0.00% 05 0 130 130.00 0.00% 06 0 67 67.00 0.00% 07 0 80 80.00 0.00% 08 0 93 93.00 0.00% 09 0 77 77.00 0.00% 10 0 70 70.00 0.00% 11 0 93 93.00 0.00% 12 0 73 73.00 0.00% 13 0 122 122.00 0.00% 14 0 206 206.00 0.00% 15 0 232 232.00 0.00% 16 0 232 232.00 0.00% 17 0 189 189.00 0.00% 18 0 129 129.00 0.00% 19 0 84 84.00 0.00% 20 0 97 97.00 0.00% 21 0 84 84.00 0.00% 22 0 97 97.00 0.00% 23 0 85 85.00 0.00% Apr 21 00 0 113 113.00 0.00% 01 0 106 106.00 0.00% 02 0 227 227.00 0.00% 03 0 250 250.00 0.00% 04 0 274 274.00 0.00% 05 0 363 363.00 0.00% 06 0 201 201.00 0.00% 07 0 110 110.00 0.00% 08 0 137 137.00 0.00% 09 0 114 114.00 0.00% 10 0 150 150.00 0.00% 11 0 118 118.00 0.00% 12 0 234 234.00 0.00% 13 0 263 263.00 0.00% 14 0 230 230.00 0.00% 15 0 271 271.00 0.00% 16 0 239 239.00 0.00% 17 0 114 114.00 0.00% 18 0 108 108.00 0.00% 19 0 100 100.00 0.00% 20 0 120 120.00 0.00% 21 0 94 94.00 0.00% 22 0 126 126.00 0.00% 23 0 250 250.00 0.00% Apr 22 00 0 243 243.00 0.00% 01 3 572 190.67 0.53% 02 0 974 974.00 0.00% 03 0 386 386.00 0.00% 04 0 105 105.00 0.00% 05 0 129 129.00 0.00% 06 0 81 81.00 0.00% 07 0 188 188.00 0.00% 08 0 239 239.00 0.00% 09 0 267 267.00 0.00% 10 0 269 269.00 0.00% 11 0 242 242.00 0.00% 12 0 142 142.00 0.00% 13 0 116 116.00 0.00% 14 0 120 120.00 0.00% 15 0 98 98.00 0.00% 16 0 90 90.00 0.00% 17 0 170 170.00 0.00% 18 0 247 247.00 0.00% 19 0 247 247.00 0.00% 20 0 251 251.00 0.00% 21 0 233 233.00 0.00% 22 0 165 165.00 0.00% 23 0 97 97.00 0.00% Apr 23 00 0 101 101.00 0.00% 01 0 118 118.00 0.00% 02 0 163 163.00 0.00% 03 0 156 156.00 0.00% 04 0 239 239.00 0.00% 05 0 321 321.00 0.00% 06 0 326 326.00 0.00% 07 0 352 352.00 0.00% 08 0 227 227.00 0.00% 09 0 166 166.00 0.00% 10 0 155 155.00 0.00% 11 0 130 130.00 0.00% 12 0 124 124.00 0.00% 13 0 208 208.00 0.00% 14 0 236 236.00 0.00% 15 0 244 244.00 0.00% 16 0 311 311.00 0.00% 17 0 250 250.00 0.00% 18 0 179 179.00 0.00% 19 0 114 114.00 0.00% 20 0 100 100.00 0.00% 21 0 87 87.00 0.00% 22 0 157 157.00 0.00% 23 0 218 218.00 0.00% Apr 24 00 0 300 300.00 0.00% 01 0 359 359.00 0.00% 02 0 317 317.00 0.00% 03 0 269 269.00 0.00% 04 0 263 263.00 0.00% 05 0 201 201.00 0.00% 06 0 172 172.00 0.00% 07 0 174 174.00 0.00% 08 0 216 216.00 0.00% 09 0 286 286.00 0.00% 10 0 362 362.00 0.00% 11 0 275 275.00 0.00% 12 0 268 268.00 0.00% 13 0 197 197.00 0.00% 14 0 64 64.00 0.00% 15 0 60 60.00 0.00% 16 0 45 45.00 0.00% 17 0 58 58.00 0.00% 18 0 87 87.00 0.00% 19 0 58 58.00 0.00% 20 0 60 60.00 0.00% 21 0 49 49.00 0.00% 22 0 51 51.00 0.00% 23 0 50 50.00 0.00% Apr 25 00 0 37 37.00 0.00% 01 0 55 55.00 0.00% 02 0 30 30.00 0.00% 03 0 69 69.00 0.00% 04 0 185 185.00 0.00% 05 0 224 224.00 0.00% 06 0 165 165.00 0.00% 07 0 213 213.00 0.00% 08 0 112 112.00 0.00% 09 0 33 33.00 0.00% 10 0 126 126.00 0.00% 11 0 176 176.00 0.00% 12 0 196 196.00 0.00% 13 0 136 136.00 0.00% 14 0 169 169.00 0.00% 15 0 81 81.00 0.00% 16 0 48 48.00 0.00% 17 0 50 50.00 0.00% 18 0 65 65.00 0.00% 19 0 74 74.00 0.00% 20 0 186 186.00 0.00% 21 0 171 171.00 0.00% 22 0 184 184.00 0.00% 23 0 216 216.00 0.00% Apr 26 00 0 217 217.00 0.00% 01 0 159 159.00 0.00% 02 0 99 99.00 0.00% 03 0 113 113.00 0.00% 04 0 97 97.00 0.00% 05 0 236 236.00 0.00% 06 0 225 225.00 0.00% 07 0 238 238.00 0.00% 08 0 217 217.00 0.00% 09 0 194 194.00 0.00% 10 0 109 109.00 0.00% 11 0 106 106.00 0.00% 12 0 100 100.00 0.00% 13 0 76 76.00 0.00% 14 0 139 139.00 0.00% 15 0 230 230.00 0.00% 16 0 207 207.00 0.00% 17 0 254 254.00 0.00% 18 0 252 252.00 0.00% 19 0 169 169.00 0.00% 20 0 122 122.00 0.00% 21 0 129 129.00 0.00% 22 0 147 147.00 0.00% 23 0 229 229.00 0.00% Day Hour Count Average / Second Apr 20 00 99 0.03/s 01 379 0.11/s 02 371 0.10/s 03 335 0.09/s 04 122 0.03/s 05 337 0.09/s 06 92 0.03/s 07 95 0.03/s 08 96 0.03/s 09 90 0.03/s 10 87 0.02/s 11 96 0.03/s 12 85 0.02/s 13 105 0.03/s 14 107 0.03/s 15 133 0.04/s 16 115 0.03/s 17 124 0.03/s 18 102 0.03/s 19 83 0.02/s 20 105 0.03/s 21 89 0.02/s 22 142 0.04/s 23 102 0.03/s Apr 21 00 91 0.03/s 01 112 0.03/s 02 149 0.04/s 03 132 0.04/s 04 138 0.04/s 05 297 0.08/s 06 163 0.05/s 07 96 0.03/s 08 113 0.03/s 09 1,029 0.29/s 10 143 0.04/s 11 97 0.03/s 12 199 0.06/s 13 110 0.03/s 14 127 0.04/s 15 119 0.03/s 16 147 0.04/s 17 91 0.03/s 18 93 0.03/s 19 99 0.03/s 20 90 0.03/s 21 91 0.03/s 22 99 0.03/s 23 148 0.04/s Apr 22 00 119 0.03/s 01 3,442 0.96/s 02 5,291 1.47/s 03 1,812 0.50/s 04 92 0.03/s 05 127 0.04/s 06 93 0.03/s 07 123 0.03/s 08 124 0.03/s 09 137 0.04/s 10 124 0.03/s 11 180 0.05/s 12 95 0.03/s 13 104 0.03/s 14 93 0.03/s 15 100 0.03/s 16 90 0.03/s 17 102 0.03/s 18 118 0.03/s 19 135 0.04/s 20 133 0.04/s 21 161 0.04/s 22 115 0.03/s 23 109 0.03/s Apr 23 00 94 0.03/s 01 510 0.14/s 02 122 0.03/s 03 122 0.03/s 04 151 0.04/s 05 281 0.08/s 06 127 0.04/s 07 188 0.05/s 08 215 0.06/s 09 229 0.06/s 10 129 0.04/s 11 114 0.03/s 12 125 0.03/s 13 144 0.04/s 14 159 0.04/s 15 134 0.04/s 16 162 0.04/s 17 156 0.04/s 18 200 0.06/s 19 114 0.03/s 20 101 0.03/s 21 87 0.02/s 22 131 0.04/s 23 157 0.04/s Apr 24 00 224 0.06/s 01 423 0.12/s 02 134 0.04/s 03 147 0.04/s 04 137 0.04/s 05 180 0.05/s 06 140 0.04/s 07 168 0.05/s 08 128 0.04/s 09 152 0.04/s 10 175 0.05/s 11 162 0.04/s 12 228 0.06/s 13 136 0.04/s 14 90 0.03/s 15 88 0.02/s 16 90 0.03/s 17 89 0.02/s 18 93 0.03/s 19 88 0.02/s 20 94 0.03/s 21 104 0.03/s 22 93 0.03/s 23 89 0.02/s Apr 25 00 92 0.03/s 01 88 0.02/s 02 95 0.03/s 03 115 0.03/s 04 166 0.05/s 05 183 0.05/s 06 100 0.03/s 07 180 0.05/s 08 112 0.03/s 09 96 0.03/s 10 573 0.16/s 11 145 0.04/s 12 137 0.04/s 13 108 0.03/s 14 165 0.05/s 15 153 0.04/s 16 95 0.03/s 17 76 0.02/s 18 89 0.02/s 19 87 0.02/s 20 115 0.03/s 21 177 0.05/s 22 129 0.04/s 23 174 0.05/s Apr 26 00 151 0.04/s 01 118 0.03/s 02 104 0.03/s 03 93 0.03/s 04 101 0.03/s 05 170 0.05/s 06 110 0.03/s 07 117 0.03/s 08 97 0.03/s 09 190 0.05/s 10 96 0.03/s 11 121 0.03/s 12 85 0.02/s 13 80 0.02/s 14 102 0.03/s 15 145 0.04/s 16 120 0.03/s 17 160 0.04/s 18 199 0.06/s 19 93 0.03/s 20 84 0.02/s 21 98 0.03/s 22 136 0.04/s 23 172 0.05/s Day Hour Count Average Duration Average idle time Apr 20 00 100 24m52s 24m39s 01 379 6m 5m59s 02 365 6m9s 6m8s 03 340 8m1s 7m59s 04 104 22m35s 22m31s 05 356 11m19s 11m17s 06 92 25m8s 25m4s 07 95 25m11s 25m4s 08 96 25m43s 25m35s 09 90 26m55s 26m53s 10 87 27m21s 27m18s 11 96 27m7s 27m5s 12 84 28m12s 28m5s 13 106 23m20s 23m17s 14 107 22m20s 22m13s 15 133 18m44s 18m39s 16 115 21m4s 20m45s 17 123 19m54s 19m52s 18 103 22m57s 22m50s 19 83 28m17s 28m12s 20 105 22m4s 22m2s 21 89 26m4s 25m54s 22 142 17m35s 17m31s 23 102 22m34s 22m30s Apr 21 00 91 25m13s 25m7s 01 112 21m36s 21m28s 02 149 16m12s 15m57s 03 132 17m55s 17m52s 04 138 18m4s 17m57s 05 297 8m 7m57s 06 163 15m4s 14m57s 07 96 24m59s 24m56s 08 113 22m15s 22m9s 09 1,016 2m29s 2m29s 10 156 14m27s 14m24s 11 97 25m27s 25m18s 12 195 13m16s 13m10s 13 110 21m58s 21m39s 14 124 19m5s 18m58s 15 122 20m15s 20m5s 16 147 39m45s 39m31s 17 91 24m57s 24m55s 18 94 30m20s 30m13s 19 101 31m6s 30m55s 20 91 31m55s 31m43s 21 91 25m2s 24m56s 22 99 23m16s 23m11s 23 148 16m42s 16m31s Apr 22 00 119 19m49s 19m42s 01 3,440 3m30s 3m29s 02 5,293 30s176ms 27s895ms 03 1,812 1m20s 1m19s 04 92 26m39s 26m34s 05 127 18m43s 18m40s 06 93 25m10s 25m7s 07 123 20m31s 20m25s 08 123 19m40s 19m23s 09 137 18m12s 17m59s 10 124 18m58s 18m47s 11 179 14m3s 13m57s 12 96 25m1s 24m46s 13 104 22m41s 22m36s 14 93 25m46s 25m42s 15 100 25m9s 25m1s 16 88 26m29s 26m25s 17 103 24m32s 24m21s 18 119 21m42s 21m37s 19 136 22m24s 22m9s 20 133 18m1s 17m56s 21 161 14m17s 14m11s 22 114 19m53s 19m50s 23 110 21m24s 21m16s Apr 23 00 93 24m36s 24m31s 01 511 4m54s 4m53s 02 122 20m21s 20m18s 03 122 19m10s 19m8s 04 151 15m47s 15m39s 05 280 8m49s 8m44s 06 128 18m27s 18m11s 07 188 13m21s 13m18s 08 215 11m11s 11m7s 09 229 10m21s 10m20s 10 128 19m34s 19m31s 11 114 20m41s 20m37s 12 125 19m3s 18m57s 13 144 17m39s 17m36s 14 159 15m12s 15m9s 15 132 17m57s 17m45s 16 164 15m39s 15m16s 17 156 15m44s 15m29s 18 200 11m51s 11m48s 19 114 21m7s 21m5s 20 102 27m52s 27m39s 21 87 25m5s 25m2s 22 131 18m38s 18m36s 23 157 15m44s 15m39s Apr 24 00 224 23m33s 23m28s 01 423 5m46s 5m44s 02 134 17m18s 17m11s 03 147 16m38s 16m31s 04 137 17m45s 17m40s 05 180 13m45s 13m42s 06 140 17m20s 17m13s 07 167 14m47s 14m44s 08 129 18m50s 18m34s 09 152 15m17s 15m13s 10 174 13m43s 13m32s 11 162 14m47s 14m38s 12 228 25m38s 25m35s 13 136 17m36s 17m35s 14 90 27m18s 27m15s 15 88 27m26s 27m25s 16 87 27m22s 27m21s 17 89 27m26s 27m24s 18 97 33m40s 33m37s 19 88 27m49s 27m44s 20 94 23m41s 23m40s 21 104 21m57s 21m55s 22 93 26m13s 26m3s 23 89 27m1s 27m Apr 25 00 92 25m52s 25m48s 01 88 27m42s 27m41s 02 95 25m36s 25m35s 03 115 21m3s 21m3s 04 166 15m1s 14m58s 05 183 13m4s 13m1s 06 100 23m27s 23m23s 07 180 13m50s 13m42s 08 109 21m58s 21m56s 09 96 26m1s 25m54s 10 573 4m8s 4m7s 11 145 16m1s 15m59s 12 136 17m58s 17m52s 13 108 21m41s 21m39s 14 165 15m30s 15m27s 15 153 15m42s 15m42s 16 95 25m21s 25m19s 17 76 29m10s 29m9s 18 92 44m26s 44m22s 19 88 34m20s 34m19s 20 115 18m55s 18m53s 21 177 13m24s 13m21s 22 129 19m29s 19m10s 23 174 13m50s 13m44s Apr 26 00 151 15m40s 15m32s 01 118 20m12s 20m8s 02 104 23m50s 23m48s 03 93 26m8s 26m5s 04 101 23m30s 23m28s 05 170 15m20s 15m17s 06 110 20m51s 20m46s 07 116 21m13s 21m6s 08 98 23m40s 23m24s 09 190 12m57s 12m53s 10 96 24m58s 24m46s 11 121 19m38s 19m30s 12 85 29m29s 29m27s 13 80 28m40s 28m38s 14 102 24m58s 24m48s 15 145 16m20s 16m12s 16 118 20m29s 20m21s 17 160 15m17s 15m12s 18 197 12m3s 11m56s 19 96 25m26s 24m27s 20 85 28m44s 28m38s 21 98 24m31s 24m20s 22 136 18m6s 17m56s 23 172 14m22s 14m18s -
Connections
Established Connections
Key values
- 98 connections Connection Peak
- 2025-04-20 05:03:52 Date
Connections per database
Key values
- ctdprd51 Main Database
- 34,279 connections Total
Connections per user
Key values
- pubeu Main User
- 34,279 connections Total
-
Sessions
Simultaneous sessions
Key values
- 83 sessions Session Peak
- 2025-04-22 02:07:23 Date
Histogram of session times
Key values
- 11,195 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 34,280 sessions Total
Sessions per user
Key values
- pubeu Main User
- 34,280 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 34,280 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 23,699 58d9h30m47s 3m32s 10.12.5.38 2,631 56d55m35s 30m40s 10.12.5.39 2,582 56d32m17s 31m14s 10.12.5.45 2,663 55d23h53m12s 30m16s 10.12.5.46 2,624 55d21h12m10s 30m40s 192.168.201.10 2 8h34m45s 4h17m22s 192.168.201.14 10 2d16h24m31s 6h26m27s 192.168.201.18 4 1d4h24m15s 7h6m3s 192.168.201.6 2 4h23m33s 2h11m46s ::1 63 13d9h59m50s 5h6m39s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 277,374 buffers Checkpoint Peak
- 2025-04-23 09:19:41 Date
- 1620.030 seconds Highest write time
- 0.059 seconds Sync time
Checkpoints Wal files
Key values
- 95 files Wal files usage Peak
- 2025-04-21 13:19:35 Date
Checkpoints distance
Key values
- 2,846.39 Mo Distance Peak
- 2025-04-21 13:19:35 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Apr 20 00 2,733 273.734s 0.003s 273.844s 01 725 72.625s 0.002s 72.656s 02 538 53.993s 0.002s 54.025s 03 69,587 2,035.068s 0.004s 2,035.716s 04 4,885 489.457s 0.002s 489.522s 05 197,824 1,619.086s 0.017s 1,619.537s 06 58,480 1,723.799s 0.005s 1,723.949s 07 1,261 126.394s 0.003s 126.473s 08 57,860 1,650.958s 0.003s 1,651.426s 09 1,288 128.888s 0.002s 128.965s 10 2,380 238.461s 0.003s 238.54s 11 1,358 136.019s 0.003s 136.052s 12 1,171 117.361s 0.002s 117.392s 13 1,412 141.681s 0.003s 141.762s 14 2,706 270.933s 0.002s 271.009s 15 2,198 220.022s 0.003s 220.099s 16 2,038 203.882s 0.003s 203.913s 17 2,598 260.033s 0.002s 260.108s 18 2,349 235.048s 0.002s 235.123s 19 2,682 268.723s 0.002s 268.802s 20 1,934 193.637s 0.002s 193.668s 21 2,264 226.628s 0.003s 226.702s 22 2,094 209.743s 0.003s 209.829s 23 2,444 244.703s 0.002s 244.78s Apr 21 00 6,497 650.303s 0.005s 650.431s 01 417 41.765s 0.001s 41.827s 02 36,284 2,354.377s 0.004s 2,354.757s 03 62,202 2,362.657s 0.005s 2,363.243s 04 2,093 209.41s 0.003s 209.441s 05 2,157 216.796s 0.003s 217.155s 06 2,349 235.068s 0.004s 235.142s 07 1,374 137.651s 0.002s 137.668s 08 7,411 741.89s 0.006s 741.984s 09 1,970 197.449s 0.003s 197.526s 10 4,154 415.92s 0.003s 415.997s 11 7,649 765.997s 0.004s 766.109s 12 10,132 1,014.719s 0.003s 1,014.918s 13 166,626 3,218.021s 0.005s 3,219.225s 14 5,739 574.745s 0.003s 574.776s 15 7,252 726.274s 0.002s 726.442s 16 10,954 1,096.897s 0.004s 1,096.928s 17 9,756 977.627s 0.005s 977.824s 18 4,211 421.739s 0.003s 421.83s 19 1,683 168.72s 0.004s 168.752s 20 1,744 174.738s 0.003s 174.768s 21 4,472 447.987s 0.004s 448.078s 22 1,281 128.307s 0.002s 128.322s 23 8,589 860.257s 0.006s 860.39s Apr 22 00 11,753 1,176.83s 0.002s 1,176.948s 01 1,670 166.95s 0.002s 167.028s 02 2,453 245.875s 0.002s 245.964s 03 801 80.134s 0.002s 80.151s 04 10,016 1,002.969s 0.004s 1,003.077s 05 1,870 187.261s 0.002s 187.336s 06 8,192 820.291s 0.002s 820.438s 07 1,667 166.92s 0.002s 166.951s 08 2,505 250.83s 0.003s 250.907s 09 2,946 294.983s 0.003s 295.061s 10 31,983 1,677.926s 0.002s 1,678.231s 11 1,740 174.178s 0.002s 174.292s 12 17,203 1,660.072s 0.003s 1,660.209s 13 8,018 802.838s 0.003s 802.938s 14 65,906 2,516.414s 0.004s 2,517.276s 15 38,585 1,798.523s 0.006s 1,798.572s 16 2,679 268.302s 0.003s 268.379s 17 2,419 242.136s 0.002s 242.212s 18 7,734 774.449s 0.003s 774.601s 19 3,100 310.248s 0.002s 310.339s 20 4,116 412.1s 0.003s 412.18s 21 3,208 321.107s 0.002s 321.185s 22 3,560 356.403s 0.002s 356.446s 23 1,363 136.454s 0.001s 136.514s Apr 23 00 39,119 2,460.902s 0.006s 2,461.273s 01 828 82.962s 0.002s 82.992s 02 11,644 1,165.923s 0.003s 1,166.039s 03 2,266 226.725s 0.003s 226.805s 04 92,017 1,619.238s 0.059s 1,620.334s 05 107,224 1,780.195s 0.006s 1,780.724s 06 1,433 143.417s 0.001s 143.479s 07 52,981 1,696.166s 0.004s 1,696.649s 08 7,856 786.852s 0.004s 786.967s 09 352,744 3,335.888s 0.007s 3,336.91s 10 2,068 207.217s 0.003s 207.294s 11 2,760 276.424s 0.003s 276.505s 12 2,130 213.469s 0.004s 213.502s 13 3,398 340.461s 0.004s 340.564s 14 3,379 338.472s 0.003s 338.552s 15 26,852 1,698.696s 0.004s 1,698.957s 16 10,920 1,093.682s 0.004s 1,094.251s 17 62,617 1,748.221s 0.004s 1,748.324s 18 5,311 532.205s 0.003s 532.331s 19 2,236 223.847s 0.003s 223.929s 20 2,237 224.214s 0.004s 224.293s 21 2,780 278.567s 0.004s 278.645s 22 2,465 246.958s 0.003s 247.034s 23 4,246 425.328s 0.006s 425.412s Apr 24 00 26,808 1,662.778s 0.008s 1,663.058s 01 707 70.811s 0.002s 70.827s 02 6,883 689.326s 0.006s 689.409s 03 1,626 162.797s 0.004s 163.254s 04 52,462 1,677.779s 0.004s 1,677.869s 05 9,994 1,000.829s 0.004s 1,000.968s 06 2,345 235.003s 0.004s 235.034s 07 6,181 619.687s 0.004s 619.786s 08 7,304 731.418s 0.004s 731.532s 09 4,995 500.497s 0.002s 500.572s 10 6,867 687.569s 0.004s 687.756s 11 9,676 969.165s 0.005s 969.257s 12 2,100 210.257s 0.004s 210.343s 13 1,098 109.978s 0.002s 109.993s 14 7,413 742.283s 0.005s 742.444s 15 4,004 400.857s 0.002s 400.931s 16 31,657 1,770.366s 0.004s 1,770.705s 17 2,535 254.024s 0.004s 254.099s 18 1,849 185.194s 0.003s 185.224s 19 1,643 164.663s 0.003s 164.74s 20 2,131 213.547s 0.003s 213.622s 21 2,765 276.826s 0.004s 276.904s 22 858 86.02s 0.002s 86.036s 23 14,592 1,460.759s 0.004s 1,460.973s Apr 25 00 5,189 519.392s 0.005s 519.558s 01 760 76.197s 0.004s 76.228s 02 775 77.711s 0.002s 77.741s 03 2,147 214.948s 0.003s 215.027s 04 1,977 198.134s 0.002s 198.211s 05 1,477 147.818s 0.002s 147.852s 06 2,029 203.159s 0.004s 203.235s 07 832 83.248s 0.002s 83.265s 08 111,319 3,239.942s 0.004s 3,240.999s 09 12,145 1,216.143s 0.005s 1,216.189s 10 2,272 227.697s 0.003s 227.787s 11 1,024 102.487s 0.002s 102.55s 12 49,562 1,775.054s 0.005s 1,775.492s 13 2,387 239.103s 0.002s 239.182s 14 2,255 225.905s 0.002s 225.98s 15 1,927 193.009s 0.006s 193.089s 16 2,036 203.917s 0.003s 203.947s 17 1,693 169.623s 0.003s 169.701s 18 1,657 166.036s 0.003s 166.117s 19 1,917 191.999s 0.003s 192.029s 20 2,049 205.033s 0.002s 205.109s 21 1,419 142.127s 0.001s 142.188s 22 8,043 805.218s 0.006s 805.366s 23 2,885 288.911s 0.002s 288.987s Apr 26 00 12,999 1,301.707s 0.004s 1,301.901s 01 5,312 531.949s 0.003s 532.05s 02 2,028 203.105s 0.004s 203.135s 03 917 91.731s 0.002s 91.762s 04 612 61.293s 0.001s 61.354s 05 65,535 2,303.396s 0.006s 2,303.985s 06 1,339 134.05s 0.004s 134.127s 07 1,802 180.43s 0.004s 180.462s 08 609 61.031s 0.001s 61.046s 09 39,114 1,749.536s 0.005s 1,749.666s 10 2,130 213.456s 0.004s 213.532s 11 4,433 444.025s 0.004s 444.148s 12 1,361 136.392s 0.004s 136.422s 13 1,421 142.317s 0.006s 142.395s 14 1,051 105.373s 0.002s 105.388s 15 18,952 1,898.552s 0.006s 1,898.795s 16 2,719 272.185s 0.003s 272.262s 17 61,891 1,666.473s 0.005s 1,667.056s 18 2,427 243.297s 0.004s 243.377s 19 160,905 1,656.062s 0.003s 1,656.151s 20 6,711 671.905s 0.004s 672.006s 21 1,932 193.484s 0.004s 193.563s 22 2,033 203.75s 0.002s 203.827s 23 2,774 277.614s 0.004s 277.699s Day Hour Added Removed Recycled Synced files Longest sync Average sync Apr 20 00 0 0 3 74 0.001s 0.002s 01 0 0 0 37 0.001s 0.002s 02 0 0 0 28 0.001s 0.002s 03 0 0 46 60 0.001s 0.002s 04 0 0 1 28 0.001s 0.001s 05 0 0 32 27 0.009s 0.001s 06 0 0 6 77 0.001s 0.003s 07 0 0 1 119 0.001s 0.002s 08 0 0 34 142 0.001s 0.002s 09 0 0 1 119 0.001s 0.002s 10 0 0 1 92 0.001s 0.002s 11 0 0 0 29 0.001s 0.002s 12 0 0 0 109 0.001s 0.002s 13 0 0 1 74 0.001s 0.002s 14 0 0 1 39 0.001s 0.002s 15 0 0 1 34 0.001s 0.002s 16 0 0 0 24 0.001s 0.002s 17 0 0 1 26 0.001s 0.002s 18 0 0 1 24 0.001s 0.002s 19 0 0 1 26 0.001s 0.002s 20 0 0 0 19 0.001s 0.002s 21 0 0 1 25 0.001s 0.002s 22 0 0 1 22 0.001s 0.002s 23 0 0 1 25 0.001s 0.002s Apr 21 00 0 0 5 79 0.001s 0.002s 01 0 0 1 16 0.001s 0.001s 02 0 0 23 70 0.001s 0.002s 03 0 0 39 89 0.001s 0.003s 04 0 0 0 46 0.001s 0.002s 05 0 0 1 35 0.001s 0.002s 06 0 0 1 40 0.001s 0.002s 07 0 0 0 21 0.001s 0.001s 08 0 0 4 52 0.001s 0.003s 09 0 0 1 72 0.001s 0.002s 10 0 0 1 133 0.001s 0.002s 11 0 0 4 79 0.001s 0.002s 12 0 0 6 75 0.001s 0.001s 13 0 0 95 179 0.001s 0.003s 14 0 0 0 98 0.001s 0.002s 15 0 0 10 33 0.001s 0.001s 16 0 0 0 99 0.001s 0.002s 17 0 0 4 171 0.001s 0.003s 18 0 0 2 44 0.001s 0.002s 19 0 0 0 32 0.001s 0.002s 20 0 0 0 33 0.001s 0.002s 21 0 0 2 48 0.001s 0.002s 22 0 0 0 23 0.001s 0.001s 23 0 0 4 60 0.002s 0.003s Apr 22 00 0 0 7 86 0.001s 0.002s 01 0 0 1 50 0.001s 0.002s 02 0 0 1 50 0.001s 0.002s 03 0 0 0 17 0.002s 0.001s 04 0 0 5 61 0.002s 0.003s 05 0 0 1 39 0.001s 0.002s 06 0 0 4 86 0.001s 0.002s 07 0 0 0 124 0.001s 0.002s 08 0 0 1 130 0.002s 0.002s 09 0 0 1 82 0.001s 0.002s 10 0 0 20 43 0.001s 0.002s 11 0 0 5 25 0.001s 0.001s 12 0 0 6 149 0.001s 0.002s 13 0 0 3 89 0.001s 0.002s 14 0 0 66 158 0.001s 0.002s 15 0 0 0 120 0.002s 0.003s 16 0 0 1 22 0.001s 0.002s 17 0 0 1 26 0.001s 0.002s 18 0 0 4 31 0.001s 0.002s 19 0 0 1 24 0.001s 0.002s 20 0 0 1 30 0.001s 0.002s 21 0 0 1 18 0.001s 0.002s 22 0 0 1 27 0.001s 0.002s 23 0 0 1 8 0.001s 0.001s Apr 23 00 0 0 23 117 0.001s 0.003s 01 0 0 0 34 0.001s 0.002s 02 0 0 7 51 0.001s 0.002s 03 0 0 1 41 0.001s 0.002s 04 0 0 72 41 0.020s 0.002s 05 0 0 37 75 0.001s 0.003s 06 0 0 1 33 0.001s 0.001s 07 0 0 35 73 0.001s 0.002s 08 0 0 4 51 0.001s 0.002s 09 0 0 76 267 0.001s 0.003s 10 0 0 1 117 0.001s 0.002s 11 0 0 1 121 0.001s 0.002s 12 0 0 0 70 0.001s 0.002s 13 0 0 2 147 0.001s 0.002s 14 0 0 1 41 0.001s 0.002s 15 0 0 16 44 0.001s 0.002s 16 0 0 38 52 0.001s 0.002s 17 0 0 3 40 0.001s 0.002s 18 0 0 2 42 0.001s 0.002s 19 0 0 1 17 0.001s 0.002s 20 0 0 1 17 0.001s 0.002s 21 0 0 1 26 0.001s 0.002s 22 0 0 1 18 0.001s 0.002s 23 0 0 1 37 0.002s 0.002s Apr 24 00 0 0 17 81 0.003s 0.002s 01 0 0 0 20 0.001s 0.001s 02 0 0 3 72 0.001s 0.003s 03 0 0 33 46 0.001s 0.002s 04 0 0 2 62 0.001s 0.002s 05 0 0 6 59 0.001s 0.002s 06 0 0 0 85 0.001s 0.002s 07 0 0 4 137 0.001s 0.002s 08 0 0 4 131 0.001s 0.002s 09 0 0 2 71 0.001s 0.001s 10 0 0 7 109 0.001s 0.002s 11 0 0 1 113 0.001s 0.003s 12 0 0 1 106 0.001s 0.002s 13 0 0 0 69 0.001s 0.001s 14 0 0 4 183 0.001s 0.003s 15 0 0 2 20 0.001s 0.001s 16 0 0 19 50 0.001s 0.003s 17 0 0 1 21 0.001s 0.002s 18 0 0 0 22 0.001s 0.002s 19 0 0 1 19 0.001s 0.002s 20 0 0 1 31 0.001s 0.002s 21 0 0 1 38 0.001s 0.002s 22 0 0 0 9 0.001s 0.001s 23 0 0 8 63 0.001s 0.003s Apr 25 00 0 0 5 85 0.001s 0.002s 01 0 0 0 42 0.001s 0.002s 02 0 0 0 35 0.001s 0.002s 03 0 0 1 54 0.001s 0.002s 04 0 0 1 51 0.001s 0.002s 05 0 0 0 41 0.001s 0.002s 06 0 0 1 131 0.001s 0.002s 07 0 0 0 64 0.001s 0.001s 08 0 0 81 183 0.001s 0.002s 09 0 0 0 198 0.001s 0.003s 10 0 0 1 132 0.002s 0.002s 11 0 0 1 71 0.001s 0.001s 12 0 0 30 164 0.001s 0.003s 13 0 0 1 86 0.001s 0.002s 14 0 0 1 80 0.001s 0.002s 15 0 0 1 77 0.004s 0.002s 16 0 0 0 30 0.001s 0.002s 17 0 0 1 27 0.001s 0.002s 18 0 0 1 25 0.001s 0.002s 19 0 0 0 31 0.001s 0.002s 20 0 0 1 21 0.001s 0.002s 21 0 0 1 17 0.001s 0.001s 22 0 0 3 56 0.001s 0.003s 23 0 0 1 31 0.001s 0.002s Apr 26 00 0 0 10 92 0.001s 0.002s 01 0 0 3 47 0.001s 0.002s 02 0 0 0 42 0.001s 0.002s 03 0 0 0 34 0.001s 0.002s 04 0 0 1 18 0.001s 0.001s 05 0 0 42 77 0.001s 0.003s 06 0 0 1 32 0.001s 0.002s 07 0 0 0 35 0.001s 0.002s 08 0 0 0 9 0.001s 0.001s 09 0 0 4 59 0.001s 0.003s 10 0 0 1 43 0.001s 0.002s 11 0 0 2 45 0.001s 0.002s 12 0 0 0 23 0.001s 0.002s 13 0 0 1 18 0.004s 0.002s 14 0 0 0 18 0.001s 0.001s 15 0 0 10 71 0.001s 0.003s 16 0 0 1 30 0.001s 0.002s 17 0 0 41 48 0.001s 0.002s 18 0 0 1 31 0.001s 0.002s 19 0 0 1 23 0.001s 0.002s 20 0 0 3 36 0.001s 0.002s 21 0 0 1 19 0.001s 0.002s 22 0 0 1 21 0.001s 0.002s 23 0 0 1 27 0.001s 0.002s Day Hour Count Avg time (sec) Apr 20 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s 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 Day Hour Mean distance Mean estimate Apr 20 00 24,138.50 kB 44,031.50 kB 01 2,295.50 kB 36,092.50 kB 02 1,594.00 kB 29,595.50 kB 03 353,829.50 kB 637,225.00 kB 04 46,976.00 kB 549,861.00 kB 05 13,805.00 kB 496,255.00 kB 06 209,827.67 kB 564,430.67 kB 07 3,625.00 kB 433,443.00 kB 08 281,335.50 kB 531,783.00 kB 09 3,779.00 kB 431,428.00 kB 10 7,365.50 kB 350,871.50 kB 11 3,534.50 kB 284,853.00 kB 12 3,592.50 kB 231,414.50 kB 13 4,069.50 kB 188,168.50 kB 14 5,956.00 kB 153,497.00 kB 15 6,202.00 kB 125,500.00 kB 16 6,421.00 kB 102,871.00 kB 17 6,999.00 kB 84,656.50 kB 18 6,699.50 kB 69,869.50 kB 19 6,030.00 kB 57,737.50 kB 20 6,029.50 kB 47,916.00 kB 21 6,610.50 kB 40,049.50 kB 22 6,722.00 kB 33,699.50 kB 23 6,966.00 kB 28,624.00 kB Apr 21 00 45,296.50 kB 83,544.50 kB 01 2,759.00 kB 71,641.00 kB 02 178,760.50 kB 184,379.50 kB 03 219,188.00 kB 533,577.00 kB 04 6,421.50 kB 412,335.50 kB 05 6,629.50 kB 335,173.50 kB 06 6,001.00 kB 272,707.50 kB 07 8,430.00 kB 233,631.00 kB 08 20,695.00 kB 195,089.33 kB 09 6,136.00 kB 150,927.50 kB 10 11,656.00 kB 124,002.00 kB 11 28,379.50 kB 106,322.50 kB 12 89,053.00 kB 99,839.00 kB 13 522,571.00 kB 1,323,364.33 kB 14 4,037.50 kB 1,018,414.00 kB 15 59,245.00 kB 874,429.00 kB 16 48,709.00 kB 756,708.50 kB 17 23,328.67 kB 588,990.33 kB 18 10,554.50 kB 453,071.50 kB 19 3,015.50 kB 368,269.50 kB 20 3,122.50 kB 298,890.00 kB 21 12,538.50 kB 244,458.00 kB 22 3,782.00 kB 208,974.00 kB 23 24,072.00 kB 175,982.33 kB Apr 22 00 54,939.50 kB 145,645.50 kB 01 5,442.00 kB 118,907.00 kB 02 7,411.00 kB 97,584.00 kB 03 5,271.00 kB 84,162.00 kB 04 28,108.00 kB 75,698.33 kB 05 5,747.00 kB 59,135.50 kB 06 29,833.50 kB 53,692.50 kB 07 5,681.50 kB 44,542.50 kB 08 8,191.00 kB 37,484.00 kB 09 8,453.50 kB 31,940.50 kB 10 164,926.50 kB 307,761.50 kB 11 7,915.00 kB 263,493.00 kB 12 81,206.50 kB 240,425.50 kB 13 27,504.50 kB 199,350.50 kB 14 342,631.00 kB 396,082.00 kB 15 133,272.00 kB 534,863.67 kB 16 6,340.50 kB 411,530.00 kB 17 7,578.50 kB 334,684.50 kB 18 27,706.00 kB 276,350.00 kB 19 9,405.50 kB 225,609.50 kB 20 10,101.50 kB 184,617.00 kB 21 10,030.00 kB 151,455.00 kB 22 9,542.50 kB 124,562.00 kB 23 8,057.00 kB 107,415.00 kB Apr 23 00 124,893.33 kB 229,091.00 kB 01 2,810.00 kB 237,102.00 kB 02 59,462.00 kB 203,345.00 kB 03 4,018.00 kB 165,412.50 kB 04 664,169.00 kB 664,169.00 kB 05 377,752.33 kB 1,013,823.67 kB 06 6,736.00 kB 819,403.00 kB 07 286,969.00 kB 754,769.50 kB 08 36,189.50 kB 618,243.50 kB 09 413,862.00 kB 708,160.67 kB 10 6,398.50 kB 631,084.50 kB 11 7,334.00 kB 512,553.00 kB 12 5,775.00 kB 416,343.50 kB 13 11,551.00 kB 339,013.00 kB 14 7,783.50 kB 276,420.50 kB 15 135,499.50 kB 249,663.00 kB 16 42,954.00 kB 209,448.00 kB 17 289,440.50 kB 541,578.00 kB 18 17,858.50 kB 441,310.50 kB 19 7,341.50 kB 359,717.00 kB 20 7,166.50 kB 292,733.50 kB 21 7,599.00 kB 238,538.50 kB 22 7,981.50 kB 194,688.50 kB 23 10,870.00 kB 159,594.00 kB Apr 24 00 135,180.00 kB 253,262.00 kB 01 4,539.00 kB 216,582.00 kB 02 17,040.00 kB 180,333.00 kB 03 4,801.00 kB 139,349.50 kB 04 284,779.00 kB 536,678.50 kB 05 43,859.00 kB 442,821.50 kB 06 5,451.00 kB 359,881.50 kB 07 28,726.00 kB 296,975.50 kB 08 34,923.50 kB 247,184.00 kB 09 30,739.00 kB 214,114.00 kB 10 30,101.00 kB 188,494.00 kB 11 22,790.00 kB 150,994.00 kB 12 6,648.00 kB 117,408.00 kB 13 6,814.00 kB 101,092.00 kB 14 20,808.00 kB 87,412.33 kB 15 26,895.00 kB 73,691.00 kB 16 105,385.67 kB 276,432.00 kB 17 5,968.00 kB 213,244.50 kB 18 5,743.00 kB 173,867.50 kB 19 5,268.50 kB 141,846.00 kB 20 5,945.00 kB 115,997.50 kB 21 8,583.50 kB 95,357.50 kB 22 5,453.00 kB 82,374.00 kB 23 41,148.67 kB 101,974.00 kB Apr 25 00 41,323.50 kB 86,439.50 kB 01 2,273.00 kB 70,434.00 kB 02 2,266.00 kB 57,476.50 kB 03 6,877.00 kB 47,834.00 kB 04 5,983.50 kB 39,841.50 kB 05 4,627.00 kB 33,087.00 kB 06 4,588.00 kB 27,695.50 kB 07 5,093.00 kB 24,352.00 kB 08 602,938.00 kB 652,760.00 kB 09 42,303.33 kB 537,310.33 kB 10 6,085.50 kB 413,162.50 kB 11 6,436.00 kB 353,228.00 kB 12 168,072.00 kB 445,816.33 kB 13 6,213.50 kB 343,202.00 kB 14 6,749.50 kB 279,289.00 kB 15 5,637.50 kB 227,340.50 kB 16 4,901.00 kB 185,068.50 kB 17 5,398.50 kB 150,923.50 kB 18 5,011.50 kB 123,205.00 kB 19 5,679.00 kB 100,827.00 kB 20 6,775.00 kB 82,920.00 kB 21 7,471.00 kB 71,773.00 kB 22 19,516.67 kB 62,944.33 kB 23 8,075.00 kB 50,167.00 kB Apr 26 00 78,253.00 kB 146,284.00 kB 01 25,682.50 kB 123,360.00 kB 02 3,079.00 kB 100,504.50 kB 03 2,946.50 kB 81,967.50 kB 04 3,362.00 kB 70,364.00 kB 05 231,617.33 kB 571,040.33 kB 06 4,144.50 kB 440,451.50 kB 07 4,860.00 kB 357,683.50 kB 08 4,379.00 kB 305,628.00 kB 09 21,260.33 kB 253,809.33 kB 10 6,111.00 kB 195,864.00 kB 11 13,145.50 kB 161,253.50 kB 12 4,049.50 kB 131,434.00 kB 13 4,260.50 kB 107,258.50 kB 14 4,937.00 kB 92,145.00 kB 15 55,790.00 kB 103,020.67 kB 16 8,727.50 kB 91,302.00 kB 17 334,390.00 kB 629,476.50 kB 18 6,951.00 kB 511,167.00 kB 19 6,394.50 kB 415,327.00 kB 20 29,142.00 kB 341,925.50 kB 21 6,107.50 kB 278,114.50 kB 22 6,387.50 kB 226,484.00 kB 23 7,421.00 kB 184,778.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Apr 20 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 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 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 25 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 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 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 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 56.38 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-04-23 08:50:16 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 56.38 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-04-23 08:50:16 Date
Analyzes per table
Key values
- pubc.log_query (234) Main table analyzed (database ctdprd51)
- 247 analyzes Total
Vacuums per table
Key values
- pubc.log_query (92) Main table vacuumed on database ctdprd51
- 109 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 92 41 171,231 0 29,695 0 22,784 48,031 6,391 24,327,546 ctdprd51.pg_toast.pg_toast_2619 5 5 19,959 0 5,758 0 49,779 15,571 5,030 2,744,710 ctdprd51.pg_toast.pg_toast_486223 3 0 100 0 8 0 0 12 2 17,489 ctdprd51.pub1.term_set_enrichment_agent 2 0 901,121 0 437,982 0 0 450,204 18 26,705,325 ctdprd51.pub1.term_set_enrichment 2 0 19,015 0 8,302 0 0 9,149 4 563,621 ctdprd51.pg_catalog.pg_class 1 1 277 0 55 0 12 140 52 253,664 ctdprd51.pubc.log_query_bots_unique 1 0 267,933 0 7 0 0 133,908 5 7,941,686 ctdprd51.pub1.term_comp_agent 1 0 1,849 0 11 0 0 8 2 12,387 ctdprd51.pg_catalog.pg_attribute 1 1 557 0 142 0 53 268 105 323,909 ctdprd51.pg_catalog.pg_statistic 1 1 709 0 186 0 116 468 163 677,714 Total 109 49 1,382,751 3,301 482,146 0 72,744 657,759 11,772 63,568,051 Tuples removed per table
Key values
- pubc.log_query (79038) Main table with removed tuples on database ctdprd51
- 100037 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 92 41 79,038 3,322,980 16 0 137,960 ctdprd51.pg_toast.pg_toast_2619 5 5 19,195 95,154 0 0 62,960 ctdprd51.pg_catalog.pg_attribute 1 1 1,088 8,353 0 0 244 ctdprd51.pg_catalog.pg_statistic 1 1 525 3,232 0 0 410 ctdprd51.pg_catalog.pg_class 1 1 191 2,109 0 0 98 ctdprd51.pubc.log_query_bots_unique 1 0 0 3,564,770 0 0 133,907 ctdprd51.pub1.term_comp_agent 1 0 0 193,062 0 0 1,619 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 209,412,079 0 0 2,379,682 ctdprd51.pg_toast.pg_toast_486223 3 0 0 45 0 0 9 ctdprd51.pub1.term_set_enrichment 2 0 0 3,018,014 0 0 49,981 Total 109 49 100,037 219,619,798 16 0 2,766,870 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_catalog.pg_class 1 1 191 0 ctdprd51.pubc.log_query_bots_unique 1 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pg_catalog.pg_attribute 1 1 1088 0 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 0 ctdprd51.pg_catalog.pg_statistic 1 1 525 0 ctdprd51.pg_toast.pg_toast_486223 3 0 0 0 ctdprd51.pub1.term_set_enrichment 2 0 0 0 ctdprd51.pubc.log_query 92 41 79038 0 ctdprd51.pg_toast.pg_toast_2619 5 5 19195 0 Total 109 49 100,037 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Apr 20 00 2 5 01 1 4 02 0 1 03 2 3 04 1 0 05 1 1 06 0 2 07 1 3 08 0 2 09 1 1 10 0 1 11 1 1 12 0 0 13 0 2 14 2 1 15 1 2 16 0 1 17 1 1 18 0 1 19 1 1 20 0 0 21 0 1 22 0 0 23 0 1 Apr 21 00 2 5 01 2 5 02 2 5 03 2 3 04 1 2 05 1 2 06 0 2 07 1 0 08 0 1 09 0 1 10 1 1 11 0 0 12 2 4 13 2 6 14 1 3 15 1 2 16 1 2 17 1 1 18 1 1 19 0 0 20 0 1 21 0 1 22 1 0 23 0 1 Apr 22 00 4 6 01 2 5 02 1 3 03 1 2 04 0 1 05 0 1 06 1 0 07 0 1 08 1 1 09 0 2 10 0 0 11 2 3 12 0 1 13 0 1 14 0 0 15 0 1 16 1 0 17 0 1 18 0 1 19 0 0 20 1 1 21 0 1 22 0 0 23 0 0 Apr 23 00 2 5 01 1 4 02 2 3 03 2 4 04 2 3 05 1 2 06 1 2 07 0 2 08 2 2 09 0 1 10 0 1 11 1 0 12 0 1 13 0 0 14 1 1 15 0 1 16 0 2 17 1 0 18 0 1 19 0 0 20 0 1 21 0 0 22 0 0 23 1 1 Apr 24 00 5 7 01 1 5 02 1 3 03 1 2 04 1 1 05 0 1 06 1 1 07 0 1 08 0 1 09 1 1 10 0 1 11 2 1 12 0 0 13 0 1 14 0 0 15 0 0 16 0 1 17 1 0 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 1 Apr 25 00 3 5 01 1 5 02 1 2 03 1 3 04 1 3 05 1 3 06 1 2 07 0 2 08 1 1 09 0 1 10 1 1 11 0 1 12 0 1 13 1 1 14 0 1 15 0 0 16 1 0 17 0 1 18 0 0 19 0 1 20 0 0 21 1 1 22 0 1 23 0 0 Apr 26 00 3 4 01 1 3 02 2 2 03 0 2 04 1 2 05 1 2 06 1 1 07 0 2 08 1 2 09 0 1 10 0 1 11 1 1 12 0 0 13 0 0 14 0 1 15 1 1 16 0 0 17 0 1 18 1 1 19 0 0 20 0 1 21 0 0 22 0 0 23 0 1 - 56.38 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- AccessExclusiveLock Main Lock Type
- 1 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 1s2ms 1s2ms 1s2ms 1s2ms alter table log_query_bots_unique rename to log_query_bots;-
ALTER TABLE log_query_bots_unique RENAME to log_query_bots;
Date: 2025-04-21 12:48:17
-
ALTER TABLE log_query_bots_unique RENAME to log_query_bots;
Date: 2025-04-21 12:48:17
Queries that waited the most
Rank Wait time Query 1 1s2ms ALTER TABLE log_query_bots_unique RENAME to log_query_bots;[ Date: 2025-04-21 12:48:17 ]
-
Queries
Queries by type
Key values
- 27,950 Total read queries
- 462 Total write queries
Queries by database
Key values
- unknown Main database
- 21,014 Requests
- 1d3h51m35s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 46,470 Requests
User Request type Count Duration editeu Total 3 8s596ms select 3 8s596ms postgres Total 108 1h55s copy to 108 1h55s pubc Total 8 26s280ms cte 2 11s115ms select 6 15s165ms pubeu Total 14,731 1d43m14s cte 97 4m40s select 14,634 1d38m34s qaeu Total 76 3m4s cte 17 58s739ms select 59 2m6s unknown Total 46,470 2d14h31m26s copy to 752 7h12m cte 171 7m10s ddl 2 2s8ms others 11 1m1s select 45,534 2d7h11m11s zbx_monitor Total 3 5s188ms select 3 5s188ms Duration by user
Key values
- 2d14h31m26s (unknown) Main time consuming user
User Request type Count Duration editeu Total 3 8s596ms select 3 8s596ms postgres Total 108 1h55s copy to 108 1h55s pubc Total 8 26s280ms cte 2 11s115ms select 6 15s165ms pubeu Total 14,731 1d43m14s cte 97 4m40s select 14,634 1d38m34s qaeu Total 76 3m4s cte 17 58s739ms select 59 2m6s unknown Total 46,470 2d14h31m26s copy to 752 7h12m cte 171 7m10s ddl 2 2s8ms others 11 1m1s select 45,534 2d7h11m11s zbx_monitor Total 3 5s188ms select 3 5s188ms Queries by host
Key values
- unknown Main host
- 61,399 Requests
- 3d16h19m22s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 28,368 Requests
- 1d16h10m37s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:5041841 Total 2 8s126ms cte 1 5s557ms select 1 2s568ms pgAdmin 4 - DB:ctdprd51 Total 1 3s774ms select 1 3s774ms pg_dump Total 49 27m51s copy to 49 27m51s psql Total 1 1s239ms select 1 1s239ms unknown Total 28,368 1d16h10m37s copy to 281 2h1m53s cte 130 5m58s ddl 1 1s4ms others 9 47s874ms select 27,947 1d14h1m56s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-04-24 23:44:11 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 27,763 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 25m6s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2025-04-26 19:02:16 ]
2 24m36s COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2025-04-26 19:46:38 ]
3 19m27s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-22 02:25:04 - Bind query: yes ]
4 19m11s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-22 02:25:49 - Bind query: yes ]
5 19m4s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-22 02:25:42 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
6 18m42s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-22 02:03:08 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
7 18m39s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-26 08:12:05 - Bind query: yes ]
8 18m37s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-22 12:00:54 - Bind query: yes ]
9 18m13s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-22 02:42:59 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
10 18m2s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-25 22:54:05 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
11 18m1s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-24 08:01:14 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 17m59s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-25 22:35:03 - Bind query: yes ]
13 12m27s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10090' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2025-04-23 16:56:33 - Bind query: yes ]
14 12m26s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10090' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;[ Date: 2025-04-23 16:58:17 - Bind query: yes ]
15 12m22s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10090' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;[ Date: 2025-04-23 17:18:56 - Bind query: yes ]
16 12m17s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2025-04-23 16:10:12 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 12m15s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL-6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;[ Date: 2025-04-23 15:49:59 - Bind query: yes ]
18 12m2s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2025-04-23 16:02:03 - Bind query: yes ]
19 11m54s 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 = '1253087') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-22 09:48:00 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 11m48s 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 = '1253087') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-23 04:41:07 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 17h28m51s 546 1s258ms 19m27s 1m55s 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 20 00 3 13m4s 4m21s 01 3 4m18s 1m26s 02 3 5s351ms 1s783ms 03 1 2m57s 2m57s 04 1 3s214ms 3s214ms 05 1 4m55s 4m55s 06 2 1m38s 49s478ms 07 5 8m42s 1m44s 08 6 9m17s 1m32s 09 1 1m36s 1m36s 10 1 3s245ms 3s245ms 11 2 3s813ms 1s906ms 12 5 6m53s 1m22s 13 1 1s635ms 1s635ms 14 6 3m40s 36s684ms 15 2 3m52s 1m56s 16 8 31m23s 3m55s 17 1 1s882ms 1s882ms 18 8 5m32s 41s614ms 19 4 3m24s 51s42ms 20 3 6s388ms 2s129ms 21 6 11m46s 1m57s 22 3 5s919ms 1s973ms 23 1 3m18s 3m18s Apr 21 00 2 3s94ms 1s547ms 01 4 12m16s 3m4s 02 10 31m28s 3m8s 03 4 8s86ms 2s21ms 04 3 52s616ms 17s538ms 05 5 10s620ms 2s124ms 06 6 9m14s 1m32s 07 3 51s859ms 17s286ms 08 3 7m33s 2m31s 09 1 2s90ms 2s90ms 10 2 5s466ms 2s733ms 11 4 11m6s 2m46s 12 2 4m17s 2m8s 13 8 22m26s 2m48s 14 4 5m50s 1m27s 15 6 12m40s 2m6s 16 8 23m25s 2m55s 17 4 7s509ms 1s877ms 18 4 3m41s 55s457ms 19 10 14m19s 1m25s 20 6 12m51s 2m8s 21 5 4m37s 55s573ms 22 6 5m13s 52s295ms 23 5 11m37s 2m19s Apr 22 00 1 2s19ms 2s19ms 01 5 15m37s 3m7s 02 17 2h23m12s 8m25s 03 5 15m13s 3m2s 04 4 3m25s 51s332ms 05 2 3s537ms 1s768ms 06 2 5s585ms 2s792ms 07 8 6m41s 50s160ms 08 8 29m38s 3m42s 09 9 22m47s 2m31s 10 4 9m28s 2m22s 11 8 9m39s 1m12s 12 3 18m41s 6m13s 13 2 4m55s 2m27s 14 2 5s590ms 2s795ms 15 6 10m37s 1m46s 16 3 3m47s 1m15s 17 8 13m10s 1m38s 18 7 15s317ms 2s188ms 19 14 23m2s 1m38s 20 2 4m18s 2m9s 21 2 3m35s 1m47s 22 4 6s990ms 1s747ms 23 3 9m57s 3m19s Apr 23 00 4 9s319ms 2s329ms 01 3 6m9s 2m3s 02 1 1s515ms 1s515ms 03 1 1s817ms 1s817ms 04 3 11m51s 3m57s 05 5 8s614ms 1s722ms 06 5 16m 3m12s 07 3 8s354ms 2s784ms 08 2 9m16s 4m38s 09 2 3s869ms 1s934ms 11 3 5m7s 1m42s 12 5 8m25s 1m41s 13 3 5s450ms 1s816ms 14 2 4s626ms 2s313ms 15 3 5m59s 1m59s 16 3 3m38s 1m12s 17 8 13m48s 1m43s 18 1 1s552ms 1s552ms 20 8 17m46s 2m13s 21 5 11s293ms 2s258ms 22 6 13s46ms 2s174ms 23 4 3m31s 52s773ms Apr 24 00 2 3s890ms 1s945ms 01 4 7s736ms 1s934ms 02 2 4m17s 2m8s 03 4 9m6s 2m16s 04 2 3s673ms 1s836ms 05 3 3m21s 1m7s 06 6 6m27s 1m4s 07 1 1m58s 1m58s 08 5 28m21s 5m40s 09 2 5s141ms 2s570ms 10 6 13m20s 2m13s 11 6 13m53s 2m18s 13 4 9s370ms 2s342ms 17 1 3s204ms 3s204ms 21 1 2s346ms 2s346ms 22 5 13m29s 2m41s Apr 25 09 1 8m52s 8m52s 22 3 36m3s 12m1s 23 2 9m45s 4m52s Apr 26 01 3 6s297ms 2s99ms 02 2 3s668ms 1s834ms 03 3 4s893ms 1s631ms 04 3 4s948ms 1s649ms 05 7 14s482ms 2s68ms 06 1 1s606ms 1s606ms 07 3 4m51s 1m37s 08 5 18m47s 3m45s 09 4 4m21s 1m5s 10 6 16m31s 2m45s 11 4 10m39s 2m39s 12 2 3s292ms 1s646ms 13 2 3s402ms 1s701ms 14 2 10m6s 5m3s 15 3 9m 3m 16 9 8m38s 57s578ms 17 4 3m40s 55s47ms 18 4 9m35s 2m23s 19 4 7m19s 1m49s 20 1 2s8ms 2s8ms 21 5 13m10s 2m38s 22 5 18m32s 3m42s 23 3 5s168ms 1s722ms [ User: pubeu - Total duration: 6h21m8s - Times executed: 148 ]
-
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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-22 02:25:04 Duration: 19m27s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-22 02:25:49 Duration: 19m11s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-22 02:25:42 Duration: 19m4s Database: ctdprd51 User: pubeu Bind query: yes
2 4h33s 11,599 1s94ms 6s436ms 1s244ms 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 #2
Day Hour Count Duration Avg duration Apr 20 00 12 15s69ms 1s255ms 01 19 24s728ms 1s301ms 02 8 10s77ms 1s259ms 03 19 23s602ms 1s242ms 05 22 27s414ms 1s246ms 06 16 19s168ms 1s198ms 07 13 15s409ms 1s185ms 08 22 26s902ms 1s222ms 09 15 18s356ms 1s223ms 10 19 22s178ms 1s167ms 11 31 36s709ms 1s184ms 12 13 15s224ms 1s171ms 13 67 1m22s 1s226ms 14 112 2m16s 1s221ms 15 128 2m38s 1s236ms 16 139 2m49s 1s222ms 17 101 2m4s 1s231ms 18 54 1m4s 1s192ms 19 23 26s894ms 1s169ms 20 37 43s403ms 1s173ms 21 30 35s753ms 1s191ms 22 34 41s979ms 1s234ms 23 28 33s782ms 1s206ms Apr 21 00 43 52s140ms 1s212ms 01 46 55s20ms 1s196ms 02 129 2m40s 1s244ms 03 138 2m46s 1s209ms 04 146 3m1s 1s240ms 05 151 3m8s 1s249ms 06 103 2m15s 1s312ms 07 49 59s819ms 1s220ms 08 58 1m11s 1s225ms 09 40 49s152ms 1s228ms 10 35 43s73ms 1s230ms 11 38 46s484ms 1s223ms 12 127 2m41s 1s272ms 13 138 2m55s 1s274ms 14 119 2m35s 1s303ms 15 118 2m24s 1s225ms 16 109 2m15s 1s239ms 17 43 52s490ms 1s220ms 18 43 51s682ms 1s201ms 19 34 40s558ms 1s192ms 20 45 53s899ms 1s197ms 21 34 40s685ms 1s196ms 22 57 1m11s 1s253ms 23 126 2m54s 1s385ms Apr 22 00 131 2m42s 1s239ms 01 166 4m42s 1s702ms 02 137 3m21s 1s474ms 03 97 2m3s 1s273ms 04 29 35s764ms 1s233ms 05 27 33s283ms 1s232ms 06 31 37s708ms 1s216ms 07 83 1m41s 1s228ms 08 128 2m45s 1s293ms 09 160 3m16s 1s229ms 10 147 3m2s 1s240ms 11 131 2m40s 1s227ms 12 43 51s899ms 1s206ms 13 31 37s515ms 1s210ms 14 42 49s900ms 1s188ms 15 38 45s538ms 1s198ms 16 36 43s39ms 1s195ms 17 75 1m30s 1s201ms 18 134 2m41s 1s202ms 19 128 2m41s 1s264ms 20 135 2m43s 1s212ms 21 115 2m21s 1s231ms 22 86 1m46s 1s243ms 23 29 36s933ms 1s273ms Apr 23 00 46 57s488ms 1s249ms 01 48 1m 1s261ms 02 56 1m11s 1s282ms 03 74 1m35s 1s289ms 04 136 2m56s 1s295ms 05 102 2m13s 1s308ms 06 150 3m6s 1s244ms 07 161 3m17s 1s226ms 08 98 2m1s 1s243ms 09 60 1m12s 1s201ms 10 47 56s857ms 1s209ms 11 32 38s367ms 1s198ms 12 30 36s163ms 1s205ms 13 97 1m59s 1s232ms 14 126 2m34s 1s229ms 15 136 2m46s 1s223ms 16 130 2m39s 1s229ms 17 109 2m18s 1s271ms 18 72 1m27s 1s213ms 19 49 58s802ms 1s200ms 20 35 42s316ms 1s209ms 21 28 33s585ms 1s199ms 22 57 1m12s 1s269ms 23 102 2m9s 1s269ms Apr 24 00 123 2m36s 1s271ms 01 133 2m49s 1s273ms 02 133 2m44s 1s238ms 03 109 2m15s 1s241ms 04 61 1m15s 1s235ms 05 58 1m11s 1s236ms 06 46 56s389ms 1s225ms 07 50 1m1s 1s225ms 08 80 1m37s 1s220ms 09 108 2m12s 1s223ms 10 118 2m23s 1s218ms 11 123 2m30s 1s223ms 12 105 2m10s 1s242ms 13 74 1m29s 1s203ms 14 23 27s232ms 1s184ms 15 27 31s752ms 1s176ms 16 23 26s737ms 1s162ms 17 29 34s292ms 1s182ms 18 46 54s439ms 1s183ms 19 31 36s818ms 1s187ms 20 34 40s330ms 1s186ms 21 24 28s759ms 1s198ms 22 25 32s648ms 1s305ms 23 24 29s115ms 1s213ms Apr 25 00 14 17s45ms 1s217ms 01 25 29s789ms 1s191ms 02 16 19s251ms 1s203ms 03 33 40s704ms 1s233ms 04 77 1m35s 1s239ms 05 92 1m53s 1s238ms 06 67 1m21s 1s210ms 07 70 1m39s 1s425ms 08 48 57s640ms 1s200ms 09 13 15s470ms 1s190ms 10 68 1m23s 1s233ms 11 100 2m1s 1s213ms 12 88 1m48s 1s227ms 13 69 1m23s 1s208ms 14 89 1m46s 1s192ms 15 38 45s657ms 1s201ms 16 19 22s778ms 1s198ms 17 25 29s960ms 1s198ms 18 38 44s971ms 1s183ms 19 48 57s155ms 1s190ms 20 96 1m55s 1s208ms 21 90 1m48s 1s207ms 22 95 1m57s 1s237ms 23 90 1m51s 1s238ms Apr 26 00 76 1m36s 1s265ms 01 37 45s182ms 1s221ms 02 37 45s134ms 1s219ms 03 40 49s103ms 1s227ms 04 24 29s296ms 1s220ms 05 78 1m36s 1s233ms 06 100 2m2s 1s225ms 07 107 2m11s 1s232ms 08 94 1m56s 1s238ms 09 82 1m41s 1s240ms 10 38 45s937ms 1s208ms 11 36 43s734ms 1s214ms 12 40 47s817ms 1s195ms 13 30 35s834ms 1s194ms 14 60 1m12s 1s214ms 15 95 1m55s 1s211ms 16 84 1m40s 1s201ms 17 114 2m17s 1s206ms 18 116 2m18s 1s196ms 19 62 1m13s 1s181ms 20 35 41s480ms 1s185ms 21 29 34s537ms 1s190ms 22 38 47s522ms 1s250ms 23 61 1m19s 1s298ms [ User: pubeu - Total duration: 56m12s - Times executed: 2622 ]
-
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 = '2068374' or receptorTerm.id = '2068374' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 01:42:56 Duration: 6s436ms 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 = '1468717' or receptorTerm.id = '1468717' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 01:42:56 Duration: 6s278ms 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 = '1815374' or receptorTerm.id = '1815374' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 01:42:56 Duration: 6s218ms Database: ctdprd51 User: pubeu Bind query: yes
3 1h35m16s 102 2s109ms 5m29s 56s39ms 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 #3
Day Hour Count Duration Avg duration Apr 20 09 1 2s388ms 2s388ms 10 1 1m2s 1m2s 13 1 2s267ms 2s267ms 18 1 2s665ms 2s665ms 19 1 30s16ms 30s16ms 22 1 57s251ms 57s251ms Apr 21 01 1 2s758ms 2s758ms 04 3 4m57s 1m39s 05 3 2m51s 57s122ms 08 1 51s329ms 51s329ms 12 3 3m49s 1m16s 13 6 4m15s 42s522ms 14 1 2s256ms 2s256ms 16 3 2m44s 54s972ms 21 3 7s322ms 2s440ms 23 6 7m47s 1m17s Apr 22 01 1 4m19s 4m19s 02 1 4m52s 4m52s 03 4 4m53s 1m13s 04 1 2s298ms 2s298ms 10 5 3m42s 44s463ms 13 1 2s109ms 2s109ms 18 1 25s785ms 25s785ms 19 3 1m14s 24s690ms 21 6 4m28s 44s800ms 22 1 1m 1m Apr 23 01 3 2m54s 58s211ms 05 4 7m57s 1m59s 06 1 5m29s 5m29s 13 1 40s222ms 40s222ms 15 3 1m14s 24s735ms 17 6 4m55s 49s184ms 21 2 1m17s 38s527ms Apr 24 01 1 2s182ms 2s182ms 21 4 2m12s 33s50ms Apr 25 07 4 5m52s 1m28s 16 3 1m48s 36s181ms Apr 26 00 3 3m17s 1m5s 05 1 42s11ms 42s11ms 06 1 2s224ms 2s224ms 08 1 2s292ms 2s292ms 09 3 1m37s 32s517ms 22 1 2s235ms 2s235ms [ User: pubeu - Total duration: 39m32s - Times executed: 34 ]
-
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 = '1267649')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-23 06:01:24 Duration: 5m29s 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 = '1407621')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-22 02:09:42 Duration: 4m52s 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 = '1407621')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-22 01:46:53 Duration: 4m19s Database: ctdprd51 User: pubeu Bind query: yes
4 1h21m46s 277 1s103ms 1m16s 17s712ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 20 00 1 15s496ms 15s496ms 15 4 1m7s 16s798ms 18 3 48s789ms 16s263ms Apr 21 00 1 17s206ms 17s206ms 02 1 1s481ms 1s481ms 03 3 42s344ms 14s114ms 04 1 15s637ms 15s637ms 05 1 15s568ms 15s568ms 09 3 47s26ms 15s675ms 13 3 58s195ms 19s398ms 23 1 15s453ms 15s453ms Apr 22 00 8 1m56s 14s612ms 01 3 54s401ms 18s133ms 12 3 52s142ms 17s380ms 17 2 31s113ms 15s556ms 18 1 16s6ms 16s6ms 19 6 3m40s 36s692ms 20 5 1m 12s162ms 21 1 16s170ms 16s170ms 22 1 16s610ms 16s610ms 23 2 33s163ms 16s581ms Apr 23 05 3 52s875ms 17s625ms 07 6 1m17s 12s944ms 08 3 47s297ms 15s765ms 09 1 17s383ms 17s383ms 13 3 51s425ms 17s141ms 14 3 54s245ms 18s81ms 16 5 1m21s 16s273ms 22 1 14s740ms 14s740ms 23 5 1m20s 16s153ms Apr 24 00 17 5m27s 19s292ms 01 10 1m59s 11s940ms 02 6 1m45s 17s573ms 04 1 1s159ms 1s159ms 05 3 49s609ms 16s536ms 06 3 57s485ms 19s161ms 07 3 57s169ms 19s56ms 09 1 3s688ms 3s688ms 10 7 1m39s 14s250ms 11 3 47s351ms 15s783ms 12 11 3m41s 20s125ms 19 3 52s91ms 17s363ms Apr 25 04 6 2m 20s157ms 05 11 3m16s 17s847ms 06 5 1m26s 17s399ms 07 4 56s436ms 14s109ms 11 1 1s192ms 1s192ms 12 6 3m19s 33s287ms 14 6 1m54s 19s151ms 15 1 1s937ms 1s937ms 17 1 10s141ms 10s141ms 18 7 1m57s 16s838ms 20 5 58s894ms 11s778ms 21 6 1m46s 17s746ms 22 6 1m7s 11s237ms 23 3 1m3s 21s314ms Apr 26 00 6 4m19s 43s262ms 01 6 1m50s 18s361ms 07 8 2m21s 17s625ms 08 6 1m45s 17s566ms 09 2 31s795ms 15s897ms 12 1 15s670ms 15s670ms 14 3 47s953ms 15s984ms 15 9 2m34s 17s165ms 17 8 1m42s 12s794ms 18 2 37s203ms 18s601ms 20 3 54s953ms 18s317ms 23 3 1m 20s144ms [ User: pubeu - Total duration: 25m48s - Times executed: 81 ]
-
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 = '2093522') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-25 12:25:54 Duration: 1m16s 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 = '2094644') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-26 00:04:57 Duration: 1m15s 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 = '2094644') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-26 00:04:39 Duration: 1m13s Bind query: yes
5 1h11m25s 1,356 1s 7s522ms 3s160ms 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 #5
Day Hour Count Duration Avg duration Apr 20 00 10 25s497ms 2s549ms 01 10 33s181ms 3s318ms 02 6 15s609ms 2s601ms 03 5 24s84ms 4s816ms 04 1 1s936ms 1s936ms 05 3 11s664ms 3s888ms 06 9 31s755ms 3s528ms 07 7 26s334ms 3s762ms 08 10 28s839ms 2s883ms 09 4 12s650ms 3s162ms 10 7 22s193ms 3s170ms 11 9 23s161ms 2s573ms 12 8 22s835ms 2s854ms 13 6 21s456ms 3s576ms 14 10 25s406ms 2s540ms 15 11 37s835ms 3s439ms 16 5 13s814ms 2s762ms 17 4 17s345ms 4s336ms 18 8 18s822ms 2s352ms 19 7 19s390ms 2s770ms 20 9 34s893ms 3s877ms 21 9 23s955ms 2s661ms 22 9 36s748ms 4s83ms 23 8 28s799ms 3s599ms Apr 21 00 7 24s157ms 3s451ms 01 7 30s736ms 4s390ms 02 7 20s558ms 2s936ms 03 4 17s881ms 4s470ms 04 6 17s337ms 2s889ms 05 8 15s812ms 1s976ms 06 10 42s194ms 4s219ms 07 6 20s784ms 3s464ms 08 9 25s982ms 2s886ms 09 4 13s666ms 3s416ms 10 6 13s824ms 2s304ms 11 16 1m7s 4s221ms 12 11 38s34ms 3s457ms 13 6 24s602ms 4s100ms 14 12 35s530ms 2s960ms 15 9 24s138ms 2s682ms 16 12 42s811ms 3s567ms 17 6 14s920ms 2s486ms 18 9 28s68ms 3s118ms 19 6 25s853ms 4s308ms 20 10 33s644ms 3s364ms 21 9 45s61ms 5s6ms 22 3 10s186ms 3s395ms 23 7 18s413ms 2s630ms Apr 22 00 15 45s731ms 3s48ms 01 28 1m17s 2s773ms 02 20 56s215ms 2s810ms 03 17 44s452ms 2s614ms 04 13 40s89ms 3s83ms 05 9 25s334ms 2s814ms 06 7 26s36ms 3s719ms 07 8 31s750ms 3s968ms 08 7 26s579ms 3s797ms 09 4 21s861ms 5s465ms 10 10 27s871ms 2s787ms 11 7 30s203ms 4s314ms 12 10 34s23ms 3s402ms 13 6 27s882ms 4s647ms 14 8 22s280ms 2s785ms 15 9 33s299ms 3s699ms 16 5 10s331ms 2s66ms 17 11 30s793ms 2s799ms 18 10 36s772ms 3s677ms 19 4 21s295ms 5s323ms 20 8 25s31ms 3s128ms 21 8 26s298ms 3s287ms 22 9 33s122ms 3s680ms 23 11 23s560ms 2s141ms Apr 23 00 2 10s260ms 5s130ms 01 15 44s346ms 2s956ms 02 7 15s116ms 2s159ms 03 10 19s755ms 1s975ms 04 10 33s688ms 3s368ms 05 25 1m11s 2s866ms 06 27 1m20s 2s995ms 07 25 1m15s 3s10ms 08 12 36s335ms 3s27ms 09 5 18s810ms 3s762ms 10 10 24s910ms 2s491ms 11 10 33s566ms 3s356ms 12 8 25s447ms 3s180ms 13 6 24s799ms 4s133ms 14 9 26s86ms 2s898ms 15 10 45s723ms 4s572ms 16 24 1m10s 2s943ms 17 9 29s232ms 3s248ms 18 15 44s309ms 2s953ms 19 8 36s222ms 4s527ms 20 10 38s330ms 3s833ms 21 5 10s22ms 2s4ms 22 8 26s202ms 3s275ms 23 10 31s544ms 3s154ms Apr 24 00 4 13s569ms 3s392ms 01 23 1m20s 3s512ms 02 16 41s73ms 2s567ms 03 18 1m3s 3s535ms 04 25 1m18s 3s139ms 05 2 10s81ms 5s40ms 06 8 20s792ms 2s599ms 07 7 34s204ms 4s886ms 08 21 1m 2s885ms 09 17 52s237ms 3s72ms 10 29 1m22s 2s848ms 11 15 39s169ms 2s611ms 12 6 21s82ms 3s513ms Apr 25 22 3 11s147ms 3s715ms 23 7 33s760ms 4s822ms Apr 26 00 18 1m1s 3s434ms 01 20 1m1s 3s61ms 02 7 16s89ms 2s298ms 03 7 22s795ms 3s256ms 04 13 38s426ms 2s955ms 05 8 29s257ms 3s657ms 06 7 20s868ms 2s981ms 07 11 27s453ms 2s495ms 08 9 31s113ms 3s457ms 09 6 17s315ms 2s885ms 10 11 36s845ms 3s349ms 11 5 11s530ms 2s306ms 12 7 15s232ms 2s176ms 13 13 35s258ms 2s712ms 14 5 12s721ms 2s544ms 15 5 11s631ms 2s326ms 16 6 19s131ms 3s188ms 17 7 23s626ms 3s375ms 18 7 22s183ms 3s169ms 19 20 52s96ms 2s604ms 20 10 28s428ms 2s842ms 21 24 1m14s 3s113ms 22 15 37s49ms 2s469ms 23 25 1m13s 2s939ms [ User: pubeu - Total duration: 17m15s - Times executed: 337 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-24 12:36:34 Duration: 7s522ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-23 18:05:09 Duration: 7s306ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-26 23:09:45 Duration: 7s230ms Bind query: yes
6 1h5m22s 580 1s2ms 46s394ms 6s763ms 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 #6
Day Hour Count Duration Avg duration Apr 20 00 6 48s243ms 8s40ms 01 7 1m10s 10s99ms 02 1 1s603ms 1s603ms 03 5 1m8s 13s788ms 05 1 3s644ms 3s644ms 06 2 9s945ms 4s972ms 07 4 37s711ms 9s427ms 08 4 24s548ms 6s137ms 09 3 16s568ms 5s522ms 10 4 15s615ms 3s903ms 11 2 4s687ms 2s343ms 12 5 16s498ms 3s299ms 13 2 5s466ms 2s733ms 14 7 46s327ms 6s618ms 15 2 19s430ms 9s715ms 16 6 13s394ms 2s232ms 17 2 24s112ms 12s56ms 18 4 8s11ms 2s2ms 19 4 29s840ms 7s460ms 20 5 37s467ms 7s493ms 21 3 19s551ms 6s517ms 22 5 47s1ms 9s400ms 23 6 9s304ms 1s550ms Apr 21 01 4 43s715ms 10s928ms 02 6 13s152ms 2s192ms 03 3 20s941ms 6s980ms 04 5 13s241ms 2s648ms 05 9 32s493ms 3s610ms 06 7 40s942ms 5s848ms 07 3 6s740ms 2s246ms 10 5 33s11ms 6s602ms 11 1 1s440ms 1s440ms 12 6 9s20ms 1s503ms 13 1 3s544ms 3s544ms 14 1 4s301ms 4s301ms 15 9 50s974ms 5s663ms 16 7 58s989ms 8s427ms 17 3 5s407ms 1s802ms 18 8 48s804ms 6s100ms 19 3 29s354ms 9s784ms 20 5 21s384ms 4s276ms 21 4 29s249ms 7s312ms 22 8 32s307ms 4s38ms 23 5 47s970ms 9s594ms Apr 22 00 2 24s318ms 12s159ms 01 8 2m5s 15s677ms 02 31 7m4s 13s692ms 03 7 52s115ms 7s445ms 04 3 10s631ms 3s543ms 05 1 17s895ms 17s895ms 06 2 2s396ms 1s198ms 07 1 3s185ms 3s185ms 08 3 8s273ms 2s757ms 09 7 32s800ms 4s685ms 10 7 1m17s 11s87ms 11 2 19s270ms 9s635ms 12 3 7s61ms 2s353ms 13 2 24s120ms 12s60ms 14 4 8s800ms 2s200ms 15 6 22s890ms 3s815ms 16 3 26s727ms 8s909ms 17 6 31s101ms 5s183ms 18 4 10s534ms 2s633ms 19 2 6s531ms 3s265ms 20 7 1m1s 8s786ms 21 8 43s107ms 5s388ms 22 1 7s820ms 7s820ms 23 2 23s468ms 11s734ms Apr 23 00 5 14s749ms 2s949ms 01 4 52s602ms 13s150ms 02 6 1m3s 10s636ms 03 8 1m2s 7s772ms 04 3 52s385ms 17s461ms 05 4 12s509ms 3s127ms 06 2 5s240ms 2s620ms 07 5 25s573ms 5s114ms 08 4 17s855ms 4s463ms 09 4 28s622ms 7s155ms 10 2 4s887ms 2s443ms 11 2 5s611ms 2s805ms 12 3 21s450ms 7s150ms 13 6 57s209ms 9s534ms 14 2 4s806ms 2s403ms 15 4 26s118ms 6s529ms 16 5 14s28ms 2s805ms 17 8 37s20ms 4s627ms 18 8 52s298ms 6s537ms 19 3 5s981ms 1s993ms 20 5 19s5ms 3s801ms 21 4 53s551ms 13s387ms 22 6 17s59ms 2s843ms 23 5 34s200ms 6s840ms Apr 24 00 2 5s216ms 2s608ms 01 4 31s806ms 7s951ms 02 2 3s399ms 1s699ms 03 3 17s600ms 5s866ms 04 3 34s252ms 11s417ms 05 5 34s872ms 6s974ms 06 6 1m18s 13s64ms 07 6 46s926ms 7s821ms 08 5 14s951ms 2s990ms 09 3 16s855ms 5s618ms 10 8 57s596ms 7s199ms 11 7 1m23s 11s886ms 12 3 5s414ms 1s804ms 13 2 2s351ms 1s175ms 14 2 2s347ms 1s173ms 15 1 1s334ms 1s334ms 21 1 18s34ms 18s34ms 22 1 10s323ms 10s323ms Apr 25 00 1 1s619ms 1s619ms 03 1 1s558ms 1s558ms 09 1 10s20ms 10s20ms 11 1 2s85ms 2s85ms 12 1 10s887ms 10s887ms 18 1 1s631ms 1s631ms 19 1 2s107ms 2s107ms 23 5 29s142ms 5s828ms Apr 26 00 1 3s666ms 3s666ms 01 7 34s67ms 4s866ms 02 1 2s792ms 2s792ms 03 2 4s728ms 2s364ms 04 3 27s399ms 9s133ms 05 4 30s143ms 7s535ms 06 5 22s322ms 4s464ms 07 5 34s352ms 6s870ms 08 3 5s668ms 1s889ms 09 3 12s16ms 4s5ms 10 4 22s225ms 5s556ms 11 1 11s164ms 11s164ms 12 3 7s160ms 2s386ms 13 2 4s663ms 2s331ms 14 5 1m 12s29ms 15 4 21s120ms 5s280ms 16 3 25s344ms 8s448ms 17 4 43s910ms 10s977ms 18 2 23s83ms 11s541ms 19 2 3s58ms 1s529ms 20 6 21s337ms 3s556ms 21 2 23s210ms 11s605ms 22 1 22s965ms 22s965ms 23 8 45s933ms 5s741ms [ User: pubeu - Total duration: 21m24s - Times executed: 164 ]
-
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 = '1230319') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:07:04 Duration: 46s394ms 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 = '1254131') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:06:53 Duration: 42s211ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1254131') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:06:50 Duration: 39s774ms Database: ctdprd51 User: pubeu Bind query: yes
7 47m7s 1,101 1s1ms 8s830ms 2s567ms 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 #7
Day Hour Count Duration Avg duration Apr 20 00 5 13s878ms 2s775ms 01 3 9s717ms 3s239ms 02 8 16s401ms 2s50ms 03 2 3s483ms 1s741ms 04 1 2s15ms 2s15ms 05 3 8s315ms 2s771ms 06 6 19s98ms 3s183ms 07 1 1s98ms 1s98ms 08 3 10s594ms 3s531ms 09 6 15s725ms 2s620ms 10 9 26s269ms 2s918ms 11 7 19s813ms 2s830ms 12 3 7s652ms 2s550ms 13 4 13s768ms 3s442ms 14 6 17s984ms 2s997ms 15 7 23s346ms 3s335ms 16 5 12s630ms 2s526ms 17 3 10s775ms 3s591ms 18 6 19s638ms 3s273ms 19 8 18s713ms 2s339ms 20 4 10s692ms 2s673ms 21 3 8s301ms 2s767ms 22 6 9s578ms 1s596ms 23 7 19s958ms 2s851ms Apr 21 00 2 5s497ms 2s748ms 01 3 11s360ms 3s786ms 02 6 18s117ms 3s19ms 03 10 20s300ms 2s30ms 04 12 28s961ms 2s413ms 05 7 20s529ms 2s932ms 06 5 13s247ms 2s649ms 07 5 15s648ms 3s129ms 08 6 18s22ms 3s3ms 09 6 15s964ms 2s660ms 10 1 1s170ms 1s170ms 11 5 12s863ms 2s572ms 12 4 8s402ms 2s100ms 13 4 11s42ms 2s760ms 14 8 23s350ms 2s918ms 15 8 22s543ms 2s817ms 16 12 30s748ms 2s562ms 17 3 3s108ms 1s36ms 18 6 16s496ms 2s749ms 19 9 23s604ms 2s622ms 20 5 15s93ms 3s18ms 21 7 16s390ms 2s341ms 22 10 32s828ms 3s282ms 23 7 15s952ms 2s278ms Apr 22 00 8 22s428ms 2s803ms 01 39 1m44s 2s685ms 02 23 48s86ms 2s90ms 03 9 26s327ms 2s925ms 04 6 18s75ms 3s12ms 05 4 9s437ms 2s359ms 06 1 2s119ms 2s119ms 07 4 11s448ms 2s862ms 08 7 20s590ms 2s941ms 09 8 22s531ms 2s816ms 10 12 34s909ms 2s909ms 11 5 11s7ms 2s201ms 12 7 20s935ms 2s990ms 13 7 22s29ms 3s147ms 14 7 22s409ms 3s201ms 15 6 11s694ms 1s949ms 16 6 8s912ms 1s485ms 17 7 16s902ms 2s414ms 18 11 20s353ms 1s850ms 19 4 9s333ms 2s333ms 20 7 19s246ms 2s749ms 21 6 18s530ms 3s88ms 22 8 26s743ms 3s342ms 23 7 17s435ms 2s490ms Apr 23 00 10 30s568ms 3s56ms 01 7 15s391ms 2s198ms 02 9 25s364ms 2s818ms 03 7 16s454ms 2s350ms 04 8 20s966ms 2s620ms 05 19 44s925ms 2s364ms 06 23 55s599ms 2s417ms 07 17 35s734ms 2s102ms 08 4 12s157ms 3s39ms 09 3 9s628ms 3s209ms 10 12 31s548ms 2s629ms 11 1 2s72ms 2s72ms 12 7 18s711ms 2s673ms 13 4 13s668ms 3s417ms 14 6 8s848ms 1s474ms 15 6 19s521ms 3s253ms 16 23 55s60ms 2s393ms 17 10 28s111ms 2s811ms 18 8 25s251ms 3s156ms 19 8 18s830ms 2s353ms 20 6 16s82ms 2s680ms 21 9 26s997ms 2s999ms 22 8 15s809ms 1s976ms 23 8 27s595ms 3s449ms Apr 24 00 4 14s689ms 3s672ms 01 20 44s165ms 2s208ms 02 17 41s642ms 2s449ms 03 14 26s926ms 1s923ms 04 21 51s414ms 2s448ms 05 6 15s825ms 2s637ms 06 8 21s124ms 2s640ms 07 5 8s781ms 1s756ms 08 14 36s598ms 2s614ms 09 21 51s110ms 2s433ms 10 31 1m8s 2s210ms 11 8 28s70ms 3s508ms 12 3 8s429ms 2s809ms Apr 25 22 2 6s702ms 3s351ms 23 8 26s210ms 3s276ms Apr 26 00 18 44s248ms 2s458ms 01 21 45s69ms 2s146ms 02 9 28s573ms 3s174ms 03 12 37s80ms 3s90ms 04 10 31s718ms 3s171ms 05 3 5s349ms 1s783ms 06 3 9s191ms 3s63ms 07 5 12s571ms 2s514ms 08 7 14s673ms 2s96ms 09 2 5s109ms 2s554ms 10 5 11s779ms 2s355ms 11 5 7s180ms 1s436ms 12 6 10s582ms 1s763ms 13 2 8s533ms 4s266ms 14 6 11s358ms 1s893ms 15 6 13s657ms 2s276ms 16 3 8s434ms 2s811ms 17 11 26s527ms 2s411ms 18 5 14s25ms 2s805ms 19 17 41s578ms 2s445ms 20 9 18s152ms 2s16ms 21 15 37s37ms 2s469ms 22 16 39s21ms 2s438ms 23 24 53s701ms 2s237ms [ User: pubeu - Total duration: 10m31s - Times executed: 264 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-22 01:42:58 Duration: 8s830ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-22 02:07:44 Duration: 8s226ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-23 23:53:00 Duration: 7s436ms Bind query: yes
8 42m36s 623 1s 12s308ms 4s103ms 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 #8
Day Hour Count Duration Avg duration Apr 20 05 8 17s764ms 2s220ms 06 1 5s150ms 5s150ms 11 4 15s452ms 3s863ms 13 2 2s147ms 1s73ms 14 9 44s692ms 4s965ms 15 5 18s844ms 3s768ms 17 3 12s3ms 4s1ms 18 1 5s622ms 5s622ms 19 3 14s517ms 4s839ms 20 1 6s259ms 6s259ms 22 2 5s780ms 2s890ms Apr 21 00 3 16s286ms 5s428ms 01 1 5s465ms 5s465ms 02 5 13s258ms 2s651ms 03 6 22s777ms 3s796ms 04 2 6s111ms 3s55ms 05 12 22s734ms 1s894ms 06 4 23s59ms 5s764ms 07 1 1s44ms 1s44ms 08 3 15s824ms 5s274ms 09 1 5s659ms 5s659ms 10 3 3s387ms 1s129ms 11 1 1s118ms 1s118ms 12 3 14s970ms 4s990ms 13 6 23s604ms 3s934ms 14 2 11s636ms 5s818ms 15 5 14s251ms 2s850ms 16 4 12s722ms 3s180ms 17 2 9s735ms 4s867ms 18 3 11s741ms 3s913ms 19 1 5s393ms 5s393ms 20 3 14s887ms 4s962ms 21 1 5s167ms 5s167ms 22 4 20s685ms 5s171ms 23 5 31s442ms 6s288ms Apr 22 00 2 7s106ms 3s553ms 01 21 2m6s 6s28ms 02 13 1m20s 6s194ms 03 4 25s3ms 6s250ms 04 2 6s886ms 3s443ms 05 5 5s365ms 1s73ms 06 2 6s946ms 3s473ms 07 8 30s27ms 3s753ms 08 6 28s138ms 4s689ms 09 1 5s118ms 5s118ms 10 4 8s961ms 2s240ms 11 3 11s464ms 3s821ms 12 2 10s245ms 5s122ms 13 4 4s113ms 1s28ms 14 1 1s92ms 1s92ms 15 4 21s680ms 5s420ms 16 5 17s921ms 3s584ms 17 5 22s691ms 4s538ms 18 6 24s274ms 4s45ms 19 3 15s810ms 5s270ms 20 8 23s93ms 2s886ms 21 5 27s480ms 5s496ms 22 5 19s16ms 3s803ms 23 2 10s519ms 5s259ms Apr 23 01 1 5s886ms 5s886ms 02 2 12s607ms 6s303ms 03 3 13s69ms 4s356ms 04 5 31s689ms 6s337ms 05 24 1m29s 3s748ms 06 16 1m2s 3s909ms 07 21 1m19s 3s808ms 08 2 11s74ms 5s537ms 09 2 6s569ms 3s284ms 10 7 34s512ms 4s930ms 11 3 16s68ms 5s356ms 12 4 12s401ms 3s100ms 13 5 28s744ms 5s748ms 14 7 32s502ms 4s643ms 15 3 12s346ms 4s115ms 16 15 53s353ms 3s556ms 17 8 26s295ms 3s286ms 18 2 6s728ms 3s364ms 20 3 11s770ms 3s923ms 22 1 5s198ms 5s198ms 23 2 6s818ms 3s409ms Apr 24 00 3 17s163ms 5s721ms 01 17 1m4s 3s780ms 02 11 45s853ms 4s168ms 03 11 37s649ms 3s422ms 04 16 1m14s 4s672ms 05 5 9s620ms 1s924ms 06 6 28s671ms 4s778ms 07 5 17s717ms 3s543ms 08 7 25s598ms 3s656ms 09 14 53s83ms 3s791ms 10 21 1m28s 4s235ms 11 2 2s288ms 1s144ms 12 6 27s482ms 4s580ms 15 1 4s955ms 4s955ms 16 2 10s194ms 5s97ms 23 1 4s991ms 4s991ms Apr 25 00 3 14s981ms 4s993ms 04 2 2s188ms 1s94ms 05 8 34s642ms 4s330ms 06 1 5s763ms 5s763ms 07 1 5s864ms 5s864ms 08 1 5s84ms 5s84ms 11 1 5s127ms 5s127ms 12 1 5s818ms 5s818ms 13 1 5s593ms 5s593ms 14 1 5s6ms 5s6ms 15 3 7s13ms 2s337ms 16 2 6s89ms 3s44ms 18 1 4s949ms 4s949ms 19 1 4s850ms 4s850ms 22 1 4s971ms 4s971ms Apr 26 00 7 27s227ms 3s889ms 01 11 44s471ms 4s42ms 04 2 10s170ms 5s85ms 05 4 4s85ms 1s21ms 06 2 2s56ms 1s28ms 07 3 12s232ms 4s77ms 08 2 10s176ms 5s88ms 09 2 10s670ms 5s335ms 10 2 6s420ms 3s210ms 13 3 10s381ms 3s460ms 14 2 6s655ms 3s327ms 15 2 2s66ms 1s33ms 16 1 5s968ms 5s968ms 17 6 27s99ms 4s516ms 18 2 10s341ms 5s170ms 19 5 21s520ms 4s304ms 20 7 32s776ms 4s682ms 21 6 27s22ms 4s503ms 22 7 34s82ms 4s868ms 23 14 58s188ms 4s156ms [ User: pubeu - Total duration: 12m18s - Times executed: 164 ]
[ User: qaeu - Total duration: 5s488ms - Times executed: 5 ]
-
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 = '1434112' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-22 02:08:26 Duration: 12s308ms 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 = '1348104' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-21 23:50:00 Duration: 10s315ms 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 = '1424998' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-22 01:42:07 Duration: 9s186ms Database: ctdprd51 User: pubeu Bind query: yes
9 42m 480 1s 37s640ms 5s250ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 20 00 4 15s574ms 3s893ms 01 6 17s417ms 2s902ms 02 2 8s87ms 4s43ms 03 4 11s560ms 2s890ms 05 6 18s253ms 3s42ms 07 1 5s219ms 5s219ms 08 5 15s29ms 3s5ms 10 2 8s754ms 4s377ms 12 1 1s248ms 1s248ms 13 2 6s610ms 3s305ms 14 3 14s414ms 4s804ms 15 1 3s784ms 3s784ms 16 3 13s605ms 4s535ms 17 2 5s422ms 2s711ms 18 1 1s832ms 1s832ms 20 1 1s602ms 1s602ms 22 1 4s656ms 4s656ms 23 2 4s85ms 2s42ms Apr 21 00 3 5s888ms 1s962ms 02 1 5s988ms 5s988ms 03 5 11s66ms 2s213ms 04 5 20s779ms 4s155ms 05 8 26s886ms 3s360ms 06 2 11s745ms 5s872ms 08 5 10s280ms 2s56ms 09 5 15s996ms 3s199ms 10 2 7s476ms 3s738ms 11 2 7s518ms 3s759ms 12 4 7s880ms 1s970ms 13 8 26s650ms 3s331ms 15 4 12s643ms 3s160ms 16 1 1s418ms 1s418ms 18 1 4s701ms 4s701ms 19 3 13s575ms 4s525ms 20 2 11s378ms 5s689ms 21 2 3s276ms 1s638ms 22 1 1s390ms 1s390ms 23 2 9s35ms 4s517ms Apr 22 00 6 13s494ms 2s249ms 01 51 3m17s 3s869ms 02 24 2m14s 5s616ms 03 10 48s186ms 4s818ms 04 1 1s707ms 1s707ms 05 1 1s332ms 1s332ms 06 3 15s354ms 5s118ms 07 1 1s299ms 1s299ms 08 2 5s698ms 2s849ms 09 7 20s798ms 2s971ms 10 2 6s117ms 3s58ms 11 5 22s317ms 4s463ms 12 1 11s815ms 11s815ms 13 3 15s491ms 5s163ms 14 3 3s992ms 1s330ms 15 2 3s762ms 1s881ms 16 2 3s925ms 1s962ms 17 8 36s688ms 4s586ms 18 4 13s903ms 3s475ms 19 2 3s948ms 1s974ms 20 2 10s404ms 5s202ms 21 3 8s25ms 2s675ms 22 1 3s899ms 3s899ms 23 1 4s423ms 4s423ms Apr 23 00 1 6s42ms 6s42ms 01 2 25s68ms 12s534ms 02 9 57s15ms 6s335ms 03 4 11s837ms 2s959ms 04 5 27s556ms 5s511ms 05 6 23s926ms 3s987ms 06 5 18s279ms 3s655ms 07 2 7s739ms 3s869ms 08 4 25s180ms 6s295ms 09 6 12s718ms 2s119ms 10 3 6s208ms 2s69ms 11 3 5s379ms 1s793ms 12 5 15s937ms 3s187ms 13 1 1s643ms 1s643ms 14 2 8s540ms 4s270ms 15 2 2s505ms 1s252ms 16 5 19s674ms 3s934ms 17 1 2s230ms 2s230ms 18 2 5s206ms 2s603ms 19 1 8s132ms 8s132ms 20 1 1s106ms 1s106ms 21 1 2s765ms 2s765ms 22 4 12s250ms 3s62ms 23 2 4s38ms 2s19ms Apr 24 00 2 5s716ms 2s858ms 01 2 5s458ms 2s729ms 02 3 20s451ms 6s817ms 03 1 4s484ms 4s484ms 05 1 2s538ms 2s538ms 06 5 56s126ms 11s225ms 07 5 35s914ms 7s182ms 08 2 7s363ms 3s681ms 09 6 20s353ms 3s392ms 11 1 2s860ms 2s860ms 12 4 19s534ms 4s883ms 13 1 1s24ms 1s24ms 16 2 2s832ms 1s416ms 17 2 2s666ms 1s333ms 18 2 16s346ms 8s173ms 20 1 1s238ms 1s238ms 21 1 1s397ms 1s397ms Apr 25 01 1 1s112ms 1s112ms 02 1 11s280ms 11s280ms 06 1 1s311ms 1s311ms 07 29 12m52s 26s644ms 08 5 5s523ms 1s104ms 10 1 1s188ms 1s188ms 11 1 1s328ms 1s328ms 13 3 3s672ms 1s224ms 15 1 5s273ms 5s273ms 16 1 2s503ms 2s503ms 17 4 22s602ms 5s650ms 21 1 1s194ms 1s194ms 23 2 2s405ms 1s202ms Apr 26 00 2 4s210ms 2s105ms 01 2 7s334ms 3s667ms 02 2 4s272ms 2s136ms 03 2 8s392ms 4s196ms 05 5 22s106ms 4s421ms 06 5 12s890ms 2s578ms 07 1 2s504ms 2s504ms 09 5 14s826ms 2s965ms 10 3 7s338ms 2s446ms 11 3 12s798ms 4s266ms 12 1 6s156ms 6s156ms 13 2 9s933ms 4s966ms 14 5 18s181ms 3s636ms 15 7 1m 8s663ms 16 1 2s154ms 2s154ms 17 1 1s445ms 1s445ms 18 2 5s434ms 2s717ms 19 2 2s357ms 1s178ms 21 1 1s325ms 1s325ms 23 1 5s276ms 5s276ms [ User: pubeu - Total duration: 21m56s - Times executed: 193 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-25 07:40:40 Duration: 37s640ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-25 07:40:40 Duration: 37s633ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-25 07:40:40 Duration: 37s564ms Database: ctdprd51 User: pubeu Bind query: yes
10 39m23s 8 4m44s 5m19s 4m55s select maint_query_logs_archive ();Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 20 00 1 4m44s 4m44s Apr 21 00 1 4m46s 4m46s 12 1 4m48s 4m48s Apr 22 00 1 4m50s 4m50s Apr 23 00 1 4m56s 4m56s Apr 24 00 1 4m59s 4m59s Apr 25 00 1 4m55s 4m55s Apr 26 00 1 5m19s 5m19s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-04-26 00:05:21 Duration: 5m19s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-04-24 00:05:01 Duration: 4m59s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-04-23 00:04:58 Duration: 4m56s
11 36m55s 5 2s580ms 12m27s 7m23s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 23 15 2 8s208ms 4s104ms 16 3 36m47s 12m15s [ User: pubeu - Total duration: 12m26s - Times executed: 3 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10090' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-04-23 16:56:33 Duration: 12m27s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-04-23 16:10:12 Duration: 12m17s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-04-23 16:02:03 Duration: 12m2s Bind query: yes
12 35m4s 1,532 1s209ms 5s135ms 1s373ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 20 00 5 7s183ms 1s436ms 03 7 9s646ms 1s378ms 05 5 7s87ms 1s417ms 06 2 2s673ms 1s336ms 07 1 1s355ms 1s355ms 08 3 4s104ms 1s368ms 10 2 2s620ms 1s310ms 11 6 7s801ms 1s300ms 12 2 2s654ms 1s327ms 13 2 2s707ms 1s353ms 14 4 5s686ms 1s421ms 15 15 20s487ms 1s365ms 16 14 19s33ms 1s359ms 17 6 8s262ms 1s377ms 18 5 6s687ms 1s337ms 20 4 5s379ms 1s344ms 21 3 4s61ms 1s353ms 22 8 11s9ms 1s376ms 23 1 1s338ms 1s338ms Apr 21 00 8 10s886ms 1s360ms 01 3 4s42ms 1s347ms 02 8 10s618ms 1s327ms 03 10 13s377ms 1s337ms 04 9 12s411ms 1s379ms 05 11 17s20ms 1s547ms 06 5 7s902ms 1s580ms 07 10 13s638ms 1s363ms 08 7 9s475ms 1s353ms 09 9 12s477ms 1s386ms 10 8 11s102ms 1s387ms 11 1 1s318ms 1s318ms 12 5 8s180ms 1s636ms 13 16 24s917ms 1s557ms 14 12 18s646ms 1s553ms 15 10 13s366ms 1s336ms 16 12 17s367ms 1s447ms 17 4 5s266ms 1s316ms 18 5 6s564ms 1s312ms 19 6 8s585ms 1s430ms 20 9 11s984ms 1s331ms 21 4 5s369ms 1s342ms 22 4 5s562ms 1s390ms 23 14 20s775ms 1s483ms Apr 22 00 7 9s551ms 1s364ms 01 7 9s649ms 1s378ms 02 10 15s460ms 1s546ms 03 5 10s800ms 2s160ms 04 6 8s105ms 1s350ms 05 4 5s595ms 1s398ms 07 6 8s64ms 1s344ms 08 5 6s816ms 1s363ms 09 8 10s680ms 1s335ms 10 13 18s53ms 1s388ms 11 11 15s38ms 1s367ms 12 13 17s358ms 1s335ms 13 1 1s378ms 1s378ms 14 6 11s588ms 1s931ms 15 3 3s912ms 1s304ms 16 5 6s596ms 1s319ms 17 6 7s907ms 1s317ms 18 10 13s410ms 1s341ms 19 17 22s683ms 1s334ms 20 12 16s360ms 1s363ms 21 10 13s724ms 1s372ms 22 3 4s157ms 1s385ms 23 2 2s641ms 1s320ms Apr 23 00 5 7s122ms 1s424ms 01 5 6s831ms 1s366ms 02 17 24s148ms 1s420ms 03 5 7s490ms 1s498ms 04 8 11s674ms 1s459ms 05 15 21s567ms 1s437ms 06 12 16s10ms 1s334ms 07 14 19s587ms 1s399ms 08 11 15s196ms 1s381ms 09 14 18s408ms 1s314ms 10 16 21s438ms 1s339ms 11 21 27s871ms 1s327ms 12 15 19s560ms 1s304ms 13 16 21s719ms 1s357ms 14 13 17s645ms 1s357ms 15 17 22s682ms 1s334ms 16 18 24s224ms 1s345ms 17 10 13s835ms 1s383ms 18 12 16s181ms 1s348ms 19 5 6s760ms 1s352ms 20 2 2s676ms 1s338ms 21 9 12s88ms 1s343ms 22 4 5s764ms 1s441ms 23 11 15s411ms 1s401ms Apr 24 00 25 34s795ms 1s391ms 01 31 43s850ms 1s414ms 02 22 31s467ms 1s430ms 03 14 19s351ms 1s382ms 04 15 20s272ms 1s351ms 05 14 19s197ms 1s371ms 06 8 10s844ms 1s355ms 07 15 21s737ms 1s449ms 08 11 14s779ms 1s343ms 09 21 28s622ms 1s362ms 10 29 39s50ms 1s346ms 11 12 16s40ms 1s336ms 12 16 22s406ms 1s400ms 13 22 29s780ms 1s353ms 14 8 10s509ms 1s313ms 15 10 13s56ms 1s305ms 16 6 7s807ms 1s301ms 17 3 3s836ms 1s278ms 18 14 18s88ms 1s292ms 19 11 14s479ms 1s316ms 20 3 3s935ms 1s311ms 21 2 2s698ms 1s349ms 22 3 4s77ms 1s359ms 23 3 4s35ms 1s345ms Apr 25 00 4 5s274ms 1s318ms 01 3 4s23ms 1s341ms 02 1 1s399ms 1s399ms 03 5 6s758ms 1s351ms 04 12 16s141ms 1s345ms 05 20 28s305ms 1s415ms 06 19 25s653ms 1s350ms 07 15 19s984ms 1s332ms 08 5 6s612ms 1s322ms 09 4 5s274ms 1s318ms 10 6 7s965ms 1s327ms 11 9 12s45ms 1s338ms 12 18 24s663ms 1s370ms 13 4 5s331ms 1s332ms 14 16 21s88ms 1s318ms 15 4 5s250ms 1s312ms 16 5 6s522ms 1s304ms 17 3 3s910ms 1s303ms 18 2 2s626ms 1s313ms 19 8 10s355ms 1s294ms 20 14 18s767ms 1s340ms 21 19 25s2ms 1s315ms 22 15 20s435ms 1s362ms 23 14 19s411ms 1s386ms Apr 26 00 13 18s57ms 1s389ms 01 1 1s358ms 1s358ms 02 6 8s80ms 1s346ms 03 6 8s112ms 1s352ms 04 6 8s56ms 1s342ms 05 22 29s991ms 1s363ms 06 20 26s916ms 1s345ms 07 10 13s387ms 1s338ms 08 18 24s779ms 1s376ms 09 16 21s966ms 1s372ms 10 4 5s229ms 1s307ms 11 8 10s941ms 1s367ms 12 6 7s857ms 1s309ms 13 4 5s246ms 1s311ms 14 6 8s158ms 1s359ms 15 11 14s873ms 1s352ms 16 15 20s401ms 1s360ms 17 24 32s309ms 1s346ms 18 21 27s897ms 1s328ms 19 7 9s315ms 1s330ms 20 8 10s318ms 1s289ms 21 8 10s593ms 1s324ms 22 7 9s740ms 1s391ms 23 12 16s903ms 1s408ms [ User: pubeu - Total duration: 8m14s - Times executed: 360 ]
[ User: qaeu - Total duration: 1s415ms - 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.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1234326') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1234326') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 03:39:52 Duration: 5s135ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1271653') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1271653') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-21 13:57:16 Duration: 3s535ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1230319') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1230319') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 14:58:35 Duration: 3s157ms Bind query: yes
13 33m34s 363 1s3ms 28s20ms 5s549ms 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 #13
Day Hour Count Duration Avg duration Apr 20 00 3 4s973ms 1s657ms 01 3 6s835ms 2s278ms 04 1 4s510ms 4s510ms 05 1 1s118ms 1s118ms 06 4 32s742ms 8s185ms 07 4 20s331ms 5s82ms 08 3 20s146ms 6s715ms 09 3 19s494ms 6s498ms 10 1 1s264ms 1s264ms 11 1 2s520ms 2s520ms 12 4 28s568ms 7s142ms 13 4 40s421ms 10s105ms 14 4 27s940ms 6s985ms 15 3 5s163ms 1s721ms 16 4 19s998ms 4s999ms 17 2 7s129ms 3s564ms 19 3 6s537ms 2s179ms 20 4 22s13ms 5s503ms 21 5 13s934ms 2s786ms 22 5 41s872ms 8s374ms 23 3 7s81ms 2s360ms Apr 21 00 6 36s401ms 6s66ms 01 4 10s504ms 2s626ms 02 2 11s700ms 5s850ms 04 2 2s415ms 1s207ms 05 5 14s551ms 2s910ms 06 6 29s190ms 4s865ms 07 4 11s935ms 2s983ms 09 2 3s270ms 1s635ms 10 2 21s62ms 10s531ms 11 4 38s584ms 9s646ms 13 4 12s525ms 3s131ms 14 2 2s321ms 1s160ms 15 6 22s727ms 3s787ms 16 3 3s549ms 1s183ms 18 4 35s683ms 8s920ms 19 1 1s345ms 1s345ms 20 3 19s240ms 6s413ms 21 5 29s488ms 5s897ms 22 3 10s577ms 3s525ms 23 1 3s592ms 3s592ms Apr 22 00 3 20s50ms 6s683ms 01 8 56s975ms 7s121ms 02 17 2m20s 8s257ms 03 2 10s804ms 5s402ms 04 3 11s423ms 3s807ms 06 1 1s23ms 1s23ms 07 3 37s740ms 12s580ms 08 2 6s712ms 3s356ms 09 4 28s445ms 7s111ms 10 1 1s110ms 1s110ms 11 1 2s420ms 2s420ms 14 2 8s176ms 4s88ms 15 2 17s441ms 8s720ms 16 2 3s334ms 1s667ms 17 1 3s61ms 3s61ms 19 3 21s843ms 7s281ms 20 2 14s189ms 7s94ms 21 5 21s164ms 4s232ms 22 4 22s742ms 5s685ms 23 2 20s290ms 10s145ms Apr 23 00 1 1s118ms 1s118ms 01 3 10s295ms 3s431ms 02 1 3s695ms 3s695ms 03 3 9s521ms 3s173ms 04 1 1s425ms 1s425ms 05 3 36s516ms 12s172ms 07 3 8s320ms 2s773ms 08 3 29s799ms 9s933ms 09 2 27s900ms 13s950ms 10 4 7s524ms 1s881ms 11 5 11s475ms 2s295ms 12 1 3s601ms 3s601ms 13 2 8s273ms 4s136ms 14 1 4s251ms 4s251ms 15 5 16s186ms 3s237ms 16 1 1s703ms 1s703ms 18 2 18s360ms 9s180ms 20 6 33s974ms 5s662ms 21 3 7s535ms 2s511ms 22 2 8s345ms 4s172ms 23 4 10s160ms 2s540ms Apr 24 00 2 23s16ms 11s508ms 01 2 7s511ms 3s755ms 02 3 6s505ms 2s168ms 03 1 5s971ms 5s971ms 04 3 20s67ms 6s689ms 05 5 19s359ms 3s871ms 06 3 8s107ms 2s702ms 07 5 32s944ms 6s588ms 08 2 21s57ms 10s528ms 09 2 15s343ms 7s671ms 10 4 41s558ms 10s389ms 11 2 6s51ms 3s25ms 12 3 9s539ms 3s179ms 15 1 16s25ms 16s25ms 17 4 1m13s 18s431ms Apr 25 23 4 10s390ms 2s597ms Apr 26 00 1 5s641ms 5s641ms 01 3 23s541ms 7s847ms 02 2 5s648ms 2s824ms 03 2 2s104ms 1s52ms 04 2 32s517ms 16s258ms 05 3 11s895ms 3s965ms 06 4 26s292ms 6s573ms 07 5 16s874ms 3s374ms 08 2 17s616ms 8s808ms 09 2 8s618ms 4s309ms 10 2 3s717ms 1s858ms 11 2 6s438ms 3s219ms 12 1 2s1ms 2s1ms 13 2 22s220ms 11s110ms 14 1 16s265ms 16s265ms 15 1 2s437ms 2s437ms 16 1 2s480ms 2s480ms 17 2 6s312ms 3s156ms 18 5 30s970ms 6s194ms 19 3 6s49ms 2s16ms 20 2 9s156ms 4s578ms 21 5 40s639ms 8s127ms 22 5 15s393ms 3s78ms 23 1 17s790ms 17s790ms [ User: pubeu - Total duration: 7m38s - Times executed: 96 ]
-
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 = '1230319'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-22 02:07:45 Duration: 28s20ms 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 = '1230319'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-22 01:44:09 Duration: 24s247ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1230319'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-22 02:04:19 Duration: 21s716ms Database: ctdprd51 User: pubeu Bind query: yes
14 28m20s 1,177 1s222ms 5s697ms 1s445ms 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 20 00 3 4s955ms 1s651ms 02 1 1s606ms 1s606ms 03 3 4s22ms 1s340ms 04 2 2s586ms 1s293ms 05 3 4s410ms 1s470ms 06 1 1s310ms 1s310ms 07 1 1s341ms 1s341ms 08 4 5s442ms 1s360ms 10 1 1s381ms 1s381ms 12 1 1s391ms 1s391ms 13 3 4s66ms 1s355ms 14 10 13s538ms 1s353ms 15 13 17s771ms 1s367ms 16 7 9s700ms 1s385ms 17 13 17s752ms 1s365ms 18 5 6s668ms 1s333ms 19 1 1s298ms 1s298ms 20 3 3s981ms 1s327ms 21 4 5s257ms 1s314ms 22 1 1s383ms 1s383ms 23 2 2s827ms 1s413ms Apr 21 00 12 15s765ms 1s313ms 01 6 7s918ms 1s319ms 02 11 15s177ms 1s379ms 03 13 17s814ms 1s370ms 04 6 10s20ms 1s670ms 05 20 28s508ms 1s425ms 06 8 11s344ms 1s418ms 07 3 4s110ms 1s370ms 08 4 5s573ms 1s393ms 09 7 9s686ms 1s383ms 10 7 10s152ms 1s450ms 11 5 6s733ms 1s346ms 12 8 11s121ms 1s390ms 13 8 10s917ms 1s364ms 14 12 16s321ms 1s360ms 15 10 14s2ms 1s400ms 16 9 12s5ms 1s333ms 17 1 1s364ms 1s364ms 18 3 3s926ms 1s308ms 19 3 4s4ms 1s334ms 20 7 9s277ms 1s325ms 21 3 4s80ms 1s360ms 22 5 7s83ms 1s416ms 23 8 11s768ms 1s471ms Apr 22 00 15 21s85ms 1s405ms 01 41 2m12s 3s236ms 02 14 22s82ms 1s577ms 03 10 14s911ms 1s491ms 05 8 11s147ms 1s393ms 06 3 4s66ms 1s355ms 07 8 10s854ms 1s356ms 08 5 7s39ms 1s407ms 09 8 10s958ms 1s369ms 10 7 11s323ms 1s617ms 11 9 12s429ms 1s381ms 12 10 13s574ms 1s357ms 13 3 4s317ms 1s439ms 14 10 13s417ms 1s341ms 15 4 5s321ms 1s330ms 16 3 3s945ms 1s315ms 17 5 6s614ms 1s322ms 18 10 13s324ms 1s332ms 19 12 17s948ms 1s495ms 20 6 7s951ms 1s325ms 21 8 10s981ms 1s372ms 22 2 3s14ms 1s507ms 23 6 8s547ms 1s424ms Apr 23 00 7 9s794ms 1s399ms 01 3 4s82ms 1s360ms 02 6 8s798ms 1s466ms 03 2 2s902ms 1s451ms 04 9 13s130ms 1s458ms 05 8 13s440ms 1s680ms 06 9 12s240ms 1s360ms 07 15 20s432ms 1s362ms 08 15 20s651ms 1s376ms 09 5 6s596ms 1s319ms 10 5 6s826ms 1s365ms 11 7 9s255ms 1s322ms 12 5 6s740ms 1s348ms 13 7 9s268ms 1s324ms 14 6 8s338ms 1s389ms 15 6 8s61ms 1s343ms 16 7 9s575ms 1s367ms 17 12 16s649ms 1s387ms 18 13 17s490ms 1s345ms 19 8 11s170ms 1s396ms 22 15 21s73ms 1s404ms 23 9 12s857ms 1s428ms Apr 24 00 18 26s167ms 1s453ms 01 13 18s463ms 1s420ms 02 19 26s772ms 1s409ms 03 16 21s923ms 1s370ms 04 6 8s141ms 1s356ms 05 10 14s77ms 1s407ms 06 8 10s867ms 1s358ms 07 8 11s61ms 1s382ms 08 10 13s499ms 1s349ms 09 15 20s121ms 1s341ms 10 15 20s181ms 1s345ms 11 10 13s578ms 1s357ms 12 14 19s434ms 1s388ms 13 7 9s482ms 1s354ms 14 4 5s418ms 1s354ms 15 5 6s546ms 1s309ms 17 3 3s848ms 1s282ms 18 4 5s239ms 1s309ms 19 1 1s402ms 1s402ms 20 4 5s258ms 1s314ms 21 3 4s2ms 1s334ms 22 4 5s441ms 1s360ms 23 10 13s361ms 1s336ms Apr 25 00 4 5s249ms 1s312ms 01 2 2s611ms 1s305ms 03 2 2s731ms 1s365ms 04 5 6s847ms 1s369ms 05 7 9s779ms 1s397ms 06 6 8s125ms 1s354ms 07 4 5s403ms 1s350ms 08 6 8s193ms 1s365ms 09 4 5s333ms 1s333ms 10 7 9s389ms 1s341ms 11 8 10s585ms 1s323ms 12 11 14s829ms 1s348ms 13 8 10s672ms 1s334ms 14 8 10s951ms 1s368ms 15 3 4s276ms 1s425ms 16 2 2s677ms 1s338ms 17 2 2s541ms 1s270ms 18 5 6s966ms 1s393ms 19 6 7s713ms 1s285ms 20 15 20s161ms 1s344ms 21 11 14s598ms 1s327ms 22 6 8s398ms 1s399ms 23 14 19s348ms 1s382ms Apr 26 00 7 10s842ms 1s548ms 01 5 6s806ms 1s361ms 02 3 4s1ms 1s333ms 03 4 5s434ms 1s358ms 04 4 5s474ms 1s368ms 05 9 12s362ms 1s373ms 06 13 17s780ms 1s367ms 07 14 19s249ms 1s374ms 08 10 13s565ms 1s356ms 09 9 12s675ms 1s408ms 10 10 13s728ms 1s372ms 11 2 2s677ms 1s338ms 12 7 9s184ms 1s312ms 13 2 2s617ms 1s308ms 14 9 11s934ms 1s326ms 15 17 23s245ms 1s367ms 16 10 13s481ms 1s348ms 17 13 16s929ms 1s302ms 18 7 9s155ms 1s307ms 19 5 6s422ms 1s284ms 20 5 6s528ms 1s305ms 21 1 1s374ms 1s374ms 22 3 4s55ms 1s351ms 23 8 11s339ms 1s417ms [ User: pubeu - Total duration: 7m59s - Times executed: 298 ]
-
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 = '2101319') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2101319') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 01:42:17 Duration: 5s697ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100031') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100031') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 01:42:17 Duration: 5s440ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2097918') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2097918') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 01:42:17 Duration: 5s237ms Database: ctdprd51 User: pubeu Bind query: yes
15 25m6s 1 25m6s 25m6s 25m6s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 26 19 1 25m6s 25m6s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-04-26 19:02:16 Duration: 25m6s
16 24m49s 2 12m22s 12m26s 12m24s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by i.sort_txt, g.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 23 16 1 12m26s 12m26s 17 1 12m22s 12m22s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10090' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-23 16:58:17 Duration: 12m26s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10090' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-23 17:18:56 Duration: 12m22s Bind query: yes
17 24m36s 1 24m36s 24m36s 24m36s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 26 19 1 24m36s 24m36s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-04-26 19:46:38 Duration: 24m36s
18 22m19s 25 51s262ms 56s841ms 53s580ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 20 06 1 51s262ms 51s262ms 10 1 52s68ms 52s68ms 14 1 51s415ms 51s415ms 18 1 51s471ms 51s471ms Apr 21 06 1 52s606ms 52s606ms 10 1 56s307ms 56s307ms 14 1 52s564ms 52s564ms 18 1 52s256ms 52s256ms Apr 22 06 1 52s604ms 52s604ms 10 1 53s66ms 53s66ms 14 1 52s576ms 52s576ms 18 1 52s549ms 52s549ms Apr 23 06 1 53s835ms 53s835ms 10 1 53s757ms 53s757ms 14 1 53s628ms 53s628ms 18 1 56s841ms 56s841ms Apr 24 06 1 54s247ms 54s247ms 10 1 54s189ms 54s189ms 14 1 53s937ms 53s937ms 18 1 53s841ms 53s841ms Apr 25 06 1 54s695ms 54s695ms 10 1 54s633ms 54s633ms 14 1 55s925ms 55s925ms 18 1 55s31ms 55s31ms Apr 26 20 1 54s187ms 54s187ms [ User: postgres - Total duration: 21m25s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 21m25s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-04-23 18:06:00 Duration: 56s841ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-04-21 10:05:58 Duration: 56s307ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-04-25 14:05:57 Duration: 55s925ms Database: ctdprd51 User: postgres Application: pg_dump
19 21m38s 321 3s651ms 7s557ms 4s46ms 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 #19
Day Hour Count Duration Avg duration Apr 20 01 2 8s313ms 4s156ms 06 1 3s946ms 3s946ms 07 1 3s813ms 3s813ms 09 1 4s144ms 4s144ms 10 1 3s972ms 3s972ms 11 5 19s322ms 3s864ms 12 1 3s833ms 3s833ms 16 3 13s632ms 4s544ms 19 1 3s899ms 3s899ms 21 3 11s611ms 3s870ms 23 2 8s90ms 4s45ms Apr 21 02 1 3s874ms 3s874ms 03 4 17s202ms 4s300ms 04 4 16s194ms 4s48ms 05 1 4s577ms 4s577ms 07 1 3s798ms 3s798ms 09 1 4s69ms 4s69ms 10 1 3s949ms 3s949ms 12 7 28s619ms 4s88ms 13 3 12s51ms 4s17ms 14 1 4s164ms 4s164ms 15 2 8s147ms 4s73ms 16 2 7s879ms 3s939ms 19 1 4s48ms 4s48ms 21 8 31s211ms 3s901ms 22 2 7s627ms 3s813ms 23 2 9s699ms 4s849ms Apr 22 00 1 4s96ms 4s96ms 01 12 50s828ms 4s235ms 02 2 7s954ms 3s977ms 03 1 3s651ms 3s651ms 04 2 8s409ms 4s204ms 05 1 3s848ms 3s848ms 06 2 7s783ms 3s891ms 07 2 7s913ms 3s956ms 08 1 3s853ms 3s853ms 09 1 4s241ms 4s241ms 10 2 8s149ms 4s74ms 11 2 7s939ms 3s969ms 12 10 39s430ms 3s943ms 13 8 31s473ms 3s934ms 14 6 23s524ms 3s920ms 15 1 3s898ms 3s898ms 16 2 8s90ms 4s45ms 18 1 4s105ms 4s105ms 19 1 4s23ms 4s23ms 21 4 16s538ms 4s134ms 22 1 3s895ms 3s895ms 23 4 15s744ms 3s936ms Apr 23 00 1 4s131ms 4s131ms 01 3 12s514ms 4s171ms 02 1 4s262ms 4s262ms 03 3 12s385ms 4s128ms 04 2 8s398ms 4s199ms 05 3 12s497ms 4s165ms 06 3 12s88ms 4s29ms 07 1 3s996ms 3s996ms 08 2 8s16ms 4s8ms 09 3 12s45ms 4s15ms 12 1 3s967ms 3s967ms 13 4 15s844ms 3s961ms 14 6 24s821ms 4s136ms 15 5 20s679ms 4s135ms 16 3 11s990ms 3s996ms 17 2 7s775ms 3s887ms 21 2 8s97ms 4s48ms 22 2 8s379ms 4s189ms Apr 24 00 1 3s953ms 3s953ms 01 1 4s167ms 4s167ms 02 1 4s98ms 4s98ms 03 1 4s110ms 4s110ms 04 3 11s744ms 3s914ms 05 3 12s91ms 4s30ms 06 2 8s289ms 4s144ms 07 1 4s135ms 4s135ms 08 1 4s81ms 4s81ms 09 5 20s607ms 4s121ms 10 3 11s930ms 3s976ms 11 9 37s751ms 4s194ms 12 3 12s129ms 4s43ms 13 7 27s753ms 3s964ms 14 1 3s867ms 3s867ms 15 2 7s835ms 3s917ms 16 2 8s17ms 4s8ms 17 2 9s456ms 4s728ms 19 1 3s829ms 3s829ms 21 2 8s458ms 4s229ms 22 3 11s627ms 3s875ms 23 2 7s889ms 3s944ms Apr 25 01 3 11s800ms 3s933ms 02 6 24s543ms 4s90ms 03 3 12s634ms 4s211ms 04 15 59s144ms 3s942ms 05 2 8s116ms 4s58ms 06 1 3s987ms 3s987ms 07 4 19s470ms 4s867ms 08 2 8s79ms 4s39ms 09 2 8s71ms 4s35ms 11 2 8s489ms 4s244ms 12 2 7s805ms 3s902ms 16 2 7s776ms 3s888ms 17 4 15s405ms 3s851ms 20 1 4s11ms 4s11ms 22 1 4s207ms 4s207ms Apr 26 00 2 7s884ms 3s942ms 01 1 3s905ms 3s905ms 02 2 7s841ms 3s920ms 04 3 11s937ms 3s979ms 06 2 7s823ms 3s911ms 08 1 4s109ms 4s109ms 09 1 4s17ms 4s17ms 11 7 28s973ms 4s139ms 14 1 3s839ms 3s839ms 15 4 15s378ms 3s844ms 16 5 18s970ms 3s794ms 18 3 12s231ms 4s77ms 19 2 7s746ms 3s873ms 21 4 15s563ms 3s890ms 22 1 4s278ms 4s278ms [ User: pubeu - Total duration: 6m28s - Times executed: 97 ]
-
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 = '1397540') 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 = '1397540') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-25 07:21:06 Duration: 7s557ms 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 = '1366087') 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 = '1366087') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-22 01:43:03 Duration: 6s155ms 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 = '1352221') 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 = '1352221') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-21 23:52:40 Duration: 5s727ms Bind query: yes
20 20m19s 517 1s1ms 9s67ms 2s358ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 20 00 5 12s775ms 2s555ms 01 2 4s102ms 2s51ms 03 3 4s664ms 1s554ms 05 3 5s346ms 1s782ms 06 7 12s534ms 1s790ms 07 4 12s33ms 3s8ms 08 5 12s877ms 2s575ms 09 4 7s632ms 1s908ms 10 2 3s778ms 1s889ms 11 2 4s389ms 2s194ms 12 1 1s501ms 1s501ms 13 3 9s316ms 3s105ms 14 4 10s468ms 2s617ms 15 4 8s474ms 2s118ms 16 3 4s700ms 1s566ms 17 9 21s668ms 2s407ms 18 5 10s436ms 2s87ms 19 4 8s562ms 2s140ms 20 1 2s750ms 2s750ms 21 3 5s24ms 1s674ms 22 4 9s557ms 2s389ms 23 3 14s404ms 4s801ms Apr 21 00 3 6s665ms 2s221ms 01 2 3s66ms 1s533ms 02 3 4s928ms 1s642ms 03 2 4s321ms 2s160ms 04 6 11s970ms 1s995ms 05 3 5s441ms 1s813ms 06 7 14s73ms 2s10ms 07 1 6s60ms 6s60ms 08 4 6s269ms 1s567ms 09 2 2s663ms 1s331ms 10 5 7s726ms 1s545ms 11 3 6s629ms 2s209ms 12 5 7s961ms 1s592ms 13 10 23s224ms 2s322ms 14 6 11s395ms 1s899ms 15 3 13s63ms 4s354ms 16 2 7s446ms 3s723ms 17 4 5s941ms 1s485ms 18 1 2s75ms 2s75ms 19 1 3s498ms 3s498ms 20 1 1s208ms 1s208ms 21 1 2s779ms 2s779ms 22 3 5s7ms 1s669ms 23 12 42s16ms 3s501ms Apr 22 00 2 12s248ms 6s124ms 01 9 26s48ms 2s894ms 02 49 2m31s 3s93ms 03 9 18s549ms 2s61ms 04 6 18s278ms 3s46ms 05 4 7s615ms 1s903ms 07 3 6s819ms 2s273ms 08 5 10s446ms 2s89ms 09 7 14s706ms 2s100ms 10 8 21s16ms 2s627ms 11 8 16s798ms 2s99ms 12 6 10s564ms 1s760ms 13 1 2s266ms 2s266ms 14 4 7s413ms 1s853ms 15 4 11s222ms 2s805ms 16 4 16s409ms 4s102ms 17 1 1s662ms 1s662ms 18 4 11s324ms 2s831ms 19 7 20s136ms 2s876ms 20 3 5s144ms 1s714ms 21 5 11s185ms 2s237ms 22 2 2s696ms 1s348ms 23 2 3s349ms 1s674ms Apr 23 00 2 5s3ms 2s501ms 01 1 1s15ms 1s15ms 02 4 7s883ms 1s970ms 03 4 7s765ms 1s941ms 04 6 12s748ms 2s124ms 05 9 12s285ms 1s365ms 06 6 11s419ms 1s903ms 07 4 8s427ms 2s106ms 08 3 5s537ms 1s845ms 09 2 2s429ms 1s214ms 10 2 3s515ms 1s757ms 11 5 9s185ms 1s837ms 12 2 3s47ms 1s523ms 13 1 2s234ms 2s234ms 14 1 5s967ms 5s967ms 15 6 14s575ms 2s429ms 16 3 10s278ms 3s426ms 17 5 10s988ms 2s197ms 18 4 15s411ms 3s852ms 19 3 5s635ms 1s878ms 20 3 5s551ms 1s850ms 21 1 2s276ms 2s276ms 22 2 2s75ms 1s37ms 23 2 4s675ms 2s337ms Apr 24 00 4 9s445ms 2s361ms 01 3 4s391ms 1s463ms 02 5 13s950ms 2s790ms 03 5 9s27ms 1s805ms 04 1 2s244ms 2s244ms 05 3 5s620ms 1s873ms 06 3 7s376ms 2s458ms 07 3 6s185ms 2s61ms 08 1 1s314ms 1s314ms 09 1 1s691ms 1s691ms 10 5 11s32ms 2s206ms 11 7 17s616ms 2s516ms 12 6 11s232ms 1s872ms 21 1 2s928ms 2s928ms 22 2 4s597ms 2s298ms Apr 25 04 1 2s695ms 2s695ms 07 2 9s554ms 4s777ms 10 4 7s619ms 1s904ms 12 2 2s135ms 1s67ms 22 1 2s781ms 2s781ms 23 4 6s918ms 1s729ms Apr 26 00 1 2s358ms 2s358ms 01 3 6s98ms 2s32ms 02 6 11s475ms 1s912ms 03 2 8s696ms 4s348ms 04 3 6s539ms 2s179ms 05 1 1s629ms 1s629ms 06 2 3s501ms 1s750ms 07 2 3s740ms 1s870ms 08 1 3s486ms 3s486ms 09 2 4s198ms 2s99ms 10 3 10s323ms 3s441ms 12 1 3s774ms 3s774ms 14 5 11s17ms 2s203ms 15 2 3s343ms 1s671ms 18 2 3s931ms 1s965ms 19 2 4s435ms 2s217ms 20 3 6s462ms 2s154ms 21 1 2s390ms 2s390ms 22 2 4s705ms 2s352ms 23 4 7s172ms 1s793ms [ User: pubeu - Total duration: 7m30s - Times executed: 174 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '156735' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '156735') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:09:02 Duration: 9s67ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:03:50 Duration: 8s265ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:03:48 Duration: 8s100ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 11,599 4h33s 1s94ms 6s436ms 1s244ms 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 20 00 12 15s69ms 1s255ms 01 19 24s728ms 1s301ms 02 8 10s77ms 1s259ms 03 19 23s602ms 1s242ms 05 22 27s414ms 1s246ms 06 16 19s168ms 1s198ms 07 13 15s409ms 1s185ms 08 22 26s902ms 1s222ms 09 15 18s356ms 1s223ms 10 19 22s178ms 1s167ms 11 31 36s709ms 1s184ms 12 13 15s224ms 1s171ms 13 67 1m22s 1s226ms 14 112 2m16s 1s221ms 15 128 2m38s 1s236ms 16 139 2m49s 1s222ms 17 101 2m4s 1s231ms 18 54 1m4s 1s192ms 19 23 26s894ms 1s169ms 20 37 43s403ms 1s173ms 21 30 35s753ms 1s191ms 22 34 41s979ms 1s234ms 23 28 33s782ms 1s206ms Apr 21 00 43 52s140ms 1s212ms 01 46 55s20ms 1s196ms 02 129 2m40s 1s244ms 03 138 2m46s 1s209ms 04 146 3m1s 1s240ms 05 151 3m8s 1s249ms 06 103 2m15s 1s312ms 07 49 59s819ms 1s220ms 08 58 1m11s 1s225ms 09 40 49s152ms 1s228ms 10 35 43s73ms 1s230ms 11 38 46s484ms 1s223ms 12 127 2m41s 1s272ms 13 138 2m55s 1s274ms 14 119 2m35s 1s303ms 15 118 2m24s 1s225ms 16 109 2m15s 1s239ms 17 43 52s490ms 1s220ms 18 43 51s682ms 1s201ms 19 34 40s558ms 1s192ms 20 45 53s899ms 1s197ms 21 34 40s685ms 1s196ms 22 57 1m11s 1s253ms 23 126 2m54s 1s385ms Apr 22 00 131 2m42s 1s239ms 01 166 4m42s 1s702ms 02 137 3m21s 1s474ms 03 97 2m3s 1s273ms 04 29 35s764ms 1s233ms 05 27 33s283ms 1s232ms 06 31 37s708ms 1s216ms 07 83 1m41s 1s228ms 08 128 2m45s 1s293ms 09 160 3m16s 1s229ms 10 147 3m2s 1s240ms 11 131 2m40s 1s227ms 12 43 51s899ms 1s206ms 13 31 37s515ms 1s210ms 14 42 49s900ms 1s188ms 15 38 45s538ms 1s198ms 16 36 43s39ms 1s195ms 17 75 1m30s 1s201ms 18 134 2m41s 1s202ms 19 128 2m41s 1s264ms 20 135 2m43s 1s212ms 21 115 2m21s 1s231ms 22 86 1m46s 1s243ms 23 29 36s933ms 1s273ms Apr 23 00 46 57s488ms 1s249ms 01 48 1m 1s261ms 02 56 1m11s 1s282ms 03 74 1m35s 1s289ms 04 136 2m56s 1s295ms 05 102 2m13s 1s308ms 06 150 3m6s 1s244ms 07 161 3m17s 1s226ms 08 98 2m1s 1s243ms 09 60 1m12s 1s201ms 10 47 56s857ms 1s209ms 11 32 38s367ms 1s198ms 12 30 36s163ms 1s205ms 13 97 1m59s 1s232ms 14 126 2m34s 1s229ms 15 136 2m46s 1s223ms 16 130 2m39s 1s229ms 17 109 2m18s 1s271ms 18 72 1m27s 1s213ms 19 49 58s802ms 1s200ms 20 35 42s316ms 1s209ms 21 28 33s585ms 1s199ms 22 57 1m12s 1s269ms 23 102 2m9s 1s269ms Apr 24 00 123 2m36s 1s271ms 01 133 2m49s 1s273ms 02 133 2m44s 1s238ms 03 109 2m15s 1s241ms 04 61 1m15s 1s235ms 05 58 1m11s 1s236ms 06 46 56s389ms 1s225ms 07 50 1m1s 1s225ms 08 80 1m37s 1s220ms 09 108 2m12s 1s223ms 10 118 2m23s 1s218ms 11 123 2m30s 1s223ms 12 105 2m10s 1s242ms 13 74 1m29s 1s203ms 14 23 27s232ms 1s184ms 15 27 31s752ms 1s176ms 16 23 26s737ms 1s162ms 17 29 34s292ms 1s182ms 18 46 54s439ms 1s183ms 19 31 36s818ms 1s187ms 20 34 40s330ms 1s186ms 21 24 28s759ms 1s198ms 22 25 32s648ms 1s305ms 23 24 29s115ms 1s213ms Apr 25 00 14 17s45ms 1s217ms 01 25 29s789ms 1s191ms 02 16 19s251ms 1s203ms 03 33 40s704ms 1s233ms 04 77 1m35s 1s239ms 05 92 1m53s 1s238ms 06 67 1m21s 1s210ms 07 70 1m39s 1s425ms 08 48 57s640ms 1s200ms 09 13 15s470ms 1s190ms 10 68 1m23s 1s233ms 11 100 2m1s 1s213ms 12 88 1m48s 1s227ms 13 69 1m23s 1s208ms 14 89 1m46s 1s192ms 15 38 45s657ms 1s201ms 16 19 22s778ms 1s198ms 17 25 29s960ms 1s198ms 18 38 44s971ms 1s183ms 19 48 57s155ms 1s190ms 20 96 1m55s 1s208ms 21 90 1m48s 1s207ms 22 95 1m57s 1s237ms 23 90 1m51s 1s238ms Apr 26 00 76 1m36s 1s265ms 01 37 45s182ms 1s221ms 02 37 45s134ms 1s219ms 03 40 49s103ms 1s227ms 04 24 29s296ms 1s220ms 05 78 1m36s 1s233ms 06 100 2m2s 1s225ms 07 107 2m11s 1s232ms 08 94 1m56s 1s238ms 09 82 1m41s 1s240ms 10 38 45s937ms 1s208ms 11 36 43s734ms 1s214ms 12 40 47s817ms 1s195ms 13 30 35s834ms 1s194ms 14 60 1m12s 1s214ms 15 95 1m55s 1s211ms 16 84 1m40s 1s201ms 17 114 2m17s 1s206ms 18 116 2m18s 1s196ms 19 62 1m13s 1s181ms 20 35 41s480ms 1s185ms 21 29 34s537ms 1s190ms 22 38 47s522ms 1s250ms 23 61 1m19s 1s298ms [ User: pubeu - Total duration: 56m12s - Times executed: 2622 ]
-
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 = '2068374' or receptorTerm.id = '2068374' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 01:42:56 Duration: 6s436ms 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 = '1468717' or receptorTerm.id = '1468717' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 01:42:56 Duration: 6s278ms 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 = '1815374' or receptorTerm.id = '1815374' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 01:42:56 Duration: 6s218ms Database: ctdprd51 User: pubeu Bind query: yes
2 1,532 35m4s 1s209ms 5s135ms 1s373ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 20 00 5 7s183ms 1s436ms 03 7 9s646ms 1s378ms 05 5 7s87ms 1s417ms 06 2 2s673ms 1s336ms 07 1 1s355ms 1s355ms 08 3 4s104ms 1s368ms 10 2 2s620ms 1s310ms 11 6 7s801ms 1s300ms 12 2 2s654ms 1s327ms 13 2 2s707ms 1s353ms 14 4 5s686ms 1s421ms 15 15 20s487ms 1s365ms 16 14 19s33ms 1s359ms 17 6 8s262ms 1s377ms 18 5 6s687ms 1s337ms 20 4 5s379ms 1s344ms 21 3 4s61ms 1s353ms 22 8 11s9ms 1s376ms 23 1 1s338ms 1s338ms Apr 21 00 8 10s886ms 1s360ms 01 3 4s42ms 1s347ms 02 8 10s618ms 1s327ms 03 10 13s377ms 1s337ms 04 9 12s411ms 1s379ms 05 11 17s20ms 1s547ms 06 5 7s902ms 1s580ms 07 10 13s638ms 1s363ms 08 7 9s475ms 1s353ms 09 9 12s477ms 1s386ms 10 8 11s102ms 1s387ms 11 1 1s318ms 1s318ms 12 5 8s180ms 1s636ms 13 16 24s917ms 1s557ms 14 12 18s646ms 1s553ms 15 10 13s366ms 1s336ms 16 12 17s367ms 1s447ms 17 4 5s266ms 1s316ms 18 5 6s564ms 1s312ms 19 6 8s585ms 1s430ms 20 9 11s984ms 1s331ms 21 4 5s369ms 1s342ms 22 4 5s562ms 1s390ms 23 14 20s775ms 1s483ms Apr 22 00 7 9s551ms 1s364ms 01 7 9s649ms 1s378ms 02 10 15s460ms 1s546ms 03 5 10s800ms 2s160ms 04 6 8s105ms 1s350ms 05 4 5s595ms 1s398ms 07 6 8s64ms 1s344ms 08 5 6s816ms 1s363ms 09 8 10s680ms 1s335ms 10 13 18s53ms 1s388ms 11 11 15s38ms 1s367ms 12 13 17s358ms 1s335ms 13 1 1s378ms 1s378ms 14 6 11s588ms 1s931ms 15 3 3s912ms 1s304ms 16 5 6s596ms 1s319ms 17 6 7s907ms 1s317ms 18 10 13s410ms 1s341ms 19 17 22s683ms 1s334ms 20 12 16s360ms 1s363ms 21 10 13s724ms 1s372ms 22 3 4s157ms 1s385ms 23 2 2s641ms 1s320ms Apr 23 00 5 7s122ms 1s424ms 01 5 6s831ms 1s366ms 02 17 24s148ms 1s420ms 03 5 7s490ms 1s498ms 04 8 11s674ms 1s459ms 05 15 21s567ms 1s437ms 06 12 16s10ms 1s334ms 07 14 19s587ms 1s399ms 08 11 15s196ms 1s381ms 09 14 18s408ms 1s314ms 10 16 21s438ms 1s339ms 11 21 27s871ms 1s327ms 12 15 19s560ms 1s304ms 13 16 21s719ms 1s357ms 14 13 17s645ms 1s357ms 15 17 22s682ms 1s334ms 16 18 24s224ms 1s345ms 17 10 13s835ms 1s383ms 18 12 16s181ms 1s348ms 19 5 6s760ms 1s352ms 20 2 2s676ms 1s338ms 21 9 12s88ms 1s343ms 22 4 5s764ms 1s441ms 23 11 15s411ms 1s401ms Apr 24 00 25 34s795ms 1s391ms 01 31 43s850ms 1s414ms 02 22 31s467ms 1s430ms 03 14 19s351ms 1s382ms 04 15 20s272ms 1s351ms 05 14 19s197ms 1s371ms 06 8 10s844ms 1s355ms 07 15 21s737ms 1s449ms 08 11 14s779ms 1s343ms 09 21 28s622ms 1s362ms 10 29 39s50ms 1s346ms 11 12 16s40ms 1s336ms 12 16 22s406ms 1s400ms 13 22 29s780ms 1s353ms 14 8 10s509ms 1s313ms 15 10 13s56ms 1s305ms 16 6 7s807ms 1s301ms 17 3 3s836ms 1s278ms 18 14 18s88ms 1s292ms 19 11 14s479ms 1s316ms 20 3 3s935ms 1s311ms 21 2 2s698ms 1s349ms 22 3 4s77ms 1s359ms 23 3 4s35ms 1s345ms Apr 25 00 4 5s274ms 1s318ms 01 3 4s23ms 1s341ms 02 1 1s399ms 1s399ms 03 5 6s758ms 1s351ms 04 12 16s141ms 1s345ms 05 20 28s305ms 1s415ms 06 19 25s653ms 1s350ms 07 15 19s984ms 1s332ms 08 5 6s612ms 1s322ms 09 4 5s274ms 1s318ms 10 6 7s965ms 1s327ms 11 9 12s45ms 1s338ms 12 18 24s663ms 1s370ms 13 4 5s331ms 1s332ms 14 16 21s88ms 1s318ms 15 4 5s250ms 1s312ms 16 5 6s522ms 1s304ms 17 3 3s910ms 1s303ms 18 2 2s626ms 1s313ms 19 8 10s355ms 1s294ms 20 14 18s767ms 1s340ms 21 19 25s2ms 1s315ms 22 15 20s435ms 1s362ms 23 14 19s411ms 1s386ms Apr 26 00 13 18s57ms 1s389ms 01 1 1s358ms 1s358ms 02 6 8s80ms 1s346ms 03 6 8s112ms 1s352ms 04 6 8s56ms 1s342ms 05 22 29s991ms 1s363ms 06 20 26s916ms 1s345ms 07 10 13s387ms 1s338ms 08 18 24s779ms 1s376ms 09 16 21s966ms 1s372ms 10 4 5s229ms 1s307ms 11 8 10s941ms 1s367ms 12 6 7s857ms 1s309ms 13 4 5s246ms 1s311ms 14 6 8s158ms 1s359ms 15 11 14s873ms 1s352ms 16 15 20s401ms 1s360ms 17 24 32s309ms 1s346ms 18 21 27s897ms 1s328ms 19 7 9s315ms 1s330ms 20 8 10s318ms 1s289ms 21 8 10s593ms 1s324ms 22 7 9s740ms 1s391ms 23 12 16s903ms 1s408ms [ User: pubeu - Total duration: 8m14s - Times executed: 360 ]
[ User: qaeu - Total duration: 1s415ms - 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.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1234326') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1234326') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 03:39:52 Duration: 5s135ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1271653') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1271653') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-21 13:57:16 Duration: 3s535ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1230319') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1230319') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 14:58:35 Duration: 3s157ms Bind query: yes
3 1,356 1h11m25s 1s 7s522ms 3s160ms 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 20 00 10 25s497ms 2s549ms 01 10 33s181ms 3s318ms 02 6 15s609ms 2s601ms 03 5 24s84ms 4s816ms 04 1 1s936ms 1s936ms 05 3 11s664ms 3s888ms 06 9 31s755ms 3s528ms 07 7 26s334ms 3s762ms 08 10 28s839ms 2s883ms 09 4 12s650ms 3s162ms 10 7 22s193ms 3s170ms 11 9 23s161ms 2s573ms 12 8 22s835ms 2s854ms 13 6 21s456ms 3s576ms 14 10 25s406ms 2s540ms 15 11 37s835ms 3s439ms 16 5 13s814ms 2s762ms 17 4 17s345ms 4s336ms 18 8 18s822ms 2s352ms 19 7 19s390ms 2s770ms 20 9 34s893ms 3s877ms 21 9 23s955ms 2s661ms 22 9 36s748ms 4s83ms 23 8 28s799ms 3s599ms Apr 21 00 7 24s157ms 3s451ms 01 7 30s736ms 4s390ms 02 7 20s558ms 2s936ms 03 4 17s881ms 4s470ms 04 6 17s337ms 2s889ms 05 8 15s812ms 1s976ms 06 10 42s194ms 4s219ms 07 6 20s784ms 3s464ms 08 9 25s982ms 2s886ms 09 4 13s666ms 3s416ms 10 6 13s824ms 2s304ms 11 16 1m7s 4s221ms 12 11 38s34ms 3s457ms 13 6 24s602ms 4s100ms 14 12 35s530ms 2s960ms 15 9 24s138ms 2s682ms 16 12 42s811ms 3s567ms 17 6 14s920ms 2s486ms 18 9 28s68ms 3s118ms 19 6 25s853ms 4s308ms 20 10 33s644ms 3s364ms 21 9 45s61ms 5s6ms 22 3 10s186ms 3s395ms 23 7 18s413ms 2s630ms Apr 22 00 15 45s731ms 3s48ms 01 28 1m17s 2s773ms 02 20 56s215ms 2s810ms 03 17 44s452ms 2s614ms 04 13 40s89ms 3s83ms 05 9 25s334ms 2s814ms 06 7 26s36ms 3s719ms 07 8 31s750ms 3s968ms 08 7 26s579ms 3s797ms 09 4 21s861ms 5s465ms 10 10 27s871ms 2s787ms 11 7 30s203ms 4s314ms 12 10 34s23ms 3s402ms 13 6 27s882ms 4s647ms 14 8 22s280ms 2s785ms 15 9 33s299ms 3s699ms 16 5 10s331ms 2s66ms 17 11 30s793ms 2s799ms 18 10 36s772ms 3s677ms 19 4 21s295ms 5s323ms 20 8 25s31ms 3s128ms 21 8 26s298ms 3s287ms 22 9 33s122ms 3s680ms 23 11 23s560ms 2s141ms Apr 23 00 2 10s260ms 5s130ms 01 15 44s346ms 2s956ms 02 7 15s116ms 2s159ms 03 10 19s755ms 1s975ms 04 10 33s688ms 3s368ms 05 25 1m11s 2s866ms 06 27 1m20s 2s995ms 07 25 1m15s 3s10ms 08 12 36s335ms 3s27ms 09 5 18s810ms 3s762ms 10 10 24s910ms 2s491ms 11 10 33s566ms 3s356ms 12 8 25s447ms 3s180ms 13 6 24s799ms 4s133ms 14 9 26s86ms 2s898ms 15 10 45s723ms 4s572ms 16 24 1m10s 2s943ms 17 9 29s232ms 3s248ms 18 15 44s309ms 2s953ms 19 8 36s222ms 4s527ms 20 10 38s330ms 3s833ms 21 5 10s22ms 2s4ms 22 8 26s202ms 3s275ms 23 10 31s544ms 3s154ms Apr 24 00 4 13s569ms 3s392ms 01 23 1m20s 3s512ms 02 16 41s73ms 2s567ms 03 18 1m3s 3s535ms 04 25 1m18s 3s139ms 05 2 10s81ms 5s40ms 06 8 20s792ms 2s599ms 07 7 34s204ms 4s886ms 08 21 1m 2s885ms 09 17 52s237ms 3s72ms 10 29 1m22s 2s848ms 11 15 39s169ms 2s611ms 12 6 21s82ms 3s513ms Apr 25 22 3 11s147ms 3s715ms 23 7 33s760ms 4s822ms Apr 26 00 18 1m1s 3s434ms 01 20 1m1s 3s61ms 02 7 16s89ms 2s298ms 03 7 22s795ms 3s256ms 04 13 38s426ms 2s955ms 05 8 29s257ms 3s657ms 06 7 20s868ms 2s981ms 07 11 27s453ms 2s495ms 08 9 31s113ms 3s457ms 09 6 17s315ms 2s885ms 10 11 36s845ms 3s349ms 11 5 11s530ms 2s306ms 12 7 15s232ms 2s176ms 13 13 35s258ms 2s712ms 14 5 12s721ms 2s544ms 15 5 11s631ms 2s326ms 16 6 19s131ms 3s188ms 17 7 23s626ms 3s375ms 18 7 22s183ms 3s169ms 19 20 52s96ms 2s604ms 20 10 28s428ms 2s842ms 21 24 1m14s 3s113ms 22 15 37s49ms 2s469ms 23 25 1m13s 2s939ms [ User: pubeu - Total duration: 17m15s - Times executed: 337 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-24 12:36:34 Duration: 7s522ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-23 18:05:09 Duration: 7s306ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-26 23:09:45 Duration: 7s230ms Bind query: yes
4 1,177 28m20s 1s222ms 5s697ms 1s445ms 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 #4
Day Hour Count Duration Avg duration Apr 20 00 3 4s955ms 1s651ms 02 1 1s606ms 1s606ms 03 3 4s22ms 1s340ms 04 2 2s586ms 1s293ms 05 3 4s410ms 1s470ms 06 1 1s310ms 1s310ms 07 1 1s341ms 1s341ms 08 4 5s442ms 1s360ms 10 1 1s381ms 1s381ms 12 1 1s391ms 1s391ms 13 3 4s66ms 1s355ms 14 10 13s538ms 1s353ms 15 13 17s771ms 1s367ms 16 7 9s700ms 1s385ms 17 13 17s752ms 1s365ms 18 5 6s668ms 1s333ms 19 1 1s298ms 1s298ms 20 3 3s981ms 1s327ms 21 4 5s257ms 1s314ms 22 1 1s383ms 1s383ms 23 2 2s827ms 1s413ms Apr 21 00 12 15s765ms 1s313ms 01 6 7s918ms 1s319ms 02 11 15s177ms 1s379ms 03 13 17s814ms 1s370ms 04 6 10s20ms 1s670ms 05 20 28s508ms 1s425ms 06 8 11s344ms 1s418ms 07 3 4s110ms 1s370ms 08 4 5s573ms 1s393ms 09 7 9s686ms 1s383ms 10 7 10s152ms 1s450ms 11 5 6s733ms 1s346ms 12 8 11s121ms 1s390ms 13 8 10s917ms 1s364ms 14 12 16s321ms 1s360ms 15 10 14s2ms 1s400ms 16 9 12s5ms 1s333ms 17 1 1s364ms 1s364ms 18 3 3s926ms 1s308ms 19 3 4s4ms 1s334ms 20 7 9s277ms 1s325ms 21 3 4s80ms 1s360ms 22 5 7s83ms 1s416ms 23 8 11s768ms 1s471ms Apr 22 00 15 21s85ms 1s405ms 01 41 2m12s 3s236ms 02 14 22s82ms 1s577ms 03 10 14s911ms 1s491ms 05 8 11s147ms 1s393ms 06 3 4s66ms 1s355ms 07 8 10s854ms 1s356ms 08 5 7s39ms 1s407ms 09 8 10s958ms 1s369ms 10 7 11s323ms 1s617ms 11 9 12s429ms 1s381ms 12 10 13s574ms 1s357ms 13 3 4s317ms 1s439ms 14 10 13s417ms 1s341ms 15 4 5s321ms 1s330ms 16 3 3s945ms 1s315ms 17 5 6s614ms 1s322ms 18 10 13s324ms 1s332ms 19 12 17s948ms 1s495ms 20 6 7s951ms 1s325ms 21 8 10s981ms 1s372ms 22 2 3s14ms 1s507ms 23 6 8s547ms 1s424ms Apr 23 00 7 9s794ms 1s399ms 01 3 4s82ms 1s360ms 02 6 8s798ms 1s466ms 03 2 2s902ms 1s451ms 04 9 13s130ms 1s458ms 05 8 13s440ms 1s680ms 06 9 12s240ms 1s360ms 07 15 20s432ms 1s362ms 08 15 20s651ms 1s376ms 09 5 6s596ms 1s319ms 10 5 6s826ms 1s365ms 11 7 9s255ms 1s322ms 12 5 6s740ms 1s348ms 13 7 9s268ms 1s324ms 14 6 8s338ms 1s389ms 15 6 8s61ms 1s343ms 16 7 9s575ms 1s367ms 17 12 16s649ms 1s387ms 18 13 17s490ms 1s345ms 19 8 11s170ms 1s396ms 22 15 21s73ms 1s404ms 23 9 12s857ms 1s428ms Apr 24 00 18 26s167ms 1s453ms 01 13 18s463ms 1s420ms 02 19 26s772ms 1s409ms 03 16 21s923ms 1s370ms 04 6 8s141ms 1s356ms 05 10 14s77ms 1s407ms 06 8 10s867ms 1s358ms 07 8 11s61ms 1s382ms 08 10 13s499ms 1s349ms 09 15 20s121ms 1s341ms 10 15 20s181ms 1s345ms 11 10 13s578ms 1s357ms 12 14 19s434ms 1s388ms 13 7 9s482ms 1s354ms 14 4 5s418ms 1s354ms 15 5 6s546ms 1s309ms 17 3 3s848ms 1s282ms 18 4 5s239ms 1s309ms 19 1 1s402ms 1s402ms 20 4 5s258ms 1s314ms 21 3 4s2ms 1s334ms 22 4 5s441ms 1s360ms 23 10 13s361ms 1s336ms Apr 25 00 4 5s249ms 1s312ms 01 2 2s611ms 1s305ms 03 2 2s731ms 1s365ms 04 5 6s847ms 1s369ms 05 7 9s779ms 1s397ms 06 6 8s125ms 1s354ms 07 4 5s403ms 1s350ms 08 6 8s193ms 1s365ms 09 4 5s333ms 1s333ms 10 7 9s389ms 1s341ms 11 8 10s585ms 1s323ms 12 11 14s829ms 1s348ms 13 8 10s672ms 1s334ms 14 8 10s951ms 1s368ms 15 3 4s276ms 1s425ms 16 2 2s677ms 1s338ms 17 2 2s541ms 1s270ms 18 5 6s966ms 1s393ms 19 6 7s713ms 1s285ms 20 15 20s161ms 1s344ms 21 11 14s598ms 1s327ms 22 6 8s398ms 1s399ms 23 14 19s348ms 1s382ms Apr 26 00 7 10s842ms 1s548ms 01 5 6s806ms 1s361ms 02 3 4s1ms 1s333ms 03 4 5s434ms 1s358ms 04 4 5s474ms 1s368ms 05 9 12s362ms 1s373ms 06 13 17s780ms 1s367ms 07 14 19s249ms 1s374ms 08 10 13s565ms 1s356ms 09 9 12s675ms 1s408ms 10 10 13s728ms 1s372ms 11 2 2s677ms 1s338ms 12 7 9s184ms 1s312ms 13 2 2s617ms 1s308ms 14 9 11s934ms 1s326ms 15 17 23s245ms 1s367ms 16 10 13s481ms 1s348ms 17 13 16s929ms 1s302ms 18 7 9s155ms 1s307ms 19 5 6s422ms 1s284ms 20 5 6s528ms 1s305ms 21 1 1s374ms 1s374ms 22 3 4s55ms 1s351ms 23 8 11s339ms 1s417ms [ User: pubeu - Total duration: 7m59s - Times executed: 298 ]
-
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 = '2101319') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2101319') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 01:42:17 Duration: 5s697ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100031') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100031') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 01:42:17 Duration: 5s440ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2097918') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2097918') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 01:42:17 Duration: 5s237ms Database: ctdprd51 User: pubeu Bind query: yes
5 1,101 47m7s 1s1ms 8s830ms 2s567ms 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 #5
Day Hour Count Duration Avg duration Apr 20 00 5 13s878ms 2s775ms 01 3 9s717ms 3s239ms 02 8 16s401ms 2s50ms 03 2 3s483ms 1s741ms 04 1 2s15ms 2s15ms 05 3 8s315ms 2s771ms 06 6 19s98ms 3s183ms 07 1 1s98ms 1s98ms 08 3 10s594ms 3s531ms 09 6 15s725ms 2s620ms 10 9 26s269ms 2s918ms 11 7 19s813ms 2s830ms 12 3 7s652ms 2s550ms 13 4 13s768ms 3s442ms 14 6 17s984ms 2s997ms 15 7 23s346ms 3s335ms 16 5 12s630ms 2s526ms 17 3 10s775ms 3s591ms 18 6 19s638ms 3s273ms 19 8 18s713ms 2s339ms 20 4 10s692ms 2s673ms 21 3 8s301ms 2s767ms 22 6 9s578ms 1s596ms 23 7 19s958ms 2s851ms Apr 21 00 2 5s497ms 2s748ms 01 3 11s360ms 3s786ms 02 6 18s117ms 3s19ms 03 10 20s300ms 2s30ms 04 12 28s961ms 2s413ms 05 7 20s529ms 2s932ms 06 5 13s247ms 2s649ms 07 5 15s648ms 3s129ms 08 6 18s22ms 3s3ms 09 6 15s964ms 2s660ms 10 1 1s170ms 1s170ms 11 5 12s863ms 2s572ms 12 4 8s402ms 2s100ms 13 4 11s42ms 2s760ms 14 8 23s350ms 2s918ms 15 8 22s543ms 2s817ms 16 12 30s748ms 2s562ms 17 3 3s108ms 1s36ms 18 6 16s496ms 2s749ms 19 9 23s604ms 2s622ms 20 5 15s93ms 3s18ms 21 7 16s390ms 2s341ms 22 10 32s828ms 3s282ms 23 7 15s952ms 2s278ms Apr 22 00 8 22s428ms 2s803ms 01 39 1m44s 2s685ms 02 23 48s86ms 2s90ms 03 9 26s327ms 2s925ms 04 6 18s75ms 3s12ms 05 4 9s437ms 2s359ms 06 1 2s119ms 2s119ms 07 4 11s448ms 2s862ms 08 7 20s590ms 2s941ms 09 8 22s531ms 2s816ms 10 12 34s909ms 2s909ms 11 5 11s7ms 2s201ms 12 7 20s935ms 2s990ms 13 7 22s29ms 3s147ms 14 7 22s409ms 3s201ms 15 6 11s694ms 1s949ms 16 6 8s912ms 1s485ms 17 7 16s902ms 2s414ms 18 11 20s353ms 1s850ms 19 4 9s333ms 2s333ms 20 7 19s246ms 2s749ms 21 6 18s530ms 3s88ms 22 8 26s743ms 3s342ms 23 7 17s435ms 2s490ms Apr 23 00 10 30s568ms 3s56ms 01 7 15s391ms 2s198ms 02 9 25s364ms 2s818ms 03 7 16s454ms 2s350ms 04 8 20s966ms 2s620ms 05 19 44s925ms 2s364ms 06 23 55s599ms 2s417ms 07 17 35s734ms 2s102ms 08 4 12s157ms 3s39ms 09 3 9s628ms 3s209ms 10 12 31s548ms 2s629ms 11 1 2s72ms 2s72ms 12 7 18s711ms 2s673ms 13 4 13s668ms 3s417ms 14 6 8s848ms 1s474ms 15 6 19s521ms 3s253ms 16 23 55s60ms 2s393ms 17 10 28s111ms 2s811ms 18 8 25s251ms 3s156ms 19 8 18s830ms 2s353ms 20 6 16s82ms 2s680ms 21 9 26s997ms 2s999ms 22 8 15s809ms 1s976ms 23 8 27s595ms 3s449ms Apr 24 00 4 14s689ms 3s672ms 01 20 44s165ms 2s208ms 02 17 41s642ms 2s449ms 03 14 26s926ms 1s923ms 04 21 51s414ms 2s448ms 05 6 15s825ms 2s637ms 06 8 21s124ms 2s640ms 07 5 8s781ms 1s756ms 08 14 36s598ms 2s614ms 09 21 51s110ms 2s433ms 10 31 1m8s 2s210ms 11 8 28s70ms 3s508ms 12 3 8s429ms 2s809ms Apr 25 22 2 6s702ms 3s351ms 23 8 26s210ms 3s276ms Apr 26 00 18 44s248ms 2s458ms 01 21 45s69ms 2s146ms 02 9 28s573ms 3s174ms 03 12 37s80ms 3s90ms 04 10 31s718ms 3s171ms 05 3 5s349ms 1s783ms 06 3 9s191ms 3s63ms 07 5 12s571ms 2s514ms 08 7 14s673ms 2s96ms 09 2 5s109ms 2s554ms 10 5 11s779ms 2s355ms 11 5 7s180ms 1s436ms 12 6 10s582ms 1s763ms 13 2 8s533ms 4s266ms 14 6 11s358ms 1s893ms 15 6 13s657ms 2s276ms 16 3 8s434ms 2s811ms 17 11 26s527ms 2s411ms 18 5 14s25ms 2s805ms 19 17 41s578ms 2s445ms 20 9 18s152ms 2s16ms 21 15 37s37ms 2s469ms 22 16 39s21ms 2s438ms 23 24 53s701ms 2s237ms [ User: pubeu - Total duration: 10m31s - Times executed: 264 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-22 01:42:58 Duration: 8s830ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-22 02:07:44 Duration: 8s226ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-23 23:53:00 Duration: 7s436ms Bind query: yes
6 785 19m45s 1s452ms 3s933ms 1s510ms 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 #6
Day Hour Count Duration Avg duration Apr 20 00 5 7s478ms 1s495ms 01 11 16s940ms 1s540ms 02 3 4s521ms 1s507ms 03 10 15s43ms 1s504ms 05 9 13s347ms 1s483ms 06 4 5s965ms 1s491ms 07 2 3s28ms 1s514ms 08 8 11s849ms 1s481ms 09 2 2s994ms 1s497ms 10 6 8s951ms 1s491ms 11 5 7s415ms 1s483ms 12 2 2s963ms 1s481ms 13 6 8s843ms 1s473ms 14 4 5s947ms 1s486ms 15 5 7s476ms 1s495ms 16 5 7s501ms 1s500ms 17 8 11s935ms 1s491ms 18 5 7s544ms 1s508ms 19 10 14s952ms 1s495ms 20 6 9s41ms 1s506ms 21 6 9s28ms 1s504ms 22 7 10s482ms 1s497ms 23 5 7s417ms 1s483ms Apr 21 00 4 5s920ms 1s480ms 01 5 7s401ms 1s480ms 02 7 10s573ms 1s510ms 03 4 6s66ms 1s516ms 04 11 16s475ms 1s497ms 05 8 12s 1s500ms 06 4 6s187ms 1s546ms 07 4 5s979ms 1s494ms 08 3 4s510ms 1s503ms 09 3 4s430ms 1s476ms 10 5 7s570ms 1s514ms 11 5 7s460ms 1s492ms 12 3 4s541ms 1s513ms 13 6 8s931ms 1s488ms 14 1 1s490ms 1s490ms 15 5 7s535ms 1s507ms 16 6 9s64ms 1s510ms 17 4 5s963ms 1s490ms 18 6 9s41ms 1s506ms 19 5 7s347ms 1s469ms 20 5 7s429ms 1s485ms 21 2 2s957ms 1s478ms 22 1 1s491ms 1s491ms 23 3 4s670ms 1s556ms Apr 22 00 5 7s422ms 1s484ms 01 4 6s421ms 1s605ms 02 8 17s40ms 2s130ms 03 6 9s869ms 1s644ms 04 8 11s999ms 1s499ms 05 6 8s933ms 1s488ms 06 1 1s493ms 1s493ms 07 3 4s570ms 1s523ms 08 5 7s565ms 1s513ms 09 3 4s814ms 1s604ms 10 10 15s46ms 1s504ms 11 7 10s563ms 1s509ms 12 6 8s908ms 1s484ms 13 2 2s982ms 1s491ms 14 4 5s930ms 1s482ms 15 2 2s965ms 1s482ms 16 5 7s549ms 1s509ms 17 12 17s817ms 1s484ms 18 6 9s84ms 1s514ms 19 4 6s184ms 1s546ms 20 5 7s516ms 1s503ms 21 3 4s499ms 1s499ms 22 4 6s49ms 1s512ms 23 9 13s430ms 1s492ms Apr 23 00 2 2s973ms 1s486ms 01 4 6s148ms 1s537ms 02 6 9s122ms 1s520ms 03 11 16s605ms 1s509ms 04 2 3s14ms 1s507ms 05 7 10s788ms 1s541ms 06 7 10s467ms 1s495ms 07 4 6s163ms 1s540ms 08 5 7s519ms 1s503ms 09 4 5s967ms 1s491ms 10 6 9s231ms 1s538ms 11 3 4s527ms 1s509ms 12 9 13s371ms 1s485ms 13 4 6s60ms 1s515ms 14 5 7s683ms 1s536ms 15 3 4s525ms 1s508ms 16 12 18s193ms 1s516ms 17 7 10s716ms 1s530ms 18 7 10s583ms 1s511ms 19 6 8s962ms 1s493ms 20 9 13s525ms 1s502ms 21 2 3s34ms 1s517ms 22 6 8s940ms 1s490ms 23 3 4s605ms 1s535ms Apr 24 00 3 4s832ms 1s610ms 01 6 9s175ms 1s529ms 02 9 13s586ms 1s509ms 03 5 7s540ms 1s508ms 04 6 8s989ms 1s498ms 05 8 12s176ms 1s522ms 06 7 10s471ms 1s495ms 07 4 5s916ms 1s479ms 08 7 10s709ms 1s529ms 09 3 4s482ms 1s494ms 10 6 9s62ms 1s510ms 11 7 10s385ms 1s483ms 12 1 1s500ms 1s500ms 17 2 2s962ms 1s481ms Apr 25 00 5 7s522ms 1s504ms 01 1 1s468ms 1s468ms 05 2 3s2ms 1s501ms 08 1 1s467ms 1s467ms 16 4 6s31ms 1s507ms 17 1 1s473ms 1s473ms 23 8 12s24ms 1s503ms Apr 26 00 4 5s943ms 1s485ms 01 13 19s281ms 1s483ms 02 9 13s341ms 1s482ms 03 7 10s404ms 1s486ms 04 7 10s402ms 1s486ms 05 11 16s467ms 1s497ms 06 10 15s8ms 1s500ms 07 4 5s980ms 1s495ms 08 8 12s57ms 1s507ms 09 7 10s388ms 1s484ms 10 6 8s850ms 1s475ms 11 7 10s435ms 1s490ms 12 10 14s741ms 1s474ms 13 2 2s936ms 1s468ms 14 8 11s963ms 1s495ms 15 10 15s80ms 1s508ms 16 10 14s996ms 1s499ms 17 5 7s471ms 1s494ms 18 8 12s256ms 1s532ms 19 10 15s59ms 1s505ms 20 9 13s458ms 1s495ms 21 3 4s522ms 1s507ms 22 10 14s848ms 1s484ms 23 5 7s646ms 1s529ms [ User: pubeu - Total duration: 4m37s - Times executed: 181 ]
[ User: qaeu - Total duration: 3s190ms - Times executed: 2 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-04-22 02:06:43 Duration: 3s933ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-04-22 02:07:31 Duration: 2s582ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-04-22 03:39:33 Duration: 2s489ms Database: ctdprd51 User: pubeu Bind query: yes
7 623 42m36s 1s 12s308ms 4s103ms 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 20 05 8 17s764ms 2s220ms 06 1 5s150ms 5s150ms 11 4 15s452ms 3s863ms 13 2 2s147ms 1s73ms 14 9 44s692ms 4s965ms 15 5 18s844ms 3s768ms 17 3 12s3ms 4s1ms 18 1 5s622ms 5s622ms 19 3 14s517ms 4s839ms 20 1 6s259ms 6s259ms 22 2 5s780ms 2s890ms Apr 21 00 3 16s286ms 5s428ms 01 1 5s465ms 5s465ms 02 5 13s258ms 2s651ms 03 6 22s777ms 3s796ms 04 2 6s111ms 3s55ms 05 12 22s734ms 1s894ms 06 4 23s59ms 5s764ms 07 1 1s44ms 1s44ms 08 3 15s824ms 5s274ms 09 1 5s659ms 5s659ms 10 3 3s387ms 1s129ms 11 1 1s118ms 1s118ms 12 3 14s970ms 4s990ms 13 6 23s604ms 3s934ms 14 2 11s636ms 5s818ms 15 5 14s251ms 2s850ms 16 4 12s722ms 3s180ms 17 2 9s735ms 4s867ms 18 3 11s741ms 3s913ms 19 1 5s393ms 5s393ms 20 3 14s887ms 4s962ms 21 1 5s167ms 5s167ms 22 4 20s685ms 5s171ms 23 5 31s442ms 6s288ms Apr 22 00 2 7s106ms 3s553ms 01 21 2m6s 6s28ms 02 13 1m20s 6s194ms 03 4 25s3ms 6s250ms 04 2 6s886ms 3s443ms 05 5 5s365ms 1s73ms 06 2 6s946ms 3s473ms 07 8 30s27ms 3s753ms 08 6 28s138ms 4s689ms 09 1 5s118ms 5s118ms 10 4 8s961ms 2s240ms 11 3 11s464ms 3s821ms 12 2 10s245ms 5s122ms 13 4 4s113ms 1s28ms 14 1 1s92ms 1s92ms 15 4 21s680ms 5s420ms 16 5 17s921ms 3s584ms 17 5 22s691ms 4s538ms 18 6 24s274ms 4s45ms 19 3 15s810ms 5s270ms 20 8 23s93ms 2s886ms 21 5 27s480ms 5s496ms 22 5 19s16ms 3s803ms 23 2 10s519ms 5s259ms Apr 23 01 1 5s886ms 5s886ms 02 2 12s607ms 6s303ms 03 3 13s69ms 4s356ms 04 5 31s689ms 6s337ms 05 24 1m29s 3s748ms 06 16 1m2s 3s909ms 07 21 1m19s 3s808ms 08 2 11s74ms 5s537ms 09 2 6s569ms 3s284ms 10 7 34s512ms 4s930ms 11 3 16s68ms 5s356ms 12 4 12s401ms 3s100ms 13 5 28s744ms 5s748ms 14 7 32s502ms 4s643ms 15 3 12s346ms 4s115ms 16 15 53s353ms 3s556ms 17 8 26s295ms 3s286ms 18 2 6s728ms 3s364ms 20 3 11s770ms 3s923ms 22 1 5s198ms 5s198ms 23 2 6s818ms 3s409ms Apr 24 00 3 17s163ms 5s721ms 01 17 1m4s 3s780ms 02 11 45s853ms 4s168ms 03 11 37s649ms 3s422ms 04 16 1m14s 4s672ms 05 5 9s620ms 1s924ms 06 6 28s671ms 4s778ms 07 5 17s717ms 3s543ms 08 7 25s598ms 3s656ms 09 14 53s83ms 3s791ms 10 21 1m28s 4s235ms 11 2 2s288ms 1s144ms 12 6 27s482ms 4s580ms 15 1 4s955ms 4s955ms 16 2 10s194ms 5s97ms 23 1 4s991ms 4s991ms Apr 25 00 3 14s981ms 4s993ms 04 2 2s188ms 1s94ms 05 8 34s642ms 4s330ms 06 1 5s763ms 5s763ms 07 1 5s864ms 5s864ms 08 1 5s84ms 5s84ms 11 1 5s127ms 5s127ms 12 1 5s818ms 5s818ms 13 1 5s593ms 5s593ms 14 1 5s6ms 5s6ms 15 3 7s13ms 2s337ms 16 2 6s89ms 3s44ms 18 1 4s949ms 4s949ms 19 1 4s850ms 4s850ms 22 1 4s971ms 4s971ms Apr 26 00 7 27s227ms 3s889ms 01 11 44s471ms 4s42ms 04 2 10s170ms 5s85ms 05 4 4s85ms 1s21ms 06 2 2s56ms 1s28ms 07 3 12s232ms 4s77ms 08 2 10s176ms 5s88ms 09 2 10s670ms 5s335ms 10 2 6s420ms 3s210ms 13 3 10s381ms 3s460ms 14 2 6s655ms 3s327ms 15 2 2s66ms 1s33ms 16 1 5s968ms 5s968ms 17 6 27s99ms 4s516ms 18 2 10s341ms 5s170ms 19 5 21s520ms 4s304ms 20 7 32s776ms 4s682ms 21 6 27s22ms 4s503ms 22 7 34s82ms 4s868ms 23 14 58s188ms 4s156ms [ User: pubeu - Total duration: 12m18s - Times executed: 164 ]
[ User: qaeu - Total duration: 5s488ms - Times executed: 5 ]
-
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 = '1434112' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-22 02:08:26 Duration: 12s308ms 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 = '1348104' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-21 23:50:00 Duration: 10s315ms 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 = '1424998' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-22 01:42:07 Duration: 9s186ms Database: ctdprd51 User: pubeu Bind query: yes
8 580 1h5m22s 1s2ms 46s394ms 6s763ms 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 #8
Day Hour Count Duration Avg duration Apr 20 00 6 48s243ms 8s40ms 01 7 1m10s 10s99ms 02 1 1s603ms 1s603ms 03 5 1m8s 13s788ms 05 1 3s644ms 3s644ms 06 2 9s945ms 4s972ms 07 4 37s711ms 9s427ms 08 4 24s548ms 6s137ms 09 3 16s568ms 5s522ms 10 4 15s615ms 3s903ms 11 2 4s687ms 2s343ms 12 5 16s498ms 3s299ms 13 2 5s466ms 2s733ms 14 7 46s327ms 6s618ms 15 2 19s430ms 9s715ms 16 6 13s394ms 2s232ms 17 2 24s112ms 12s56ms 18 4 8s11ms 2s2ms 19 4 29s840ms 7s460ms 20 5 37s467ms 7s493ms 21 3 19s551ms 6s517ms 22 5 47s1ms 9s400ms 23 6 9s304ms 1s550ms Apr 21 01 4 43s715ms 10s928ms 02 6 13s152ms 2s192ms 03 3 20s941ms 6s980ms 04 5 13s241ms 2s648ms 05 9 32s493ms 3s610ms 06 7 40s942ms 5s848ms 07 3 6s740ms 2s246ms 10 5 33s11ms 6s602ms 11 1 1s440ms 1s440ms 12 6 9s20ms 1s503ms 13 1 3s544ms 3s544ms 14 1 4s301ms 4s301ms 15 9 50s974ms 5s663ms 16 7 58s989ms 8s427ms 17 3 5s407ms 1s802ms 18 8 48s804ms 6s100ms 19 3 29s354ms 9s784ms 20 5 21s384ms 4s276ms 21 4 29s249ms 7s312ms 22 8 32s307ms 4s38ms 23 5 47s970ms 9s594ms Apr 22 00 2 24s318ms 12s159ms 01 8 2m5s 15s677ms 02 31 7m4s 13s692ms 03 7 52s115ms 7s445ms 04 3 10s631ms 3s543ms 05 1 17s895ms 17s895ms 06 2 2s396ms 1s198ms 07 1 3s185ms 3s185ms 08 3 8s273ms 2s757ms 09 7 32s800ms 4s685ms 10 7 1m17s 11s87ms 11 2 19s270ms 9s635ms 12 3 7s61ms 2s353ms 13 2 24s120ms 12s60ms 14 4 8s800ms 2s200ms 15 6 22s890ms 3s815ms 16 3 26s727ms 8s909ms 17 6 31s101ms 5s183ms 18 4 10s534ms 2s633ms 19 2 6s531ms 3s265ms 20 7 1m1s 8s786ms 21 8 43s107ms 5s388ms 22 1 7s820ms 7s820ms 23 2 23s468ms 11s734ms Apr 23 00 5 14s749ms 2s949ms 01 4 52s602ms 13s150ms 02 6 1m3s 10s636ms 03 8 1m2s 7s772ms 04 3 52s385ms 17s461ms 05 4 12s509ms 3s127ms 06 2 5s240ms 2s620ms 07 5 25s573ms 5s114ms 08 4 17s855ms 4s463ms 09 4 28s622ms 7s155ms 10 2 4s887ms 2s443ms 11 2 5s611ms 2s805ms 12 3 21s450ms 7s150ms 13 6 57s209ms 9s534ms 14 2 4s806ms 2s403ms 15 4 26s118ms 6s529ms 16 5 14s28ms 2s805ms 17 8 37s20ms 4s627ms 18 8 52s298ms 6s537ms 19 3 5s981ms 1s993ms 20 5 19s5ms 3s801ms 21 4 53s551ms 13s387ms 22 6 17s59ms 2s843ms 23 5 34s200ms 6s840ms Apr 24 00 2 5s216ms 2s608ms 01 4 31s806ms 7s951ms 02 2 3s399ms 1s699ms 03 3 17s600ms 5s866ms 04 3 34s252ms 11s417ms 05 5 34s872ms 6s974ms 06 6 1m18s 13s64ms 07 6 46s926ms 7s821ms 08 5 14s951ms 2s990ms 09 3 16s855ms 5s618ms 10 8 57s596ms 7s199ms 11 7 1m23s 11s886ms 12 3 5s414ms 1s804ms 13 2 2s351ms 1s175ms 14 2 2s347ms 1s173ms 15 1 1s334ms 1s334ms 21 1 18s34ms 18s34ms 22 1 10s323ms 10s323ms Apr 25 00 1 1s619ms 1s619ms 03 1 1s558ms 1s558ms 09 1 10s20ms 10s20ms 11 1 2s85ms 2s85ms 12 1 10s887ms 10s887ms 18 1 1s631ms 1s631ms 19 1 2s107ms 2s107ms 23 5 29s142ms 5s828ms Apr 26 00 1 3s666ms 3s666ms 01 7 34s67ms 4s866ms 02 1 2s792ms 2s792ms 03 2 4s728ms 2s364ms 04 3 27s399ms 9s133ms 05 4 30s143ms 7s535ms 06 5 22s322ms 4s464ms 07 5 34s352ms 6s870ms 08 3 5s668ms 1s889ms 09 3 12s16ms 4s5ms 10 4 22s225ms 5s556ms 11 1 11s164ms 11s164ms 12 3 7s160ms 2s386ms 13 2 4s663ms 2s331ms 14 5 1m 12s29ms 15 4 21s120ms 5s280ms 16 3 25s344ms 8s448ms 17 4 43s910ms 10s977ms 18 2 23s83ms 11s541ms 19 2 3s58ms 1s529ms 20 6 21s337ms 3s556ms 21 2 23s210ms 11s605ms 22 1 22s965ms 22s965ms 23 8 45s933ms 5s741ms [ User: pubeu - Total duration: 21m24s - Times executed: 164 ]
-
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 = '1230319') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:07:04 Duration: 46s394ms 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 = '1254131') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:06:53 Duration: 42s211ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1254131') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:06:50 Duration: 39s774ms Database: ctdprd51 User: pubeu Bind query: yes
9 546 17h28m51s 1s258ms 19m27s 1m55s 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 20 00 3 13m4s 4m21s 01 3 4m18s 1m26s 02 3 5s351ms 1s783ms 03 1 2m57s 2m57s 04 1 3s214ms 3s214ms 05 1 4m55s 4m55s 06 2 1m38s 49s478ms 07 5 8m42s 1m44s 08 6 9m17s 1m32s 09 1 1m36s 1m36s 10 1 3s245ms 3s245ms 11 2 3s813ms 1s906ms 12 5 6m53s 1m22s 13 1 1s635ms 1s635ms 14 6 3m40s 36s684ms 15 2 3m52s 1m56s 16 8 31m23s 3m55s 17 1 1s882ms 1s882ms 18 8 5m32s 41s614ms 19 4 3m24s 51s42ms 20 3 6s388ms 2s129ms 21 6 11m46s 1m57s 22 3 5s919ms 1s973ms 23 1 3m18s 3m18s Apr 21 00 2 3s94ms 1s547ms 01 4 12m16s 3m4s 02 10 31m28s 3m8s 03 4 8s86ms 2s21ms 04 3 52s616ms 17s538ms 05 5 10s620ms 2s124ms 06 6 9m14s 1m32s 07 3 51s859ms 17s286ms 08 3 7m33s 2m31s 09 1 2s90ms 2s90ms 10 2 5s466ms 2s733ms 11 4 11m6s 2m46s 12 2 4m17s 2m8s 13 8 22m26s 2m48s 14 4 5m50s 1m27s 15 6 12m40s 2m6s 16 8 23m25s 2m55s 17 4 7s509ms 1s877ms 18 4 3m41s 55s457ms 19 10 14m19s 1m25s 20 6 12m51s 2m8s 21 5 4m37s 55s573ms 22 6 5m13s 52s295ms 23 5 11m37s 2m19s Apr 22 00 1 2s19ms 2s19ms 01 5 15m37s 3m7s 02 17 2h23m12s 8m25s 03 5 15m13s 3m2s 04 4 3m25s 51s332ms 05 2 3s537ms 1s768ms 06 2 5s585ms 2s792ms 07 8 6m41s 50s160ms 08 8 29m38s 3m42s 09 9 22m47s 2m31s 10 4 9m28s 2m22s 11 8 9m39s 1m12s 12 3 18m41s 6m13s 13 2 4m55s 2m27s 14 2 5s590ms 2s795ms 15 6 10m37s 1m46s 16 3 3m47s 1m15s 17 8 13m10s 1m38s 18 7 15s317ms 2s188ms 19 14 23m2s 1m38s 20 2 4m18s 2m9s 21 2 3m35s 1m47s 22 4 6s990ms 1s747ms 23 3 9m57s 3m19s Apr 23 00 4 9s319ms 2s329ms 01 3 6m9s 2m3s 02 1 1s515ms 1s515ms 03 1 1s817ms 1s817ms 04 3 11m51s 3m57s 05 5 8s614ms 1s722ms 06 5 16m 3m12s 07 3 8s354ms 2s784ms 08 2 9m16s 4m38s 09 2 3s869ms 1s934ms 11 3 5m7s 1m42s 12 5 8m25s 1m41s 13 3 5s450ms 1s816ms 14 2 4s626ms 2s313ms 15 3 5m59s 1m59s 16 3 3m38s 1m12s 17 8 13m48s 1m43s 18 1 1s552ms 1s552ms 20 8 17m46s 2m13s 21 5 11s293ms 2s258ms 22 6 13s46ms 2s174ms 23 4 3m31s 52s773ms Apr 24 00 2 3s890ms 1s945ms 01 4 7s736ms 1s934ms 02 2 4m17s 2m8s 03 4 9m6s 2m16s 04 2 3s673ms 1s836ms 05 3 3m21s 1m7s 06 6 6m27s 1m4s 07 1 1m58s 1m58s 08 5 28m21s 5m40s 09 2 5s141ms 2s570ms 10 6 13m20s 2m13s 11 6 13m53s 2m18s 13 4 9s370ms 2s342ms 17 1 3s204ms 3s204ms 21 1 2s346ms 2s346ms 22 5 13m29s 2m41s Apr 25 09 1 8m52s 8m52s 22 3 36m3s 12m1s 23 2 9m45s 4m52s Apr 26 01 3 6s297ms 2s99ms 02 2 3s668ms 1s834ms 03 3 4s893ms 1s631ms 04 3 4s948ms 1s649ms 05 7 14s482ms 2s68ms 06 1 1s606ms 1s606ms 07 3 4m51s 1m37s 08 5 18m47s 3m45s 09 4 4m21s 1m5s 10 6 16m31s 2m45s 11 4 10m39s 2m39s 12 2 3s292ms 1s646ms 13 2 3s402ms 1s701ms 14 2 10m6s 5m3s 15 3 9m 3m 16 9 8m38s 57s578ms 17 4 3m40s 55s47ms 18 4 9m35s 2m23s 19 4 7m19s 1m49s 20 1 2s8ms 2s8ms 21 5 13m10s 2m38s 22 5 18m32s 3m42s 23 3 5s168ms 1s722ms [ User: pubeu - Total duration: 6h21m8s - Times executed: 148 ]
-
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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-22 02:25:04 Duration: 19m27s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-22 02:25:49 Duration: 19m11s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-22 02:25:42 Duration: 19m4s Database: ctdprd51 User: pubeu Bind query: yes
10 517 20m19s 1s1ms 9s67ms 2s358ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 20 00 5 12s775ms 2s555ms 01 2 4s102ms 2s51ms 03 3 4s664ms 1s554ms 05 3 5s346ms 1s782ms 06 7 12s534ms 1s790ms 07 4 12s33ms 3s8ms 08 5 12s877ms 2s575ms 09 4 7s632ms 1s908ms 10 2 3s778ms 1s889ms 11 2 4s389ms 2s194ms 12 1 1s501ms 1s501ms 13 3 9s316ms 3s105ms 14 4 10s468ms 2s617ms 15 4 8s474ms 2s118ms 16 3 4s700ms 1s566ms 17 9 21s668ms 2s407ms 18 5 10s436ms 2s87ms 19 4 8s562ms 2s140ms 20 1 2s750ms 2s750ms 21 3 5s24ms 1s674ms 22 4 9s557ms 2s389ms 23 3 14s404ms 4s801ms Apr 21 00 3 6s665ms 2s221ms 01 2 3s66ms 1s533ms 02 3 4s928ms 1s642ms 03 2 4s321ms 2s160ms 04 6 11s970ms 1s995ms 05 3 5s441ms 1s813ms 06 7 14s73ms 2s10ms 07 1 6s60ms 6s60ms 08 4 6s269ms 1s567ms 09 2 2s663ms 1s331ms 10 5 7s726ms 1s545ms 11 3 6s629ms 2s209ms 12 5 7s961ms 1s592ms 13 10 23s224ms 2s322ms 14 6 11s395ms 1s899ms 15 3 13s63ms 4s354ms 16 2 7s446ms 3s723ms 17 4 5s941ms 1s485ms 18 1 2s75ms 2s75ms 19 1 3s498ms 3s498ms 20 1 1s208ms 1s208ms 21 1 2s779ms 2s779ms 22 3 5s7ms 1s669ms 23 12 42s16ms 3s501ms Apr 22 00 2 12s248ms 6s124ms 01 9 26s48ms 2s894ms 02 49 2m31s 3s93ms 03 9 18s549ms 2s61ms 04 6 18s278ms 3s46ms 05 4 7s615ms 1s903ms 07 3 6s819ms 2s273ms 08 5 10s446ms 2s89ms 09 7 14s706ms 2s100ms 10 8 21s16ms 2s627ms 11 8 16s798ms 2s99ms 12 6 10s564ms 1s760ms 13 1 2s266ms 2s266ms 14 4 7s413ms 1s853ms 15 4 11s222ms 2s805ms 16 4 16s409ms 4s102ms 17 1 1s662ms 1s662ms 18 4 11s324ms 2s831ms 19 7 20s136ms 2s876ms 20 3 5s144ms 1s714ms 21 5 11s185ms 2s237ms 22 2 2s696ms 1s348ms 23 2 3s349ms 1s674ms Apr 23 00 2 5s3ms 2s501ms 01 1 1s15ms 1s15ms 02 4 7s883ms 1s970ms 03 4 7s765ms 1s941ms 04 6 12s748ms 2s124ms 05 9 12s285ms 1s365ms 06 6 11s419ms 1s903ms 07 4 8s427ms 2s106ms 08 3 5s537ms 1s845ms 09 2 2s429ms 1s214ms 10 2 3s515ms 1s757ms 11 5 9s185ms 1s837ms 12 2 3s47ms 1s523ms 13 1 2s234ms 2s234ms 14 1 5s967ms 5s967ms 15 6 14s575ms 2s429ms 16 3 10s278ms 3s426ms 17 5 10s988ms 2s197ms 18 4 15s411ms 3s852ms 19 3 5s635ms 1s878ms 20 3 5s551ms 1s850ms 21 1 2s276ms 2s276ms 22 2 2s75ms 1s37ms 23 2 4s675ms 2s337ms Apr 24 00 4 9s445ms 2s361ms 01 3 4s391ms 1s463ms 02 5 13s950ms 2s790ms 03 5 9s27ms 1s805ms 04 1 2s244ms 2s244ms 05 3 5s620ms 1s873ms 06 3 7s376ms 2s458ms 07 3 6s185ms 2s61ms 08 1 1s314ms 1s314ms 09 1 1s691ms 1s691ms 10 5 11s32ms 2s206ms 11 7 17s616ms 2s516ms 12 6 11s232ms 1s872ms 21 1 2s928ms 2s928ms 22 2 4s597ms 2s298ms Apr 25 04 1 2s695ms 2s695ms 07 2 9s554ms 4s777ms 10 4 7s619ms 1s904ms 12 2 2s135ms 1s67ms 22 1 2s781ms 2s781ms 23 4 6s918ms 1s729ms Apr 26 00 1 2s358ms 2s358ms 01 3 6s98ms 2s32ms 02 6 11s475ms 1s912ms 03 2 8s696ms 4s348ms 04 3 6s539ms 2s179ms 05 1 1s629ms 1s629ms 06 2 3s501ms 1s750ms 07 2 3s740ms 1s870ms 08 1 3s486ms 3s486ms 09 2 4s198ms 2s99ms 10 3 10s323ms 3s441ms 12 1 3s774ms 3s774ms 14 5 11s17ms 2s203ms 15 2 3s343ms 1s671ms 18 2 3s931ms 1s965ms 19 2 4s435ms 2s217ms 20 3 6s462ms 2s154ms 21 1 2s390ms 2s390ms 22 2 4s705ms 2s352ms 23 4 7s172ms 1s793ms [ User: pubeu - Total duration: 7m30s - Times executed: 174 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '156735' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '156735') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:09:02 Duration: 9s67ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:03:50 Duration: 8s265ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:03:48 Duration: 8s100ms Database: ctdprd51 User: pubeu Bind query: yes
11 480 42m 1s 37s640ms 5s250ms 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 #11
Day Hour Count Duration Avg duration Apr 20 00 4 15s574ms 3s893ms 01 6 17s417ms 2s902ms 02 2 8s87ms 4s43ms 03 4 11s560ms 2s890ms 05 6 18s253ms 3s42ms 07 1 5s219ms 5s219ms 08 5 15s29ms 3s5ms 10 2 8s754ms 4s377ms 12 1 1s248ms 1s248ms 13 2 6s610ms 3s305ms 14 3 14s414ms 4s804ms 15 1 3s784ms 3s784ms 16 3 13s605ms 4s535ms 17 2 5s422ms 2s711ms 18 1 1s832ms 1s832ms 20 1 1s602ms 1s602ms 22 1 4s656ms 4s656ms 23 2 4s85ms 2s42ms Apr 21 00 3 5s888ms 1s962ms 02 1 5s988ms 5s988ms 03 5 11s66ms 2s213ms 04 5 20s779ms 4s155ms 05 8 26s886ms 3s360ms 06 2 11s745ms 5s872ms 08 5 10s280ms 2s56ms 09 5 15s996ms 3s199ms 10 2 7s476ms 3s738ms 11 2 7s518ms 3s759ms 12 4 7s880ms 1s970ms 13 8 26s650ms 3s331ms 15 4 12s643ms 3s160ms 16 1 1s418ms 1s418ms 18 1 4s701ms 4s701ms 19 3 13s575ms 4s525ms 20 2 11s378ms 5s689ms 21 2 3s276ms 1s638ms 22 1 1s390ms 1s390ms 23 2 9s35ms 4s517ms Apr 22 00 6 13s494ms 2s249ms 01 51 3m17s 3s869ms 02 24 2m14s 5s616ms 03 10 48s186ms 4s818ms 04 1 1s707ms 1s707ms 05 1 1s332ms 1s332ms 06 3 15s354ms 5s118ms 07 1 1s299ms 1s299ms 08 2 5s698ms 2s849ms 09 7 20s798ms 2s971ms 10 2 6s117ms 3s58ms 11 5 22s317ms 4s463ms 12 1 11s815ms 11s815ms 13 3 15s491ms 5s163ms 14 3 3s992ms 1s330ms 15 2 3s762ms 1s881ms 16 2 3s925ms 1s962ms 17 8 36s688ms 4s586ms 18 4 13s903ms 3s475ms 19 2 3s948ms 1s974ms 20 2 10s404ms 5s202ms 21 3 8s25ms 2s675ms 22 1 3s899ms 3s899ms 23 1 4s423ms 4s423ms Apr 23 00 1 6s42ms 6s42ms 01 2 25s68ms 12s534ms 02 9 57s15ms 6s335ms 03 4 11s837ms 2s959ms 04 5 27s556ms 5s511ms 05 6 23s926ms 3s987ms 06 5 18s279ms 3s655ms 07 2 7s739ms 3s869ms 08 4 25s180ms 6s295ms 09 6 12s718ms 2s119ms 10 3 6s208ms 2s69ms 11 3 5s379ms 1s793ms 12 5 15s937ms 3s187ms 13 1 1s643ms 1s643ms 14 2 8s540ms 4s270ms 15 2 2s505ms 1s252ms 16 5 19s674ms 3s934ms 17 1 2s230ms 2s230ms 18 2 5s206ms 2s603ms 19 1 8s132ms 8s132ms 20 1 1s106ms 1s106ms 21 1 2s765ms 2s765ms 22 4 12s250ms 3s62ms 23 2 4s38ms 2s19ms Apr 24 00 2 5s716ms 2s858ms 01 2 5s458ms 2s729ms 02 3 20s451ms 6s817ms 03 1 4s484ms 4s484ms 05 1 2s538ms 2s538ms 06 5 56s126ms 11s225ms 07 5 35s914ms 7s182ms 08 2 7s363ms 3s681ms 09 6 20s353ms 3s392ms 11 1 2s860ms 2s860ms 12 4 19s534ms 4s883ms 13 1 1s24ms 1s24ms 16 2 2s832ms 1s416ms 17 2 2s666ms 1s333ms 18 2 16s346ms 8s173ms 20 1 1s238ms 1s238ms 21 1 1s397ms 1s397ms Apr 25 01 1 1s112ms 1s112ms 02 1 11s280ms 11s280ms 06 1 1s311ms 1s311ms 07 29 12m52s 26s644ms 08 5 5s523ms 1s104ms 10 1 1s188ms 1s188ms 11 1 1s328ms 1s328ms 13 3 3s672ms 1s224ms 15 1 5s273ms 5s273ms 16 1 2s503ms 2s503ms 17 4 22s602ms 5s650ms 21 1 1s194ms 1s194ms 23 2 2s405ms 1s202ms Apr 26 00 2 4s210ms 2s105ms 01 2 7s334ms 3s667ms 02 2 4s272ms 2s136ms 03 2 8s392ms 4s196ms 05 5 22s106ms 4s421ms 06 5 12s890ms 2s578ms 07 1 2s504ms 2s504ms 09 5 14s826ms 2s965ms 10 3 7s338ms 2s446ms 11 3 12s798ms 4s266ms 12 1 6s156ms 6s156ms 13 2 9s933ms 4s966ms 14 5 18s181ms 3s636ms 15 7 1m 8s663ms 16 1 2s154ms 2s154ms 17 1 1s445ms 1s445ms 18 2 5s434ms 2s717ms 19 2 2s357ms 1s178ms 21 1 1s325ms 1s325ms 23 1 5s276ms 5s276ms [ User: pubeu - Total duration: 21m56s - Times executed: 193 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-25 07:40:40 Duration: 37s640ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-25 07:40:40 Duration: 37s633ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-25 07:40:40 Duration: 37s564ms Database: ctdprd51 User: pubeu Bind query: yes
12 478 13m3s 1s40ms 2s416ms 1s639ms 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 #12
Day Hour Count Duration Avg duration Apr 20 00 4 6s972ms 1s743ms 01 4 7s628ms 1s907ms 02 1 1s280ms 1s280ms 03 4 6s394ms 1s598ms 05 6 10s194ms 1s699ms 06 4 6s854ms 1s713ms 07 5 6s874ms 1s374ms 08 2 3s112ms 1s556ms 09 7 10s714ms 1s530ms 10 1 1s270ms 1s270ms 12 5 7s471ms 1s494ms 13 3 5s581ms 1s860ms 14 3 5s580ms 1s860ms 15 5 9s390ms 1s878ms 16 2 3s721ms 1s860ms 17 2 3s135ms 1s567ms 18 7 11s926ms 1s703ms 19 5 8s756ms 1s751ms 20 5 8s222ms 1s644ms 21 1 1s272ms 1s272ms 22 4 6s859ms 1s714ms 23 5 8s717ms 1s743ms Apr 21 00 3 5s569ms 1s856ms 01 1 1s303ms 1s303ms 02 4 6s416ms 1s604ms 03 1 1s856ms 1s856ms 04 5 7s603ms 1s520ms 05 2 3s393ms 1s696ms 06 1 1s271ms 1s271ms 07 3 5s511ms 1s837ms 08 7 10s135ms 1s447ms 09 2 3s897ms 1s948ms 10 2 3s737ms 1s868ms 11 3 4s425ms 1s475ms 12 2 2s734ms 1s367ms 13 2 3s750ms 1s875ms 14 2 3s385ms 1s692ms 15 1 1s278ms 1s278ms 16 2 3s886ms 1s943ms 17 4 6s341ms 1s585ms 18 4 7s4ms 1s751ms 19 2 3s113ms 1s556ms 20 4 6s817ms 1s704ms 22 5 7s516ms 1s503ms 23 1 1s859ms 1s859ms Apr 22 00 2 3s167ms 1s583ms 01 6 9s986ms 1s664ms 02 7 9s675ms 1s382ms 03 5 6s527ms 1s305ms 04 2 3s118ms 1s559ms 05 2 3s176ms 1s588ms 06 3 5s9ms 1s669ms 07 2 2s322ms 1s161ms 08 1 1s831ms 1s831ms 09 4 6s316ms 1s579ms 10 6 10s669ms 1s778ms 11 1 1s904ms 1s904ms 12 2 3s713ms 1s856ms 13 3 4s987ms 1s662ms 14 3 4s999ms 1s666ms 15 2 2s595ms 1s297ms 16 1 1s841ms 1s841ms 17 3 5s17ms 1s672ms 18 4 6s999ms 1s749ms 19 7 10s782ms 1s540ms 20 6 10s319ms 1s719ms 21 3 5s36ms 1s678ms 22 1 1s881ms 1s881ms 23 4 6s358ms 1s589ms Apr 23 01 1 1s290ms 1s290ms 02 6 11s829ms 1s971ms 04 2 3s934ms 1s967ms 05 7 11s955ms 1s707ms 06 9 15s112ms 1s679ms 07 9 15s848ms 1s760ms 08 6 10s421ms 1s736ms 09 2 3s706ms 1s853ms 10 2 3s190ms 1s595ms 11 4 6s388ms 1s597ms 13 3 4s463ms 1s487ms 14 2 3s135ms 1s567ms 15 3 4s604ms 1s534ms 16 7 11s632ms 1s661ms 17 1 1s261ms 1s261ms 18 3 5s223ms 1s741ms 19 4 7s511ms 1s877ms 20 5 8s945ms 1s789ms 21 4 5s796ms 1s449ms 22 3 5s666ms 1s888ms 23 4 5s295ms 1s323ms Apr 24 00 4 5s852ms 1s463ms 01 6 9s750ms 1s625ms 02 5 8s301ms 1s660ms 03 8 11s587ms 1s448ms 04 9 14s706ms 1s634ms 05 5 7s146ms 1s429ms 06 6 10s496ms 1s749ms 07 1 1s286ms 1s286ms 08 4 6s326ms 1s581ms 09 7 11s305ms 1s615ms 10 8 13s434ms 1s679ms 11 1 1s332ms 1s332ms 12 2 2s753ms 1s376ms Apr 25 23 2 3s826ms 1s913ms Apr 26 00 7 10s109ms 1s444ms 01 6 9s956ms 1s659ms 02 3 5s549ms 1s849ms 03 6 10s189ms 1s698ms 04 1 1s879ms 1s879ms 05 4 6s855ms 1s713ms 06 1 1s854ms 1s854ms 07 4 6s283ms 1s570ms 08 2 3s185ms 1s592ms 09 7 12s129ms 1s732ms 10 2 3s126ms 1s563ms 11 4 6s844ms 1s711ms 12 1 1s836ms 1s836ms 13 2 3s89ms 1s544ms 14 2 3s775ms 1s887ms 15 5 7s636ms 1s527ms 16 3 5s148ms 1s716ms 17 3 5s92ms 1s697ms 18 1 1s282ms 1s282ms 19 4 6s213ms 1s553ms 20 3 3s895ms 1s298ms 21 5 8s110ms 1s622ms 22 7 11s349ms 1s621ms 23 12 20s42ms 1s670ms [ User: pubeu - Total duration: 3m8s - Times executed: 115 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-22 01:44:37 Duration: 2s416ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-24 06:48:47 Duration: 2s120ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-22 20:13:08 Duration: 2s108ms Bind query: yes
13 379 16m36s 1s3ms 6s489ms 2s629ms 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 #13
Day Hour Count Duration Avg duration Apr 20 05 1 1s457ms 1s457ms 15 1 2s777ms 2s777ms Apr 21 02 2 3s215ms 1s607ms 05 5 12s986ms 2s597ms 06 4 9s92ms 2s273ms 13 10 21s177ms 2s117ms 14 9 18s934ms 2s103ms 15 1 2s193ms 2s193ms 23 4 7s397ms 1s849ms Apr 22 01 60 1m57s 1s960ms 02 225 11m19s 3s22ms 03 4 11s319ms 2s829ms 07 2 2s120ms 1s60ms 08 3 6s511ms 2s170ms 09 1 2s97ms 2s97ms 19 4 6s500ms 1s625ms Apr 23 05 1 2s731ms 2s731ms 12 2 2s112ms 1s56ms 14 1 1s288ms 1s288ms 17 7 15s331ms 2s190ms Apr 24 00 1 2s801ms 2s801ms 01 1 1s311ms 1s311ms 07 3 8s260ms 2s753ms Apr 25 07 22 41s140ms 1s870ms 12 1 4s319ms 4s319ms 18 1 2s732ms 2s732ms Apr 26 00 2 7s108ms 3s554ms 07 1 2s97ms 2s97ms [ User: pubeu - Total duration: 10m38s - Times executed: 232 ]
-
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 = '2098358');
Date: 2025-04-22 02:06:45 Duration: 6s489ms Database: ctdprd51 User: pubeu 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 = '2102815');
Date: 2025-04-22 02:09:02 Duration: 6s436ms Database: ctdprd51 User: pubeu 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 = '2102769');
Date: 2025-04-22 02:07:05 Duration: 6s378ms Bind query: yes
14 363 33m34s 1s3ms 28s20ms 5s549ms 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 20 00 3 4s973ms 1s657ms 01 3 6s835ms 2s278ms 04 1 4s510ms 4s510ms 05 1 1s118ms 1s118ms 06 4 32s742ms 8s185ms 07 4 20s331ms 5s82ms 08 3 20s146ms 6s715ms 09 3 19s494ms 6s498ms 10 1 1s264ms 1s264ms 11 1 2s520ms 2s520ms 12 4 28s568ms 7s142ms 13 4 40s421ms 10s105ms 14 4 27s940ms 6s985ms 15 3 5s163ms 1s721ms 16 4 19s998ms 4s999ms 17 2 7s129ms 3s564ms 19 3 6s537ms 2s179ms 20 4 22s13ms 5s503ms 21 5 13s934ms 2s786ms 22 5 41s872ms 8s374ms 23 3 7s81ms 2s360ms Apr 21 00 6 36s401ms 6s66ms 01 4 10s504ms 2s626ms 02 2 11s700ms 5s850ms 04 2 2s415ms 1s207ms 05 5 14s551ms 2s910ms 06 6 29s190ms 4s865ms 07 4 11s935ms 2s983ms 09 2 3s270ms 1s635ms 10 2 21s62ms 10s531ms 11 4 38s584ms 9s646ms 13 4 12s525ms 3s131ms 14 2 2s321ms 1s160ms 15 6 22s727ms 3s787ms 16 3 3s549ms 1s183ms 18 4 35s683ms 8s920ms 19 1 1s345ms 1s345ms 20 3 19s240ms 6s413ms 21 5 29s488ms 5s897ms 22 3 10s577ms 3s525ms 23 1 3s592ms 3s592ms Apr 22 00 3 20s50ms 6s683ms 01 8 56s975ms 7s121ms 02 17 2m20s 8s257ms 03 2 10s804ms 5s402ms 04 3 11s423ms 3s807ms 06 1 1s23ms 1s23ms 07 3 37s740ms 12s580ms 08 2 6s712ms 3s356ms 09 4 28s445ms 7s111ms 10 1 1s110ms 1s110ms 11 1 2s420ms 2s420ms 14 2 8s176ms 4s88ms 15 2 17s441ms 8s720ms 16 2 3s334ms 1s667ms 17 1 3s61ms 3s61ms 19 3 21s843ms 7s281ms 20 2 14s189ms 7s94ms 21 5 21s164ms 4s232ms 22 4 22s742ms 5s685ms 23 2 20s290ms 10s145ms Apr 23 00 1 1s118ms 1s118ms 01 3 10s295ms 3s431ms 02 1 3s695ms 3s695ms 03 3 9s521ms 3s173ms 04 1 1s425ms 1s425ms 05 3 36s516ms 12s172ms 07 3 8s320ms 2s773ms 08 3 29s799ms 9s933ms 09 2 27s900ms 13s950ms 10 4 7s524ms 1s881ms 11 5 11s475ms 2s295ms 12 1 3s601ms 3s601ms 13 2 8s273ms 4s136ms 14 1 4s251ms 4s251ms 15 5 16s186ms 3s237ms 16 1 1s703ms 1s703ms 18 2 18s360ms 9s180ms 20 6 33s974ms 5s662ms 21 3 7s535ms 2s511ms 22 2 8s345ms 4s172ms 23 4 10s160ms 2s540ms Apr 24 00 2 23s16ms 11s508ms 01 2 7s511ms 3s755ms 02 3 6s505ms 2s168ms 03 1 5s971ms 5s971ms 04 3 20s67ms 6s689ms 05 5 19s359ms 3s871ms 06 3 8s107ms 2s702ms 07 5 32s944ms 6s588ms 08 2 21s57ms 10s528ms 09 2 15s343ms 7s671ms 10 4 41s558ms 10s389ms 11 2 6s51ms 3s25ms 12 3 9s539ms 3s179ms 15 1 16s25ms 16s25ms 17 4 1m13s 18s431ms Apr 25 23 4 10s390ms 2s597ms Apr 26 00 1 5s641ms 5s641ms 01 3 23s541ms 7s847ms 02 2 5s648ms 2s824ms 03 2 2s104ms 1s52ms 04 2 32s517ms 16s258ms 05 3 11s895ms 3s965ms 06 4 26s292ms 6s573ms 07 5 16s874ms 3s374ms 08 2 17s616ms 8s808ms 09 2 8s618ms 4s309ms 10 2 3s717ms 1s858ms 11 2 6s438ms 3s219ms 12 1 2s1ms 2s1ms 13 2 22s220ms 11s110ms 14 1 16s265ms 16s265ms 15 1 2s437ms 2s437ms 16 1 2s480ms 2s480ms 17 2 6s312ms 3s156ms 18 5 30s970ms 6s194ms 19 3 6s49ms 2s16ms 20 2 9s156ms 4s578ms 21 5 40s639ms 8s127ms 22 5 15s393ms 3s78ms 23 1 17s790ms 17s790ms [ User: pubeu - Total duration: 7m38s - Times executed: 96 ]
-
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 = '1230319'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-22 02:07:45 Duration: 28s20ms 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 = '1230319'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-22 01:44:09 Duration: 24s247ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1230319'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-22 02:04:19 Duration: 21s716ms Database: ctdprd51 User: pubeu Bind query: yes
15 321 21m38s 3s651ms 7s557ms 4s46ms 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 #15
Day Hour Count Duration Avg duration Apr 20 01 2 8s313ms 4s156ms 06 1 3s946ms 3s946ms 07 1 3s813ms 3s813ms 09 1 4s144ms 4s144ms 10 1 3s972ms 3s972ms 11 5 19s322ms 3s864ms 12 1 3s833ms 3s833ms 16 3 13s632ms 4s544ms 19 1 3s899ms 3s899ms 21 3 11s611ms 3s870ms 23 2 8s90ms 4s45ms Apr 21 02 1 3s874ms 3s874ms 03 4 17s202ms 4s300ms 04 4 16s194ms 4s48ms 05 1 4s577ms 4s577ms 07 1 3s798ms 3s798ms 09 1 4s69ms 4s69ms 10 1 3s949ms 3s949ms 12 7 28s619ms 4s88ms 13 3 12s51ms 4s17ms 14 1 4s164ms 4s164ms 15 2 8s147ms 4s73ms 16 2 7s879ms 3s939ms 19 1 4s48ms 4s48ms 21 8 31s211ms 3s901ms 22 2 7s627ms 3s813ms 23 2 9s699ms 4s849ms Apr 22 00 1 4s96ms 4s96ms 01 12 50s828ms 4s235ms 02 2 7s954ms 3s977ms 03 1 3s651ms 3s651ms 04 2 8s409ms 4s204ms 05 1 3s848ms 3s848ms 06 2 7s783ms 3s891ms 07 2 7s913ms 3s956ms 08 1 3s853ms 3s853ms 09 1 4s241ms 4s241ms 10 2 8s149ms 4s74ms 11 2 7s939ms 3s969ms 12 10 39s430ms 3s943ms 13 8 31s473ms 3s934ms 14 6 23s524ms 3s920ms 15 1 3s898ms 3s898ms 16 2 8s90ms 4s45ms 18 1 4s105ms 4s105ms 19 1 4s23ms 4s23ms 21 4 16s538ms 4s134ms 22 1 3s895ms 3s895ms 23 4 15s744ms 3s936ms Apr 23 00 1 4s131ms 4s131ms 01 3 12s514ms 4s171ms 02 1 4s262ms 4s262ms 03 3 12s385ms 4s128ms 04 2 8s398ms 4s199ms 05 3 12s497ms 4s165ms 06 3 12s88ms 4s29ms 07 1 3s996ms 3s996ms 08 2 8s16ms 4s8ms 09 3 12s45ms 4s15ms 12 1 3s967ms 3s967ms 13 4 15s844ms 3s961ms 14 6 24s821ms 4s136ms 15 5 20s679ms 4s135ms 16 3 11s990ms 3s996ms 17 2 7s775ms 3s887ms 21 2 8s97ms 4s48ms 22 2 8s379ms 4s189ms Apr 24 00 1 3s953ms 3s953ms 01 1 4s167ms 4s167ms 02 1 4s98ms 4s98ms 03 1 4s110ms 4s110ms 04 3 11s744ms 3s914ms 05 3 12s91ms 4s30ms 06 2 8s289ms 4s144ms 07 1 4s135ms 4s135ms 08 1 4s81ms 4s81ms 09 5 20s607ms 4s121ms 10 3 11s930ms 3s976ms 11 9 37s751ms 4s194ms 12 3 12s129ms 4s43ms 13 7 27s753ms 3s964ms 14 1 3s867ms 3s867ms 15 2 7s835ms 3s917ms 16 2 8s17ms 4s8ms 17 2 9s456ms 4s728ms 19 1 3s829ms 3s829ms 21 2 8s458ms 4s229ms 22 3 11s627ms 3s875ms 23 2 7s889ms 3s944ms Apr 25 01 3 11s800ms 3s933ms 02 6 24s543ms 4s90ms 03 3 12s634ms 4s211ms 04 15 59s144ms 3s942ms 05 2 8s116ms 4s58ms 06 1 3s987ms 3s987ms 07 4 19s470ms 4s867ms 08 2 8s79ms 4s39ms 09 2 8s71ms 4s35ms 11 2 8s489ms 4s244ms 12 2 7s805ms 3s902ms 16 2 7s776ms 3s888ms 17 4 15s405ms 3s851ms 20 1 4s11ms 4s11ms 22 1 4s207ms 4s207ms Apr 26 00 2 7s884ms 3s942ms 01 1 3s905ms 3s905ms 02 2 7s841ms 3s920ms 04 3 11s937ms 3s979ms 06 2 7s823ms 3s911ms 08 1 4s109ms 4s109ms 09 1 4s17ms 4s17ms 11 7 28s973ms 4s139ms 14 1 3s839ms 3s839ms 15 4 15s378ms 3s844ms 16 5 18s970ms 3s794ms 18 3 12s231ms 4s77ms 19 2 7s746ms 3s873ms 21 4 15s563ms 3s890ms 22 1 4s278ms 4s278ms [ User: pubeu - Total duration: 6m28s - Times executed: 97 ]
-
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 = '1397540') 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 = '1397540') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-25 07:21:06 Duration: 7s557ms 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 = '1366087') 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 = '1366087') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-22 01:43:03 Duration: 6s155ms 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 = '1352221') 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 = '1352221') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-21 23:52:40 Duration: 5s727ms Bind query: yes
16 277 1h21m46s 1s103ms 1m16s 17s712ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 20 00 1 15s496ms 15s496ms 15 4 1m7s 16s798ms 18 3 48s789ms 16s263ms Apr 21 00 1 17s206ms 17s206ms 02 1 1s481ms 1s481ms 03 3 42s344ms 14s114ms 04 1 15s637ms 15s637ms 05 1 15s568ms 15s568ms 09 3 47s26ms 15s675ms 13 3 58s195ms 19s398ms 23 1 15s453ms 15s453ms Apr 22 00 8 1m56s 14s612ms 01 3 54s401ms 18s133ms 12 3 52s142ms 17s380ms 17 2 31s113ms 15s556ms 18 1 16s6ms 16s6ms 19 6 3m40s 36s692ms 20 5 1m 12s162ms 21 1 16s170ms 16s170ms 22 1 16s610ms 16s610ms 23 2 33s163ms 16s581ms Apr 23 05 3 52s875ms 17s625ms 07 6 1m17s 12s944ms 08 3 47s297ms 15s765ms 09 1 17s383ms 17s383ms 13 3 51s425ms 17s141ms 14 3 54s245ms 18s81ms 16 5 1m21s 16s273ms 22 1 14s740ms 14s740ms 23 5 1m20s 16s153ms Apr 24 00 17 5m27s 19s292ms 01 10 1m59s 11s940ms 02 6 1m45s 17s573ms 04 1 1s159ms 1s159ms 05 3 49s609ms 16s536ms 06 3 57s485ms 19s161ms 07 3 57s169ms 19s56ms 09 1 3s688ms 3s688ms 10 7 1m39s 14s250ms 11 3 47s351ms 15s783ms 12 11 3m41s 20s125ms 19 3 52s91ms 17s363ms Apr 25 04 6 2m 20s157ms 05 11 3m16s 17s847ms 06 5 1m26s 17s399ms 07 4 56s436ms 14s109ms 11 1 1s192ms 1s192ms 12 6 3m19s 33s287ms 14 6 1m54s 19s151ms 15 1 1s937ms 1s937ms 17 1 10s141ms 10s141ms 18 7 1m57s 16s838ms 20 5 58s894ms 11s778ms 21 6 1m46s 17s746ms 22 6 1m7s 11s237ms 23 3 1m3s 21s314ms Apr 26 00 6 4m19s 43s262ms 01 6 1m50s 18s361ms 07 8 2m21s 17s625ms 08 6 1m45s 17s566ms 09 2 31s795ms 15s897ms 12 1 15s670ms 15s670ms 14 3 47s953ms 15s984ms 15 9 2m34s 17s165ms 17 8 1m42s 12s794ms 18 2 37s203ms 18s601ms 20 3 54s953ms 18s317ms 23 3 1m 20s144ms [ User: pubeu - Total duration: 25m48s - Times executed: 81 ]
-
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 = '2093522') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-25 12:25:54 Duration: 1m16s 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 = '2094644') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-26 00:04:57 Duration: 1m15s 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 = '2094644') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-26 00:04:39 Duration: 1m13s Bind query: yes
17 260 5m20s 1s132ms 2s344ms 1s232ms 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;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 20 01 1 1s229ms 1s229ms 03 1 1s245ms 1s245ms 08 1 1s222ms 1s222ms 15 1 1s232ms 1s232ms 16 1 1s164ms 1s164ms 17 3 3s668ms 1s222ms 21 1 1s199ms 1s199ms Apr 21 04 3 3s698ms 1s232ms 05 2 2s493ms 1s246ms 07 1 1s154ms 1s154ms 10 2 2s399ms 1s199ms 11 1 1s223ms 1s223ms 13 1 1s236ms 1s236ms 15 1 1s246ms 1s246ms 23 1 1s275ms 1s275ms Apr 22 00 1 1s238ms 1s238ms 01 1 1s356ms 1s356ms 02 3 3s811ms 1s270ms 03 1 1s384ms 1s384ms 04 7 8s765ms 1s252ms 05 3 3s504ms 1s168ms 07 1 1s218ms 1s218ms 10 4 4s921ms 1s230ms 17 1 1s192ms 1s192ms 18 3 3s603ms 1s201ms 19 2 2s496ms 1s248ms 20 1 1s189ms 1s189ms 21 3 3s641ms 1s213ms Apr 23 02 3 3s766ms 1s255ms 04 5 6s660ms 1s332ms 05 5 7s246ms 1s449ms 06 12 14s721ms 1s226ms 07 3 3s638ms 1s212ms 09 1 1s207ms 1s207ms 11 1 1s193ms 1s193ms 12 1 1s211ms 1s211ms 13 1 1s141ms 1s141ms 14 3 3s639ms 1s213ms 16 1 1s226ms 1s226ms 17 3 3s619ms 1s206ms 18 2 2s423ms 1s211ms 20 1 1s193ms 1s193ms 21 1 1s221ms 1s221ms Apr 24 00 6 7s669ms 1s278ms 01 5 6s398ms 1s279ms 02 8 10s31ms 1s253ms 03 12 15s129ms 1s260ms 04 8 10s201ms 1s275ms 05 2 2s425ms 1s212ms 08 2 2s382ms 1s191ms 09 2 2s363ms 1s181ms 10 5 6s85ms 1s217ms 11 2 2s483ms 1s241ms 12 1 1s229ms 1s229ms 13 2 2s431ms 1s215ms 16 1 1s144ms 1s144ms 18 2 2s398ms 1s199ms 19 1 1s180ms 1s180ms Apr 25 03 1 1s227ms 1s227ms 04 2 2s437ms 1s218ms 05 5 6s189ms 1s237ms 06 3 3s621ms 1s207ms 07 3 3s636ms 1s212ms 08 2 2s369ms 1s184ms 09 1 1s244ms 1s244ms 10 1 1s194ms 1s194ms 11 2 2s379ms 1s189ms 12 5 5s994ms 1s198ms 13 6 7s267ms 1s211ms 14 4 4s835ms 1s208ms 15 3 3s550ms 1s183ms 17 1 1s266ms 1s266ms 18 1 1s199ms 1s199ms 19 1 1s181ms 1s181ms 20 8 9s724ms 1s215ms 21 4 4s761ms 1s190ms 22 7 8s667ms 1s238ms 23 1 1s240ms 1s240ms Apr 26 00 1 1s219ms 1s219ms 03 1 1s309ms 1s309ms 05 2 2s422ms 1s211ms 06 5 6s177ms 1s235ms 07 4 4s887ms 1s221ms 08 5 6s38ms 1s207ms 09 4 4s988ms 1s247ms 10 1 1s216ms 1s216ms 11 1 1s252ms 1s252ms 12 3 3s579ms 1s193ms 14 3 3s633ms 1s211ms 16 4 4s781ms 1s195ms 17 2 2s364ms 1s182ms 18 3 3s639ms 1s213ms 19 1 1s164ms 1s164ms 21 2 2s421ms 1s210ms 22 2 2s392ms 1s196ms 23 1 1s328ms 1s328ms [ User: pubeu - Total duration: 1m1s - Times executed: 50 ]
-
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 = '1845465' or receptorTerm.id = '1845465' 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;
Date: 2025-04-23 05:56:13 Duration: 2s344ms 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 = '2048645' or receptorTerm.id = '2048645' 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;
Date: 2025-04-23 04:19:47 Duration: 1s413ms 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 = '2057446' or receptorTerm.id = '2057446' 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;
Date: 2025-04-22 03:06:04 Duration: 1s384ms Database: ctdprd51 User: pubeu Bind query: yes
18 204 14m11s 1s15ms 40s388ms 4s171ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 20 00 3 6s546ms 2s182ms 01 36 1m49s 3s45ms 02 23 1m15s 3s304ms 03 5 14s14ms 2s802ms 05 4 30s717ms 7s679ms 06 1 1s953ms 1s953ms 07 2 2s205ms 1s102ms 15 1 1s663ms 1s663ms 16 2 6s872ms 3s436ms 18 1 1s784ms 1s784ms 21 1 2s433ms 2s433ms 23 1 12s172ms 12s172ms Apr 21 02 1 1s727ms 1s727ms 03 1 3s977ms 3s977ms 06 9 16s743ms 1s860ms 07 1 2s208ms 2s208ms 08 1 1s885ms 1s885ms 09 7 1m23s 11s861ms 10 1 14s510ms 14s510ms 11 3 7s652ms 2s550ms 12 4 49s848ms 12s462ms 23 2 4s396ms 2s198ms Apr 22 01 1 1s110ms 1s110ms 02 3 3s288ms 1s96ms 07 1 1s147ms 1s147ms 09 4 7s388ms 1s847ms 11 2 41s834ms 20s917ms 13 1 3s307ms 3s307ms 20 3 5s335ms 1s778ms 21 3 4s998ms 1s666ms 23 1 11s920ms 11s920ms Apr 23 00 1 17s12ms 17s12ms 02 3 5s744ms 1s914ms 04 2 3s469ms 1s734ms 08 2 11s256ms 5s628ms 18 4 18s591ms 4s647ms 21 1 2s559ms 2s559ms 22 3 5s959ms 1s986ms 23 1 12s374ms 12s374ms Apr 24 00 2 12s951ms 6s475ms 01 4 23s871ms 5s967ms 05 4 4s124ms 1s31ms 06 1 1s230ms 1s230ms 12 2 2s974ms 1s487ms 20 2 4s757ms 2s378ms Apr 25 02 1 38s823ms 38s823ms 04 1 1s279ms 1s279ms 07 3 5s224ms 1s741ms 08 2 6s515ms 3s257ms 10 2 4s22ms 2s11ms 11 1 1s564ms 1s564ms 15 3 6s701ms 2s233ms 20 1 1s567ms 1s567ms 21 1 34s285ms 34s285ms 23 3 4s725ms 1s575ms Apr 26 01 1 34s943ms 34s943ms 03 1 1s604ms 1s604ms 04 3 5s537ms 1s845ms 05 2 3s939ms 1s969ms 06 1 1s156ms 1s156ms 11 4 11s275ms 2s818ms 15 3 4s587ms 1s529ms 18 6 11s949ms 1s991ms 20 2 3s238ms 1s619ms 22 2 8s872ms 4s436ms [ User: pubeu - Total duration: 6m13s - Times executed: 84 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-22 11:37:27 Duration: 40s388ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-25 02:55:45 Duration: 38s823ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-26 01:07:46 Duration: 34s943ms Bind query: yes
19 153 9m50s 1s20ms 1m 3s858ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 20 00 1 1s503ms 1s503ms 01 3 5s159ms 1s719ms 03 2 2s540ms 1s270ms 05 20 1m5s 3s293ms 11 2 4s800ms 2s400ms 13 1 2s80ms 2s80ms 16 2 8s391ms 4s195ms 17 1 6s311ms 6s311ms 18 1 5s94ms 5s94ms 20 1 5s300ms 5s300ms 21 1 1s912ms 1s912ms 23 1 1s193ms 1s193ms Apr 21 02 1 2s482ms 2s482ms 05 7 12s543ms 1s791ms 07 1 2s653ms 2s653ms 08 2 2s891ms 1s445ms 10 4 35s988ms 8s997ms 11 1 17s415ms 17s415ms 12 2 3s404ms 1s702ms 14 1 1s368ms 1s368ms 15 2 2s572ms 1s286ms 20 1 1s985ms 1s985ms Apr 22 00 2 2s733ms 1s366ms 02 32 1m1s 1s922ms 06 1 2s592ms 2s592ms 10 1 2s7ms 2s7ms 12 1 1s151ms 1s151ms 16 2 12s318ms 6s159ms 17 3 18s136ms 6s45ms Apr 23 06 1 6s852ms 6s852ms 08 2 3s239ms 1s619ms 09 2 17s459ms 8s729ms 11 1 2s35ms 2s35ms 18 1 1s42ms 1s42ms 19 1 38s337ms 38s337ms 22 1 6s938ms 6s938ms Apr 24 01 2 2s742ms 1s371ms 04 2 4s918ms 2s459ms 05 1 1s391ms 1s391ms 06 1 1s934ms 1s934ms 07 3 18s328ms 6s109ms 08 1 3s110ms 3s110ms 15 1 1s115ms 1s115ms 18 1 1s945ms 1s945ms 19 1 35s506ms 35s506ms Apr 25 02 1 2s178ms 2s178ms 05 1 1s163ms 1s163ms 06 2 12s516ms 6s258ms 07 2 7s972ms 3s986ms 08 1 1s252ms 1s252ms 12 1 5s89ms 5s89ms 13 2 3s204ms 1s602ms 14 2 2s986ms 1s493ms 16 1 2s759ms 2s759ms 17 1 5s241ms 5s241ms 20 2 4s266ms 2s133ms 21 1 1s918ms 1s918ms 22 1 1s263ms 1s263ms 23 1 2s219ms 2s219ms Apr 26 01 2 8s91ms 4s45ms 02 1 5s261ms 5s261ms 04 1 1s20ms 1s20ms 09 1 1s991ms 1s991ms 10 1 6s952ms 6s952ms 11 3 1m2s 20s904ms 14 2 6s794ms 3s397ms 16 1 2s631ms 2s631ms [ User: pubeu - Total duration: 3m57s - Times executed: 53 ]
-
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 = '2090692') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 9107200;
Date: 2025-04-26 11:04:34 Duration: 1m Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4403950;
Date: 2025-04-23 19:14:52 Duration: 38s337ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4403950;
Date: 2025-04-24 19:17:09 Duration: 35s506ms Database: ctdprd51 User: pubeu Bind query: yes
20 131 3m11s 1s288ms 3s634ms 1s460ms 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 20 05 2 2s833ms 1s416ms 11 2 2s752ms 1s376ms 22 1 1s408ms 1s408ms Apr 21 03 1 1s485ms 1s485ms 05 3 4s208ms 1s402ms 07 1 1s288ms 1s288ms 08 4 5s586ms 1s396ms 10 1 1s432ms 1s432ms 17 4 5s638ms 1s409ms 22 1 1s327ms 1s327ms Apr 22 01 3 4s324ms 1s441ms 02 27 45s716ms 1s693ms 05 2 2s792ms 1s396ms 07 2 2s986ms 1s493ms 08 1 1s401ms 1s401ms 11 1 1s401ms 1s401ms 13 1 1s359ms 1s359ms 14 3 4s196ms 1s398ms 18 1 1s464ms 1s464ms 20 2 2s783ms 1s391ms 22 1 1s343ms 1s343ms Apr 23 03 1 1s522ms 1s522ms 04 1 1s529ms 1s529ms 05 5 7s16ms 1s403ms 07 1 1s393ms 1s393ms 10 1 1s378ms 1s378ms 12 2 2s783ms 1s391ms 13 1 1s520ms 1s520ms 14 1 1s491ms 1s491ms 16 1 1s416ms 1s416ms 21 1 1s358ms 1s358ms Apr 24 00 3 4s241ms 1s413ms 01 2 2s921ms 1s460ms 03 1 1s386ms 1s386ms 05 2 2s748ms 1s374ms 06 2 3s20ms 1s510ms 10 4 5s378ms 1s344ms 11 1 1s295ms 1s295ms 12 1 1s541ms 1s541ms 14 1 1s288ms 1s288ms 19 2 2s846ms 1s423ms 21 1 1s423ms 1s423ms 23 3 4s225ms 1s408ms Apr 25 01 3 4s12ms 1s337ms 05 2 2s809ms 1s404ms 07 1 1s404ms 1s404ms 14 1 1s500ms 1s500ms 15 4 5s439ms 1s359ms 18 2 2s836ms 1s418ms 23 1 1s471ms 1s471ms Apr 26 05 2 2s604ms 1s302ms 08 1 1s403ms 1s403ms 10 2 2s749ms 1s374ms 11 1 1s302ms 1s302ms 12 1 1s301ms 1s301ms 18 1 1s384ms 1s384ms 21 4 5s570ms 1s392ms 22 3 4s100ms 1s366ms [ User: pubeu - Total duration: 1m9s - Times executed: 45 ]
-
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]', '#') = 'B' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-04-22 02:06:45 Duration: 3s634ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'D' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-04-22 02:07:40 Duration: 2s675ms 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]', '#') = 'E' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-04-22 02:08:13 Duration: 2s364ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 25m6s 25m6s 25m6s 1 25m6s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 26 19 1 25m6s 25m6s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-04-26 19:02:16 Duration: 25m6s
2 24m36s 24m36s 24m36s 1 24m36s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 26 19 1 24m36s 24m36s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-04-26 19:46:38 Duration: 24m36s
3 12m22s 12m26s 12m24s 2 24m49s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by i.sort_txt, g.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 23 16 1 12m26s 12m26s 17 1 12m22s 12m22s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10090' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-23 16:58:17 Duration: 12m26s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10090' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-23 17:18:56 Duration: 12m22s Bind query: yes
4 2s580ms 12m27s 7m23s 5 36m55s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 23 15 2 8s208ms 4s104ms 16 3 36m47s 12m15s [ User: pubeu - Total duration: 12m26s - Times executed: 3 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10090' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-04-23 16:56:33 Duration: 12m27s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-04-23 16:10:12 Duration: 12m17s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL6') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05012' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CHLORPYRIFOS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-04-23 16:02:03 Duration: 12m2s Bind query: yes
5 4m44s 5m19s 4m55s 8 39m23s select maint_query_logs_archive ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 20 00 1 4m44s 4m44s Apr 21 00 1 4m46s 4m46s 12 1 4m48s 4m48s Apr 22 00 1 4m50s 4m50s Apr 23 00 1 4m56s 4m56s Apr 24 00 1 4m59s 4m59s Apr 25 00 1 4m55s 4m55s Apr 26 00 1 5m19s 5m19s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-04-26 00:05:21 Duration: 5m19s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-04-24 00:05:01 Duration: 4m59s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-04-23 00:04:58 Duration: 4m56s
6 1s258ms 19m27s 1m55s 546 17h28m51s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 20 00 3 13m4s 4m21s 01 3 4m18s 1m26s 02 3 5s351ms 1s783ms 03 1 2m57s 2m57s 04 1 3s214ms 3s214ms 05 1 4m55s 4m55s 06 2 1m38s 49s478ms 07 5 8m42s 1m44s 08 6 9m17s 1m32s 09 1 1m36s 1m36s 10 1 3s245ms 3s245ms 11 2 3s813ms 1s906ms 12 5 6m53s 1m22s 13 1 1s635ms 1s635ms 14 6 3m40s 36s684ms 15 2 3m52s 1m56s 16 8 31m23s 3m55s 17 1 1s882ms 1s882ms 18 8 5m32s 41s614ms 19 4 3m24s 51s42ms 20 3 6s388ms 2s129ms 21 6 11m46s 1m57s 22 3 5s919ms 1s973ms 23 1 3m18s 3m18s Apr 21 00 2 3s94ms 1s547ms 01 4 12m16s 3m4s 02 10 31m28s 3m8s 03 4 8s86ms 2s21ms 04 3 52s616ms 17s538ms 05 5 10s620ms 2s124ms 06 6 9m14s 1m32s 07 3 51s859ms 17s286ms 08 3 7m33s 2m31s 09 1 2s90ms 2s90ms 10 2 5s466ms 2s733ms 11 4 11m6s 2m46s 12 2 4m17s 2m8s 13 8 22m26s 2m48s 14 4 5m50s 1m27s 15 6 12m40s 2m6s 16 8 23m25s 2m55s 17 4 7s509ms 1s877ms 18 4 3m41s 55s457ms 19 10 14m19s 1m25s 20 6 12m51s 2m8s 21 5 4m37s 55s573ms 22 6 5m13s 52s295ms 23 5 11m37s 2m19s Apr 22 00 1 2s19ms 2s19ms 01 5 15m37s 3m7s 02 17 2h23m12s 8m25s 03 5 15m13s 3m2s 04 4 3m25s 51s332ms 05 2 3s537ms 1s768ms 06 2 5s585ms 2s792ms 07 8 6m41s 50s160ms 08 8 29m38s 3m42s 09 9 22m47s 2m31s 10 4 9m28s 2m22s 11 8 9m39s 1m12s 12 3 18m41s 6m13s 13 2 4m55s 2m27s 14 2 5s590ms 2s795ms 15 6 10m37s 1m46s 16 3 3m47s 1m15s 17 8 13m10s 1m38s 18 7 15s317ms 2s188ms 19 14 23m2s 1m38s 20 2 4m18s 2m9s 21 2 3m35s 1m47s 22 4 6s990ms 1s747ms 23 3 9m57s 3m19s Apr 23 00 4 9s319ms 2s329ms 01 3 6m9s 2m3s 02 1 1s515ms 1s515ms 03 1 1s817ms 1s817ms 04 3 11m51s 3m57s 05 5 8s614ms 1s722ms 06 5 16m 3m12s 07 3 8s354ms 2s784ms 08 2 9m16s 4m38s 09 2 3s869ms 1s934ms 11 3 5m7s 1m42s 12 5 8m25s 1m41s 13 3 5s450ms 1s816ms 14 2 4s626ms 2s313ms 15 3 5m59s 1m59s 16 3 3m38s 1m12s 17 8 13m48s 1m43s 18 1 1s552ms 1s552ms 20 8 17m46s 2m13s 21 5 11s293ms 2s258ms 22 6 13s46ms 2s174ms 23 4 3m31s 52s773ms Apr 24 00 2 3s890ms 1s945ms 01 4 7s736ms 1s934ms 02 2 4m17s 2m8s 03 4 9m6s 2m16s 04 2 3s673ms 1s836ms 05 3 3m21s 1m7s 06 6 6m27s 1m4s 07 1 1m58s 1m58s 08 5 28m21s 5m40s 09 2 5s141ms 2s570ms 10 6 13m20s 2m13s 11 6 13m53s 2m18s 13 4 9s370ms 2s342ms 17 1 3s204ms 3s204ms 21 1 2s346ms 2s346ms 22 5 13m29s 2m41s Apr 25 09 1 8m52s 8m52s 22 3 36m3s 12m1s 23 2 9m45s 4m52s Apr 26 01 3 6s297ms 2s99ms 02 2 3s668ms 1s834ms 03 3 4s893ms 1s631ms 04 3 4s948ms 1s649ms 05 7 14s482ms 2s68ms 06 1 1s606ms 1s606ms 07 3 4m51s 1m37s 08 5 18m47s 3m45s 09 4 4m21s 1m5s 10 6 16m31s 2m45s 11 4 10m39s 2m39s 12 2 3s292ms 1s646ms 13 2 3s402ms 1s701ms 14 2 10m6s 5m3s 15 3 9m 3m 16 9 8m38s 57s578ms 17 4 3m40s 55s47ms 18 4 9m35s 2m23s 19 4 7m19s 1m49s 20 1 2s8ms 2s8ms 21 5 13m10s 2m38s 22 5 18m32s 3m42s 23 3 5s168ms 1s722ms [ User: pubeu - Total duration: 6h21m8s - Times executed: 148 ]
-
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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-22 02:25:04 Duration: 19m27s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-22 02:25:49 Duration: 19m11s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-22 02:25:42 Duration: 19m4s Database: ctdprd51 User: pubeu Bind query: yes
7 2s109ms 5m29s 56s39ms 102 1h35m16s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 20 09 1 2s388ms 2s388ms 10 1 1m2s 1m2s 13 1 2s267ms 2s267ms 18 1 2s665ms 2s665ms 19 1 30s16ms 30s16ms 22 1 57s251ms 57s251ms Apr 21 01 1 2s758ms 2s758ms 04 3 4m57s 1m39s 05 3 2m51s 57s122ms 08 1 51s329ms 51s329ms 12 3 3m49s 1m16s 13 6 4m15s 42s522ms 14 1 2s256ms 2s256ms 16 3 2m44s 54s972ms 21 3 7s322ms 2s440ms 23 6 7m47s 1m17s Apr 22 01 1 4m19s 4m19s 02 1 4m52s 4m52s 03 4 4m53s 1m13s 04 1 2s298ms 2s298ms 10 5 3m42s 44s463ms 13 1 2s109ms 2s109ms 18 1 25s785ms 25s785ms 19 3 1m14s 24s690ms 21 6 4m28s 44s800ms 22 1 1m 1m Apr 23 01 3 2m54s 58s211ms 05 4 7m57s 1m59s 06 1 5m29s 5m29s 13 1 40s222ms 40s222ms 15 3 1m14s 24s735ms 17 6 4m55s 49s184ms 21 2 1m17s 38s527ms Apr 24 01 1 2s182ms 2s182ms 21 4 2m12s 33s50ms Apr 25 07 4 5m52s 1m28s 16 3 1m48s 36s181ms Apr 26 00 3 3m17s 1m5s 05 1 42s11ms 42s11ms 06 1 2s224ms 2s224ms 08 1 2s292ms 2s292ms 09 3 1m37s 32s517ms 22 1 2s235ms 2s235ms [ User: pubeu - Total duration: 39m32s - Times executed: 34 ]
-
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 = '1267649')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-23 06:01:24 Duration: 5m29s 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 = '1407621')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-22 02:09:42 Duration: 4m52s 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 = '1407621')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-22 01:46:53 Duration: 4m19s Database: ctdprd51 User: pubeu Bind query: yes
8 51s262ms 56s841ms 53s580ms 25 22m19s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 20 06 1 51s262ms 51s262ms 10 1 52s68ms 52s68ms 14 1 51s415ms 51s415ms 18 1 51s471ms 51s471ms Apr 21 06 1 52s606ms 52s606ms 10 1 56s307ms 56s307ms 14 1 52s564ms 52s564ms 18 1 52s256ms 52s256ms Apr 22 06 1 52s604ms 52s604ms 10 1 53s66ms 53s66ms 14 1 52s576ms 52s576ms 18 1 52s549ms 52s549ms Apr 23 06 1 53s835ms 53s835ms 10 1 53s757ms 53s757ms 14 1 53s628ms 53s628ms 18 1 56s841ms 56s841ms Apr 24 06 1 54s247ms 54s247ms 10 1 54s189ms 54s189ms 14 1 53s937ms 53s937ms 18 1 53s841ms 53s841ms Apr 25 06 1 54s695ms 54s695ms 10 1 54s633ms 54s633ms 14 1 55s925ms 55s925ms 18 1 55s31ms 55s31ms Apr 26 20 1 54s187ms 54s187ms [ User: postgres - Total duration: 21m25s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 21m25s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-04-23 18:06:00 Duration: 56s841ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-04-21 10:05:58 Duration: 56s307ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-04-25 14:05:57 Duration: 55s925ms Database: ctdprd51 User: postgres Application: pg_dump
9 1s103ms 1m16s 17s712ms 277 1h21m46s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 20 00 1 15s496ms 15s496ms 15 4 1m7s 16s798ms 18 3 48s789ms 16s263ms Apr 21 00 1 17s206ms 17s206ms 02 1 1s481ms 1s481ms 03 3 42s344ms 14s114ms 04 1 15s637ms 15s637ms 05 1 15s568ms 15s568ms 09 3 47s26ms 15s675ms 13 3 58s195ms 19s398ms 23 1 15s453ms 15s453ms Apr 22 00 8 1m56s 14s612ms 01 3 54s401ms 18s133ms 12 3 52s142ms 17s380ms 17 2 31s113ms 15s556ms 18 1 16s6ms 16s6ms 19 6 3m40s 36s692ms 20 5 1m 12s162ms 21 1 16s170ms 16s170ms 22 1 16s610ms 16s610ms 23 2 33s163ms 16s581ms Apr 23 05 3 52s875ms 17s625ms 07 6 1m17s 12s944ms 08 3 47s297ms 15s765ms 09 1 17s383ms 17s383ms 13 3 51s425ms 17s141ms 14 3 54s245ms 18s81ms 16 5 1m21s 16s273ms 22 1 14s740ms 14s740ms 23 5 1m20s 16s153ms Apr 24 00 17 5m27s 19s292ms 01 10 1m59s 11s940ms 02 6 1m45s 17s573ms 04 1 1s159ms 1s159ms 05 3 49s609ms 16s536ms 06 3 57s485ms 19s161ms 07 3 57s169ms 19s56ms 09 1 3s688ms 3s688ms 10 7 1m39s 14s250ms 11 3 47s351ms 15s783ms 12 11 3m41s 20s125ms 19 3 52s91ms 17s363ms Apr 25 04 6 2m 20s157ms 05 11 3m16s 17s847ms 06 5 1m26s 17s399ms 07 4 56s436ms 14s109ms 11 1 1s192ms 1s192ms 12 6 3m19s 33s287ms 14 6 1m54s 19s151ms 15 1 1s937ms 1s937ms 17 1 10s141ms 10s141ms 18 7 1m57s 16s838ms 20 5 58s894ms 11s778ms 21 6 1m46s 17s746ms 22 6 1m7s 11s237ms 23 3 1m3s 21s314ms Apr 26 00 6 4m19s 43s262ms 01 6 1m50s 18s361ms 07 8 2m21s 17s625ms 08 6 1m45s 17s566ms 09 2 31s795ms 15s897ms 12 1 15s670ms 15s670ms 14 3 47s953ms 15s984ms 15 9 2m34s 17s165ms 17 8 1m42s 12s794ms 18 2 37s203ms 18s601ms 20 3 54s953ms 18s317ms 23 3 1m 20s144ms [ User: pubeu - Total duration: 25m48s - Times executed: 81 ]
-
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 = '2093522') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-25 12:25:54 Duration: 1m16s 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 = '2094644') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-26 00:04:57 Duration: 1m15s 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 = '2094644') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-26 00:04:39 Duration: 1m13s Bind query: yes
10 1s2ms 46s394ms 6s763ms 580 1h5m22s 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 #10
Day Hour Count Duration Avg duration Apr 20 00 6 48s243ms 8s40ms 01 7 1m10s 10s99ms 02 1 1s603ms 1s603ms 03 5 1m8s 13s788ms 05 1 3s644ms 3s644ms 06 2 9s945ms 4s972ms 07 4 37s711ms 9s427ms 08 4 24s548ms 6s137ms 09 3 16s568ms 5s522ms 10 4 15s615ms 3s903ms 11 2 4s687ms 2s343ms 12 5 16s498ms 3s299ms 13 2 5s466ms 2s733ms 14 7 46s327ms 6s618ms 15 2 19s430ms 9s715ms 16 6 13s394ms 2s232ms 17 2 24s112ms 12s56ms 18 4 8s11ms 2s2ms 19 4 29s840ms 7s460ms 20 5 37s467ms 7s493ms 21 3 19s551ms 6s517ms 22 5 47s1ms 9s400ms 23 6 9s304ms 1s550ms Apr 21 01 4 43s715ms 10s928ms 02 6 13s152ms 2s192ms 03 3 20s941ms 6s980ms 04 5 13s241ms 2s648ms 05 9 32s493ms 3s610ms 06 7 40s942ms 5s848ms 07 3 6s740ms 2s246ms 10 5 33s11ms 6s602ms 11 1 1s440ms 1s440ms 12 6 9s20ms 1s503ms 13 1 3s544ms 3s544ms 14 1 4s301ms 4s301ms 15 9 50s974ms 5s663ms 16 7 58s989ms 8s427ms 17 3 5s407ms 1s802ms 18 8 48s804ms 6s100ms 19 3 29s354ms 9s784ms 20 5 21s384ms 4s276ms 21 4 29s249ms 7s312ms 22 8 32s307ms 4s38ms 23 5 47s970ms 9s594ms Apr 22 00 2 24s318ms 12s159ms 01 8 2m5s 15s677ms 02 31 7m4s 13s692ms 03 7 52s115ms 7s445ms 04 3 10s631ms 3s543ms 05 1 17s895ms 17s895ms 06 2 2s396ms 1s198ms 07 1 3s185ms 3s185ms 08 3 8s273ms 2s757ms 09 7 32s800ms 4s685ms 10 7 1m17s 11s87ms 11 2 19s270ms 9s635ms 12 3 7s61ms 2s353ms 13 2 24s120ms 12s60ms 14 4 8s800ms 2s200ms 15 6 22s890ms 3s815ms 16 3 26s727ms 8s909ms 17 6 31s101ms 5s183ms 18 4 10s534ms 2s633ms 19 2 6s531ms 3s265ms 20 7 1m1s 8s786ms 21 8 43s107ms 5s388ms 22 1 7s820ms 7s820ms 23 2 23s468ms 11s734ms Apr 23 00 5 14s749ms 2s949ms 01 4 52s602ms 13s150ms 02 6 1m3s 10s636ms 03 8 1m2s 7s772ms 04 3 52s385ms 17s461ms 05 4 12s509ms 3s127ms 06 2 5s240ms 2s620ms 07 5 25s573ms 5s114ms 08 4 17s855ms 4s463ms 09 4 28s622ms 7s155ms 10 2 4s887ms 2s443ms 11 2 5s611ms 2s805ms 12 3 21s450ms 7s150ms 13 6 57s209ms 9s534ms 14 2 4s806ms 2s403ms 15 4 26s118ms 6s529ms 16 5 14s28ms 2s805ms 17 8 37s20ms 4s627ms 18 8 52s298ms 6s537ms 19 3 5s981ms 1s993ms 20 5 19s5ms 3s801ms 21 4 53s551ms 13s387ms 22 6 17s59ms 2s843ms 23 5 34s200ms 6s840ms Apr 24 00 2 5s216ms 2s608ms 01 4 31s806ms 7s951ms 02 2 3s399ms 1s699ms 03 3 17s600ms 5s866ms 04 3 34s252ms 11s417ms 05 5 34s872ms 6s974ms 06 6 1m18s 13s64ms 07 6 46s926ms 7s821ms 08 5 14s951ms 2s990ms 09 3 16s855ms 5s618ms 10 8 57s596ms 7s199ms 11 7 1m23s 11s886ms 12 3 5s414ms 1s804ms 13 2 2s351ms 1s175ms 14 2 2s347ms 1s173ms 15 1 1s334ms 1s334ms 21 1 18s34ms 18s34ms 22 1 10s323ms 10s323ms Apr 25 00 1 1s619ms 1s619ms 03 1 1s558ms 1s558ms 09 1 10s20ms 10s20ms 11 1 2s85ms 2s85ms 12 1 10s887ms 10s887ms 18 1 1s631ms 1s631ms 19 1 2s107ms 2s107ms 23 5 29s142ms 5s828ms Apr 26 00 1 3s666ms 3s666ms 01 7 34s67ms 4s866ms 02 1 2s792ms 2s792ms 03 2 4s728ms 2s364ms 04 3 27s399ms 9s133ms 05 4 30s143ms 7s535ms 06 5 22s322ms 4s464ms 07 5 34s352ms 6s870ms 08 3 5s668ms 1s889ms 09 3 12s16ms 4s5ms 10 4 22s225ms 5s556ms 11 1 11s164ms 11s164ms 12 3 7s160ms 2s386ms 13 2 4s663ms 2s331ms 14 5 1m 12s29ms 15 4 21s120ms 5s280ms 16 3 25s344ms 8s448ms 17 4 43s910ms 10s977ms 18 2 23s83ms 11s541ms 19 2 3s58ms 1s529ms 20 6 21s337ms 3s556ms 21 2 23s210ms 11s605ms 22 1 22s965ms 22s965ms 23 8 45s933ms 5s741ms [ User: pubeu - Total duration: 21m24s - Times executed: 164 ]
-
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 = '1230319') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:07:04 Duration: 46s394ms 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 = '1254131') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:06:53 Duration: 42s211ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1254131') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:06:50 Duration: 39s774ms Database: ctdprd51 User: pubeu Bind query: yes
11 1s3ms 28s20ms 5s549ms 363 33m34s 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 #11
Day Hour Count Duration Avg duration Apr 20 00 3 4s973ms 1s657ms 01 3 6s835ms 2s278ms 04 1 4s510ms 4s510ms 05 1 1s118ms 1s118ms 06 4 32s742ms 8s185ms 07 4 20s331ms 5s82ms 08 3 20s146ms 6s715ms 09 3 19s494ms 6s498ms 10 1 1s264ms 1s264ms 11 1 2s520ms 2s520ms 12 4 28s568ms 7s142ms 13 4 40s421ms 10s105ms 14 4 27s940ms 6s985ms 15 3 5s163ms 1s721ms 16 4 19s998ms 4s999ms 17 2 7s129ms 3s564ms 19 3 6s537ms 2s179ms 20 4 22s13ms 5s503ms 21 5 13s934ms 2s786ms 22 5 41s872ms 8s374ms 23 3 7s81ms 2s360ms Apr 21 00 6 36s401ms 6s66ms 01 4 10s504ms 2s626ms 02 2 11s700ms 5s850ms 04 2 2s415ms 1s207ms 05 5 14s551ms 2s910ms 06 6 29s190ms 4s865ms 07 4 11s935ms 2s983ms 09 2 3s270ms 1s635ms 10 2 21s62ms 10s531ms 11 4 38s584ms 9s646ms 13 4 12s525ms 3s131ms 14 2 2s321ms 1s160ms 15 6 22s727ms 3s787ms 16 3 3s549ms 1s183ms 18 4 35s683ms 8s920ms 19 1 1s345ms 1s345ms 20 3 19s240ms 6s413ms 21 5 29s488ms 5s897ms 22 3 10s577ms 3s525ms 23 1 3s592ms 3s592ms Apr 22 00 3 20s50ms 6s683ms 01 8 56s975ms 7s121ms 02 17 2m20s 8s257ms 03 2 10s804ms 5s402ms 04 3 11s423ms 3s807ms 06 1 1s23ms 1s23ms 07 3 37s740ms 12s580ms 08 2 6s712ms 3s356ms 09 4 28s445ms 7s111ms 10 1 1s110ms 1s110ms 11 1 2s420ms 2s420ms 14 2 8s176ms 4s88ms 15 2 17s441ms 8s720ms 16 2 3s334ms 1s667ms 17 1 3s61ms 3s61ms 19 3 21s843ms 7s281ms 20 2 14s189ms 7s94ms 21 5 21s164ms 4s232ms 22 4 22s742ms 5s685ms 23 2 20s290ms 10s145ms Apr 23 00 1 1s118ms 1s118ms 01 3 10s295ms 3s431ms 02 1 3s695ms 3s695ms 03 3 9s521ms 3s173ms 04 1 1s425ms 1s425ms 05 3 36s516ms 12s172ms 07 3 8s320ms 2s773ms 08 3 29s799ms 9s933ms 09 2 27s900ms 13s950ms 10 4 7s524ms 1s881ms 11 5 11s475ms 2s295ms 12 1 3s601ms 3s601ms 13 2 8s273ms 4s136ms 14 1 4s251ms 4s251ms 15 5 16s186ms 3s237ms 16 1 1s703ms 1s703ms 18 2 18s360ms 9s180ms 20 6 33s974ms 5s662ms 21 3 7s535ms 2s511ms 22 2 8s345ms 4s172ms 23 4 10s160ms 2s540ms Apr 24 00 2 23s16ms 11s508ms 01 2 7s511ms 3s755ms 02 3 6s505ms 2s168ms 03 1 5s971ms 5s971ms 04 3 20s67ms 6s689ms 05 5 19s359ms 3s871ms 06 3 8s107ms 2s702ms 07 5 32s944ms 6s588ms 08 2 21s57ms 10s528ms 09 2 15s343ms 7s671ms 10 4 41s558ms 10s389ms 11 2 6s51ms 3s25ms 12 3 9s539ms 3s179ms 15 1 16s25ms 16s25ms 17 4 1m13s 18s431ms Apr 25 23 4 10s390ms 2s597ms Apr 26 00 1 5s641ms 5s641ms 01 3 23s541ms 7s847ms 02 2 5s648ms 2s824ms 03 2 2s104ms 1s52ms 04 2 32s517ms 16s258ms 05 3 11s895ms 3s965ms 06 4 26s292ms 6s573ms 07 5 16s874ms 3s374ms 08 2 17s616ms 8s808ms 09 2 8s618ms 4s309ms 10 2 3s717ms 1s858ms 11 2 6s438ms 3s219ms 12 1 2s1ms 2s1ms 13 2 22s220ms 11s110ms 14 1 16s265ms 16s265ms 15 1 2s437ms 2s437ms 16 1 2s480ms 2s480ms 17 2 6s312ms 3s156ms 18 5 30s970ms 6s194ms 19 3 6s49ms 2s16ms 20 2 9s156ms 4s578ms 21 5 40s639ms 8s127ms 22 5 15s393ms 3s78ms 23 1 17s790ms 17s790ms [ User: pubeu - Total duration: 7m38s - Times executed: 96 ]
-
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 = '1230319'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-22 02:07:45 Duration: 28s20ms 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 = '1230319'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-22 01:44:09 Duration: 24s247ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1230319'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-22 02:04:19 Duration: 21s716ms Database: ctdprd51 User: pubeu Bind query: yes
12 1s 37s640ms 5s250ms 480 42m select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 20 00 4 15s574ms 3s893ms 01 6 17s417ms 2s902ms 02 2 8s87ms 4s43ms 03 4 11s560ms 2s890ms 05 6 18s253ms 3s42ms 07 1 5s219ms 5s219ms 08 5 15s29ms 3s5ms 10 2 8s754ms 4s377ms 12 1 1s248ms 1s248ms 13 2 6s610ms 3s305ms 14 3 14s414ms 4s804ms 15 1 3s784ms 3s784ms 16 3 13s605ms 4s535ms 17 2 5s422ms 2s711ms 18 1 1s832ms 1s832ms 20 1 1s602ms 1s602ms 22 1 4s656ms 4s656ms 23 2 4s85ms 2s42ms Apr 21 00 3 5s888ms 1s962ms 02 1 5s988ms 5s988ms 03 5 11s66ms 2s213ms 04 5 20s779ms 4s155ms 05 8 26s886ms 3s360ms 06 2 11s745ms 5s872ms 08 5 10s280ms 2s56ms 09 5 15s996ms 3s199ms 10 2 7s476ms 3s738ms 11 2 7s518ms 3s759ms 12 4 7s880ms 1s970ms 13 8 26s650ms 3s331ms 15 4 12s643ms 3s160ms 16 1 1s418ms 1s418ms 18 1 4s701ms 4s701ms 19 3 13s575ms 4s525ms 20 2 11s378ms 5s689ms 21 2 3s276ms 1s638ms 22 1 1s390ms 1s390ms 23 2 9s35ms 4s517ms Apr 22 00 6 13s494ms 2s249ms 01 51 3m17s 3s869ms 02 24 2m14s 5s616ms 03 10 48s186ms 4s818ms 04 1 1s707ms 1s707ms 05 1 1s332ms 1s332ms 06 3 15s354ms 5s118ms 07 1 1s299ms 1s299ms 08 2 5s698ms 2s849ms 09 7 20s798ms 2s971ms 10 2 6s117ms 3s58ms 11 5 22s317ms 4s463ms 12 1 11s815ms 11s815ms 13 3 15s491ms 5s163ms 14 3 3s992ms 1s330ms 15 2 3s762ms 1s881ms 16 2 3s925ms 1s962ms 17 8 36s688ms 4s586ms 18 4 13s903ms 3s475ms 19 2 3s948ms 1s974ms 20 2 10s404ms 5s202ms 21 3 8s25ms 2s675ms 22 1 3s899ms 3s899ms 23 1 4s423ms 4s423ms Apr 23 00 1 6s42ms 6s42ms 01 2 25s68ms 12s534ms 02 9 57s15ms 6s335ms 03 4 11s837ms 2s959ms 04 5 27s556ms 5s511ms 05 6 23s926ms 3s987ms 06 5 18s279ms 3s655ms 07 2 7s739ms 3s869ms 08 4 25s180ms 6s295ms 09 6 12s718ms 2s119ms 10 3 6s208ms 2s69ms 11 3 5s379ms 1s793ms 12 5 15s937ms 3s187ms 13 1 1s643ms 1s643ms 14 2 8s540ms 4s270ms 15 2 2s505ms 1s252ms 16 5 19s674ms 3s934ms 17 1 2s230ms 2s230ms 18 2 5s206ms 2s603ms 19 1 8s132ms 8s132ms 20 1 1s106ms 1s106ms 21 1 2s765ms 2s765ms 22 4 12s250ms 3s62ms 23 2 4s38ms 2s19ms Apr 24 00 2 5s716ms 2s858ms 01 2 5s458ms 2s729ms 02 3 20s451ms 6s817ms 03 1 4s484ms 4s484ms 05 1 2s538ms 2s538ms 06 5 56s126ms 11s225ms 07 5 35s914ms 7s182ms 08 2 7s363ms 3s681ms 09 6 20s353ms 3s392ms 11 1 2s860ms 2s860ms 12 4 19s534ms 4s883ms 13 1 1s24ms 1s24ms 16 2 2s832ms 1s416ms 17 2 2s666ms 1s333ms 18 2 16s346ms 8s173ms 20 1 1s238ms 1s238ms 21 1 1s397ms 1s397ms Apr 25 01 1 1s112ms 1s112ms 02 1 11s280ms 11s280ms 06 1 1s311ms 1s311ms 07 29 12m52s 26s644ms 08 5 5s523ms 1s104ms 10 1 1s188ms 1s188ms 11 1 1s328ms 1s328ms 13 3 3s672ms 1s224ms 15 1 5s273ms 5s273ms 16 1 2s503ms 2s503ms 17 4 22s602ms 5s650ms 21 1 1s194ms 1s194ms 23 2 2s405ms 1s202ms Apr 26 00 2 4s210ms 2s105ms 01 2 7s334ms 3s667ms 02 2 4s272ms 2s136ms 03 2 8s392ms 4s196ms 05 5 22s106ms 4s421ms 06 5 12s890ms 2s578ms 07 1 2s504ms 2s504ms 09 5 14s826ms 2s965ms 10 3 7s338ms 2s446ms 11 3 12s798ms 4s266ms 12 1 6s156ms 6s156ms 13 2 9s933ms 4s966ms 14 5 18s181ms 3s636ms 15 7 1m 8s663ms 16 1 2s154ms 2s154ms 17 1 1s445ms 1s445ms 18 2 5s434ms 2s717ms 19 2 2s357ms 1s178ms 21 1 1s325ms 1s325ms 23 1 5s276ms 5s276ms [ User: pubeu - Total duration: 21m56s - Times executed: 193 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-25 07:40:40 Duration: 37s640ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-25 07:40:40 Duration: 37s633ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-25 07:40:40 Duration: 37s564ms Database: ctdprd51 User: pubeu Bind query: yes
13 1s15ms 40s388ms 4s171ms 204 14m11s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 20 00 3 6s546ms 2s182ms 01 36 1m49s 3s45ms 02 23 1m15s 3s304ms 03 5 14s14ms 2s802ms 05 4 30s717ms 7s679ms 06 1 1s953ms 1s953ms 07 2 2s205ms 1s102ms 15 1 1s663ms 1s663ms 16 2 6s872ms 3s436ms 18 1 1s784ms 1s784ms 21 1 2s433ms 2s433ms 23 1 12s172ms 12s172ms Apr 21 02 1 1s727ms 1s727ms 03 1 3s977ms 3s977ms 06 9 16s743ms 1s860ms 07 1 2s208ms 2s208ms 08 1 1s885ms 1s885ms 09 7 1m23s 11s861ms 10 1 14s510ms 14s510ms 11 3 7s652ms 2s550ms 12 4 49s848ms 12s462ms 23 2 4s396ms 2s198ms Apr 22 01 1 1s110ms 1s110ms 02 3 3s288ms 1s96ms 07 1 1s147ms 1s147ms 09 4 7s388ms 1s847ms 11 2 41s834ms 20s917ms 13 1 3s307ms 3s307ms 20 3 5s335ms 1s778ms 21 3 4s998ms 1s666ms 23 1 11s920ms 11s920ms Apr 23 00 1 17s12ms 17s12ms 02 3 5s744ms 1s914ms 04 2 3s469ms 1s734ms 08 2 11s256ms 5s628ms 18 4 18s591ms 4s647ms 21 1 2s559ms 2s559ms 22 3 5s959ms 1s986ms 23 1 12s374ms 12s374ms Apr 24 00 2 12s951ms 6s475ms 01 4 23s871ms 5s967ms 05 4 4s124ms 1s31ms 06 1 1s230ms 1s230ms 12 2 2s974ms 1s487ms 20 2 4s757ms 2s378ms Apr 25 02 1 38s823ms 38s823ms 04 1 1s279ms 1s279ms 07 3 5s224ms 1s741ms 08 2 6s515ms 3s257ms 10 2 4s22ms 2s11ms 11 1 1s564ms 1s564ms 15 3 6s701ms 2s233ms 20 1 1s567ms 1s567ms 21 1 34s285ms 34s285ms 23 3 4s725ms 1s575ms Apr 26 01 1 34s943ms 34s943ms 03 1 1s604ms 1s604ms 04 3 5s537ms 1s845ms 05 2 3s939ms 1s969ms 06 1 1s156ms 1s156ms 11 4 11s275ms 2s818ms 15 3 4s587ms 1s529ms 18 6 11s949ms 1s991ms 20 2 3s238ms 1s619ms 22 2 8s872ms 4s436ms [ User: pubeu - Total duration: 6m13s - Times executed: 84 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-22 11:37:27 Duration: 40s388ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-25 02:55:45 Duration: 38s823ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-26 01:07:46 Duration: 34s943ms Bind query: yes
14 1s 12s308ms 4s103ms 623 42m36s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 20 05 8 17s764ms 2s220ms 06 1 5s150ms 5s150ms 11 4 15s452ms 3s863ms 13 2 2s147ms 1s73ms 14 9 44s692ms 4s965ms 15 5 18s844ms 3s768ms 17 3 12s3ms 4s1ms 18 1 5s622ms 5s622ms 19 3 14s517ms 4s839ms 20 1 6s259ms 6s259ms 22 2 5s780ms 2s890ms Apr 21 00 3 16s286ms 5s428ms 01 1 5s465ms 5s465ms 02 5 13s258ms 2s651ms 03 6 22s777ms 3s796ms 04 2 6s111ms 3s55ms 05 12 22s734ms 1s894ms 06 4 23s59ms 5s764ms 07 1 1s44ms 1s44ms 08 3 15s824ms 5s274ms 09 1 5s659ms 5s659ms 10 3 3s387ms 1s129ms 11 1 1s118ms 1s118ms 12 3 14s970ms 4s990ms 13 6 23s604ms 3s934ms 14 2 11s636ms 5s818ms 15 5 14s251ms 2s850ms 16 4 12s722ms 3s180ms 17 2 9s735ms 4s867ms 18 3 11s741ms 3s913ms 19 1 5s393ms 5s393ms 20 3 14s887ms 4s962ms 21 1 5s167ms 5s167ms 22 4 20s685ms 5s171ms 23 5 31s442ms 6s288ms Apr 22 00 2 7s106ms 3s553ms 01 21 2m6s 6s28ms 02 13 1m20s 6s194ms 03 4 25s3ms 6s250ms 04 2 6s886ms 3s443ms 05 5 5s365ms 1s73ms 06 2 6s946ms 3s473ms 07 8 30s27ms 3s753ms 08 6 28s138ms 4s689ms 09 1 5s118ms 5s118ms 10 4 8s961ms 2s240ms 11 3 11s464ms 3s821ms 12 2 10s245ms 5s122ms 13 4 4s113ms 1s28ms 14 1 1s92ms 1s92ms 15 4 21s680ms 5s420ms 16 5 17s921ms 3s584ms 17 5 22s691ms 4s538ms 18 6 24s274ms 4s45ms 19 3 15s810ms 5s270ms 20 8 23s93ms 2s886ms 21 5 27s480ms 5s496ms 22 5 19s16ms 3s803ms 23 2 10s519ms 5s259ms Apr 23 01 1 5s886ms 5s886ms 02 2 12s607ms 6s303ms 03 3 13s69ms 4s356ms 04 5 31s689ms 6s337ms 05 24 1m29s 3s748ms 06 16 1m2s 3s909ms 07 21 1m19s 3s808ms 08 2 11s74ms 5s537ms 09 2 6s569ms 3s284ms 10 7 34s512ms 4s930ms 11 3 16s68ms 5s356ms 12 4 12s401ms 3s100ms 13 5 28s744ms 5s748ms 14 7 32s502ms 4s643ms 15 3 12s346ms 4s115ms 16 15 53s353ms 3s556ms 17 8 26s295ms 3s286ms 18 2 6s728ms 3s364ms 20 3 11s770ms 3s923ms 22 1 5s198ms 5s198ms 23 2 6s818ms 3s409ms Apr 24 00 3 17s163ms 5s721ms 01 17 1m4s 3s780ms 02 11 45s853ms 4s168ms 03 11 37s649ms 3s422ms 04 16 1m14s 4s672ms 05 5 9s620ms 1s924ms 06 6 28s671ms 4s778ms 07 5 17s717ms 3s543ms 08 7 25s598ms 3s656ms 09 14 53s83ms 3s791ms 10 21 1m28s 4s235ms 11 2 2s288ms 1s144ms 12 6 27s482ms 4s580ms 15 1 4s955ms 4s955ms 16 2 10s194ms 5s97ms 23 1 4s991ms 4s991ms Apr 25 00 3 14s981ms 4s993ms 04 2 2s188ms 1s94ms 05 8 34s642ms 4s330ms 06 1 5s763ms 5s763ms 07 1 5s864ms 5s864ms 08 1 5s84ms 5s84ms 11 1 5s127ms 5s127ms 12 1 5s818ms 5s818ms 13 1 5s593ms 5s593ms 14 1 5s6ms 5s6ms 15 3 7s13ms 2s337ms 16 2 6s89ms 3s44ms 18 1 4s949ms 4s949ms 19 1 4s850ms 4s850ms 22 1 4s971ms 4s971ms Apr 26 00 7 27s227ms 3s889ms 01 11 44s471ms 4s42ms 04 2 10s170ms 5s85ms 05 4 4s85ms 1s21ms 06 2 2s56ms 1s28ms 07 3 12s232ms 4s77ms 08 2 10s176ms 5s88ms 09 2 10s670ms 5s335ms 10 2 6s420ms 3s210ms 13 3 10s381ms 3s460ms 14 2 6s655ms 3s327ms 15 2 2s66ms 1s33ms 16 1 5s968ms 5s968ms 17 6 27s99ms 4s516ms 18 2 10s341ms 5s170ms 19 5 21s520ms 4s304ms 20 7 32s776ms 4s682ms 21 6 27s22ms 4s503ms 22 7 34s82ms 4s868ms 23 14 58s188ms 4s156ms [ User: pubeu - Total duration: 12m18s - Times executed: 164 ]
[ User: qaeu - Total duration: 5s488ms - Times executed: 5 ]
-
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 = '1434112' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-22 02:08:26 Duration: 12s308ms 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 = '1348104' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-21 23:50:00 Duration: 10s315ms 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 = '1424998' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-22 01:42:07 Duration: 9s186ms Database: ctdprd51 User: pubeu Bind query: yes
15 3s651ms 7s557ms 4s46ms 321 21m38s 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 #15
Day Hour Count Duration Avg duration Apr 20 01 2 8s313ms 4s156ms 06 1 3s946ms 3s946ms 07 1 3s813ms 3s813ms 09 1 4s144ms 4s144ms 10 1 3s972ms 3s972ms 11 5 19s322ms 3s864ms 12 1 3s833ms 3s833ms 16 3 13s632ms 4s544ms 19 1 3s899ms 3s899ms 21 3 11s611ms 3s870ms 23 2 8s90ms 4s45ms Apr 21 02 1 3s874ms 3s874ms 03 4 17s202ms 4s300ms 04 4 16s194ms 4s48ms 05 1 4s577ms 4s577ms 07 1 3s798ms 3s798ms 09 1 4s69ms 4s69ms 10 1 3s949ms 3s949ms 12 7 28s619ms 4s88ms 13 3 12s51ms 4s17ms 14 1 4s164ms 4s164ms 15 2 8s147ms 4s73ms 16 2 7s879ms 3s939ms 19 1 4s48ms 4s48ms 21 8 31s211ms 3s901ms 22 2 7s627ms 3s813ms 23 2 9s699ms 4s849ms Apr 22 00 1 4s96ms 4s96ms 01 12 50s828ms 4s235ms 02 2 7s954ms 3s977ms 03 1 3s651ms 3s651ms 04 2 8s409ms 4s204ms 05 1 3s848ms 3s848ms 06 2 7s783ms 3s891ms 07 2 7s913ms 3s956ms 08 1 3s853ms 3s853ms 09 1 4s241ms 4s241ms 10 2 8s149ms 4s74ms 11 2 7s939ms 3s969ms 12 10 39s430ms 3s943ms 13 8 31s473ms 3s934ms 14 6 23s524ms 3s920ms 15 1 3s898ms 3s898ms 16 2 8s90ms 4s45ms 18 1 4s105ms 4s105ms 19 1 4s23ms 4s23ms 21 4 16s538ms 4s134ms 22 1 3s895ms 3s895ms 23 4 15s744ms 3s936ms Apr 23 00 1 4s131ms 4s131ms 01 3 12s514ms 4s171ms 02 1 4s262ms 4s262ms 03 3 12s385ms 4s128ms 04 2 8s398ms 4s199ms 05 3 12s497ms 4s165ms 06 3 12s88ms 4s29ms 07 1 3s996ms 3s996ms 08 2 8s16ms 4s8ms 09 3 12s45ms 4s15ms 12 1 3s967ms 3s967ms 13 4 15s844ms 3s961ms 14 6 24s821ms 4s136ms 15 5 20s679ms 4s135ms 16 3 11s990ms 3s996ms 17 2 7s775ms 3s887ms 21 2 8s97ms 4s48ms 22 2 8s379ms 4s189ms Apr 24 00 1 3s953ms 3s953ms 01 1 4s167ms 4s167ms 02 1 4s98ms 4s98ms 03 1 4s110ms 4s110ms 04 3 11s744ms 3s914ms 05 3 12s91ms 4s30ms 06 2 8s289ms 4s144ms 07 1 4s135ms 4s135ms 08 1 4s81ms 4s81ms 09 5 20s607ms 4s121ms 10 3 11s930ms 3s976ms 11 9 37s751ms 4s194ms 12 3 12s129ms 4s43ms 13 7 27s753ms 3s964ms 14 1 3s867ms 3s867ms 15 2 7s835ms 3s917ms 16 2 8s17ms 4s8ms 17 2 9s456ms 4s728ms 19 1 3s829ms 3s829ms 21 2 8s458ms 4s229ms 22 3 11s627ms 3s875ms 23 2 7s889ms 3s944ms Apr 25 01 3 11s800ms 3s933ms 02 6 24s543ms 4s90ms 03 3 12s634ms 4s211ms 04 15 59s144ms 3s942ms 05 2 8s116ms 4s58ms 06 1 3s987ms 3s987ms 07 4 19s470ms 4s867ms 08 2 8s79ms 4s39ms 09 2 8s71ms 4s35ms 11 2 8s489ms 4s244ms 12 2 7s805ms 3s902ms 16 2 7s776ms 3s888ms 17 4 15s405ms 3s851ms 20 1 4s11ms 4s11ms 22 1 4s207ms 4s207ms Apr 26 00 2 7s884ms 3s942ms 01 1 3s905ms 3s905ms 02 2 7s841ms 3s920ms 04 3 11s937ms 3s979ms 06 2 7s823ms 3s911ms 08 1 4s109ms 4s109ms 09 1 4s17ms 4s17ms 11 7 28s973ms 4s139ms 14 1 3s839ms 3s839ms 15 4 15s378ms 3s844ms 16 5 18s970ms 3s794ms 18 3 12s231ms 4s77ms 19 2 7s746ms 3s873ms 21 4 15s563ms 3s890ms 22 1 4s278ms 4s278ms [ User: pubeu - Total duration: 6m28s - Times executed: 97 ]
-
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 = '1397540') 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 = '1397540') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-25 07:21:06 Duration: 7s557ms 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 = '1366087') 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 = '1366087') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-22 01:43:03 Duration: 6s155ms 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 = '1352221') 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 = '1352221') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-21 23:52:40 Duration: 5s727ms Bind query: yes
16 1s20ms 1m 3s858ms 153 9m50s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 20 00 1 1s503ms 1s503ms 01 3 5s159ms 1s719ms 03 2 2s540ms 1s270ms 05 20 1m5s 3s293ms 11 2 4s800ms 2s400ms 13 1 2s80ms 2s80ms 16 2 8s391ms 4s195ms 17 1 6s311ms 6s311ms 18 1 5s94ms 5s94ms 20 1 5s300ms 5s300ms 21 1 1s912ms 1s912ms 23 1 1s193ms 1s193ms Apr 21 02 1 2s482ms 2s482ms 05 7 12s543ms 1s791ms 07 1 2s653ms 2s653ms 08 2 2s891ms 1s445ms 10 4 35s988ms 8s997ms 11 1 17s415ms 17s415ms 12 2 3s404ms 1s702ms 14 1 1s368ms 1s368ms 15 2 2s572ms 1s286ms 20 1 1s985ms 1s985ms Apr 22 00 2 2s733ms 1s366ms 02 32 1m1s 1s922ms 06 1 2s592ms 2s592ms 10 1 2s7ms 2s7ms 12 1 1s151ms 1s151ms 16 2 12s318ms 6s159ms 17 3 18s136ms 6s45ms Apr 23 06 1 6s852ms 6s852ms 08 2 3s239ms 1s619ms 09 2 17s459ms 8s729ms 11 1 2s35ms 2s35ms 18 1 1s42ms 1s42ms 19 1 38s337ms 38s337ms 22 1 6s938ms 6s938ms Apr 24 01 2 2s742ms 1s371ms 04 2 4s918ms 2s459ms 05 1 1s391ms 1s391ms 06 1 1s934ms 1s934ms 07 3 18s328ms 6s109ms 08 1 3s110ms 3s110ms 15 1 1s115ms 1s115ms 18 1 1s945ms 1s945ms 19 1 35s506ms 35s506ms Apr 25 02 1 2s178ms 2s178ms 05 1 1s163ms 1s163ms 06 2 12s516ms 6s258ms 07 2 7s972ms 3s986ms 08 1 1s252ms 1s252ms 12 1 5s89ms 5s89ms 13 2 3s204ms 1s602ms 14 2 2s986ms 1s493ms 16 1 2s759ms 2s759ms 17 1 5s241ms 5s241ms 20 2 4s266ms 2s133ms 21 1 1s918ms 1s918ms 22 1 1s263ms 1s263ms 23 1 2s219ms 2s219ms Apr 26 01 2 8s91ms 4s45ms 02 1 5s261ms 5s261ms 04 1 1s20ms 1s20ms 09 1 1s991ms 1s991ms 10 1 6s952ms 6s952ms 11 3 1m2s 20s904ms 14 2 6s794ms 3s397ms 16 1 2s631ms 2s631ms [ User: pubeu - Total duration: 3m57s - Times executed: 53 ]
-
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 = '2090692') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 9107200;
Date: 2025-04-26 11:04:34 Duration: 1m Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4403950;
Date: 2025-04-23 19:14:52 Duration: 38s337ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4403950;
Date: 2025-04-24 19:17:09 Duration: 35s506ms Database: ctdprd51 User: pubeu Bind query: yes
17 1s 7s522ms 3s160ms 1,356 1h11m25s 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 #17
Day Hour Count Duration Avg duration Apr 20 00 10 25s497ms 2s549ms 01 10 33s181ms 3s318ms 02 6 15s609ms 2s601ms 03 5 24s84ms 4s816ms 04 1 1s936ms 1s936ms 05 3 11s664ms 3s888ms 06 9 31s755ms 3s528ms 07 7 26s334ms 3s762ms 08 10 28s839ms 2s883ms 09 4 12s650ms 3s162ms 10 7 22s193ms 3s170ms 11 9 23s161ms 2s573ms 12 8 22s835ms 2s854ms 13 6 21s456ms 3s576ms 14 10 25s406ms 2s540ms 15 11 37s835ms 3s439ms 16 5 13s814ms 2s762ms 17 4 17s345ms 4s336ms 18 8 18s822ms 2s352ms 19 7 19s390ms 2s770ms 20 9 34s893ms 3s877ms 21 9 23s955ms 2s661ms 22 9 36s748ms 4s83ms 23 8 28s799ms 3s599ms Apr 21 00 7 24s157ms 3s451ms 01 7 30s736ms 4s390ms 02 7 20s558ms 2s936ms 03 4 17s881ms 4s470ms 04 6 17s337ms 2s889ms 05 8 15s812ms 1s976ms 06 10 42s194ms 4s219ms 07 6 20s784ms 3s464ms 08 9 25s982ms 2s886ms 09 4 13s666ms 3s416ms 10 6 13s824ms 2s304ms 11 16 1m7s 4s221ms 12 11 38s34ms 3s457ms 13 6 24s602ms 4s100ms 14 12 35s530ms 2s960ms 15 9 24s138ms 2s682ms 16 12 42s811ms 3s567ms 17 6 14s920ms 2s486ms 18 9 28s68ms 3s118ms 19 6 25s853ms 4s308ms 20 10 33s644ms 3s364ms 21 9 45s61ms 5s6ms 22 3 10s186ms 3s395ms 23 7 18s413ms 2s630ms Apr 22 00 15 45s731ms 3s48ms 01 28 1m17s 2s773ms 02 20 56s215ms 2s810ms 03 17 44s452ms 2s614ms 04 13 40s89ms 3s83ms 05 9 25s334ms 2s814ms 06 7 26s36ms 3s719ms 07 8 31s750ms 3s968ms 08 7 26s579ms 3s797ms 09 4 21s861ms 5s465ms 10 10 27s871ms 2s787ms 11 7 30s203ms 4s314ms 12 10 34s23ms 3s402ms 13 6 27s882ms 4s647ms 14 8 22s280ms 2s785ms 15 9 33s299ms 3s699ms 16 5 10s331ms 2s66ms 17 11 30s793ms 2s799ms 18 10 36s772ms 3s677ms 19 4 21s295ms 5s323ms 20 8 25s31ms 3s128ms 21 8 26s298ms 3s287ms 22 9 33s122ms 3s680ms 23 11 23s560ms 2s141ms Apr 23 00 2 10s260ms 5s130ms 01 15 44s346ms 2s956ms 02 7 15s116ms 2s159ms 03 10 19s755ms 1s975ms 04 10 33s688ms 3s368ms 05 25 1m11s 2s866ms 06 27 1m20s 2s995ms 07 25 1m15s 3s10ms 08 12 36s335ms 3s27ms 09 5 18s810ms 3s762ms 10 10 24s910ms 2s491ms 11 10 33s566ms 3s356ms 12 8 25s447ms 3s180ms 13 6 24s799ms 4s133ms 14 9 26s86ms 2s898ms 15 10 45s723ms 4s572ms 16 24 1m10s 2s943ms 17 9 29s232ms 3s248ms 18 15 44s309ms 2s953ms 19 8 36s222ms 4s527ms 20 10 38s330ms 3s833ms 21 5 10s22ms 2s4ms 22 8 26s202ms 3s275ms 23 10 31s544ms 3s154ms Apr 24 00 4 13s569ms 3s392ms 01 23 1m20s 3s512ms 02 16 41s73ms 2s567ms 03 18 1m3s 3s535ms 04 25 1m18s 3s139ms 05 2 10s81ms 5s40ms 06 8 20s792ms 2s599ms 07 7 34s204ms 4s886ms 08 21 1m 2s885ms 09 17 52s237ms 3s72ms 10 29 1m22s 2s848ms 11 15 39s169ms 2s611ms 12 6 21s82ms 3s513ms Apr 25 22 3 11s147ms 3s715ms 23 7 33s760ms 4s822ms Apr 26 00 18 1m1s 3s434ms 01 20 1m1s 3s61ms 02 7 16s89ms 2s298ms 03 7 22s795ms 3s256ms 04 13 38s426ms 2s955ms 05 8 29s257ms 3s657ms 06 7 20s868ms 2s981ms 07 11 27s453ms 2s495ms 08 9 31s113ms 3s457ms 09 6 17s315ms 2s885ms 10 11 36s845ms 3s349ms 11 5 11s530ms 2s306ms 12 7 15s232ms 2s176ms 13 13 35s258ms 2s712ms 14 5 12s721ms 2s544ms 15 5 11s631ms 2s326ms 16 6 19s131ms 3s188ms 17 7 23s626ms 3s375ms 18 7 22s183ms 3s169ms 19 20 52s96ms 2s604ms 20 10 28s428ms 2s842ms 21 24 1m14s 3s113ms 22 15 37s49ms 2s469ms 23 25 1m13s 2s939ms [ User: pubeu - Total duration: 17m15s - Times executed: 337 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-24 12:36:34 Duration: 7s522ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-23 18:05:09 Duration: 7s306ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-26 23:09:45 Duration: 7s230ms Bind query: yes
18 1s3ms 6s489ms 2s629ms 379 16m36s 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 #18
Day Hour Count Duration Avg duration Apr 20 05 1 1s457ms 1s457ms 15 1 2s777ms 2s777ms Apr 21 02 2 3s215ms 1s607ms 05 5 12s986ms 2s597ms 06 4 9s92ms 2s273ms 13 10 21s177ms 2s117ms 14 9 18s934ms 2s103ms 15 1 2s193ms 2s193ms 23 4 7s397ms 1s849ms Apr 22 01 60 1m57s 1s960ms 02 225 11m19s 3s22ms 03 4 11s319ms 2s829ms 07 2 2s120ms 1s60ms 08 3 6s511ms 2s170ms 09 1 2s97ms 2s97ms 19 4 6s500ms 1s625ms Apr 23 05 1 2s731ms 2s731ms 12 2 2s112ms 1s56ms 14 1 1s288ms 1s288ms 17 7 15s331ms 2s190ms Apr 24 00 1 2s801ms 2s801ms 01 1 1s311ms 1s311ms 07 3 8s260ms 2s753ms Apr 25 07 22 41s140ms 1s870ms 12 1 4s319ms 4s319ms 18 1 2s732ms 2s732ms Apr 26 00 2 7s108ms 3s554ms 07 1 2s97ms 2s97ms [ User: pubeu - Total duration: 10m38s - Times executed: 232 ]
-
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 = '2098358');
Date: 2025-04-22 02:06:45 Duration: 6s489ms Database: ctdprd51 User: pubeu 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 = '2102815');
Date: 2025-04-22 02:09:02 Duration: 6s436ms Database: ctdprd51 User: pubeu 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 = '2102769');
Date: 2025-04-22 02:07:05 Duration: 6s378ms Bind query: yes
19 1s1ms 8s830ms 2s567ms 1,101 47m7s 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 20 00 5 13s878ms 2s775ms 01 3 9s717ms 3s239ms 02 8 16s401ms 2s50ms 03 2 3s483ms 1s741ms 04 1 2s15ms 2s15ms 05 3 8s315ms 2s771ms 06 6 19s98ms 3s183ms 07 1 1s98ms 1s98ms 08 3 10s594ms 3s531ms 09 6 15s725ms 2s620ms 10 9 26s269ms 2s918ms 11 7 19s813ms 2s830ms 12 3 7s652ms 2s550ms 13 4 13s768ms 3s442ms 14 6 17s984ms 2s997ms 15 7 23s346ms 3s335ms 16 5 12s630ms 2s526ms 17 3 10s775ms 3s591ms 18 6 19s638ms 3s273ms 19 8 18s713ms 2s339ms 20 4 10s692ms 2s673ms 21 3 8s301ms 2s767ms 22 6 9s578ms 1s596ms 23 7 19s958ms 2s851ms Apr 21 00 2 5s497ms 2s748ms 01 3 11s360ms 3s786ms 02 6 18s117ms 3s19ms 03 10 20s300ms 2s30ms 04 12 28s961ms 2s413ms 05 7 20s529ms 2s932ms 06 5 13s247ms 2s649ms 07 5 15s648ms 3s129ms 08 6 18s22ms 3s3ms 09 6 15s964ms 2s660ms 10 1 1s170ms 1s170ms 11 5 12s863ms 2s572ms 12 4 8s402ms 2s100ms 13 4 11s42ms 2s760ms 14 8 23s350ms 2s918ms 15 8 22s543ms 2s817ms 16 12 30s748ms 2s562ms 17 3 3s108ms 1s36ms 18 6 16s496ms 2s749ms 19 9 23s604ms 2s622ms 20 5 15s93ms 3s18ms 21 7 16s390ms 2s341ms 22 10 32s828ms 3s282ms 23 7 15s952ms 2s278ms Apr 22 00 8 22s428ms 2s803ms 01 39 1m44s 2s685ms 02 23 48s86ms 2s90ms 03 9 26s327ms 2s925ms 04 6 18s75ms 3s12ms 05 4 9s437ms 2s359ms 06 1 2s119ms 2s119ms 07 4 11s448ms 2s862ms 08 7 20s590ms 2s941ms 09 8 22s531ms 2s816ms 10 12 34s909ms 2s909ms 11 5 11s7ms 2s201ms 12 7 20s935ms 2s990ms 13 7 22s29ms 3s147ms 14 7 22s409ms 3s201ms 15 6 11s694ms 1s949ms 16 6 8s912ms 1s485ms 17 7 16s902ms 2s414ms 18 11 20s353ms 1s850ms 19 4 9s333ms 2s333ms 20 7 19s246ms 2s749ms 21 6 18s530ms 3s88ms 22 8 26s743ms 3s342ms 23 7 17s435ms 2s490ms Apr 23 00 10 30s568ms 3s56ms 01 7 15s391ms 2s198ms 02 9 25s364ms 2s818ms 03 7 16s454ms 2s350ms 04 8 20s966ms 2s620ms 05 19 44s925ms 2s364ms 06 23 55s599ms 2s417ms 07 17 35s734ms 2s102ms 08 4 12s157ms 3s39ms 09 3 9s628ms 3s209ms 10 12 31s548ms 2s629ms 11 1 2s72ms 2s72ms 12 7 18s711ms 2s673ms 13 4 13s668ms 3s417ms 14 6 8s848ms 1s474ms 15 6 19s521ms 3s253ms 16 23 55s60ms 2s393ms 17 10 28s111ms 2s811ms 18 8 25s251ms 3s156ms 19 8 18s830ms 2s353ms 20 6 16s82ms 2s680ms 21 9 26s997ms 2s999ms 22 8 15s809ms 1s976ms 23 8 27s595ms 3s449ms Apr 24 00 4 14s689ms 3s672ms 01 20 44s165ms 2s208ms 02 17 41s642ms 2s449ms 03 14 26s926ms 1s923ms 04 21 51s414ms 2s448ms 05 6 15s825ms 2s637ms 06 8 21s124ms 2s640ms 07 5 8s781ms 1s756ms 08 14 36s598ms 2s614ms 09 21 51s110ms 2s433ms 10 31 1m8s 2s210ms 11 8 28s70ms 3s508ms 12 3 8s429ms 2s809ms Apr 25 22 2 6s702ms 3s351ms 23 8 26s210ms 3s276ms Apr 26 00 18 44s248ms 2s458ms 01 21 45s69ms 2s146ms 02 9 28s573ms 3s174ms 03 12 37s80ms 3s90ms 04 10 31s718ms 3s171ms 05 3 5s349ms 1s783ms 06 3 9s191ms 3s63ms 07 5 12s571ms 2s514ms 08 7 14s673ms 2s96ms 09 2 5s109ms 2s554ms 10 5 11s779ms 2s355ms 11 5 7s180ms 1s436ms 12 6 10s582ms 1s763ms 13 2 8s533ms 4s266ms 14 6 11s358ms 1s893ms 15 6 13s657ms 2s276ms 16 3 8s434ms 2s811ms 17 11 26s527ms 2s411ms 18 5 14s25ms 2s805ms 19 17 41s578ms 2s445ms 20 9 18s152ms 2s16ms 21 15 37s37ms 2s469ms 22 16 39s21ms 2s438ms 23 24 53s701ms 2s237ms [ User: pubeu - Total duration: 10m31s - Times executed: 264 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-22 01:42:58 Duration: 8s830ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-22 02:07:44 Duration: 8s226ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-23 23:53:00 Duration: 7s436ms Bind query: yes
20 1s1ms 9s67ms 2s358ms 517 20m19s select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 20 00 5 12s775ms 2s555ms 01 2 4s102ms 2s51ms 03 3 4s664ms 1s554ms 05 3 5s346ms 1s782ms 06 7 12s534ms 1s790ms 07 4 12s33ms 3s8ms 08 5 12s877ms 2s575ms 09 4 7s632ms 1s908ms 10 2 3s778ms 1s889ms 11 2 4s389ms 2s194ms 12 1 1s501ms 1s501ms 13 3 9s316ms 3s105ms 14 4 10s468ms 2s617ms 15 4 8s474ms 2s118ms 16 3 4s700ms 1s566ms 17 9 21s668ms 2s407ms 18 5 10s436ms 2s87ms 19 4 8s562ms 2s140ms 20 1 2s750ms 2s750ms 21 3 5s24ms 1s674ms 22 4 9s557ms 2s389ms 23 3 14s404ms 4s801ms Apr 21 00 3 6s665ms 2s221ms 01 2 3s66ms 1s533ms 02 3 4s928ms 1s642ms 03 2 4s321ms 2s160ms 04 6 11s970ms 1s995ms 05 3 5s441ms 1s813ms 06 7 14s73ms 2s10ms 07 1 6s60ms 6s60ms 08 4 6s269ms 1s567ms 09 2 2s663ms 1s331ms 10 5 7s726ms 1s545ms 11 3 6s629ms 2s209ms 12 5 7s961ms 1s592ms 13 10 23s224ms 2s322ms 14 6 11s395ms 1s899ms 15 3 13s63ms 4s354ms 16 2 7s446ms 3s723ms 17 4 5s941ms 1s485ms 18 1 2s75ms 2s75ms 19 1 3s498ms 3s498ms 20 1 1s208ms 1s208ms 21 1 2s779ms 2s779ms 22 3 5s7ms 1s669ms 23 12 42s16ms 3s501ms Apr 22 00 2 12s248ms 6s124ms 01 9 26s48ms 2s894ms 02 49 2m31s 3s93ms 03 9 18s549ms 2s61ms 04 6 18s278ms 3s46ms 05 4 7s615ms 1s903ms 07 3 6s819ms 2s273ms 08 5 10s446ms 2s89ms 09 7 14s706ms 2s100ms 10 8 21s16ms 2s627ms 11 8 16s798ms 2s99ms 12 6 10s564ms 1s760ms 13 1 2s266ms 2s266ms 14 4 7s413ms 1s853ms 15 4 11s222ms 2s805ms 16 4 16s409ms 4s102ms 17 1 1s662ms 1s662ms 18 4 11s324ms 2s831ms 19 7 20s136ms 2s876ms 20 3 5s144ms 1s714ms 21 5 11s185ms 2s237ms 22 2 2s696ms 1s348ms 23 2 3s349ms 1s674ms Apr 23 00 2 5s3ms 2s501ms 01 1 1s15ms 1s15ms 02 4 7s883ms 1s970ms 03 4 7s765ms 1s941ms 04 6 12s748ms 2s124ms 05 9 12s285ms 1s365ms 06 6 11s419ms 1s903ms 07 4 8s427ms 2s106ms 08 3 5s537ms 1s845ms 09 2 2s429ms 1s214ms 10 2 3s515ms 1s757ms 11 5 9s185ms 1s837ms 12 2 3s47ms 1s523ms 13 1 2s234ms 2s234ms 14 1 5s967ms 5s967ms 15 6 14s575ms 2s429ms 16 3 10s278ms 3s426ms 17 5 10s988ms 2s197ms 18 4 15s411ms 3s852ms 19 3 5s635ms 1s878ms 20 3 5s551ms 1s850ms 21 1 2s276ms 2s276ms 22 2 2s75ms 1s37ms 23 2 4s675ms 2s337ms Apr 24 00 4 9s445ms 2s361ms 01 3 4s391ms 1s463ms 02 5 13s950ms 2s790ms 03 5 9s27ms 1s805ms 04 1 2s244ms 2s244ms 05 3 5s620ms 1s873ms 06 3 7s376ms 2s458ms 07 3 6s185ms 2s61ms 08 1 1s314ms 1s314ms 09 1 1s691ms 1s691ms 10 5 11s32ms 2s206ms 11 7 17s616ms 2s516ms 12 6 11s232ms 1s872ms 21 1 2s928ms 2s928ms 22 2 4s597ms 2s298ms Apr 25 04 1 2s695ms 2s695ms 07 2 9s554ms 4s777ms 10 4 7s619ms 1s904ms 12 2 2s135ms 1s67ms 22 1 2s781ms 2s781ms 23 4 6s918ms 1s729ms Apr 26 00 1 2s358ms 2s358ms 01 3 6s98ms 2s32ms 02 6 11s475ms 1s912ms 03 2 8s696ms 4s348ms 04 3 6s539ms 2s179ms 05 1 1s629ms 1s629ms 06 2 3s501ms 1s750ms 07 2 3s740ms 1s870ms 08 1 3s486ms 3s486ms 09 2 4s198ms 2s99ms 10 3 10s323ms 3s441ms 12 1 3s774ms 3s774ms 14 5 11s17ms 2s203ms 15 2 3s343ms 1s671ms 18 2 3s931ms 1s965ms 19 2 4s435ms 2s217ms 20 3 6s462ms 2s154ms 21 1 2s390ms 2s390ms 22 2 4s705ms 2s352ms 23 4 7s172ms 1s793ms [ User: pubeu - Total duration: 7m30s - Times executed: 174 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '156735' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '156735') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:09:02 Duration: 9s67ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:03:50 Duration: 8s265ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-22 02:03:48 Duration: 8s100ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 9s199ms 2 2s626ms 6s572ms 4s599ms SELECT /* BasicCountsDAO gen */ ii.cd;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Apr 26 01 2 9s199ms 4s599ms -
SELECT /* BasicCountsDAO gen */ ii.cd;
Date: 2025-04-22 01:42:18 Duration: 6s572ms Database: postgres
-
SELECT /* BasicCountsDAO gen */ ii.cd;
Date: 2025-04-22 01:42:18 Duration: 2s626ms Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 17s14ms 15 1s92ms 1s232ms 1s134ms 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 = $1 or receptorTerm.id = $2 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;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Apr 26 12 2 2s251ms 1s125ms 23 2 2s465ms 1s232ms Apr 26 12 2 2s189ms 1s94ms Apr 26 07 9 10s107ms 1s123ms -
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 = $1 or receptorTerm.id = $2 GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-21 23:07:42 Duration: 1s232ms Database: postgres parameters: $1 = '1481196', $2 = '1481196'
-
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 = $1 or receptorTerm.id = $2 GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-25 07:21:33 Duration: 1s173ms Database: postgres parameters: $1 = '1981647', $2 = '1981647'
-
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 = $1 or receptorTerm.id = $2 GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-21 12:22:30 Duration: 1s125ms Database: postgres parameters: $1 = '2068169', $2 = '2068169'
2 11s123ms 9 1s50ms 1s414ms 1s235ms SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 23 1 1s168ms 1s168ms 22 4 4s460ms 1s115ms 09 2 2s666ms 1s333ms 16 2 2s828ms 1s414ms -
SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;
Date: 2025-04-23 17:39:40 Duration: 1s414ms Database: postgres parameters: $1 = '2095468'
-
SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;
Date: 2025-04-22 10:25:06 Duration: 1s333ms Database: postgres parameters: $1 = '1445823', $2 = '1445823', $3 = 'chem%'
-
SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;
Date: 2025-04-21 23:08:05 Duration: 1s179ms Database: postgres parameters: $1 = '2094450'
3 7s452ms 7 1s1ms 1s106ms 1s64ms SELECT /* ReferenceCitedGenesDAO */ g.nm symbol, g.nm_html symbolHtml, g.secondary_nm nm, g.acc_txt acc, g.acc_db_cd accDbCd, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, g.id FROM term g WHERE g.id IN ( SELECT gdr.gene_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL SELECT ggr.from_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $3 UNION ALL SELECT ggr.to_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $4 UNION ALL select event.exp_marker_term_id from exposure e, exp_event event where e.reference_id = $5 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'gene%') UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $6 and ptr.term_object_type_id = 4) ORDER BY g.nm_sort;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 04 2 2s158ms 1s79ms 23 1 1s76ms 1s76ms 04 2 2s3ms 1s1ms 11 2 2s213ms 1s106ms -
SELECT /* ReferenceCitedGenesDAO */ g.nm symbol, g.nm_html symbolHtml, g.secondary_nm nm, g.acc_txt acc, g.acc_db_cd accDbCd, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, g.id FROM term g WHERE g.id IN ( SELECT gdr.gene_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL SELECT ggr.from_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $3 UNION ALL SELECT ggr.to_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $4 UNION ALL select event.exp_marker_term_id from exposure e, exp_event event where e.reference_id = $5 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'gene%') UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $6 and ptr.term_object_type_id = 4) ORDER BY g.nm_sort;
Date: 2025-04-24 12:18:54 Duration: 1s106ms Database: postgres parameters: $1 = '1363238'
-
SELECT /* ReferenceCitedGenesDAO */ g.nm symbol, g.nm_html symbolHtml, g.secondary_nm nm, g.acc_txt acc, g.acc_db_cd accDbCd, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, g.id FROM term g WHERE g.id IN ( SELECT gdr.gene_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL SELECT ggr.from_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $3 UNION ALL SELECT ggr.to_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $4 UNION ALL select event.exp_marker_term_id from exposure e, exp_event event where e.reference_id = $5 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'gene%') UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $6 and ptr.term_object_type_id = 4) ORDER BY g.nm_sort;
Date: 2025-04-21 05:22:18 Duration: 1s79ms Database: postgres parameters: $1 = '2102769'
-
SELECT /* ReferenceCitedGenesDAO */ g.nm symbol, g.nm_html symbolHtml, g.secondary_nm nm, g.acc_txt acc, g.acc_db_cd accDbCd, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, g.id FROM term g WHERE g.id IN ( SELECT gdr.gene_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL SELECT ggr.from_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $3 UNION ALL SELECT ggr.to_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $4 UNION ALL select event.exp_marker_term_id from exposure e, exp_event event where e.reference_id = $5 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'gene%') UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $6 and ptr.term_object_type_id = 4) ORDER BY g.nm_sort;
Date: 2025-04-22 00:20:55 Duration: 1s76ms Database: postgres parameters: $1 = '1483983', $2 = '1483983'
4 5s586ms 5 1s75ms 1s145ms 1s117ms SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 11 2 2s150ms 1s75ms 04 3 3s436ms 1s145ms -
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-25 05:00:42 Duration: 1s145ms Database: postgres parameters: $1 = '1227789', $2 = '1227789'
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-24 12:19:10 Duration: 1s75ms Database: postgres parameters: $1 = '1248951', $2 = '1248951'
5 3s218ms 3 1s72ms 1s72ms 1s72ms 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 = $1) or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 11 3 3s218ms 1s72ms -
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 = $1) or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-25 12:25:14 Duration: 1s72ms Database: postgres parameters: $1 = '1374240', $2 = '1374240'
6 3s64ms 3 1s11ms 1s40ms 1s21ms SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $3) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 15 2 2s23ms 1s11ms 02 1 1s40ms 1s40ms -
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $3) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-22 03:07:02 Duration: 1s40ms Database: postgres parameters: $1 = '1436913', $2 = '1436913', $3 = 'chem%'
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $3) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-21 16:52:47 Duration: 1s11ms Database: postgres parameters: $1 = '1445812', $2 = '1445812', $3 = 'chem%'
7 3s13ms 3 1s2ms 1s9ms 1s4ms SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 11 2 2s4ms 1s2ms 23 1 1s9ms 1s9ms -
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;
Date: 2025-04-24 00:52:55 Duration: 1s9ms Database: postgres parameters: $1 = '2098336', $2 = '2098336'
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;
Date: 2025-04-21 12:22:22 Duration: 1s2ms Database: postgres parameters: $1 = '2068169', $2 = '2068169'
8 2s206ms 2 1s103ms 1s103ms 1s103ms 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 = $1) or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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, abbrAuthorsTxt LIMIT 50;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 04 2 2s206ms 1s103ms -
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 = $1) or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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, abbrAuthorsTxt LIMIT 50;
Date: 2025-04-21 04:59:55 Duration: 1s103ms Database: postgres parameters: $1 = '2000398', $2 = '2000398'
9 2s151ms 2 1s75ms 1s75ms 1s75ms 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 = $1) or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 15 2 2s151ms 1s75ms -
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 = $1) or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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;
Date: 2025-04-21 16:52:58 Duration: 1s75ms Database: postgres parameters: $1 = '1372051', $2 = '1372051'
10 1s73ms 1 1s73ms 1s73ms 1s73ms 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 e.reference_id = $1 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;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 01 1 1s73ms 1s73ms -
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 e.reference_id = $1 GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-22 02:05:34 Duration: 1s73ms Database: postgres parameters: $1 = '1336527'
11 1s57ms 1 1s57ms 1s57ms 1s57ms SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 01 1 1s57ms 1s57ms -
SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;
Date: 2025-04-24 02:13:30 Duration: 1s57ms Database: postgres parameters: $1 = '1464926', $2 = '1464926'
12 0ms 864 0ms 0ms 0ms ;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration Apr 20 07 34 0ms 0ms 08 8 0ms 0ms 09 30 0ms 0ms 12 20 0ms 0ms 13 2 0ms 0ms 22 2 0ms 0ms Apr 21 03 1 0ms 0ms 09 8 0ms 0ms 10 26 0ms 0ms 11 6 0ms 0ms 12 16 0ms 0ms 14 6 0ms 0ms 15 48 0ms 0ms 17 20 0ms 0ms Apr 22 01 2 0ms 0ms 02 2 0ms 0ms 06 12 0ms 0ms 07 14 0ms 0ms 08 26 0ms 0ms 11 6 0ms 0ms 12 8 0ms 0ms 13 18 0ms 0ms Apr 23 00 1 0ms 0ms 08 2 0ms 0ms 09 18 0ms 0ms 10 20 0ms 0ms 11 14 0ms 0ms 13 16 0ms 0ms Apr 24 00 2 0ms 0ms 01 2 0ms 0ms 02 1 0ms 0ms 06 18 0ms 0ms 07 34 0ms 0ms 08 18 0ms 0ms 09 14 0ms 0ms 11 20 0ms 0ms 12 30 0ms 0ms 13 60 0ms 0ms 14 8 0ms 0ms 16 4 0ms 0ms 19 2 0ms 0ms Apr 25 04 6 0ms 0ms 05 3 0ms 0ms 06 66 0ms 0ms 07 39 0ms 0ms 08 39 0ms 0ms 09 3 0ms 0ms 10 18 0ms 0ms 11 21 0ms 0ms 12 27 0ms 0ms 13 15 0ms 0ms 14 3 0ms 0ms 15 6 0ms 0ms 16 3 0ms 0ms 21 3 0ms 0ms 23 3 0ms 0ms Apr 26 00 2 0ms 0ms 03 2 0ms 0ms 06 3 0ms 0ms Apr 27 00 3 0ms 0ms [ User: pubeu - Total duration: 8m51s - Times executed: 255 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu
-
Events
Log levels
Key values
- 211,528 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 33 FATAL entries
- 165 ERROR entries
- 1 WARNING entries
- 49 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 130 Max number of times the same event was reported
- 248 Total events found
Rank Times reported Error 1 130 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 20 00 2 09 1 11 1 15 1 16 1 20 1 22 1 23 1 Apr 21 02 3 06 1 17 1 20 3 21 1 23 2 Apr 22 00 1 02 1 03 2 07 1 09 1 10 2 16 1 17 1 18 3 19 1 21 1 22 1 23 1 Apr 23 02 3 03 3 08 3 14 1 16 1 20 1 21 1 23 1 Apr 24 01 2 03 1 04 1 05 2 08 2 09 1 10 1 11 4 16 1 18 4 19 2 20 3 21 2 23 1 Apr 25 01 1 02 2 05 1 06 2 07 2 08 2 09 1 10 5 13 2 15 1 20 2 22 2 23 2 Apr 26 01 1 02 2 03 2 05 1 06 2 07 3 09 1 10 1 12 1 13 1 14 1 16 4 18 1 21 4 22 2 - ERROR: syntax error in ts"セブン 宅配"
- ERROR: syntax error in ts"33KDA & LYMPHOCYTE & (CA<2+>- | CA<2+>) & BINDING & PROTEIN"
- ERROR: syntax error in ts"CA<2+>DEPENDENT & ACTIVATOR & PROTEIN & FOR & SECRETION"
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-04-20 00:26:54
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-04-20 15:12:14
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-04-20 16:14:01 Database: ctdprd51 Application: User: pubeu Remote:
2 30 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #2
Day Hour Count Apr 20 05 1 16 1 21 1 Apr 21 10 1 16 3 Apr 22 01 3 02 5 03 4 09 1 12 1 Apr 23 04 1 06 1 Apr 24 00 1 08 1 12 1 Apr 25 22 2 Apr 26 08 1 10 1 - FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-04-21 10:03:02
3 29 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count Apr 20 05 2 16 1 21 1 Apr 21 16 2 Apr 22 01 3 02 5 03 4 09 1 12 1 Apr 23 04 1 06 1 Apr 24 00 1 08 1 12 1 Apr 25 22 2 Apr 26 08 1 10 1 - LOG: could not send data to client: Broken pipe
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount
Date: 2025-04-20 05:03:51
4 17 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #4
Day Hour Count Apr 21 18 1 19 2 20 1 Apr 22 18 1 19 1 Apr 23 20 1 Apr 24 18 4 Apr 25 18 3 19 1 Apr 26 19 2 5 13 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #5
Day Hour Count Apr 21 12 1 16 3 Apr 22 01 3 03 4 Apr 24 00 1 12 1 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: WITH CTE AS ( SELECT *, ROW_NUMBER() OVER (PARTITION BY id ORDER BY ID ASC) AS RowNum FROM log_query_bots ) --insert into log_query_bots_unique (SELECT * FROM CTE WHERE RowNum < 2); SELECT * FROM CTE WHERE RowNum < 2
Date: 2025-04-21 12:43:27
Statement: SELECT json_object_agg(coalesce (datname,'null'), row_to_json(T))
Date: 2025-04-21 16:53:22 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT row_to_json (T) FROM ( SELECT sum(numbackends) as numbackends , sum(xact_commit) as xact_commit , sum(xact_rollback) as xact_rollback , sum(blks_read) as blks_read , sum(blks_hit) as blks_hit , sum(tup_returned) as tup_returned , sum(tup_fetched) as tup_fetched , sum(tup_inserted) as tup_inserted , sum(tup_updated) as tup_updated , sum(tup_deleted) as tup_deleted , sum(conflicts) as conflicts , sum(temp_files) as temp_files , sum(temp_bytes) as temp_bytes , sum(deadlocks) as deadlocks , sum(COALESCE(checksum_failures, 0)) as checksum_failures , sum(blk_read_time) as blk_read_time , sum(blk_write_time) as blk_write_time FROM pg_catalog.pg_stat_database ) T ;
Date: 2025-04-21 16:53:22
6 11 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #6
Day Hour Count Apr 20 11 1 Apr 21 10 1 12 2 Apr 22 01 2 Apr 25 02 3 12 2 - ERROR: relation "disease_chem_gene" does not exist at character 369
- ERROR: relation "disease_chem_gene" does not exist at character 369
- ERROR: relation "log_query_bots_dups" does not exist at character 129
Statement: SELECT /* DiseaseIxnsDAO */ dcg.chem_id chemid ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,dcg.gene_id geneid ,g.nm genesymbol ,g.acc_txt geneacc ,dcg.ixn_id ixnId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,dcg.reference_qty refCount ,dcg.taxon_qty taxonCount FROM disease_chem_gene dcg INNER JOIN ixn i ON dcg.ixn_id = i.id INNER JOIN term g ON dcg.gene_id = g.id INNER JOIN term c ON dcg.chem_id = c.id WHERE dcg.disease_id = $1 AND g.object_type_id = 4 AND c.object_type_id = 2 ORDER BY g.nm_sort ,c.nm_sort LIMIT 50
Date: 2025-04-20 11:52:16
Statement: SELECT /* DiseaseIxnsDAO */ dcg.chem_id chemid ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,dcg.gene_id geneid ,g.nm genesymbol ,g.acc_txt geneacc ,dcg.ixn_id ixnId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,dcg.reference_qty refCount ,dcg.taxon_qty taxonCount FROM disease_chem_gene dcg INNER JOIN ixn i ON dcg.ixn_id = i.id INNER JOIN term g ON dcg.gene_id = g.id INNER JOIN term c ON dcg.chem_id = c.id WHERE dcg.disease_id = $1 AND g.object_type_id = 4 AND c.object_type_id = 2 ORDER BY g.nm_sort ,c.nm_sort LIMIT 50 ,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 = $1 or receptorTerm.id = $2 GROUP BY chemNm ,chemNmHtml ,chemNmSort ,chemAcc ,stressorSrcDetails ,stressorSampleQty ,stressorNote ,receptorTerms ,medium ,mediumAccTxt ,assayedMarkers ,assayLevel ,measurement ,measurementStat ,assayNote ,outcomeRltnp ,diseaseField ,phenotypeField ,phenotypeActionDegreeTypeNm ,ref ,r.abbr_authors_txt ,collectionStartAndEndYr ,receptorID ,detectionLimit ,detectionLimitUOM ,detectionFreq ,eventNote ,outcomeNote ,eventID order by chemNmSort LIMIT 50
Date: 2025-04-21 10:10:30
Statement: WITH CTE AS ( SELECT *, ROW_NUMBER() OVER (PARTITION BY id ORDER BY ID ASC) AS RowNum FROM log_query_bots ) insert into log_query_bots_dups (SELECT * FROM CTE WHERE RowNum > 1);
Date: 2025-04-21 12:45:43
7 6 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Apr 21 10 1 Apr 22 06 1 Apr 25 04 2 05 1 16 1 - ERROR: syntax error at or near ")" at character 4938
- ERROR: syntax error at or near ")" at character 4937
Statement: select distinct e.reference_acc_txt as "Reference", pref.abbr_authors_txt as "Author", referenceExp.author_summary as "AuthorSummary", (Select STRING_AGG( distinct eventproject.project_nm, '|')) as "AssociatedStudyTitles", eevent.collection_start_yr as "EnrollmentStartYear", eevent.collection_end_yr as "EnrollmentEndYear", (Select STRING_AGG( distinct studyFactor.nm, '|')) as "StudyFactors", (Select STRING_AGG(distinct stressorSrcType.nm, '|')) as "StressorSourceCategory", stressor.chem_term_nm as "ExposureStressorName", stressor.src_details as "StressorSourceDetails", stressor.sample_qty as "NumberOfStressorSamples", stressor.note as "StressorNotes", ereceptor.qty as "NumberOfReceptors", ereceptor.description as "Receptors", ereceptor.term_nm as "ReceptorDescription", ereceptor.term_acc_txt as "ReceptorID", ereceptor.note as "ReceptorNotes", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' || tobaccoUse.nm, COALESCE(COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' , tobaccoUse.nm)), '|')) as "SmokingStatus", ereceptor.age || ' ' || age_uom.nm as "Age", age_qualifier.nm as "AgeQualifier", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(pct as int),0)) || '% ' || gender.nm, COALESCE(COALESCE(NULLIF(CAST(pct as int),0)) || '% ' , gender.nm)), '|') from exp_receptor_gender expgender left outer join gender on expgender.gender_id=gender.id where exp_receptor_id = ereceptor.id ) as "Sex", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' || race.nm, COALESCE(COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' , race.nm)), '|')) as "Race", (Select STRING_AGG( distinct eventAssayMethod.nm, '|')) as "Methods" , eevent.detection_limit as "DetectionLimit", eevent.detection_limit_uom as "DetectionLimitUnitsOfMeasurement", eevent.detection_freq as "DetectionFrequency", emedium.nm as "Medium", eevent.exp_marker_term_nm as "ExposureMarker", eevent.exp_marker_lvl as "MarkerLevel", eevent.assay_uom as "MarkerUnitsOfMeasurement", eevent.assay_measurement_stat as "MarkerMeasurementStatistic", eevent.assay_note as "AssayNotes", (Select STRING_AGG( distinct country.nm, '|')) as "StudyCountries", (Select STRING_AGG( distinct eventLocation.geographic_region_nm, '|')) as "StateOrProvince", (Select STRING_AGG( distinct eventLocation.locality_txt, '|')) as "CityTownRegionOrArea", eevent.note as "ExposureEventNotes", eiot.description as "OutcomeRelationship", outcome.disease_term_nm as "DiseaseName", outcome.phenotype_action_degree_type_nm as "PhenotypeActionDegreeType", outcome.phenotype_term_nm as "PhenotypeName", (Select STRING_AGG( distinct expAnatomy.anatomy_term_nm, '|')) as "Anatomy", outcome.note as "ExposureOutcomeNotes" from exposure e left outer join reference pref on pref.acc_txt = e.reference_acc_txt left outer join reference_exp referenceExp on referenceExp.reference_acc_txt = e.reference_acc_txt left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id left outer join study_factor studyFactor on studyFactor.id = expStudyFactor.study_factor_id left outer join exp_event_project eventproject on eventproject.exp_event_id = e.exp_event_id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor ereceptor on e.exp_receptor_id = ereceptor.id left outer join age_uom age_uom on ereceptor.age_uom_id = age_uom.id left outer join age_qualifier age_qualifier on ereceptor.age_qualifier_id = age_qualifier.id left outer join exp_event eevent on e.exp_event_id = eevent.id left outer join medium emedium on eevent.medium_id = emedium.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType on esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse on ereceptor.id = receptorTobaccoUse.exp_receptor_id left outer join tobacco_use tobaccoUse on receptorTobaccoUse.tobacco_use_id = tobaccoUse.id left outer join exp_receptor_race receptorRace on ereceptor.id = receptorRace.exp_receptor_id left outer join race race on receptorRace.race_id = race.id left outer join exp_event_location eventLocation on eevent.id = eventLocation.exp_event_id left outer join country on eventLocation.country_id = country.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join exp_anatomy expAnatomy on outcome.id = expAnatomy.exp_outcome_id left outer join exp_event_assay_method eventAssayMethod on eevent.id = eventAssayMethod.exp_event_id where ereceptor.term_acc_txt in ( select acc_txt from term where id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( )))or outcome.disease_acc_txt in ( select acc_txt from term where id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( ))) group by "Reference", "Author", "AuthorSummary", "EnrollmentStartYear", "EnrollmentEndYear", "ExposureStressorName", "StressorSourceDetails", "NumberOfStressorSamples", "StressorNotes", "NumberOfReceptors", "Receptors", "ReceptorDescription", "ReceptorID", "ReceptorNotes", "Age", "AgeQualifier", "DetectionLimit", "DetectionLimitUnitsOfMeasurement", "DetectionFrequency", "Medium", "ExposureMarker", "MarkerLevel", "MarkerUnitsOfMeasurement", "MarkerMeasurementStatistic", "AssayNotes", "ExposureEventNotes", "OutcomeRelationship", "DiseaseName", "PhenotypeActionDegreeType", "PhenotypeName", "ExposureOutcomeNotes", ereceptor.id, eventLocation.exp_event_id
Date: 2025-04-21 10:44:47
Statement: select distinct e.reference_acc_txt as "Reference", pref.abbr_authors_txt as "Author", referenceExp.author_summary as "AuthorSummary", (Select STRING_AGG( distinct eventproject.project_nm, '|')) as "AssociatedStudyTitles", eevent.collection_start_yr as "EnrollmentStartYear", eevent.collection_end_yr as "EnrollmentEndYear", (Select STRING_AGG( distinct studyFactor.nm, '|')) as "StudyFactors", (Select STRING_AGG(distinct stressorSrcType.nm, '|')) as "StressorSourceCategory", stressor.chem_term_nm as "ExposureStressorName", stressor.src_details as "StressorSourceDetails", stressor.sample_qty as "NumberOfStressorSamples", stressor.note as "StressorNotes", ereceptor.qty as "NumberOfReceptors", ereceptor.description as "Receptors", ereceptor.term_nm as "ReceptorDescription", ereceptor.term_acc_txt as "ReceptorID", ereceptor.note as "ReceptorNotes", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' || tobaccoUse.nm, COALESCE(COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' , tobaccoUse.nm)), '|')) as "SmokingStatus", ereceptor.age || ' ' || age_uom.nm as "Age", age_qualifier.nm as "AgeQualifier", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(pct as int),0)) || '% ' || gender.nm, COALESCE(COALESCE(NULLIF(CAST(pct as int),0)) || '% ' , gender.nm)), '|') from exp_receptor_gender expgender left outer join gender on expgender.gender_id=gender.id where exp_receptor_id = ereceptor.id ) as "Sex", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' || race.nm, COALESCE(COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' , race.nm)), '|')) as "Race", (Select STRING_AGG( distinct eventAssayMethod.nm, '|')) as "Methods" , eevent.detection_limit as "DetectionLimit", eevent.detection_limit_uom as "DetectionLimitUnitsOfMeasurement", eevent.detection_freq as "DetectionFrequency", emedium.nm as "Medium", eevent.exp_marker_term_nm as "ExposureMarker", eevent.exp_marker_lvl as "MarkerLevel", eevent.assay_uom as "MarkerUnitsOfMeasurement", eevent.assay_measurement_stat as "MarkerMeasurementStatistic", eevent.assay_note as "AssayNotes", (Select STRING_AGG( distinct country.nm, '|')) as "StudyCountries", (Select STRING_AGG( distinct eventLocation.geographic_region_nm, '|')) as "StateOrProvince", (Select STRING_AGG( distinct eventLocation.locality_txt, '|')) as "CityTownRegionOrArea", eevent.note as "ExposureEventNotes", eiot.description as "OutcomeRelationship", outcome.disease_term_nm as "DiseaseName", outcome.phenotype_action_degree_type_nm as "PhenotypeActionDegreeType", outcome.phenotype_term_nm as "PhenotypeName", (Select STRING_AGG( distinct expAnatomy.anatomy_term_nm, '|')) as "Anatomy", outcome.note as "ExposureOutcomeNotes" from exposure e left outer join reference pref on pref.acc_txt = e.reference_acc_txt left outer join reference_exp referenceExp on referenceExp.reference_acc_txt = e.reference_acc_txt left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id left outer join study_factor studyFactor on studyFactor.id = expStudyFactor.study_factor_id left outer join exp_event_project eventproject on eventproject.exp_event_id = e.exp_event_id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor ereceptor on e.exp_receptor_id = ereceptor.id left outer join age_uom age_uom on ereceptor.age_uom_id = age_uom.id left outer join age_qualifier age_qualifier on ereceptor.age_qualifier_id = age_qualifier.id left outer join exp_event eevent on e.exp_event_id = eevent.id left outer join medium emedium on eevent.medium_id = emedium.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType on esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse on ereceptor.id = receptorTobaccoUse.exp_receptor_id left outer join tobacco_use tobaccoUse on receptorTobaccoUse.tobacco_use_id = tobaccoUse.id left outer join exp_receptor_race receptorRace on ereceptor.id = receptorRace.exp_receptor_id left outer join race race on receptorRace.race_id = race.id left outer join exp_event_location eventLocation on eevent.id = eventLocation.exp_event_id left outer join country on eventLocation.country_id = country.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join exp_anatomy expAnatomy on outcome.id = expAnatomy.exp_outcome_id left outer join exp_event_assay_method eventAssayMethod on eevent.id = eventAssayMethod.exp_event_id where stressor.chem_acc_txt in ( select acc_txt from term where id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( ))) or eevent.exp_marker_acc_txt in ( select acc_txt from term where id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( ))) group by "Reference", "Author", "AuthorSummary", "EnrollmentStartYear", "EnrollmentEndYear", "ExposureStressorName", "StressorSourceDetails", "NumberOfStressorSamples", "StressorNotes", "NumberOfReceptors", "Receptors", "ReceptorDescription", "ReceptorID", "ReceptorNotes", "Age", "AgeQualifier", "DetectionLimit", "DetectionLimitUnitsOfMeasurement", "DetectionFrequency", "Medium", "ExposureMarker", "MarkerLevel", "MarkerUnitsOfMeasurement", "MarkerMeasurementStatistic", "AssayNotes", "ExposureEventNotes", "OutcomeRelationship", "DiseaseName", "PhenotypeActionDegreeType", "PhenotypeName", "ExposureOutcomeNotes", ereceptor.id, eventLocation.exp_event_id
Date: 2025-04-22 06:33:09
8 2 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #8
Day Hour Count Apr 20 02 2 9 1 ERROR: syntax error in ts"..." sq.* ,COUNT(...) OVER() fullRowCount FROM (...) = 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(...) OVER(...) 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(...) ) 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 (...) = ) ORDER BY 13,14 ) sq LIMIT 50
Times Reported Most Frequent Error / Event #9
Day Hour Count Apr 25 23 1 - ERROR: syntax error in ts"原型製作 あらけん" 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) = 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', ) ) 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 ) = ) ORDER BY 13,14 ) sq LIMIT 50
Statement: SELECT /* GeneBasicQueryDAO */
Date: 2025-04-25 23:19:20
10 1 LOG: process ... still waiting for AccessExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #10
Day Hour Count Apr 21 12 1 - LOG: process 2620241 still waiting for AccessExclusiveLock on relation 8022620 of database 484829 after 1000.910 ms
Detail: Process holding the lock: 2645422. Wait queue: 2620241.
Statement: ALTER TABLE log_query_bots_unique RENAME to log_query_bots;Date: 2025-04-21 12:48:17
11 1 ERROR: SELECT datname , numbackends as numbackends , xact_commit as xact_commit , xact_rollback as xact_rollback , blks_read as blks_read , blks_hit as blks_hit , tup_returned as tup_returned , tup_fetched as tup_fetched , tup_inserted as tup_inserted , tup_updated as tup_updated , tup_deleted as tup_deleted , conflicts as conflicts , temp_files as temp_files , temp_bytes as temp_bytes , deadlocks as deadlocks , COALESCE(...) as checksum_failures , blk_read_time as blk_read_time , blk_write_time as blk_write_time FROM pg_catalog.pg_stat_database ) T
Times Reported Most Frequent Error / Event #11
Day Hour Count Apr 21 16 1 12 1 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #12
Day Hour Count Apr 21 10 1 - LOG: could not send data to client: Connection reset by peer
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-04-21 10:03:02 Database: ctdprd51 Application: User: pubeu Remote:
13 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #13
Day Hour Count Apr 23 07 1 - ERROR: duplicate key value violates unique constraint "term_label_ak1"
Detail: Key (acc_txt, synonym, term_label_type_id)=(D007203, E-132, 34) already exists.
Statement: insert into edit.TERM_LABEL ( acc_txt ,nm ,acc_db_id ,synonym ,object_type_id ,term_label_type_id ,reference_acc_txt ,reference_acc_db_id ,notes ,create_by ,mod_by ) values ( 'D007203' ,'Indigo Carmine' ,21 ,'E-132' ,2 ,34 ,'33424279' ,16 ,'' ,'apdavis' ,'apdavis' )Date: 2025-04-23 07:12:57 Database: ctdprd51 Application: User: editeu Remote:
14 1 ERROR: canceling autovacuum task
Times Reported Most Frequent Error / Event #14
Day Hour Count Apr 21 12 1 15 1 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #15
Day Hour Count Apr 21 12 1 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* GeneIdBySymbolAccDAO */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li INNER JOIN term_label_type lti ON li.term_label_type_id = lti.id AND li.object_type_id = lti.object_type_id AND UPPER(li.nm) = $1 AND lti.object_type_id = 4 AND lti.nm = 'SYMBOL' UNION SELECT l.object_id FROM db_link l WHERE l.acc_txt = $2 AND l.object_type_id = 4 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2025-04-21 12:46:47
16 1 WARNING: is not a PostgreSQL server process
Times Reported Most Frequent Error / Event #16
Day Hour Count Apr 20 18 1 17 1 FATAL: connection to client lost 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 (...) 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 (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #17
Day Hour Count Apr 20 05 1 - FATAL: connection to client lost 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 = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2025-04-20 05:03:51
18 1 ERROR: no operand in ts"..."
Times Reported Most Frequent Error / Event #18
Day Hour Count Apr 26 14 1 - ERROR: no operand in ts"そう & @MABODOHU1994 & /2023年9月 & - & TWILOG & ツイログ & "
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-04-26 14:20:48 Database: ctdprd51 Application: User: pubeu Remote: