-
Global information
- Generated on Sun May 18 04:15:36 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250517
- Parsed 505,233 log entries in 35s
- Log start from 2025-05-11 00:00:01 to 2025-05-17 23:59:50
-
Overview
Global Stats
- 758 Number of unique normalized queries
- 38,233 Number of queries
- 1d6h23m56s Total query duration
- 2025-05-11 00:00:06 First query
- 2025-05-17 23:59:50 Last query
- 5 queries/s at 2025-05-15 16:11:59 Query peak
- 1d6h23m56s Total query duration
- 1m9s Prepare/parse total duration
- 1m52s Bind total duration
- 1d6h20m54s Execute total duration
- 358 Number of events
- 18 Number of unique normalized events
- 174 Max number of times the same event was reported
- 0 Number of cancellation
- 95 Total number of automatic vacuums
- 219 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 44,807 Total number of sessions
- 99 sessions at 2025-05-13 02:20:07 Session peak
- 296d5h31m10s Total duration of sessions
- 9m31s Average duration of sessions
- 0 Average queries per session
- 2s442ms Average queries duration per session
- 9m28s Average idle time per session
- 44,808 Total number of connections
- 135 connections/s at 2025-05-15 16:11:36 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 5 queries/s Query Peak
- 2025-05-15 16:11:59 Date
SELECT Traffic
Key values
- 5 queries/s Query Peak
- 2025-05-15 16:11:59 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2 queries/s Query Peak
- 2025-05-16 10:00:29 Date
Queries duration
Key values
- 1d6h23m56s 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) May 11 00 273 0ms 5m14s 3s390ms 25s581ms 46s535ms 5m25s 01 234 0ms 31s227ms 2s637ms 27s706ms 37s886ms 1m2s 02 202 0ms 18s629ms 1s857ms 13s603ms 22s353ms 36s97ms 03 188 0ms 22s683ms 2s152ms 14s699ms 32s600ms 1m9s 04 238 0ms 21s635ms 1s788ms 10s756ms 22s79ms 45s424ms 05 292 1s3ms 2m58s 3s727ms 22s457ms 58s666ms 5m51s 06 279 0ms 59s153ms 2s953ms 32s555ms 1m5s 1m34s 07 195 0ms 21s230ms 2s27ms 20s11ms 23s414ms 1m8s 08 211 0ms 8s458ms 1s602ms 10s892ms 16s167ms 17s944ms 09 201 0ms 20s815ms 2s12ms 11s425ms 15s634ms 1m3s 10 254 0ms 59s231ms 3s278ms 40s759ms 1m3s 1m34s 11 207 0ms 57s292ms 3s128ms 33s555ms 53s281ms 2m2s 12 207 0ms 19s281ms 1s767ms 11s214ms 14s843ms 1m4s 13 223 0ms 19s415ms 2s298ms 26s419ms 37s137ms 1m5s 14 332 0ms 18m52s 13s730ms 1m35s 14m38s 22m24s 15 224 1s47ms 16s534ms 1s743ms 12s326ms 18s770ms 35s565ms 16 207 0ms 23s143ms 2s229ms 19s229ms 34s324ms 1m5s 17 178 0ms 17s156ms 2s65ms 12s631ms 19s536ms 49s185ms 18 55 0ms 59s13ms 4s174ms 5s223ms 38s293ms 1m15s 19 34 0ms 2s215ms 1s262ms 2s611ms 3s773ms 8s665ms 20 247 0ms 21s404ms 2s506ms 32s301ms 42s129ms 1m6s 21 216 0ms 39s724ms 3s196ms 39s602ms 54s456ms 1m22s 22 234 1s19ms 1m59s 3s35ms 32s596ms 39s969ms 2m57s 23 246 0ms 24s52ms 1s997ms 17s383ms 27s959ms 1m2s May 12 00 248 0ms 5m18s 4s34ms 38s122ms 1m2s 5m38s 01 266 0ms 48s624ms 3s248ms 25s580ms 1m3s 2m29s 02 71 0ms 17s543ms 2s363ms 5s39ms 12s325ms 41s422ms 03 23 0ms 10s744ms 2s521ms 4s416ms 4s820ms 10s744ms 04 176 0ms 18s424ms 1s738ms 11s951ms 14s650ms 31s551ms 05 265 0ms 20s725ms 2s611ms 33s622ms 58s880ms 1m7s 06 229 0ms 58s829ms 2s353ms 21s936ms 36s590ms 1m34s 07 250 1s8ms 20s63ms 1s802ms 12s921ms 24s696ms 1m3s 08 279 1s16ms 1m5s 3s523ms 52s500ms 1m10s 2m43s 09 224 0ms 18s160ms 2s114ms 18s955ms 20s24ms 1m8s 10 192 0ms 59s130ms 2s837ms 17s806ms 49s867ms 2m12s 11 46 0ms 5s61ms 2s83ms 5s264ms 7s858ms 9s342ms 12 52 0ms 17s731ms 3s793ms 5s142ms 20s763ms 57s591ms 13 28 0ms 18s460ms 3s503ms 3s985ms 5s179ms 35s464ms 14 34 0ms 58s712ms 5s693ms 3s968ms 24s289ms 1m30s 15 34 0ms 25s915ms 4s126ms 8s623ms 15s28ms 48s404ms 16 23 0ms 16s579ms 2s866ms 3s956ms 5s16ms 16s579ms 17 37 0ms 4s233ms 1s917ms 2s849ms 9s55ms 13s244ms 18 49 0ms 58s620ms 4s824ms 6s295ms 24s316ms 1m30s 19 45 0ms 6s276ms 2s171ms 9s848ms 11s398ms 12s252ms 20 44 0ms 21s948ms 3s192ms 4s383ms 13s700ms 42s564ms 21 50 0ms 7s552ms 1s600ms 5s108ms 7s671ms 21s386ms 22 264 0ms 26s700ms 2s37ms 19s948ms 27s980ms 1m40s 23 247 1s42ms 20s133ms 2s114ms 18s952ms 36s669ms 58s666ms May 13 00 293 0ms 5m17s 3s678ms 45s113ms 1m2s 5m29s 01 284 1s15ms 13m34s 4s765ms 25s491ms 29s630ms 13m41s 02 321 1s8ms 13m54s 4s567ms 25s349ms 32s294ms 14m2s 03 693 1s 21s790ms 1s448ms 40s405ms 49s202ms 1m40s 04 638 0ms 4s13ms 1s84ms 35s78ms 36s964ms 38s567ms 05 66 0ms 4s864ms 2s116ms 10s409ms 16s682ms 26s982ms 06 21 0ms 59s786ms 8s759ms 2s608ms 24s288ms 1m31s 07 9 0ms 5s516ms 2s450ms 1s274ms 4s122ms 6s53ms 08 31 0ms 5s424ms 2s412ms 4s183ms 5s424ms 7s727ms 09 87 0ms 5s770ms 1s615ms 6s220ms 8s308ms 12s10ms 10 288 1s3ms 59s907ms 2s1ms 13s725ms 35s330ms 1m35s 11 257 0ms 44s298ms 2s538ms 27s799ms 48s252ms 1m33s 12 241 0ms 48s216ms 3s94ms 43s959ms 53s240ms 1m12s 13 273 0ms 58s444ms 2s553ms 21s382ms 56s214ms 2m37s 14 726 1s 59s443ms 3s610ms 1m21s 1m54s 3m16s 15 123 0ms 5s996ms 1s541ms 8s18ms 10s361ms 14s442ms 16 11 0ms 3s993ms 1s746ms 1s212ms 1s573ms 5s204ms 17 24 0ms 16s263ms 2s52ms 2s470ms 3s591ms 16s263ms 18 37 0ms 58s935ms 5s181ms 2s531ms 24s234ms 1m30s 19 21 0ms 15s322ms 2s132ms 2s349ms 2s602ms 15s322ms 20 21 0ms 2s533ms 1s461ms 1s343ms 2s260ms 7s321ms 21 28 0ms 8s100ms 2s104ms 2s331ms 6s424ms 17s243ms 22 179 0ms 18s131ms 2s181ms 9s487ms 41s120ms 55s783ms 23 251 0ms 20s306ms 2s81ms 20s535ms 38s101ms 54s552ms May 14 00 241 0ms 5m20s 3s521ms 19s136ms 51s520ms 5m29s 01 228 0ms 22s899ms 2s264ms 19s756ms 44s422ms 1m12s 02 257 0ms 23s2ms 2s85ms 21s495ms 23s938ms 33s309ms 03 267 0ms 7s753ms 1s451ms 10s329ms 15s342ms 35s343ms 04 208 0ms 17s502ms 2s78ms 17s263ms 28s37ms 43s155ms 05 328 1s2ms 27s130ms 2s388ms 29s3ms 1m3s 1m24s 06 270 0ms 2m20s 3s303ms 44s621ms 1m40s 2m36s 07 246 0ms 44s657ms 2s275ms 27s829ms 39s376ms 48s457ms 08 247 0ms 16s964ms 1s796ms 15s447ms 21s702ms 38s618ms 09 226 0ms 19s307ms 2s82ms 16s718ms 37s383ms 1m 10 54 0ms 59s192ms 4s206ms 3s951ms 34s52ms 1m33s 11 24 0ms 4s27ms 1s729ms 2s741ms 3s950ms 8s940ms 12 21 0ms 5s257ms 1s845ms 1s558ms 3s947ms 5s264ms 13 102 0ms 20s561ms 2s422ms 11s966ms 19s507ms 38s369ms 14 293 0ms 1m3s 2s623ms 30s843ms 1m3s 1m40s 15 197 0ms 26s471ms 2s750ms 27s742ms 37s784ms 59s253ms 16 198 0ms 25s535ms 3s612ms 52s151ms 1m1s 1m7s 17 232 0ms 20s896ms 1s672ms 9s513ms 12s80ms 1m9s 18 310 0ms 59s861ms 3s162ms 46s903ms 1m19s 1m40s 19 235 0ms 57s149ms 2s601ms 22s47ms 59s630ms 1m47s 20 244 0ms 22s800ms 2s493ms 21s533ms 1m4s 1m20s 21 271 0ms 20s862ms 1s936ms 16s433ms 27s781ms 1m8s 22 291 1s22ms 20s42ms 2s909ms 47s407ms 56s969ms 1m2s 23 79 0ms 19s403ms 2s629ms 9s842ms 25s811ms 1m8s May 15 00 4 0ms 5m20s 1m40s 0ms 0ms 5m27s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 77 0ms 22s275ms 2s322ms 9s260ms 13s951ms 1m12s 04 311 1s3ms 22s711ms 2s214ms 23s584ms 37s704ms 1m17s 05 348 1s2ms 21s921ms 2s519ms 35s457ms 48s381ms 58s696ms 06 123 0ms 59s870ms 3s400ms 20s548ms 44s621ms 1m36s 07 289 0ms 19s338ms 2s327ms 24s609ms 41s413ms 1m5s 08 272 0ms 23s83ms 2s4ms 23s895ms 27s963ms 1m1s 09 299 0ms 1m18s 2s576ms 20s573ms 1m 2m19s 10 296 0ms 1m 2s641ms 37s21ms 55s667ms 1m36s 11 252 0ms 22s121ms 1s951ms 16s252ms 26s118ms 53s283ms 12 44 0ms 3s935ms 1s498ms 3s763ms 3s922ms 5s128ms 13 26 0ms 10s211ms 2s272ms 3s865ms 5s530ms 10s211ms 14 306 0ms 2m57s 4s237ms 44s282ms 1m13s 8m59s 15 308 1s30ms 26s287ms 2s104ms 22s971ms 42s602ms 1m1s 16 340 1s2ms 27s704ms 2s317ms 44s482ms 55s31ms 1m57s 17 293 1s6ms 23s299ms 2s551ms 26s588ms 1m10s 1m33s 18 286 0ms 1m 2s594ms 27s991ms 43s998ms 1m39s 19 176 0ms 17s485ms 2s291ms 19s115ms 26s727ms 34s228ms 20 317 0ms 19s724ms 1s878ms 17s195ms 40s94ms 1m1s 21 328 1s 27s558ms 2s580ms 37s256ms 44s263ms 1m3s 22 378 1s20ms 20s761ms 2s270ms 40s734ms 1m5s 1m15s 23 331 0ms 19s736ms 2s207ms 25s336ms 1m3s 1m12s May 16 00 123 0ms 5m23s 4s541ms 9s11ms 14s691ms 5m34s 01 352 1s9ms 17s700ms 1s813ms 20s380ms 44s382ms 1m6s 02 338 1s3ms 1m18s 3s718ms 1m21s 1m28s 1m54s 03 314 1s3ms 25s753ms 2s136ms 25s623ms 1m2s 1m21s 04 363 1s9ms 18m21s 5s23ms 29s818ms 58s2ms 18m28s 05 264 0ms 19s788ms 2s617ms 28s318ms 52s657ms 1m42s 06 237 0ms 1m 2s701ms 30s783ms 46s186ms 1m35s 07 328 1s4ms 21s228ms 2s388ms 34s821ms 50s757ms 1m8s 08 344 1s1ms 26s844ms 2s85ms 23s245ms 43s449ms 1m21s 09 348 0ms 4m13s 3s56ms 54s387ms 1m9s 4m24s 10 380 1s2ms 3m11s 3s383ms 48s514ms 1m8s 3m18s 11 138 0ms 24s168ms 2s331ms 13s839ms 14s412ms 1m11s 12 363 0ms 22s302ms 2s71ms 28s870ms 47s596ms 59s982ms 13 411 1s4ms 1m7s 2s767ms 49s443ms 1m16s 2m35s 14 355 0ms 7m10s 4s996ms 59s660ms 3m48s 7m18s 15 290 0ms 25s24ms 2s593ms 30s68ms 58s561ms 1m21s 16 10 0ms 6s478ms 3s217ms 1s474ms 10s734ms 12s509ms 17 274 0ms 25s667ms 2s441ms 33s210ms 40s473ms 1m8s 18 409 1s5ms 1m 2s600ms 41s163ms 1m23s 2m18s 19 368 1s 7m11s 3s795ms 58s504ms 1m16s 7m18s 20 367 1s2ms 21s915ms 2s123ms 23s348ms 57s668ms 1m10s 21 287 0ms 3m20s 2s473ms 15s786ms 41s891ms 3m21s 22 94 0ms 20s779ms 2s31ms 6s637ms 12s239ms 43s812ms 23 379 1s15ms 5m35s 3s170ms 33s893ms 1m6s 5m40s May 17 00 419 1s6ms 5m32s 3s69ms 43s346ms 1m13s 5m56s 01 366 1s 22s217ms 2s14ms 25s814ms 46s995ms 1m10s 02 400 0ms 2m45s 5s440ms 46s283ms 2m44s 16m24s 03 104 0ms 47s808ms 4s810ms 26s165ms 47s175ms 2m27s 04 327 0ms 19s521ms 2s78ms 21s973ms 55s599ms 1m3s 05 432 1s 23s859ms 2s226ms 38s701ms 53s759ms 1m17s 06 327 1s2ms 19s373ms 2s178ms 25s741ms 42s175ms 57s625ms 07 324 1s2ms 35s971ms 2s78ms 19s768ms 46s348ms 1m23s 08 160 0ms 2m44s 3s752ms 25s478ms 36s468ms 2m45s 09 261 0ms 32s294ms 2s181ms 21s968ms 43s495ms 1m23s 10 392 1s1ms 5m38s 4s205ms 41s686ms 1m35s 5m53s 11 356 1s7ms 23s259ms 2s172ms 25s517ms 43s792ms 1m11s 12 377 1s8ms 21s74ms 2s101ms 33s271ms 49s51ms 1m6s 13 236 0ms 25s959ms 2s31ms 14s843ms 31s108ms 1m33s 14 265 0ms 26s710ms 2s149ms 17s915ms 47s40ms 1m29s 15 369 1s3ms 3m5s 2s435ms 24s43ms 36s812ms 3m11s 16 403 1s18ms 16s346ms 1s567ms 18s278ms 20s747ms 40s553ms 17 351 1s1ms 3m55s 2s278ms 17s740ms 29s792ms 4m1s 18 250 0ms 1m12s 3s625ms 48s802ms 1m16s 1m34s 19 98 0ms 25m2s 51s307ms 2m6s 7m31s 25m46s 20 52 0ms 1m 6s404ms 15s312ms 58s605ms 1m16s 21 291 0ms 18s159ms 1s758ms 14s587ms 18s576ms 1m10s 22 408 1s 20s181ms 2s208ms 33s358ms 45s954ms 1m17s 23 380 0ms 25s88ms 1s910ms 27s813ms 32s203ms 1m17s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 11 00 272 0 3s378ms 12s197ms 25s581ms 58s962ms 01 234 0 2s637ms 12s105ms 27s706ms 48s167ms 02 201 0 1s861ms 8s968ms 13s603ms 22s675ms 03 188 0 2s152ms 8s66ms 14s699ms 34s933ms 04 237 0 1s791ms 9s334ms 10s756ms 24s464ms 05 288 0 3s747ms 14s956ms 22s457ms 3m5s 06 267 12 2s953ms 22s775ms 32s555ms 1m5s 07 195 0 2s27ms 6s959ms 20s11ms 24s650ms 08 211 0 1s602ms 8s404ms 10s892ms 17s289ms 09 201 0 2s12ms 8s935ms 11s425ms 58s700ms 10 243 11 3s278ms 16s122ms 40s759ms 1m26s 11 207 0 3s128ms 10s508ms 33s555ms 1m1s 12 207 0 1s767ms 7s640ms 11s214ms 19s597ms 13 223 0 2s298ms 10s417ms 26s419ms 43s593ms 14 321 11 13s730ms 24s332ms 1m30s 21m20s 15 224 0 1s743ms 9s156ms 12s326ms 18s830ms 16 207 0 2s229ms 8s561ms 19s229ms 40s521ms 17 178 0 2s65ms 8s783ms 12s631ms 42s481ms 18 47 8 4s174ms 2s545ms 5s223ms 1m14s 19 34 0 1s262ms 1s310ms 2s611ms 8s665ms 20 247 0 2s506ms 14s14ms 32s301ms 54s561ms 21 216 0 3s196ms 18s167ms 39s602ms 1m11s 22 234 0 3s35ms 10s354ms 32s596ms 52s786ms 23 246 0 1s997ms 12s88ms 17s383ms 36s573ms May 12 00 247 0 4s23ms 18s741ms 38s122ms 1m11s 01 266 0 3s248ms 17s940ms 25s580ms 2m28s 02 71 0 2s363ms 4s66ms 5s39ms 26s315ms 03 23 0 2s521ms 2s54ms 4s416ms 10s744ms 04 176 0 1s738ms 7s768ms 11s951ms 23s986ms 05 261 0 2s616ms 20s877ms 33s622ms 1m2s 06 218 11 2s353ms 9s115ms 21s936ms 45s110ms 07 250 0 1s802ms 10s35ms 12s921ms 39s713ms 08 279 0 3s523ms 20s796ms 52s500ms 1m29s 09 224 0 2s114ms 10s955ms 18s955ms 36s609ms 10 182 10 2s837ms 10s75ms 17s964ms 58s511ms 11 45 0 2s87ms 3s825ms 5s264ms 9s342ms 12 52 0 3s793ms 3s966ms 5s142ms 21s830ms 13 28 0 3s503ms 1s563ms 3s985ms 35s464ms 14 23 11 5s693ms 1s333ms 3s968ms 1m30s 15 34 0 4s126ms 2s320ms 8s623ms 20s345ms 16 23 0 2s866ms 1s324ms 3s956ms 8s251ms 17 37 0 1s917ms 2s266ms 2s849ms 9s535ms 18 38 11 4s824ms 2s757ms 6s295ms 44s261ms 19 45 0 2s171ms 2s280ms 9s848ms 12s252ms 20 44 0 3s192ms 2s516ms 4s383ms 20s977ms 21 50 0 1s600ms 2s440ms 5s108ms 21s386ms 22 264 0 2s37ms 10s351ms 19s948ms 32s908ms 23 247 0 2s114ms 11s422ms 18s952ms 41s68ms May 13 00 292 0 3s667ms 20s336ms 45s113ms 1m15s 01 284 0 4s765ms 13s373ms 25s491ms 40s701ms 02 321 0 4s567ms 18s44ms 25s349ms 38s341ms 03 693 0 1s448ms 32s106ms 40s405ms 1m13s 04 638 0 1s84ms 33s647ms 35s78ms 37s744ms 05 59 0 2s38ms 2s214ms 7s405ms 26s982ms 06 10 11 8s759ms 1s140ms 2s608ms 44s663ms 07 9 0 2s450ms 0ms 1s274ms 5s516ms 08 31 0 2s412ms 3s768ms 4s183ms 7s624ms 09 87 0 1s615ms 5s197ms 6s220ms 11s699ms 10 277 11 2s1ms 10s747ms 13s725ms 44s672ms 11 257 0 2s538ms 13s850ms 27s799ms 52s538ms 12 241 0 3s94ms 12s957ms 43s959ms 55s265ms 13 273 0 2s553ms 11s374ms 21s382ms 1m1s 14 715 11 3s610ms 1m 1m31s 1m54s 15 123 0 1s541ms 6s323ms 8s18ms 14s227ms 16 11 0 1s746ms 1s192ms 1s212ms 5s204ms 17 23 0 2s57ms 1s208ms 2s470ms 16s263ms 18 26 11 5s181ms 1s184ms 2s531ms 44s200ms 19 21 0 2s132ms 1s192ms 2s349ms 15s322ms 20 21 0 1s461ms 1s292ms 1s343ms 7s321ms 21 28 0 2s104ms 1s333ms 2s331ms 9s532ms 22 179 0 2s181ms 7s444ms 9s487ms 45s332ms 23 251 0 2s81ms 10s899ms 20s535ms 47s839ms May 14 00 240 0 3s508ms 10s897ms 19s136ms 1m 01 227 0 2s265ms 8s798ms 19s756ms 1m11s 02 257 0 2s85ms 14s126ms 21s495ms 25s436ms 03 267 0 1s451ms 9s18ms 10s329ms 18s309ms 04 208 0 2s78ms 9s564ms 17s263ms 34s923ms 05 324 0 2s390ms 19s736ms 29s3ms 1m13s 06 259 11 3s303ms 11s229ms 44s621ms 2m18s 07 245 0 2s270ms 9s64ms 27s829ms 47s678ms 08 247 0 1s796ms 10s426ms 15s447ms 35s739ms 09 225 0 2s83ms 8s861ms 16s718ms 39s331ms 10 43 11 4s206ms 2s493ms 5s481ms 44s345ms 11 24 0 1s729ms 1s386ms 2s741ms 8s940ms 12 21 0 1s845ms 1s364ms 1s558ms 5s257ms 13 102 0 2s422ms 10s97ms 11s966ms 22s490ms 14 282 11 2s623ms 19s493ms 30s843ms 1m4s 15 197 0 2s750ms 12s466ms 27s742ms 56s867ms 16 196 0 3s626ms 19s630ms 52s151ms 1m4s 17 232 0 1s672ms 8s837ms 9s513ms 16s443ms 18 299 11 3s162ms 23s100ms 44s321ms 1m31s 19 235 0 2s601ms 10s288ms 22s47ms 1m3s 20 244 0 2s493ms 11s816ms 21s533ms 1m11s 21 271 0 1s936ms 9s943ms 16s433ms 58s368ms 22 291 0 2s909ms 18s632ms 47s407ms 58s305ms 23 79 0 2s629ms 5s140ms 9s842ms 1m8s May 15 00 3 0 2m11s 0ms 0ms 5m20s 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 77 0 2s322ms 6s562ms 9s260ms 1m12s 04 311 0 2s214ms 14s621ms 23s584ms 45s676ms 05 344 0 2s522ms 24s200ms 35s457ms 48s381ms 06 112 11 3s400ms 7s979ms 20s548ms 44s820ms 07 289 0 2s327ms 17s361ms 24s609ms 45s98ms 08 272 0 2s4ms 10s981ms 23s895ms 41s638ms 09 299 0 2s576ms 12s123ms 20s573ms 1m25s 10 285 11 2s641ms 16s859ms 37s21ms 58s346ms 11 252 0 1s951ms 11s827ms 16s252ms 44s523ms 12 44 0 1s498ms 2s676ms 3s763ms 5s128ms 13 26 0 2s272ms 1s703ms 3s865ms 5s541ms 14 295 11 4s237ms 13s553ms 44s282ms 1m31s 15 308 0 2s104ms 12s570ms 22s971ms 44s816ms 16 340 0 2s317ms 11s469ms 44s482ms 1m51s 17 293 0 2s551ms 13s772ms 26s588ms 1m13s 18 275 10 2s595ms 18s168ms 22s842ms 45s92ms 19 176 0 2s291ms 12s76ms 19s115ms 30s505ms 20 317 0 1s878ms 12s646ms 17s195ms 54s356ms 21 328 0 2s580ms 26s545ms 37s256ms 55s294ms 22 378 0 2s270ms 19s316ms 40s734ms 1m7s 23 331 0 2s207ms 14s164ms 25s336ms 1m4s May 16 00 122 0 4s523ms 5s372ms 9s11ms 1m2s 01 352 0 1s813ms 11s140ms 20s380ms 44s432ms 02 338 0 3s718ms 30s425ms 1m21s 1m34s 03 314 0 2s136ms 10s438ms 25s623ms 1m12s 04 362 0 5s29ms 15s783ms 29s818ms 1m2s 05 259 0 2s621ms 14s503ms 28s318ms 1m3s 06 226 11 2s701ms 13s893ms 30s783ms 56s467ms 07 328 0 2s388ms 21s91ms 34s821ms 54s504ms 08 342 0 2s82ms 13s639ms 23s245ms 1m14s 09 347 0 3s57ms 16s279ms 54s387ms 1m17s 10 365 11 3s392ms 34s42ms 46s501ms 1m33s 11 138 0 2s331ms 9s677ms 13s839ms 1m11s 12 363 0 2s71ms 18s229ms 28s870ms 54s792ms 13 411 0 2s767ms 20s478ms 49s443ms 1m57s 14 344 11 4s996ms 15s445ms 59s660ms 4m41s 15 289 0 2s590ms 21s29ms 30s68ms 1m7s 16 10 0 3s217ms 0ms 1s474ms 12s509ms 17 274 0 2s441ms 24s5ms 33s210ms 1m8s 18 397 11 2s602ms 21s373ms 47s740ms 1m30s 19 368 0 3s795ms 25s268ms 58s504ms 1m16s 20 366 0 2s123ms 15s359ms 23s348ms 1m3s 21 287 0 2s473ms 11s966ms 15s786ms 52s941ms 22 93 0 2s31ms 4s290ms 6s637ms 21s344ms 23 379 0 3s170ms 16s555ms 33s893ms 1m54s May 17 00 417 0 3s59ms 16s424ms 43s346ms 1m14s 01 365 0 2s13ms 14s193ms 25s814ms 1m2s 02 400 0 5s440ms 23s658ms 46s283ms 2m55s 03 104 0 4s810ms 6s391ms 26s165ms 2m27s 04 327 0 2s78ms 14s737ms 21s973ms 1m3s 05 428 0 2s226ms 26s596ms 38s701ms 1m 06 326 0 2s174ms 13s448ms 25s741ms 50s424ms 07 323 0 2s78ms 13s636ms 19s768ms 58s977ms 08 160 0 3s752ms 18s313ms 25s478ms 2m45s 09 261 0 2s181ms 13s179ms 21s968ms 1m16s 10 391 0 4s209ms 22s144ms 41s686ms 5m42s 11 356 0 2s172ms 14s523ms 25s517ms 1m7s 12 377 0 2s101ms 16s930ms 33s271ms 49s187ms 13 236 0 2s31ms 8s566ms 14s843ms 35s912ms 14 265 0 2s149ms 13s368ms 17s915ms 1m4s 15 369 0 2s435ms 16s814ms 24s43ms 1m6s 16 403 0 1s567ms 15s288ms 18s278ms 25s389ms 17 351 0 2s278ms 12s954ms 17s740ms 45s346ms 18 222 27 3s629ms 19s584ms 44s445ms 1m14s 19 52 44 52s333ms 1m11s 2m5s 25m5s 20 43 9 6s404ms 5s312ms 15s312ms 1m16s 21 291 0 1s758ms 10s315ms 14s587ms 47s810ms 22 406 0 2s203ms 21s650ms 33s358ms 45s954ms 23 379 0 1s908ms 14s962ms 27s813ms 37s337ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 11 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 May 12 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 May 13 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 May 14 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 May 15 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 May 16 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 17 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare May 11 00 0 273 273.00 0.00% 01 0 234 234.00 0.00% 02 0 202 202.00 0.00% 03 0 188 188.00 0.00% 04 0 238 238.00 0.00% 05 0 292 292.00 0.00% 06 0 290 290.00 0.00% 07 0 228 228.00 0.00% 08 0 235 235.00 0.00% 09 0 201 201.00 0.00% 10 0 243 243.00 0.00% 11 0 219 219.00 0.00% 12 0 214 214.00 0.00% 13 0 223 223.00 0.00% 14 0 321 321.00 0.00% 15 0 224 224.00 0.00% 16 2 207 103.50 0.97% 17 0 187 187.00 0.00% 18 0 53 53.00 0.00% 19 0 34 34.00 0.00% 20 0 247 247.00 0.00% 21 0 216 216.00 0.00% 22 0 234 234.00 0.00% 23 0 246 246.00 0.00% May 12 00 0 247 247.00 0.00% 01 0 266 266.00 0.00% 02 0 71 71.00 0.00% 03 0 23 23.00 0.00% 04 0 176 176.00 0.00% 05 1 263 263.00 0.38% 06 0 218 218.00 0.00% 07 0 250 250.00 0.00% 08 2 283 141.50 0.72% 09 0 236 236.00 0.00% 10 0 190 190.00 0.00% 11 0 47 47.00 0.00% 12 0 52 52.00 0.00% 13 0 28 28.00 0.00% 14 0 23 23.00 0.00% 15 0 38 38.00 0.00% 16 0 28 28.00 0.00% 17 0 39 39.00 0.00% 18 0 38 38.00 0.00% 19 0 45 45.00 0.00% 20 0 44 44.00 0.00% 21 0 50 50.00 0.00% 22 0 264 264.00 0.00% 23 0 247 247.00 0.00% May 13 00 0 291 291.00 0.00% 01 0 284 284.00 0.00% 02 0 321 321.00 0.00% 03 0 693 693.00 0.00% 04 0 638 638.00 0.00% 05 0 66 66.00 0.00% 06 0 10 10.00 0.00% 07 0 11 11.00 0.00% 08 0 32 32.00 0.00% 09 0 93 93.00 0.00% 10 0 283 283.00 0.00% 11 0 277 277.00 0.00% 12 0 254 254.00 0.00% 13 0 271 271.00 0.00% 14 0 710 710.00 0.00% 15 0 123 123.00 0.00% 16 0 12 12.00 0.00% 17 0 25 25.00 0.00% 18 0 26 26.00 0.00% 19 0 21 21.00 0.00% 20 0 21 21.00 0.00% 21 0 28 28.00 0.00% 22 0 181 181.00 0.00% 23 0 251 251.00 0.00% May 14 00 0 239 239.00 0.00% 01 0 228 228.00 0.00% 02 0 257 257.00 0.00% 03 0 267 267.00 0.00% 04 0 208 208.00 0.00% 05 0 328 328.00 0.00% 06 0 259 259.00 0.00% 07 0 264 264.00 0.00% 08 0 248 248.00 0.00% 09 0 226 226.00 0.00% 10 0 43 43.00 0.00% 11 0 24 24.00 0.00% 12 0 21 21.00 0.00% 13 0 102 102.00 0.00% 14 0 290 290.00 0.00% 15 0 210 210.00 0.00% 16 0 195 195.00 0.00% 17 0 232 232.00 0.00% 18 0 299 299.00 0.00% 19 0 235 235.00 0.00% 20 0 244 244.00 0.00% 21 0 271 271.00 0.00% 22 0 291 291.00 0.00% 23 0 79 79.00 0.00% May 15 00 0 2 2.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 77 77.00 0.00% 04 0 311 311.00 0.00% 05 0 348 348.00 0.00% 06 0 123 123.00 0.00% 07 0 318 318.00 0.00% 08 0 285 285.00 0.00% 09 0 303 303.00 0.00% 10 0 310 310.00 0.00% 11 0 276 276.00 0.00% 12 0 44 44.00 0.00% 13 0 36 36.00 0.00% 14 0 295 295.00 0.00% 15 0 308 308.00 0.00% 16 0 340 340.00 0.00% 17 0 308 308.00 0.00% 18 0 279 279.00 0.00% 19 0 176 176.00 0.00% 20 0 317 317.00 0.00% 21 0 328 328.00 0.00% 22 0 378 378.00 0.00% 23 0 331 331.00 0.00% May 16 00 0 124 124.00 0.00% 01 0 352 352.00 0.00% 02 0 338 338.00 0.00% 03 0 314 314.00 0.00% 04 0 363 363.00 0.00% 05 0 265 265.00 0.00% 06 0 233 233.00 0.00% 07 0 343 343.00 0.00% 08 0 350 350.00 0.00% 09 0 349 349.00 0.00% 10 0 372 372.00 0.00% 11 0 142 142.00 0.00% 12 0 365 365.00 0.00% 13 0 411 411.00 0.00% 14 0 356 356.00 0.00% 15 0 310 310.00 0.00% 16 0 10 10.00 0.00% 17 0 274 274.00 0.00% 18 0 398 398.00 0.00% 19 0 368 368.00 0.00% 20 0 368 368.00 0.00% 21 0 287 287.00 0.00% 22 0 94 94.00 0.00% 23 0 379 379.00 0.00% May 17 00 0 418 418.00 0.00% 01 0 366 366.00 0.00% 02 0 400 400.00 0.00% 03 0 104 104.00 0.00% 04 0 327 327.00 0.00% 05 0 432 432.00 0.00% 06 0 327 327.00 0.00% 07 0 324 324.00 0.00% 08 0 160 160.00 0.00% 09 0 261 261.00 0.00% 10 0 392 392.00 0.00% 11 0 356 356.00 0.00% 12 0 378 378.00 0.00% 13 0 236 236.00 0.00% 14 0 265 265.00 0.00% 15 0 369 369.00 0.00% 16 0 403 403.00 0.00% 17 0 351 351.00 0.00% 18 0 223 223.00 0.00% 19 0 54 54.00 0.00% 20 0 43 43.00 0.00% 21 0 291 291.00 0.00% 22 0 408 408.00 0.00% 23 0 380 380.00 0.00% Day Hour Count Average / Second May 11 00 204 0.06/s 01 256 0.07/s 02 329 0.09/s 03 189 0.05/s 04 207 0.06/s 05 285 0.08/s 06 262 0.07/s 07 150 0.04/s 08 144 0.04/s 09 143 0.04/s 10 185 0.05/s 11 199 0.06/s 12 216 0.06/s 13 164 0.05/s 14 232 0.06/s 15 158 0.04/s 16 152 0.04/s 17 143 0.04/s 18 81 0.02/s 19 88 0.02/s 20 200 0.06/s 21 176 0.05/s 22 158 0.04/s 23 253 0.07/s May 12 00 203 0.06/s 01 216 0.06/s 02 134 0.04/s 03 89 0.02/s 04 151 0.04/s 05 329 0.09/s 06 195 0.05/s 07 168 0.05/s 08 210 0.06/s 09 203 0.06/s 10 1,263 0.35/s 11 91 0.03/s 12 88 0.02/s 13 81 0.02/s 14 85 0.02/s 15 84 0.02/s 16 85 0.02/s 17 81 0.02/s 18 83 0.02/s 19 75 0.02/s 20 95 0.03/s 21 295 0.08/s 22 1,621 0.45/s 23 207 0.06/s May 13 00 172 0.05/s 01 279 0.08/s 02 1,299 0.36/s 03 233 0.06/s 04 155 0.04/s 05 111 0.03/s 06 79 0.02/s 07 76 0.02/s 08 94 0.03/s 09 132 0.04/s 10 200 0.06/s 11 240 0.07/s 12 172 0.05/s 13 270 0.07/s 14 276 0.08/s 15 147 0.04/s 16 71 0.02/s 17 77 0.02/s 18 74 0.02/s 19 78 0.02/s 20 104 0.03/s 21 75 0.02/s 22 186 0.05/s 23 328 0.09/s May 14 00 205 0.06/s 01 182 0.05/s 02 172 0.05/s 03 169 0.05/s 04 153 0.04/s 05 272 0.08/s 06 226 0.06/s 07 425 0.12/s 08 185 0.05/s 09 211 0.06/s 10 112 0.03/s 11 89 0.02/s 12 75 0.02/s 13 110 0.03/s 14 922 0.26/s 15 712 0.20/s 16 376 0.10/s 17 150 0.04/s 18 216 0.06/s 19 255 0.07/s 20 330 0.09/s 21 180 0.05/s 22 267 0.07/s 23 1,073 0.30/s May 15 00 105 0.03/s 01 63 0.02/s 02 202 0.06/s 03 122 0.03/s 04 207 0.06/s 05 380 0.11/s 06 128 0.04/s 07 219 0.06/s 08 198 0.06/s 09 300 0.08/s 10 223 0.06/s 11 268 0.07/s 12 81 0.02/s 13 81 0.02/s 14 252 0.07/s 15 253 0.07/s 16 1,312 0.36/s 17 324 0.09/s 18 349 0.10/s 19 301 0.08/s 20 315 0.09/s 21 658 0.18/s 22 278 0.08/s 23 168 0.05/s May 16 00 97 0.03/s 01 264 0.07/s 02 233 0.06/s 03 1,395 0.39/s 04 241 0.07/s 05 237 0.07/s 06 185 0.05/s 07 388 0.11/s 08 342 0.10/s 09 254 0.07/s 10 467 0.13/s 11 142 0.04/s 12 360 0.10/s 13 341 0.09/s 14 249 0.07/s 15 1,253 0.35/s 16 188 0.05/s 17 225 0.06/s 18 450 0.12/s 19 371 0.10/s 20 294 0.08/s 21 213 0.06/s 22 109 0.03/s 23 199 0.06/s May 17 00 529 0.15/s 01 304 0.08/s 02 277 0.08/s 03 104 0.03/s 04 320 0.09/s 05 490 0.14/s 06 202 0.06/s 07 276 0.08/s 08 195 0.05/s 09 246 0.07/s 10 504 0.14/s 11 293 0.08/s 12 244 0.07/s 13 191 0.05/s 14 188 0.05/s 15 256 0.07/s 16 389 0.11/s 17 334 0.09/s 18 175 0.05/s 19 82 0.02/s 20 77 0.02/s 21 318 0.09/s 22 370 0.10/s 23 459 0.13/s Day Hour Count Average Duration Average idle time May 11 00 204 17m35s 17m30s 01 256 9m41s 9m39s 02 329 7m1s 7m 03 189 13m29s 13m27s 04 207 11m46s 11m44s 05 285 8m24s 8m20s 06 262 9m7s 9m3s 07 150 16m3s 16m 08 144 16m10s 16m8s 09 143 17m36s 17m33s 10 185 13m28s 13m23s 11 199 11m51s 11m48s 12 216 11m37s 11m35s 13 164 14m25s 14m22s 14 232 10m34s 10m14s 15 158 14m58s 14m55s 16 152 21m34s 21m31s 17 143 17m15s 17m13s 18 81 29m31s 29m28s 19 88 27m35s 27m34s 20 200 11m7s 11m4s 21 175 12m40s 12m36s 22 159 15m46s 15m41s 23 253 9m36s 9m34s May 12 00 203 11m43s 11m38s 01 216 18m43s 18m39s 02 134 17m19s 17m18s 03 89 27m10s 27m10s 04 151 16m15s 16m13s 05 329 10m50s 10m48s 06 195 12m4s 12m1s 07 168 14m32s 14m29s 08 210 12m4s 12m 09 203 11m51s 11m49s 10 1,263 1m57s 1m57s 11 91 26m39s 26m37s 12 88 26m23s 26m20s 13 81 30m33s 30m32s 14 85 29m4s 29m2s 15 84 27m35s 27m33s 16 85 29m16s 29m16s 17 81 29m41s 29m40s 18 83 28m44s 28m41s 19 75 29m19s 29m18s 20 95 32m42s 32m41s 21 284 8m33s 8m33s 22 1,632 1m33s 1m33s 23 207 11m47s 11m44s May 13 00 172 14m 13m53s 01 278 8m58s 8m53s 02 1,300 1m57s 1m56s 03 233 12m19s 12m14s 04 155 14m34s 14m30s 05 111 22m25s 22m24s 06 79 29m26s 29m24s 07 76 31m43s 31m43s 08 94 26m41s 26m40s 09 132 19m3s 19m2s 10 200 11m51s 11m48s 11 240 10m6s 10m4s 12 171 14m11s 14m6s 13 270 9m3s 9m1s 14 274 8m56s 8m46s 15 147 15m56s 15m55s 16 71 32m41s 32m40s 17 77 32m16s 32m15s 18 77 38m49s 38m47s 19 78 30m56s 30m56s 20 104 24m19s 24m18s 21 75 29m49s 29m48s 22 186 13m33s 13m31s 23 328 7m20s 7m19s May 14 00 205 18m10s 18m6s 01 182 13m12s 13m10s 02 172 13m54s 13m51s 03 169 13m40s 13m37s 04 153 16m15s 16m13s 05 272 8m45s 8m42s 06 226 10m53s 10m49s 07 425 5m38s 5m37s 08 185 13m4s 13m1s 09 211 11m20s 11m17s 10 112 21m37s 21m35s 11 89 26m58s 26m57s 12 75 30m46s 30m45s 13 110 23m5s 23m3s 14 922 2m43s 2m42s 15 681 3m34s 3m34s 16 401 10m8s 10m6s 17 150 14m48s 14m45s 18 218 13m5s 13m 19 255 9m26s 9m23s 20 330 7m21s 7m20s 21 180 12m29s 12m26s 22 267 9m17s 9m14s 23 1,067 2m26s 2m26s May 15 00 101 28m30s 28m26s 01 70 36m49s 36m49s 02 205 15m45s 15m45s 03 122 21m23s 21m21s 04 207 11m44s 11m41s 05 380 6m20s 6m18s 06 128 18m31s 18m28s 07 219 11m28s 11m25s 08 198 12m17s 12m14s 09 300 8m10s 8m7s 10 223 15m41s 15m37s 11 267 9m8s 9m7s 12 81 28m33s 28m32s 13 81 29m59s 29m58s 14 252 10m15s 10m9s 15 253 9m 8m58s 16 1,315 6m13s 6m12s 17 325 8m48s 8m46s 18 349 6m50s 6m48s 19 301 8m 7m59s 20 315 7m34s 7m32s 21 658 3m33s 3m31s 22 278 8m39s 8m36s 23 168 14m5s 14m1s May 16 00 97 23m21s 23m16s 01 264 9m28s 9m26s 02 233 10m25s 10m20s 03 1,395 1m47s 1m47s 04 241 10m3s 9m56s 05 237 9m53s 9m50s 06 185 13m31s 13m28s 07 388 6m10s 6m8s 08 342 7m13s 7m11s 09 254 9m32s 9m28s 10 467 5m21s 5m18s 11 142 17m17s 17m15s 12 360 11m4s 11m2s 13 340 7m9s 7m6s 14 250 9m30s 9m23s 15 1,253 1m53s 1m52s 16 188 13m19s 13m19s 17 223 10m35s 10m32s 18 452 4m57s 4m55s 19 371 6m43s 6m40s 20 294 8m6s 8m4s 21 213 10m23s 10m19s 22 108 27m31s 27m29s 23 199 12m32s 12m26s May 17 00 530 4m36s 4m34s 01 304 8m3s 8m1s 02 277 8m53s 8m45s 03 104 22m24s 22m20s 04 320 8m2s 8m 05 490 4m54s 4m52s 06 202 12m14s 12m10s 07 276 8m43s 8m40s 08 195 12m20s 12m17s 09 245 10m14s 10m12s 10 505 4m53s 4m49s 11 293 8m17s 8m14s 12 244 9m45s 9m41s 13 191 11m22s 11m20s 14 188 12m57s 12m54s 15 256 9m23s 9m20s 16 389 6m24s 6m22s 17 333 6m47s 6m45s 18 175 13m5s 12m59s 19 82 28m53s 27m51s 20 78 31m33s 31m29s 21 318 7m44s 7m42s 22 370 6m24s 6m21s 23 459 5m18s 5m16s -
Connections
Established Connections
Key values
- 135 connections Connection Peak
- 2025-05-15 16:11:36 Date
Connections per database
Key values
- ctdprd51 Main Database
- 44,808 connections Total
Connections per user
Key values
- pubeu Main User
- 44,808 connections Total
-
Sessions
Simultaneous sessions
Key values
- 99 sessions Session Peak
- 2025-05-13 02:20:07 Date
Histogram of session times
Key values
- 13,606 0-500ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 44,807 sessions Total
Sessions per user
Key values
- pubeu Main User
- 44,807 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 44,807 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 34,187 58d23h14m5s 2m29s 10.12.5.38 2,628 55d23h31m30s 30m40s 10.12.5.39 2,582 55d23h12m40s 31m12s 10.12.5.40 8 21s170ms 2s646ms 10.12.5.45 2,667 55d23h52m49s 30m14s 10.12.5.46 2,632 56d1h17m28s 30m40s 192.168.201.10 21 4d16h29m49s 5h21m25s 192.168.201.14 1 6h25m50s 6h25m50s 192.168.201.18 3 5h10m2s 1h43m20s ::1 78 8d2h16m32s 2h29m26s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 121,762 buffers Checkpoint Peak
- 2025-05-14 08:19:19 Date
- 1619.960 seconds Highest write time
- 0.131 seconds Sync time
Checkpoints Wal files
Key values
- 42 files Wal files usage Peak
- 2025-05-13 10:49:15 Date
Checkpoints distance
Key values
- 1,342.53 Mo Distance Peak
- 2025-05-13 10:49:15 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time May 11 00 2,961 296.84s 0.004s 296.91s 01 1,024 102.587s 0.003s 102.619s 02 2,577 258.059s 0.003s 258.141s 03 1,172 117.422s 0.003s 117.499s 04 1,611 161.298s 0.003s 161.329s 05 1,844 184.709s 0.004s 184.79s 06 1,739 174.18s 0.003s 174.259s 07 3,915 392.015s 0.004s 392.059s 08 1,989 199.284s 0.004s 199.365s 09 2,027 203.071s 0.004s 203.103s 10 1,985 198.79s 0.004s 198.871s 11 2,017 202.132s 0.004s 202.213s 12 2,910 291.442s 0.004s 291.521s 13 2,058 206.373s 0.004s 206.405s 14 1,871 187.226s 0.003s 187.312s 15 2,238 224.269s 0.003s 224.348s 16 2,750 275.451s 0.004s 275.529s 17 3,222 322.836s 0.004s 322.912s 18 1,966 197.004s 0.003s 197.082s 19 1,594 159.711s 0.002s 159.741s 20 2,618 262.239s 0.004s 262.315s 21 3,296 330.008s 0.008s 330.092s 22 4,405 441.096s 0.004s 441.186s 23 2,944 294.99s 0.003s 295.064s May 12 00 4,381 439.016s 0.132s 441.026s 01 1,959 196.149s 0.003s 196.179s 02 1,382 138.444s 0.001s 138.506s 03 7,643 765.433s 0.003s 765.559s 04 1,171 117.393s 0.003s 117.472s 05 5,987 599.418s 0.003s 599.508s 06 1,914 191.746s 0.004s 191.821s 07 724 72.442s 0.002s 72.458s 08 16,025 1,605.132s 0.005s 1,605.407s 09 2,062 206.804s 0.004s 206.835s 10 2,951 295.589s 0.002s 295.668s 11 3,441 344.742s 0.003s 344.823s 12 2,482 248.569s 0.003s 248.649s 13 1,339 134.076s 0.004s 134.109s 14 1,598 160.227s 0.004s 160.306s 15 1,261 126.373s 0.002s 126.402s 16 1,339 134.285s 0.003s 134.367s 17 1,103 110.55s 0.003s 110.582s 18 1,266 126.989s 0.003s 127.02s 19 893 89.549s 0.003s 89.629s 20 836 83.92s 0.003s 83.95s 21 961 96.32s 0.003s 96.351s 22 1,454 145.8s 0.002s 145.872s 23 53,999 1,749.962s 0.005s 1,750.512s May 13 00 3,203 321.172s 0.004s 321.508s 01 957 95.956s 0.003s 95.991s 02 1,289 128.973s 0.002s 129.047s 03 1,413 141.661s 0.003s 141.692s 04 990 99.183s 0.003s 99.215s 05 16,123 1,614.541s 0.002s 1,614.727s 06 1,674 167.746s 0.002s 167.777s 07 1,206 120.884s 0.002s 120.916s 08 1,385 138.818s 0.003s 138.894s 09 2,332 233.692s 0.002s 233.768s 10 82,010 1,668.837s 0.002s 1,669.406s 11 1,858 186.093s 0.002s 186.198s 12 1,994 199.762s 0.003s 199.795s 13 1,919 192.251s 0.002s 192.328s 14 1,788 179.12s 0.002s 179.199s 15 2,025 202.854s 0.003s 202.884s 16 1,578 158.121s 0.002s 158.2s 17 1,403 140.577s 0.003s 140.608s 18 3,406 341.191s 0.003s 341.279s 19 1,534 153.702s 0.002s 153.733s 20 1,448 145.166s 0.002s 145.245s 21 3,224 322.997s 0.002s 323.071s 22 2,303 230.607s 0.003s 230.687s 23 3,208 321.354s 0.002s 321.436s May 14 00 4,354 436.35s 0.004s 436.456s 01 1,202 120.405s 0.003s 120.482s 02 1,280 128.113s 0.003s 128.143s 03 572 57.299s 0.001s 57.314s 04 61,899 2,611.419s 0.006s 2,612.023s 05 1,691 169.321s 0.003s 169.399s 06 1,837 183.908s 0.003s 183.939s 07 1,330 133.245s 0.002s 133.306s 08 131,089 2,554.182s 0.005s 2,554.483s 09 2,403 240.583s 0.002s 240.613s 10 1,829 183.172s 0.003s 183.248s 11 5,697 570.513s 0.002s 570.602s 12 6,954 696.15s 0.003s 696.193s 13 6,905 691.669s 0.004s 691.798s 14 2,667 267.967s 0.002s 268.237s 15 2,428 243.125s 0.002s 243.202s 16 1,315 131.809s 0.002s 131.884s 17 2,192 219.625s 0.002s 219.701s 18 3,228 323.164s 0.002s 323.243s 19 2,322 233.156s 0.002s 233.23s 20 1,226 122.8s 0.001s 122.863s 21 58,172 1,680.964s 0.003s 1,681.461s 22 8,799 881.343s 0.004s 881.494s 23 1,190 119.298s 0.003s 119.377s May 15 00 3,303 330.944s 0.003s 331.055s 01 25 2.589s 0.001s 2.604s 02 65 6.704s 0.002s 6.735s 03 224 22.609s 0.002s 22.638s 04 5,313 531.989s 0.002s 532.101s 05 53,167 1,668.261s 0.003s 1,668.747s 06 1,383 138.566s 0.004s 138.644s 07 799 79.972s 0.002s 80.4s 08 55,768 1,871.823s 0.005s 1,871.956s 09 5,861 587.339s 0.002s 587.481s 10 6,693 670.355s 0.004s 670.456s 11 2,309 231.361s 0.003s 231.439s 12 1,036 103.839s 0.003s 103.868s 13 1,589 159.225s 0.003s 159.319s 14 7,678 769.626s 0.002s 769.737s 15 2,074 207.928s 0.036s 208.191s 16 2,487 249.217s 0.003s 249.294s 17 2,431 243.548s 0.002s 243.623s 18 2,778 278.342s 0.002s 278.394s 19 3,187 319.325s 0.002s 319.514s 20 2,777 278.183s 0.002s 278.26s 21 2,513 251.614s 0.003s 251.643s 22 14,550 1,457.871s 0.002s 1,458.018s 23 5,748 575.757s 0.002s 575.883s May 16 00 3,848 385.291s 0.004s 385.406s 01 2,967 297.516s 0.004s 297.561s 02 1,236 123.724s 0.003s 123.802s 03 5,851 586.002s 0.003s 586.104s 04 1,687 168.928s 0.003s 169.017s 05 1,811 181.42s 0.003s 181.451s 06 1,595 159.844s 0.003s 159.925s 07 5,144 515.031s 0.003s 515.155s 08 1,189 119.128s 0.001s 119.191s 09 9,219 923.404s 0.005s 923.576s 10 2,409 241.456s 0.004s 241.535s 11 1,839 184.399s 0.002s 184.43s 12 2,948 295.384s 0.002s 295.472s 13 2,108 211.349s 0.004s 211.425s 14 2,828 283.221s 0.002s 283.297s 15 4,508 451.718s 0.003s 451.796s 16 89 9.087s 0.002s 9.119s 17 1,648 165.388s 0.003s 165.467s 18 2,919 292.394s 0.003s 292.481s 19 2,654 265.968s 0.03s 266.158s 20 4,315 432.131s 0.003s 432.209s 21 3,344 334.819s 0.003s 334.945s 22 2,055 205.92s 0.004s 205.961s 23 3,178 318.44s 0.003s 318.52s May 17 00 6,237 624.818s 0.005s 624.957s 01 1,241 124.188s 0.003s 124.265s 02 2,889 289.173s 0.004s 289.254s 03 1,111 111.353s 0.003s 111.384s 04 1,716 171.911s 0.003s 171.991s 05 1,989 199.168s 0.003s 199.199s 06 1,949 195.237s 0.009s 195.317s 07 4,837 484.394s 0.004s 484.495s 08 3,683 368.994s 0.002s 369.068s 09 7,308 732.675s 0.004s 732.787s 10 2,766 277.02s 0.003s 277.097s 11 2,509 251.267s 0.004s 251.3s 12 2,941 294.793s 0.004s 294.872s 13 2,012 201.573s 0.004s 201.651s 14 1,768 177.098s 0.004s 177.175s 15 2,905 290.975s 0.003s 291.054s 16 3,731 373.807s 0.004s 373.9s 17 3,106 311.132s 0.003s 311.208s 18 2,604 260.886s 0.004s 260.962s 19 1,850 185.514s 0.003s 185.601s 20 73,275 1,670.665s 0.004s 1,670.699s 21 3,684 368.983s 0.004s 369.06s 22 3,604 361.147s 0.004s 361.271s 23 3,279 328.479s 0.004s 328.556s Day Hour Added Removed Recycled Synced files Longest sync Average sync May 11 00 0 0 3 95 0.001s 0.002s 01 0 0 0 39 0.001s 0.002s 02 0 0 1 52 0.001s 0.002s 03 0 0 1 39 0.001s 0.002s 04 0 0 0 36 0.001s 0.002s 05 0 0 1 48 0.001s 0.002s 06 0 0 1 87 0.001s 0.002s 07 0 0 1 157 0.001s 0.002s 08 0 0 1 123 0.001s 0.002s 09 0 0 0 27 0.001s 0.002s 10 0 0 1 33 0.001s 0.002s 11 0 0 1 68 0.001s 0.002s 12 0 0 1 129 0.001s 0.002s 13 0 0 0 28 0.001s 0.002s 14 0 0 1 25 0.001s 0.002s 15 0 0 1 27 0.001s 0.002s 16 0 0 1 22 0.001s 0.002s 17 0 0 1 80 0.001s 0.002s 18 0 0 1 69 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 1 26 0.001s 0.002s 21 0 0 1 23 0.005s 0.002s 22 0 0 2 47 0.001s 0.002s 23 0 0 1 30 0.001s 0.002s May 12 00 0 0 5 91 0.022s 0.003s 01 0 0 0 41 0.001s 0.002s 02 0 0 1 32 0.001s 0.001s 03 0 0 4 66 0.001s 0.003s 04 0 0 1 31 0.001s 0.002s 05 0 0 2 59 0.001s 0.002s 06 0 0 1 53 0.001s 0.002s 07 0 0 0 20 0.001s 0.001s 08 0 0 10 114 0.001s 0.003s 09 0 0 0 136 0.001s 0.002s 10 0 0 1 144 0.001s 0.002s 11 0 0 1 117 0.001s 0.002s 12 0 0 1 34 0.001s 0.002s 13 0 0 0 33 0.001s 0.002s 14 0 0 1 40 0.001s 0.002s 15 0 0 0 69 0.001s 0.002s 16 0 0 1 107 0.001s 0.002s 17 0 0 0 67 0.001s 0.002s 18 0 0 0 36 0.001s 0.002s 19 0 0 1 20 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 0 0 21 0.001s 0.002s 22 0 0 1 12 0.001s 0.001s 23 0 0 36 55 0.002s 0.003s May 13 00 0 0 3 92 0.001s 0.002s 01 0 0 0 41 0.001s 0.002s 02 0 0 1 40 0.001s 0.002s 03 0 0 0 40 0.001s 0.002s 04 0 0 0 31 0.001s 0.002s 05 0 0 10 44 0.001s 0.002s 06 0 0 0 135 0.001s 0.002s 07 0 0 0 127 0.001s 0.002s 08 0 0 1 122 0.001s 0.002s 09 0 0 1 135 0.001s 0.002s 10 0 0 42 105 0.001s 0.002s 11 0 0 1 134 0.001s 0.002s 12 0 0 0 74 0.001s 0.002s 13 0 0 1 70 0.001s 0.002s 14 0 0 1 35 0.001s 0.002s 15 0 0 0 23 0.002s 0.002s 16 0 0 1 89 0.001s 0.002s 17 0 0 0 65 0.001s 0.002s 18 0 0 2 39 0.001s 0.002s 19 0 0 0 29 0.001s 0.002s 20 0 0 1 21 0.001s 0.002s 21 0 0 1 36 0.001s 0.002s 22 0 0 1 124 0.001s 0.002s 23 0 0 1 40 0.001s 0.002s May 14 00 0 0 3 78 0.001s 0.002s 01 0 0 1 44 0.002s 0.002s 02 0 0 0 40 0.001s 0.002s 03 0 0 0 20 0.001s 0.001s 04 0 0 41 98 0.002s 0.003s 05 0 0 1 42 0.001s 0.002s 06 0 0 0 50 0.001s 0.002s 07 0 0 1 63 0.001s 0.001s 08 0 0 15 164 0.001s 0.003s 09 0 0 0 30 0.001s 0.002s 10 0 0 1 31 0.001s 0.002s 11 0 0 6 20 0.002s 0.001s 12 0 0 1 46 0.002s 0.002s 13 0 0 4 57 0.001s 0.003s 14 0 0 0 73 0.001s 0.002s 15 0 0 1 78 0.001s 0.002s 16 0 0 1 21 0.001s 0.002s 17 0 0 1 28 0.001s 0.002s 18 0 0 1 35 0.001s 0.002s 19 0 0 0 22 0.001s 0.002s 20 0 0 1 10 0.001s 0.001s 21 0 0 36 42 0.001s 0.002s 22 0 0 3 57 0.002s 0.003s 23 0 0 1 18 0.001s 0.002s May 15 00 0 0 4 64 0.001s 0.002s 01 0 0 0 11 0.001s 0.001s 02 0 0 0 19 0.001s 0.002s 03 0 0 0 27 0.001s 0.002s 04 0 0 3 53 0.001s 0.002s 05 0 0 35 58 0.001s 0.002s 06 0 0 1 139 0.001s 0.002s 07 0 0 32 83 0.001s 0.001s 08 0 0 4 223 0.001s 0.003s 09 0 0 3 112 0.001s 0.002s 10 0 0 3 142 0.001s 0.002s 11 0 0 1 142 0.001s 0.002s 12 0 0 0 22 0.002s 0.002s 13 0 0 1 124 0.001s 0.002s 14 0 0 4 49 0.001s 0.002s 15 0 0 1 27 0.034s 0.005s 16 0 0 1 33 0.001s 0.002s 17 0 0 1 77 0.001s 0.002s 18 0 0 0 69 0.001s 0.002s 19 0 0 2 42 0.001s 0.002s 20 0 0 1 27 0.001s 0.002s 21 0 0 0 25 0.001s 0.002s 22 0 0 7 54 0.001s 0.002s 23 0 0 2 49 0.001s 0.002s May 16 00 0 0 4 81 0.001s 0.002s 01 0 0 1 47 0.001s 0.002s 02 0 0 1 34 0.001s 0.002s 03 0 0 3 48 0.001s 0.002s 04 0 0 1 36 0.001s 0.002s 05 0 0 0 31 0.001s 0.002s 06 0 0 1 89 0.001s 0.002s 07 0 0 2 163 0.001s 0.002s 08 0 0 1 78 0.001s 0.001s 09 0 0 4 157 0.001s 0.003s 10 0 0 1 113 0.001s 0.002s 11 0 0 0 112 0.001s 0.002s 12 0 0 1 77 0.001s 0.002s 13 0 0 1 20 0.001s 0.002s 14 0 0 1 81 0.001s 0.002s 15 0 0 1 134 0.001s 0.002s 16 0 0 0 13 0.001s 0.002s 17 0 0 1 21 0.001s 0.002s 18 0 0 1 32 0.001s 0.002s 19 0 0 1 20 0.028s 0.004s 20 0 0 1 29 0.001s 0.002s 21 0 0 2 32 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 1 25 0.001s 0.002s May 17 00 0 0 6 87 0.001s 0.002s 01 0 0 1 40 0.001s 0.002s 02 0 0 1 47 0.001s 0.002s 03 0 0 0 27 0.001s 0.002s 04 0 0 1 37 0.001s 0.002s 05 0 0 0 38 0.001s 0.002s 06 0 0 1 33 0.004s 0.002s 07 0 0 3 43 0.001s 0.002s 08 0 0 1 49 0.001s 0.002s 09 0 0 4 38 0.001s 0.002s 10 0 0 1 32 0.001s 0.002s 11 0 0 0 28 0.001s 0.002s 12 0 0 1 30 0.001s 0.002s 13 0 0 1 23 0.001s 0.002s 14 0 0 1 22 0.001s 0.002s 15 0 0 1 30 0.001s 0.002s 16 0 0 1 30 0.001s 0.002s 17 0 0 1 29 0.001s 0.002s 18 0 0 1 26 0.001s 0.002s 19 0 0 1 21 0.001s 0.002s 20 0 0 0 32 0.001s 0.002s 21 0 0 1 22 0.001s 0.002s 22 0 0 2 29 0.001s 0.002s 23 0 0 1 21 0.001s 0.002s Day Hour Count Avg time (sec) May 11 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 May 12 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 May 13 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 May 14 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 May 15 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 May 16 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 17 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate May 11 00 22,054.00 kB 39,302.50 kB 01 3,273.50 kB 32,445.00 kB 02 8,735.00 kB 27,447.50 kB 03 3,496.00 kB 23,350.00 kB 04 4,348.00 kB 19,710.00 kB 05 4,770.00 kB 16,839.00 kB 06 5,027.00 kB 14,606.50 kB 07 11,753.50 kB 16,363.00 kB 08 5,891.00 kB 14,384.50 kB 09 5,249.50 kB 12,683.50 kB 10 5,628.00 kB 11,331.00 kB 11 5,875.00 kB 10,272.00 kB 12 6,773.50 kB 9,602.50 kB 13 5,821.00 kB 8,912.50 kB 14 5,733.50 kB 8,307.50 kB 15 6,457.50 kB 7,909.00 kB 16 7,021.50 kB 7,719.50 kB 17 11,479.50 kB 11,536.00 kB 18 5,769.00 kB 14,012.50 kB 19 4,893.00 kB 12,300.00 kB 20 7,492.50 kB 11,273.00 kB 21 7,798.00 kB 10,577.00 kB 22 13,698.50 kB 19,082.50 kB 23 8,674.00 kB 17,104.50 kB May 12 00 39,440.00 kB 72,428.50 kB 01 3,624.00 kB 59,295.50 kB 02 7,614.00 kB 51,514.00 kB 03 24,230.33 kB 61,539.67 kB 04 3,229.00 kB 47,837.50 kB 05 20,724.50 kB 42,054.50 kB 06 4,300.50 kB 35,476.50 kB 07 4,786.00 kB 30,945.00 kB 08 52,339.67 kB 81,445.00 kB 09 6,048.00 kB 80,218.50 kB 10 8,113.50 kB 66,334.50 kB 11 9,278.50 kB 55,351.50 kB 12 6,925.00 kB 46,667.50 kB 13 2,612.00 kB 38,273.00 kB 14 4,387.00 kB 31,678.00 kB 15 3,032.50 kB 26,361.50 kB 16 3,060.50 kB 21,966.50 kB 17 2,845.50 kB 18,354.50 kB 18 2,920.00 kB 15,384.00 kB 19 2,436.00 kB 12,959.00 kB 20 2,404.00 kB 10,953.00 kB 21 2,823.50 kB 9,387.00 kB 22 6,179.00 kB 8,764.00 kB 23 194,875.67 kB 518,689.67 kB May 13 00 27,125.50 kB 403,192.00 kB 01 3,070.00 kB 327,142.50 kB 02 3,674.00 kB 265,649.50 kB 03 3,968.00 kB 215,914.50 kB 04 2,856.50 kB 175,513.00 kB 05 74,704.00 kB 156,316.00 kB 06 3,815.50 kB 127,310.50 kB 07 3,648.00 kB 103,822.00 kB 08 4,359.50 kB 84,948.50 kB 09 7,405.50 kB 70,147.00 kB 10 346,386.00 kB 653,275.00 kB 11 5,096.00 kB 530,124.00 kB 12 4,755.50 kB 430,296.50 kB 13 5,048.00 kB 349,519.50 kB 14 5,152.00 kB 284,067.50 kB 15 5,039.50 kB 231,079.00 kB 16 4,730.00 kB 188,100.00 kB 17 4,441.00 kB 153,220.50 kB 18 10,405.50 kB 126,081.50 kB 19 4,564.50 kB 102,984.00 kB 20 4,342.00 kB 84,240.00 kB 21 7,945.00 kB 69,706.50 kB 22 6,857.50 kB 57,657.00 kB 23 8,417.00 kB 48,312.50 kB May 14 00 30,033.00 kB 54,325.00 kB 01 3,898.00 kB 44,727.50 kB 02 3,533.50 kB 36,888.50 kB 03 3,962.00 kB 32,022.00 kB 04 223,076.33 kB 377,991.67 kB 05 4,868.00 kB 436,893.00 kB 06 4,903.50 kB 354,828.50 kB 07 6,904.00 kB 303,465.00 kB 08 79,997.00 kB 265,975.00 kB 09 6,262.00 kB 207,401.50 kB 10 4,702.00 kB 168,958.50 kB 11 46,591.00 kB 148,904.00 kB 12 34,721.00 kB 133,569.00 kB 13 19,757.00 kB 108,224.33 kB 14 6,875.50 kB 84,319.50 kB 15 6,918.00 kB 69,653.50 kB 16 3,562.00 kB 57,088.00 kB 17 6,796.50 kB 47,501.00 kB 18 7,974.00 kB 39,921.50 kB 19 7,350.00 kB 33,770.00 kB 20 7,510.00 kB 29,900.00 kB 21 294,774.50 kB 552,879.50 kB 22 18,353.33 kB 430,437.00 kB 23 3,430.00 kB 331,394.50 kB May 15 00 33,515.00 kB 274,801.00 kB 01 31.00 kB 234,309.00 kB 02 124.00 kB 200,352.00 kB 03 659.00 kB 162,361.50 kB 04 25,622.50 kB 136,305.50 kB 05 290,383.00 kB 548,017.00 kB 06 3,552.00 kB 444,607.50 kB 07 5,175.00 kB 379,758.00 kB 08 197,362.67 kB 526,106.67 kB 09 19,825.00 kB 407,283.00 kB 10 28,763.00 kB 335,347.00 kB 11 6,376.00 kB 272,862.50 kB 12 3,079.50 kB 221,773.50 kB 13 4,297.00 kB 180,380.00 kB 14 34,533.50 kB 152,593.50 kB 15 5,788.00 kB 124,680.50 kB 16 6,750.50 kB 102,232.00 kB 17 7,062.50 kB 84,112.00 kB 18 7,086.00 kB 69,520.00 kB 19 9,977.50 kB 57,921.50 kB 20 7,518.50 kB 48,591.00 kB 21 7,501.00 kB 40,797.50 kB 22 52,008.50 kB 91,138.00 kB 23 17,642.50 kB 77,151.50 kB May 16 00 36,077.50 kB 69,658.50 kB 01 9,278.50 kB 58,099.50 kB 02 3,915.00 kB 47,805.00 kB 03 27,224.00 kB 47,495.50 kB 04 4,969.50 kB 39,412.00 kB 05 4,999.00 kB 32,852.50 kB 06 4,466.50 kB 27,433.50 kB 07 17,563.00 kB 24,918.00 kB 08 6,752.00 kB 22,870.00 kB 09 23,615.00 kB 52,297.67 kB 10 6,689.00 kB 41,657.00 kB 11 5,289.00 kB 34,825.00 kB 12 7,212.50 kB 29,481.50 kB 13 6,352.00 kB 25,131.50 kB 14 7,640.00 kB 21,748.00 kB 15 11,872.50 kB 19,558.50 kB 16 1,061.50 kB 16,709.00 kB 17 5,205.50 kB 14,187.50 kB 18 8,356.50 kB 13,045.50 kB 19 8,458.50 kB 12,163.00 kB 20 9,271.50 kB 11,582.00 kB 21 9,670.00 kB 11,211.00 kB 22 6,152.00 kB 10,392.00 kB 23 9,461.50 kB 10,070.00 kB May 17 00 46,231.50 kB 83,955.50 kB 01 3,922.00 kB 68,769.50 kB 02 8,448.50 kB 57,282.00 kB 03 3,181.00 kB 47,061.00 kB 04 4,736.00 kB 38,917.50 kB 05 5,826.50 kB 32,577.50 kB 06 5,682.50 kB 27,486.00 kB 07 17,172.50 kB 26,388.50 kB 08 12,583.50 kB 26,471.00 kB 09 34,151.50 kB 58,963.50 kB 10 6,964.00 kB 49,062.00 kB 11 6,774.00 kB 41,026.00 kB 12 7,552.00 kB 34,605.00 kB 13 6,077.00 kB 29,338.00 kB 14 5,261.00 kB 24,690.00 kB 15 7,910.00 kB 21,457.00 kB 16 8,820.00 kB 18,992.50 kB 17 9,094.50 kB 17,104.00 kB 18 8,247.00 kB 15,490.50 kB 19 5,782.50 kB 13,740.50 kB 20 6,082.50 kB 12,275.50 kB 21 8,580.50 kB 11,386.50 kB 22 10,280.00 kB 11,158.50 kB 23 9,742.00 kB 10,916.50 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 May 11 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 May 12 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 May 13 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 May 14 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 May 15 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 May 16 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 May 17 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 24.97 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2025-05-14 07:34:29 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 24.97 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2025-05-14 07:34:29 Date
Analyzes per table
Key values
- pubc.log_query (211) Main table analyzed (database ctdprd51)
- 219 analyzes Total
Vacuums per table
Key values
- pubc.log_query (83) Main table vacuumed on database ctdprd51
- 95 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 83 37 142,723 0 27,147 0 8,006 36,022 1,956 16,238,598 ctdprd51.pg_toast.pg_toast_2619 4 4 17,096 0 4,699 0 39,567 13,426 4,327 2,687,160 ctdprd51.pg_toast.pg_toast_486223 3 0 86 0 8 0 0 5 2 17,076 ctdprd51.pub2.term_set_enrichment 2 0 9,738 0 4,519 0 0 4,764 4 302,178 ctdprd51.pg_catalog.pg_statistic 2 2 1,501 0 353 0 234 979 323 1,202,835 ctdprd51.pub2.term_set_enrichment_agent 1 0 220,979 0 106,842 0 0 110,423 6 6,558,296 Total 95 43 392,123 2,504 143,568 0 47,807 165,619 6,618 27,006,143 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (16466) Main table with removed tuples on database ctdprd51
- 18182 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 4 4 16,466 80,903 0 0 50,368 ctdprd51.pg_catalog.pg_statistic 2 2 1,162 6,609 0 0 820 ctdprd51.pubc.log_query 83 37 554 3,017,931 6 0 113,745 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 52,498,028 0 0 596,570 ctdprd51.pub2.term_set_enrichment 2 0 0 1,495,338 0 0 24,772 ctdprd51.pg_toast.pg_toast_486223 3 0 0 3 0 0 2 Total 95 43 18,182 57,098,812 6 0 786,277 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_toast.pg_toast_2619 4 4 16466 0 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 0 ctdprd51.pub2.term_set_enrichment 2 0 0 0 ctdprd51.pg_catalog.pg_statistic 2 2 1162 0 ctdprd51.pubc.log_query 83 37 554 0 ctdprd51.pg_toast.pg_toast_486223 3 0 0 0 Total 95 43 18,182 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs May 11 00 3 5 01 1 4 02 1 2 03 1 2 04 1 2 05 1 2 06 0 2 07 1 1 08 0 1 09 1 1 10 0 1 11 0 0 12 1 1 13 0 1 14 0 0 15 0 1 16 1 0 17 0 1 18 0 0 19 0 1 20 0 0 21 1 0 22 0 1 23 0 0 May 12 00 2 6 01 2 4 02 2 3 03 0 1 04 1 2 05 1 2 06 1 1 07 0 2 08 1 1 09 0 1 10 0 1 11 1 0 12 0 0 13 0 1 14 0 0 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 1 1 23 0 0 May 13 00 2 5 01 2 5 02 1 3 03 1 2 04 0 1 05 1 1 06 1 1 07 0 1 08 0 0 09 0 1 10 1 2 11 0 1 12 1 1 13 0 1 14 0 1 15 1 0 16 0 1 17 0 0 18 0 1 19 0 0 20 0 0 21 1 1 22 0 1 23 0 1 May 14 00 3 5 01 2 4 02 1 3 03 1 2 04 0 2 05 1 2 06 1 1 07 1 1 08 1 1 09 0 1 10 0 1 11 0 0 12 0 0 13 0 1 14 1 0 15 0 1 16 0 0 17 0 1 18 1 1 19 0 0 20 0 3 21 1 0 22 0 1 23 0 0 May 15 00 2 0 01 0 0 02 0 0 03 0 5 04 2 9 05 2 6 06 1 2 07 1 3 08 2 2 09 1 2 10 1 2 11 0 1 12 0 0 13 1 1 14 0 1 15 0 1 16 1 1 17 0 1 18 1 0 19 0 1 20 0 1 21 1 0 22 1 1 23 0 1 May 16 00 2 4 01 1 5 02 1 3 03 1 3 04 1 2 05 1 1 06 0 1 07 1 2 08 0 1 09 1 1 10 0 1 11 0 0 12 1 1 13 0 1 14 0 0 15 1 1 16 0 0 17 0 0 18 0 1 19 0 1 20 1 0 21 0 1 22 0 0 23 0 0 May 17 00 4 5 01 2 4 02 1 3 03 0 1 04 1 2 05 1 2 06 1 1 07 1 3 08 0 0 09 1 1 10 0 1 11 0 1 12 1 1 13 0 0 14 0 1 15 0 0 16 1 1 17 0 1 18 0 0 19 0 0 20 0 1 21 1 0 22 0 1 23 0 0 - 24.97 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 37,821 Total read queries
- 405 Total write queries
Queries by database
Key values
- unknown Main database
- 27,633 Requests
- 21h17m59s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 62,441 Requests
User Request type Count Duration edit Total 6 1m59s select 6 1m59s editeu Total 8 38s16ms select 8 38s16ms postgres Total 108 1h8m12s copy to 108 1h8m12s pub2 Total 10 32s963ms select 10 32s963ms pubc Total 2 2s472ms select 2 2s472ms pubeu Total 23,769 18h42m43s cte 57 2m53s select 23,712 18h39m50s qaeu Total 83 3m14s cte 17 59s635ms select 66 2m14s unknown Total 62,441 2d2h12m41s copy to 777 7h18m56s cte 90 2m47s others 9 1m select 61,565 1d18h49m56s zbx_monitor Total 6 12s56ms select 6 12s56ms Duration by user
Key values
- 2d2h12m41s (unknown) Main time consuming user
User Request type Count Duration edit Total 6 1m59s select 6 1m59s editeu Total 8 38s16ms select 8 38s16ms postgres Total 108 1h8m12s copy to 108 1h8m12s pub2 Total 10 32s963ms select 10 32s963ms pubc Total 2 2s472ms select 2 2s472ms pubeu Total 23,769 18h42m43s cte 57 2m53s select 23,712 18h39m50s qaeu Total 83 3m14s cte 17 59s635ms select 66 2m14s unknown Total 62,441 2d2h12m41s copy to 777 7h18m56s cte 90 2m47s others 9 1m select 61,565 1d18h49m56s zbx_monitor Total 6 12s56ms select 6 12s56ms Queries by host
Key values
- unknown Main host
- 86,433 Requests
- 2d22h10m17s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 38,175 Requests
- 1d5h48m24s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - DB:ctdprd51 Total 1 23s558ms select 1 23s558ms pgAdmin 4 - DB:postgres Total 2 36s365ms select 2 36s365ms pg_dump Total 49 31m11s copy to 49 31m11s psql Total 6 17s718ms select 6 17s718ms unknown Total 38,175 1d5h48m24s copy to 291 2h4m27s cte 65 2m37s others 7 47s346ms select 37,812 1d3h40m32s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-05-11 08:40:31 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 37,015 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 25m2s 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-05-17 19:47:19 ]
2 25m1s 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-05-17 19:02:15 ]
3 18m52s 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 = '1256379') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-05-11 14:40:25 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
4 18m38s 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 = '1256379') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-05-11 14:39:52 - Bind query: yes ]
5 18m21s 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 = '1256379') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-05-16 04:48:11 - Bind query: yes ]
6 13m54s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7) INTERSECT ( SELECT /* GAIQH.getGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RNF165') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-05-13 02:03:08 - Bind query: yes ]
7 13m34s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7) INTERSECT ( SELECT /* GAIQH.getGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RNF165') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-05-13 01:56:53 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
8 7m11s 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 = '1246950') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-05-16 19:32:05 - Bind query: yes ]
9 7m10s 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 = '1246950') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-05-16 14:03:01 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
10 7m10s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-05-17 19:59:39 ]
11 7m4s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-05-17 19:14:30 ]
12 6m57s 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 = '1274194') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-05-11 14:28:13 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 6m54s 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 = '1274194') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-05-11 14:28:28 - Bind query: yes ]
14 5m38s 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 = '1271559') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-05-17 10:16:52 - Bind query: yes ]
15 5m35s 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 = '1271559') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-05-17 10:15:12 - Bind query: yes ]
16 5m35s 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 = '1246515') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-05-16 23:05:24 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 5m32s /* * 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-05-17 00:05:33 ]
18 5m23s /* * 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-05-16 00:05:25 ]
19 5m20s /* * 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-05-15 00:05:22 ]
20 5m20s /* * 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-05-14 00:05:21 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 5h12m40s 1,072 1s3ms 1m55s 17s500ms 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 #1
Day Hour Count Duration Avg duration May 11 00 9 2m38s 17s574ms 01 9 2m21s 15s707ms 02 4 1m6s 16s546ms 03 6 1m53s 18s920ms 04 3 59s122ms 19s707ms 05 4 54s942ms 13s735ms 06 11 3m19s 18s115ms 07 4 1m2s 15s643ms 09 6 1m47s 17s952ms 10 13 3m44s 17s258ms 11 9 2m37s 17s483ms 12 4 56s959ms 14s239ms 13 15 3m44s 14s935ms 14 18 10m55s 36s427ms 15 4 51s944ms 12s986ms 16 3 56s318ms 18s772ms 17 7 1m53s 16s251ms 20 9 2m34s 17s195ms 21 13 3m26s 15s882ms 22 14 3m47s 16s253ms 23 6 1m40s 16s760ms May 12 00 12 3m39s 18s276ms 01 3 57s898ms 19s299ms 02 3 51s300ms 17s100ms 05 10 2m51s 17s171ms 06 3 37s367ms 12s455ms 07 6 1m48s 18s116ms 08 23 8m59s 23s455ms 09 7 2m 17s208ms 10 3 50s696ms 16s898ms 12 3 50s231ms 16s743ms 13 3 53s925ms 17s975ms 15 3 1m7s 22s535ms 16 1 16s579ms 16s579ms 22 6 1m53s 18s906ms 23 8 1m42s 12s871ms May 13 00 12 3m26s 17s242ms 01 8 1m58s 14s834ms 02 1 21s491ms 21s491ms 03 7 1m44s 14s894ms 10 3 25s361ms 8s453ms 11 11 1m47s 9s795ms 12 14 4m48s 20s578ms 13 10 2m10s 13s84ms 14 20 6m52s 20s604ms 17 1 16s263ms 16s263ms 19 2 16s488ms 8s244ms 22 6 1m40s 16s831ms 23 5 53s96ms 10s619ms May 14 00 12 3m16s 16s353ms 01 12 3m44s 18s701ms 02 9 1m55s 12s856ms 03 1 5s14ms 5s14ms 04 3 49s811ms 16s603ms 05 15 4m38s 18s593ms 06 7 2m 17s201ms 07 4 53s693ms 13s423ms 08 6 1m36s 16s83ms 09 8 2m13s 16s643ms 13 3 57s877ms 19s292ms 14 5 1m27s 17s584ms 15 12 3m22s 16s838ms 16 17 4m50s 17s88ms 18 17 5m18s 18s728ms 19 6 1m42s 17s135ms 20 3 54s413ms 18s137ms 21 3 52s136ms 17s378ms 22 19 5m17s 16s703ms 23 3 57s670ms 19s223ms May 15 04 3 47s929ms 15s976ms 05 4 1m10s 17s676ms 06 4 1m9s 17s408ms 07 12 3m9s 15s776ms 08 7 1m56s 16s706ms 09 11 5m13s 28s532ms 10 13 3m37s 16s733ms 11 5 1m6s 13s378ms 13 1 10s211ms 10s211ms 14 10 2m56s 17s667ms 15 9 2m37s 17s534ms 16 6 2m9s 21s606ms 17 13 3m49s 17s630ms 18 10 2m42s 16s228ms 19 3 51s76ms 17s25ms 20 5 1m27s 17s434ms 21 18 5m26s 18s123ms 22 16 4m10s 15s648ms 23 9 2m32s 16s967ms May 16 00 3 51s984ms 17s328ms 01 10 2m42s 16s257ms 02 13 3m30s 16s215ms 03 12 3m44s 18s717ms 04 9 2m36s 17s334ms 05 7 2m2s 17s471ms 06 4 50s594ms 12s648ms 07 13 3m57s 18s251ms 08 11 3m31s 19s244ms 09 4 1m 15s80ms 10 17 4m57s 17s496ms 11 6 1m56s 19s489ms 12 7 1m57s 16s823ms 13 13 3m14s 14s955ms 14 4 1m2s 15s512ms 15 11 3m22s 18s443ms 17 6 1m58s 19s687ms 18 16 4m20s 16s264ms 19 15 4m29s 17s980ms 20 9 2m34s 17s115ms 21 6 1m52s 18s735ms 23 11 2m54s 15s861ms May 17 00 15 4m30s 18s55ms 01 7 1m32s 13s211ms 02 13 4m 18s488ms 03 3 57s919ms 19s306ms 04 10 2m40s 16s16ms 05 12 3m23s 16s988ms 06 13 3m45s 17s344ms 07 3 51s827ms 17s275ms 08 6 1m44s 17s349ms 09 3 51s516ms 17s172ms 10 15 4m59s 19s966ms 11 11 2m56s 16s78ms 12 9 2m30s 16s706ms 13 1 5s499ms 5s499ms 14 8 2m34s 19s350ms 15 12 2m28s 12s402ms 16 2 32s531ms 16s265ms 17 4 53s517ms 13s379ms 18 8 2m35s 19s441ms 20 3 1m1s 20s385ms 21 5 54s310ms 10s862ms 22 10 2m56s 17s621ms 23 3 1m6s 22s278ms [ User: pubeu - Total duration: 1h45m15s - Times executed: 352 ]
-
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 = '2105332') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-11 14:40:26 Duration: 1m55s 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 = '2102940') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-15 09:37:15 Duration: 1m18s 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 = '2101690') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-11 14:40:12 Duration: 1m6s Database: ctdprd51 User: pubeu Bind query: yes
2 4h4m1s 11,693 1s76ms 4s756ms 1s252ms 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 May 11 00 89 1m58s 1s336ms 01 71 1m36s 1s355ms 02 82 1m46s 1s301ms 03 65 1m22s 1s273ms 04 83 1m44s 1s262ms 05 73 1m32s 1s263ms 06 87 1m49s 1s258ms 07 64 1m19s 1s247ms 08 80 1m38s 1s233ms 09 80 1m38s 1s230ms 10 77 1m34s 1s232ms 11 74 1m31s 1s243ms 12 69 1m24s 1s223ms 13 69 1m24s 1s230ms 14 95 2m1s 1s281ms 15 80 1m38s 1s229ms 16 73 1m29s 1s231ms 17 65 1m20s 1s233ms 18 21 25s723ms 1s224ms 19 13 15s634ms 1s202ms 20 96 1m58s 1s230ms 21 59 1m12s 1s227ms 22 81 1m40s 1s246ms 23 82 1m43s 1s259ms May 12 00 70 1m28s 1s264ms 01 68 1m25s 1s261ms 02 24 29s689ms 1s237ms 03 7 8s689ms 1s241ms 04 54 1m7s 1s256ms 05 84 1m45s 1s259ms 06 80 1m38s 1s226ms 07 90 1m51s 1s235ms 08 78 1m36s 1s233ms 09 69 1m24s 1s231ms 10 51 1m2s 1s234ms 11 12 14s221ms 1s185ms 12 14 16s643ms 1s188ms 13 7 8s170ms 1s167ms 14 8 9s360ms 1s170ms 15 15 17s646ms 1s176ms 16 7 8s545ms 1s220ms 17 10 11s660ms 1s166ms 18 11 13s18ms 1s183ms 19 12 14s29ms 1s169ms 20 12 14s292ms 1s191ms 21 15 18s65ms 1s204ms 22 92 1m58s 1s284ms 23 86 1m45s 1s228ms May 13 00 84 1m45s 1s251ms 01 95 2m 1s270ms 02 88 1m53s 1s290ms 03 85 1m46s 1s250ms 04 9 10s975ms 1s219ms 05 9 11s408ms 1s267ms 06 2 2s531ms 1s265ms 07 3 3s619ms 1s206ms 08 6 7s231ms 1s205ms 09 27 33s5ms 1s222ms 10 86 1m45s 1s222ms 11 70 1m27s 1s243ms 12 88 1m48s 1s234ms 13 100 2m10s 1s306ms 14 96 1m59s 1s241ms 15 56 1m8s 1s216ms 16 4 4s799ms 1s199ms 17 12 14s284ms 1s190ms 18 20 23s514ms 1s175ms 19 14 16s483ms 1s177ms 20 8 9s383ms 1s172ms 21 10 11s704ms 1s170ms 22 61 1m16s 1s250ms 23 80 1m41s 1s264ms May 14 00 85 1m46s 1s257ms 01 74 1m33s 1s259ms 02 81 1m40s 1s246ms 03 101 2m6s 1s247ms 04 80 1m38s 1s236ms 05 96 1m59s 1s245ms 06 74 1m34s 1s275ms 07 94 1m57s 1s255ms 08 88 1m49s 1s245ms 09 79 1m39s 1s262ms 10 13 15s849ms 1s219ms 11 4 4s816ms 1s204ms 12 6 7s213ms 1s202ms 13 24 29s140ms 1s214ms 14 81 1m42s 1s264ms 15 50 1m1s 1s227ms 16 49 1m1s 1s260ms 17 77 1m33s 1s220ms 18 96 1m56s 1s213ms 19 75 1m31s 1s215ms 20 85 1m45s 1s238ms 21 85 1m43s 1s222ms 22 92 1m55s 1s259ms 23 27 37s387ms 1s384ms May 15 03 29 36s743ms 1s267ms 04 92 1m55s 1s259ms 05 92 1m56s 1s261ms 06 31 38s250ms 1s233ms 07 80 1m39s 1s249ms 08 92 1m54s 1s241ms 09 99 2m4s 1s262ms 10 104 2m6s 1s215ms 11 95 1m56s 1s227ms 12 17 20s703ms 1s217ms 13 4 4s723ms 1s180ms 14 101 2m4s 1s229ms 15 95 1m55s 1s218ms 16 101 2m5s 1s245ms 17 81 1m41s 1s257ms 18 82 1m40s 1s221ms 19 58 1m11s 1s226ms 20 112 2m16s 1s221ms 21 100 2m3s 1s235ms 22 134 2m47s 1s248ms 23 107 2m12s 1s237ms May 16 00 38 46s529ms 1s224ms 01 131 2m44s 1s258ms 02 118 2m31s 1s280ms 03 95 1m59s 1s261ms 04 123 2m34s 1s255ms 05 75 1m34s 1s254ms 06 84 1m44s 1s240ms 07 98 2m3s 1s259ms 08 118 2m28s 1s261ms 09 127 2m37s 1s237ms 10 87 1m48s 1s252ms 11 51 1m2s 1s231ms 12 108 2m16s 1s267ms 13 132 2m45s 1s252ms 14 132 2m43s 1s235ms 15 84 1m46s 1s270ms 17 69 1m26s 1s255ms 18 121 2m30s 1s241ms 19 99 2m2s 1s241ms 20 113 2m20s 1s244ms 21 105 2m9s 1s235ms 22 33 42s 1s272ms 23 116 2m27s 1s267ms May 17 00 125 2m42s 1s299ms 01 115 2m25s 1s267ms 02 111 2m23s 1s295ms 03 22 27s464ms 1s248ms 04 85 1m47s 1s268ms 05 125 2m39s 1s277ms 06 120 2m31s 1s258ms 07 107 2m15s 1s265ms 08 45 56s688ms 1s259ms 09 84 1m47s 1s279ms 10 118 2m31s 1s283ms 11 112 2m22s 1s271ms 12 120 2m31s 1s261ms 13 67 1m24s 1s259ms 14 87 1m51s 1s278ms 15 116 2m26s 1s259ms 16 153 3m13s 1s267ms 17 125 2m38s 1s264ms 18 80 1m40s 1s252ms 19 21 24s714ms 1s176ms 20 11 13s172ms 1s197ms 21 99 2m4s 1s252ms 22 139 2m56s 1s268ms 23 110 2m21s 1s284ms [ User: pubeu - Total duration: 1h9m7s - Times executed: 3277 ]
-
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 = '1820828' or receptorTerm.id = '1820828' 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-05-13 13:28:27 Duration: 4s756ms 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 = '1638074' or receptorTerm.id = '1638074' 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-05-13 13:28:28 Duration: 4s156ms 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 = '1476534' or receptorTerm.id = '1476534' 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-05-14 06:26:09 Duration: 2s851ms Database: ctdprd51 User: pubeu Bind query: yes
3 2h32m59s 60 1s468ms 18m52s 2m32s 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 #3
Day Hour Count Duration Avg duration May 11 14 6 51m32s 8m35s May 13 13 1 3s353ms 3s353ms May 16 04 1 18m21s 18m21s 05 1 1s789ms 1s789ms 07 2 3s605ms 1s802ms 08 3 6s654ms 2s218ms 09 1 4m13s 4m13s 10 1 3m11s 3m11s 11 2 5s875ms 2s937ms 14 3 15m20s 5m6s 19 1 7m11s 7m11s 21 1 3m20s 3m20s 23 1 5m35s 5m35s May 17 00 3 5s827ms 1s942ms 02 9 19m1s 2m6s 03 7 3m17s 28s236ms 07 1 2s565ms 2s565ms 08 1 2m44s 2m44s 09 1 2s505ms 2s505ms 10 2 11m14s 5m37s 11 3 7s452ms 2s484ms 15 1 3m5s 3m5s 17 1 3m55s 3m55s 19 2 3s494ms 1s747ms 21 1 2s91ms 2s91ms 22 2 3s901ms 1s950ms 23 2 4s80ms 2s40ms [ User: pubeu - Total duration: 57m37s - Times executed: 17 ]
-
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 = '1256379') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-05-11 14:40:25 Duration: 18m52s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1256379') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-05-11 14:39:52 Duration: 18m38s 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 = '1256379') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-05-16 04:48:11 Duration: 18m21s Bind query: yes
4 1h13m31s 257 1s426ms 1m31s 17s163ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 11 01 5 1m52s 22s548ms 03 2 12s251ms 6s125ms 04 1 6s257ms 6s257ms 05 1 8s694ms 8s694ms 07 3 1m 20s169ms 10 4 1m5s 16s366ms 14 1 2s163ms 2s163ms 16 5 1m40s 20s41ms 20 8 2m37s 19s729ms 21 3 1m2s 20s742ms May 12 01 3 1m47s 35s694ms 05 6 1m57s 19s517ms 08 1 3s274ms 3s274ms 20 3 1m2s 20s777ms 23 4 1m3s 15s779ms May 13 00 2 11s967ms 5s983ms 03 3 1m 20s322ms 09 1 4s437ms 4s437ms 11 1 4s681ms 4s681ms 21 1 2s436ms 2s436ms 22 3 52s948ms 17s649ms 23 6 1m51s 18s501ms May 14 00 1 5s256ms 5s256ms 02 1 10s592ms 10s592ms 07 1 2s990ms 2s990ms 08 1 2s226ms 2s226ms 09 2 34s474ms 17s237ms 14 4 59s991ms 14s997ms 15 2 8s885ms 4s442ms 16 3 57s252ms 19s84ms 17 5 1m6s 13s267ms 18 4 59s143ms 14s785ms 19 6 2m49s 28s314ms 20 9 3m1s 20s178ms 21 7 1m25s 12s195ms 22 3 57s812ms 19s270ms May 15 03 3 1m1s 20s592ms 04 6 2m 20s158ms 05 10 3m 18s28ms 08 2 36s217ms 18s108ms 09 1 2s68ms 2s68ms 10 1 3s978ms 3s978ms 11 3 1m1s 20s509ms 17 4 1m 15s42ms 20 3 57s242ms 19s80ms 22 3 58s943ms 19s647ms 23 4 58s844ms 14s711ms May 16 02 3 1m6s 22s272ms 05 3 53s883ms 17s961ms 06 2 7s894ms 3s947ms 07 4 58s314ms 14s578ms 09 9 3m 20s80ms 10 2 4s338ms 2s169ms 12 1 6s483ms 6s483ms 13 3 55s841ms 18s613ms 14 1 3s805ms 3s805ms 15 3 1m8s 22s753ms 17 3 1m 20s163ms 18 1 1s820ms 1s820ms 19 4 1m6s 16s626ms 20 4 1m10s 17s547ms 21 2 6s651ms 3s325ms 22 3 58s877ms 19s625ms May 17 00 4 1m5s 16s359ms 01 4 59s749ms 14s937ms 02 7 2m58s 25s510ms 03 3 1m3s 21s165ms 05 3 1m5s 21s712ms 07 3 57s590ms 19s196ms 09 3 1m1s 20s494ms 10 3 1m4s 21s334ms 11 7 1m15s 10s830ms 12 4 1m4s 16s4ms 13 4 1m13s 18s409ms 16 1 6s590ms 6s590ms 21 3 38s440ms 12s813ms 22 2 35s35ms 17s517ms 23 2 37s570ms 18s785ms [ User: pubeu - Total duration: 26m32s - Times executed: 90 ]
-
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 = '2102656') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-17 02:46:33 Duration: 1m31s 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 = '2097110') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-14 19:56:20 Duration: 57s149ms 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 = '2102037') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-12 01:59:19 Duration: 44s535ms Database: ctdprd51 User: pubeu Bind query: yes
5 1h1m30s 2,654 1s234ms 3s84ms 1s390ms 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 #5
Day Hour Count Duration Avg duration May 11 00 22 32s568ms 1s480ms 01 24 35s247ms 1s468ms 02 8 11s362ms 1s420ms 03 12 16s816ms 1s401ms 04 20 28s591ms 1s429ms 05 22 30s729ms 1s396ms 06 19 27s280ms 1s435ms 07 13 18s13ms 1s385ms 08 18 24s533ms 1s362ms 09 21 28s903ms 1s376ms 10 16 21s481ms 1s342ms 11 21 29s151ms 1s388ms 12 13 17s976ms 1s382ms 13 20 27s511ms 1s375ms 14 13 20s899ms 1s607ms 15 15 20s262ms 1s350ms 16 22 29s968ms 1s362ms 17 12 16s210ms 1s350ms 18 3 3s977ms 1s325ms 19 2 2s618ms 1s309ms 20 16 22s69ms 1s379ms 21 21 28s626ms 1s363ms 22 10 14s241ms 1s424ms 23 17 23s931ms 1s407ms May 12 00 19 26s687ms 1s404ms 01 16 22s656ms 1s416ms 02 5 6s883ms 1s376ms 03 1 1s323ms 1s323ms 04 24 33s621ms 1s400ms 05 19 26s553ms 1s397ms 06 13 17s818ms 1s370ms 07 21 28s284ms 1s346ms 08 22 30s263ms 1s375ms 09 20 27s301ms 1s365ms 10 18 25s217ms 1s400ms 11 1 1s348ms 1s348ms 12 2 2s658ms 1s329ms 13 1 1s274ms 1s274ms 14 1 1s260ms 1s260ms 15 1 1s344ms 1s344ms 17 3 3s996ms 1s332ms 18 3 4s25ms 1s341ms 19 3 3s866ms 1s288ms 21 2 2s621ms 1s310ms 22 21 29s595ms 1s409ms 23 20 27s475ms 1s373ms May 13 00 19 26s245ms 1s381ms 01 22 31s57ms 1s411ms 02 26 35s722ms 1s373ms 03 18 24s717ms 1s373ms 04 3 4s42ms 1s347ms 05 3 4s360ms 1s453ms 07 2 2s552ms 1s276ms 08 2 2s710ms 1s355ms 09 3 4s77ms 1s359ms 10 29 39s448ms 1s360ms 11 22 30s226ms 1s373ms 12 10 13s553ms 1s355ms 13 10 13s645ms 1s364ms 14 26 35s563ms 1s367ms 15 7 9s424ms 1s346ms 16 1 1s340ms 1s340ms 17 1 1s297ms 1s297ms 18 1 1s353ms 1s353ms 20 2 2s607ms 1s303ms 21 1 1s343ms 1s343ms 22 14 19s509ms 1s393ms 23 11 15s258ms 1s387ms May 14 00 22 30s214ms 1s373ms 01 27 37s385ms 1s384ms 02 17 23s540ms 1s384ms 03 12 16s724ms 1s393ms 04 17 23s175ms 1s363ms 05 23 32s532ms 1s414ms 06 20 28s366ms 1s418ms 07 24 32s971ms 1s373ms 08 18 25s152ms 1s397ms 09 19 26s97ms 1s373ms 10 3 4s132ms 1s377ms 11 1 1s335ms 1s335ms 13 8 10s761ms 1s345ms 14 23 31s759ms 1s380ms 15 11 14s740ms 1s340ms 16 13 17s910ms 1s377ms 17 23 31s741ms 1s380ms 18 25 33s388ms 1s335ms 19 19 25s369ms 1s335ms 20 10 13s570ms 1s357ms 21 30 40s950ms 1s365ms 22 21 29s667ms 1s412ms 23 6 9s25ms 1s504ms May 15 03 7 9s811ms 1s401ms 04 25 34s813ms 1s392ms 05 17 23s881ms 1s404ms 06 10 13s714ms 1s371ms 07 20 27s151ms 1s357ms 08 23 32s959ms 1s433ms 09 17 24s182ms 1s422ms 10 27 36s781ms 1s362ms 11 15 20s24ms 1s334ms 12 2 2s692ms 1s346ms 13 1 1s340ms 1s340ms 14 22 29s733ms 1s351ms 15 18 24s341ms 1s352ms 16 23 31s545ms 1s371ms 17 24 32s702ms 1s362ms 18 21 28s47ms 1s335ms 19 4 5s224ms 1s306ms 20 24 32s437ms 1s351ms 21 28 38s213ms 1s364ms 22 32 44s631ms 1s394ms 23 15 20s621ms 1s374ms May 16 00 10 13s490ms 1s349ms 01 23 32s252ms 1s402ms 02 23 32s128ms 1s396ms 03 24 33s803ms 1s408ms 04 28 38s941ms 1s390ms 05 15 22s47ms 1s469ms 06 14 19s785ms 1s413ms 07 23 32s594ms 1s417ms 08 20 27s961ms 1s398ms 09 27 37s381ms 1s384ms 10 24 33s969ms 1s415ms 11 10 13s600ms 1s360ms 12 31 42s534ms 1s372ms 13 31 43s675ms 1s408ms 14 25 33s777ms 1s351ms 15 27 37s479ms 1s388ms 17 20 27s199ms 1s359ms 18 32 43s818ms 1s369ms 19 29 39s498ms 1s362ms 20 33 44s912ms 1s360ms 21 22 30s338ms 1s379ms 22 4 5s588ms 1s397ms 23 36 52s200ms 1s450ms May 17 00 34 48s275ms 1s419ms 01 36 50s611ms 1s405ms 02 22 31s284ms 1s422ms 03 4 5s569ms 1s392ms 04 31 43s732ms 1s410ms 05 28 39s637ms 1s415ms 06 19 27s108ms 1s426ms 07 28 39s880ms 1s424ms 08 8 11s127ms 1s390ms 09 19 26s743ms 1s407ms 10 37 53s145ms 1s436ms 11 22 32s213ms 1s464ms 12 14 19s423ms 1s387ms 13 21 29s12ms 1s381ms 14 14 19s511ms 1s393ms 15 26 38s172ms 1s468ms 16 37 52s306ms 1s413ms 17 28 38s815ms 1s386ms 18 14 19s531ms 1s395ms 19 1 1s271ms 1s271ms 21 22 30s344ms 1s379ms 22 19 26s836ms 1s412ms 23 23 32s813ms 1s426ms [ User: pubeu - Total duration: 17m - Times executed: 725 ]
-
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 = '1239437') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1239437') 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-05-11 14:38:56 Duration: 3s84ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1229441') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1229441') 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-05-11 14:33:44 Duration: 3s7ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1236585') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1236585') 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-05-17 11:38:32 Duration: 3s5ms Bind query: yes
6 37m27s 7 5m14s 5m32s 5m21s select maint_query_logs_archive ();Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 11 00 1 5m14s 5m14s May 12 00 1 5m18s 5m18s May 13 00 1 5m17s 5m17s May 14 00 1 5m20s 5m20s May 15 00 1 5m20s 5m20s May 16 00 1 5m23s 5m23s May 17 00 1 5m32s 5m32s -
/* * 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-05-17 00:05:33 Duration: 5m32s
-
/* * 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-05-16 00:05:25 Duration: 5m23s
-
/* * 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-05-15 00:05:22 Duration: 5m20s
7 34m36s 1,492 1s249ms 2s920ms 1s391ms 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 #7
Day Hour Count Duration Avg duration May 11 00 18 26s882ms 1s493ms 01 9 13s161ms 1s462ms 02 11 15s807ms 1s437ms 03 7 9s880ms 1s411ms 04 12 16s943ms 1s411ms 05 7 10s136ms 1s448ms 06 12 16s402ms 1s366ms 07 9 12s493ms 1s388ms 08 7 9s567ms 1s366ms 09 10 13s476ms 1s347ms 10 10 13s955ms 1s395ms 11 10 13s697ms 1s369ms 12 4 5s449ms 1s362ms 13 11 15s226ms 1s384ms 14 15 20s839ms 1s389ms 15 11 14s998ms 1s363ms 16 9 12s73ms 1s341ms 17 10 13s647ms 1s364ms 18 2 2s633ms 1s316ms 19 2 2s605ms 1s302ms 20 16 22s99ms 1s381ms 21 8 10s921ms 1s365ms 22 5 6s771ms 1s354ms 23 10 14s573ms 1s457ms May 12 00 10 13s939ms 1s393ms 01 11 16s831ms 1s530ms 02 4 5s604ms 1s401ms 04 5 6s956ms 1s391ms 05 14 20s6ms 1s429ms 06 19 26s19ms 1s369ms 07 9 12s253ms 1s361ms 08 10 13s633ms 1s363ms 09 8 10s844ms 1s355ms 10 14 19s84ms 1s363ms 11 3 4s81ms 1s360ms 12 1 1s308ms 1s308ms 13 3 3s991ms 1s330ms 14 2 2s647ms 1s323ms 15 1 1s357ms 1s357ms 17 5 6s523ms 1s304ms 18 2 2s714ms 1s357ms 19 1 1s307ms 1s307ms 20 1 1s315ms 1s315ms 21 1 1s332ms 1s332ms 22 5 7s18ms 1s403ms 23 9 12s345ms 1s371ms May 13 00 11 15s417ms 1s401ms 01 7 10s505ms 1s500ms 02 11 15s581ms 1s416ms 03 15 20s600ms 1s373ms 04 6 8s192ms 1s365ms 05 4 5s759ms 1s439ms 09 3 4s5ms 1s335ms 10 12 16s461ms 1s371ms 11 11 15s260ms 1s387ms 12 14 19s230ms 1s373ms 13 16 22s233ms 1s389ms 14 11 15s81ms 1s371ms 15 7 9s277ms 1s325ms 18 1 1s269ms 1s269ms 20 1 1s323ms 1s323ms 21 2 2s698ms 1s349ms 22 8 11s262ms 1s407ms 23 7 9s801ms 1s400ms May 14 00 16 22s343ms 1s396ms 01 13 17s992ms 1s384ms 02 7 9s603ms 1s371ms 03 10 13s683ms 1s368ms 04 6 8s21ms 1s336ms 05 9 12s858ms 1s428ms 06 7 9s482ms 1s354ms 07 9 12s367ms 1s374ms 08 14 19s797ms 1s414ms 09 9 12s600ms 1s400ms 10 1 1s398ms 1s398ms 11 1 1s342ms 1s342ms 12 3 4s348ms 1s449ms 13 4 5s294ms 1s323ms 14 11 14s928ms 1s357ms 15 8 11s46ms 1s380ms 16 8 11s564ms 1s445ms 17 10 13s481ms 1s348ms 18 18 24s260ms 1s347ms 19 9 12s83ms 1s342ms 20 11 14s753ms 1s341ms 21 15 20s101ms 1s340ms 22 9 12s494ms 1s388ms 23 4 6s244ms 1s561ms May 15 03 6 8s501ms 1s416ms 04 6 8s565ms 1s427ms 05 16 22s176ms 1s386ms 06 6 8s205ms 1s367ms 07 10 13s603ms 1s360ms 08 14 18s943ms 1s353ms 09 11 14s980ms 1s361ms 10 9 12s126ms 1s347ms 11 18 24s470ms 1s359ms 12 4 5s361ms 1s340ms 13 1 1s399ms 1s399ms 14 9 13s585ms 1s509ms 15 20 26s982ms 1s349ms 16 14 19s768ms 1s412ms 17 13 17s581ms 1s352ms 18 15 20s349ms 1s356ms 19 5 6s739ms 1s347ms 20 14 19s112ms 1s365ms 21 15 20s449ms 1s363ms 22 11 15s611ms 1s419ms 23 17 23s499ms 1s382ms May 16 00 3 4s169ms 1s389ms 01 13 18s27ms 1s386ms 02 14 19s358ms 1s382ms 03 7 9s631ms 1s375ms 04 14 19s480ms 1s391ms 05 6 8s647ms 1s441ms 06 5 6s974ms 1s394ms 07 14 19s482ms 1s391ms 08 9 12s558ms 1s395ms 09 10 13s914ms 1s391ms 10 16 21s995ms 1s374ms 11 5 6s929ms 1s385ms 12 16 22s190ms 1s386ms 13 10 13s495ms 1s349ms 14 17 23s113ms 1s359ms 15 11 15s384ms 1s398ms 17 9 12s105ms 1s345ms 18 16 21s725ms 1s357ms 19 12 16s842ms 1s403ms 20 16 21s706ms 1s356ms 21 16 22s201ms 1s387ms 22 1 1s442ms 1s442ms 23 22 31s273ms 1s421ms May 17 00 14 19s771ms 1s412ms 01 14 19s853ms 1s418ms 02 18 26s397ms 1s466ms 03 2 2s744ms 1s372ms 04 15 21s378ms 1s425ms 05 16 23s297ms 1s456ms 06 17 23s774ms 1s398ms 07 15 21s622ms 1s441ms 08 6 8s325ms 1s387ms 09 9 12s546ms 1s394ms 10 14 19s633ms 1s402ms 11 16 22s256ms 1s391ms 12 12 17s290ms 1s440ms 13 9 12s909ms 1s434ms 14 7 10s182ms 1s454ms 15 24 35s781ms 1s490ms 16 9 12s602ms 1s400ms 17 15 20s757ms 1s383ms 18 8 11s217ms 1s402ms 19 1 1s298ms 1s298ms 20 2 2s589ms 1s294ms 21 5 6s810ms 1s362ms 22 12 17s92ms 1s424ms 23 14 19s889ms 1s420ms [ User: pubeu - Total duration: 9m27s - Times executed: 407 ]
-
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 = '2099578') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2099578') 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-05-17 15:01:38 Duration: 2s920ms 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 = '2093619') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2093619') 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-05-12 01:59:02 Duration: 2s816ms 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 = '2096997') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2096997') 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-05-17 02:53:34 Duration: 2s389ms Bind query: yes
8 33m10s 454 3s661ms 20s906ms 4s383ms 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 #8
Day Hour Count Duration Avg duration May 11 00 4 17s37ms 4s259ms 01 3 13s21ms 4s340ms 03 8 32s379ms 4s47ms 04 2 7s705ms 3s852ms 05 8 32s516ms 4s64ms 06 3 12s757ms 4s252ms 07 2 8s456ms 4s228ms 08 1 4s370ms 4s370ms 09 1 4s10ms 4s10ms 10 2 8s356ms 4s178ms 14 2 7s963ms 3s981ms 15 5 21s170ms 4s234ms 17 5 21s95ms 4s219ms 18 1 3s883ms 3s883ms 20 1 3s922ms 3s922ms 22 2 8s760ms 4s380ms 23 1 4s115ms 4s115ms May 12 01 2 8s932ms 4s466ms 02 6 24s312ms 4s52ms 03 2 8s102ms 4s51ms 04 3 26s176ms 8s725ms 05 5 22s8ms 4s401ms 07 2 8s91ms 4s45ms 08 3 12s146ms 4s48ms 09 1 5s301ms 5s301ms 10 14 58s488ms 4s177ms 11 12 47s567ms 3s963ms 12 20 1m48s 5s409ms 13 4 16s54ms 4s13ms 14 2 8s17ms 4s8ms 16 5 19s791ms 3s958ms 17 9 35s978ms 3s997ms 18 1 4s10ms 4s10ms 20 1 4s55ms 4s55ms 21 1 3s826ms 3s826ms 22 2 18s155ms 9s77ms 23 1 3s961ms 3s961ms May 13 00 1 3s910ms 3s910ms 01 3 12s875ms 4s291ms 02 1 4s479ms 4s479ms 03 2 7s954ms 3s977ms 05 1 3s962ms 3s962ms 07 1 4s122ms 4s122ms 08 11 43s992ms 3s999ms 09 4 16s441ms 4s110ms 10 6 24s420ms 4s70ms 11 7 29s226ms 4s175ms 13 2 8s38ms 4s19ms 15 4 16s254ms 4s63ms 16 2 7s968ms 3s984ms 18 1 3s710ms 3s710ms 21 1 4s158ms 4s158ms 22 2 7s624ms 3s812ms 23 1 3s958ms 3s958ms May 14 00 2 9s103ms 4s551ms 01 1 4s93ms 4s93ms 02 7 28s643ms 4s91ms 03 7 28s526ms 4s75ms 04 16 1m19s 4s946ms 05 2 13s794ms 6s897ms 06 1 4s70ms 4s70ms 07 6 41s159ms 6s859ms 09 3 12s315ms 4s105ms 10 2 8s342ms 4s171ms 11 2 7s978ms 3s989ms 12 2 8s19ms 4s9ms 13 11 46s600ms 4s236ms 14 1 4s12ms 4s12ms 15 1 4s86ms 4s86ms 16 3 12s887ms 4s295ms 17 3 12s321ms 4s107ms 18 1 3s912ms 3s912ms 19 1 3s914ms 3s914ms 20 1 4s521ms 4s521ms 21 1 4s5ms 4s5ms 22 1 4s440ms 4s440ms May 15 04 6 24s751ms 4s125ms 05 23 1m33s 4s68ms 06 3 14s691ms 4s897ms 07 4 16s6ms 4s1ms 08 3 12s927ms 4s309ms 09 6 24s866ms 4s144ms 10 2 9s487ms 4s743ms 11 7 28s214ms 4s30ms 12 3 11s632ms 3s877ms 13 2 7s970ms 3s985ms 14 2 10s738ms 5s369ms 15 4 17s11ms 4s252ms 19 4 17s505ms 4s376ms 21 4 17s336ms 4s334ms 22 5 25s206ms 5s41ms 23 7 29s730ms 4s247ms May 16 00 3 14s231ms 4s743ms 02 1 4s142ms 4s142ms 03 1 4s437ms 4s437ms 04 4 16s366ms 4s91ms 05 5 20s645ms 4s129ms 06 1 3s876ms 3s876ms 07 1 4s378ms 4s378ms 09 3 11s912ms 3s970ms 10 4 18s172ms 4s543ms 11 2 7s581ms 3s790ms 12 4 16s730ms 4s182ms 14 1 4s146ms 4s146ms 17 1 3s998ms 3s998ms 18 1 3s964ms 3s964ms 20 1 3s859ms 3s859ms 21 1 4s5ms 4s5ms 22 1 3s838ms 3s838ms 23 2 8s767ms 4s383ms May 17 02 9 51s913ms 5s768ms 03 8 37s438ms 4s679ms 04 4 16s290ms 4s72ms 05 2 8s803ms 4s401ms 06 3 12s47ms 4s15ms 08 1 3s982ms 3s982ms 09 1 4s377ms 4s377ms 10 7 33s389ms 4s769ms 11 3 12s727ms 4s242ms 12 3 12s394ms 4s131ms 13 4 16s149ms 4s37ms 14 11 44s190ms 4s17ms 20 2 7s841ms 3s920ms 21 1 4s193ms 4s193ms 22 1 4s48ms 4s48ms [ User: pubeu - Total duration: 11m34s - Times executed: 156 ]
[ User: qaeu - Total duration: 3s895ms - Times executed: 1 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1409922') 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 = '1409922') 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-05-14 07:55:44 Duration: 20s906ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1409922') 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 = '1409922') 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-05-12 04:36:07 Duration: 18s424ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1409922') 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 = '1409922') 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-05-12 12:29:56 Duration: 17s731ms Bind query: yes
9 27m29s 2 13m34s 13m54s 13m44s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in (( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ? union select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?) intersect ( select 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 = ?)) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 13 01 1 13m34s 13m34s 02 1 13m54s 13m54s [ User: pubeu - Total duration: 13m34s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7) INTERSECT ( SELECT /* GAIQH.getGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RNF165') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-05-13 02:03:08 Duration: 13m54s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7) INTERSECT ( SELECT /* GAIQH.getGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RNF165') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-05-13 01:56:53 Duration: 13m34s Database: ctdprd51 User: pubeu Bind query: yes
10 26m40s 420 1s 51s227ms 3s811ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 12 03 1 5s916ms 5s916ms 04 2 12s139ms 6s69ms May 13 14 417 26m22s 3s795ms [ User: pubeu - Total duration: 3m49s - Times executed: 57 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2094166) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-05-13 14:12:54 Duration: 51s227ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d011297' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2100824) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-05-13 14:35:11 Duration: 39s70ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d007674' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2103187) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-05-13 14:25:16 Duration: 25s328ms Bind query: yes
11 25m2s 1 25m2s 25m2s 25m2s 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 #11
Day Hour Count Duration Avg duration May 17 19 1 25m2s 25m2s -
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-05-17 19:47:19 Duration: 25m2s
12 25m1s 1 25m1s 25m1s 25m1s 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 #12
Day Hour Count Duration Avg duration May 17 19 1 25m1s 25m1s -
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-05-17 19:02:15 Duration: 25m1s
13 24m54s 25 58s536ms 1m3s 59s791ms 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 #13
Day Hour Count Duration Avg duration May 11 06 1 59s153ms 59s153ms 10 1 59s231ms 59s231ms 14 1 58s536ms 58s536ms 18 1 59s13ms 59s13ms May 12 06 1 58s829ms 58s829ms 10 1 59s130ms 59s130ms 14 1 58s712ms 58s712ms 18 1 58s620ms 58s620ms May 13 06 1 59s786ms 59s786ms 10 1 59s907ms 59s907ms 14 1 59s443ms 59s443ms 18 1 58s935ms 58s935ms May 14 06 1 59s771ms 59s771ms 10 1 59s192ms 59s192ms 14 1 1m3s 1m3s 18 1 59s861ms 59s861ms May 15 06 1 59s870ms 59s870ms 10 1 1m 1m 14 1 1m 1m 18 1 1m 1m May 16 06 1 1m 1m 10 1 1m1s 1m1s 14 1 1m 1m 18 1 1m 1m May 17 20 1 1m 1m [ User: postgres - Total duration: 23m54s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 23m54s - 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-05-14 14:06:05 Duration: 1m3s 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-05-16 10:06:03 Duration: 1m1s 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-05-16 14:06:02 Duration: 1m Database: ctdprd51 User: postgres Application: pg_dump
14 23m56s 397 1s 7s273ms 3s618ms 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 May 11 00 8 30s626ms 3s828ms 01 1 5s310ms 5s310ms 02 1 4s824ms 4s824ms 05 6 10s833ms 1s805ms 07 3 17s272ms 5s757ms 08 2 11s118ms 5s559ms 10 2 10s276ms 5s138ms 12 2 10s943ms 5s471ms 14 4 19s563ms 4s890ms 15 1 6s396ms 6s396ms 16 2 6s788ms 3s394ms 17 2 10s814ms 5s407ms 21 1 1s83ms 1s83ms 22 2 3s245ms 1s622ms 23 2 11s75ms 5s537ms May 12 00 3 3s69ms 1s23ms 01 16 54s675ms 3s417ms 02 1 5s230ms 5s230ms 03 1 4s528ms 4s528ms 05 8 17s281ms 2s160ms 07 3 6s944ms 2s314ms 09 5 18s195ms 3s639ms 10 1 1s159ms 1s159ms 18 1 1s16ms 1s16ms 19 5 20s824ms 4s164ms 20 2 9s507ms 4s753ms 23 5 23s153ms 4s630ms May 13 00 10 38s558ms 3s855ms 01 2 2s244ms 1s122ms 02 10 31s80ms 3s108ms 03 2 10s834ms 5s417ms 05 1 1s6ms 1s6ms 07 1 4s814ms 4s814ms 09 2 6s800ms 3s400ms 10 1 1s71ms 1s71ms 11 3 7s543ms 2s514ms 12 1 1s55ms 1s55ms 13 2 10s544ms 5s272ms 14 2 6s624ms 3s312ms 21 1 1s19ms 1s19ms May 14 00 2 6s411ms 3s205ms 02 1 5s660ms 5s660ms 03 1 1s39ms 1s39ms 04 1 1s50ms 1s50ms 05 6 6s325ms 1s54ms 07 1 5s615ms 5s615ms 08 1 5s656ms 5s656ms 09 1 1s38ms 1s38ms 10 1 5s145ms 5s145ms 13 3 16s13ms 5s337ms 14 6 14s442ms 2s407ms 15 6 20s238ms 3s373ms 16 7 16s450ms 2s350ms 17 1 1s66ms 1s66ms 18 8 30s 3s750ms 19 2 10s580ms 5s290ms 20 2 6s794ms 3s397ms 21 4 12s856ms 3s214ms 23 1 1s217ms 1s217ms May 15 04 10 42s129ms 4s212ms 05 11 25s448ms 2s313ms 06 4 13s262ms 3s315ms 07 11 43s356ms 3s941ms 08 3 11s521ms 3s840ms 09 2 10s796ms 5s398ms 10 2 6s955ms 3s477ms 14 3 11s858ms 3s952ms 15 1 5s908ms 5s908ms 17 2 2s21ms 1s10ms 18 11 35s484ms 3s225ms 19 2 10s979ms 5s489ms 20 3 3s215ms 1s71ms 21 7 30s894ms 4s413ms 22 4 19s859ms 4s964ms 23 4 18s168ms 4s542ms May 16 01 1 1s91ms 1s91ms 02 3 8s497ms 2s832ms 03 1 6s384ms 6s384ms 04 1 5s75ms 5s75ms 05 4 12s579ms 3s144ms 06 3 11s652ms 3s884ms 07 3 16s346ms 5s448ms 08 4 25s141ms 6s285ms 09 3 12s799ms 4s266ms 10 6 10s634ms 1s772ms 12 3 11s696ms 3s898ms 13 2 6s737ms 3s368ms 14 2 6s738ms 3s369ms 15 4 21s460ms 5s365ms 17 17 55s581ms 3s269ms 18 4 18s210ms 4s552ms 19 2 11s864ms 5s932ms 20 3 12s289ms 4s96ms 23 1 1s27ms 1s27ms May 17 00 1 5s414ms 5s414ms 01 2 7s357ms 3s678ms 02 1 5s632ms 5s632ms 04 1 5s562ms 5s562ms 05 5 5s608ms 1s121ms 06 3 6s908ms 2s302ms 07 2 12s748ms 6s374ms 08 1 5s418ms 5s418ms 10 4 18s105ms 4s526ms 11 4 17s109ms 4s277ms 12 7 20s334ms 2s904ms 13 1 5s50ms 5s50ms 14 3 15s739ms 5s246ms 15 4 12s802ms 3s200ms 16 7 33s764ms 4s823ms 17 3 12s724ms 4s241ms 18 3 15s781ms 5s260ms 19 1 6s208ms 6s208ms 20 2 11s291ms 5s645ms 21 4 14s817ms 3s704ms 22 5 26s271ms 5s254ms 23 3 7s627ms 2s542ms [ User: pubeu - Total duration: 6m46s - Times executed: 121 ]
[ User: qaeu - Total duration: 6s519ms - Times executed: 6 ]
-
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 = '1374943' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-17 22:35:29 Duration: 7s273ms 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 = '1302547' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-11 00:24:45 Duration: 7s183ms 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 = '1301854' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-16 08:30:21 Duration: 7s72ms Bind query: yes
15 21m19s 459 1s5ms 44s657ms 2s787ms 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 #15
Day Hour Count Duration Avg duration May 11 00 1 1s6ms 1s6ms 01 1 1s475ms 1s475ms 02 4 24s289ms 6s72ms 04 10 23s50ms 2s305ms 05 3 5s500ms 1s833ms 06 8 15s877ms 1s984ms 10 4 26s128ms 6s532ms 11 2 4s322ms 2s161ms 12 7 11s688ms 1s669ms 14 3 6s968ms 2s322ms 16 1 1s51ms 1s51ms 17 3 4s876ms 1s625ms 20 5 7s761ms 1s552ms 21 6 14s261ms 2s376ms 22 2 6s776ms 3s388ms 23 6 23s425ms 3s904ms May 12 00 11 18s441ms 1s676ms 01 4 22s451ms 5s612ms 02 3 7s628ms 2s542ms 06 7 12s692ms 1s813ms 07 3 4s10ms 1s336ms 08 8 12s663ms 1s582ms 09 6 13s499ms 2s249ms 10 3 45s192ms 15s64ms 11 1 2s569ms 2s569ms 12 1 3s248ms 3s248ms 13 1 3s274ms 3s274ms 18 2 5s96ms 2s548ms 21 19 25s771ms 1s356ms 22 11 29s51ms 2s641ms 23 4 10s690ms 2s672ms May 13 00 1 1s130ms 1s130ms 01 1 2s751ms 2s751ms 02 11 36s978ms 3s361ms 03 3 9s917ms 3s305ms 04 15 24s554ms 1s636ms 08 4 10s41ms 2s510ms 09 1 1s88ms 1s88ms 10 3 6s892ms 2s297ms 11 2 3s700ms 1s850ms 12 2 3s909ms 1s954ms 13 4 7s859ms 1s964ms 14 3 9s300ms 3s100ms 15 3 17s574ms 5s858ms 20 4 9s581ms 2s395ms 21 1 1s17ms 1s17ms 23 9 25s857ms 2s873ms May 14 01 3 4s787ms 1s595ms 05 6 8s48ms 1s341ms 07 4 1m43s 25s756ms 11 6 9s329ms 1s554ms 14 3 17s985ms 5s995ms 15 5 12s116ms 2s423ms 16 3 9s168ms 3s56ms 20 6 23s804ms 3s967ms 23 3 31s841ms 10s613ms May 15 04 4 7s47ms 1s761ms 06 3 5s265ms 1s755ms 09 3 5s880ms 1s960ms 10 2 4s393ms 2s196ms 11 7 15s249ms 2s178ms 14 1 1s19ms 1s19ms 15 9 12s202ms 1s355ms 16 6 26s594ms 4s432ms 17 6 12s611ms 2s101ms 18 3 5s280ms 1s760ms 19 5 21s979ms 4s395ms 20 6 12s675ms 2s112ms 21 6 25s771ms 4s295ms 22 2 2s314ms 1s157ms May 16 01 9 17s383ms 1s931ms 03 4 8s222ms 2s55ms 04 4 9s455ms 2s363ms 05 3 9s317ms 3s105ms 07 3 4s351ms 1s450ms 08 2 12s240ms 6s120ms 09 3 4s344ms 1s448ms 10 8 28s372ms 3s546ms 12 6 11s433ms 1s905ms 13 2 2s997ms 1s498ms 14 2 2s829ms 1s414ms 15 1 20s287ms 20s287ms 17 3 10s128ms 3s376ms 18 9 14s665ms 1s629ms 19 8 17s549ms 2s193ms 20 6 9s258ms 1s543ms May 17 00 6 12s423ms 2s70ms 01 4 9s206ms 2s301ms 04 1 3s586ms 3s586ms 07 9 22s220ms 2s468ms 08 6 11s912ms 1s985ms 09 3 10s604ms 3s534ms 10 3 3s522ms 1s174ms 12 2 3s151ms 1s575ms 16 12 26s86ms 2s173ms 17 6 9s301ms 1s550ms 21 10 25s733ms 2s573ms 22 5 13s753ms 2s750ms [ User: pubeu - Total duration: 7m26s - Times executed: 168 ]
-
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 = '2097934') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-05-14 07:32:30 Duration: 44s657ms 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 = '2105235') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-05-14 07:48:56 Duration: 28s377ms 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 = '2105235') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-05-14 07:41:15 Duration: 28s136ms Bind query: yes
16 21m3s 387 1s2ms 12s492ms 3s265ms 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;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 11 00 3 14s817ms 4s939ms 01 1 1s22ms 1s22ms 02 3 3s718ms 1s239ms 04 4 10s824ms 2s706ms 06 2 19s552ms 9s776ms 07 2 2s678ms 1s339ms 08 3 5s232ms 1s744ms 10 5 9s3ms 1s800ms 11 5 31s697ms 6s339ms 12 6 14s175ms 2s362ms 13 3 4s384ms 1s461ms 14 3 3s167ms 1s55ms 15 5 15s838ms 3s167ms 16 4 31s131ms 7s782ms 17 2 2s547ms 1s273ms 20 2 2s635ms 1s317ms 21 5 9s464ms 1s892ms 22 5 17s815ms 3s563ms 23 6 22s897ms 3s816ms May 12 00 3 17s938ms 5s979ms 01 4 31s743ms 7s935ms 06 6 13s547ms 2s257ms 08 6 39s254ms 6s542ms 09 5 12s210ms 2s442ms 10 2 11s139ms 5s569ms 13 1 1s563ms 1s563ms 23 3 5s39ms 1s679ms May 13 00 9 46s813ms 5s201ms 01 5 9s533ms 1s906ms 02 6 17s62ms 2s843ms 03 4 6s855ms 1s713ms 10 2 3s233ms 1s616ms 11 2 2s236ms 1s118ms 12 3 7s561ms 2s520ms 13 1 1s39ms 1s39ms 14 6 25s866ms 4s311ms 15 3 3s242ms 1s80ms 17 1 1s266ms 1s266ms 22 1 2s231ms 2s231ms 23 5 5s864ms 1s172ms May 14 00 2 9s667ms 4s833ms 01 1 1s375ms 1s375ms 03 1 1s564ms 1s564ms 05 1 1s238ms 1s238ms 06 5 6s320ms 1s264ms 07 4 31s674ms 7s918ms 09 3 5s754ms 1s918ms 10 1 3s471ms 3s471ms 12 1 1s452ms 1s452ms 14 3 17s189ms 5s729ms 16 1 1s87ms 1s87ms 17 4 11s226ms 2s806ms 18 1 1s396ms 1s396ms 19 4 5s592ms 1s398ms 20 3 19s44ms 6s348ms 21 6 21s150ms 3s525ms 22 5 7s600ms 1s520ms May 15 04 4 8s888ms 2s222ms 05 7 38s718ms 5s531ms 07 6 35s641ms 5s940ms 08 2 2s980ms 1s490ms 11 1 1s512ms 1s512ms 14 12 25s68ms 2s89ms 15 3 20s885ms 6s961ms 16 5 12s984ms 2s596ms 18 4 6s546ms 1s636ms 21 8 51s100ms 6s387ms 22 5 7s621ms 1s524ms 23 4 8s147ms 2s36ms May 16 01 2 2s582ms 1s291ms 04 1 1s348ms 1s348ms 05 1 1s460ms 1s460ms 06 5 35s157ms 7s31ms 07 2 3s667ms 1s833ms 08 7 10s390ms 1s484ms 09 3 6s425ms 2s141ms 10 9 36s489ms 4s54ms 11 3 3s271ms 1s90ms 12 10 42s17ms 4s201ms 13 6 33s921ms 5s653ms 18 6 39s727ms 6s621ms 19 1 2s72ms 2s72ms 20 3 3s987ms 1s329ms 21 1 2s52ms 2s52ms 22 1 1s591ms 1s591ms 23 6 18s410ms 3s68ms May 17 00 7 22s946ms 3s278ms 01 3 4s922ms 1s640ms 02 4 14s639ms 3s659ms 03 3 3s777ms 1s259ms 05 1 2s583ms 2s583ms 06 4 5s878ms 1s469ms 07 6 9s907ms 1s651ms 09 5 8s428ms 1s685ms 10 4 5s824ms 1s456ms 11 7 17s224ms 2s460ms 12 2 5s233ms 2s616ms 14 1 3s573ms 3s573ms 15 1 2s129ms 2s129ms 16 5 5s938ms 1s187ms 17 2 3s248ms 1s624ms 18 1 2s78ms 2s78ms 20 1 2s39ms 2s39ms 21 1 2s7ms 2s7ms 22 1 1s455ms 1s455ms 23 7 40s437ms 5s776ms [ User: pubeu - Total duration: 6m24s - Times executed: 107 ]
-
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 = '1274194') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2025-05-16 18:14:29 Duration: 12s492ms 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 = '1274194') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2025-05-16 10:08:29 Duration: 11s713ms 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 = '1274194') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2025-05-17 23:49:27 Duration: 11s672ms Bind query: yes
17 19m53s 575 1s1ms 8s726ms 2s75ms 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;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 11 00 6 11s762ms 1s960ms 03 2 2s325ms 1s162ms 04 9 17s273ms 1s919ms 05 9 19s623ms 2s180ms 06 3 5s74ms 1s691ms 07 1 1s131ms 1s131ms 08 6 16s254ms 2s709ms 10 5 8s362ms 1s672ms 11 2 2s309ms 1s154ms 13 3 9s618ms 3s206ms 14 18 38s628ms 2s146ms 15 7 13s297ms 1s899ms 17 2 2s183ms 1s91ms 18 2 2s780ms 1s390ms 20 3 3s231ms 1s77ms 21 9 18s922ms 2s102ms 22 4 5s984ms 1s496ms 23 10 17s430ms 1s743ms May 12 00 5 7s553ms 1s510ms 01 3 3s169ms 1s56ms 04 1 1s74ms 1s74ms 05 2 3s643ms 1s821ms 06 2 3s272ms 1s636ms 07 5 6s825ms 1s365ms 08 3 3s617ms 1s205ms 09 6 15s120ms 2s520ms 10 3 5s612ms 1s870ms 15 3 22s478ms 7s492ms 16 2 2s294ms 1s147ms 18 1 2s757ms 2s757ms 22 5 10s888ms 2s177ms 23 1 1s45ms 1s45ms May 13 00 10 15s608ms 1s560ms 01 9 15s237ms 1s693ms 02 8 19s286ms 2s410ms 03 4 5s162ms 1s290ms 05 2 2s252ms 1s126ms 10 4 4s847ms 1s211ms 11 7 17s4ms 2s429ms 12 7 10s341ms 1s477ms 13 5 12s129ms 2s425ms 14 5 7s456ms 1s491ms 15 1 1s57ms 1s57ms 22 1 1s1ms 1s1ms 23 5 5s809ms 1s161ms May 14 00 2 2s85ms 1s42ms 02 7 8s648ms 1s235ms 03 5 10s346ms 2s69ms 04 5 5s416ms 1s83ms 05 5 26s550ms 5s310ms 06 5 9s760ms 1s952ms 07 4 5s702ms 1s425ms 08 1 1s21ms 1s21ms 14 8 10s881ms 1s360ms 15 4 4s711ms 1s177ms 16 2 2s495ms 1s247ms 17 2 5s386ms 2s693ms 18 3 3s334ms 1s111ms 19 3 3s303ms 1s101ms 20 4 5s911ms 1s477ms 21 1 3s63ms 3s63ms 22 2 3s758ms 1s879ms 23 2 3s709ms 1s854ms May 15 04 6 10s103ms 1s683ms 05 3 3s449ms 1s149ms 06 3 3s345ms 1s115ms 07 2 3s686ms 1s843ms 08 1 1s114ms 1s114ms 09 2 5s144ms 2s572ms 10 10 25s132ms 2s513ms 11 8 13s946ms 1s743ms 14 7 8s538ms 1s219ms 15 1 1s711ms 1s711ms 16 4 18s407ms 4s601ms 17 17 48s624ms 2s860ms 19 4 24s202ms 6s50ms 20 4 5s248ms 1s312ms 21 1 2s351ms 2s351ms 22 2 2s509ms 1s254ms 23 8 29s940ms 3s742ms May 16 00 1 1s79ms 1s79ms 01 7 16s994ms 2s427ms 02 1 1s9ms 1s9ms 03 2 2s676ms 1s338ms 04 7 8s504ms 1s214ms 05 1 1s127ms 1s127ms 06 2 2s78ms 1s39ms 07 2 3s636ms 1s818ms 08 7 17s94ms 2s442ms 09 8 17s952ms 2s244ms 10 9 14s609ms 1s623ms 11 4 10s306ms 2s576ms 12 3 3s476ms 1s158ms 13 6 15s134ms 2s522ms 14 6 12s151ms 2s25ms 15 8 25s877ms 3s234ms 17 4 7s98ms 1s774ms 18 9 12s441ms 1s382ms 19 5 9s490ms 1s898ms 20 11 33s296ms 3s26ms 21 7 13s3ms 1s857ms 23 4 8s693ms 2s173ms May 17 00 2 2s55ms 1s27ms 01 1 1s3ms 1s3ms 02 9 25s577ms 2s841ms 03 2 2s57ms 1s28ms 04 8 10s581ms 1s322ms 05 11 39s486ms 3s589ms 06 7 7s656ms 1s93ms 07 5 13s214ms 2s642ms 08 3 4s178ms 1s392ms 09 2 2s829ms 1s414ms 10 5 27s415ms 5s483ms 11 4 9s868ms 2s467ms 12 1 1s101ms 1s101ms 13 4 7s890ms 1s972ms 14 8 12s151ms 1s518ms 15 10 29s694ms 2s969ms 17 1 1s11ms 1s11ms 18 2 2s389ms 1s194ms 20 1 1s9ms 1s9ms 21 5 5s717ms 1s143ms 22 5 9s157ms 1s831ms 23 6 13s108ms 2s184ms [ User: pubeu - Total duration: 5m23s - Times executed: 156 ]
-
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 = '660173' 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 = '660173') OFFSET 0) mq ORDER BY mq.genesymbolsort;
Date: 2025-05-15 17:06:24 Duration: 8s726ms 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 = '660173' 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 = '660173') OFFSET 0) mq ORDER BY mq.genesymbolsort;
Date: 2025-05-14 05:54:33 Duration: 8s466ms 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 = '660173' 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 = '660173') OFFSET 0) mq ORDER BY mq.genesymbolsort;
Date: 2025-05-15 23:07:04 Duration: 8s421ms Bind query: yes
18 18m7s 1,027 1s 3s8ms 1s58ms select g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, i.id ixnid, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by g.nm_sort, c.nm_sort, i.sort_txt limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 11 00 1 3s8ms 3s8ms 15 1 1s748ms 1s748ms May 12 22 1 1s20ms 1s20ms May 13 03 436 7m41s 1s58ms 04 575 10m 1s44ms May 14 14 1 1s768ms 1s768ms 19 1 1s572ms 1s572ms May 15 04 1 1s749ms 1s749ms 09 1 1s295ms 1s295ms May 16 06 1 1s138ms 1s138ms 13 1 1s763ms 1s763ms 14 1 1s816ms 1s816ms 19 1 1s105ms 1s105ms 23 1 1s28ms 1s28ms May 17 04 1 1s631ms 1s631ms 05 1 1s64ms 1s64ms 22 1 1s600ms 1s600ms 23 1 1s726ms 1s726ms [ User: pubeu - Total duration: 1m38s - Times executed: 88 ]
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1277878') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 352600;
Date: 2025-05-11 00:15:50 Duration: 3s8ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1439178') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 350;
Date: 2025-05-16 14:13:07 Duration: 1s816ms Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1439178') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 50;
Date: 2025-05-14 14:57:08 Duration: 1s768ms Database: ctdprd51 User: pubeu Bind query: yes
19 17m27s 255 1s 9s711ms 4s108ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 11 00 1 1s24ms 1s24ms 02 1 5s523ms 5s523ms 03 1 1s23ms 1s23ms 04 2 11s111ms 5s555ms 05 5 23s438ms 4s687ms 06 2 6s768ms 3s384ms 08 3 16s668ms 5s556ms 09 4 22s245ms 5s561ms 10 5 27s878ms 5s575ms 11 3 3s478ms 1s159ms 12 4 17s971ms 4s492ms 13 3 3s171ms 1s57ms 14 4 9s725ms 2s431ms 15 4 18s139ms 4s534ms 17 2 11s81ms 5s540ms 21 5 27s944ms 5s588ms 22 1 5s597ms 5s597ms 23 3 12s272ms 4s90ms May 12 00 2 6s623ms 3s311ms 01 4 18s64ms 4s516ms 04 1 5s510ms 5s510ms 08 1 5s557ms 5s557ms 09 6 29s255ms 4s875ms 10 1 5s713ms 5s713ms 15 2 11s54ms 5s527ms 22 4 10s722ms 2s680ms 23 5 14s508ms 2s901ms May 13 00 1 5s523ms 5s523ms 01 2 11s326ms 5s663ms 02 4 14s355ms 3s588ms 03 2 11s228ms 5s614ms 05 1 1s5ms 1s5ms 07 1 5s516ms 5s516ms 09 1 5s520ms 5s520ms 10 3 7s831ms 2s610ms 11 5 14s672ms 2s934ms 12 1 5s558ms 5s558ms 13 2 6s810ms 3s405ms 14 1 5s552ms 5s552ms 15 1 5s996ms 5s996ms 17 1 5s517ms 5s517ms 22 2 6s838ms 3s419ms 23 3 16s808ms 5s602ms May 14 03 1 5s677ms 5s677ms 05 3 17s110ms 5s703ms 06 2 7s96ms 3s548ms 07 3 16s997ms 5s665ms 08 4 8s795ms 2s198ms 14 1 5s710ms 5s710ms 15 1 1s60ms 1s60ms 16 2 2s576ms 1s288ms 17 1 5s580ms 5s580ms 18 3 17s537ms 5s845ms 19 1 5s570ms 5s570ms 21 2 6s550ms 3s275ms 22 2 12s235ms 6s117ms May 15 03 1 1s32ms 1s32ms 04 1 5s503ms 5s503ms 05 2 6s788ms 3s394ms 07 2 2s351ms 1s175ms 09 7 21s333ms 3s47ms 10 1 5s604ms 5s604ms 11 1 5s993ms 5s993ms 14 1 1s80ms 1s80ms 15 1 5s578ms 5s578ms 16 4 15s761ms 3s940ms 18 1 6s79ms 6s79ms 19 3 16s813ms 5s604ms 20 2 11s468ms 5s734ms 22 2 11s266ms 5s633ms 23 4 13s387ms 3s346ms May 16 01 1 5s714ms 5s714ms 02 2 7s236ms 3s618ms 03 1 1s181ms 1s181ms 05 2 2s368ms 1s184ms 07 1 5s514ms 5s514ms 08 5 19s694ms 3s938ms 09 3 17s174ms 5s724ms 10 3 8s153ms 2s717ms 12 2 11s402ms 5s701ms 13 4 18s696ms 4s674ms 14 3 12s579ms 4s193ms 15 3 8s143ms 2s714ms 17 1 1s352ms 1s352ms 18 5 23s995ms 4s799ms 19 6 34s656ms 5s776ms 20 2 6s842ms 3s421ms 23 2 11s188ms 5s594ms May 17 00 3 16s879ms 5s626ms 01 2 11s350ms 5s675ms 02 4 8s643ms 2s160ms 04 3 12s721ms 4s240ms 05 5 14s497ms 2s899ms 07 1 5s611ms 5s611ms 08 2 7s233ms 3s616ms 09 2 2s520ms 1s260ms 10 2 11s136ms 5s568ms 11 1 5s884ms 5s884ms 12 4 14s45ms 3s511ms 13 1 5s557ms 5s557ms 14 2 3s88ms 1s544ms 15 1 5s695ms 5s695ms 16 3 12s481ms 4s160ms 17 1 6s229ms 6s229ms 18 1 1s143ms 1s143ms 22 1 1s285ms 1s285ms 23 1 1s75ms 1s75ms [ User: pubeu - Total duration: 5m19s - Times executed: 87 ]
[ User: qaeu - Total duration: 1s5ms - Times executed: 1 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'HNRNPK_0') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'HNRNPK_0') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HNRNPK_0')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'HNRNPK_0')) ii GROUP BY ii.cd;
Date: 2025-05-16 13:54:49 Duration: 9s711ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'HNRNPK_0') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'HNRNPK_0') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HNRNPK_0')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'HNRNPK_0')) ii GROUP BY ii.cd;
Date: 2025-05-16 13:55:07 Duration: 6s667ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'MPSF_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'MPSF_1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MPSF_1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'MPSF_1')) ii GROUP BY ii.cd;
Date: 2025-05-14 22:58:22 Duration: 6s310ms Database: ctdprd51 User: pubeu Bind query: yes
20 16m46s 21 2s417ms 2m20s 47s906ms 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 #20
Day Hour Count Duration Avg duration May 12 01 3 2m23s 47s834ms May 13 13 3 2m52s 57s396ms May 14 06 3 3m56s 1m18s May 15 09 1 2s417ms 2s417ms May 16 13 5 4m26s 53s351ms 23 3 1m30s 30s264ms May 17 09 3 1m33s 31s223ms [ User: pubeu - Total duration: 4m11s - Times executed: 7 ]
-
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 = '2104638')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-05-14 06:28:28 Duration: 2m20s 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 = '1361511')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-05-16 13:55:10 Duration: 1m7s 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 = '1361511')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-05-16 13:54:51 Duration: 1m6s Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 11,693 4h4m1s 1s76ms 4s756ms 1s252ms 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 May 11 00 89 1m58s 1s336ms 01 71 1m36s 1s355ms 02 82 1m46s 1s301ms 03 65 1m22s 1s273ms 04 83 1m44s 1s262ms 05 73 1m32s 1s263ms 06 87 1m49s 1s258ms 07 64 1m19s 1s247ms 08 80 1m38s 1s233ms 09 80 1m38s 1s230ms 10 77 1m34s 1s232ms 11 74 1m31s 1s243ms 12 69 1m24s 1s223ms 13 69 1m24s 1s230ms 14 95 2m1s 1s281ms 15 80 1m38s 1s229ms 16 73 1m29s 1s231ms 17 65 1m20s 1s233ms 18 21 25s723ms 1s224ms 19 13 15s634ms 1s202ms 20 96 1m58s 1s230ms 21 59 1m12s 1s227ms 22 81 1m40s 1s246ms 23 82 1m43s 1s259ms May 12 00 70 1m28s 1s264ms 01 68 1m25s 1s261ms 02 24 29s689ms 1s237ms 03 7 8s689ms 1s241ms 04 54 1m7s 1s256ms 05 84 1m45s 1s259ms 06 80 1m38s 1s226ms 07 90 1m51s 1s235ms 08 78 1m36s 1s233ms 09 69 1m24s 1s231ms 10 51 1m2s 1s234ms 11 12 14s221ms 1s185ms 12 14 16s643ms 1s188ms 13 7 8s170ms 1s167ms 14 8 9s360ms 1s170ms 15 15 17s646ms 1s176ms 16 7 8s545ms 1s220ms 17 10 11s660ms 1s166ms 18 11 13s18ms 1s183ms 19 12 14s29ms 1s169ms 20 12 14s292ms 1s191ms 21 15 18s65ms 1s204ms 22 92 1m58s 1s284ms 23 86 1m45s 1s228ms May 13 00 84 1m45s 1s251ms 01 95 2m 1s270ms 02 88 1m53s 1s290ms 03 85 1m46s 1s250ms 04 9 10s975ms 1s219ms 05 9 11s408ms 1s267ms 06 2 2s531ms 1s265ms 07 3 3s619ms 1s206ms 08 6 7s231ms 1s205ms 09 27 33s5ms 1s222ms 10 86 1m45s 1s222ms 11 70 1m27s 1s243ms 12 88 1m48s 1s234ms 13 100 2m10s 1s306ms 14 96 1m59s 1s241ms 15 56 1m8s 1s216ms 16 4 4s799ms 1s199ms 17 12 14s284ms 1s190ms 18 20 23s514ms 1s175ms 19 14 16s483ms 1s177ms 20 8 9s383ms 1s172ms 21 10 11s704ms 1s170ms 22 61 1m16s 1s250ms 23 80 1m41s 1s264ms May 14 00 85 1m46s 1s257ms 01 74 1m33s 1s259ms 02 81 1m40s 1s246ms 03 101 2m6s 1s247ms 04 80 1m38s 1s236ms 05 96 1m59s 1s245ms 06 74 1m34s 1s275ms 07 94 1m57s 1s255ms 08 88 1m49s 1s245ms 09 79 1m39s 1s262ms 10 13 15s849ms 1s219ms 11 4 4s816ms 1s204ms 12 6 7s213ms 1s202ms 13 24 29s140ms 1s214ms 14 81 1m42s 1s264ms 15 50 1m1s 1s227ms 16 49 1m1s 1s260ms 17 77 1m33s 1s220ms 18 96 1m56s 1s213ms 19 75 1m31s 1s215ms 20 85 1m45s 1s238ms 21 85 1m43s 1s222ms 22 92 1m55s 1s259ms 23 27 37s387ms 1s384ms May 15 03 29 36s743ms 1s267ms 04 92 1m55s 1s259ms 05 92 1m56s 1s261ms 06 31 38s250ms 1s233ms 07 80 1m39s 1s249ms 08 92 1m54s 1s241ms 09 99 2m4s 1s262ms 10 104 2m6s 1s215ms 11 95 1m56s 1s227ms 12 17 20s703ms 1s217ms 13 4 4s723ms 1s180ms 14 101 2m4s 1s229ms 15 95 1m55s 1s218ms 16 101 2m5s 1s245ms 17 81 1m41s 1s257ms 18 82 1m40s 1s221ms 19 58 1m11s 1s226ms 20 112 2m16s 1s221ms 21 100 2m3s 1s235ms 22 134 2m47s 1s248ms 23 107 2m12s 1s237ms May 16 00 38 46s529ms 1s224ms 01 131 2m44s 1s258ms 02 118 2m31s 1s280ms 03 95 1m59s 1s261ms 04 123 2m34s 1s255ms 05 75 1m34s 1s254ms 06 84 1m44s 1s240ms 07 98 2m3s 1s259ms 08 118 2m28s 1s261ms 09 127 2m37s 1s237ms 10 87 1m48s 1s252ms 11 51 1m2s 1s231ms 12 108 2m16s 1s267ms 13 132 2m45s 1s252ms 14 132 2m43s 1s235ms 15 84 1m46s 1s270ms 17 69 1m26s 1s255ms 18 121 2m30s 1s241ms 19 99 2m2s 1s241ms 20 113 2m20s 1s244ms 21 105 2m9s 1s235ms 22 33 42s 1s272ms 23 116 2m27s 1s267ms May 17 00 125 2m42s 1s299ms 01 115 2m25s 1s267ms 02 111 2m23s 1s295ms 03 22 27s464ms 1s248ms 04 85 1m47s 1s268ms 05 125 2m39s 1s277ms 06 120 2m31s 1s258ms 07 107 2m15s 1s265ms 08 45 56s688ms 1s259ms 09 84 1m47s 1s279ms 10 118 2m31s 1s283ms 11 112 2m22s 1s271ms 12 120 2m31s 1s261ms 13 67 1m24s 1s259ms 14 87 1m51s 1s278ms 15 116 2m26s 1s259ms 16 153 3m13s 1s267ms 17 125 2m38s 1s264ms 18 80 1m40s 1s252ms 19 21 24s714ms 1s176ms 20 11 13s172ms 1s197ms 21 99 2m4s 1s252ms 22 139 2m56s 1s268ms 23 110 2m21s 1s284ms [ User: pubeu - Total duration: 1h9m7s - Times executed: 3277 ]
-
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 = '1820828' or receptorTerm.id = '1820828' 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-05-13 13:28:27 Duration: 4s756ms 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 = '1638074' or receptorTerm.id = '1638074' 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-05-13 13:28:28 Duration: 4s156ms 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 = '1476534' or receptorTerm.id = '1476534' 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-05-14 06:26:09 Duration: 2s851ms Database: ctdprd51 User: pubeu Bind query: yes
2 2,654 1h1m30s 1s234ms 3s84ms 1s390ms 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 May 11 00 22 32s568ms 1s480ms 01 24 35s247ms 1s468ms 02 8 11s362ms 1s420ms 03 12 16s816ms 1s401ms 04 20 28s591ms 1s429ms 05 22 30s729ms 1s396ms 06 19 27s280ms 1s435ms 07 13 18s13ms 1s385ms 08 18 24s533ms 1s362ms 09 21 28s903ms 1s376ms 10 16 21s481ms 1s342ms 11 21 29s151ms 1s388ms 12 13 17s976ms 1s382ms 13 20 27s511ms 1s375ms 14 13 20s899ms 1s607ms 15 15 20s262ms 1s350ms 16 22 29s968ms 1s362ms 17 12 16s210ms 1s350ms 18 3 3s977ms 1s325ms 19 2 2s618ms 1s309ms 20 16 22s69ms 1s379ms 21 21 28s626ms 1s363ms 22 10 14s241ms 1s424ms 23 17 23s931ms 1s407ms May 12 00 19 26s687ms 1s404ms 01 16 22s656ms 1s416ms 02 5 6s883ms 1s376ms 03 1 1s323ms 1s323ms 04 24 33s621ms 1s400ms 05 19 26s553ms 1s397ms 06 13 17s818ms 1s370ms 07 21 28s284ms 1s346ms 08 22 30s263ms 1s375ms 09 20 27s301ms 1s365ms 10 18 25s217ms 1s400ms 11 1 1s348ms 1s348ms 12 2 2s658ms 1s329ms 13 1 1s274ms 1s274ms 14 1 1s260ms 1s260ms 15 1 1s344ms 1s344ms 17 3 3s996ms 1s332ms 18 3 4s25ms 1s341ms 19 3 3s866ms 1s288ms 21 2 2s621ms 1s310ms 22 21 29s595ms 1s409ms 23 20 27s475ms 1s373ms May 13 00 19 26s245ms 1s381ms 01 22 31s57ms 1s411ms 02 26 35s722ms 1s373ms 03 18 24s717ms 1s373ms 04 3 4s42ms 1s347ms 05 3 4s360ms 1s453ms 07 2 2s552ms 1s276ms 08 2 2s710ms 1s355ms 09 3 4s77ms 1s359ms 10 29 39s448ms 1s360ms 11 22 30s226ms 1s373ms 12 10 13s553ms 1s355ms 13 10 13s645ms 1s364ms 14 26 35s563ms 1s367ms 15 7 9s424ms 1s346ms 16 1 1s340ms 1s340ms 17 1 1s297ms 1s297ms 18 1 1s353ms 1s353ms 20 2 2s607ms 1s303ms 21 1 1s343ms 1s343ms 22 14 19s509ms 1s393ms 23 11 15s258ms 1s387ms May 14 00 22 30s214ms 1s373ms 01 27 37s385ms 1s384ms 02 17 23s540ms 1s384ms 03 12 16s724ms 1s393ms 04 17 23s175ms 1s363ms 05 23 32s532ms 1s414ms 06 20 28s366ms 1s418ms 07 24 32s971ms 1s373ms 08 18 25s152ms 1s397ms 09 19 26s97ms 1s373ms 10 3 4s132ms 1s377ms 11 1 1s335ms 1s335ms 13 8 10s761ms 1s345ms 14 23 31s759ms 1s380ms 15 11 14s740ms 1s340ms 16 13 17s910ms 1s377ms 17 23 31s741ms 1s380ms 18 25 33s388ms 1s335ms 19 19 25s369ms 1s335ms 20 10 13s570ms 1s357ms 21 30 40s950ms 1s365ms 22 21 29s667ms 1s412ms 23 6 9s25ms 1s504ms May 15 03 7 9s811ms 1s401ms 04 25 34s813ms 1s392ms 05 17 23s881ms 1s404ms 06 10 13s714ms 1s371ms 07 20 27s151ms 1s357ms 08 23 32s959ms 1s433ms 09 17 24s182ms 1s422ms 10 27 36s781ms 1s362ms 11 15 20s24ms 1s334ms 12 2 2s692ms 1s346ms 13 1 1s340ms 1s340ms 14 22 29s733ms 1s351ms 15 18 24s341ms 1s352ms 16 23 31s545ms 1s371ms 17 24 32s702ms 1s362ms 18 21 28s47ms 1s335ms 19 4 5s224ms 1s306ms 20 24 32s437ms 1s351ms 21 28 38s213ms 1s364ms 22 32 44s631ms 1s394ms 23 15 20s621ms 1s374ms May 16 00 10 13s490ms 1s349ms 01 23 32s252ms 1s402ms 02 23 32s128ms 1s396ms 03 24 33s803ms 1s408ms 04 28 38s941ms 1s390ms 05 15 22s47ms 1s469ms 06 14 19s785ms 1s413ms 07 23 32s594ms 1s417ms 08 20 27s961ms 1s398ms 09 27 37s381ms 1s384ms 10 24 33s969ms 1s415ms 11 10 13s600ms 1s360ms 12 31 42s534ms 1s372ms 13 31 43s675ms 1s408ms 14 25 33s777ms 1s351ms 15 27 37s479ms 1s388ms 17 20 27s199ms 1s359ms 18 32 43s818ms 1s369ms 19 29 39s498ms 1s362ms 20 33 44s912ms 1s360ms 21 22 30s338ms 1s379ms 22 4 5s588ms 1s397ms 23 36 52s200ms 1s450ms May 17 00 34 48s275ms 1s419ms 01 36 50s611ms 1s405ms 02 22 31s284ms 1s422ms 03 4 5s569ms 1s392ms 04 31 43s732ms 1s410ms 05 28 39s637ms 1s415ms 06 19 27s108ms 1s426ms 07 28 39s880ms 1s424ms 08 8 11s127ms 1s390ms 09 19 26s743ms 1s407ms 10 37 53s145ms 1s436ms 11 22 32s213ms 1s464ms 12 14 19s423ms 1s387ms 13 21 29s12ms 1s381ms 14 14 19s511ms 1s393ms 15 26 38s172ms 1s468ms 16 37 52s306ms 1s413ms 17 28 38s815ms 1s386ms 18 14 19s531ms 1s395ms 19 1 1s271ms 1s271ms 21 22 30s344ms 1s379ms 22 19 26s836ms 1s412ms 23 23 32s813ms 1s426ms [ User: pubeu - Total duration: 17m - Times executed: 725 ]
-
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 = '1239437') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1239437') 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-05-11 14:38:56 Duration: 3s84ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1229441') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1229441') 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-05-11 14:33:44 Duration: 3s7ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1236585') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1236585') 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-05-17 11:38:32 Duration: 3s5ms Bind query: yes
3 1,492 34m36s 1s249ms 2s920ms 1s391ms 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 #3
Day Hour Count Duration Avg duration May 11 00 18 26s882ms 1s493ms 01 9 13s161ms 1s462ms 02 11 15s807ms 1s437ms 03 7 9s880ms 1s411ms 04 12 16s943ms 1s411ms 05 7 10s136ms 1s448ms 06 12 16s402ms 1s366ms 07 9 12s493ms 1s388ms 08 7 9s567ms 1s366ms 09 10 13s476ms 1s347ms 10 10 13s955ms 1s395ms 11 10 13s697ms 1s369ms 12 4 5s449ms 1s362ms 13 11 15s226ms 1s384ms 14 15 20s839ms 1s389ms 15 11 14s998ms 1s363ms 16 9 12s73ms 1s341ms 17 10 13s647ms 1s364ms 18 2 2s633ms 1s316ms 19 2 2s605ms 1s302ms 20 16 22s99ms 1s381ms 21 8 10s921ms 1s365ms 22 5 6s771ms 1s354ms 23 10 14s573ms 1s457ms May 12 00 10 13s939ms 1s393ms 01 11 16s831ms 1s530ms 02 4 5s604ms 1s401ms 04 5 6s956ms 1s391ms 05 14 20s6ms 1s429ms 06 19 26s19ms 1s369ms 07 9 12s253ms 1s361ms 08 10 13s633ms 1s363ms 09 8 10s844ms 1s355ms 10 14 19s84ms 1s363ms 11 3 4s81ms 1s360ms 12 1 1s308ms 1s308ms 13 3 3s991ms 1s330ms 14 2 2s647ms 1s323ms 15 1 1s357ms 1s357ms 17 5 6s523ms 1s304ms 18 2 2s714ms 1s357ms 19 1 1s307ms 1s307ms 20 1 1s315ms 1s315ms 21 1 1s332ms 1s332ms 22 5 7s18ms 1s403ms 23 9 12s345ms 1s371ms May 13 00 11 15s417ms 1s401ms 01 7 10s505ms 1s500ms 02 11 15s581ms 1s416ms 03 15 20s600ms 1s373ms 04 6 8s192ms 1s365ms 05 4 5s759ms 1s439ms 09 3 4s5ms 1s335ms 10 12 16s461ms 1s371ms 11 11 15s260ms 1s387ms 12 14 19s230ms 1s373ms 13 16 22s233ms 1s389ms 14 11 15s81ms 1s371ms 15 7 9s277ms 1s325ms 18 1 1s269ms 1s269ms 20 1 1s323ms 1s323ms 21 2 2s698ms 1s349ms 22 8 11s262ms 1s407ms 23 7 9s801ms 1s400ms May 14 00 16 22s343ms 1s396ms 01 13 17s992ms 1s384ms 02 7 9s603ms 1s371ms 03 10 13s683ms 1s368ms 04 6 8s21ms 1s336ms 05 9 12s858ms 1s428ms 06 7 9s482ms 1s354ms 07 9 12s367ms 1s374ms 08 14 19s797ms 1s414ms 09 9 12s600ms 1s400ms 10 1 1s398ms 1s398ms 11 1 1s342ms 1s342ms 12 3 4s348ms 1s449ms 13 4 5s294ms 1s323ms 14 11 14s928ms 1s357ms 15 8 11s46ms 1s380ms 16 8 11s564ms 1s445ms 17 10 13s481ms 1s348ms 18 18 24s260ms 1s347ms 19 9 12s83ms 1s342ms 20 11 14s753ms 1s341ms 21 15 20s101ms 1s340ms 22 9 12s494ms 1s388ms 23 4 6s244ms 1s561ms May 15 03 6 8s501ms 1s416ms 04 6 8s565ms 1s427ms 05 16 22s176ms 1s386ms 06 6 8s205ms 1s367ms 07 10 13s603ms 1s360ms 08 14 18s943ms 1s353ms 09 11 14s980ms 1s361ms 10 9 12s126ms 1s347ms 11 18 24s470ms 1s359ms 12 4 5s361ms 1s340ms 13 1 1s399ms 1s399ms 14 9 13s585ms 1s509ms 15 20 26s982ms 1s349ms 16 14 19s768ms 1s412ms 17 13 17s581ms 1s352ms 18 15 20s349ms 1s356ms 19 5 6s739ms 1s347ms 20 14 19s112ms 1s365ms 21 15 20s449ms 1s363ms 22 11 15s611ms 1s419ms 23 17 23s499ms 1s382ms May 16 00 3 4s169ms 1s389ms 01 13 18s27ms 1s386ms 02 14 19s358ms 1s382ms 03 7 9s631ms 1s375ms 04 14 19s480ms 1s391ms 05 6 8s647ms 1s441ms 06 5 6s974ms 1s394ms 07 14 19s482ms 1s391ms 08 9 12s558ms 1s395ms 09 10 13s914ms 1s391ms 10 16 21s995ms 1s374ms 11 5 6s929ms 1s385ms 12 16 22s190ms 1s386ms 13 10 13s495ms 1s349ms 14 17 23s113ms 1s359ms 15 11 15s384ms 1s398ms 17 9 12s105ms 1s345ms 18 16 21s725ms 1s357ms 19 12 16s842ms 1s403ms 20 16 21s706ms 1s356ms 21 16 22s201ms 1s387ms 22 1 1s442ms 1s442ms 23 22 31s273ms 1s421ms May 17 00 14 19s771ms 1s412ms 01 14 19s853ms 1s418ms 02 18 26s397ms 1s466ms 03 2 2s744ms 1s372ms 04 15 21s378ms 1s425ms 05 16 23s297ms 1s456ms 06 17 23s774ms 1s398ms 07 15 21s622ms 1s441ms 08 6 8s325ms 1s387ms 09 9 12s546ms 1s394ms 10 14 19s633ms 1s402ms 11 16 22s256ms 1s391ms 12 12 17s290ms 1s440ms 13 9 12s909ms 1s434ms 14 7 10s182ms 1s454ms 15 24 35s781ms 1s490ms 16 9 12s602ms 1s400ms 17 15 20s757ms 1s383ms 18 8 11s217ms 1s402ms 19 1 1s298ms 1s298ms 20 2 2s589ms 1s294ms 21 5 6s810ms 1s362ms 22 12 17s92ms 1s424ms 23 14 19s889ms 1s420ms [ User: pubeu - Total duration: 9m27s - Times executed: 407 ]
-
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 = '2099578') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2099578') 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-05-17 15:01:38 Duration: 2s920ms 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 = '2093619') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2093619') 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-05-12 01:59:02 Duration: 2s816ms 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 = '2096997') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2096997') 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-05-17 02:53:34 Duration: 2s389ms Bind query: yes
4 1,072 5h12m40s 1s3ms 1m55s 17s500ms 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 May 11 00 9 2m38s 17s574ms 01 9 2m21s 15s707ms 02 4 1m6s 16s546ms 03 6 1m53s 18s920ms 04 3 59s122ms 19s707ms 05 4 54s942ms 13s735ms 06 11 3m19s 18s115ms 07 4 1m2s 15s643ms 09 6 1m47s 17s952ms 10 13 3m44s 17s258ms 11 9 2m37s 17s483ms 12 4 56s959ms 14s239ms 13 15 3m44s 14s935ms 14 18 10m55s 36s427ms 15 4 51s944ms 12s986ms 16 3 56s318ms 18s772ms 17 7 1m53s 16s251ms 20 9 2m34s 17s195ms 21 13 3m26s 15s882ms 22 14 3m47s 16s253ms 23 6 1m40s 16s760ms May 12 00 12 3m39s 18s276ms 01 3 57s898ms 19s299ms 02 3 51s300ms 17s100ms 05 10 2m51s 17s171ms 06 3 37s367ms 12s455ms 07 6 1m48s 18s116ms 08 23 8m59s 23s455ms 09 7 2m 17s208ms 10 3 50s696ms 16s898ms 12 3 50s231ms 16s743ms 13 3 53s925ms 17s975ms 15 3 1m7s 22s535ms 16 1 16s579ms 16s579ms 22 6 1m53s 18s906ms 23 8 1m42s 12s871ms May 13 00 12 3m26s 17s242ms 01 8 1m58s 14s834ms 02 1 21s491ms 21s491ms 03 7 1m44s 14s894ms 10 3 25s361ms 8s453ms 11 11 1m47s 9s795ms 12 14 4m48s 20s578ms 13 10 2m10s 13s84ms 14 20 6m52s 20s604ms 17 1 16s263ms 16s263ms 19 2 16s488ms 8s244ms 22 6 1m40s 16s831ms 23 5 53s96ms 10s619ms May 14 00 12 3m16s 16s353ms 01 12 3m44s 18s701ms 02 9 1m55s 12s856ms 03 1 5s14ms 5s14ms 04 3 49s811ms 16s603ms 05 15 4m38s 18s593ms 06 7 2m 17s201ms 07 4 53s693ms 13s423ms 08 6 1m36s 16s83ms 09 8 2m13s 16s643ms 13 3 57s877ms 19s292ms 14 5 1m27s 17s584ms 15 12 3m22s 16s838ms 16 17 4m50s 17s88ms 18 17 5m18s 18s728ms 19 6 1m42s 17s135ms 20 3 54s413ms 18s137ms 21 3 52s136ms 17s378ms 22 19 5m17s 16s703ms 23 3 57s670ms 19s223ms May 15 04 3 47s929ms 15s976ms 05 4 1m10s 17s676ms 06 4 1m9s 17s408ms 07 12 3m9s 15s776ms 08 7 1m56s 16s706ms 09 11 5m13s 28s532ms 10 13 3m37s 16s733ms 11 5 1m6s 13s378ms 13 1 10s211ms 10s211ms 14 10 2m56s 17s667ms 15 9 2m37s 17s534ms 16 6 2m9s 21s606ms 17 13 3m49s 17s630ms 18 10 2m42s 16s228ms 19 3 51s76ms 17s25ms 20 5 1m27s 17s434ms 21 18 5m26s 18s123ms 22 16 4m10s 15s648ms 23 9 2m32s 16s967ms May 16 00 3 51s984ms 17s328ms 01 10 2m42s 16s257ms 02 13 3m30s 16s215ms 03 12 3m44s 18s717ms 04 9 2m36s 17s334ms 05 7 2m2s 17s471ms 06 4 50s594ms 12s648ms 07 13 3m57s 18s251ms 08 11 3m31s 19s244ms 09 4 1m 15s80ms 10 17 4m57s 17s496ms 11 6 1m56s 19s489ms 12 7 1m57s 16s823ms 13 13 3m14s 14s955ms 14 4 1m2s 15s512ms 15 11 3m22s 18s443ms 17 6 1m58s 19s687ms 18 16 4m20s 16s264ms 19 15 4m29s 17s980ms 20 9 2m34s 17s115ms 21 6 1m52s 18s735ms 23 11 2m54s 15s861ms May 17 00 15 4m30s 18s55ms 01 7 1m32s 13s211ms 02 13 4m 18s488ms 03 3 57s919ms 19s306ms 04 10 2m40s 16s16ms 05 12 3m23s 16s988ms 06 13 3m45s 17s344ms 07 3 51s827ms 17s275ms 08 6 1m44s 17s349ms 09 3 51s516ms 17s172ms 10 15 4m59s 19s966ms 11 11 2m56s 16s78ms 12 9 2m30s 16s706ms 13 1 5s499ms 5s499ms 14 8 2m34s 19s350ms 15 12 2m28s 12s402ms 16 2 32s531ms 16s265ms 17 4 53s517ms 13s379ms 18 8 2m35s 19s441ms 20 3 1m1s 20s385ms 21 5 54s310ms 10s862ms 22 10 2m56s 17s621ms 23 3 1m6s 22s278ms [ User: pubeu - Total duration: 1h45m15s - Times executed: 352 ]
-
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 = '2105332') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-11 14:40:26 Duration: 1m55s 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 = '2102940') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-15 09:37:15 Duration: 1m18s 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 = '2101690') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-11 14:40:12 Duration: 1m6s Database: ctdprd51 User: pubeu Bind query: yes
5 1,027 18m7s 1s 3s8ms 1s58ms select g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, i.id ixnid, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by g.nm_sort, c.nm_sort, i.sort_txt limit ? offset ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 11 00 1 3s8ms 3s8ms 15 1 1s748ms 1s748ms May 12 22 1 1s20ms 1s20ms May 13 03 436 7m41s 1s58ms 04 575 10m 1s44ms May 14 14 1 1s768ms 1s768ms 19 1 1s572ms 1s572ms May 15 04 1 1s749ms 1s749ms 09 1 1s295ms 1s295ms May 16 06 1 1s138ms 1s138ms 13 1 1s763ms 1s763ms 14 1 1s816ms 1s816ms 19 1 1s105ms 1s105ms 23 1 1s28ms 1s28ms May 17 04 1 1s631ms 1s631ms 05 1 1s64ms 1s64ms 22 1 1s600ms 1s600ms 23 1 1s726ms 1s726ms [ User: pubeu - Total duration: 1m38s - Times executed: 88 ]
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1277878') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 352600;
Date: 2025-05-11 00:15:50 Duration: 3s8ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1439178') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 350;
Date: 2025-05-16 14:13:07 Duration: 1s816ms Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1439178') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 50;
Date: 2025-05-14 14:57:08 Duration: 1s768ms Database: ctdprd51 User: pubeu Bind query: yes
6 701 14m46s 1s141ms 2s477ms 1s264ms 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 #6
Day Hour Count Duration Avg duration May 11 00 12 15s759ms 1s313ms 01 3 4s63ms 1s354ms 02 3 3s937ms 1s312ms 03 5 6s252ms 1s250ms 04 4 5s694ms 1s423ms 05 3 3s712ms 1s237ms 06 3 4s191ms 1s397ms 07 5 6s421ms 1s284ms 08 4 4s880ms 1s220ms 09 6 7s484ms 1s247ms 10 5 6s165ms 1s233ms 11 5 6s40ms 1s208ms 12 4 4s942ms 1s235ms 13 7 8s788ms 1s255ms 14 3 4s789ms 1s596ms 15 2 2s427ms 1s213ms 16 7 8s622ms 1s231ms 17 5 6s219ms 1s243ms 19 2 2s470ms 1s235ms 20 3 3s874ms 1s291ms 21 5 6s49ms 1s209ms 22 5 6s232ms 1s246ms 23 5 6s267ms 1s253ms May 12 00 6 7s939ms 1s323ms 01 5 6s321ms 1s264ms 02 2 2s470ms 1s235ms 03 1 1s218ms 1s218ms 04 6 7s652ms 1s275ms 05 4 5s298ms 1s324ms 06 4 4s908ms 1s227ms 07 9 11s110ms 1s234ms 08 4 5s303ms 1s325ms 09 2 2s473ms 1s236ms 10 2 2s430ms 1s215ms 11 1 1s208ms 1s208ms 14 1 1s185ms 1s185ms 18 1 1s182ms 1s182ms 19 1 1s220ms 1s220ms 22 5 6s229ms 1s245ms 23 4 4s826ms 1s206ms May 13 00 6 7s545ms 1s257ms 01 5 6s334ms 1s266ms 02 3 3s883ms 1s294ms 03 7 8s737ms 1s248ms 09 3 3s635ms 1s211ms 10 5 6s261ms 1s252ms 11 2 3s491ms 1s745ms 12 2 2s417ms 1s208ms 13 4 4s837ms 1s209ms 14 4 5s92ms 1s273ms 15 3 3s875ms 1s291ms 17 2 2s345ms 1s172ms 22 2 2s440ms 1s220ms 23 6 7s595ms 1s265ms May 14 00 5 6s175ms 1s235ms 01 6 7s509ms 1s251ms 02 6 7s308ms 1s218ms 03 5 6s241ms 1s248ms 04 4 5s16ms 1s254ms 05 5 6s162ms 1s232ms 06 4 5s32ms 1s258ms 07 5 6s292ms 1s258ms 08 5 6s242ms 1s248ms 09 3 3s595ms 1s198ms 12 1 1s200ms 1s200ms 13 1 1s262ms 1s262ms 14 5 6s202ms 1s240ms 15 6 7s384ms 1s230ms 16 3 3s694ms 1s231ms 17 4 4s890ms 1s222ms 18 9 11s154ms 1s239ms 19 4 4s973ms 1s243ms 20 5 6s231ms 1s246ms 21 6 7s416ms 1s236ms 22 5 6s966ms 1s393ms 23 4 5s99ms 1s274ms May 15 03 2 2s538ms 1s269ms 04 2 2s507ms 1s253ms 05 3 3s749ms 1s249ms 06 3 3s715ms 1s238ms 07 7 9s89ms 1s298ms 08 4 5s12ms 1s253ms 09 2 2s475ms 1s237ms 10 3 3s643ms 1s214ms 11 3 3s684ms 1s228ms 12 1 1s180ms 1s180ms 14 5 5s922ms 1s184ms 15 6 7s369ms 1s228ms 16 3 3s662ms 1s220ms 17 3 3s677ms 1s225ms 18 5 5s930ms 1s186ms 19 1 1s205ms 1s205ms 20 8 9s773ms 1s221ms 21 3 3s709ms 1s236ms 22 11 13s565ms 1s233ms 23 3 3s631ms 1s210ms May 16 00 3 3s668ms 1s222ms 01 11 13s883ms 1s262ms 02 9 11s478ms 1s275ms 03 12 16s81ms 1s340ms 04 7 8s815ms 1s259ms 05 4 4s961ms 1s240ms 06 5 6s146ms 1s229ms 07 5 6s293ms 1s258ms 08 4 5s23ms 1s255ms 09 2 2s682ms 1s341ms 10 7 8s922ms 1s274ms 11 3 3s769ms 1s256ms 12 9 11s110ms 1s234ms 13 10 12s760ms 1s276ms 14 8 9s725ms 1s215ms 15 4 4s993ms 1s248ms 17 6 7s298ms 1s216ms 18 6 7s690ms 1s281ms 19 7 8s842ms 1s263ms 20 6 7s342ms 1s223ms 21 5 6s255ms 1s251ms 23 8 10s134ms 1s266ms May 17 00 7 8s927ms 1s275ms 01 6 7s643ms 1s273ms 02 5 6s435ms 1s287ms 03 2 2s503ms 1s251ms 04 7 9s151ms 1s307ms 05 10 12s901ms 1s290ms 06 8 10s21ms 1s252ms 07 6 7s646ms 1s274ms 08 4 4s982ms 1s245ms 09 6 7s950ms 1s325ms 10 10 13s957ms 1s395ms 11 7 8s906ms 1s272ms 12 12 15s117ms 1s259ms 13 4 4s998ms 1s249ms 14 8 10s256ms 1s282ms 15 8 10s109ms 1s263ms 16 13 16s605ms 1s277ms 17 10 12s749ms 1s274ms 18 5 6s885ms 1s377ms 19 2 2s403ms 1s201ms 20 2 2s377ms 1s188ms 21 6 7s542ms 1s257ms 22 6 7s591ms 1s265ms 23 9 11s898ms 1s322ms [ User: pubeu - Total duration: 4m10s - Times executed: 196 ]
-
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 = '1456942' or receptorTerm.id = '1456942' 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-05-17 10:11:50 Duration: 2s477ms 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 = '2050671' or receptorTerm.id = '2050671' 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-05-11 14:33:54 Duration: 2s325ms 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 = '1877881' or receptorTerm.id = '1877881' 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-05-13 11:26:44 Duration: 2s315ms Bind query: yes
7 637 15m19s 1s252ms 3s648ms 1s444ms 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 #7
Day Hour Count Duration Avg duration May 11 01 3 4s699ms 1s566ms 04 1 1s632ms 1s632ms 05 2 2s889ms 1s444ms 07 1 1s371ms 1s371ms 08 4 5s691ms 1s422ms 10 1 1s441ms 1s441ms 14 2 3s814ms 1s907ms 22 2 2s651ms 1s325ms May 12 00 2 2s805ms 1s402ms 01 3 4s98ms 1s366ms 04 2 2s935ms 1s467ms 05 3 4s318ms 1s439ms 06 1 1s426ms 1s426ms 08 1 1s341ms 1s341ms 10 1 1s346ms 1s346ms 11 2 2s805ms 1s402ms 13 2 2s731ms 1s365ms 14 1 1s333ms 1s333ms 16 1 1s392ms 1s392ms 20 8 11s20ms 1s377ms 23 1 1s376ms 1s376ms May 13 01 6 8s562ms 1s427ms 02 3 4s98ms 1s366ms 03 3 4s187ms 1s395ms 04 14 19s853ms 1s418ms 05 4 5s672ms 1s418ms 09 1 1s370ms 1s370ms 11 1 1s313ms 1s313ms 17 1 1s306ms 1s306ms 22 1 1s472ms 1s472ms May 14 02 4 5s573ms 1s393ms 04 1 1s453ms 1s453ms 05 2 2s865ms 1s432ms 06 6 8s568ms 1s428ms 08 2 2s811ms 1s405ms 09 8 11s501ms 1s437ms 10 6 8s214ms 1s369ms 11 5 6s852ms 1s370ms 12 5 6s916ms 1s383ms 13 4 5s783ms 1s445ms 14 5 6s954ms 1s390ms 15 4 6s3ms 1s500ms 16 4 6s17ms 1s504ms 17 6 8s204ms 1s367ms 18 5 7s513ms 1s502ms 19 5 7s263ms 1s452ms 20 8 11s344ms 1s418ms 21 5 7s44ms 1s408ms 22 9 12s898ms 1s433ms 23 1 1s357ms 1s357ms May 15 03 1 1s355ms 1s355ms 05 3 4s379ms 1s459ms 06 1 1s464ms 1s464ms 07 7 10s50ms 1s435ms 08 7 10s69ms 1s438ms 09 8 13s42ms 1s630ms 10 9 12s657ms 1s406ms 11 8 11s398ms 1s424ms 12 4 5s488ms 1s372ms 13 8 10s794ms 1s349ms 14 8 11s493ms 1s436ms 15 11 15s651ms 1s422ms 16 7 9s983ms 1s426ms 17 7 10s168ms 1s452ms 18 6 8s487ms 1s414ms 19 6 8s508ms 1s418ms 20 9 12s980ms 1s442ms 21 11 17s633ms 1s603ms 22 8 11s529ms 1s441ms 23 8 11s410ms 1s426ms May 16 00 13 18s182ms 1s398ms 01 8 12s497ms 1s562ms 02 7 10s107ms 1s443ms 03 5 7s1ms 1s400ms 04 6 8s822ms 1s470ms 05 9 12s907ms 1s434ms 06 5 7s239ms 1s447ms 07 10 15s68ms 1s506ms 08 10 14s697ms 1s469ms 09 7 9s762ms 1s394ms 10 12 17s458ms 1s454ms 11 5 7s646ms 1s529ms 12 6 8s694ms 1s449ms 13 6 10s175ms 1s695ms 14 10 14s158ms 1s415ms 15 7 10s657ms 1s522ms 16 1 1s474ms 1s474ms 17 13 18s529ms 1s425ms 18 6 8s964ms 1s494ms 19 8 11s306ms 1s413ms 20 6 8s454ms 1s409ms 21 5 7s 1s400ms 22 6 8s311ms 1s385ms 23 6 8s721ms 1s453ms May 17 00 6 8s712ms 1s452ms 01 6 8s585ms 1s430ms 02 11 17s745ms 1s613ms 03 7 9s563ms 1s366ms 04 11 15s481ms 1s407ms 05 8 11s740ms 1s467ms 08 2 2s812ms 1s406ms 09 4 5s679ms 1s419ms 10 4 5s634ms 1s408ms 11 4 5s741ms 1s435ms 12 2 2s959ms 1s479ms 13 12 16s878ms 1s406ms 14 6 8s507ms 1s417ms 15 8 11s705ms 1s463ms 16 4 5s686ms 1s421ms 17 8 11s379ms 1s422ms 18 5 7s144ms 1s428ms 19 8 11s136ms 1s392ms 20 6 8s289ms 1s381ms 21 7 10s297ms 1s471ms 22 9 13s823ms 1s535ms 23 12 17s895ms 1s491ms [ User: pubeu - Total duration: 4m24s - Times executed: 180 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-05-17 02:45:28 Duration: 3s648ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-05-15 09:35:58 Duration: 2s951ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-05-17 22:31:18 Duration: 2s668ms Database: ctdprd51 User: pubeu Bind query: yes
8 575 19m53s 1s1ms 8s726ms 2s75ms 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;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 11 00 6 11s762ms 1s960ms 03 2 2s325ms 1s162ms 04 9 17s273ms 1s919ms 05 9 19s623ms 2s180ms 06 3 5s74ms 1s691ms 07 1 1s131ms 1s131ms 08 6 16s254ms 2s709ms 10 5 8s362ms 1s672ms 11 2 2s309ms 1s154ms 13 3 9s618ms 3s206ms 14 18 38s628ms 2s146ms 15 7 13s297ms 1s899ms 17 2 2s183ms 1s91ms 18 2 2s780ms 1s390ms 20 3 3s231ms 1s77ms 21 9 18s922ms 2s102ms 22 4 5s984ms 1s496ms 23 10 17s430ms 1s743ms May 12 00 5 7s553ms 1s510ms 01 3 3s169ms 1s56ms 04 1 1s74ms 1s74ms 05 2 3s643ms 1s821ms 06 2 3s272ms 1s636ms 07 5 6s825ms 1s365ms 08 3 3s617ms 1s205ms 09 6 15s120ms 2s520ms 10 3 5s612ms 1s870ms 15 3 22s478ms 7s492ms 16 2 2s294ms 1s147ms 18 1 2s757ms 2s757ms 22 5 10s888ms 2s177ms 23 1 1s45ms 1s45ms May 13 00 10 15s608ms 1s560ms 01 9 15s237ms 1s693ms 02 8 19s286ms 2s410ms 03 4 5s162ms 1s290ms 05 2 2s252ms 1s126ms 10 4 4s847ms 1s211ms 11 7 17s4ms 2s429ms 12 7 10s341ms 1s477ms 13 5 12s129ms 2s425ms 14 5 7s456ms 1s491ms 15 1 1s57ms 1s57ms 22 1 1s1ms 1s1ms 23 5 5s809ms 1s161ms May 14 00 2 2s85ms 1s42ms 02 7 8s648ms 1s235ms 03 5 10s346ms 2s69ms 04 5 5s416ms 1s83ms 05 5 26s550ms 5s310ms 06 5 9s760ms 1s952ms 07 4 5s702ms 1s425ms 08 1 1s21ms 1s21ms 14 8 10s881ms 1s360ms 15 4 4s711ms 1s177ms 16 2 2s495ms 1s247ms 17 2 5s386ms 2s693ms 18 3 3s334ms 1s111ms 19 3 3s303ms 1s101ms 20 4 5s911ms 1s477ms 21 1 3s63ms 3s63ms 22 2 3s758ms 1s879ms 23 2 3s709ms 1s854ms May 15 04 6 10s103ms 1s683ms 05 3 3s449ms 1s149ms 06 3 3s345ms 1s115ms 07 2 3s686ms 1s843ms 08 1 1s114ms 1s114ms 09 2 5s144ms 2s572ms 10 10 25s132ms 2s513ms 11 8 13s946ms 1s743ms 14 7 8s538ms 1s219ms 15 1 1s711ms 1s711ms 16 4 18s407ms 4s601ms 17 17 48s624ms 2s860ms 19 4 24s202ms 6s50ms 20 4 5s248ms 1s312ms 21 1 2s351ms 2s351ms 22 2 2s509ms 1s254ms 23 8 29s940ms 3s742ms May 16 00 1 1s79ms 1s79ms 01 7 16s994ms 2s427ms 02 1 1s9ms 1s9ms 03 2 2s676ms 1s338ms 04 7 8s504ms 1s214ms 05 1 1s127ms 1s127ms 06 2 2s78ms 1s39ms 07 2 3s636ms 1s818ms 08 7 17s94ms 2s442ms 09 8 17s952ms 2s244ms 10 9 14s609ms 1s623ms 11 4 10s306ms 2s576ms 12 3 3s476ms 1s158ms 13 6 15s134ms 2s522ms 14 6 12s151ms 2s25ms 15 8 25s877ms 3s234ms 17 4 7s98ms 1s774ms 18 9 12s441ms 1s382ms 19 5 9s490ms 1s898ms 20 11 33s296ms 3s26ms 21 7 13s3ms 1s857ms 23 4 8s693ms 2s173ms May 17 00 2 2s55ms 1s27ms 01 1 1s3ms 1s3ms 02 9 25s577ms 2s841ms 03 2 2s57ms 1s28ms 04 8 10s581ms 1s322ms 05 11 39s486ms 3s589ms 06 7 7s656ms 1s93ms 07 5 13s214ms 2s642ms 08 3 4s178ms 1s392ms 09 2 2s829ms 1s414ms 10 5 27s415ms 5s483ms 11 4 9s868ms 2s467ms 12 1 1s101ms 1s101ms 13 4 7s890ms 1s972ms 14 8 12s151ms 1s518ms 15 10 29s694ms 2s969ms 17 1 1s11ms 1s11ms 18 2 2s389ms 1s194ms 20 1 1s9ms 1s9ms 21 5 5s717ms 1s143ms 22 5 9s157ms 1s831ms 23 6 13s108ms 2s184ms [ User: pubeu - Total duration: 5m23s - Times executed: 156 ]
-
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 = '660173' 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 = '660173') OFFSET 0) mq ORDER BY mq.genesymbolsort;
Date: 2025-05-15 17:06:24 Duration: 8s726ms 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 = '660173' 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 = '660173') OFFSET 0) mq ORDER BY mq.genesymbolsort;
Date: 2025-05-14 05:54:33 Duration: 8s466ms 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 = '660173' 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 = '660173') OFFSET 0) mq ORDER BY mq.genesymbolsort;
Date: 2025-05-15 23:07:04 Duration: 8s421ms Bind query: yes
9 459 21m19s 1s5ms 44s657ms 2s787ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 11 00 1 1s6ms 1s6ms 01 1 1s475ms 1s475ms 02 4 24s289ms 6s72ms 04 10 23s50ms 2s305ms 05 3 5s500ms 1s833ms 06 8 15s877ms 1s984ms 10 4 26s128ms 6s532ms 11 2 4s322ms 2s161ms 12 7 11s688ms 1s669ms 14 3 6s968ms 2s322ms 16 1 1s51ms 1s51ms 17 3 4s876ms 1s625ms 20 5 7s761ms 1s552ms 21 6 14s261ms 2s376ms 22 2 6s776ms 3s388ms 23 6 23s425ms 3s904ms May 12 00 11 18s441ms 1s676ms 01 4 22s451ms 5s612ms 02 3 7s628ms 2s542ms 06 7 12s692ms 1s813ms 07 3 4s10ms 1s336ms 08 8 12s663ms 1s582ms 09 6 13s499ms 2s249ms 10 3 45s192ms 15s64ms 11 1 2s569ms 2s569ms 12 1 3s248ms 3s248ms 13 1 3s274ms 3s274ms 18 2 5s96ms 2s548ms 21 19 25s771ms 1s356ms 22 11 29s51ms 2s641ms 23 4 10s690ms 2s672ms May 13 00 1 1s130ms 1s130ms 01 1 2s751ms 2s751ms 02 11 36s978ms 3s361ms 03 3 9s917ms 3s305ms 04 15 24s554ms 1s636ms 08 4 10s41ms 2s510ms 09 1 1s88ms 1s88ms 10 3 6s892ms 2s297ms 11 2 3s700ms 1s850ms 12 2 3s909ms 1s954ms 13 4 7s859ms 1s964ms 14 3 9s300ms 3s100ms 15 3 17s574ms 5s858ms 20 4 9s581ms 2s395ms 21 1 1s17ms 1s17ms 23 9 25s857ms 2s873ms May 14 01 3 4s787ms 1s595ms 05 6 8s48ms 1s341ms 07 4 1m43s 25s756ms 11 6 9s329ms 1s554ms 14 3 17s985ms 5s995ms 15 5 12s116ms 2s423ms 16 3 9s168ms 3s56ms 20 6 23s804ms 3s967ms 23 3 31s841ms 10s613ms May 15 04 4 7s47ms 1s761ms 06 3 5s265ms 1s755ms 09 3 5s880ms 1s960ms 10 2 4s393ms 2s196ms 11 7 15s249ms 2s178ms 14 1 1s19ms 1s19ms 15 9 12s202ms 1s355ms 16 6 26s594ms 4s432ms 17 6 12s611ms 2s101ms 18 3 5s280ms 1s760ms 19 5 21s979ms 4s395ms 20 6 12s675ms 2s112ms 21 6 25s771ms 4s295ms 22 2 2s314ms 1s157ms May 16 01 9 17s383ms 1s931ms 03 4 8s222ms 2s55ms 04 4 9s455ms 2s363ms 05 3 9s317ms 3s105ms 07 3 4s351ms 1s450ms 08 2 12s240ms 6s120ms 09 3 4s344ms 1s448ms 10 8 28s372ms 3s546ms 12 6 11s433ms 1s905ms 13 2 2s997ms 1s498ms 14 2 2s829ms 1s414ms 15 1 20s287ms 20s287ms 17 3 10s128ms 3s376ms 18 9 14s665ms 1s629ms 19 8 17s549ms 2s193ms 20 6 9s258ms 1s543ms May 17 00 6 12s423ms 2s70ms 01 4 9s206ms 2s301ms 04 1 3s586ms 3s586ms 07 9 22s220ms 2s468ms 08 6 11s912ms 1s985ms 09 3 10s604ms 3s534ms 10 3 3s522ms 1s174ms 12 2 3s151ms 1s575ms 16 12 26s86ms 2s173ms 17 6 9s301ms 1s550ms 21 10 25s733ms 2s573ms 22 5 13s753ms 2s750ms [ User: pubeu - Total duration: 7m26s - Times executed: 168 ]
-
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 = '2097934') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-05-14 07:32:30 Duration: 44s657ms 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 = '2105235') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-05-14 07:48:56 Duration: 28s377ms 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 = '2105235') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-05-14 07:41:15 Duration: 28s136ms Bind query: yes
10 454 33m10s 3s661ms 20s906ms 4s383ms 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 #10
Day Hour Count Duration Avg duration May 11 00 4 17s37ms 4s259ms 01 3 13s21ms 4s340ms 03 8 32s379ms 4s47ms 04 2 7s705ms 3s852ms 05 8 32s516ms 4s64ms 06 3 12s757ms 4s252ms 07 2 8s456ms 4s228ms 08 1 4s370ms 4s370ms 09 1 4s10ms 4s10ms 10 2 8s356ms 4s178ms 14 2 7s963ms 3s981ms 15 5 21s170ms 4s234ms 17 5 21s95ms 4s219ms 18 1 3s883ms 3s883ms 20 1 3s922ms 3s922ms 22 2 8s760ms 4s380ms 23 1 4s115ms 4s115ms May 12 01 2 8s932ms 4s466ms 02 6 24s312ms 4s52ms 03 2 8s102ms 4s51ms 04 3 26s176ms 8s725ms 05 5 22s8ms 4s401ms 07 2 8s91ms 4s45ms 08 3 12s146ms 4s48ms 09 1 5s301ms 5s301ms 10 14 58s488ms 4s177ms 11 12 47s567ms 3s963ms 12 20 1m48s 5s409ms 13 4 16s54ms 4s13ms 14 2 8s17ms 4s8ms 16 5 19s791ms 3s958ms 17 9 35s978ms 3s997ms 18 1 4s10ms 4s10ms 20 1 4s55ms 4s55ms 21 1 3s826ms 3s826ms 22 2 18s155ms 9s77ms 23 1 3s961ms 3s961ms May 13 00 1 3s910ms 3s910ms 01 3 12s875ms 4s291ms 02 1 4s479ms 4s479ms 03 2 7s954ms 3s977ms 05 1 3s962ms 3s962ms 07 1 4s122ms 4s122ms 08 11 43s992ms 3s999ms 09 4 16s441ms 4s110ms 10 6 24s420ms 4s70ms 11 7 29s226ms 4s175ms 13 2 8s38ms 4s19ms 15 4 16s254ms 4s63ms 16 2 7s968ms 3s984ms 18 1 3s710ms 3s710ms 21 1 4s158ms 4s158ms 22 2 7s624ms 3s812ms 23 1 3s958ms 3s958ms May 14 00 2 9s103ms 4s551ms 01 1 4s93ms 4s93ms 02 7 28s643ms 4s91ms 03 7 28s526ms 4s75ms 04 16 1m19s 4s946ms 05 2 13s794ms 6s897ms 06 1 4s70ms 4s70ms 07 6 41s159ms 6s859ms 09 3 12s315ms 4s105ms 10 2 8s342ms 4s171ms 11 2 7s978ms 3s989ms 12 2 8s19ms 4s9ms 13 11 46s600ms 4s236ms 14 1 4s12ms 4s12ms 15 1 4s86ms 4s86ms 16 3 12s887ms 4s295ms 17 3 12s321ms 4s107ms 18 1 3s912ms 3s912ms 19 1 3s914ms 3s914ms 20 1 4s521ms 4s521ms 21 1 4s5ms 4s5ms 22 1 4s440ms 4s440ms May 15 04 6 24s751ms 4s125ms 05 23 1m33s 4s68ms 06 3 14s691ms 4s897ms 07 4 16s6ms 4s1ms 08 3 12s927ms 4s309ms 09 6 24s866ms 4s144ms 10 2 9s487ms 4s743ms 11 7 28s214ms 4s30ms 12 3 11s632ms 3s877ms 13 2 7s970ms 3s985ms 14 2 10s738ms 5s369ms 15 4 17s11ms 4s252ms 19 4 17s505ms 4s376ms 21 4 17s336ms 4s334ms 22 5 25s206ms 5s41ms 23 7 29s730ms 4s247ms May 16 00 3 14s231ms 4s743ms 02 1 4s142ms 4s142ms 03 1 4s437ms 4s437ms 04 4 16s366ms 4s91ms 05 5 20s645ms 4s129ms 06 1 3s876ms 3s876ms 07 1 4s378ms 4s378ms 09 3 11s912ms 3s970ms 10 4 18s172ms 4s543ms 11 2 7s581ms 3s790ms 12 4 16s730ms 4s182ms 14 1 4s146ms 4s146ms 17 1 3s998ms 3s998ms 18 1 3s964ms 3s964ms 20 1 3s859ms 3s859ms 21 1 4s5ms 4s5ms 22 1 3s838ms 3s838ms 23 2 8s767ms 4s383ms May 17 02 9 51s913ms 5s768ms 03 8 37s438ms 4s679ms 04 4 16s290ms 4s72ms 05 2 8s803ms 4s401ms 06 3 12s47ms 4s15ms 08 1 3s982ms 3s982ms 09 1 4s377ms 4s377ms 10 7 33s389ms 4s769ms 11 3 12s727ms 4s242ms 12 3 12s394ms 4s131ms 13 4 16s149ms 4s37ms 14 11 44s190ms 4s17ms 20 2 7s841ms 3s920ms 21 1 4s193ms 4s193ms 22 1 4s48ms 4s48ms [ User: pubeu - Total duration: 11m34s - Times executed: 156 ]
[ User: qaeu - Total duration: 3s895ms - Times executed: 1 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1409922') 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 = '1409922') 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-05-14 07:55:44 Duration: 20s906ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1409922') 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 = '1409922') 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-05-12 04:36:07 Duration: 18s424ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1409922') 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 = '1409922') 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-05-12 12:29:56 Duration: 17s731ms Bind query: yes
11 420 26m40s 1s 51s227ms 3s811ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 12 03 1 5s916ms 5s916ms 04 2 12s139ms 6s69ms May 13 14 417 26m22s 3s795ms [ User: pubeu - Total duration: 3m49s - Times executed: 57 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2094166) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-05-13 14:12:54 Duration: 51s227ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d011297' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2100824) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-05-13 14:35:11 Duration: 39s70ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d007674' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2103187) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-05-13 14:25:16 Duration: 25s328ms Bind query: yes
12 397 23m56s 1s 7s273ms 3s618ms 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 #12
Day Hour Count Duration Avg duration May 11 00 8 30s626ms 3s828ms 01 1 5s310ms 5s310ms 02 1 4s824ms 4s824ms 05 6 10s833ms 1s805ms 07 3 17s272ms 5s757ms 08 2 11s118ms 5s559ms 10 2 10s276ms 5s138ms 12 2 10s943ms 5s471ms 14 4 19s563ms 4s890ms 15 1 6s396ms 6s396ms 16 2 6s788ms 3s394ms 17 2 10s814ms 5s407ms 21 1 1s83ms 1s83ms 22 2 3s245ms 1s622ms 23 2 11s75ms 5s537ms May 12 00 3 3s69ms 1s23ms 01 16 54s675ms 3s417ms 02 1 5s230ms 5s230ms 03 1 4s528ms 4s528ms 05 8 17s281ms 2s160ms 07 3 6s944ms 2s314ms 09 5 18s195ms 3s639ms 10 1 1s159ms 1s159ms 18 1 1s16ms 1s16ms 19 5 20s824ms 4s164ms 20 2 9s507ms 4s753ms 23 5 23s153ms 4s630ms May 13 00 10 38s558ms 3s855ms 01 2 2s244ms 1s122ms 02 10 31s80ms 3s108ms 03 2 10s834ms 5s417ms 05 1 1s6ms 1s6ms 07 1 4s814ms 4s814ms 09 2 6s800ms 3s400ms 10 1 1s71ms 1s71ms 11 3 7s543ms 2s514ms 12 1 1s55ms 1s55ms 13 2 10s544ms 5s272ms 14 2 6s624ms 3s312ms 21 1 1s19ms 1s19ms May 14 00 2 6s411ms 3s205ms 02 1 5s660ms 5s660ms 03 1 1s39ms 1s39ms 04 1 1s50ms 1s50ms 05 6 6s325ms 1s54ms 07 1 5s615ms 5s615ms 08 1 5s656ms 5s656ms 09 1 1s38ms 1s38ms 10 1 5s145ms 5s145ms 13 3 16s13ms 5s337ms 14 6 14s442ms 2s407ms 15 6 20s238ms 3s373ms 16 7 16s450ms 2s350ms 17 1 1s66ms 1s66ms 18 8 30s 3s750ms 19 2 10s580ms 5s290ms 20 2 6s794ms 3s397ms 21 4 12s856ms 3s214ms 23 1 1s217ms 1s217ms May 15 04 10 42s129ms 4s212ms 05 11 25s448ms 2s313ms 06 4 13s262ms 3s315ms 07 11 43s356ms 3s941ms 08 3 11s521ms 3s840ms 09 2 10s796ms 5s398ms 10 2 6s955ms 3s477ms 14 3 11s858ms 3s952ms 15 1 5s908ms 5s908ms 17 2 2s21ms 1s10ms 18 11 35s484ms 3s225ms 19 2 10s979ms 5s489ms 20 3 3s215ms 1s71ms 21 7 30s894ms 4s413ms 22 4 19s859ms 4s964ms 23 4 18s168ms 4s542ms May 16 01 1 1s91ms 1s91ms 02 3 8s497ms 2s832ms 03 1 6s384ms 6s384ms 04 1 5s75ms 5s75ms 05 4 12s579ms 3s144ms 06 3 11s652ms 3s884ms 07 3 16s346ms 5s448ms 08 4 25s141ms 6s285ms 09 3 12s799ms 4s266ms 10 6 10s634ms 1s772ms 12 3 11s696ms 3s898ms 13 2 6s737ms 3s368ms 14 2 6s738ms 3s369ms 15 4 21s460ms 5s365ms 17 17 55s581ms 3s269ms 18 4 18s210ms 4s552ms 19 2 11s864ms 5s932ms 20 3 12s289ms 4s96ms 23 1 1s27ms 1s27ms May 17 00 1 5s414ms 5s414ms 01 2 7s357ms 3s678ms 02 1 5s632ms 5s632ms 04 1 5s562ms 5s562ms 05 5 5s608ms 1s121ms 06 3 6s908ms 2s302ms 07 2 12s748ms 6s374ms 08 1 5s418ms 5s418ms 10 4 18s105ms 4s526ms 11 4 17s109ms 4s277ms 12 7 20s334ms 2s904ms 13 1 5s50ms 5s50ms 14 3 15s739ms 5s246ms 15 4 12s802ms 3s200ms 16 7 33s764ms 4s823ms 17 3 12s724ms 4s241ms 18 3 15s781ms 5s260ms 19 1 6s208ms 6s208ms 20 2 11s291ms 5s645ms 21 4 14s817ms 3s704ms 22 5 26s271ms 5s254ms 23 3 7s627ms 2s542ms [ User: pubeu - Total duration: 6m46s - Times executed: 121 ]
[ User: qaeu - Total duration: 6s519ms - Times executed: 6 ]
-
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 = '1374943' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-17 22:35:29 Duration: 7s273ms 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 = '1302547' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-11 00:24:45 Duration: 7s183ms 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 = '1301854' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-16 08:30:21 Duration: 7s72ms Bind query: yes
13 387 21m3s 1s2ms 12s492ms 3s265ms 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;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 11 00 3 14s817ms 4s939ms 01 1 1s22ms 1s22ms 02 3 3s718ms 1s239ms 04 4 10s824ms 2s706ms 06 2 19s552ms 9s776ms 07 2 2s678ms 1s339ms 08 3 5s232ms 1s744ms 10 5 9s3ms 1s800ms 11 5 31s697ms 6s339ms 12 6 14s175ms 2s362ms 13 3 4s384ms 1s461ms 14 3 3s167ms 1s55ms 15 5 15s838ms 3s167ms 16 4 31s131ms 7s782ms 17 2 2s547ms 1s273ms 20 2 2s635ms 1s317ms 21 5 9s464ms 1s892ms 22 5 17s815ms 3s563ms 23 6 22s897ms 3s816ms May 12 00 3 17s938ms 5s979ms 01 4 31s743ms 7s935ms 06 6 13s547ms 2s257ms 08 6 39s254ms 6s542ms 09 5 12s210ms 2s442ms 10 2 11s139ms 5s569ms 13 1 1s563ms 1s563ms 23 3 5s39ms 1s679ms May 13 00 9 46s813ms 5s201ms 01 5 9s533ms 1s906ms 02 6 17s62ms 2s843ms 03 4 6s855ms 1s713ms 10 2 3s233ms 1s616ms 11 2 2s236ms 1s118ms 12 3 7s561ms 2s520ms 13 1 1s39ms 1s39ms 14 6 25s866ms 4s311ms 15 3 3s242ms 1s80ms 17 1 1s266ms 1s266ms 22 1 2s231ms 2s231ms 23 5 5s864ms 1s172ms May 14 00 2 9s667ms 4s833ms 01 1 1s375ms 1s375ms 03 1 1s564ms 1s564ms 05 1 1s238ms 1s238ms 06 5 6s320ms 1s264ms 07 4 31s674ms 7s918ms 09 3 5s754ms 1s918ms 10 1 3s471ms 3s471ms 12 1 1s452ms 1s452ms 14 3 17s189ms 5s729ms 16 1 1s87ms 1s87ms 17 4 11s226ms 2s806ms 18 1 1s396ms 1s396ms 19 4 5s592ms 1s398ms 20 3 19s44ms 6s348ms 21 6 21s150ms 3s525ms 22 5 7s600ms 1s520ms May 15 04 4 8s888ms 2s222ms 05 7 38s718ms 5s531ms 07 6 35s641ms 5s940ms 08 2 2s980ms 1s490ms 11 1 1s512ms 1s512ms 14 12 25s68ms 2s89ms 15 3 20s885ms 6s961ms 16 5 12s984ms 2s596ms 18 4 6s546ms 1s636ms 21 8 51s100ms 6s387ms 22 5 7s621ms 1s524ms 23 4 8s147ms 2s36ms May 16 01 2 2s582ms 1s291ms 04 1 1s348ms 1s348ms 05 1 1s460ms 1s460ms 06 5 35s157ms 7s31ms 07 2 3s667ms 1s833ms 08 7 10s390ms 1s484ms 09 3 6s425ms 2s141ms 10 9 36s489ms 4s54ms 11 3 3s271ms 1s90ms 12 10 42s17ms 4s201ms 13 6 33s921ms 5s653ms 18 6 39s727ms 6s621ms 19 1 2s72ms 2s72ms 20 3 3s987ms 1s329ms 21 1 2s52ms 2s52ms 22 1 1s591ms 1s591ms 23 6 18s410ms 3s68ms May 17 00 7 22s946ms 3s278ms 01 3 4s922ms 1s640ms 02 4 14s639ms 3s659ms 03 3 3s777ms 1s259ms 05 1 2s583ms 2s583ms 06 4 5s878ms 1s469ms 07 6 9s907ms 1s651ms 09 5 8s428ms 1s685ms 10 4 5s824ms 1s456ms 11 7 17s224ms 2s460ms 12 2 5s233ms 2s616ms 14 1 3s573ms 3s573ms 15 1 2s129ms 2s129ms 16 5 5s938ms 1s187ms 17 2 3s248ms 1s624ms 18 1 2s78ms 2s78ms 20 1 2s39ms 2s39ms 21 1 2s7ms 2s7ms 22 1 1s455ms 1s455ms 23 7 40s437ms 5s776ms [ User: pubeu - Total duration: 6m24s - Times executed: 107 ]
-
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 = '1274194') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2025-05-16 18:14:29 Duration: 12s492ms 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 = '1274194') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2025-05-16 10:08:29 Duration: 11s713ms 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 = '1274194') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2025-05-17 23:49:27 Duration: 11s672ms Bind query: yes
14 307 7m22s 1s287ms 4s184ms 1s440ms 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;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 11 00 1 1s414ms 1s414ms 01 4 6s375ms 1s593ms 02 3 4s440ms 1s480ms 03 1 1s434ms 1s434ms 04 1 1s419ms 1s419ms 05 2 2s943ms 1s471ms 09 3 4s173ms 1s391ms 10 3 4s175ms 1s391ms 11 1 1s369ms 1s369ms 12 2 2s781ms 1s390ms 13 3 4s374ms 1s458ms 14 2 2s733ms 1s366ms 15 4 5s648ms 1s412ms 17 2 2s738ms 1s369ms 18 1 1s361ms 1s361ms 20 1 1s326ms 1s326ms 21 3 4s186ms 1s395ms 22 1 1s406ms 1s406ms 23 1 1s450ms 1s450ms May 12 00 4 5s697ms 1s424ms 01 4 5s851ms 1s462ms 02 1 1s399ms 1s399ms 04 3 4s369ms 1s456ms 05 1 1s420ms 1s420ms 07 4 5s606ms 1s401ms 08 1 1s349ms 1s349ms 09 3 4s258ms 1s419ms 10 1 1s506ms 1s506ms 11 1 1s408ms 1s408ms 15 1 1s289ms 1s289ms 18 2 2s819ms 1s409ms 23 3 4s135ms 1s378ms May 13 00 1 1s427ms 1s427ms 01 3 4s140ms 1s380ms 02 4 5s625ms 1s406ms 03 3 6s23ms 2s7ms 04 2 2s974ms 1s487ms 09 1 1s378ms 1s378ms 10 3 4s222ms 1s407ms 11 1 1s364ms 1s364ms 12 1 1s355ms 1s355ms 13 2 2s827ms 1s413ms 14 2 2s730ms 1s365ms 15 2 2s748ms 1s374ms 22 1 1s444ms 1s444ms 23 2 3s148ms 1s574ms May 14 02 5 7s135ms 1s427ms 03 1 1s476ms 1s476ms 04 4 5s552ms 1s388ms 05 1 1s535ms 1s535ms 06 5 7s62ms 1s412ms 07 4 5s535ms 1s383ms 08 3 4s295ms 1s431ms 14 2 2s664ms 1s332ms 15 3 4s191ms 1s397ms 16 1 1s363ms 1s363ms 17 3 4s337ms 1s445ms 18 3 4s199ms 1s399ms 19 2 2s682ms 1s341ms 20 4 5s563ms 1s390ms 21 1 1s329ms 1s329ms 22 1 1s350ms 1s350ms 23 1 1s716ms 1s716ms May 15 03 1 1s442ms 1s442ms 04 2 2s839ms 1s419ms 05 1 1s376ms 1s376ms 06 2 2s763ms 1s381ms 07 1 1s423ms 1s423ms 08 1 1s434ms 1s434ms 09 4 5s671ms 1s417ms 10 3 4s82ms 1s360ms 12 1 1s318ms 1s318ms 14 3 4s106ms 1s368ms 15 7 9s707ms 1s386ms 16 2 2s884ms 1s442ms 17 1 1s459ms 1s459ms 18 3 4s112ms 1s370ms 19 1 1s361ms 1s361ms 20 1 1s353ms 1s353ms 21 2 3s71ms 1s535ms 22 2 2s757ms 1s378ms 23 2 2s781ms 1s390ms May 16 01 2 2s858ms 1s429ms 02 2 2s933ms 1s466ms 03 2 2s850ms 1s425ms 04 5 7s132ms 1s426ms 05 1 1s464ms 1s464ms 06 1 1s413ms 1s413ms 07 2 3s55ms 1s527ms 08 6 8s324ms 1s387ms 09 4 5s741ms 1s435ms 10 4 5s742ms 1s435ms 11 1 1s595ms 1s595ms 12 4 5s565ms 1s391ms 13 6 11s211ms 1s868ms 14 3 4s316ms 1s438ms 15 3 4s765ms 1s588ms 19 6 8s349ms 1s391ms 20 5 7s115ms 1s423ms 21 2 2s859ms 1s429ms 22 1 1s411ms 1s411ms 23 7 9s998ms 1s428ms May 17 00 5 7s342ms 1s468ms 01 5 7s372ms 1s474ms 02 1 1s405ms 1s405ms 04 4 5s800ms 1s450ms 05 2 2s934ms 1s467ms 06 1 1s444ms 1s444ms 07 2 2s930ms 1s465ms 08 1 1s424ms 1s424ms 09 5 7s241ms 1s448ms 10 3 4s206ms 1s402ms 11 3 4s611ms 1s537ms 12 2 2s941ms 1s470ms 13 2 2s863ms 1s431ms 14 1 1s443ms 1s443ms 15 2 2s867ms 1s433ms 16 4 5s843ms 1s460ms 17 4 5s830ms 1s457ms 18 4 5s659ms 1s414ms 21 2 2s832ms 1s416ms 22 1 1s434ms 1s434ms 23 6 8s836ms 1s472ms [ User: pubeu - Total duration: 1m55s - Times executed: 80 ]
-
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 = '1246564') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1246564') 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-05-16 13:54:41 Duration: 4s184ms 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 = '1233396') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1233396') 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-05-13 03:49:20 Duration: 3s213ms 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 = '1260543') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1260543') 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-05-16 15:47:41 Duration: 1s820ms Database: ctdprd51 User: pubeu Bind query: yes
15 278 6m37s 1s306ms 1s993ms 1s429ms 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;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 11 00 2 3s152ms 1s576ms 01 1 1s551ms 1s551ms 02 1 1s361ms 1s361ms 03 3 4s314ms 1s438ms 04 1 1s451ms 1s451ms 05 1 1s475ms 1s475ms 07 2 2s858ms 1s429ms 08 4 5s576ms 1s394ms 10 4 5s593ms 1s398ms 11 1 1s376ms 1s376ms 12 3 4s187ms 1s395ms 13 1 1s387ms 1s387ms 14 2 2s867ms 1s433ms 15 1 1s339ms 1s339ms 16 1 1s430ms 1s430ms 17 1 1s374ms 1s374ms 19 1 1s318ms 1s318ms 20 1 1s438ms 1s438ms 22 1 1s455ms 1s455ms 23 2 2s896ms 1s448ms May 12 00 2 2s953ms 1s476ms 01 1 1s443ms 1s443ms 02 2 2s824ms 1s412ms 03 1 1s356ms 1s356ms 05 1 1s501ms 1s501ms 06 1 1s399ms 1s399ms 07 3 4s254ms 1s418ms 08 1 1s427ms 1s427ms 09 2 2s795ms 1s397ms 12 1 1s332ms 1s332ms 14 1 1s329ms 1s329ms 23 4 5s596ms 1s399ms May 13 00 3 4s231ms 1s410ms 01 4 5s951ms 1s487ms 02 1 1s398ms 1s398ms 03 1 1s409ms 1s409ms 04 1 1s327ms 1s327ms 06 1 1s993ms 1s993ms 10 2 2s833ms 1s416ms 12 3 4s264ms 1s421ms 13 4 5s652ms 1s413ms 14 3 4s371ms 1s457ms 15 3 4s126ms 1s375ms 20 1 1s325ms 1s325ms 22 2 2s819ms 1s409ms May 14 00 2 2s743ms 1s371ms 01 4 5s839ms 1s459ms 03 1 1s484ms 1s484ms 04 1 1s408ms 1s408ms 05 1 1s419ms 1s419ms 08 2 2s877ms 1s438ms 13 1 1s405ms 1s405ms 14 1 1s599ms 1s599ms 15 1 1s347ms 1s347ms 17 2 2s744ms 1s372ms 18 1 1s396ms 1s396ms 19 1 1s376ms 1s376ms 20 4 5s809ms 1s452ms 21 3 4s234ms 1s411ms 22 2 2s901ms 1s450ms May 15 03 2 2s987ms 1s493ms 04 2 2s787ms 1s393ms 05 3 4s172ms 1s390ms 07 2 2s925ms 1s462ms 08 2 2s840ms 1s420ms 09 1 1s452ms 1s452ms 10 4 5s681ms 1s420ms 11 1 1s401ms 1s401ms 14 1 1s342ms 1s342ms 15 2 2s774ms 1s387ms 16 5 6s998ms 1s399ms 17 5 6s918ms 1s383ms 18 1 1s400ms 1s400ms 20 4 5s679ms 1s419ms 21 2 2s705ms 1s352ms 22 2 2s938ms 1s469ms 23 3 4s66ms 1s355ms May 16 00 1 1s434ms 1s434ms 01 4 5s541ms 1s385ms 02 5 7s522ms 1s504ms 03 3 4s384ms 1s461ms 04 3 4s240ms 1s413ms 05 2 2s861ms 1s430ms 07 3 4s180ms 1s393ms 08 3 4s331ms 1s443ms 09 2 2s935ms 1s467ms 10 7 9s937ms 1s419ms 11 2 2s932ms 1s466ms 12 4 5s679ms 1s419ms 13 3 4s349ms 1s449ms 14 4 5s831ms 1s457ms 15 3 4s254ms 1s418ms 17 1 1s500ms 1s500ms 18 3 4s80ms 1s360ms 19 4 5s636ms 1s409ms 20 1 1s427ms 1s427ms 21 2 2s887ms 1s443ms 23 3 4s191ms 1s397ms May 17 00 4 5s836ms 1s459ms 01 2 2s990ms 1s495ms 05 5 7s252ms 1s450ms 06 4 5s793ms 1s448ms 08 5 7s148ms 1s429ms 09 4 5s550ms 1s387ms 10 1 1s372ms 1s372ms 11 4 5s903ms 1s475ms 12 1 1s347ms 1s347ms 13 1 1s407ms 1s407ms 14 4 5s581ms 1s395ms 15 8 11s829ms 1s478ms 16 4 5s987ms 1s496ms 17 2 2s918ms 1s459ms 18 4 5s732ms 1s433ms 21 3 4s464ms 1s488ms 22 3 4s192ms 1s397ms 23 4 5s891ms 1s472ms [ User: pubeu - Total duration: 1m37s - Times executed: 68 ]
-
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 = '2105131') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2105131') 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-05-13 06:18:19 Duration: 1s993ms 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 = '2103842') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2103842') 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-05-16 02:56:32 Duration: 1s759ms 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 = '2099723') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2099723') 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-05-17 21:20:41 Duration: 1s638ms Database: ctdprd51 User: pubeu Bind query: yes
16 260 13m40s 1s 8s382ms 3s156ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 11 00 6 17s260ms 2s876ms 16 1 2s80ms 2s80ms May 12 01 15 43s180ms 2s878ms 18 1 1s970ms 1s970ms 19 8 25s501ms 3s187ms 20 5 13s750ms 2s750ms 23 4 12s993ms 3s248ms May 13 00 10 29s266ms 2s926ms 02 10 34s778ms 3s477ms May 14 07 1 2s77ms 2s77ms 13 5 14s159ms 2s831ms 14 4 13s207ms 3s301ms 15 5 14s446ms 2s889ms 16 5 14s590ms 2s918ms 18 9 29s298ms 3s255ms May 15 04 5 14s695ms 2s939ms 05 4 14s160ms 3s540ms 06 4 13s402ms 3s350ms 07 8 27s25ms 3s378ms 08 4 13s171ms 3s292ms 18 12 37s202ms 3s100ms 19 2 5s223ms 2s611ms May 16 04 1 3s41ms 3s41ms 05 3 11s875ms 3s958ms 06 1 2s963ms 2s963ms 07 2 10s560ms 5s280ms 09 3 6s403ms 2s134ms 10 3 9s166ms 3s55ms 11 2 4s549ms 2s274ms 12 1 2s415ms 2s415ms 13 3 8s677ms 2s892ms 15 2 3s581ms 1s790ms 16 4 17s308ms 4s327ms 17 21 1m1s 2s921ms 18 5 17s582ms 3s516ms 19 3 11s872ms 3s957ms 20 5 17s129ms 3s425ms 21 1 3s497ms 3s497ms 22 4 8s295ms 2s73ms 23 1 6s430ms 6s430ms May 17 00 1 3s99ms 3s99ms 01 3 11s666ms 3s888ms 02 4 11s942ms 2s985ms 03 1 1s858ms 1s858ms 04 2 3s246ms 1s623ms 05 6 22s741ms 3s790ms 06 3 11s310ms 3s770ms 07 2 4s587ms 2s293ms 08 8 24s502ms 3s62ms 09 2 5s931ms 2s965ms 10 5 16s44ms 3s208ms 11 6 13s771ms 2s295ms 12 1 6s579ms 6s579ms 13 3 10s425ms 3s475ms 14 3 6s726ms 2s242ms 15 2 10s145ms 5s72ms 16 1 2s168ms 2s168ms 18 1 3s77ms 3s77ms 20 3 16s157ms 5s385ms 21 4 13s985ms 3s496ms 22 1 3s449ms 3s449ms 23 5 17s83ms 3s416ms [ User: pubeu - Total duration: 3m37s - Times executed: 72 ]
-
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 = '1409922'))) 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-05-14 18:15:22 Duration: 8s382ms 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 = '1409922'))) 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-05-16 19:36:15 Duration: 7s534ms 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 = '1409922'))) 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-05-17 13:00:48 Duration: 7s39ms Bind query: yes
17 257 1h13m31s 1s426ms 1m31s 17s163ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 11 01 5 1m52s 22s548ms 03 2 12s251ms 6s125ms 04 1 6s257ms 6s257ms 05 1 8s694ms 8s694ms 07 3 1m 20s169ms 10 4 1m5s 16s366ms 14 1 2s163ms 2s163ms 16 5 1m40s 20s41ms 20 8 2m37s 19s729ms 21 3 1m2s 20s742ms May 12 01 3 1m47s 35s694ms 05 6 1m57s 19s517ms 08 1 3s274ms 3s274ms 20 3 1m2s 20s777ms 23 4 1m3s 15s779ms May 13 00 2 11s967ms 5s983ms 03 3 1m 20s322ms 09 1 4s437ms 4s437ms 11 1 4s681ms 4s681ms 21 1 2s436ms 2s436ms 22 3 52s948ms 17s649ms 23 6 1m51s 18s501ms May 14 00 1 5s256ms 5s256ms 02 1 10s592ms 10s592ms 07 1 2s990ms 2s990ms 08 1 2s226ms 2s226ms 09 2 34s474ms 17s237ms 14 4 59s991ms 14s997ms 15 2 8s885ms 4s442ms 16 3 57s252ms 19s84ms 17 5 1m6s 13s267ms 18 4 59s143ms 14s785ms 19 6 2m49s 28s314ms 20 9 3m1s 20s178ms 21 7 1m25s 12s195ms 22 3 57s812ms 19s270ms May 15 03 3 1m1s 20s592ms 04 6 2m 20s158ms 05 10 3m 18s28ms 08 2 36s217ms 18s108ms 09 1 2s68ms 2s68ms 10 1 3s978ms 3s978ms 11 3 1m1s 20s509ms 17 4 1m 15s42ms 20 3 57s242ms 19s80ms 22 3 58s943ms 19s647ms 23 4 58s844ms 14s711ms May 16 02 3 1m6s 22s272ms 05 3 53s883ms 17s961ms 06 2 7s894ms 3s947ms 07 4 58s314ms 14s578ms 09 9 3m 20s80ms 10 2 4s338ms 2s169ms 12 1 6s483ms 6s483ms 13 3 55s841ms 18s613ms 14 1 3s805ms 3s805ms 15 3 1m8s 22s753ms 17 3 1m 20s163ms 18 1 1s820ms 1s820ms 19 4 1m6s 16s626ms 20 4 1m10s 17s547ms 21 2 6s651ms 3s325ms 22 3 58s877ms 19s625ms May 17 00 4 1m5s 16s359ms 01 4 59s749ms 14s937ms 02 7 2m58s 25s510ms 03 3 1m3s 21s165ms 05 3 1m5s 21s712ms 07 3 57s590ms 19s196ms 09 3 1m1s 20s494ms 10 3 1m4s 21s334ms 11 7 1m15s 10s830ms 12 4 1m4s 16s4ms 13 4 1m13s 18s409ms 16 1 6s590ms 6s590ms 21 3 38s440ms 12s813ms 22 2 35s35ms 17s517ms 23 2 37s570ms 18s785ms [ User: pubeu - Total duration: 26m32s - Times executed: 90 ]
-
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 = '2102656') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-17 02:46:33 Duration: 1m31s 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 = '2097110') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-14 19:56:20 Duration: 57s149ms 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 = '2102037') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-12 01:59:19 Duration: 44s535ms Database: ctdprd51 User: pubeu Bind query: yes
18 255 17m27s 1s 9s711ms 4s108ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 11 00 1 1s24ms 1s24ms 02 1 5s523ms 5s523ms 03 1 1s23ms 1s23ms 04 2 11s111ms 5s555ms 05 5 23s438ms 4s687ms 06 2 6s768ms 3s384ms 08 3 16s668ms 5s556ms 09 4 22s245ms 5s561ms 10 5 27s878ms 5s575ms 11 3 3s478ms 1s159ms 12 4 17s971ms 4s492ms 13 3 3s171ms 1s57ms 14 4 9s725ms 2s431ms 15 4 18s139ms 4s534ms 17 2 11s81ms 5s540ms 21 5 27s944ms 5s588ms 22 1 5s597ms 5s597ms 23 3 12s272ms 4s90ms May 12 00 2 6s623ms 3s311ms 01 4 18s64ms 4s516ms 04 1 5s510ms 5s510ms 08 1 5s557ms 5s557ms 09 6 29s255ms 4s875ms 10 1 5s713ms 5s713ms 15 2 11s54ms 5s527ms 22 4 10s722ms 2s680ms 23 5 14s508ms 2s901ms May 13 00 1 5s523ms 5s523ms 01 2 11s326ms 5s663ms 02 4 14s355ms 3s588ms 03 2 11s228ms 5s614ms 05 1 1s5ms 1s5ms 07 1 5s516ms 5s516ms 09 1 5s520ms 5s520ms 10 3 7s831ms 2s610ms 11 5 14s672ms 2s934ms 12 1 5s558ms 5s558ms 13 2 6s810ms 3s405ms 14 1 5s552ms 5s552ms 15 1 5s996ms 5s996ms 17 1 5s517ms 5s517ms 22 2 6s838ms 3s419ms 23 3 16s808ms 5s602ms May 14 03 1 5s677ms 5s677ms 05 3 17s110ms 5s703ms 06 2 7s96ms 3s548ms 07 3 16s997ms 5s665ms 08 4 8s795ms 2s198ms 14 1 5s710ms 5s710ms 15 1 1s60ms 1s60ms 16 2 2s576ms 1s288ms 17 1 5s580ms 5s580ms 18 3 17s537ms 5s845ms 19 1 5s570ms 5s570ms 21 2 6s550ms 3s275ms 22 2 12s235ms 6s117ms May 15 03 1 1s32ms 1s32ms 04 1 5s503ms 5s503ms 05 2 6s788ms 3s394ms 07 2 2s351ms 1s175ms 09 7 21s333ms 3s47ms 10 1 5s604ms 5s604ms 11 1 5s993ms 5s993ms 14 1 1s80ms 1s80ms 15 1 5s578ms 5s578ms 16 4 15s761ms 3s940ms 18 1 6s79ms 6s79ms 19 3 16s813ms 5s604ms 20 2 11s468ms 5s734ms 22 2 11s266ms 5s633ms 23 4 13s387ms 3s346ms May 16 01 1 5s714ms 5s714ms 02 2 7s236ms 3s618ms 03 1 1s181ms 1s181ms 05 2 2s368ms 1s184ms 07 1 5s514ms 5s514ms 08 5 19s694ms 3s938ms 09 3 17s174ms 5s724ms 10 3 8s153ms 2s717ms 12 2 11s402ms 5s701ms 13 4 18s696ms 4s674ms 14 3 12s579ms 4s193ms 15 3 8s143ms 2s714ms 17 1 1s352ms 1s352ms 18 5 23s995ms 4s799ms 19 6 34s656ms 5s776ms 20 2 6s842ms 3s421ms 23 2 11s188ms 5s594ms May 17 00 3 16s879ms 5s626ms 01 2 11s350ms 5s675ms 02 4 8s643ms 2s160ms 04 3 12s721ms 4s240ms 05 5 14s497ms 2s899ms 07 1 5s611ms 5s611ms 08 2 7s233ms 3s616ms 09 2 2s520ms 1s260ms 10 2 11s136ms 5s568ms 11 1 5s884ms 5s884ms 12 4 14s45ms 3s511ms 13 1 5s557ms 5s557ms 14 2 3s88ms 1s544ms 15 1 5s695ms 5s695ms 16 3 12s481ms 4s160ms 17 1 6s229ms 6s229ms 18 1 1s143ms 1s143ms 22 1 1s285ms 1s285ms 23 1 1s75ms 1s75ms [ User: pubeu - Total duration: 5m19s - Times executed: 87 ]
[ User: qaeu - Total duration: 1s5ms - Times executed: 1 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'HNRNPK_0') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'HNRNPK_0') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HNRNPK_0')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'HNRNPK_0')) ii GROUP BY ii.cd;
Date: 2025-05-16 13:54:49 Duration: 9s711ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'HNRNPK_0') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'HNRNPK_0') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HNRNPK_0')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'HNRNPK_0')) ii GROUP BY ii.cd;
Date: 2025-05-16 13:55:07 Duration: 6s667ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'MPSF_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'MPSF_1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MPSF_1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'MPSF_1')) ii GROUP BY ii.cd;
Date: 2025-05-14 22:58:22 Duration: 6s310ms Database: ctdprd51 User: pubeu Bind query: yes
19 205 4m19s 1s130ms 2s204ms 1s265ms 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 phenotypefield;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 11 00 2 2s588ms 1s294ms 01 3 3s997ms 1s332ms 03 1 1s301ms 1s301ms 05 6 7s395ms 1s232ms 06 2 2s540ms 1s270ms 08 3 3s698ms 1s232ms 09 1 1s267ms 1s267ms 10 1 1s232ms 1s232ms 12 1 1s213ms 1s213ms 13 2 2s443ms 1s221ms 15 1 1s225ms 1s225ms 18 1 1s189ms 1s189ms 20 1 1s224ms 1s224ms 21 2 2s418ms 1s209ms 23 3 3s897ms 1s299ms May 12 00 1 1s241ms 1s241ms 01 1 1s276ms 1s276ms 02 1 1s234ms 1s234ms 04 3 3s872ms 1s290ms 07 1 1s246ms 1s246ms 09 1 1s296ms 1s296ms 10 1 1s253ms 1s253ms 22 2 2s409ms 1s204ms 23 2 2s461ms 1s230ms May 13 00 1 1s244ms 1s244ms 02 4 5s29ms 1s257ms 11 2 2s444ms 1s222ms 12 1 1s224ms 1s224ms 13 3 3s764ms 1s254ms 14 4 5s95ms 1s273ms 15 2 2s437ms 1s218ms 22 1 1s270ms 1s270ms May 14 00 1 1s181ms 1s181ms 02 1 1s244ms 1s244ms 03 4 5s99ms 1s274ms 04 1 1s369ms 1s369ms 07 4 5s57ms 1s264ms 08 2 2s447ms 1s223ms 09 2 2s507ms 1s253ms 10 1 1s191ms 1s191ms 13 2 2s454ms 1s227ms 14 1 1s204ms 1s204ms 15 1 1s278ms 1s278ms 16 1 1s236ms 1s236ms 17 1 1s197ms 1s197ms 19 1 1s235ms 1s235ms 20 2 2s383ms 1s191ms 21 1 1s130ms 1s130ms 22 1 1s217ms 1s217ms 23 1 1s362ms 1s362ms May 15 04 3 3s860ms 1s286ms 05 2 2s811ms 1s405ms 07 2 2s467ms 1s233ms 08 3 3s617ms 1s205ms 09 2 3s416ms 1s708ms 10 3 3s676ms 1s225ms 12 1 1s220ms 1s220ms 14 2 2s410ms 1s205ms 15 1 1s272ms 1s272ms 16 1 1s280ms 1s280ms 17 1 1s193ms 1s193ms 19 1 1s214ms 1s214ms 22 4 4s913ms 1s228ms 23 2 2s447ms 1s223ms May 16 00 1 1s188ms 1s188ms 01 3 3s643ms 1s214ms 03 3 4s316ms 1s438ms 04 3 3s782ms 1s260ms 05 2 2s475ms 1s237ms 06 2 2s518ms 1s259ms 07 5 6s332ms 1s266ms 09 4 5s80ms 1s270ms 10 1 1s255ms 1s255ms 12 1 1s197ms 1s197ms 13 1 1s251ms 1s251ms 14 3 3s671ms 1s223ms 15 2 2s491ms 1s245ms 17 2 2s442ms 1s221ms 18 2 2s531ms 1s265ms 19 2 2s438ms 1s219ms 20 2 2s470ms 1s235ms 21 3 3s699ms 1s233ms 23 2 2s484ms 1s242ms May 17 00 3 3s911ms 1s303ms 01 4 5s105ms 1s276ms 02 2 2s477ms 1s238ms 04 1 1s314ms 1s314ms 05 1 1s226ms 1s226ms 06 2 2s448ms 1s224ms 07 1 1s260ms 1s260ms 10 3 4s945ms 1s648ms 11 2 2s692ms 1s346ms 12 3 3s696ms 1s232ms 13 2 2s486ms 1s243ms 14 1 1s223ms 1s223ms 15 3 3s893ms 1s297ms 16 1 1s364ms 1s364ms 17 6 7s577ms 1s262ms 18 2 2s619ms 1s309ms 21 2 2s610ms 1s305ms 23 5 6s329ms 1s265ms [ User: pubeu - Total duration: 1m21s - Times executed: 64 ]
-
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 = '2067638' or receptorTerm.id = '2067638' 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 phenotypeField;
Date: 2025-05-15 09:36:03 Duration: 2s204ms 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 = '2001874' or receptorTerm.id = '2001874' 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 phenotypeField;
Date: 2025-05-17 10:12:29 Duration: 2s175ms 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 = '2057550' or receptorTerm.id = '2057550' 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 phenotypeField;
Date: 2025-05-15 05:28:51 Duration: 1s605ms Bind query: yes
20 202 4m13s 1s152ms 2s760ms 1s257ms 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 studycountries;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 11 00 2 2s750ms 1s375ms 01 2 2s720ms 1s360ms 04 2 2s552ms 1s276ms 05 4 5s103ms 1s275ms 06 3 3s892ms 1s297ms 07 1 1s241ms 1s241ms 10 2 2s484ms 1s242ms 13 1 1s241ms 1s241ms 14 1 1s196ms 1s196ms 17 2 2s449ms 1s224ms 19 1 1s222ms 1s222ms 21 1 1s231ms 1s231ms 22 1 1s244ms 1s244ms 23 1 1s284ms 1s284ms May 12 00 1 1s229ms 1s229ms 05 1 1s218ms 1s218ms 06 1 1s212ms 1s212ms 07 2 2s430ms 1s215ms 08 1 1s214ms 1s214ms 09 2 2s444ms 1s222ms 10 3 3s633ms 1s211ms 23 2 2s503ms 1s251ms May 13 00 2 2s399ms 1s199ms 01 4 4s984ms 1s246ms 02 2 2s498ms 1s249ms 03 2 2s490ms 1s245ms 10 3 3s642ms 1s214ms 12 2 2s547ms 1s273ms 13 2 2s453ms 1s226ms 14 3 3s658ms 1s219ms 22 2 2s477ms 1s238ms 23 1 1s236ms 1s236ms May 14 00 2 2s435ms 1s217ms 01 1 1s274ms 1s274ms 02 2 2s442ms 1s221ms 04 3 3s731ms 1s243ms 05 1 1s206ms 1s206ms 06 1 1s225ms 1s225ms 07 2 2s621ms 1s310ms 08 2 2s474ms 1s237ms 09 2 2s388ms 1s194ms 15 2 2s453ms 1s226ms 17 5 6s252ms 1s250ms 18 1 1s195ms 1s195ms 19 2 2s422ms 1s211ms 20 2 2s563ms 1s281ms 21 4 5s9ms 1s252ms 22 1 1s243ms 1s243ms May 15 05 3 3s738ms 1s246ms 07 2 2s472ms 1s236ms 08 1 1s222ms 1s222ms 09 3 3s692ms 1s230ms 11 1 1s223ms 1s223ms 12 1 1s213ms 1s213ms 15 2 2s448ms 1s224ms 16 1 1s220ms 1s220ms 17 3 3s575ms 1s191ms 18 1 1s158ms 1s158ms 19 1 1s242ms 1s242ms 20 1 1s218ms 1s218ms 22 1 1s384ms 1s384ms 23 5 6s183ms 1s236ms May 16 01 4 4s925ms 1s231ms 02 2 2s519ms 1s259ms 03 1 1s204ms 1s204ms 04 2 2s530ms 1s265ms 05 1 1s225ms 1s225ms 06 1 1s294ms 1s294ms 07 4 5s111ms 1s277ms 08 1 1s245ms 1s245ms 09 1 1s227ms 1s227ms 10 1 1s196ms 1s196ms 12 2 2s408ms 1s204ms 13 2 2s429ms 1s214ms 14 2 2s581ms 1s290ms 16 1 1s181ms 1s181ms 19 4 5s102ms 1s275ms 20 1 1s246ms 1s246ms 21 1 1s304ms 1s304ms 22 1 1s262ms 1s262ms 23 3 3s713ms 1s237ms May 17 00 4 6s501ms 1s625ms 02 5 6s243ms 1s248ms 03 1 1s247ms 1s247ms 04 2 2s495ms 1s247ms 05 4 4s942ms 1s235ms 06 2 2s501ms 1s250ms 07 1 1s275ms 1s275ms 08 1 1s263ms 1s263ms 09 3 3s934ms 1s311ms 10 2 2s565ms 1s282ms 11 4 5s590ms 1s397ms 12 1 1s280ms 1s280ms 14 3 3s793ms 1s264ms 16 3 3s774ms 1s258ms 17 2 2s456ms 1s228ms 18 2 2s653ms 1s326ms 19 1 1s201ms 1s201ms 21 4 4s974ms 1s243ms 22 2 2s502ms 1s251ms 23 1 1s256ms 1s256ms [ User: pubeu - Total duration: 1m - Times executed: 48 ]
-
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 = '1454271' or receptorTerm.id = '1454271' 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 studyCountries;
Date: 2025-05-17 00:30:55 Duration: 2s760ms 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 = '2072038' or receptorTerm.id = '2072038' 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 studyCountries;
Date: 2025-05-17 11:21:04 Duration: 1s663ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2080538' or receptorTerm.id = '2080538' 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 studyCountries;
Date: 2025-05-17 11:34:55 Duration: 1s435ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 25m2s 25m2s 25m2s 1 25m2s 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 #1
Day Hour Count Duration Avg duration May 17 19 1 25m2s 25m2s -
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-05-17 19:47:19 Duration: 25m2s
2 25m1s 25m1s 25m1s 1 25m1s 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 #2
Day Hour Count Duration Avg duration May 17 19 1 25m1s 25m1s -
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-05-17 19:02:15 Duration: 25m1s
3 13m34s 13m54s 13m44s 2 27m29s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in (( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ? union select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?) intersect ( select 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 = ?)) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 13 01 1 13m34s 13m34s 02 1 13m54s 13m54s [ User: pubeu - Total duration: 13m34s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7) INTERSECT ( SELECT /* GAIQH.getGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RNF165') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-05-13 02:03:08 Duration: 13m54s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7) INTERSECT ( SELECT /* GAIQH.getGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RNF165') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-05-13 01:56:53 Duration: 13m34s Database: ctdprd51 User: pubeu Bind query: yes
4 5m14s 5m32s 5m21s 7 37m27s select maint_query_logs_archive ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 11 00 1 5m14s 5m14s May 12 00 1 5m18s 5m18s May 13 00 1 5m17s 5m17s May 14 00 1 5m20s 5m20s May 15 00 1 5m20s 5m20s May 16 00 1 5m23s 5m23s May 17 00 1 5m32s 5m32s -
/* * 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-05-17 00:05:33 Duration: 5m32s
-
/* * 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-05-16 00:05:25 Duration: 5m23s
-
/* * 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-05-15 00:05:22 Duration: 5m20s
5 1s468ms 18m52s 2m32s 60 2h32m59s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 11 14 6 51m32s 8m35s May 13 13 1 3s353ms 3s353ms May 16 04 1 18m21s 18m21s 05 1 1s789ms 1s789ms 07 2 3s605ms 1s802ms 08 3 6s654ms 2s218ms 09 1 4m13s 4m13s 10 1 3m11s 3m11s 11 2 5s875ms 2s937ms 14 3 15m20s 5m6s 19 1 7m11s 7m11s 21 1 3m20s 3m20s 23 1 5m35s 5m35s May 17 00 3 5s827ms 1s942ms 02 9 19m1s 2m6s 03 7 3m17s 28s236ms 07 1 2s565ms 2s565ms 08 1 2m44s 2m44s 09 1 2s505ms 2s505ms 10 2 11m14s 5m37s 11 3 7s452ms 2s484ms 15 1 3m5s 3m5s 17 1 3m55s 3m55s 19 2 3s494ms 1s747ms 21 1 2s91ms 2s91ms 22 2 3s901ms 1s950ms 23 2 4s80ms 2s40ms [ User: pubeu - Total duration: 57m37s - Times executed: 17 ]
-
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 = '1256379') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-05-11 14:40:25 Duration: 18m52s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1256379') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-05-11 14:39:52 Duration: 18m38s 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 = '1256379') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-05-16 04:48:11 Duration: 18m21s Bind query: yes
6 58s536ms 1m3s 59s791ms 25 24m54s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 11 06 1 59s153ms 59s153ms 10 1 59s231ms 59s231ms 14 1 58s536ms 58s536ms 18 1 59s13ms 59s13ms May 12 06 1 58s829ms 58s829ms 10 1 59s130ms 59s130ms 14 1 58s712ms 58s712ms 18 1 58s620ms 58s620ms May 13 06 1 59s786ms 59s786ms 10 1 59s907ms 59s907ms 14 1 59s443ms 59s443ms 18 1 58s935ms 58s935ms May 14 06 1 59s771ms 59s771ms 10 1 59s192ms 59s192ms 14 1 1m3s 1m3s 18 1 59s861ms 59s861ms May 15 06 1 59s870ms 59s870ms 10 1 1m 1m 14 1 1m 1m 18 1 1m 1m May 16 06 1 1m 1m 10 1 1m1s 1m1s 14 1 1m 1m 18 1 1m 1m May 17 20 1 1m 1m [ User: postgres - Total duration: 23m54s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 23m54s - 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-05-14 14:06:05 Duration: 1m3s 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-05-16 10:06:03 Duration: 1m1s 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-05-16 14:06:02 Duration: 1m Database: ctdprd51 User: postgres Application: pg_dump
7 2s417ms 2m20s 47s906ms 21 16m46s 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 May 12 01 3 2m23s 47s834ms May 13 13 3 2m52s 57s396ms May 14 06 3 3m56s 1m18s May 15 09 1 2s417ms 2s417ms May 16 13 5 4m26s 53s351ms 23 3 1m30s 30s264ms May 17 09 3 1m33s 31s223ms [ User: pubeu - Total duration: 4m11s - Times executed: 7 ]
-
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 = '2104638')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-05-14 06:28:28 Duration: 2m20s 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 = '1361511')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-05-16 13:55:10 Duration: 1m7s 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 = '1361511')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-05-16 13:54:51 Duration: 1m6s Bind query: yes
8 1s3ms 1m55s 17s500ms 1,072 5h12m40s 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 #8
Day Hour Count Duration Avg duration May 11 00 9 2m38s 17s574ms 01 9 2m21s 15s707ms 02 4 1m6s 16s546ms 03 6 1m53s 18s920ms 04 3 59s122ms 19s707ms 05 4 54s942ms 13s735ms 06 11 3m19s 18s115ms 07 4 1m2s 15s643ms 09 6 1m47s 17s952ms 10 13 3m44s 17s258ms 11 9 2m37s 17s483ms 12 4 56s959ms 14s239ms 13 15 3m44s 14s935ms 14 18 10m55s 36s427ms 15 4 51s944ms 12s986ms 16 3 56s318ms 18s772ms 17 7 1m53s 16s251ms 20 9 2m34s 17s195ms 21 13 3m26s 15s882ms 22 14 3m47s 16s253ms 23 6 1m40s 16s760ms May 12 00 12 3m39s 18s276ms 01 3 57s898ms 19s299ms 02 3 51s300ms 17s100ms 05 10 2m51s 17s171ms 06 3 37s367ms 12s455ms 07 6 1m48s 18s116ms 08 23 8m59s 23s455ms 09 7 2m 17s208ms 10 3 50s696ms 16s898ms 12 3 50s231ms 16s743ms 13 3 53s925ms 17s975ms 15 3 1m7s 22s535ms 16 1 16s579ms 16s579ms 22 6 1m53s 18s906ms 23 8 1m42s 12s871ms May 13 00 12 3m26s 17s242ms 01 8 1m58s 14s834ms 02 1 21s491ms 21s491ms 03 7 1m44s 14s894ms 10 3 25s361ms 8s453ms 11 11 1m47s 9s795ms 12 14 4m48s 20s578ms 13 10 2m10s 13s84ms 14 20 6m52s 20s604ms 17 1 16s263ms 16s263ms 19 2 16s488ms 8s244ms 22 6 1m40s 16s831ms 23 5 53s96ms 10s619ms May 14 00 12 3m16s 16s353ms 01 12 3m44s 18s701ms 02 9 1m55s 12s856ms 03 1 5s14ms 5s14ms 04 3 49s811ms 16s603ms 05 15 4m38s 18s593ms 06 7 2m 17s201ms 07 4 53s693ms 13s423ms 08 6 1m36s 16s83ms 09 8 2m13s 16s643ms 13 3 57s877ms 19s292ms 14 5 1m27s 17s584ms 15 12 3m22s 16s838ms 16 17 4m50s 17s88ms 18 17 5m18s 18s728ms 19 6 1m42s 17s135ms 20 3 54s413ms 18s137ms 21 3 52s136ms 17s378ms 22 19 5m17s 16s703ms 23 3 57s670ms 19s223ms May 15 04 3 47s929ms 15s976ms 05 4 1m10s 17s676ms 06 4 1m9s 17s408ms 07 12 3m9s 15s776ms 08 7 1m56s 16s706ms 09 11 5m13s 28s532ms 10 13 3m37s 16s733ms 11 5 1m6s 13s378ms 13 1 10s211ms 10s211ms 14 10 2m56s 17s667ms 15 9 2m37s 17s534ms 16 6 2m9s 21s606ms 17 13 3m49s 17s630ms 18 10 2m42s 16s228ms 19 3 51s76ms 17s25ms 20 5 1m27s 17s434ms 21 18 5m26s 18s123ms 22 16 4m10s 15s648ms 23 9 2m32s 16s967ms May 16 00 3 51s984ms 17s328ms 01 10 2m42s 16s257ms 02 13 3m30s 16s215ms 03 12 3m44s 18s717ms 04 9 2m36s 17s334ms 05 7 2m2s 17s471ms 06 4 50s594ms 12s648ms 07 13 3m57s 18s251ms 08 11 3m31s 19s244ms 09 4 1m 15s80ms 10 17 4m57s 17s496ms 11 6 1m56s 19s489ms 12 7 1m57s 16s823ms 13 13 3m14s 14s955ms 14 4 1m2s 15s512ms 15 11 3m22s 18s443ms 17 6 1m58s 19s687ms 18 16 4m20s 16s264ms 19 15 4m29s 17s980ms 20 9 2m34s 17s115ms 21 6 1m52s 18s735ms 23 11 2m54s 15s861ms May 17 00 15 4m30s 18s55ms 01 7 1m32s 13s211ms 02 13 4m 18s488ms 03 3 57s919ms 19s306ms 04 10 2m40s 16s16ms 05 12 3m23s 16s988ms 06 13 3m45s 17s344ms 07 3 51s827ms 17s275ms 08 6 1m44s 17s349ms 09 3 51s516ms 17s172ms 10 15 4m59s 19s966ms 11 11 2m56s 16s78ms 12 9 2m30s 16s706ms 13 1 5s499ms 5s499ms 14 8 2m34s 19s350ms 15 12 2m28s 12s402ms 16 2 32s531ms 16s265ms 17 4 53s517ms 13s379ms 18 8 2m35s 19s441ms 20 3 1m1s 20s385ms 21 5 54s310ms 10s862ms 22 10 2m56s 17s621ms 23 3 1m6s 22s278ms [ User: pubeu - Total duration: 1h45m15s - Times executed: 352 ]
-
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 = '2105332') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-11 14:40:26 Duration: 1m55s 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 = '2102940') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-15 09:37:15 Duration: 1m18s 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 = '2101690') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-11 14:40:12 Duration: 1m6s Database: ctdprd51 User: pubeu Bind query: yes
9 1s426ms 1m31s 17s163ms 257 1h13m31s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 11 01 5 1m52s 22s548ms 03 2 12s251ms 6s125ms 04 1 6s257ms 6s257ms 05 1 8s694ms 8s694ms 07 3 1m 20s169ms 10 4 1m5s 16s366ms 14 1 2s163ms 2s163ms 16 5 1m40s 20s41ms 20 8 2m37s 19s729ms 21 3 1m2s 20s742ms May 12 01 3 1m47s 35s694ms 05 6 1m57s 19s517ms 08 1 3s274ms 3s274ms 20 3 1m2s 20s777ms 23 4 1m3s 15s779ms May 13 00 2 11s967ms 5s983ms 03 3 1m 20s322ms 09 1 4s437ms 4s437ms 11 1 4s681ms 4s681ms 21 1 2s436ms 2s436ms 22 3 52s948ms 17s649ms 23 6 1m51s 18s501ms May 14 00 1 5s256ms 5s256ms 02 1 10s592ms 10s592ms 07 1 2s990ms 2s990ms 08 1 2s226ms 2s226ms 09 2 34s474ms 17s237ms 14 4 59s991ms 14s997ms 15 2 8s885ms 4s442ms 16 3 57s252ms 19s84ms 17 5 1m6s 13s267ms 18 4 59s143ms 14s785ms 19 6 2m49s 28s314ms 20 9 3m1s 20s178ms 21 7 1m25s 12s195ms 22 3 57s812ms 19s270ms May 15 03 3 1m1s 20s592ms 04 6 2m 20s158ms 05 10 3m 18s28ms 08 2 36s217ms 18s108ms 09 1 2s68ms 2s68ms 10 1 3s978ms 3s978ms 11 3 1m1s 20s509ms 17 4 1m 15s42ms 20 3 57s242ms 19s80ms 22 3 58s943ms 19s647ms 23 4 58s844ms 14s711ms May 16 02 3 1m6s 22s272ms 05 3 53s883ms 17s961ms 06 2 7s894ms 3s947ms 07 4 58s314ms 14s578ms 09 9 3m 20s80ms 10 2 4s338ms 2s169ms 12 1 6s483ms 6s483ms 13 3 55s841ms 18s613ms 14 1 3s805ms 3s805ms 15 3 1m8s 22s753ms 17 3 1m 20s163ms 18 1 1s820ms 1s820ms 19 4 1m6s 16s626ms 20 4 1m10s 17s547ms 21 2 6s651ms 3s325ms 22 3 58s877ms 19s625ms May 17 00 4 1m5s 16s359ms 01 4 59s749ms 14s937ms 02 7 2m58s 25s510ms 03 3 1m3s 21s165ms 05 3 1m5s 21s712ms 07 3 57s590ms 19s196ms 09 3 1m1s 20s494ms 10 3 1m4s 21s334ms 11 7 1m15s 10s830ms 12 4 1m4s 16s4ms 13 4 1m13s 18s409ms 16 1 6s590ms 6s590ms 21 3 38s440ms 12s813ms 22 2 35s35ms 17s517ms 23 2 37s570ms 18s785ms [ User: pubeu - Total duration: 26m32s - Times executed: 90 ]
-
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 = '2102656') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-17 02:46:33 Duration: 1m31s 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 = '2097110') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-14 19:56:20 Duration: 57s149ms 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 = '2102037') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-12 01:59:19 Duration: 44s535ms Database: ctdprd51 User: pubeu Bind query: yes
10 3s661ms 20s906ms 4s383ms 454 33m10s 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 #10
Day Hour Count Duration Avg duration May 11 00 4 17s37ms 4s259ms 01 3 13s21ms 4s340ms 03 8 32s379ms 4s47ms 04 2 7s705ms 3s852ms 05 8 32s516ms 4s64ms 06 3 12s757ms 4s252ms 07 2 8s456ms 4s228ms 08 1 4s370ms 4s370ms 09 1 4s10ms 4s10ms 10 2 8s356ms 4s178ms 14 2 7s963ms 3s981ms 15 5 21s170ms 4s234ms 17 5 21s95ms 4s219ms 18 1 3s883ms 3s883ms 20 1 3s922ms 3s922ms 22 2 8s760ms 4s380ms 23 1 4s115ms 4s115ms May 12 01 2 8s932ms 4s466ms 02 6 24s312ms 4s52ms 03 2 8s102ms 4s51ms 04 3 26s176ms 8s725ms 05 5 22s8ms 4s401ms 07 2 8s91ms 4s45ms 08 3 12s146ms 4s48ms 09 1 5s301ms 5s301ms 10 14 58s488ms 4s177ms 11 12 47s567ms 3s963ms 12 20 1m48s 5s409ms 13 4 16s54ms 4s13ms 14 2 8s17ms 4s8ms 16 5 19s791ms 3s958ms 17 9 35s978ms 3s997ms 18 1 4s10ms 4s10ms 20 1 4s55ms 4s55ms 21 1 3s826ms 3s826ms 22 2 18s155ms 9s77ms 23 1 3s961ms 3s961ms May 13 00 1 3s910ms 3s910ms 01 3 12s875ms 4s291ms 02 1 4s479ms 4s479ms 03 2 7s954ms 3s977ms 05 1 3s962ms 3s962ms 07 1 4s122ms 4s122ms 08 11 43s992ms 3s999ms 09 4 16s441ms 4s110ms 10 6 24s420ms 4s70ms 11 7 29s226ms 4s175ms 13 2 8s38ms 4s19ms 15 4 16s254ms 4s63ms 16 2 7s968ms 3s984ms 18 1 3s710ms 3s710ms 21 1 4s158ms 4s158ms 22 2 7s624ms 3s812ms 23 1 3s958ms 3s958ms May 14 00 2 9s103ms 4s551ms 01 1 4s93ms 4s93ms 02 7 28s643ms 4s91ms 03 7 28s526ms 4s75ms 04 16 1m19s 4s946ms 05 2 13s794ms 6s897ms 06 1 4s70ms 4s70ms 07 6 41s159ms 6s859ms 09 3 12s315ms 4s105ms 10 2 8s342ms 4s171ms 11 2 7s978ms 3s989ms 12 2 8s19ms 4s9ms 13 11 46s600ms 4s236ms 14 1 4s12ms 4s12ms 15 1 4s86ms 4s86ms 16 3 12s887ms 4s295ms 17 3 12s321ms 4s107ms 18 1 3s912ms 3s912ms 19 1 3s914ms 3s914ms 20 1 4s521ms 4s521ms 21 1 4s5ms 4s5ms 22 1 4s440ms 4s440ms May 15 04 6 24s751ms 4s125ms 05 23 1m33s 4s68ms 06 3 14s691ms 4s897ms 07 4 16s6ms 4s1ms 08 3 12s927ms 4s309ms 09 6 24s866ms 4s144ms 10 2 9s487ms 4s743ms 11 7 28s214ms 4s30ms 12 3 11s632ms 3s877ms 13 2 7s970ms 3s985ms 14 2 10s738ms 5s369ms 15 4 17s11ms 4s252ms 19 4 17s505ms 4s376ms 21 4 17s336ms 4s334ms 22 5 25s206ms 5s41ms 23 7 29s730ms 4s247ms May 16 00 3 14s231ms 4s743ms 02 1 4s142ms 4s142ms 03 1 4s437ms 4s437ms 04 4 16s366ms 4s91ms 05 5 20s645ms 4s129ms 06 1 3s876ms 3s876ms 07 1 4s378ms 4s378ms 09 3 11s912ms 3s970ms 10 4 18s172ms 4s543ms 11 2 7s581ms 3s790ms 12 4 16s730ms 4s182ms 14 1 4s146ms 4s146ms 17 1 3s998ms 3s998ms 18 1 3s964ms 3s964ms 20 1 3s859ms 3s859ms 21 1 4s5ms 4s5ms 22 1 3s838ms 3s838ms 23 2 8s767ms 4s383ms May 17 02 9 51s913ms 5s768ms 03 8 37s438ms 4s679ms 04 4 16s290ms 4s72ms 05 2 8s803ms 4s401ms 06 3 12s47ms 4s15ms 08 1 3s982ms 3s982ms 09 1 4s377ms 4s377ms 10 7 33s389ms 4s769ms 11 3 12s727ms 4s242ms 12 3 12s394ms 4s131ms 13 4 16s149ms 4s37ms 14 11 44s190ms 4s17ms 20 2 7s841ms 3s920ms 21 1 4s193ms 4s193ms 22 1 4s48ms 4s48ms [ User: pubeu - Total duration: 11m34s - Times executed: 156 ]
[ User: qaeu - Total duration: 3s895ms - Times executed: 1 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1409922') 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 = '1409922') 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-05-14 07:55:44 Duration: 20s906ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1409922') 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 = '1409922') 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-05-12 04:36:07 Duration: 18s424ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1409922') 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 = '1409922') 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-05-12 12:29:56 Duration: 17s731ms Bind query: yes
11 1s 9s711ms 4s108ms 255 17m27s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 11 00 1 1s24ms 1s24ms 02 1 5s523ms 5s523ms 03 1 1s23ms 1s23ms 04 2 11s111ms 5s555ms 05 5 23s438ms 4s687ms 06 2 6s768ms 3s384ms 08 3 16s668ms 5s556ms 09 4 22s245ms 5s561ms 10 5 27s878ms 5s575ms 11 3 3s478ms 1s159ms 12 4 17s971ms 4s492ms 13 3 3s171ms 1s57ms 14 4 9s725ms 2s431ms 15 4 18s139ms 4s534ms 17 2 11s81ms 5s540ms 21 5 27s944ms 5s588ms 22 1 5s597ms 5s597ms 23 3 12s272ms 4s90ms May 12 00 2 6s623ms 3s311ms 01 4 18s64ms 4s516ms 04 1 5s510ms 5s510ms 08 1 5s557ms 5s557ms 09 6 29s255ms 4s875ms 10 1 5s713ms 5s713ms 15 2 11s54ms 5s527ms 22 4 10s722ms 2s680ms 23 5 14s508ms 2s901ms May 13 00 1 5s523ms 5s523ms 01 2 11s326ms 5s663ms 02 4 14s355ms 3s588ms 03 2 11s228ms 5s614ms 05 1 1s5ms 1s5ms 07 1 5s516ms 5s516ms 09 1 5s520ms 5s520ms 10 3 7s831ms 2s610ms 11 5 14s672ms 2s934ms 12 1 5s558ms 5s558ms 13 2 6s810ms 3s405ms 14 1 5s552ms 5s552ms 15 1 5s996ms 5s996ms 17 1 5s517ms 5s517ms 22 2 6s838ms 3s419ms 23 3 16s808ms 5s602ms May 14 03 1 5s677ms 5s677ms 05 3 17s110ms 5s703ms 06 2 7s96ms 3s548ms 07 3 16s997ms 5s665ms 08 4 8s795ms 2s198ms 14 1 5s710ms 5s710ms 15 1 1s60ms 1s60ms 16 2 2s576ms 1s288ms 17 1 5s580ms 5s580ms 18 3 17s537ms 5s845ms 19 1 5s570ms 5s570ms 21 2 6s550ms 3s275ms 22 2 12s235ms 6s117ms May 15 03 1 1s32ms 1s32ms 04 1 5s503ms 5s503ms 05 2 6s788ms 3s394ms 07 2 2s351ms 1s175ms 09 7 21s333ms 3s47ms 10 1 5s604ms 5s604ms 11 1 5s993ms 5s993ms 14 1 1s80ms 1s80ms 15 1 5s578ms 5s578ms 16 4 15s761ms 3s940ms 18 1 6s79ms 6s79ms 19 3 16s813ms 5s604ms 20 2 11s468ms 5s734ms 22 2 11s266ms 5s633ms 23 4 13s387ms 3s346ms May 16 01 1 5s714ms 5s714ms 02 2 7s236ms 3s618ms 03 1 1s181ms 1s181ms 05 2 2s368ms 1s184ms 07 1 5s514ms 5s514ms 08 5 19s694ms 3s938ms 09 3 17s174ms 5s724ms 10 3 8s153ms 2s717ms 12 2 11s402ms 5s701ms 13 4 18s696ms 4s674ms 14 3 12s579ms 4s193ms 15 3 8s143ms 2s714ms 17 1 1s352ms 1s352ms 18 5 23s995ms 4s799ms 19 6 34s656ms 5s776ms 20 2 6s842ms 3s421ms 23 2 11s188ms 5s594ms May 17 00 3 16s879ms 5s626ms 01 2 11s350ms 5s675ms 02 4 8s643ms 2s160ms 04 3 12s721ms 4s240ms 05 5 14s497ms 2s899ms 07 1 5s611ms 5s611ms 08 2 7s233ms 3s616ms 09 2 2s520ms 1s260ms 10 2 11s136ms 5s568ms 11 1 5s884ms 5s884ms 12 4 14s45ms 3s511ms 13 1 5s557ms 5s557ms 14 2 3s88ms 1s544ms 15 1 5s695ms 5s695ms 16 3 12s481ms 4s160ms 17 1 6s229ms 6s229ms 18 1 1s143ms 1s143ms 22 1 1s285ms 1s285ms 23 1 1s75ms 1s75ms [ User: pubeu - Total duration: 5m19s - Times executed: 87 ]
[ User: qaeu - Total duration: 1s5ms - Times executed: 1 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'HNRNPK_0') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'HNRNPK_0') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HNRNPK_0')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'HNRNPK_0')) ii GROUP BY ii.cd;
Date: 2025-05-16 13:54:49 Duration: 9s711ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'HNRNPK_0') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'HNRNPK_0') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HNRNPK_0')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'HNRNPK_0')) ii GROUP BY ii.cd;
Date: 2025-05-16 13:55:07 Duration: 6s667ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'MPSF_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'MPSF_1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MPSF_1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'MPSF_1')) ii GROUP BY ii.cd;
Date: 2025-05-14 22:58:22 Duration: 6s310ms Database: ctdprd51 User: pubeu Bind query: yes
12 1s 51s227ms 3s811ms 420 26m40s select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 12 03 1 5s916ms 5s916ms 04 2 12s139ms 6s69ms May 13 14 417 26m22s 3s795ms [ User: pubeu - Total duration: 3m49s - Times executed: 57 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2094166) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-05-13 14:12:54 Duration: 51s227ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d011297' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2100824) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-05-13 14:35:11 Duration: 39s70ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d007674' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2103187) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-05-13 14:25:16 Duration: 25s328ms Bind query: yes
13 1s 7s273ms 3s618ms 397 23m56s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 11 00 8 30s626ms 3s828ms 01 1 5s310ms 5s310ms 02 1 4s824ms 4s824ms 05 6 10s833ms 1s805ms 07 3 17s272ms 5s757ms 08 2 11s118ms 5s559ms 10 2 10s276ms 5s138ms 12 2 10s943ms 5s471ms 14 4 19s563ms 4s890ms 15 1 6s396ms 6s396ms 16 2 6s788ms 3s394ms 17 2 10s814ms 5s407ms 21 1 1s83ms 1s83ms 22 2 3s245ms 1s622ms 23 2 11s75ms 5s537ms May 12 00 3 3s69ms 1s23ms 01 16 54s675ms 3s417ms 02 1 5s230ms 5s230ms 03 1 4s528ms 4s528ms 05 8 17s281ms 2s160ms 07 3 6s944ms 2s314ms 09 5 18s195ms 3s639ms 10 1 1s159ms 1s159ms 18 1 1s16ms 1s16ms 19 5 20s824ms 4s164ms 20 2 9s507ms 4s753ms 23 5 23s153ms 4s630ms May 13 00 10 38s558ms 3s855ms 01 2 2s244ms 1s122ms 02 10 31s80ms 3s108ms 03 2 10s834ms 5s417ms 05 1 1s6ms 1s6ms 07 1 4s814ms 4s814ms 09 2 6s800ms 3s400ms 10 1 1s71ms 1s71ms 11 3 7s543ms 2s514ms 12 1 1s55ms 1s55ms 13 2 10s544ms 5s272ms 14 2 6s624ms 3s312ms 21 1 1s19ms 1s19ms May 14 00 2 6s411ms 3s205ms 02 1 5s660ms 5s660ms 03 1 1s39ms 1s39ms 04 1 1s50ms 1s50ms 05 6 6s325ms 1s54ms 07 1 5s615ms 5s615ms 08 1 5s656ms 5s656ms 09 1 1s38ms 1s38ms 10 1 5s145ms 5s145ms 13 3 16s13ms 5s337ms 14 6 14s442ms 2s407ms 15 6 20s238ms 3s373ms 16 7 16s450ms 2s350ms 17 1 1s66ms 1s66ms 18 8 30s 3s750ms 19 2 10s580ms 5s290ms 20 2 6s794ms 3s397ms 21 4 12s856ms 3s214ms 23 1 1s217ms 1s217ms May 15 04 10 42s129ms 4s212ms 05 11 25s448ms 2s313ms 06 4 13s262ms 3s315ms 07 11 43s356ms 3s941ms 08 3 11s521ms 3s840ms 09 2 10s796ms 5s398ms 10 2 6s955ms 3s477ms 14 3 11s858ms 3s952ms 15 1 5s908ms 5s908ms 17 2 2s21ms 1s10ms 18 11 35s484ms 3s225ms 19 2 10s979ms 5s489ms 20 3 3s215ms 1s71ms 21 7 30s894ms 4s413ms 22 4 19s859ms 4s964ms 23 4 18s168ms 4s542ms May 16 01 1 1s91ms 1s91ms 02 3 8s497ms 2s832ms 03 1 6s384ms 6s384ms 04 1 5s75ms 5s75ms 05 4 12s579ms 3s144ms 06 3 11s652ms 3s884ms 07 3 16s346ms 5s448ms 08 4 25s141ms 6s285ms 09 3 12s799ms 4s266ms 10 6 10s634ms 1s772ms 12 3 11s696ms 3s898ms 13 2 6s737ms 3s368ms 14 2 6s738ms 3s369ms 15 4 21s460ms 5s365ms 17 17 55s581ms 3s269ms 18 4 18s210ms 4s552ms 19 2 11s864ms 5s932ms 20 3 12s289ms 4s96ms 23 1 1s27ms 1s27ms May 17 00 1 5s414ms 5s414ms 01 2 7s357ms 3s678ms 02 1 5s632ms 5s632ms 04 1 5s562ms 5s562ms 05 5 5s608ms 1s121ms 06 3 6s908ms 2s302ms 07 2 12s748ms 6s374ms 08 1 5s418ms 5s418ms 10 4 18s105ms 4s526ms 11 4 17s109ms 4s277ms 12 7 20s334ms 2s904ms 13 1 5s50ms 5s50ms 14 3 15s739ms 5s246ms 15 4 12s802ms 3s200ms 16 7 33s764ms 4s823ms 17 3 12s724ms 4s241ms 18 3 15s781ms 5s260ms 19 1 6s208ms 6s208ms 20 2 11s291ms 5s645ms 21 4 14s817ms 3s704ms 22 5 26s271ms 5s254ms 23 3 7s627ms 2s542ms [ User: pubeu - Total duration: 6m46s - Times executed: 121 ]
[ User: qaeu - Total duration: 6s519ms - Times executed: 6 ]
-
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 = '1374943' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-17 22:35:29 Duration: 7s273ms 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 = '1302547' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-11 00:24:45 Duration: 7s183ms 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 = '1301854' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-16 08:30:21 Duration: 7s72ms Bind query: yes
14 1s2ms 12s492ms 3s265ms 387 21m3s 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;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 11 00 3 14s817ms 4s939ms 01 1 1s22ms 1s22ms 02 3 3s718ms 1s239ms 04 4 10s824ms 2s706ms 06 2 19s552ms 9s776ms 07 2 2s678ms 1s339ms 08 3 5s232ms 1s744ms 10 5 9s3ms 1s800ms 11 5 31s697ms 6s339ms 12 6 14s175ms 2s362ms 13 3 4s384ms 1s461ms 14 3 3s167ms 1s55ms 15 5 15s838ms 3s167ms 16 4 31s131ms 7s782ms 17 2 2s547ms 1s273ms 20 2 2s635ms 1s317ms 21 5 9s464ms 1s892ms 22 5 17s815ms 3s563ms 23 6 22s897ms 3s816ms May 12 00 3 17s938ms 5s979ms 01 4 31s743ms 7s935ms 06 6 13s547ms 2s257ms 08 6 39s254ms 6s542ms 09 5 12s210ms 2s442ms 10 2 11s139ms 5s569ms 13 1 1s563ms 1s563ms 23 3 5s39ms 1s679ms May 13 00 9 46s813ms 5s201ms 01 5 9s533ms 1s906ms 02 6 17s62ms 2s843ms 03 4 6s855ms 1s713ms 10 2 3s233ms 1s616ms 11 2 2s236ms 1s118ms 12 3 7s561ms 2s520ms 13 1 1s39ms 1s39ms 14 6 25s866ms 4s311ms 15 3 3s242ms 1s80ms 17 1 1s266ms 1s266ms 22 1 2s231ms 2s231ms 23 5 5s864ms 1s172ms May 14 00 2 9s667ms 4s833ms 01 1 1s375ms 1s375ms 03 1 1s564ms 1s564ms 05 1 1s238ms 1s238ms 06 5 6s320ms 1s264ms 07 4 31s674ms 7s918ms 09 3 5s754ms 1s918ms 10 1 3s471ms 3s471ms 12 1 1s452ms 1s452ms 14 3 17s189ms 5s729ms 16 1 1s87ms 1s87ms 17 4 11s226ms 2s806ms 18 1 1s396ms 1s396ms 19 4 5s592ms 1s398ms 20 3 19s44ms 6s348ms 21 6 21s150ms 3s525ms 22 5 7s600ms 1s520ms May 15 04 4 8s888ms 2s222ms 05 7 38s718ms 5s531ms 07 6 35s641ms 5s940ms 08 2 2s980ms 1s490ms 11 1 1s512ms 1s512ms 14 12 25s68ms 2s89ms 15 3 20s885ms 6s961ms 16 5 12s984ms 2s596ms 18 4 6s546ms 1s636ms 21 8 51s100ms 6s387ms 22 5 7s621ms 1s524ms 23 4 8s147ms 2s36ms May 16 01 2 2s582ms 1s291ms 04 1 1s348ms 1s348ms 05 1 1s460ms 1s460ms 06 5 35s157ms 7s31ms 07 2 3s667ms 1s833ms 08 7 10s390ms 1s484ms 09 3 6s425ms 2s141ms 10 9 36s489ms 4s54ms 11 3 3s271ms 1s90ms 12 10 42s17ms 4s201ms 13 6 33s921ms 5s653ms 18 6 39s727ms 6s621ms 19 1 2s72ms 2s72ms 20 3 3s987ms 1s329ms 21 1 2s52ms 2s52ms 22 1 1s591ms 1s591ms 23 6 18s410ms 3s68ms May 17 00 7 22s946ms 3s278ms 01 3 4s922ms 1s640ms 02 4 14s639ms 3s659ms 03 3 3s777ms 1s259ms 05 1 2s583ms 2s583ms 06 4 5s878ms 1s469ms 07 6 9s907ms 1s651ms 09 5 8s428ms 1s685ms 10 4 5s824ms 1s456ms 11 7 17s224ms 2s460ms 12 2 5s233ms 2s616ms 14 1 3s573ms 3s573ms 15 1 2s129ms 2s129ms 16 5 5s938ms 1s187ms 17 2 3s248ms 1s624ms 18 1 2s78ms 2s78ms 20 1 2s39ms 2s39ms 21 1 2s7ms 2s7ms 22 1 1s455ms 1s455ms 23 7 40s437ms 5s776ms [ User: pubeu - Total duration: 6m24s - Times executed: 107 ]
-
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 = '1274194') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2025-05-16 18:14:29 Duration: 12s492ms 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 = '1274194') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2025-05-16 10:08:29 Duration: 11s713ms 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 = '1274194') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2025-05-17 23:49:27 Duration: 11s672ms Bind query: yes
15 1s 8s382ms 3s156ms 260 13m40s 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 #15
Day Hour Count Duration Avg duration May 11 00 6 17s260ms 2s876ms 16 1 2s80ms 2s80ms May 12 01 15 43s180ms 2s878ms 18 1 1s970ms 1s970ms 19 8 25s501ms 3s187ms 20 5 13s750ms 2s750ms 23 4 12s993ms 3s248ms May 13 00 10 29s266ms 2s926ms 02 10 34s778ms 3s477ms May 14 07 1 2s77ms 2s77ms 13 5 14s159ms 2s831ms 14 4 13s207ms 3s301ms 15 5 14s446ms 2s889ms 16 5 14s590ms 2s918ms 18 9 29s298ms 3s255ms May 15 04 5 14s695ms 2s939ms 05 4 14s160ms 3s540ms 06 4 13s402ms 3s350ms 07 8 27s25ms 3s378ms 08 4 13s171ms 3s292ms 18 12 37s202ms 3s100ms 19 2 5s223ms 2s611ms May 16 04 1 3s41ms 3s41ms 05 3 11s875ms 3s958ms 06 1 2s963ms 2s963ms 07 2 10s560ms 5s280ms 09 3 6s403ms 2s134ms 10 3 9s166ms 3s55ms 11 2 4s549ms 2s274ms 12 1 2s415ms 2s415ms 13 3 8s677ms 2s892ms 15 2 3s581ms 1s790ms 16 4 17s308ms 4s327ms 17 21 1m1s 2s921ms 18 5 17s582ms 3s516ms 19 3 11s872ms 3s957ms 20 5 17s129ms 3s425ms 21 1 3s497ms 3s497ms 22 4 8s295ms 2s73ms 23 1 6s430ms 6s430ms May 17 00 1 3s99ms 3s99ms 01 3 11s666ms 3s888ms 02 4 11s942ms 2s985ms 03 1 1s858ms 1s858ms 04 2 3s246ms 1s623ms 05 6 22s741ms 3s790ms 06 3 11s310ms 3s770ms 07 2 4s587ms 2s293ms 08 8 24s502ms 3s62ms 09 2 5s931ms 2s965ms 10 5 16s44ms 3s208ms 11 6 13s771ms 2s295ms 12 1 6s579ms 6s579ms 13 3 10s425ms 3s475ms 14 3 6s726ms 2s242ms 15 2 10s145ms 5s72ms 16 1 2s168ms 2s168ms 18 1 3s77ms 3s77ms 20 3 16s157ms 5s385ms 21 4 13s985ms 3s496ms 22 1 3s449ms 3s449ms 23 5 17s83ms 3s416ms [ User: pubeu - Total duration: 3m37s - Times executed: 72 ]
-
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 = '1409922'))) 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-05-14 18:15:22 Duration: 8s382ms 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 = '1409922'))) 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-05-16 19:36:15 Duration: 7s534ms 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 = '1409922'))) 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-05-17 13:00:48 Duration: 7s39ms Bind query: yes
16 1s5ms 44s657ms 2s787ms 459 21m19s 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 #16
Day Hour Count Duration Avg duration May 11 00 1 1s6ms 1s6ms 01 1 1s475ms 1s475ms 02 4 24s289ms 6s72ms 04 10 23s50ms 2s305ms 05 3 5s500ms 1s833ms 06 8 15s877ms 1s984ms 10 4 26s128ms 6s532ms 11 2 4s322ms 2s161ms 12 7 11s688ms 1s669ms 14 3 6s968ms 2s322ms 16 1 1s51ms 1s51ms 17 3 4s876ms 1s625ms 20 5 7s761ms 1s552ms 21 6 14s261ms 2s376ms 22 2 6s776ms 3s388ms 23 6 23s425ms 3s904ms May 12 00 11 18s441ms 1s676ms 01 4 22s451ms 5s612ms 02 3 7s628ms 2s542ms 06 7 12s692ms 1s813ms 07 3 4s10ms 1s336ms 08 8 12s663ms 1s582ms 09 6 13s499ms 2s249ms 10 3 45s192ms 15s64ms 11 1 2s569ms 2s569ms 12 1 3s248ms 3s248ms 13 1 3s274ms 3s274ms 18 2 5s96ms 2s548ms 21 19 25s771ms 1s356ms 22 11 29s51ms 2s641ms 23 4 10s690ms 2s672ms May 13 00 1 1s130ms 1s130ms 01 1 2s751ms 2s751ms 02 11 36s978ms 3s361ms 03 3 9s917ms 3s305ms 04 15 24s554ms 1s636ms 08 4 10s41ms 2s510ms 09 1 1s88ms 1s88ms 10 3 6s892ms 2s297ms 11 2 3s700ms 1s850ms 12 2 3s909ms 1s954ms 13 4 7s859ms 1s964ms 14 3 9s300ms 3s100ms 15 3 17s574ms 5s858ms 20 4 9s581ms 2s395ms 21 1 1s17ms 1s17ms 23 9 25s857ms 2s873ms May 14 01 3 4s787ms 1s595ms 05 6 8s48ms 1s341ms 07 4 1m43s 25s756ms 11 6 9s329ms 1s554ms 14 3 17s985ms 5s995ms 15 5 12s116ms 2s423ms 16 3 9s168ms 3s56ms 20 6 23s804ms 3s967ms 23 3 31s841ms 10s613ms May 15 04 4 7s47ms 1s761ms 06 3 5s265ms 1s755ms 09 3 5s880ms 1s960ms 10 2 4s393ms 2s196ms 11 7 15s249ms 2s178ms 14 1 1s19ms 1s19ms 15 9 12s202ms 1s355ms 16 6 26s594ms 4s432ms 17 6 12s611ms 2s101ms 18 3 5s280ms 1s760ms 19 5 21s979ms 4s395ms 20 6 12s675ms 2s112ms 21 6 25s771ms 4s295ms 22 2 2s314ms 1s157ms May 16 01 9 17s383ms 1s931ms 03 4 8s222ms 2s55ms 04 4 9s455ms 2s363ms 05 3 9s317ms 3s105ms 07 3 4s351ms 1s450ms 08 2 12s240ms 6s120ms 09 3 4s344ms 1s448ms 10 8 28s372ms 3s546ms 12 6 11s433ms 1s905ms 13 2 2s997ms 1s498ms 14 2 2s829ms 1s414ms 15 1 20s287ms 20s287ms 17 3 10s128ms 3s376ms 18 9 14s665ms 1s629ms 19 8 17s549ms 2s193ms 20 6 9s258ms 1s543ms May 17 00 6 12s423ms 2s70ms 01 4 9s206ms 2s301ms 04 1 3s586ms 3s586ms 07 9 22s220ms 2s468ms 08 6 11s912ms 1s985ms 09 3 10s604ms 3s534ms 10 3 3s522ms 1s174ms 12 2 3s151ms 1s575ms 16 12 26s86ms 2s173ms 17 6 9s301ms 1s550ms 21 10 25s733ms 2s573ms 22 5 13s753ms 2s750ms [ User: pubeu - Total duration: 7m26s - Times executed: 168 ]
-
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 = '2097934') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-05-14 07:32:30 Duration: 44s657ms 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 = '2105235') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-05-14 07:48:56 Duration: 28s377ms 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 = '2105235') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-05-14 07:41:15 Duration: 28s136ms Bind query: yes
17 1s1ms 8s726ms 2s75ms 575 19m53s 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;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 11 00 6 11s762ms 1s960ms 03 2 2s325ms 1s162ms 04 9 17s273ms 1s919ms 05 9 19s623ms 2s180ms 06 3 5s74ms 1s691ms 07 1 1s131ms 1s131ms 08 6 16s254ms 2s709ms 10 5 8s362ms 1s672ms 11 2 2s309ms 1s154ms 13 3 9s618ms 3s206ms 14 18 38s628ms 2s146ms 15 7 13s297ms 1s899ms 17 2 2s183ms 1s91ms 18 2 2s780ms 1s390ms 20 3 3s231ms 1s77ms 21 9 18s922ms 2s102ms 22 4 5s984ms 1s496ms 23 10 17s430ms 1s743ms May 12 00 5 7s553ms 1s510ms 01 3 3s169ms 1s56ms 04 1 1s74ms 1s74ms 05 2 3s643ms 1s821ms 06 2 3s272ms 1s636ms 07 5 6s825ms 1s365ms 08 3 3s617ms 1s205ms 09 6 15s120ms 2s520ms 10 3 5s612ms 1s870ms 15 3 22s478ms 7s492ms 16 2 2s294ms 1s147ms 18 1 2s757ms 2s757ms 22 5 10s888ms 2s177ms 23 1 1s45ms 1s45ms May 13 00 10 15s608ms 1s560ms 01 9 15s237ms 1s693ms 02 8 19s286ms 2s410ms 03 4 5s162ms 1s290ms 05 2 2s252ms 1s126ms 10 4 4s847ms 1s211ms 11 7 17s4ms 2s429ms 12 7 10s341ms 1s477ms 13 5 12s129ms 2s425ms 14 5 7s456ms 1s491ms 15 1 1s57ms 1s57ms 22 1 1s1ms 1s1ms 23 5 5s809ms 1s161ms May 14 00 2 2s85ms 1s42ms 02 7 8s648ms 1s235ms 03 5 10s346ms 2s69ms 04 5 5s416ms 1s83ms 05 5 26s550ms 5s310ms 06 5 9s760ms 1s952ms 07 4 5s702ms 1s425ms 08 1 1s21ms 1s21ms 14 8 10s881ms 1s360ms 15 4 4s711ms 1s177ms 16 2 2s495ms 1s247ms 17 2 5s386ms 2s693ms 18 3 3s334ms 1s111ms 19 3 3s303ms 1s101ms 20 4 5s911ms 1s477ms 21 1 3s63ms 3s63ms 22 2 3s758ms 1s879ms 23 2 3s709ms 1s854ms May 15 04 6 10s103ms 1s683ms 05 3 3s449ms 1s149ms 06 3 3s345ms 1s115ms 07 2 3s686ms 1s843ms 08 1 1s114ms 1s114ms 09 2 5s144ms 2s572ms 10 10 25s132ms 2s513ms 11 8 13s946ms 1s743ms 14 7 8s538ms 1s219ms 15 1 1s711ms 1s711ms 16 4 18s407ms 4s601ms 17 17 48s624ms 2s860ms 19 4 24s202ms 6s50ms 20 4 5s248ms 1s312ms 21 1 2s351ms 2s351ms 22 2 2s509ms 1s254ms 23 8 29s940ms 3s742ms May 16 00 1 1s79ms 1s79ms 01 7 16s994ms 2s427ms 02 1 1s9ms 1s9ms 03 2 2s676ms 1s338ms 04 7 8s504ms 1s214ms 05 1 1s127ms 1s127ms 06 2 2s78ms 1s39ms 07 2 3s636ms 1s818ms 08 7 17s94ms 2s442ms 09 8 17s952ms 2s244ms 10 9 14s609ms 1s623ms 11 4 10s306ms 2s576ms 12 3 3s476ms 1s158ms 13 6 15s134ms 2s522ms 14 6 12s151ms 2s25ms 15 8 25s877ms 3s234ms 17 4 7s98ms 1s774ms 18 9 12s441ms 1s382ms 19 5 9s490ms 1s898ms 20 11 33s296ms 3s26ms 21 7 13s3ms 1s857ms 23 4 8s693ms 2s173ms May 17 00 2 2s55ms 1s27ms 01 1 1s3ms 1s3ms 02 9 25s577ms 2s841ms 03 2 2s57ms 1s28ms 04 8 10s581ms 1s322ms 05 11 39s486ms 3s589ms 06 7 7s656ms 1s93ms 07 5 13s214ms 2s642ms 08 3 4s178ms 1s392ms 09 2 2s829ms 1s414ms 10 5 27s415ms 5s483ms 11 4 9s868ms 2s467ms 12 1 1s101ms 1s101ms 13 4 7s890ms 1s972ms 14 8 12s151ms 1s518ms 15 10 29s694ms 2s969ms 17 1 1s11ms 1s11ms 18 2 2s389ms 1s194ms 20 1 1s9ms 1s9ms 21 5 5s717ms 1s143ms 22 5 9s157ms 1s831ms 23 6 13s108ms 2s184ms [ User: pubeu - Total duration: 5m23s - Times executed: 156 ]
-
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 = '660173' 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 = '660173') OFFSET 0) mq ORDER BY mq.genesymbolsort;
Date: 2025-05-15 17:06:24 Duration: 8s726ms 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 = '660173' 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 = '660173') OFFSET 0) mq ORDER BY mq.genesymbolsort;
Date: 2025-05-14 05:54:33 Duration: 8s466ms 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 = '660173' 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 = '660173') OFFSET 0) mq ORDER BY mq.genesymbolsort;
Date: 2025-05-15 23:07:04 Duration: 8s421ms Bind query: yes
18 1s252ms 3s648ms 1s444ms 637 15m19s 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 #18
Day Hour Count Duration Avg duration May 11 01 3 4s699ms 1s566ms 04 1 1s632ms 1s632ms 05 2 2s889ms 1s444ms 07 1 1s371ms 1s371ms 08 4 5s691ms 1s422ms 10 1 1s441ms 1s441ms 14 2 3s814ms 1s907ms 22 2 2s651ms 1s325ms May 12 00 2 2s805ms 1s402ms 01 3 4s98ms 1s366ms 04 2 2s935ms 1s467ms 05 3 4s318ms 1s439ms 06 1 1s426ms 1s426ms 08 1 1s341ms 1s341ms 10 1 1s346ms 1s346ms 11 2 2s805ms 1s402ms 13 2 2s731ms 1s365ms 14 1 1s333ms 1s333ms 16 1 1s392ms 1s392ms 20 8 11s20ms 1s377ms 23 1 1s376ms 1s376ms May 13 01 6 8s562ms 1s427ms 02 3 4s98ms 1s366ms 03 3 4s187ms 1s395ms 04 14 19s853ms 1s418ms 05 4 5s672ms 1s418ms 09 1 1s370ms 1s370ms 11 1 1s313ms 1s313ms 17 1 1s306ms 1s306ms 22 1 1s472ms 1s472ms May 14 02 4 5s573ms 1s393ms 04 1 1s453ms 1s453ms 05 2 2s865ms 1s432ms 06 6 8s568ms 1s428ms 08 2 2s811ms 1s405ms 09 8 11s501ms 1s437ms 10 6 8s214ms 1s369ms 11 5 6s852ms 1s370ms 12 5 6s916ms 1s383ms 13 4 5s783ms 1s445ms 14 5 6s954ms 1s390ms 15 4 6s3ms 1s500ms 16 4 6s17ms 1s504ms 17 6 8s204ms 1s367ms 18 5 7s513ms 1s502ms 19 5 7s263ms 1s452ms 20 8 11s344ms 1s418ms 21 5 7s44ms 1s408ms 22 9 12s898ms 1s433ms 23 1 1s357ms 1s357ms May 15 03 1 1s355ms 1s355ms 05 3 4s379ms 1s459ms 06 1 1s464ms 1s464ms 07 7 10s50ms 1s435ms 08 7 10s69ms 1s438ms 09 8 13s42ms 1s630ms 10 9 12s657ms 1s406ms 11 8 11s398ms 1s424ms 12 4 5s488ms 1s372ms 13 8 10s794ms 1s349ms 14 8 11s493ms 1s436ms 15 11 15s651ms 1s422ms 16 7 9s983ms 1s426ms 17 7 10s168ms 1s452ms 18 6 8s487ms 1s414ms 19 6 8s508ms 1s418ms 20 9 12s980ms 1s442ms 21 11 17s633ms 1s603ms 22 8 11s529ms 1s441ms 23 8 11s410ms 1s426ms May 16 00 13 18s182ms 1s398ms 01 8 12s497ms 1s562ms 02 7 10s107ms 1s443ms 03 5 7s1ms 1s400ms 04 6 8s822ms 1s470ms 05 9 12s907ms 1s434ms 06 5 7s239ms 1s447ms 07 10 15s68ms 1s506ms 08 10 14s697ms 1s469ms 09 7 9s762ms 1s394ms 10 12 17s458ms 1s454ms 11 5 7s646ms 1s529ms 12 6 8s694ms 1s449ms 13 6 10s175ms 1s695ms 14 10 14s158ms 1s415ms 15 7 10s657ms 1s522ms 16 1 1s474ms 1s474ms 17 13 18s529ms 1s425ms 18 6 8s964ms 1s494ms 19 8 11s306ms 1s413ms 20 6 8s454ms 1s409ms 21 5 7s 1s400ms 22 6 8s311ms 1s385ms 23 6 8s721ms 1s453ms May 17 00 6 8s712ms 1s452ms 01 6 8s585ms 1s430ms 02 11 17s745ms 1s613ms 03 7 9s563ms 1s366ms 04 11 15s481ms 1s407ms 05 8 11s740ms 1s467ms 08 2 2s812ms 1s406ms 09 4 5s679ms 1s419ms 10 4 5s634ms 1s408ms 11 4 5s741ms 1s435ms 12 2 2s959ms 1s479ms 13 12 16s878ms 1s406ms 14 6 8s507ms 1s417ms 15 8 11s705ms 1s463ms 16 4 5s686ms 1s421ms 17 8 11s379ms 1s422ms 18 5 7s144ms 1s428ms 19 8 11s136ms 1s392ms 20 6 8s289ms 1s381ms 21 7 10s297ms 1s471ms 22 9 13s823ms 1s535ms 23 12 17s895ms 1s491ms [ User: pubeu - Total duration: 4m24s - Times executed: 180 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-05-17 02:45:28 Duration: 3s648ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-05-15 09:35:58 Duration: 2s951ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-05-17 22:31:18 Duration: 2s668ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s287ms 4s184ms 1s440ms 307 7m22s 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;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 11 00 1 1s414ms 1s414ms 01 4 6s375ms 1s593ms 02 3 4s440ms 1s480ms 03 1 1s434ms 1s434ms 04 1 1s419ms 1s419ms 05 2 2s943ms 1s471ms 09 3 4s173ms 1s391ms 10 3 4s175ms 1s391ms 11 1 1s369ms 1s369ms 12 2 2s781ms 1s390ms 13 3 4s374ms 1s458ms 14 2 2s733ms 1s366ms 15 4 5s648ms 1s412ms 17 2 2s738ms 1s369ms 18 1 1s361ms 1s361ms 20 1 1s326ms 1s326ms 21 3 4s186ms 1s395ms 22 1 1s406ms 1s406ms 23 1 1s450ms 1s450ms May 12 00 4 5s697ms 1s424ms 01 4 5s851ms 1s462ms 02 1 1s399ms 1s399ms 04 3 4s369ms 1s456ms 05 1 1s420ms 1s420ms 07 4 5s606ms 1s401ms 08 1 1s349ms 1s349ms 09 3 4s258ms 1s419ms 10 1 1s506ms 1s506ms 11 1 1s408ms 1s408ms 15 1 1s289ms 1s289ms 18 2 2s819ms 1s409ms 23 3 4s135ms 1s378ms May 13 00 1 1s427ms 1s427ms 01 3 4s140ms 1s380ms 02 4 5s625ms 1s406ms 03 3 6s23ms 2s7ms 04 2 2s974ms 1s487ms 09 1 1s378ms 1s378ms 10 3 4s222ms 1s407ms 11 1 1s364ms 1s364ms 12 1 1s355ms 1s355ms 13 2 2s827ms 1s413ms 14 2 2s730ms 1s365ms 15 2 2s748ms 1s374ms 22 1 1s444ms 1s444ms 23 2 3s148ms 1s574ms May 14 02 5 7s135ms 1s427ms 03 1 1s476ms 1s476ms 04 4 5s552ms 1s388ms 05 1 1s535ms 1s535ms 06 5 7s62ms 1s412ms 07 4 5s535ms 1s383ms 08 3 4s295ms 1s431ms 14 2 2s664ms 1s332ms 15 3 4s191ms 1s397ms 16 1 1s363ms 1s363ms 17 3 4s337ms 1s445ms 18 3 4s199ms 1s399ms 19 2 2s682ms 1s341ms 20 4 5s563ms 1s390ms 21 1 1s329ms 1s329ms 22 1 1s350ms 1s350ms 23 1 1s716ms 1s716ms May 15 03 1 1s442ms 1s442ms 04 2 2s839ms 1s419ms 05 1 1s376ms 1s376ms 06 2 2s763ms 1s381ms 07 1 1s423ms 1s423ms 08 1 1s434ms 1s434ms 09 4 5s671ms 1s417ms 10 3 4s82ms 1s360ms 12 1 1s318ms 1s318ms 14 3 4s106ms 1s368ms 15 7 9s707ms 1s386ms 16 2 2s884ms 1s442ms 17 1 1s459ms 1s459ms 18 3 4s112ms 1s370ms 19 1 1s361ms 1s361ms 20 1 1s353ms 1s353ms 21 2 3s71ms 1s535ms 22 2 2s757ms 1s378ms 23 2 2s781ms 1s390ms May 16 01 2 2s858ms 1s429ms 02 2 2s933ms 1s466ms 03 2 2s850ms 1s425ms 04 5 7s132ms 1s426ms 05 1 1s464ms 1s464ms 06 1 1s413ms 1s413ms 07 2 3s55ms 1s527ms 08 6 8s324ms 1s387ms 09 4 5s741ms 1s435ms 10 4 5s742ms 1s435ms 11 1 1s595ms 1s595ms 12 4 5s565ms 1s391ms 13 6 11s211ms 1s868ms 14 3 4s316ms 1s438ms 15 3 4s765ms 1s588ms 19 6 8s349ms 1s391ms 20 5 7s115ms 1s423ms 21 2 2s859ms 1s429ms 22 1 1s411ms 1s411ms 23 7 9s998ms 1s428ms May 17 00 5 7s342ms 1s468ms 01 5 7s372ms 1s474ms 02 1 1s405ms 1s405ms 04 4 5s800ms 1s450ms 05 2 2s934ms 1s467ms 06 1 1s444ms 1s444ms 07 2 2s930ms 1s465ms 08 1 1s424ms 1s424ms 09 5 7s241ms 1s448ms 10 3 4s206ms 1s402ms 11 3 4s611ms 1s537ms 12 2 2s941ms 1s470ms 13 2 2s863ms 1s431ms 14 1 1s443ms 1s443ms 15 2 2s867ms 1s433ms 16 4 5s843ms 1s460ms 17 4 5s830ms 1s457ms 18 4 5s659ms 1s414ms 21 2 2s832ms 1s416ms 22 1 1s434ms 1s434ms 23 6 8s836ms 1s472ms [ User: pubeu - Total duration: 1m55s - Times executed: 80 ]
-
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 = '1246564') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1246564') 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-05-16 13:54:41 Duration: 4s184ms 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 = '1233396') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1233396') 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-05-13 03:49:20 Duration: 3s213ms 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 = '1260543') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1260543') 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-05-16 15:47:41 Duration: 1s820ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s306ms 1s993ms 1s429ms 278 6m37s 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;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 11 00 2 3s152ms 1s576ms 01 1 1s551ms 1s551ms 02 1 1s361ms 1s361ms 03 3 4s314ms 1s438ms 04 1 1s451ms 1s451ms 05 1 1s475ms 1s475ms 07 2 2s858ms 1s429ms 08 4 5s576ms 1s394ms 10 4 5s593ms 1s398ms 11 1 1s376ms 1s376ms 12 3 4s187ms 1s395ms 13 1 1s387ms 1s387ms 14 2 2s867ms 1s433ms 15 1 1s339ms 1s339ms 16 1 1s430ms 1s430ms 17 1 1s374ms 1s374ms 19 1 1s318ms 1s318ms 20 1 1s438ms 1s438ms 22 1 1s455ms 1s455ms 23 2 2s896ms 1s448ms May 12 00 2 2s953ms 1s476ms 01 1 1s443ms 1s443ms 02 2 2s824ms 1s412ms 03 1 1s356ms 1s356ms 05 1 1s501ms 1s501ms 06 1 1s399ms 1s399ms 07 3 4s254ms 1s418ms 08 1 1s427ms 1s427ms 09 2 2s795ms 1s397ms 12 1 1s332ms 1s332ms 14 1 1s329ms 1s329ms 23 4 5s596ms 1s399ms May 13 00 3 4s231ms 1s410ms 01 4 5s951ms 1s487ms 02 1 1s398ms 1s398ms 03 1 1s409ms 1s409ms 04 1 1s327ms 1s327ms 06 1 1s993ms 1s993ms 10 2 2s833ms 1s416ms 12 3 4s264ms 1s421ms 13 4 5s652ms 1s413ms 14 3 4s371ms 1s457ms 15 3 4s126ms 1s375ms 20 1 1s325ms 1s325ms 22 2 2s819ms 1s409ms May 14 00 2 2s743ms 1s371ms 01 4 5s839ms 1s459ms 03 1 1s484ms 1s484ms 04 1 1s408ms 1s408ms 05 1 1s419ms 1s419ms 08 2 2s877ms 1s438ms 13 1 1s405ms 1s405ms 14 1 1s599ms 1s599ms 15 1 1s347ms 1s347ms 17 2 2s744ms 1s372ms 18 1 1s396ms 1s396ms 19 1 1s376ms 1s376ms 20 4 5s809ms 1s452ms 21 3 4s234ms 1s411ms 22 2 2s901ms 1s450ms May 15 03 2 2s987ms 1s493ms 04 2 2s787ms 1s393ms 05 3 4s172ms 1s390ms 07 2 2s925ms 1s462ms 08 2 2s840ms 1s420ms 09 1 1s452ms 1s452ms 10 4 5s681ms 1s420ms 11 1 1s401ms 1s401ms 14 1 1s342ms 1s342ms 15 2 2s774ms 1s387ms 16 5 6s998ms 1s399ms 17 5 6s918ms 1s383ms 18 1 1s400ms 1s400ms 20 4 5s679ms 1s419ms 21 2 2s705ms 1s352ms 22 2 2s938ms 1s469ms 23 3 4s66ms 1s355ms May 16 00 1 1s434ms 1s434ms 01 4 5s541ms 1s385ms 02 5 7s522ms 1s504ms 03 3 4s384ms 1s461ms 04 3 4s240ms 1s413ms 05 2 2s861ms 1s430ms 07 3 4s180ms 1s393ms 08 3 4s331ms 1s443ms 09 2 2s935ms 1s467ms 10 7 9s937ms 1s419ms 11 2 2s932ms 1s466ms 12 4 5s679ms 1s419ms 13 3 4s349ms 1s449ms 14 4 5s831ms 1s457ms 15 3 4s254ms 1s418ms 17 1 1s500ms 1s500ms 18 3 4s80ms 1s360ms 19 4 5s636ms 1s409ms 20 1 1s427ms 1s427ms 21 2 2s887ms 1s443ms 23 3 4s191ms 1s397ms May 17 00 4 5s836ms 1s459ms 01 2 2s990ms 1s495ms 05 5 7s252ms 1s450ms 06 4 5s793ms 1s448ms 08 5 7s148ms 1s429ms 09 4 5s550ms 1s387ms 10 1 1s372ms 1s372ms 11 4 5s903ms 1s475ms 12 1 1s347ms 1s347ms 13 1 1s407ms 1s407ms 14 4 5s581ms 1s395ms 15 8 11s829ms 1s478ms 16 4 5s987ms 1s496ms 17 2 2s918ms 1s459ms 18 4 5s732ms 1s433ms 21 3 4s464ms 1s488ms 22 3 4s192ms 1s397ms 23 4 5s891ms 1s472ms [ User: pubeu - Total duration: 1m37s - Times executed: 68 ]
-
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 = '2105131') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2105131') 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-05-13 06:18:19 Duration: 1s993ms 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 = '2103842') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2103842') 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-05-16 02:56:32 Duration: 1s759ms 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 = '2099723') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2099723') 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-05-17 21:20:41 Duration: 1s638ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 35s317ms 2 17s658ms 17s658ms 17s658ms SELECT /* GeneGeneIxnsDAO */ ;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration May 17 16 2 35s317ms 17s658ms -
SELECT /* GeneGeneIxnsDAO */ ;
Date: 2025-05-11 16:44:22 Duration: 17s658ms Database: postgres
2 25s384ms 2 12s692ms 12s692ms 12s692ms SELECT /* ChemDiseaseAssnsDAO */ ;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 04 2 25s384ms 12s692ms -
SELECT /* ChemDiseaseAssnsDAO */ ;
Date: 2025-05-12 05:47:31 Duration: 12s692ms Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 28s55ms 26 1s9ms 1s275ms 1s79ms 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 #1
Day Hour Count Duration Avg duration May 17 01 1 1s100ms 1s100ms 09 2 2s40ms 1s20ms May 17 16 2 2s30ms 1s15ms May 17 09 3 3s235ms 1s78ms 12 3 3s223ms 1s74ms 15 3 3s179ms 1s59ms 17 3 3s181ms 1s60ms 19 3 3s209ms 1s69ms May 17 05 3 3s826ms 1s275ms 09 3 3s28ms 1s9ms -
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-05-17 05:21:05 Duration: 1s275ms Database: postgres parameters: $1 = '1418630', $2 = '1418630'
-
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-05-12 01:01:35 Duration: 1s100ms Database: postgres parameters: $1 = '1228173', $2 = '1228173'
-
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-05-16 09:08:08 Duration: 1s78ms Database: postgres parameters: $1 = '1471140', $2 = '1471140'
2 23s250ms 21 1s79ms 1s134ms 1s107ms 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 #2
Day Hour Count Duration Avg duration 13 2 2s225ms 1s112ms 10 2 2s269ms 1s134ms 12 2 2s212ms 1s106ms 05 2 2s163ms 1s81ms 07 2 2s223ms 1s111ms 08 2 2s194ms 1s97ms 07 3 3s239ms 1s79ms 11 3 3s399ms 1s133ms 14 3 3s321ms 1s107ms -
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-05-13 11:27:01 Duration: 1s134ms Database: postgres parameters: $1 = '2092595', $2 = '2092595'
-
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-05-16 12:17:52 Duration: 1s133ms Database: postgres parameters: $1 = '2072215', $2 = '2072215'
-
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-05-11 14:38:19 Duration: 1s112ms Database: postgres parameters: $1 = '2080419', $2 = '2080419'
3 15s585ms 15 1s2ms 1s73ms 1s39ms 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 #3
Day Hour Count Duration Avg duration 22 2 2s26ms 1s13ms 17 2 2s91ms 1s45ms 08 2 2s79ms 1s39ms 08 3 3s160ms 1s53ms 18 3 3s6ms 1s2ms 03 3 3s220ms 1s73ms -
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-05-17 04:23:38 Duration: 1s73ms Database: postgres parameters: $1 = '1749804', $2 = '1749804'
-
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-05-16 09:08:05 Duration: 1s53ms Database: postgres parameters: $1 = '2052011', $2 = '2052011'
-
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-05-14 18:15:06 Duration: 1s45ms Database: postgres parameters: $1 = '686209', $2 = '686209'
4 12s222ms 10 1s26ms 1s413ms 1s222ms 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 #4
Day Hour Count Duration Avg duration 03 4 4s881ms 1s220ms 09 3 4s58ms 1s352ms 04 3 3s282ms 1s94ms -
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-05-15 03:49:45 Duration: 1s413ms Database: postgres parameters: $1 = '1232711', $2 = '1232711'
-
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-05-16 10:15:19 Duration: 1s352ms Database: postgres parameters: $1 = '1133014', $2 = '1133014'
-
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-05-17 05:25:27 Duration: 1s94ms Database: postgres parameters: $1 = '1268810', $2 = '1268810'
5 10s980ms 10 1s19ms 1s178ms 1s98ms SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT c.nm chemnm, c.nm_html chemnmhtml, c.nm_sort chemnmsort, c.acc_txt chemacc, c.id chemid FROM gene_disease_reference gdr INNER JOIN term c ON gdr.via_chem_id = c.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2 AND gdr.reference_id = $3 ORDER BY c.nm_sort;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 13 2 2s356ms 1s178ms 19 2 2s39ms 1s19ms 07 3 3s388ms 1s129ms 16 3 3s195ms 1s65ms -
SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT c.nm chemnm, c.nm_html chemnmhtml, c.nm_sort chemnmsort, c.acc_txt chemacc, c.id chemid FROM gene_disease_reference gdr INNER JOIN term c ON gdr.via_chem_id = c.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2 AND gdr.reference_id = $3 ORDER BY c.nm_sort;
Date: 2025-05-11 14:21:39 Duration: 1s178ms Database: postgres parameters: $1 = '912563', $2 = '912563'
-
SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT c.nm chemnm, c.nm_html chemnmhtml, c.nm_sort chemnmsort, c.acc_txt chemacc, c.id chemid FROM gene_disease_reference gdr INNER JOIN term c ON gdr.via_chem_id = c.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2 AND gdr.reference_id = $3 ORDER BY c.nm_sort;
Date: 2025-05-16 08:10:15 Duration: 1s129ms Database: postgres parameters: $1 = '2039031', $2 = '2039031'
-
SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT c.nm chemnm, c.nm_html chemnmhtml, c.nm_sort chemnmsort, c.acc_txt chemacc, c.id chemid FROM gene_disease_reference gdr INNER JOIN term c ON gdr.via_chem_id = c.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2 AND gdr.reference_id = $3 ORDER BY c.nm_sort;
Date: 2025-05-16 17:26:36 Duration: 1s65ms Database: postgres parameters: $1 = '2104110'
6 10s205ms 10 1s3ms 1s31ms 1s20ms 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;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 13 2 2s48ms 1s24ms 17 2 2s62ms 1s31ms 06 3 3s84ms 1s28ms 11 3 3s10ms 1s3ms -
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;
Date: 2025-05-14 18:57:42 Duration: 1s31ms Database: postgres parameters: $1 = '2051066', $2 = '2051066'
-
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;
Date: 2025-05-16 07:34:41 Duration: 1s28ms Database: postgres parameters: $1 = '2051590', $2 = '2051590'
-
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;
Date: 2025-05-11 14:21:40 Duration: 1s24ms Database: postgres parameters: $1 = '1486253', $2 = '1486253'
7 4s483ms 4 1s102ms 1s139ms 1s120ms SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 2, 8, 14 LIMIT 50;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 11 2 2s204ms 1s102ms 21 2 2s278ms 1s139ms -
SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 2, 8, 14 LIMIT 50;
Date: 2025-05-14 22:58:14 Duration: 1s139ms Database: postgres parameters: $1 = '749932', $2 = '749932'
-
SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 2, 8, 14 LIMIT 50;
Date: 2025-05-13 12:44:33 Duration: 1s102ms Database: postgres parameters: $1 = '1651740', $2 = '1651740'
8 3s472ms 3 1s157ms 1s157ms 1s157ms 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 #8
Day Hour Count Duration Avg duration 14 3 3s472ms 1s157ms -
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-05-16 15:20:18 Duration: 1s157ms Database: postgres parameters: $1 = '2056845', $2 = '2056845'
9 3s327ms 3 1s109ms 1s109ms 1s109ms 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 receptors;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 04 3 3s327ms 1s109ms -
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 receptors;
Date: 2025-05-17 05:21:07 Duration: 1s109ms Database: postgres parameters: $1 = '1640102', $2 = '1640102'
10 3s188ms 3 1s62ms 1s62ms 1s62ms 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 measurementStat LIMIT 50 OFFSET 1500;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 09 3 3s188ms 1s62ms -
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 measurementStat LIMIT 50 OFFSET 1500;
Date: 2025-05-16 10:15:18 Duration: 1s62ms Database: postgres parameters: $1 = '1405042', $2 = '1405042'
11 3s172ms 3 1s57ms 1s57ms 1s57ms 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 #11
Day Hour Count Duration Avg duration 04 3 3s172ms 1s57ms -
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-05-17 05:25:28 Duration: 1s57ms Database: postgres parameters: $1 = '2023426', $2 = '2023426'
12 3s16ms 3 1s5ms 1s5ms 1s5ms 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;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 12 3 3s16ms 1s5ms -
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;
Date: 2025-05-16 13:54:37 Duration: 1s5ms Database: postgres parameters: $1 = '1246564', $2 = '1246564'
13 2s729ms 2 1s364ms 1s364ms 1s364ms SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 6, 2, 8, 14 LIMIT 50;Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 08 2 2s729ms 1s364ms -
SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 6, 2, 8, 14 LIMIT 50;
Date: 2025-05-15 09:35:45 Duration: 1s364ms Database: postgres parameters: $1 = '2102940'
14 2s219ms 2 1s109ms 1s109ms 1s109ms 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 fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, r.abbr_authors_txt refAuthors, r.core_citation_txt refCitation, r.pub_start_yr refYear, r.acc_txt refAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id INNER JOIN reference r ON ggr.reference_id = r.id WHERE (ggr.from_gene_id = $1 OR ggr.to_gene_id = $2) ORDER BY throughput DESC, ggr.experimental_sys_type, ggr.experimental_sys_nm, fg.nm_sort, tg.nm_sort LIMIT 50 OFFSET 150;Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration 15 2 2s219ms 1s109ms -
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 fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, r.abbr_authors_txt refAuthors, r.core_citation_txt refCitation, r.pub_start_yr refYear, r.acc_txt refAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id INNER JOIN reference r ON ggr.reference_id = r.id WHERE (ggr.from_gene_id = $1 OR ggr.to_gene_id = $2) ORDER BY throughput DESC, ggr.experimental_sys_type, ggr.experimental_sys_nm, fg.nm_sort, tg.nm_sort LIMIT 50 OFFSET 150;
Date: 2025-05-11 16:43:54 Duration: 1s109ms Database: postgres parameters: $1 = '1273643', $2 = '1273643'
15 2s162ms 2 1s81ms 1s81ms 1s81ms 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 diseaseField;Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 10 2 2s162ms 1s81ms -
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 diseaseField;
Date: 2025-05-13 11:05:23 Duration: 1s81ms Database: postgres parameters: $1 = '1976349', $2 = '1976349'
16 2s134ms 2 1s67ms 1s67ms 1s67ms 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 = $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 OFFSET 100;Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration 23 2 2s134ms 1s67ms -
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 = $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 OFFSET 100;
Date: 2025-05-17 00:48:24 Duration: 1s67ms Database: postgres parameters: $1 = '2097161', $2 = '2097161'
17 2s82ms 2 1s41ms 1s41ms 1s41ms 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 #17
Day Hour Count Duration Avg duration 07 2 2s82ms 1s41ms -
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-05-15 08:55:44 Duration: 1s41ms Database: postgres parameters: $1 = '1246070', $2 = '1246070'
18 2s55ms 2 1s27ms 1s27ms 1s27ms SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 2, 8, 14;Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 12 2 2s55ms 1s27ms -
SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 2, 8, 14;
Date: 2025-05-13 13:28:24 Duration: 1s27ms Database: postgres parameters: $1 = '175225', $2 = '175225'
19 2s49ms 2 1s24ms 1s24ms 1s24ms 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 nbrReceptors;Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 13 2 2s49ms 1s24ms -
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 nbrReceptors;
Date: 2025-05-11 14:38:27 Duration: 1s24ms Database: postgres parameters: $1 = '1352697', $2 = '1352697'
20 2s33ms 2 1s16ms 1s16ms 1s16ms 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 abbrAuthorsTxt DESC LIMIT 50;Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 05 2 2s33ms 1s16ms -
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 abbrAuthorsTxt DESC LIMIT 50;
Date: 2025-05-14 06:25:34 Duration: 1s16ms Database: postgres parameters: $1 = '1848150', $2 = '1848150'
-
Events
Log levels
Key values
- 286,205 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 69 FATAL entries
- 236 ERROR entries
- 0 WARNING entries
- 53 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 174 Max number of times the same event was reported
- 358 Total events found
Rank Times reported Error 1 174 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count May 11 00 3 01 4 02 3 03 1 04 2 05 2 07 1 08 2 09 2 10 2 11 1 12 1 13 1 17 1 18 2 20 2 21 4 22 2 23 1 May 12 01 3 02 6 03 1 04 2 05 2 06 4 07 1 08 1 09 2 10 2 11 1 17 1 21 2 22 2 23 1 May 13 00 1 01 3 03 6 04 1 07 3 08 2 10 1 11 4 17 1 18 1 20 2 21 1 22 2 May 14 00 1 01 2 02 1 04 1 06 3 07 2 08 3 09 1 15 1 18 3 19 1 20 2 21 5 22 3 May 15 03 1 05 1 06 1 07 2 09 1 11 4 19 1 21 1 23 3 May 16 00 3 01 1 03 3 05 2 07 3 08 1 09 1 10 2 13 1 18 1 20 5 22 1 May 17 06 3 10 1 17 1 19 3 20 1 23 1 - ERROR: syntax error in ts"奥村友真 ボーイズラブファック"
- ERROR: syntax error in ts"OXZ8WAZA,C & ,.,8YM & NHTM,8U7Y & TM & 7,7J & FB & 4,YM & HRTJKI=YGTF*GTY78YGTFD & RT8/*9U89TN & BFRGH4T56UJ & BVDFBJBE. & V25GHB & .0 & XFGH & VCFGOL & NBV & SCXCFGHUJH9VRTGY78YGTRYUHV & (FPD/FGTYU-HGTYUHYH6UIHGTFCDCF=GHJIBTU87YGG | FPD/FGTYUHGTYUHYH6UIHGTFCDCF=GHJIBTU87YGG) & YTY,.,<I8K,U7 & M & V"
- ERROR: syntax error in ts"FENDER & ピック トライアングル"
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-05-11 00:06:11 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 OR upper( l.acc_txt ) = $11 OR upper( l.acc_txt ) = $12 OR upper( l.acc_txt ) = $13 OR upper( l.acc_txt ) = $14 OR upper( l.acc_txt ) = $15 OR upper( l.acc_txt ) = $16 OR upper( l.acc_txt ) = $17 OR upper( l.acc_txt ) = $18 OR upper( l.acc_txt ) = $19 OR upper( l.acc_txt ) = $20 OR upper( l.acc_txt ) = $21 OR upper( l.acc_txt ) = $22 OR upper( l.acc_txt ) = $23 OR upper( l.acc_txt ) = $24 OR upper( l.acc_txt ) = $25 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-05-11 01:17:50
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-05-11 02:55:11
2 38 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #2
Day Hour Count May 14 15 7 16 2 23 6 May 15 00 4 01 6 02 1 May 16 16 12 3 29 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #3
Day Hour Count May 11 00 4 14 2 16 2 May 12 01 1 05 3 08 2 20 2 May 13 03 3 May 14 00 3 16 1 May 15 10 1 May 16 04 1 12 3 22 1 4 28 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #4
Day Hour Count May 11 00 4 14 2 16 3 May 12 01 1 05 3 08 2 20 2 May 13 03 3 May 14 00 2 16 1 May 15 10 1 May 16 04 1 12 2 22 1 5 27 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #5
Day Hour Count May 11 00 4 16 3 May 12 01 1 05 3 08 2 20 2 May 13 03 3 May 14 00 3 16 1 May 15 10 1 May 16 12 3 22 1 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT count(*) FROM pg_catalog.pg_stat_all_tables WHERE (n_dead_tup/(n_live_tup+n_dead_tup)::float8) > 0.2 AND (n_live_tup+n_dead_tup) > 50;
Date: 2025-05-11 00:12:30 Database: ctdprd51 Application: User: zbx_monitor Remote:
Statement: SELECT row_to_json(T) FROM ( SELECT archived_count, failed_count FROM pg_stat_archiver ) T;
Date: 2025-05-11 00:12:30 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT json_object_agg(coalesce (datname,'null'), row_to_json(T)) FROM ( SELECT datname , numbackends as numbackends , xact_commit as xact_commit , xact_rollback as xact_rollback , blks_read as blks_read , blks_hit as blks_hit , tup_returned as tup_returned , tup_fetched as tup_fetched , tup_inserted as tup_inserted , tup_updated as tup_updated , tup_deleted as tup_deleted , conflicts as conflicts , temp_files as temp_files , temp_bytes as temp_bytes , deadlocks as deadlocks , COALESCE(checksum_failures, 0) as checksum_failures , blk_read_time as blk_read_time , blk_write_time as blk_write_time FROM pg_catalog.pg_stat_database ) T ;
Date: 2025-05-11 16:44:22 Database: postgres Application: User: zbx_monitor Remote:
6 20 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count May 11 04 1 May 13 12 1 13 5 14 12 May 14 12 1 - ERROR: syntax error at or near ")" at character 4937
- ERROR: syntax error at or near "," at character 388
- ERROR: syntax error at or near "ggr" at character 290
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-05-11 04:45:06
Statement: select chemTerm.acc_txt ,chemTerm.nm ,geneTerm.acc_txt ,geneTerm.nm ,phenotypeTerm.acc_txt ,phenotypeTerm.nm ,diseaseTerm.acc_txt ,diseaseTerm.nm from pub2.tetramer t ,pub2.term geneTerm ,pub2.term chemTerm ,pub2.term phenotypeTerm ,pub2.term diseaseTerm where t.chem_id = chemTerm.id ,t.gene_id = geneTerm.id ,t.phenotype_id = phenotypeTerm.id ,t.disease_id = diseaseTerm.id limit 100
Date: 2025-05-13 12:51:40
Statement: select fromGene.acc_txt ,fromGene.nm ,toGene.acc_txt ,toGene.nm -- ,( SELECT STRING_AGG( distinct termReferenceTable.acc_txt || '', '|' ) ) termReferenceAccTxts from gene_gene_reference ggr ,term fromGene ,term toGene where ggr.from_gene_id = fromGene.id ggr.to_gene_id = toGene.id limit 100
Date: 2025-05-13 13:35:16
7 17 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #7
Day Hour Count May 14 16 11 May 15 16 6 8 7 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #8
Day Hour Count May 11 00 1 14 2 May 13 12 1 May 14 16 1 May 15 11 2 - ERROR: relation "disease_chem_gene" does not exist at character 369
- ERROR: relation "pub2.tetramers" does not exist at character 15
- ERROR: relation "exposure" does not exist at character 22
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-05-11 00:15:22 Database: ctdprd51 Application: User: pubeu Remote:
Statement: select * from pub2.tetramers limit 100
Date: 2025-05-13 12:45:08 Database: ctdprd51 Application: pgAdmin 4 - CONN:5186206 User: load Remote:
Statement: select count(*) from exposure
Date: 2025-05-14 16:20:39 Database: ctdprd51 Application: pgAdmin 4 - CONN:1627709 User: load Remote:
9 6 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #9
Day Hour Count May 13 18 3 May 14 18 2 May 15 17 1 10 3 ERROR: column "..." must appear in the GROUP BY clause or be used in an aggregate function
Times Reported Most Frequent Error / Event #10
Day Hour Count May 13 13 3 - ERROR: column "fromgene.acc_txt" must appear in the GROUP BY clause or be used in an aggregate function at character 8
- ERROR: column "fromgene.acc_txt" must appear in the GROUP BY clause or be used in an aggregate function at character 8
- ERROR: column "fromgene.nm" must appear in the GROUP BY clause or be used in an aggregate function at character 32
Statement: select fromGene.acc_txt ,fromGene.nm ,toGene.acc_txt ,toGene.nm ,( SELECT STRING_AGG( distinct reference_acc_txt || '', '|' ) ) termReferenceAccTxts from load.gene_gene_reference ggr ,pub2.term fromGene ,pub2.term toGene where ggr.from_gene_id = fromGene.id and ggr.to_gene_id = toGene.id limit 100
Date: 2025-05-13 13:45:08
Statement: select fromGene.acc_txt ,fromGene.nm ,toGene.acc_txt ,toGene.nm ,( SELECT STRING_AGG( distinct reference_acc_txt || '', '|' ) ) from load.gene_gene_reference ggr ,pub2.term fromGene ,pub2.term toGene where ggr.from_gene_id = fromGene.id and ggr.to_gene_id = toGene.id limit 100
Date: 2025-05-13 13:45:40
Statement: select fromGene.acc_txt ,fromGene.nm ,toGene.acc_txt ,toGene.nm ,( SELECT STRING_AGG( distinct reference_acc_txt || '', '|' ) ) from load.gene_gene_reference ggr ,pub2.term fromGene ,pub2.term toGene where ggr.from_gene_id = fromGene.id and ggr.to_gene_id = toGene.id group by fromGene.acc_txt, toGene.acc_txt limit 100
Date: 2025-05-13 13:46:35
11 2 ERROR: syntax error at end of input
Times Reported Most Frequent Error / Event #11
Day Hour Count May 15 11 2 - ERROR: syntax error at end of input at character 249
- ERROR: syntax error at end of input at character 255
Statement: select distinct nm from pub2.chem_disease_reference cdr ,pub2.term t where t.id = cdr.chem_id and source_cd = 'I' and t.id not in ( select chem_id from pub2.chem_disease_reference where source_cd in ( 'C' ) and nm like 'A%' limit 100
Date: 2025-05-15 11:18:16
Statement: select distinct nm from pub2.chem_disease_reference cdr ,pub2.term t where t.id = cdr.chem_id and source_cd = 'I' and t.id not in ( select chem_id from pub2.chem_disease_reference where source_cd in ( 'C' ) and nm like 'A%' limit 100
Date: 2025-05-15 11:18:48
12 1 ERROR: column reference "..." is ambiguous
Times Reported Most Frequent Error / Event #12
Day Hour Count May 15 11 1 - ERROR: column reference "id" is ambiguous at character 255
Statement: select distinct nm from pub2.chem_disease_reference cdr ,pub2.term t where t.id = cdr.chem_id and source_cd = 'I' and t.id not in ( select chem_id from pub2.chem_disease_reference where source_cd in ( 'C' ) ) and nm like 'A%' AND id not in ( select ancestor_object_id from pub2.dag_path ) limit 100
Date: 2025-05-15 11:26:33
13 1 ERROR: ) T
Times Reported Most Frequent Error / Event #13
Day Hour Count May 14 00 1 14 1 FATAL: remaining connection slots are reserved for non-replication superuser connections
Times Reported Most Frequent Error / Event #14
Day Hour Count May 15 16 1 15 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 #15
Day Hour Count May 14 19 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-05-14 19:21:41
16 1 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #16
Day Hour Count May 14 16 1 - FATAL: password authentication failed for user "pubeu"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2025-05-14 16:18:02
17 1 ERROR: schema "..." does not exist
Times Reported Most Frequent Error / Event #17
Day Hour Count May 13 14 1 - ERROR: schema "fromgene" does not exist at character 8
Statement: select fromGene.acc_txt 'From Gene Acc Txt' ,fromGene.nm 'From Gene Symbol' ,toGene.acc_txt 'To Gene Acc Txt' ,toGene.nm 'To Gene Symbol' -- ,( SELECT STRING_AGG( distinct reference_acc_txt || '', '|' ) ) AS 'Reference Accessions' from load.gene_gene_reference ggr ,pub2.term fromGene ,pub2.term toGene where ggr.from_gene_id = fromGene.id and ggr.to_gene_id = toGene.id group by fromGene.acc_txt, fromGene.nm, toGene.acc_txt,toGene.nm
Date: 2025-05-13 14:15:37
18 1 ERROR: , checkpoints_req , checkpoint_write_time , checkpoint_sync_time , buffers_checkpoint , buffers_clean , maxwritten_clean , buffers_backend , buffers_backend_fsync , buffers_alloc FROM pg_catalog.pg_stat_bgwriter ) T
Times Reported Most Frequent Error / Event #18
Day Hour Count May 16 12 1