-
Global information
- Generated on Sun May 4 04:15:17 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250503
- Parsed 984,531 log entries in 16s
- Log start from 2025-04-27 00:00:01 to 2025-05-03 23:58:07
-
Overview
Global Stats
- 836 Number of unique normalized queries
- 23,257 Number of queries
- 1d9h30m38s Total query duration
- 2025-04-27 00:00:15 First query
- 2025-05-03 23:58:07 Last query
- 7 queries/s at 2025-04-27 15:28:33 Query peak
- 1d9h30m38s Total query duration
- 0ms Prepare/parse total duration
- 24s243ms Bind total duration
- 1d9h30m14s Execute total duration
- 1,653 Number of events
- 30 Number of unique normalized events
- 1,041 Max number of times the same event was reported
- 0 Number of cancellation
- 257 Total number of automatic vacuums
- 331 Total number of automatic analyzes
- 3,072 Number temporary file
- 42.22 GiB Max size of temporary file
- 197.72 MiB Average size of temporary file
- 27,676 Total number of sessions
- 200 sessions at 2025-04-29 01:41:16 Session peak
- 307d18h6m37s Total duration of sessions
- 16m Average duration of sessions
- 0 Average queries per session
- 4s358ms Average queries duration per session
- 15m56s Average idle time per session
- 27,731 Total number of connections
- 90 connections/s at 2025-04-28 18:40:08 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 7 queries/s Query Peak
- 2025-04-27 15:28:33 Date
SELECT Traffic
Key values
- 7 queries/s Query Peak
- 2025-04-27 15:28:33 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2 queries/s Query Peak
- 2025-05-03 22:53:09 Date
Queries duration
Key values
- 1d9h30m38s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 27 00 263 0ms 5m40s 5s582ms 25s141ms 4m31s 5m45s 01 278 0ms 4m28s 5s356ms 31s117ms 39s352ms 13m6s 02 279 1s4ms 25s549ms 2s291ms 25s618ms 31s407ms 36s170ms 03 434 1s3ms 1m49s 2s173ms 40s624ms 1m 1m56s 04 220 0ms 16s977ms 2s7ms 14s604ms 21s173ms 1m6s 05 319 0ms 4m18s 4s398ms 31s634ms 57s38ms 8m51s 06 284 0ms 5m2s 3s755ms 39s264ms 57s606ms 5m13s 07 214 0ms 3m43s 3s32ms 13s711ms 22s298ms 3m46s 08 230 0ms 4m19s 8s41ms 1m3s 3m35s 8m37s 09 250 0ms 34s914ms 2s416ms 19s304ms 44s64ms 1m1s 10 244 0ms 2m29s 2s751ms 20s66ms 41s537ms 3m21s 11 264 0ms 3m20s 2s526ms 17s465ms 23s256ms 3m26s 12 246 0ms 4m14s 6s899ms 29s271ms 3m42s 12m39s 13 232 0ms 18m32s 10s909ms 20s429ms 4m57s 18m37s 14 379 1s16ms 55s66ms 2s611ms 43s177ms 51s476ms 1m 15 363 0ms 5m31s 3s695ms 55s278ms 1m3s 5m37s 16 340 1s25ms 18s968ms 2s237ms 38s472ms 51s601ms 1m8s 17 283 1s 19s242ms 1s813ms 13s341ms 20s315ms 1m 18 361 0ms 1m23s 2s656ms 39s15ms 1m12s 2m45s 19 230 1s13ms 19s726ms 1s784ms 13s959ms 24s82ms 53s136ms 20 67 0ms 15s728ms 2s31ms 3s685ms 5s533ms 46s911ms 21 44 0ms 3m52s 6s686ms 3s734ms 5s139ms 3m53s 22 63 0ms 4s7ms 1s527ms 4s125ms 5s53ms 9s89ms 23 50 0ms 15s111ms 2s770ms 6s294ms 14s235ms 29s966ms Apr 28 00 56 0ms 5m4s 6s900ms 3s972ms 7s154ms 5m10s 01 42 0ms 3s999ms 1s413ms 2s748ms 5s69ms 5s787ms 02 44 0ms 5m58s 12s707ms 15s990ms 35s967ms 5m58s 03 3 0ms 5s943ms 4s645ms 0ms 2s949ms 10s986ms 04 4 0ms 8s698ms 6s464ms 0ms 5s782ms 8s698ms 05 73 0ms 5s370ms 1s956ms 15s645ms 19s347ms 30s878ms 06 77 0ms 55s705ms 5s354ms 33s760ms 38s202ms 1m44s 07 82 0ms 11s418ms 1s806ms 6s467ms 14s953ms 22s649ms 08 93 0ms 10s665ms 1s676ms 6s289ms 8s894ms 10s665ms 09 83 0ms 22s550ms 2s540ms 7s867ms 21s671ms 42s235ms 10 101 0ms 1m9s 5s585ms 32s162ms 1m 2m18s 11 91 0ms 44s235ms 2s834ms 12s689ms 18s381ms 44s235ms 12 127 0ms 32s826ms 2s599ms 19s903ms 24s701ms 36s826ms 13 123 0ms 16s81ms 2s578ms 11s821ms 30s321ms 51s333ms 14 167 0ms 4m24s 8s226ms 1m20s 1m33s 4m39s 15 124 0ms 2m38s 7s444ms 1m22s 1m54s 2m44s 16 268 1s37ms 25m31s 13s404ms 2m4s 4m37s 25m34s 17 392 1s 33m53s 9s82ms 53s302ms 1m46s 34m12s 18 403 0ms 43m7s 9s250ms 58s180ms 1m44s 43m7s 19 377 0ms 47m33s 11s288ms 54s896ms 2m34s 48m3s 20 505 0ms 5m23s 6s960ms 3m2s 4m49s 5m37s 21 338 0ms 2m7s 3s521ms 57s943ms 1m9s 2m10s 22 150 0ms 13m39s 12s986ms 1m31s 3m6s 13m42s 23 116 0ms 25m35s 18s749ms 36s9ms 1m27s 25m36s Apr 29 00 91 0ms 5m5s 4s954ms 6s642ms 10s598ms 5m12s 01 97 0ms 1h48m15s 1m11s 13s926ms 24s2ms 1h48m24s 02 150 0ms 1h6m56s 31s441ms 41s978ms 1m44s 1h7m8s 03 342 0ms 48m59s 10s315ms 21s746ms 37s217ms 49m27s 04 402 1s7ms 35s516ms 2s264ms 40s540ms 1m 1m19s 05 429 1s7ms 2h10m29s 21s454ms 31s350ms 1m27s 2h10m50s 06 429 1s1ms 36m40s 7s639ms 49s786ms 1m10s 37m44s 07 365 1s44ms 27s88ms 2s218ms 40s812ms 56s258ms 1m13s 08 109 0ms 19s313ms 2s9ms 7s705ms 10s849ms 55s58ms 09 98 0ms 19s991ms 2s830ms 10s175ms 34s950ms 1m1s 10 109 0ms 56s261ms 3s443ms 24s380ms 45s525ms 59s137ms 11 69 0ms 5s493ms 1s556ms 5s328ms 6s947ms 8s870ms 12 74 0ms 15s179ms 2s84ms 5s317ms 6s935ms 32s798ms 13 171 0ms 1m18s 3s430ms 33s86ms 1m1s 1m22s 14 603 1s 36m38s 6s962ms 1m3s 2m7s 37m8s 15 463 1s 12m57s 6s372ms 1m4s 3m4s 13m5s 16 422 1s12ms 1m14s 2s491ms 31s608ms 49s120ms 4m46s 17 356 1s17ms 3m50s 2s399ms 27s508ms 49s326ms 4m2s 18 361 1s34ms 56s192ms 1s975ms 38s688ms 44s152ms 1m1s 19 146 0ms 32s669ms 2s684ms 13s479ms 21s968ms 1m36s 20 124 0ms 6s448ms 1s618ms 6s574ms 14s217ms 27s477ms 21 116 0ms 3m53s 4s837ms 18s513ms 36s51ms 4m4s 22 86 0ms 16s384ms 2s334ms 6s618ms 11s398ms 48s776ms 23 101 0ms 16s889ms 2s406ms 7s986ms 15s980ms 56s733ms Apr 30 00 66 0ms 5m6s 6s877ms 3s898ms 4s960ms 5m12s 01 250 0ms 44s542ms 2s217ms 25s956ms 37s712ms 53s372ms 02 327 1s10ms 17s803ms 2s41ms 28s33ms 38s27ms 41s518ms 03 373 1s8ms 16s501ms 1s639ms 19s140ms 21s929ms 33s675ms 04 355 1s2ms 18s42ms 1s700ms 20s921ms 25s506ms 35s387ms 05 409 1s8ms 23s617ms 1s827ms 25s404ms 29s355ms 44s836ms 06 284 1s15ms 56s613ms 2s610ms 32s355ms 51s48ms 1m26s 07 195 0ms 45s715ms 2s374ms 12s275ms 24s515ms 2m25s 08 120 0ms 10s610ms 2s244ms 11s891ms 19s451ms 20s36ms 09 99 0ms 17s566ms 2s776ms 7s546ms 22s552ms 1m10s 10 146 0ms 56s918ms 4s415ms 38s704ms 49s548ms 1m18s 11 66 0ms 20s773ms 2s407ms 4s6ms 6s919ms 1m3s 12 120 0ms 21s287ms 2s797ms 19s484ms 22s721ms 1m7s 13 75 0ms 6s459ms 2s419ms 10s900ms 16s394ms 21s887ms 14 104 0ms 56s557ms 4s64ms 29s619ms 43s338ms 1m10s 15 10 0ms 59s229ms 7s388ms 1s395ms 5s118ms 59s229ms 16 82 0ms 7s591ms 2s962ms 8s417ms 16s318ms 25s435ms 17 81 0ms 8s175ms 3s708ms 14s595ms 17s78ms 22s550ms 18 60 0ms 57s422ms 5s701ms 16s601ms 35s729ms 1m5s 19 47 0ms 7s80ms 3s88ms 6s879ms 9s383ms 27s208ms 20 49 0ms 9s189ms 3s686ms 7s49ms 14s391ms 31s856ms 21 61 0ms 7s140ms 3s195ms 13s493ms 18s216ms 21s810ms 22 102 0ms 8s90ms 3s142ms 15s700ms 20s237ms 28s565ms 23 64 0ms 9s303ms 3s177ms 10s290ms 22s659ms 41s209ms May 01 00 33 0ms 5m7s 12s738ms 6s811ms 18s89ms 5m16s 01 83 0ms 8s142ms 2s778ms 12s677ms 20s632ms 28s256ms 02 41 0ms 7s936ms 2s855ms 6s667ms 9s238ms 24s321ms 03 84 0ms 8s869ms 3s144ms 14s37ms 20s718ms 41s671ms 04 66 0ms 29s889ms 4s129ms 26s127ms 31s258ms 44s540ms 05 76 0ms 17s987ms 2s673ms 24s664ms 24s951ms 27s480ms 06 95 0ms 58s81ms 4s411ms 18s261ms 50s57ms 1m20s 07 48 0ms 7s875ms 2s754ms 8s844ms 17s524ms 25s624ms 08 60 0ms 16s352ms 3s587ms 16s169ms 23s289ms 35s569ms 09 69 0ms 16s849ms 2s874ms 13s779ms 23s134ms 33s751ms 10 82 0ms 57s119ms 3s936ms 18s342ms 40s201ms 1m10s 11 74 0ms 1m10s 4s108ms 14s157ms 20s326ms 1m29s 12 27 0ms 6s431ms 2s550ms 4s59ms 6s697ms 16s311ms 13 10 0ms 5s316ms 2s829ms 1s947ms 4s28ms 9s349ms 14 26 0ms 56s583ms 7s445ms 5s537ms 31s293ms 56s583ms 15 13 0ms 8s660ms 3s171ms 1s520ms 2s705ms 19s286ms 16 14 0ms 50s417ms 18s299ms 48s660ms 50s417ms 51s699ms 17 4 0ms 1s274ms 1s246ms 1s219ms 1s267ms 1s274ms 18 32 0ms 56s362ms 5s779ms 24s205ms 45s458ms 56s362ms 19 8 0ms 4s34ms 1s650ms 1s386ms 1s414ms 5s256ms 20 8 0ms 3s173ms 1s551ms 1s435ms 2s483ms 3s173ms 21 8 0ms 4s53ms 1s715ms 1s265ms 2s482ms 5s980ms 22 9 0ms 1s581ms 1s329ms 1s535ms 2s541ms 2s710ms 23 6 0ms 7s647ms 2s771ms 1s284ms 3s934ms 7s647ms May 02 00 13 0ms 5m1s 25s122ms 2s810ms 2s849ms 5m8s 01 5 0ms 3s933ms 2s320ms 1s258ms 3s914ms 3s933ms 02 10 0ms 33s662ms 5s867ms 3s859ms 10s178ms 33s662ms 03 11 0ms 4s807ms 1s946ms 1s426ms 2s393ms 9s492ms 04 11 0ms 4s316ms 2s360ms 2s717ms 4s92ms 8s413ms 05 72 0ms 6s510ms 2s385ms 19s202ms 20s429ms 21s982ms 06 32 0ms 56s644ms 6s828ms 16s294ms 31s277ms 56s644ms 07 26 0ms 6s511ms 2s397ms 2s826ms 3s952ms 20s377ms 08 14 0ms 5s582ms 2s221ms 3s235ms 3s925ms 5s582ms 09 12 0ms 5s553ms 2s716ms 3s870ms 4s277ms 5s553ms 10 22 0ms 56s656ms 8s419ms 5s919ms 31s618ms 56s656ms 11 18 0ms 1s629ms 1s330ms 2s766ms 4s945ms 6s466ms 12 357 1s9ms 19s179ms 1s987ms 23s760ms 40s267ms 1m14s 13 352 1s3ms 15s869ms 1s526ms 14s589ms 18s881ms 52s809ms 14 339 1s30ms 56s691ms 2s458ms 42s286ms 59s371ms 1m17s 15 314 1s1ms 20s991ms 2s113ms 25s652ms 40s86ms 54s454ms 16 352 1s30ms 15s503ms 1s640ms 17s762ms 26s23ms 39s216ms 17 161 0ms 20s597ms 2s466ms 20s468ms 31s395ms 47s831ms 18 92 0ms 56s334ms 3s53ms 6s810ms 36s161ms 59s180ms 19 72 0ms 6s249ms 1s500ms 3s943ms 5s193ms 12s275ms 20 74 0ms 1s557ms 1s293ms 3s775ms 3s975ms 5s106ms 21 120 0ms 6s479ms 2s76ms 11s246ms 16s93ms 18s985ms 22 59 0ms 5s503ms 1s510ms 4s18ms 4s520ms 6s369ms 23 6 0ms 3s873ms 1s857ms 1s461ms 3s16ms 3s873ms May 03 00 7 0ms 5m5s 45s594ms 1s409ms 1s608ms 5m12s 01 2 0ms 1s460ms 1s390ms 0ms 1s320ms 1s460ms 02 7 0ms 4s148ms 2s930ms 1s539ms 4s43ms 4s148ms 03 27 0ms 6s403ms 2s824ms 6s683ms 14s956ms 16s519ms 04 16 0ms 6s533ms 3s87ms 7s532ms 13s789ms 13s902ms 05 92 0ms 6s484ms 2s508ms 16s92ms 20s432ms 20s594ms 06 7 0ms 4s570ms 3s897ms 4s452ms 4s570ms 5s506ms 07 8 0ms 4s421ms 2s433ms 1s398ms 4s89ms 4s421ms 08 8 0ms 4s497ms 3s222ms 4s372ms 4s480ms 4s497ms 09 6 0ms 4s151ms 2s689ms 1s579ms 4s40ms 4s151ms 10 14 0ms 3s979ms 1s872ms 2s180ms 3s924ms 4s418ms 11 30 0ms 6s518ms 3s172ms 8s445ms 10s868ms 16s8ms 12 40 0ms 6s549ms 2s227ms 6s912ms 8s146ms 15s570ms 13 18 0ms 3s914ms 1s892ms 3s411ms 3s818ms 3s914ms 14 24 0ms 12s608ms 1s840ms 2s493ms 3s143ms 12s608ms 15 19 0ms 3s178ms 1s350ms 1s265ms 1s489ms 3s178ms 16 35 0ms 5s227ms 1s365ms 2s525ms 2s548ms 5s227ms 17 28 0ms 5s593ms 1s744ms 2s535ms 5s364ms 7s608ms 18 50 0ms 1m11s 9s197ms 41s187ms 1m11s 1m30s 19 64 0ms 25m9s 1m11s 1m35s 7m24s 25m12s 20 46 0ms 7m11s 13s943ms 5s753ms 29s573ms 7m47s 21 15 0ms 1s540ms 1s301ms 1s272ms 2s481ms 2s958ms 22 113 0ms 39s946ms 3s671ms 34s830ms 43s699ms 2m15s 23 27 0ms 4s866ms 1s745ms 4s875ms 5s169ms 6s24ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 27 00 261 0 5s589ms 15s69ms 25s141ms 5m14s 01 278 0 5s356ms 12s755ms 31s117ms 2m57s 02 279 0 2s291ms 15s815ms 25s618ms 34s613ms 03 434 0 2s173ms 19s484ms 40s624ms 1m5s 04 220 0 2s7ms 9s543ms 14s604ms 21s211ms 05 312 0 4s432ms 19s822ms 26s819ms 4m21s 06 272 11 3s762ms 19s207ms 38s452ms 57s380ms 07 213 0 3s31ms 10s560ms 13s711ms 45s982ms 08 230 0 8s41ms 21s700ms 1m3s 4m28s 09 250 0 2s416ms 13s156ms 19s304ms 55s804ms 10 233 11 2s751ms 10s286ms 21s823ms 55s141ms 11 263 0 2s523ms 11s296ms 17s465ms 23s689ms 12 245 0 6s919ms 12s170ms 29s271ms 4m26s 13 232 0 10s909ms 12s187ms 20s429ms 11m46s 14 368 11 2s611ms 27s335ms 42s126ms 54s827ms 15 361 0 3s703ms 26s77ms 55s278ms 1m47s 16 340 0 2s237ms 15s743ms 38s472ms 54s96ms 17 283 0 1s813ms 10s96ms 13s341ms 57s270ms 18 350 11 2s656ms 16s336ms 44s793ms 1m11s 19 230 0 1s784ms 8s518ms 13s959ms 24s315ms 20 67 0 2s31ms 2s856ms 3s685ms 6s526ms 21 44 0 6s686ms 2s531ms 3s734ms 3m53s 22 63 0 1s527ms 3s616ms 4s125ms 9s89ms 23 50 0 2s770ms 3s843ms 6s294ms 14s891ms Apr 28 00 55 0 6s906ms 2s420ms 3s972ms 7s747ms 01 42 0 1s413ms 2s420ms 2s748ms 5s787ms 02 44 0 12s707ms 5s456ms 15s990ms 5m58s 03 3 0 4s645ms 0ms 0ms 10s986ms 04 4 0 6s464ms 0ms 0ms 8s698ms 05 68 0 1s954ms 2s484ms 10s769ms 30s878ms 06 68 9 5s354ms 6s226ms 33s760ms 48s821ms 07 82 0 1s806ms 2s665ms 6s467ms 15s197ms 08 93 0 1s676ms 4s3ms 6s289ms 10s652ms 09 83 0 2s540ms 4s963ms 7s867ms 25s70ms 10 90 11 5s585ms 7s800ms 30s862ms 1m10s 11 90 0 2s838ms 5s799ms 12s689ms 43s704ms 12 124 0 2s592ms 8s646ms 19s903ms 35s384ms 13 122 0 2s527ms 6s98ms 11s821ms 46s528ms 14 156 11 8s226ms 31s202ms 1m20s 1m35s 15 120 0 6s386ms 6s595ms 55s108ms 1m56s 16 256 0 1s470ms 9s229ms 16s956ms 20s103ms 17 392 0 9s82ms 27s872ms 53s302ms 9m54s 18 390 11 9s285ms 33s481ms 56s533ms 1m9s 19 376 0 11s107ms 21s73ms 39s535ms 7m27s 20 473 0 4s826ms 1m2s 1m55s 4m51s 21 338 0 3s521ms 32s592ms 57s943ms 1m56s 22 114 0 3s914ms 5s100ms 10s635ms 24s636ms 23 107 0 2s140ms 5s316ms 11s99ms 26s192ms Apr 29 00 90 0 4s938ms 3s729ms 6s642ms 15s421ms 01 95 0 1m10s 5s27ms 12s829ms 24s2ms 02 140 0 32s226ms 8s700ms 19s613ms 2m44s 03 337 0 1s673ms 13s60ms 18s108ms 37s217ms 04 402 0 2s264ms 17s154ms 40s540ms 1m5s 05 425 0 21s634ms 20s383ms 31s350ms 9m20s 06 418 11 7s639ms 24s347ms 44s620ms 1m10s 07 365 0 2s218ms 16s475ms 40s812ms 58s114ms 08 109 0 2s9ms 5s210ms 7s705ms 15s421ms 09 98 0 2s830ms 4s66ms 10s175ms 42s385ms 10 98 11 3s443ms 6s409ms 24s380ms 45s884ms 11 69 0 1s556ms 3s873ms 5s328ms 8s670ms 12 74 0 2s84ms 4s68ms 5s317ms 17s899ms 13 169 0 3s443ms 13s867ms 28s324ms 1m4s 14 591 11 6s968ms 45s302ms 1m1s 2m53s 15 462 0 6s383ms 36s952ms 1m4s 13m 16 422 0 2s491ms 16s43ms 31s608ms 1m38s 17 356 0 2s399ms 13s584ms 27s508ms 49s709ms 18 350 11 1s975ms 12s774ms 24s459ms 44s137ms 19 146 0 2s684ms 6s475ms 13s479ms 55s994ms 20 124 0 1s618ms 5s86ms 6s574ms 18s242ms 21 116 0 4s837ms 9s387ms 18s513ms 44s211ms 22 86 0 2s334ms 4s403ms 6s618ms 12s674ms 23 101 0 2s406ms 5s344ms 7s986ms 32s667ms Apr 30 00 65 0 6s884ms 3s452ms 3s898ms 1m3s 01 249 0 2s216ms 12s765ms 23s753ms 46s27ms 02 327 0 2s41ms 20s345ms 28s33ms 40s513ms 03 373 0 1s639ms 14s298ms 19s140ms 23s882ms 04 355 0 1s700ms 14s958ms 20s921ms 26s50ms 05 405 0 1s823ms 20s511ms 25s404ms 34s326ms 06 273 11 2s610ms 15s83ms 31s128ms 56s613ms 07 195 0 2s374ms 9s527ms 12s275ms 41s286ms 08 120 0 2s244ms 8s121ms 11s891ms 19s725ms 09 99 0 2s776ms 5s450ms 7s546ms 34s900ms 10 135 11 4s415ms 21s583ms 31s447ms 56s918ms 11 66 0 2s407ms 2s619ms 4s6ms 12s662ms 12 120 0 2s797ms 13s20ms 19s484ms 1m7s 13 75 0 2s419ms 5s492ms 10s900ms 17s774ms 14 91 11 4s98ms 16s88ms 29s619ms 56s557ms 15 10 0 7s388ms 1s209ms 1s395ms 59s229ms 16 81 0 2s955ms 7s274ms 8s417ms 16s397ms 17 80 0 3s705ms 9s253ms 14s452ms 17s78ms 18 48 11 5s739ms 7s90ms 16s601ms 45s56ms 19 47 0 3s88ms 5s43ms 6s879ms 14s487ms 20 48 0 3s691ms 6s816ms 7s49ms 18s64ms 21 60 0 3s203ms 6s844ms 10s966ms 20s93ms 22 102 0 3s142ms 12s578ms 15s700ms 24s206ms 23 64 0 3s177ms 6s243ms 10s290ms 25s611ms May 01 00 32 0 12s925ms 3s624ms 6s811ms 5m9s 01 83 0 2s778ms 6s833ms 12s677ms 21s463ms 02 41 0 2s855ms 4s776ms 6s667ms 14s251ms 03 84 0 3s144ms 8s817ms 14s37ms 21s143ms 04 63 0 4s195ms 12s453ms 21s212ms 44s540ms 05 71 0 2s698ms 7s947ms 22s682ms 27s480ms 06 83 11 4s423ms 15s164ms 25s328ms 45s353ms 07 44 0 2s710ms 3s604ms 8s844ms 22s217ms 08 58 0 3s613ms 7s989ms 16s169ms 35s569ms 09 69 0 2s874ms 6s749ms 13s779ms 33s751ms 10 71 9 3s977ms 7s43ms 18s342ms 45s64ms 11 74 0 4s108ms 10s777ms 14s157ms 1m29s 12 27 0 2s550ms 2s748ms 4s59ms 16s311ms 13 10 0 2s829ms 0ms 1s947ms 9s349ms 14 15 11 7s445ms 4s133ms 5s537ms 56s583ms 15 13 0 3s171ms 1s129ms 1s520ms 19s286ms 16 14 0 18s299ms 2s546ms 48s660ms 51s699ms 17 4 0 1s246ms 0ms 1s219ms 1s274ms 18 21 11 5s779ms 1s401ms 24s205ms 56s362ms 19 8 0 1s650ms 1s230ms 1s386ms 5s256ms 20 8 0 1s551ms 1s289ms 1s435ms 3s173ms 21 8 0 1s715ms 0ms 1s265ms 5s980ms 22 9 0 1s329ms 1s3ms 1s535ms 2s710ms 23 6 0 2s771ms 0ms 1s284ms 7s647ms May 02 00 12 0 26s660ms 1s205ms 2s810ms 5m1s 01 5 0 2s320ms 0ms 1s258ms 3s933ms 02 10 0 5s867ms 1s228ms 3s859ms 33s662ms 03 11 0 1s946ms 0ms 1s426ms 9s492ms 04 11 0 2s360ms 1s372ms 2s717ms 8s413ms 05 68 0 2s393ms 4s530ms 19s202ms 21s982ms 06 21 11 6s828ms 5s344ms 16s294ms 56s644ms 07 26 0 2s397ms 1s245ms 2s826ms 20s377ms 08 14 0 2s221ms 1s250ms 3s235ms 5s582ms 09 12 0 2s716ms 1s26ms 3s870ms 5s553ms 10 10 11 8s717ms 1s260ms 5s453ms 44s421ms 11 18 0 1s330ms 1s283ms 2s766ms 6s466ms 12 357 0 1s987ms 12s820ms 23s760ms 1m 13 352 0 1s526ms 11s576ms 14s589ms 19s971ms 14 328 11 2s458ms 17s327ms 42s286ms 56s691ms 15 314 0 2s113ms 11s575ms 25s652ms 50s356ms 16 352 0 1s640ms 11s903ms 17s762ms 28s535ms 17 161 0 2s466ms 9s729ms 20s468ms 42s997ms 18 81 11 3s53ms 4s198ms 7s817ms 44s250ms 19 72 0 1s500ms 3s320ms 3s943ms 8s287ms 20 74 0 1s293ms 2s626ms 3s775ms 4s4ms 21 119 0 2s77ms 7s721ms 11s246ms 18s662ms 22 59 0 1s510ms 3s753ms 4s18ms 6s369ms 23 6 0 1s857ms 0ms 1s461ms 3s873ms May 03 00 6 0 52s115ms 0ms 1s409ms 5m5s 01 2 0 1s390ms 0ms 0ms 1s460ms 02 7 0 2s930ms 0ms 1s539ms 4s148ms 03 27 0 2s824ms 1s533ms 6s683ms 16s519ms 04 16 0 3s87ms 0ms 7s532ms 13s902ms 05 88 0 2s521ms 8s966ms 16s92ms 20s594ms 06 7 0 3s897ms 0ms 4s452ms 5s506ms 07 8 0 2s433ms 0ms 1s398ms 4s421ms 08 8 0 3s222ms 0ms 4s372ms 4s497ms 09 6 0 2s689ms 0ms 1s579ms 4s151ms 10 14 0 1s872ms 1s276ms 2s180ms 4s418ms 11 30 0 3s172ms 4s406ms 8s445ms 16s8ms 12 40 0 2s227ms 3s788ms 6s912ms 15s570ms 13 18 0 1s892ms 1s280ms 3s411ms 3s914ms 14 24 0 1s840ms 1s271ms 2s493ms 12s608ms 15 19 0 1s350ms 1s246ms 1s265ms 3s178ms 16 35 0 1s365ms 1s286ms 2s525ms 5s227ms 17 28 0 1s744ms 1s424ms 2s535ms 7s608ms 18 23 27 9s197ms 4s326ms 41s187ms 1m14s 19 23 41 1m11s 1m11s 1m35s 25m10s 20 36 10 13s943ms 1s413ms 5s753ms 7m47s 21 15 0 1s301ms 1s248ms 1s272ms 2s958ms 22 108 0 3s717ms 2s621ms 34s830ms 2m4s 23 27 0 1s745ms 2s407ms 4s875ms 6s24ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 27 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 28 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 1 0 0 0 8s760ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 12 0 0 0 4m27s 0ms 0ms 4m32s 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 12 4 0 0 18s629ms 0ms 0ms 50s904ms 23 4 5 0 0 3m36s 0ms 0ms 1m26s Apr 29 00 0 0 0 0 0ms 0ms 0ms 0ms 01 1 0 0 0 2m45s 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 30 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 01 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 02 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 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 03 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Apr 27 00 0 264 264.00 0.00% 01 0 278 278.00 0.00% 02 0 279 279.00 0.00% 03 0 434 434.00 0.00% 04 0 220 220.00 0.00% 05 0 319 319.00 0.00% 06 0 305 305.00 0.00% 07 0 259 259.00 0.00% 08 0 257 257.00 0.00% 09 0 251 251.00 0.00% 10 0 233 233.00 0.00% 11 0 264 264.00 0.00% 12 0 246 246.00 0.00% 13 0 232 232.00 0.00% 14 0 368 368.00 0.00% 15 0 363 363.00 0.00% 16 0 340 340.00 0.00% 17 0 283 283.00 0.00% 18 0 350 350.00 0.00% 19 0 230 230.00 0.00% 20 0 67 67.00 0.00% 21 0 44 44.00 0.00% 22 0 63 63.00 0.00% 23 0 50 50.00 0.00% Apr 28 00 0 56 56.00 0.00% 01 0 42 42.00 0.00% 02 0 44 44.00 0.00% 03 0 3 3.00 0.00% 04 0 4 4.00 0.00% 05 0 69 69.00 0.00% 06 0 71 71.00 0.00% 07 0 96 96.00 0.00% 08 0 93 93.00 0.00% 09 0 87 87.00 0.00% 10 0 92 92.00 0.00% 11 0 112 112.00 0.00% 12 0 136 136.00 0.00% 13 0 122 122.00 0.00% 14 0 169 169.00 0.00% 15 0 119 119.00 0.00% 16 0 268 268.00 0.00% 17 0 392 392.00 0.00% 18 0 392 392.00 0.00% 19 0 378 378.00 0.00% 20 0 513 513.00 0.00% 21 0 339 339.00 0.00% 22 0 150 150.00 0.00% 23 0 116 116.00 0.00% Apr 29 00 0 90 90.00 0.00% 01 0 97 97.00 0.00% 02 0 150 150.00 0.00% 03 0 348 348.00 0.00% 04 0 403 403.00 0.00% 05 0 436 436.00 0.00% 06 0 420 420.00 0.00% 07 0 365 365.00 0.00% 08 0 112 112.00 0.00% 09 0 104 104.00 0.00% 10 0 87 87.00 0.00% 11 0 84 84.00 0.00% 12 0 69 69.00 0.00% 13 0 178 178.00 0.00% 14 0 595 595.00 0.00% 15 0 461 461.00 0.00% 16 0 422 422.00 0.00% 17 0 362 362.00 0.00% 18 0 350 350.00 0.00% 19 0 146 146.00 0.00% 20 0 124 124.00 0.00% 21 0 116 116.00 0.00% 22 0 86 86.00 0.00% 23 0 101 101.00 0.00% Apr 30 00 0 64 64.00 0.00% 01 0 250 250.00 0.00% 02 0 327 327.00 0.00% 03 0 373 373.00 0.00% 04 0 355 355.00 0.00% 05 0 409 409.00 0.00% 06 0 273 273.00 0.00% 07 0 195 195.00 0.00% 08 0 120 120.00 0.00% 09 0 99 99.00 0.00% 10 0 135 135.00 0.00% 11 0 68 68.00 0.00% 12 0 120 120.00 0.00% 13 0 75 75.00 0.00% 14 0 95 95.00 0.00% 15 0 10 10.00 0.00% 16 0 85 85.00 0.00% 17 0 81 81.00 0.00% 18 0 49 49.00 0.00% 19 0 47 47.00 0.00% 20 0 49 49.00 0.00% 21 0 61 61.00 0.00% 22 0 102 102.00 0.00% 23 0 64 64.00 0.00% May 01 00 0 31 31.00 0.00% 01 0 83 83.00 0.00% 02 0 41 41.00 0.00% 03 0 84 84.00 0.00% 04 0 66 66.00 0.00% 05 0 71 71.00 0.00% 06 0 84 84.00 0.00% 07 0 48 48.00 0.00% 08 0 61 61.00 0.00% 09 0 69 69.00 0.00% 10 0 84 84.00 0.00% 11 0 75 75.00 0.00% 12 0 27 27.00 0.00% 13 0 10 10.00 0.00% 14 0 15 15.00 0.00% 15 0 14 14.00 0.00% 16 0 14 14.00 0.00% 17 0 4 4.00 0.00% 18 0 21 21.00 0.00% 19 0 8 8.00 0.00% 20 0 8 8.00 0.00% 21 0 8 8.00 0.00% 22 0 9 9.00 0.00% 23 0 6 6.00 0.00% May 02 00 0 11 11.00 0.00% 01 0 5 5.00 0.00% 02 0 10 10.00 0.00% 03 0 11 11.00 0.00% 04 0 11 11.00 0.00% 05 0 72 72.00 0.00% 06 0 21 21.00 0.00% 07 0 26 26.00 0.00% 08 0 16 16.00 0.00% 09 0 12 12.00 0.00% 10 0 12 12.00 0.00% 11 0 18 18.00 0.00% 12 0 357 357.00 0.00% 13 0 358 358.00 0.00% 14 0 344 344.00 0.00% 15 0 314 314.00 0.00% 16 0 352 352.00 0.00% 17 0 161 161.00 0.00% 18 0 81 81.00 0.00% 19 0 72 72.00 0.00% 20 0 74 74.00 0.00% 21 0 120 120.00 0.00% 22 0 59 59.00 0.00% 23 0 6 6.00 0.00% May 03 00 0 5 5.00 0.00% 01 0 2 2.00 0.00% 02 0 7 7.00 0.00% 03 0 27 27.00 0.00% 04 0 16 16.00 0.00% 05 0 92 92.00 0.00% 06 0 7 7.00 0.00% 07 0 8 8.00 0.00% 08 0 8 8.00 0.00% 09 0 6 6.00 0.00% 10 0 14 14.00 0.00% 11 0 30 30.00 0.00% 12 0 40 40.00 0.00% 13 0 18 18.00 0.00% 14 0 24 24.00 0.00% 15 0 19 19.00 0.00% 16 0 35 35.00 0.00% 17 0 28 28.00 0.00% 18 0 23 23.00 0.00% 19 0 23 23.00 0.00% 20 0 36 36.00 0.00% 21 0 15 15.00 0.00% 22 0 113 113.00 0.00% 23 0 27 27.00 0.00% Day Hour Count Average / Second Apr 27 00 173 0.05/s 01 286 0.08/s 02 258 0.07/s 03 317 0.09/s 04 269 0.07/s 05 319 0.09/s 06 146 0.04/s 07 255 0.07/s 08 937 0.26/s 09 143 0.04/s 10 123 0.03/s 11 223 0.06/s 12 151 0.04/s 13 161 0.04/s 14 245 0.07/s 15 718 0.20/s 16 245 0.07/s 17 265 0.07/s 18 295 0.08/s 19 147 0.04/s 20 97 0.03/s 21 99 0.03/s 22 91 0.03/s 23 109 0.03/s Apr 28 00 91 0.03/s 01 100 0.03/s 02 193 0.05/s 03 99 0.03/s 04 100 0.03/s 05 124 0.03/s 06 181 0.05/s 07 119 0.03/s 08 83 0.02/s 09 206 0.06/s 10 89 0.02/s 11 131 0.04/s 12 113 0.03/s 13 150 0.04/s 14 146 0.04/s 15 120 0.03/s 16 206 0.06/s 17 242 0.07/s 18 1,134 0.32/s 19 223 0.06/s 20 566 0.16/s 21 204 0.06/s 22 125 0.03/s 23 130 0.04/s Apr 29 00 106 0.03/s 01 665 0.18/s 02 195 0.05/s 03 303 0.08/s 04 198 0.06/s 05 357 0.10/s 06 236 0.07/s 07 175 0.05/s 08 129 0.04/s 09 107 0.03/s 10 149 0.04/s 11 102 0.03/s 12 87 0.02/s 13 151 0.04/s 14 243 0.07/s 15 217 0.06/s 16 287 0.08/s 17 163 0.05/s 18 133 0.04/s 19 91 0.03/s 20 112 0.03/s 21 126 0.04/s 22 141 0.04/s 23 100 0.03/s Apr 30 00 92 0.03/s 01 202 0.06/s 02 157 0.04/s 03 155 0.04/s 04 186 0.05/s 05 293 0.08/s 06 127 0.04/s 07 122 0.03/s 08 105 0.03/s 09 111 0.03/s 10 114 0.03/s 11 88 0.02/s 12 93 0.03/s 13 90 0.03/s 14 119 0.03/s 15 76 0.02/s 16 255 0.07/s 17 328 0.09/s 18 252 0.07/s 19 152 0.04/s 20 210 0.06/s 21 157 0.04/s 22 330 0.09/s 23 265 0.07/s May 01 00 167 0.05/s 01 191 0.05/s 02 141 0.04/s 03 225 0.06/s 04 300 0.08/s 05 276 0.08/s 06 362 0.10/s 07 137 0.04/s 08 186 0.05/s 09 210 0.06/s 10 167 0.05/s 11 199 0.06/s 12 80 0.02/s 13 79 0.02/s 14 103 0.03/s 15 88 0.02/s 16 89 0.02/s 17 76 0.02/s 18 89 0.02/s 19 80 0.02/s 20 75 0.02/s 21 81 0.02/s 22 77 0.02/s 23 83 0.02/s May 02 00 90 0.03/s 01 83 0.02/s 02 80 0.02/s 03 84 0.02/s 04 80 0.02/s 05 96 0.03/s 06 87 0.02/s 07 86 0.02/s 08 81 0.02/s 09 81 0.02/s 10 87 0.02/s 11 80 0.02/s 12 161 0.04/s 13 184 0.05/s 14 149 0.04/s 15 205 0.06/s 16 207 0.06/s 17 109 0.03/s 18 93 0.03/s 19 94 0.03/s 20 79 0.02/s 21 89 0.02/s 22 80 0.02/s 23 74 0.02/s May 03 00 83 0.02/s 01 71 0.02/s 02 80 0.02/s 03 81 0.02/s 04 78 0.02/s 05 100 0.03/s 06 81 0.02/s 07 80 0.02/s 08 85 0.02/s 09 76 0.02/s 10 84 0.02/s 11 90 0.03/s 12 78 0.02/s 13 79 0.02/s 14 83 0.02/s 15 81 0.02/s 16 80 0.02/s 17 82 0.02/s 18 83 0.02/s 19 82 0.02/s 20 78 0.02/s 21 73 0.02/s 22 163 0.05/s 23 81 0.02/s Day Hour Count Average Duration Average idle time Apr 27 00 173 14m20s 14m12s 01 286 8m40s 8m35s 02 258 9m14s 9m12s 03 317 7m49s 7m46s 04 269 9m 8m58s 05 319 7m24s 7m20s 06 146 16m22s 16m15s 07 254 9m45s 9m43s 08 938 2m32s 2m30s 09 142 17m16s 17m12s 10 124 19m50s 19m44s 11 223 11m2s 10m59s 12 151 15m31s 15m19s 13 161 14m59s 14m43s 14 245 10m1s 9m57s 15 718 3m42s 3m40s 16 245 9m27s 9m24s 17 264 8m13s 8m11s 18 296 7m37s 7m33s 19 147 16m27s 16m24s 20 97 24m23s 24m22s 21 99 24m6s 24m3s 22 91 25m52s 25m51s 23 109 22m24s 22m23s Apr 28 00 91 26m25s 26m21s 01 99 24m33s 24m32s 02 152 15m44s 15m40s 03 139 36m6s 36m6s 04 100 26m32s 26m32s 05 126 22m19s 22m17s 06 181 13m42s 13m39s 07 119 20m12s 20m11s 08 81 28m26s 28m24s 09 206 12m43s 12m42s 10 89 25m21s 25m15s 11 131 18m20s 18m18s 12 109 22m24s 22m21s 13 149 16m40s 16m38s 14 147 16m54s 16m44s 15 119 19m57s 19m50s 16 206 11m37s 11m20s 17 242 9m16s 9m1s 18 1,107 2m26s 2m22s 19 220 38m42s 38m23s 20 569 4m18s 4m12s 21 204 11m9s 11m4s 22 125 20m36s 20m21s 23 130 18m43s 18m26s Apr 29 00 106 22m34s 22m30s 01 659 3m49s 3m38s 02 195 12m57s 12m33s 03 302 33m30s 33m18s 04 199 12m5s 12m 05 344 6m59s 6m32s 06 237 12m4s 11m50s 07 175 14m11s 14m6s 08 129 17m31s 17m30s 09 107 23m16s 23m13s 10 149 16m44s 16m41s 11 102 22m47s 22m46s 12 84 29m19s 29m17s 13 149 16m44s 16m40s 14 243 9m54s 9m37s 15 218 11m 10m47s 16 287 7m56s 7m52s 17 163 14m42s 14m37s 18 139 1h3m10s 1h3m5s 19 95 1h31m40s 1h31m36s 20 112 22m5s 22m3s 21 126 19m 18m55s 22 141 17m41s 17m40s 23 100 22m39s 22m37s Apr 30 00 92 26m48s 26m43s 01 202 12m12s 12m10s 02 157 15m39s 15m35s 03 155 15m49s 15m45s 04 186 12m57s 12m54s 05 293 7m52s 7m50s 06 127 19m33s 19m27s 07 122 19m26s 19m22s 08 105 23m20s 23m17s 09 111 21m3s 21m 10 112 21m56s 21m51s 11 88 27m 26m59s 12 91 26m56s 26m52s 13 92 28m27s 28m25s 14 121 20m51s 20m47s 15 76 30m37s 30m36s 16 255 9m30s 9m29s 17 328 7m35s 7m35s 18 252 9m20s 9m18s 19 152 16m1s 16m 20 210 11m43s 11m43s 21 157 15m17s 15m16s 22 330 7m14s 7m13s 23 265 9m13s 9m12s May 01 00 167 14m46s 14m44s 01 191 12m35s 12m33s 02 141 17m19s 17m18s 03 225 10m48s 10m47s 04 298 8m21s 8m20s 05 278 9m43s 9m42s 06 362 6m37s 6m36s 07 137 16m32s 16m31s 08 186 13m 12m59s 09 210 11m10s 11m9s 10 167 15m46s 15m44s 11 199 11m46s 11m44s 12 80 29m46s 29m45s 13 79 29m57s 29m57s 14 103 21m6s 21m5s 15 88 26m50s 26m49s 16 89 27m54s 27m51s 17 76 30m14s 30m14s 18 89 28m24s 28m22s 19 80 29m56s 29m56s 20 75 31m37s 31m37s 21 81 28m28s 28m28s 22 77 31m6s 31m6s 23 83 29m4s 29m4s May 02 00 90 27m1s 26m58s 01 83 29m19s 29m19s 02 80 30m23s 30m23s 03 84 29m18s 29m18s 04 80 29m33s 29m33s 05 96 25m26s 25m24s 06 87 28m 27m58s 07 86 29m12s 29m11s 08 81 29m2s 29m2s 09 81 30m41s 30m41s 10 87 27m21s 27m19s 11 80 31m7s 31m6s 12 161 15m10s 15m6s 13 184 11m52s 11m49s 14 149 15m48s 15m42s 15 205 11m55s 11m52s 16 207 11m50s 11m47s 17 109 20m40s 20m36s 18 93 26m16s 26m13s 19 94 25m15s 25m14s 20 79 30m16s 30m14s 21 89 26m47s 26m44s 22 80 29m17s 29m16s 23 74 30m46s 30m46s May 03 00 83 30m42s 30m38s 01 71 30m12s 30m12s 02 80 32m35s 32m35s 03 81 29m50s 29m49s 04 78 30m53s 30m52s 05 100 24m54s 24m52s 06 81 29m34s 29m34s 07 80 30m25s 30m25s 08 85 28m43s 28m43s 09 76 31m53s 31m53s 10 84 28m56s 28m56s 11 90 27m32s 27m31s 12 78 29m30s 29m29s 13 79 29m18s 29m17s 14 83 29m26s 29m25s 15 81 29m51s 29m51s 16 80 29m36s 29m35s 17 82 28m59s 28m58s 18 82 30m13s 30m8s 19 82 29m45s 28m49s 20 79 31m30s 31m22s 21 73 30m9s 30m9s 22 154 1h2m43s 1h2m40s 23 81 30m15s 30m14s -
Connections
Established Connections
Key values
- 90 connections Connection Peak
- 2025-04-28 18:40:08 Date
Connections per database
Key values
- ctdprd51 Main Database
- 27,731 connections Total
Connections per user
Key values
- pubeu Main User
- 27,731 connections Total
-
Sessions
Simultaneous sessions
Key values
- 200 sessions Session Peak
- 2025-04-29 01:41:16 Date
Histogram of session times
Key values
- 11,399 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 27,676 sessions Total
Sessions per user
Key values
- pubeu Main User
- 27,676 sessions Total
User Count Total Duration Average Duration edit 3 3d20h13m28s 1d6h44m29s editeu 2,609 56d2h10m13s 30m57s load 195 4d13h5m29s 33m33s postgres 51 2h38m35s 3m6s pub1 1 29s129ms 29s129ms pub2 29 1d13h40m16s 1h17m56s pubc 10 37m2s 3m42s pubeu 19,414 114d19h21m18s 8m30s qaeu 5,358 112d5h37m26s 30m9s zbx_monitor 6 14d12h42m18s 2d10h7m3s Sessions per host
Key values
- 10.12.5.37 Main Host
- 27,676 sessions Total
Host Count Total Duration Average Duration 10.12.5.122 4 1h30m30s 22m37s 10.12.5.126 17 5m24s 19s111ms 10.12.5.36 39 2h9m3s 3m18s 10.12.5.37 16,779 58d19h10m22s 5m2s 10.12.5.38 2,643 56d47m11s 30m31s 10.12.5.39 2,604 56d39m43s 30m58s 10.12.5.40 175 15h37m58s 5m21s 10.12.5.45 2,694 56d1h41m52s 29m58s 10.12.5.46 2,643 56d1h49m5s 30m33s 10.12.5.59 2 15ms 7ms 192.168.201.18 4 9h4m2s 2h16m 192.168.201.6 15 8d22h10m29s 14h16m41s ::1 57 14d15h20m53s 6h9m50s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 5,190,835 buffers Checkpoint Peak
- 2025-04-28 23:00:06 Date
- 1620.024 seconds Highest write time
- 0.798 seconds Sync time
Checkpoints Wal files
Key values
- 851 files Wal files usage Peak
- 2025-04-29 02:51:27 Date
Checkpoints distance
Key values
- 19,171.54 Mo Distance Peak
- 2025-04-28 22:37:15 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Apr 27 00 9,679 969.557s 0.004s 969.701s 01 19,686 1,972.174s 0.005s 1,972.439s 02 7,827 783.87s 0.004s 783.971s 03 2,579 258.368s 0.002s 258.445s 04 2,722 272.565s 0.004s 272.595s 05 1,258 126.067s 0.002s 126.13s 06 70,294 2,343.811s 0.006s 2,344.399s 07 1,260 126.231s 0.002s 126.296s 08 10,398 1,041.338s 0.006s 1,041.513s 09 7,558 756.916s 0.004s 757.018s 10 16,992 1,671.665s 0.003s 1,671.848s 11 2,351 235.486s 0.003s 235.562s 12 3,533 353.832s 0.002s 353.906s 13 5,022 503.158s 0.002s 503.249s 14 2,548 255.088s 0.003s 255.166s 15 3,507 351.299s 0.004s 351.346s 16 2,430 243.306s 0.003s 243.383s 17 3,346 335.154s 0.004s 335.2s 18 3,956 396.096s 0.003s 396.153s 19 4,129 413.544s 0.004s 413.622s 20 1,182 118.376s 0.002s 118.392s 21 55,555 1,853.687s 0.005s 1,854.232s 22 115,263 1,683.991s 0.004s 1,684.483s 23 2,361 236.48s 0.003s 236.558s Apr 28 00 8,169 817.984s 0.005s 818.124s 01 744 74.518s 0.003s 74.549s 02 543 54.513s 0.004s 54.544s 03 57 5.908s 0.002s 5.937s 04 0 0s 0s 0s 05 260 25.939s 0.001s 25.954s 06 1,274 127.744s 0.004s 127.823s 07 2,208 221.269s 0.003s 221.347s 08 429 42.971s 0.001s 42.986s 09 5,756 576.306s 0.004s 576.408s 10 1,161 116.284s 0.002s 116.362s 11 1,233 123.651s 0.004s 123.683s 12 3,549 355.442s 0.147s 355.761s 13 25,684 1,699.948s 0.01s 1,700.283s 14 271,293 774.183s 0.667s 797.325s 15 86,413 1,480.701s 0.792s 1,502.611s 16 2,438,887 2,273.679s 0.804s 2,302.231s 17 1,387,662 3,238.566s 0.04s 3,249.104s 18 38,858 1,823.435s 0.041s 1,826.376s 19 5,990 600.091s 0.004s 600.238s 20 594,468 1,872.527s 0.028s 1,937.036s 21 145,571 1,765.615s 0.004s 1,767.214s 22 4,289,800 2,879.538s 0.018s 2,904.257s 23 7,734,313 3,503.217s 0.865s 3,539.848s Apr 29 00 444,270 2,800.014s 0.005s 2,802.69s 01 276,836 1,889.506s 0.013s 1,890.869s 02 862,734 2,325.52s 0.423s 2,424.484s 03 143,844 500.253s 1.866s 588.88s 04 488,898 3,239.067s 0.018s 3,248.895s 05 210,636 2,786.944s 0.07s 2,788.134s 06 1,140,984 3,353.685s 0.008s 3,365.383s 07 2,699 270.713s 0.002s 270.749s 08 9,170 917.972s 0.004s 918.123s 09 2,537 254.09s 0.004s 254.127s 10 2,579 258.371s 0.003s 258.407s 11 29,533 1,902.446s 0.003s 1,902.562s 12 866 86.731s 0.002s 86.747s 13 22,343 1,709.273s 0.003s 1,709.469s 14 30,176 2,512.305s 0.006s 2,512.534s 15 934 93.517s 0.001s 93.58s 16 20,007 2,006.832s 0.005s 2,006.997s 17 1,241 124.107s 0.002s 124.122s 18 56,701 1,940.656s 0.006s 1,940.893s 19 2,780 278.292s 0.004s 278.337s 20 3,579 358.545s 0.003s 358.625s 21 2,913 291.66s 0.004s 291.739s 22 12,658 1,267.546s 0.003s 1,267.643s 23 1,869 187.188s 0.004s 187.305s Apr 30 00 11,345 1,136.048s 0.002s 1,136.146s 01 5,455 546.554s 0.002s 546.664s 02 2,555 256.009s 0.002s 256.04s 03 3,661 366.683s 0.004s 366.766s 04 2,682 268.725s 0.002s 268.769s 05 2,850 285.177s 0.002s 285.219s 06 8,958 897.035s 0.003s 897.132s 07 2,297 230.1s 0.003s 230.131s 08 2,012 201.513s 0.004s 201.592s 09 2,514 251.829s 0.003s 251.86s 10 2,020 202.362s 0.003s 202.444s 11 1,671 167.476s 0.004s 167.507s 12 1,738 174.142s 0.002s 174.223s 13 1,017 101.947s 0.002s 101.977s 14 2,240 224.504s 0.004s 224.535s 15 2,587 259.202s 0.003s 259.282s 16 3,022 302.719s 0.003s 302.75s 17 2,127 213.19s 0.004s 213.274s 18 3,673 367.968s 0.003s 368.053s 19 2,394 239.914s 0.003s 239.944s 20 2,401 240.871s 0.003s 240.917s 21 2,208 221.25s 0.002s 221.284s 22 3,233 323.918s 0.002s 323.999s 23 3,572 357.933s 0.004s 358.02s May 01 00 3,053 305.908s 0.004s 305.997s 01 1,068 107.1s 0.002s 107.129s 02 1,051 105.352s 0.003s 105.383s 03 1,217 122.008s 0.002s 122.091s 04 1,390 139.355s 0.002s 139.384s 05 326 32.769s 0.002s 32.8s 06 1,124 112.731s 0.001s 112.747s 07 52,657 1,762.369s 0.005s 1,762.566s 08 1,390 139.334s 0.003s 139.366s 09 1,465 146.878s 0.002s 146.957s 10 5,535 554.189s 0.003s 554.234s 11 1,312 131.555s 0.003s 131.586s 12 1,318 132.099s 0.002s 132.129s 13 1,919 192.283s 0.003s 192.365s 14 831 83.414s 0.002s 83.444s 15 1,437 144.013s 0.002s 144.091s 16 1,272 127.483s 0.003s 127.514s 17 1,644 164.726s 0.002s 164.804s 18 1,275 127.771s 0.002s 127.801s 19 1,358 136.081s 0.003s 136.112s 20 1,142 114.446s 0.002s 114.524s 21 1,589 159.219s 0.002s 159.249s 22 2,358 236.119s 0.002s 236.198s 23 1,563 156.627s 0.003s 156.659s May 02 00 3,156 316.167s 0.004s 316.335s 01 1,352 135.476s 0.004s 135.557s 02 717 71.893s 0.002s 71.924s 03 821 82.308s 0.002s 82.339s 04 885 88.725s 0.002s 88.756s 05 498 49.872s 0.001s 49.935s 06 58,039 1,753.383s 0.005s 1,753.583s 07 1,074 107.54s 0.004s 107.57s 08 14,138 1,412.863s 0.003s 1,412.953s 09 1,162 116.463s 0.004s 116.542s 10 3,188 319.261s 0.004s 319.292s 11 1,400 140.28s 0.003s 140.354s 12 2,237 224.233s 0.004s 224.264s 13 4,308 431.382s 0.004s 431.474s 14 2,919 292.333s 0.004s 292.368s 15 2,721 272.421s 0.003s 272.454s 16 2,911 291.535s 0.003s 291.569s 17 2,369 237.24s 0.003s 237.314s 18 1,935 193.887s 0.003s 193.918s 19 1,635 163.828s 0.004s 163.901s 20 3,801 380.586s 0.003s 380.661s 21 2,388 239.157s 0.004s 239.191s 22 2,304 230.724s 0.004s 230.754s 23 1,948 195.194s 0.003s 195.268s May 03 00 2,334 233.882s 0.003s 234.004s 01 599 60.093s 0.003s 60.122s 02 677 67.961s 0.003s 67.991s 03 743 74.513s 0.003s 74.545s 04 939 94.185s 0.004s 94.26s 05 875 87.748s 0.003s 87.778s 06 850 85.221s 0.003s 85.251s 07 2,394 239.775s 0.003s 239.846s 08 815 81.712s 0.003s 81.783s 09 18,881 1,656.724s 0.004s 1,656.825s 10 987 99.024s 0.004s 99.055s 11 415 41.552s 0.002s 41.568s 12 58,512 1,698.393s 0.004s 1,698.613s 13 991 99.435s 0.003s 99.465s 14 1,259 126.186s 0.004s 126.216s 15 914 91.719s 0.003s 91.75s 16 22,090 1,670.891s 0.004s 1,670.999s 17 1,046 104.861s 0.003s 104.892s 18 1,788 179.23s 0.003s 179.264s 19 904 90.636s 0.002s 90.651s 20 88,925 2,622.836s 0.006s 2,622.922s 21 1,246 124.895s 0.004s 124.926s 22 1,542 154.549s 0.004s 154.58s 23 1,821 182.352s 0.004s 182.387s Day Hour Added Removed Recycled Synced files Longest sync Average sync Apr 27 00 0 0 7 63 0.001s 0.001s 01 0 0 12 91 0.001s 0.003s 02 0 0 3 55 0.001s 0.002s 03 0 0 1 36 0.001s 0.002s 04 0 0 0 41 0.001s 0.002s 05 0 0 1 24 0.001s 0.001s 06 0 0 40 144 0.001s 0.003s 07 0 0 1 69 0.001s 0.001s 08 0 0 5 228 0.001s 0.003s 09 0 0 3 85 0.001s 0.002s 10 0 0 10 56 0.001s 0.002s 11 0 0 1 34 0.001s 0.002s 12 0 0 1 46 0.001s 0.002s 13 0 0 2 59 0.001s 0.002s 14 0 0 1 36 0.001s 0.002s 15 0 0 1 40 0.002s 0.002s 16 0 0 1 24 0.001s 0.002s 17 0 0 1 29 0.001s 0.002s 18 0 0 2 39 0.001s 0.002s 19 0 0 1 23 0.001s 0.002s 20 0 0 0 9 0.001s 0.001s 21 0 0 36 61 0.001s 0.003s 22 0 0 36 34 0.001s 0.002s 23 0 0 1 16 0.001s 0.002s Apr 28 00 0 0 6 80 0.001s 0.002s 01 0 0 0 51 0.001s 0.002s 02 0 0 0 35 0.002s 0.002s 03 0 0 0 14 0.001s 0.002s 04 0 0 0 0 0s 0s 05 0 0 0 12 0.001s 0.001s 06 0 0 1 140 0.001s 0.002s 07 0 0 1 147 0.001s 0.002s 08 0 0 0 19 0.001s 0.001s 09 0 0 2 148 0.001s 0.003s 10 0 0 1 70 0.001s 0.002s 11 0 0 0 121 0.001s 0.002s 12 0 0 1 760 0.001s 0.002s 13 0 0 22 166 0.001s 0.002s 14 0 209 1,721 362 0.361s 0.01s 15 0 0 1,614 295 0.637s 0.014s 16 0 0 2,152 218 0.134s 0.028s 17 0 0 860 378 0.001s 0.002s 18 0 1 0 126 0.033s 0.006s 19 0 3 0 37 0.001s 0.002s 20 0 33 3,252 381 0.002s 0.006s 21 0 0 117 76 0.001s 0.002s 22 0 14 1,743 209 0.003s 0.005s 23 0 297 2,689 650 0.419s 0.015s Apr 29 00 0 5 198 134 0.001s 0.002s 01 0 194 65 108 0.008s 0.002s 02 0 211 6,135 642 0.177s 0.017s 03 0 148 5,833 520 0.781s 0.042s 04 0 0 777 206 0.005s 0.002s 05 0 110 34 151 0.038s 0.002s 06 0 0 893 209 0.002s 0.003s 07 0 1 0 39 0.001s 0.002s 08 0 4 0 89 0.001s 0.002s 09 0 1 0 117 0.001s 0.002s 10 0 1 0 95 0.001s 0.002s 11 0 10 0 157 0.001s 0.002s 12 0 0 0 61 0.001s 0.001s 13 0 34 0 122 0.001s 0.002s 14 0 15 0 239 0.001s 0.003s 15 0 1 0 15 0.001s 0.001s 16 0 9 0 146 0.001s 0.003s 17 0 0 0 14 0.001s 0.001s 18 0 37 0 107 0.001s 0.003s 19 0 1 0 31 0.001s 0.002s 20 0 1 0 21 0.001s 0.002s 21 0 1 0 30 0.001s 0.002s 22 0 7 0 51 0.001s 0.002s 23 0 1 0 20 0.001s 0.002s Apr 30 00 0 7 0 87 0.001s 0.002s 01 0 2 0 52 0.001s 0.002s 02 0 0 0 37 0.001s 0.002s 03 0 1 0 46 0.001s 0.002s 04 0 1 0 34 0.001s 0.002s 05 0 1 0 36 0.001s 0.002s 06 0 4 0 48 0.001s 0.002s 07 0 0 0 27 0.001s 0.002s 08 0 1 0 36 0.001s 0.002s 09 0 0 0 29 0.001s 0.002s 10 0 1 0 73 0.001s 0.002s 11 0 0 0 62 0.001s 0.002s 12 0 1 0 28 0.001s 0.002s 13 0 0 0 19 0.001s 0.002s 14 0 0 0 123 0.001s 0.002s 15 0 1 0 28 0.001s 0.002s 16 0 0 0 129 0.001s 0.002s 17 0 1 0 23 0.001s 0.002s 18 0 1 0 49 0.001s 0.002s 19 0 0 0 33 0.001s 0.002s 20 0 1 0 32 0.001s 0.002s 21 0 0 0 25 0.001s 0.002s 22 0 1 0 24 0.001s 0.002s 23 0 1 0 31 0.001s 0.002s May 01 00 0 3 0 78 0.001s 0.002s 01 0 0 0 39 0.001s 0.002s 02 0 0 0 39 0.001s 0.002s 03 0 1 0 37 0.001s 0.002s 04 0 0 0 50 0.001s 0.002s 05 0 0 0 19 0.001s 0.002s 06 0 0 0 27 0.001s 0.001s 07 0 35 0 82 0.001s 0.003s 08 0 0 0 81 0.001s 0.002s 09 0 1 0 124 0.001s 0.002s 10 0 3 0 135 0.001s 0.002s 11 0 0 0 120 0.001s 0.002s 12 0 0 0 65 0.001s 0.002s 13 0 1 0 96 0.001s 0.002s 14 0 0 0 64 0.001s 0.002s 15 0 1 0 119 0.001s 0.002s 16 0 0 0 70 0.002s 0.002s 17 0 1 0 36 0.001s 0.002s 18 0 0 0 27 0.001s 0.002s 19 0 0 0 29 0.002s 0.002s 20 0 1 0 23 0.001s 0.002s 21 0 0 0 35 0.001s 0.002s 22 0 1 0 33 0.001s 0.002s 23 0 0 0 30 0.001s 0.002s May 02 00 0 3 0 92 0.001s 0.002s 01 0 1 0 60 0.001s 0.002s 02 0 0 0 43 0.001s 0.002s 03 0 0 0 42 0.001s 0.002s 04 0 0 0 46 0.001s 0.002s 05 0 1 0 20 0.001s 0.001s 06 0 37 0 96 0.001s 0.003s 07 0 0 0 74 0.001s 0.002s 08 0 17 0 118 0.001s 0.002s 09 0 1 0 123 0.001s 0.002s 10 0 0 0 127 0.001s 0.002s 11 0 1 0 76 0.001s 0.002s 12 0 0 0 33 0.001s 0.002s 13 0 2 0 89 0.001s 0.002s 14 0 1 0 148 0.001s 0.002s 15 0 0 0 75 0.001s 0.002s 16 0 1 0 34 0.001s 0.002s 17 0 1 0 29 0.001s 0.002s 18 0 0 0 35 0.001s 0.002s 19 0 1 0 20 0.001s 0.002s 20 0 1 0 34 0.001s 0.002s 21 0 1 0 31 0.001s 0.002s 22 0 0 0 30 0.001s 0.002s 23 0 1 0 29 0.001s 0.002s May 03 00 0 3 0 85 0.001s 0.002s 01 0 0 0 40 0.001s 0.002s 02 0 0 0 40 0.001s 0.002s 03 0 0 0 37 0.001s 0.002s 04 0 1 0 48 0.001s 0.002s 05 0 0 0 31 0.001s 0.002s 06 0 0 0 40 0.001s 0.002s 07 0 1 0 41 0.001s 0.002s 08 0 1 0 29 0.001s 0.002s 09 0 12 0 42 0.001s 0.002s 10 0 0 0 30 0.001s 0.002s 11 0 0 0 13 0.001s 0.001s 12 0 35 0 69 0.001s 0.003s 13 0 0 0 23 0.001s 0.002s 14 0 0 0 50 0.001s 0.002s 15 0 0 0 23 0.001s 0.002s 16 0 15 0 47 0.001s 0.002s 17 0 0 0 24 0.001s 0.002s 18 0 1 0 48 0.001s 0.002s 19 0 0 0 13 0.001s 0.001s 20 0 1 0 49 0.001s 0.003s 21 0 0 0 21 0.001s 0.002s 22 0 0 0 30 0.001s 0.002s 23 0 0 0 28 0.001s 0.002s Day Hour Count Avg time (sec) Apr 27 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 28 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 29 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 30 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 01 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 02 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 03 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Apr 27 00 123,249.00 kB 170,267.00 kB 01 61,964.00 kB 153,330.33 kB 02 30,641.50 kB 125,181.50 kB 03 4,152.50 kB 102,171.50 kB 04 4,678.00 kB 83,605.50 kB 05 4,629.00 kB 71,996.00 kB 06 221,430.33 kB 550,765.67 kB 07 6,305.00 kB 447,067.00 kB 08 26,652.33 kB 370,115.33 kB 09 29,080.50 kB 289,590.00 kB 10 84,180.00 kB 250,583.50 kB 11 6,096.00 kB 204,140.00 kB 12 8,934.00 kB 166,810.50 kB 13 15,640.00 kB 137,835.50 kB 14 7,485.00 kB 113,485.00 kB 15 9,048.00 kB 93,510.00 kB 16 8,388.00 kB 77,430.50 kB 17 10,232.00 kB 64,586.00 kB 18 10,736.50 kB 54,284.50 kB 19 8,914.50 kB 45,818.00 kB 20 7,087.00 kB 40,163.00 kB 21 194,550.67 kB 515,052.33 kB 22 297,994.00 kB 559,881.50 kB 23 6,612.00 kB 454,803.00 kB Apr 28 00 46,891.50 kB 377,469.00 kB 01 2,512.00 kB 306,220.00 kB 02 1,684.00 kB 248,426.50 kB 03 127.00 kB 201,283.00 kB 04 0.00 kB 0.00 kB 05 1,687.00 kB 171,799.00 kB 06 2,792.50 kB 147,280.50 kB 07 6,618.00 kB 120,267.00 kB 08 2,665.00 kB 103,258.00 kB 09 13,601.33 kB 87,353.67 kB 10 3,247.00 kB 67,747.50 kB 11 3,811.50 kB 55,573.00 kB 12 10,823.50 kB 46,433.00 kB 13 179,586.50 kB 337,182.00 kB 14 7,774,969.50 kB 7,774,969.50 kB 15 8,809,639.00 kB 8,825,776.00 kB 16 8,816,317.25 kB 8,823,455.00 kB 17 7,291,097.00 kB 8,669,276.50 kB 18 13,585.00 kB 6,927,281.67 kB 19 26,805.00 kB 5,316,288.00 kB 20 8,882,620.50 kB 9,089,556.50 kB 21 1,224,663.00 kB 7,991,889.00 kB 22 6,620,606.60 kB 9,001,032.80 kB 23 8,815,717.60 kB 8,836,537.20 kB Apr 29 00 1,916,100.00 kB 7,911,478.50 kB 01 1,870,864.50 kB 6,600,795.00 kB 02 8,013,952.00 kB 8,387,218.69 kB 03 8,889,830.55 kB 9,007,126.09 kB 04 6,357,480.00 kB 8,796,591.00 kB 05 1,185,198.50 kB 7,466,516.50 kB 06 5,052,309.67 kB 8,358,394.00 kB 07 5,845.50 kB 6,589,351.00 kB 08 34,206.00 kB 5,343,919.00 kB 09 6,077.00 kB 4,329,686.50 kB 10 7,115.00 kB 3,508,256.50 kB 11 84,796.00 kB 2,857,463.00 kB 12 5,281.00 kB 2,437,666.00 kB 13 273,828.00 kB 2,135,933.50 kB 14 83,262.33 kB 1,663,566.33 kB 15 6,666.00 kB 1,348,054.00 kB 16 49,343.67 kB 1,108,251.33 kB 17 8,543.00 kB 896,430.00 kB 18 201,107.67 kB 782,516.67 kB 19 7,717.50 kB 601,917.50 kB 20 7,226.00 kB 488,929.50 kB 21 8,401.50 kB 397,642.00 kB 22 58,460.50 kB 328,488.00 kB 23 6,148.00 kB 271,958.50 kB Apr 30 00 63,183.50 kB 232,478.00 kB 01 13,567.00 kB 189,843.00 kB 02 3,615.00 kB 155,427.00 kB 03 7,361.00 kB 127,260.50 kB 04 4,357.00 kB 103,904.50 kB 05 4,790.00 kB 85,037.50 kB 06 33,736.00 kB 75,333.00 kB 07 4,553.00 kB 61,907.50 kB 08 3,656.00 kB 50,854.00 kB 09 4,696.50 kB 42,058.00 kB 10 4,043.00 kB 34,848.50 kB 11 3,588.50 kB 28,927.00 kB 12 3,497.00 kB 24,100.50 kB 13 2,204.50 kB 19,992.50 kB 14 2,952.00 kB 16,714.50 kB 15 3,823.00 kB 14,264.50 kB 16 4,313.00 kB 12,299.00 kB 17 3,340.50 kB 10,654.50 kB 18 9,932.00 kB 15,771.00 kB 19 4,798.00 kB 13,567.50 kB 20 4,136.50 kB 11,869.00 kB 21 4,120.00 kB 10,390.00 kB 22 4,303.00 kB 9,222.00 kB 23 5,357.50 kB 8,423.00 kB May 01 00 27,136.00 kB 49,997.00 kB 01 1,811.00 kB 40,839.50 kB 02 1,938.50 kB 33,439.50 kB 03 2,338.50 kB 27,510.50 kB 04 3,178.00 kB 22,920.00 kB 05 791.00 kB 18,731.50 kB 06 2,685.00 kB 16,302.00 kB 07 189,477.67 kB 508,107.00 kB 08 2,790.00 kB 390,198.50 kB 09 2,974.00 kB 316,616.50 kB 10 25,007.00 kB 259,235.50 kB 11 2,961.00 kB 212,527.50 kB 12 2,658.50 kB 172,645.50 kB 13 5,545.00 kB 140,719.00 kB 14 2,234.50 kB 114,631.50 kB 15 3,197.00 kB 93,392.00 kB 16 3,122.50 kB 76,276.00 kB 17 3,199.50 kB 62,360.00 kB 18 3,150.50 kB 51,125.50 kB 19 3,406.00 kB 42,058.00 kB 20 3,177.00 kB 34,664.00 kB 21 3,668.00 kB 28,774.00 kB 22 5,724.00 kB 24,214.00 kB 23 3,784.00 kB 20,511.50 kB May 02 00 24,303.50 kB 27,784.50 kB 01 4,052.50 kB 24,087.50 kB 02 1,627.50 kB 19,850.00 kB 03 1,931.50 kB 16,432.50 kB 04 2,212.00 kB 13,732.50 kB 05 2,237.00 kB 12,026.00 kB 06 202,523.00 kB 543,697.00 kB 07 2,482.50 kB 417,429.00 kB 08 143,068.00 kB 365,322.00 kB 09 3,159.00 kB 296,510.50 kB 10 4,748.00 kB 241,040.00 kB 11 3,107.00 kB 195,827.50 kB 12 4,289.50 kB 159,361.00 kB 13 13,019.50 kB 130,806.50 kB 14 5,734.50 kB 107,749.00 kB 15 5,672.00 kB 88,369.00 kB 16 5,856.50 kB 72,685.00 kB 17 5,694.00 kB 59,981.00 kB 18 4,892.00 kB 49,547.00 kB 19 4,548.00 kB 40,994.00 kB 20 5,770.00 kB 34,224.50 kB 21 7,476.50 kB 28,978.00 kB 22 6,442.50 kB 24,918.00 kB 23 4,669.50 kB 21,108.00 kB May 03 00 24,345.50 kB 44,793.00 kB 01 1,652.00 kB 36,596.50 kB 02 1,713.50 kB 29,966.50 kB 03 1,910.00 kB 24,620.00 kB 04 2,488.50 kB 20,414.00 kB 05 2,210.00 kB 16,921.50 kB 06 2,562.50 kB 14,219.00 kB 07 8,579.50 kB 14,085.00 kB 08 2,278.00 kB 11,860.00 kB 09 100,415.50 kB 188,488.00 kB 10 2,477.50 kB 153,141.00 kB 11 2,214.00 kB 130,921.00 kB 12 186,502.00 kB 501,305.67 kB 13 1,645.50 kB 384,788.50 kB 14 3,336.50 kB 312,287.50 kB 15 2,308.00 kB 253,376.50 kB 16 118,506.00 kB 227,722.00 kB 17 2,656.50 kB 184,970.50 kB 18 4,876.50 kB 150,742.50 kB 19 3,215.00 kB 128,991.00 kB 20 3,234.33 kB 105,472.33 kB 21 3,101.50 kB 81,599.00 kB 22 3,523.50 kB 66,756.00 kB 23 3,520.00 kB 3,520.00 kB -
Temporary Files
Size of temporary files
Key values
- 20.00 GiB Temp Files size Peak
- 2025-04-28 19:44:27 Date
Number of temporary files
Key values
- 24 per second Temp Files Peak
- 2025-04-29 02:43:18 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Apr 27 00 9 12.10 MiB 1.34 MiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 28 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 240 2.18 GiB 9.29 MiB 14 696 33.30 GiB 48.99 MiB 15 277 23.93 GiB 88.47 MiB 16 0 0 0 17 0 0 0 18 80 78.49 GiB 1004.62 MiB 19 100 91.46 GiB 936.50 MiB 20 245 101.77 GiB 425.38 MiB 21 175 16.91 GiB 98.96 MiB 22 166 33.13 GiB 204.38 MiB 23 0 0 0 Apr 29 00 9 10.12 MiB 1.12 MiB 01 0 0 0 02 498 78.16 GiB 160.71 MiB 03 516 83.32 GiB 165.34 MiB 04 0 0 0 05 0 0 0 06 9 8.28 GiB 942.03 MiB 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 43 42.22 GiB 1005.49 MiB 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 30 00 9 7.35 MiB 836.44 KiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 01 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 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 02 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 03 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 1,283 78.19 GiB 8.00 KiB 1.00 GiB 62.41 MiB select * from pgbulkload.pg_bulkload (?);-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2025-04-28 19:56:30 Duration: 7m5s Database: ctdprd51 User: load Application: pg_bulkload
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2025-04-28 20:28:55 Duration: 5m23s
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2025-04-28 14:24:35 Duration: 4m24s
2 932 158.72 GiB 128.00 KiB 1.00 GiB 174.39 MiB vacuum full analyze;-
VACUUM FULL ANALYZE;
Date: 2025-04-29 03:24:44 Duration: 48m59s
-
VACUUM FULL ANALYZE;
Date: 2025-04-29 02:35:45 Duration: 0ms
3 79 78.52 GiB 537.41 MiB 1.00 GiB 1017.84 MiB select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.gene_go_annot gga, pub2.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in;-
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in;
Date: 2025-04-28 19:44:24 Duration: 0ms
4 62 2.02 GiB 6.97 MiB 1.00 GiB 33.34 MiB cluster pub2.term;-
CLUSTER pub2.TERM;
Date: 2025-04-29 02:35:03 Duration: 1m4s
-
CLUSTER pub2.TERM;
Date: 2025-04-29 02:34:07 Duration: 0ms
5 53 52.03 GiB 28.55 MiB 1.00 GiB 1005.22 MiB select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.object_type where cd = ?), ptr.term_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.phenotype_term_reference ptr, pub2.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in;-
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in;
Date: 2025-04-28 18:56:44 Duration: 0ms
6 35 4.31 GiB 72.88 MiB 169.02 MiB 126.02 MiB vacuum full analyze db_link;-
vacuum FULL analyze db_link;
Date: 2025-04-28 15:45:15 Duration: 1m54s
-
vacuum FULL analyze db_link;
Date: 2025-04-28 15:43:41 Duration: 0ms
7 35 1.17 GiB 21.88 MiB 49.66 MiB 34.11 MiB vacuum full analyze ixn_actor;-
vacuum FULL analyze ixn_actor;
Date: 2025-04-28 15:42:44 Duration: 23s825ms
-
vacuum FULL analyze ixn_actor;
Date: 2025-04-28 15:42:27 Duration: 0ms
8 27 29.58 MiB 16.00 KiB 3.15 MiB 1.10 MiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2025-04-30 00:05:08 Duration: 0ms
9 27 26.46 GiB 469.09 MiB 1.00 GiB 1003.45 MiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, to_char(cdr.mod_tm, ?) from pub2.gene_chem_reference gcr, pub2.chem_disease_reference cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = ? and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;-
select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;
Date: 2025-04-28 18:09:46 Duration: 0ms
10 25 16.96 GiB 8.00 KiB 1.00 GiB 694.59 MiB alter table pub2.term_enrichment_agent add constraint term_enrichment_agent_pk primary key (term_id, enriched_term_id, agent_term_id);-
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2025-04-28 22:37:10 Duration: 3m4s
-
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2025-04-28 22:37:09 Duration: 0ms
11 25 384.09 MiB 11.36 MiB 19.52 MiB 15.36 MiB vacuum full analyze ixn;-
vacuum FULL analyze ixn;
Date: 2025-04-28 15:43:10 Duration: 7s507ms
-
vacuum FULL analyze ixn;
Date: 2025-04-28 15:43:05 Duration: 0ms
12 20 12.96 GiB 8.00 KiB 1.00 GiB 663.61 MiB create unique index gene_disease_reference_ak1 on pub2.gene_disease_reference using btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);-
CREATE UNIQUE INDEX gene_disease_reference_ak1 ON pub2.gene_disease_reference USING btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);
Date: 2025-04-28 20:02:31 Duration: 3m22s
-
CREATE UNIQUE INDEX gene_disease_reference_ak1 ON pub2.gene_disease_reference USING btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);
Date: 2025-04-28 20:02:30 Duration: 0ms
13 20 749.52 MiB 22.95 MiB 63.59 MiB 37.48 MiB cluster pub2.term_label;-
CLUSTER pub2.TERM_LABEL;
Date: 2025-04-29 02:35:42 Duration: 39s434ms
-
CLUSTER pub2.TERM_LABEL;
Date: 2025-04-29 02:35:09 Duration: 0ms
14 20 217.32 MiB 6.11 MiB 15.55 MiB 10.87 MiB vacuum full analyze term;-
vacuum FULL analyze TERM;
Date: 2025-04-28 15:42:37 Duration: 10s852ms
-
vacuum FULL analyze TERM;
Date: 2025-04-28 15:42:28 Duration: 0ms
15 15 12.11 GiB 404.87 MiB 1.00 GiB 826.88 MiB create index ix_term_enrich_agent_enr_term on pub2.term_enrichment_agent using btree (enriched_term_id);-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);
Date: 2025-04-28 22:39:01 Duration: 1m51s
-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);
Date: 2025-04-28 22:39:01 Duration: 0ms
16 15 7.20 GiB 8.00 KiB 1.00 GiB 491.56 MiB alter table pub2.gene_disease_reference add constraint gene_disease_reference_pk primary key (id);-
ALTER TABLE pub2.gene_disease_reference ADD CONSTRAINT gene_disease_reference_pk PRIMARY KEY (id);
Date: 2025-04-28 19:59:08 Duration: 1m19s
-
ALTER TABLE pub2.gene_disease_reference ADD CONSTRAINT gene_disease_reference_pk PRIMARY KEY (id);
Date: 2025-04-28 19:59:08 Duration: 0ms Database: ctdprd51 User: pub2
17 10 644.16 MiB 8.00 KiB 130.02 MiB 64.42 MiB alter table pub2.gene_disease add constraint gene_disease_pk primary key (gene_id, disease_id);-
ALTER TABLE pub2.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2025-04-28 22:53:26 Duration: 5s994ms
-
ALTER TABLE pub2.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2025-04-28 22:53:26 Duration: 0ms Database: ctdprd51 User: pub2
18 10 7.20 GiB 420.61 MiB 1.00 GiB 737.34 MiB create index ix_gene_disease_reference_ixn on pub2.gene_disease_reference using btree (ixn_id);-
CREATE INDEX ix_gene_disease_reference_ixn ON pub2.gene_disease_reference USING btree (ixn_id);
Date: 2025-04-28 20:12:05 Duration: 1m28s
-
CREATE INDEX ix_gene_disease_reference_ixn ON pub2.gene_disease_reference USING btree (ixn_id);
Date: 2025-04-28 20:12:05 Duration: 0ms
19 10 7.20 GiB 420.61 MiB 1.00 GiB 737.34 MiB create index ix_gene_disease_ref_dis_gene on pub2.gene_disease_reference using btree (disease_id, gene_id);-
CREATE INDEX ix_gene_disease_ref_dis_gene ON pub2.gene_disease_reference USING btree (disease_id, gene_id);
Date: 2025-04-28 20:10:37 Duration: 1m55s
-
CREATE INDEX ix_gene_disease_ref_dis_gene ON pub2.gene_disease_reference USING btree (disease_id, gene_id);
Date: 2025-04-28 20:10:36 Duration: 0ms
20 10 7.20 GiB 420.61 MiB 1.00 GiB 737.34 MiB create index ix_gene_disease_ref_src_db on pub2.gene_disease_reference using btree (source_acc_db_id);-
CREATE INDEX ix_gene_disease_ref_src_db ON pub2.gene_disease_reference USING btree (source_acc_db_id);
Date: 2025-04-28 20:03:21 Duration: 50s413ms
-
CREATE INDEX ix_gene_disease_ref_src_db ON pub2.gene_disease_reference USING btree (source_acc_db_id);
Date: 2025-04-28 20:03:21 Duration: 0ms
21 10 457.52 MiB 8.00 KiB 97.03 MiB 45.75 MiB create unique index chem_disease_reference_ak1 on pub2.chem_disease_reference using btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);-
CREATE UNIQUE INDEX chem_disease_reference_ak1 ON pub2.chem_disease_reference USING btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);
Date: 2025-04-28 20:19:17 Duration: 6s288ms
-
CREATE UNIQUE INDEX chem_disease_reference_ak1 ON pub2.chem_disease_reference USING btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);
Date: 2025-04-28 20:19:17 Duration: 0ms
22 10 7.20 GiB 420.61 MiB 1.00 GiB 737.34 MiB create index ix_gene_disease_ref_reference on pub2.gene_disease_reference using btree (reference_id);-
CREATE INDEX ix_gene_disease_ref_reference ON pub2.gene_disease_reference USING btree (reference_id);
Date: 2025-04-28 20:08:41 Duration: 1m22s
-
CREATE INDEX ix_gene_disease_ref_reference ON pub2.gene_disease_reference USING btree (reference_id);
Date: 2025-04-28 20:08:41 Duration: 0ms
23 10 65.75 MiB 8.00 KiB 13.61 MiB 6.58 MiB alter table pub2.phenotype_term add constraint phenotype_term_pk primary key (phenotype_id, term_id);-
ALTER TABLE pub2.phenotype_term ADD CONSTRAINT phenotype_term_pk PRIMARY KEY (phenotype_id, term_id);
Date: 2025-04-28 22:53:55 Duration: 0ms
24 10 7.20 GiB 420.61 MiB 1.00 GiB 737.34 MiB create index ix_gene_disease_ref_net_sc on pub2.gene_disease_reference using btree (network_score);-
CREATE INDEX ix_gene_disease_ref_net_sc ON pub2.gene_disease_reference USING btree (network_score);
Date: 2025-04-28 20:16:46 Duration: 3m2s
-
CREATE INDEX ix_gene_disease_ref_net_sc ON pub2.gene_disease_reference USING btree (network_score);
Date: 2025-04-28 20:16:46 Duration: 0ms
25 10 7.20 GiB 419.72 MiB 1.00 GiB 737.34 MiB create index ix_gene_disease_ref_mod_tm on pub2.gene_disease_reference using btree (mod_tm);-
CREATE INDEX ix_gene_disease_ref_mod_tm ON pub2.gene_disease_reference USING btree (mod_tm);
Date: 2025-04-28 20:13:44 Duration: 1m39s
-
CREATE INDEX ix_gene_disease_ref_mod_tm ON pub2.gene_disease_reference USING btree (mod_tm);
Date: 2025-04-28 20:13:44 Duration: 0ms
26 10 1.08 GiB 8.00 KiB 244.70 MiB 110.83 MiB alter table pub2.phenotype_term_reference add constraint phenotype_term_reference_pk primary key (id);-
ALTER TABLE pub2.phenotype_term_reference ADD CONSTRAINT phenotype_term_reference_pk PRIMARY KEY (id);
Date: 2025-04-28 20:17:05 Duration: 18s202ms
-
ALTER TABLE pub2.phenotype_term_reference ADD CONSTRAINT phenotype_term_reference_pk PRIMARY KEY (id);
Date: 2025-04-28 20:17:05 Duration: 0ms
27 10 251.11 MiB 8.00 KiB 52.60 MiB 25.11 MiB alter table pub2.chem_disease_reference add constraint chem_disease_reference_pk primary key (id);-
ALTER TABLE pub2.chem_disease_reference ADD CONSTRAINT chem_disease_reference_pk PRIMARY KEY (id);
Date: 2025-04-28 20:19:10 Duration: 2s567ms
-
ALTER TABLE pub2.chem_disease_reference ADD CONSTRAINT chem_disease_reference_pk PRIMARY KEY (id);
Date: 2025-04-28 20:19:10 Duration: 0ms
28 10 7.20 GiB 424.32 MiB 1.00 GiB 737.34 MiB create index ix_gene_disease_ref_disease on pub2.gene_disease_reference using btree (disease_id);-
CREATE INDEX ix_gene_disease_ref_disease ON pub2.gene_disease_reference USING btree (disease_id);
Date: 2025-04-28 20:07:18 Duration: 1m27s
-
CREATE INDEX ix_gene_disease_ref_disease ON pub2.gene_disease_reference USING btree (disease_id);
Date: 2025-04-28 20:07:18 Duration: 0ms
29 10 161.03 MiB 8.00 KiB 34.19 MiB 16.10 MiB alter table pub2.term_enrichment add constraint term_enrichment_pk primary key (term_id, enriched_term_id);-
ALTER TABLE pub2.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2025-04-28 22:20:12 Duration: 2s22ms
-
ALTER TABLE pub2.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2025-04-28 22:20:11 Duration: 0ms Database: ctdprd51 User: pub2
30 10 7.20 GiB 420.77 MiB 1.00 GiB 737.34 MiB create index ix_gene_disease_ref_chem on pub2.gene_disease_reference using btree (via_chem_id);-
CREATE INDEX ix_gene_disease_ref_chem ON pub2.gene_disease_reference USING btree (via_chem_id);
Date: 2025-04-28 20:05:51 Duration: 1m32s
-
CREATE INDEX ix_gene_disease_ref_chem ON pub2.gene_disease_reference USING btree (via_chem_id);
Date: 2025-04-28 20:05:51 Duration: 0ms
31 10 7.20 GiB 256.22 MiB 1.00 GiB 737.34 MiB create index ix_gene_disease_ref_source_cd on pub2.gene_disease_reference using btree (source_cd);-
CREATE INDEX ix_gene_disease_ref_source_cd ON pub2.gene_disease_reference USING btree (source_cd);
Date: 2025-04-28 20:04:19 Duration: 57s464ms
-
CREATE INDEX ix_gene_disease_ref_source_cd ON pub2.gene_disease_reference USING btree (source_cd);
Date: 2025-04-28 20:04:19 Duration: 0ms
32 9 8.28 GiB 286.24 MiB 1.00 GiB 942.03 MiB select pub2.maint_cached_value_refresh_data_metrics ();-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2025-04-29 06:22:41 Duration: 36m40s
-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2025-04-29 06:18:07 Duration: 0ms
33 8 65.70 MiB 8.00 KiB 16.80 MiB 8.21 MiB alter table pub2.chem_disease add constraint chem_disease_pk primary key (chem_id, disease_id);-
ALTER TABLE pub2.chem_disease ADD CONSTRAINT chem_disease_pk PRIMARY KEY (chem_id, disease_id);
Date: 2025-04-28 22:53:58 Duration: 0ms
34 6 5.73 GiB 747.38 MiB 1.00 GiB 977.90 MiB select distinct ptr.phenotype_id, cdr.disease_id, ( select id from pub2.object_type where cd = ?), cdr.reference_id, ptr.reference_id, cdr.ixn_id, cdr.chem_id, ( select id from pub2.object_type where cd = ?), cdr.mod_tm from pub2.chem_disease_reference cdr, pub2.phenotype_term_reference ptr where cdr.chem_id = ptr.term_id;-
SELECT DISTINCT ptr.phenotype_id, cdr.disease_id, ( select id from pub2.OBJECT_TYPE where cd = 'disease'), cdr.reference_id, ptr.reference_id, cdr.ixn_id, cdr.chem_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), cdr.mod_tm FROM pub2.CHEM_DISEASE_REFERENCE cdr, pub2.PHENOTYPE_TERM_REFERENCE ptr WHERE cdr.chem_id = ptr.term_id;
Date: 2025-04-28 19:48:31 Duration: 0ms
35 5 161.01 MiB 30.94 MiB 33.25 MiB 32.20 MiB create index ix_term_enrich_tgt_match on pub2.term_enrichment using btree (target_match_qty);-
CREATE INDEX ix_term_enrich_tgt_match ON pub2.term_enrichment USING btree (target_match_qty);
Date: 2025-04-28 22:20:15 Duration: 1s894ms
-
CREATE INDEX ix_term_enrich_tgt_match ON pub2.term_enrichment USING btree (target_match_qty);
Date: 2025-04-28 22:20:14 Duration: 0ms
36 5 161.00 MiB 30.52 MiB 33.28 MiB 32.20 MiB create index ix_term_enrich_obj_type on pub2.term_enrichment using btree (object_type_id);-
CREATE INDEX ix_term_enrich_obj_type ON pub2.term_enrichment USING btree (object_type_id);
Date: 2025-04-28 22:20:13 Duration: 1s85ms
-
CREATE INDEX ix_term_enrich_obj_type ON pub2.term_enrichment USING btree (object_type_id);
Date: 2025-04-28 22:20:13 Duration: 0ms
37 5 251.07 MiB 45.18 MiB 53.92 MiB 50.21 MiB create index ix_chem_disease_reference_dis on pub2.chem_disease_reference using btree (disease_id);-
CREATE INDEX ix_chem_disease_reference_dis ON pub2.chem_disease_reference USING btree (disease_id);
Date: 2025-04-28 20:19:19 Duration: 2s815ms
-
CREATE INDEX ix_chem_disease_reference_dis ON pub2.chem_disease_reference USING btree (disease_id);
Date: 2025-04-28 20:19:19 Duration: 0ms
38 5 643.98 MiB 125.71 MiB 132.62 MiB 128.80 MiB create index ix_gene_disease_ind_chem_qty on pub2.gene_disease using btree (indirect_chem_qty) where (indirect_chem_qty > ?);-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub2.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2025-04-28 22:53:54 Duration: 6s744ms
-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub2.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2025-04-28 22:53:54 Duration: 0ms
39 5 1.08 GiB 191.04 MiB 237.91 MiB 221.64 MiB create index ix_phenotype_term_ref_evidence_cd on pub2.phenotype_term_reference using btree (evidence_cd);-
CREATE INDEX ix_phenotype_term_ref_evidence_cd ON pub2.phenotype_term_reference USING btree (evidence_cd);
Date: 2025-04-28 20:18:09 Duration: 8s737ms
-
CREATE INDEX ix_phenotype_term_ref_evidence_cd ON pub2.phenotype_term_reference USING btree (evidence_cd);
Date: 2025-04-28 20:18:09 Duration: 0ms
40 5 251.06 MiB 48.29 MiB 51.53 MiB 50.21 MiB create index ix_chem_disease_reference_ref on pub2.chem_disease_reference using btree (reference_id);-
CREATE INDEX ix_chem_disease_reference_ref ON pub2.chem_disease_reference USING btree (reference_id);
Date: 2025-04-28 20:19:22 Duration: 2s817ms
-
CREATE INDEX ix_chem_disease_reference_ref ON pub2.chem_disease_reference USING btree (reference_id);
Date: 2025-04-28 20:19:22 Duration: 0ms
41 5 1.08 GiB 209.53 MiB 240.34 MiB 221.64 MiB create index ix_phenotype_term_reference_ixn_id on pub2.phenotype_term_reference using btree (ixn_id);-
CREATE INDEX ix_phenotype_term_reference_ixn_id ON pub2.phenotype_term_reference USING btree (ixn_id);
Date: 2025-04-28 20:18:41 Duration: 11s270ms
-
CREATE INDEX ix_phenotype_term_reference_ixn_id ON pub2.phenotype_term_reference USING btree (ixn_id);
Date: 2025-04-28 20:18:41 Duration: 0ms
42 5 1.08 GiB 207.41 MiB 227.64 MiB 221.64 MiB create index ix_phenotype_term_reference_term_reference_id on pub2.phenotype_term_reference using btree (term_reference_id);-
CREATE INDEX ix_phenotype_term_reference_term_reference_id ON pub2.phenotype_term_reference USING btree (term_reference_id);
Date: 2025-04-28 20:18:30 Duration: 11s388ms
-
CREATE INDEX ix_phenotype_term_reference_term_reference_id ON pub2.phenotype_term_reference USING btree (term_reference_id);
Date: 2025-04-28 20:18:30 Duration: 0ms
43 5 251.06 MiB 44.45 MiB 52.58 MiB 50.21 MiB create index ix_chem_disease_reference_ixn on pub2.chem_disease_reference using btree (ixn_id);-
CREATE INDEX ix_chem_disease_reference_ixn ON pub2.chem_disease_reference USING btree (ixn_id);
Date: 2025-04-28 20:19:33 Duration: 2s838ms
-
CREATE INDEX ix_chem_disease_reference_ixn ON pub2.chem_disease_reference USING btree (ixn_id);
Date: 2025-04-28 20:19:33 Duration: 0ms
44 5 1.08 GiB 211.59 MiB 228.03 MiB 221.64 MiB create index ix_phenotype_term_ref_taxon_id on pub2.phenotype_term_reference using btree (taxon_id);-
CREATE INDEX ix_phenotype_term_ref_taxon_id ON pub2.phenotype_term_reference USING btree (taxon_id);
Date: 2025-04-28 20:18:00 Duration: 8s126ms
-
CREATE INDEX ix_phenotype_term_ref_taxon_id ON pub2.phenotype_term_reference USING btree (taxon_id);
Date: 2025-04-28 20:18:00 Duration: 0ms
45 5 1.08 GiB 146.78 MiB 290.87 MiB 221.64 MiB create index ix_phenotype_term_ref_term_id on pub2.phenotype_term_reference using btree (term_id);-
CREATE INDEX ix_phenotype_term_ref_term_id ON pub2.phenotype_term_reference USING btree (term_id);
Date: 2025-04-28 20:17:30 Duration: 12s351ms
-
CREATE INDEX ix_phenotype_term_ref_term_id ON pub2.phenotype_term_reference USING btree (term_id);
Date: 2025-04-28 20:17:30 Duration: 0ms
46 5 251.06 MiB 47.66 MiB 52.71 MiB 50.21 MiB create index ix_chem_disease_ref_source_cd on pub2.chem_disease_reference using btree (source_cd);-
CREATE INDEX ix_chem_disease_ref_source_cd ON pub2.chem_disease_reference USING btree (source_cd);
Date: 2025-04-28 20:19:25 Duration: 2s833ms
-
CREATE INDEX ix_chem_disease_ref_source_cd ON pub2.chem_disease_reference USING btree (source_cd);
Date: 2025-04-28 20:19:25 Duration: 0ms
47 5 1.08 GiB 200.14 MiB 240.27 MiB 221.64 MiB create index ix_phenotype_term_reference_source_acc_db_id on pub2.phenotype_term_reference using btree (source_acc_db_id);-
CREATE INDEX ix_phenotype_term_reference_source_acc_db_id ON pub2.phenotype_term_reference USING btree (source_acc_db_id);
Date: 2025-04-28 20:18:19 Duration: 9s895ms
-
CREATE INDEX ix_phenotype_term_reference_source_acc_db_id ON pub2.phenotype_term_reference USING btree (source_acc_db_id);
Date: 2025-04-28 20:18:19 Duration: 0ms
48 5 160.99 MiB 30.19 MiB 34.77 MiB 32.20 MiB create index ix_term_enrich_enr_obj_type on pub2.term_enrichment using btree (enriched_object_type_id);-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub2.term_enrichment USING btree (enriched_object_type_id);
Date: 2025-04-28 22:20:16 Duration: 1s845ms
-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub2.term_enrichment USING btree (enriched_object_type_id);
Date: 2025-04-28 22:20:16 Duration: 0ms
49 5 251.07 MiB 47.80 MiB 51.27 MiB 50.21 MiB create index ix_chem_disease_ref_net_sc on pub2.chem_disease_reference using btree (network_score);-
CREATE INDEX ix_chem_disease_ref_net_sc ON pub2.chem_disease_reference USING btree (network_score);
Date: 2025-04-28 20:19:41 Duration: 5s56ms
-
CREATE INDEX ix_chem_disease_ref_net_sc ON pub2.chem_disease_reference USING btree (network_score);
Date: 2025-04-28 20:19:41 Duration: 0ms
50 5 224.77 MiB 43.05 MiB 46.35 MiB 44.95 MiB create index ix_term_enrich_corr_p_val on pub2.term_enrichment using btree (corrected_p_val);-
CREATE INDEX ix_term_enrich_corr_p_val ON pub2.term_enrichment USING btree (corrected_p_val);
Date: 2025-04-28 22:20:21 Duration: 4s653ms
-
CREATE INDEX ix_term_enrich_corr_p_val ON pub2.term_enrichment USING btree (corrected_p_val);
Date: 2025-04-28 22:20:21 Duration: 0ms
51 5 1.08 GiB 198.43 MiB 246.85 MiB 221.64 MiB create index ix_phenotype_term_ref_reference_id on pub2.phenotype_term_reference using btree (reference_id);-
CREATE INDEX ix_phenotype_term_ref_reference_id ON pub2.phenotype_term_reference USING btree (reference_id);
Date: 2025-04-28 20:17:52 Duration: 12s574ms
-
CREATE INDEX ix_phenotype_term_ref_reference_id ON pub2.phenotype_term_reference USING btree (reference_id);
Date: 2025-04-28 20:17:52 Duration: 0ms
52 5 251.06 MiB 49.71 MiB 50.80 MiB 50.21 MiB create index ix_chem_disease_reference_gene on pub2.chem_disease_reference using btree (via_gene_id);-
CREATE INDEX ix_chem_disease_reference_gene ON pub2.chem_disease_reference USING btree (via_gene_id);
Date: 2025-04-28 20:19:30 Duration: 2s819ms
-
CREATE INDEX ix_chem_disease_reference_gene ON pub2.chem_disease_reference USING btree (via_gene_id);
Date: 2025-04-28 20:19:30 Duration: 0ms
53 5 1.08 GiB 147.49 MiB 278.21 MiB 221.64 MiB create index ix_phenotype_term_ref_phenotype_id on pub2.phenotype_term_reference using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_ref_phenotype_id ON pub2.phenotype_term_reference USING btree (phenotype_id);
Date: 2025-04-28 20:17:17 Duration: 12s531ms
-
CREATE INDEX ix_phenotype_term_ref_phenotype_id ON pub2.phenotype_term_reference USING btree (phenotype_id);
Date: 2025-04-28 20:17:17 Duration: 0ms
54 5 1.52 GiB 294.45 MiB 318.55 MiB 311.04 MiB create index ix_phenotype_term_ref_ids on pub2.phenotype_term_reference using btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);-
CREATE INDEX ix_phenotype_term_ref_ids ON pub2.phenotype_term_reference USING btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);
Date: 2025-04-28 20:19:08 Duration: 14s780ms
-
CREATE INDEX ix_phenotype_term_ref_ids ON pub2.phenotype_term_reference USING btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);
Date: 2025-04-28 20:19:08 Duration: 0ms
55 5 65.70 MiB 12.81 MiB 13.51 MiB 13.14 MiB create index ix_phenotype_term_phenotype_id on pub2.phenotype_term using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_phenotype_id ON pub2.phenotype_term USING btree (phenotype_id);
Date: 2025-04-28 22:53:55 Duration: 0ms
56 5 224.75 MiB 43.78 MiB 45.83 MiB 44.95 MiB create index ix_term_enrich_raw_p_val on pub2.term_enrichment using btree (raw_p_val);-
CREATE INDEX ix_term_enrich_raw_p_val ON pub2.term_enrichment USING btree (raw_p_val);
Date: 2025-04-28 22:20:26 Duration: 4s846ms
-
CREATE INDEX ix_term_enrich_raw_p_val ON pub2.term_enrichment USING btree (raw_p_val);
Date: 2025-04-28 22:20:26 Duration: 0ms
57 5 644.12 MiB 108.04 MiB 138.38 MiB 128.82 MiB create index ix_gene_disease_disease on pub2.gene_disease using btree (disease_id);-
CREATE INDEX ix_gene_disease_disease ON pub2.gene_disease USING btree (disease_id);
Date: 2025-04-28 22:53:32 Duration: 6s593ms
-
CREATE INDEX ix_gene_disease_disease ON pub2.gene_disease USING btree (disease_id);
Date: 2025-04-28 22:53:32 Duration: 0ms
58 5 644.12 MiB 121.02 MiB 134.95 MiB 128.82 MiB create index ix_gene_disease_network_score on pub2.gene_disease using btree (network_score);-
CREATE INDEX ix_gene_disease_network_score ON pub2.gene_disease USING btree (network_score);
Date: 2025-04-28 22:53:46 Duration: 13s997ms
-
CREATE INDEX ix_gene_disease_network_score ON pub2.gene_disease USING btree (network_score);
Date: 2025-04-28 22:53:46 Duration: 0ms
59 5 251.07 MiB 45.43 MiB 51.88 MiB 50.21 MiB create index ix_chem_disease_ref_mod_tm on pub2.chem_disease_reference using btree (mod_tm);-
CREATE INDEX ix_chem_disease_ref_mod_tm ON pub2.chem_disease_reference USING btree (mod_tm);
Date: 2025-04-28 20:19:36 Duration: 2s950ms
-
CREATE INDEX ix_chem_disease_ref_mod_tm ON pub2.chem_disease_reference USING btree (mod_tm);
Date: 2025-04-28 20:19:36 Duration: 0ms
60 5 1.08 GiB 209.65 MiB 231.77 MiB 221.64 MiB create index ix_phenotype_term_ref_via_term_id on pub2.phenotype_term_reference using btree (via_term_id);-
CREATE INDEX ix_phenotype_term_ref_via_term_id ON pub2.phenotype_term_reference USING btree (via_term_id);
Date: 2025-04-28 20:18:53 Duration: 11s633ms
-
CREATE INDEX ix_phenotype_term_ref_via_term_id ON pub2.phenotype_term_reference USING btree (via_term_id);
Date: 2025-04-28 20:18:53 Duration: 0ms
61 5 65.71 MiB 12.69 MiB 13.69 MiB 13.14 MiB create index ix_phenotype_term_term_id on pub2.phenotype_term using btree (term_id);-
CREATE INDEX ix_phenotype_term_term_id ON pub2.phenotype_term USING btree (term_id);
Date: 2025-04-28 22:53:56 Duration: 0ms
62 5 40.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_gene_disease_exp_ref_qty on pub2.gene_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_gene_disease_exp_ref_qty ON pub2.gene_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2025-04-28 22:53:54 Duration: 0ms
63 5 1.08 GiB 146.66 MiB 284.38 MiB 221.64 MiB create index ix_phenotype_term_ref_object_type_id on pub2.phenotype_term_reference using btree (term_object_type_id);-
CREATE INDEX ix_phenotype_term_ref_object_type_id ON pub2.phenotype_term_reference USING btree (term_object_type_id);
Date: 2025-04-28 20:17:39 Duration: 9s595ms
-
CREATE INDEX ix_phenotype_term_ref_object_type_id ON pub2.phenotype_term_reference USING btree (term_object_type_id);
Date: 2025-04-28 20:17:39 Duration: 0ms
64 5 251.06 MiB 48.78 MiB 51.85 MiB 50.21 MiB create index ix_chem_disease_ref_src_db on pub2.chem_disease_reference using btree (source_acc_db_id);-
CREATE INDEX ix_chem_disease_ref_src_db ON pub2.chem_disease_reference USING btree (source_acc_db_id);
Date: 2025-04-28 20:19:27 Duration: 1s939ms
-
CREATE INDEX ix_chem_disease_ref_src_db ON pub2.chem_disease_reference USING btree (source_acc_db_id);
Date: 2025-04-28 20:19:27 Duration: 0ms
65 5 688.00 KiB 128.00 KiB 144.00 KiB 137.60 KiB create index ix_gene_disease_cur_ref_qty on pub2.gene_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_gene_disease_cur_ref_qty ON pub2.gene_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2025-04-28 22:53:47 Duration: 0ms
66 4 64.78 MiB 15.70 MiB 16.62 MiB 16.20 MiB create index ix_chem_disease_ind_gene_qty on pub2.chem_disease using btree (indirect_gene_qty) where (indirect_gene_qty > ?);-
CREATE INDEX ix_chem_disease_ind_gene_qty ON pub2.chem_disease USING btree (indirect_gene_qty) WHERE (indirect_gene_qty > 0);
Date: 2025-04-28 22:54:01 Duration: 0ms
67 4 65.66 MiB 16.05 MiB 16.66 MiB 16.42 MiB create index ix_chem_disease_disease on pub2.chem_disease using btree (disease_id);-
CREATE INDEX ix_chem_disease_disease ON pub2.chem_disease USING btree (disease_id);
Date: 2025-04-28 22:54:00 Duration: 0ms
68 4 65.66 MiB 14.94 MiB 17.45 MiB 16.42 MiB create index ix_chem_disease_network_score on pub2.chem_disease using btree (network_score);-
CREATE INDEX ix_chem_disease_network_score ON pub2.chem_disease USING btree (network_score);
Date: 2025-04-28 22:54:00 Duration: 1s466ms
-
CREATE INDEX ix_chem_disease_network_score ON pub2.chem_disease USING btree (network_score);
Date: 2025-04-28 22:54:00 Duration: 0ms
69 4 32.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_chem_disease_exp_ref_qty on pub2.chem_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_chem_disease_exp_ref_qty ON pub2.chem_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2025-04-28 22:54:01 Duration: 0ms
70 4 14.10 MiB 8.00 KiB 7.15 MiB 3.53 MiB alter table pub2.phenotype_term_axn add constraint phenotype_term_axn_pk primary key (phenotype_id, term_id, action_type_nm, action_degree_type_nm);-
ALTER TABLE pub2.phenotype_term_axn ADD CONSTRAINT phenotype_term_axn_pk PRIMARY KEY (phenotype_id, term_id, action_type_nm, action_degree_type_nm);
Date: 2025-04-28 22:53:57 Duration: 0ms
71 4 1.99 MiB 496.00 KiB 528.00 KiB 510.00 KiB create index ix_chem_disease_cur_ref_qty on pub2.chem_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_chem_disease_cur_ref_qty ON pub2.chem_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2025-04-28 22:54:00 Duration: 0ms
72 2 6.39 MiB 2.75 MiB 3.64 MiB 3.20 MiB create index ix_phenotype_term_axn_term_id on pub2.phenotype_term_axn using btree (term_id);-
CREATE INDEX ix_phenotype_term_axn_term_id ON pub2.phenotype_term_axn USING btree (term_id);
Date: 2025-04-28 22:53:57 Duration: 0ms
73 2 6.39 MiB 2.80 MiB 3.59 MiB 3.20 MiB create index ix_phenotype_term_axn_phenotype_id on pub2.phenotype_term_axn using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_axn_phenotype_id ON pub2.phenotype_term_axn USING btree (phenotype_id);
Date: 2025-04-28 22:53:57 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-04-28 15:08:34 - Database: ctdprd51 - User: load - Application: pg_bulkload ]
2 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:46 ]
3 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:46 ]
4 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:46 ]
5 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
6 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
7 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
8 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
9 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
10 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
11 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
12 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
13 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
14 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
15 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
16 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
17 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
18 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
19 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
20 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-04-28 18:09:47 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 209.48 sec Highest CPU-cost vacuum
Table pub2.gene_disease
Database ctdprd51 - 2025-04-28 23:30:14 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 209.48 sec Highest CPU-cost vacuum
Table pub2.gene_disease
Database ctdprd51 - 2025-04-28 23:30:14 Date
Analyzes per table
Key values
- pubc.log_query (212) Main table analyzed (database ctdprd51)
- 331 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 212 ctdprd51.pub2.term_set_enrichment 10 ctdprd51.pub2.term_set_enrichment_agent 7 ctdprd51.pub2.term_comp_agent 4 ctdprd51.pg_catalog.pg_class 4 ctdprd51.pub2.term 4 ctdprd51.pub2.reference 3 ctdprd51.pub2.term_comp 3 ctdprd51.pg_catalog.pg_attribute 3 ctdprd51.pub2.phenotype_term 2 ctdprd51.pub2.db 2 ctdprd51.pg_catalog.pg_type 2 ctdprd51.pub2.dag_node 2 ctdprd51.pg_catalog.pg_depend 2 ctdprd51.pg_catalog.pg_index 2 postgres.pg_catalog.pg_shdepend 2 ctdprd51.edit.db_link 2 ctdprd51.pub2.gene_go_annot 1 ctdprd51.pub1.term_set_enrichment_agent 1 ctdprd51.edit.action_type_path 1 ctdprd51.pub1.term_comp_agent 1 ctdprd51.edit.db 1 ctdprd51.edit.action_degree 1 ctdprd51.pub2.reference_exp 1 ctdprd51.edit.slim_term 1 ctdprd51.pub2.exp_stressor 1 ctdprd51.edit.db_report 1 ctdprd51.pub2.db_report 1 ctdprd51.pub2.exp_anatomy 1 ctdprd51.pg_catalog.pg_attrdef 1 ctdprd51.pub2.geographic_region 1 ctdprd51.pub2.gene_disease 1 ctdprd51.pub2.exp_event_assay_method 1 ctdprd51.pub2.exp_outcome 1 ctdprd51.pub2.exp_receptor_race 1 ctdprd51.pub2.ixn 1 ctdprd51.pub2.medium 1 ctdprd51.edit.reference_db_link 1 ctdprd51.pub2.reference_party_role 1 ctdprd51.pub2.slim_term_mapping 1 ctdprd51.pub2.exp_receptor_gender 1 ctdprd51.pub1.term_set_enrichment 1 ctdprd51.edit.db_report_site 1 ctdprd51.edit.geographic_region 1 ctdprd51.pub2.chem_disease 1 ctdprd51.pub2.term_label 1 ctdprd51.edit.list_db_report 1 ctdprd51.pub2.gene_gene_reference 1 ctdprd51.pub2.exp_receptor 1 ctdprd51.edit.term_label_type 1 ctdprd51.pg_catalog.pg_shdepend 1 ctdprd51.pub2.gene_chem_ref_gene_form 1 ctdprd51.pub2.exposure 1 ctdprd51.edit.action_type 1 ctdprd51.pg_catalog.pg_description 1 ctdprd51.pg_catalog.pg_trigger 1 ctdprd51.pub2.db_report_site 1 ctdprd51.edit.gender 1 ctdprd51.pub2.gene_gene 1 ctdprd51.pub2.country 1 ctdprd51.pub2.exp_study_factor 1 ctdprd51.edit.action_degree_type 1 ctdprd51.pub2.gene_gene_ref_throughput 1 ctdprd51.pub2.reference_party 1 ctdprd51.pub2.exp_event_location 1 ctdprd51.pub2.action_type 1 ctdprd51.edit.object_note 1 ctdprd51.pub2.gene_taxon 1 ctdprd51.edit.country 1 ctdprd51.edit.reference_ixn_qualifier 1 ctdprd51.pub2.exp_stressor_stressor_src 1 ctdprd51.load.data_load 1 ctdprd51.pub2.img 1 ctdprd51.pub2.exp_receptor_tobacco_use 1 ctdprd51.pub2.exp_event_project 1 ctdprd51.pub2.term_pathway 1 ctdprd51.pg_catalog.pg_constraint 1 ctdprd51.pub2.db_link 1 ctdprd51.pub2.list_db_report 1 ctdprd51.pub2.exp_event 1 ctdprd51.pub2.dag_edge 1 ctdprd51.pub2.term_reference 1 Total 331 Vacuums per table
Key values
- pubc.log_query (156) Main table vacuumed on database ctdprd51
- 257 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 156 29 711,547 0 44,101 0 83,355 73,862 6,726 31,988,226 ctdprd51.pub2.term_set_enrichment 6 0 5,196 0 690 0 0 2,309 11 197,405 ctdprd51.pg_toast.pg_toast_2619 6 6 24,376 0 8,205 0 60,171 20,514 5,327 3,208,085 ctdprd51.pg_catalog.pg_statistic 5 5 3,412 0 851 0 585 2,279 651 2,759,838 ctdprd51.pub2.term_set_enrichment_agent 5 0 201,824 0 10,397 0 0 100,777 8 6,012,529 ctdprd51.pg_toast.pg_toast_486223 4 0 160 0 7 0 0 11 1 9,362 ctdprd51.pub2.term 4 2 1,415,356 0 176,511 0 32 856,146 303,060 1,389,977,751 ctdprd51.pub2.reference 3 2 648,145 0 95,531 0 0 434,322 50,033 217,124,205 ctdprd51.pg_catalog.pg_class 3 3 1,093 0 120 0 31 536 115 539,883 ctdprd51.pub2.term_label 2 1 849,007 0 21,157 0 0 647,267 88,529 323,340,377 ctdprd51.pub2.dag_node 2 1 404,775 0 590 0 0 317,014 579 95,623,558 ctdprd51.pub2.term_comp_agent 2 0 302 0 26 0 0 63 4 24,819 ctdprd51.pub2.phenotype_term 2 2 984,616 0 104,260 0 0 789,687 58,335 224,521,132 ctdprd51.pg_catalog.pg_attribute 2 2 1,226 0 156 0 90 598 128 717,413 ctdprd51.pg_catalog.pg_type 1 1 155 0 18 0 0 78 18 62,680 ctdprd51.pub2.exp_outcome 1 0 823 0 3 0 0 354 1 29,305 ctdprd51.pub2.exp_event_assay_method 1 0 5,203 0 4 0 0 2,573 2 163,362 ctdprd51.pg_toast.pg_toast_8026573 1 1 90 0 3 0 0 50 2 11,669 ctdprd51.pub2.reference_party_role 1 0 13,511 0 4 0 0 6,728 1 405,371 ctdprd51.edit.reference_db_link 1 0 5,733 0 1,613 0 0 3,658 1 224,148 ctdprd51.pub2.ixn 1 1 1,532,242 0 45,988 0 0 1,301,298 114,764 113,919,988 ctdprd51.pub2.exp_receptor_race 1 0 1,387 0 3 0 0 658 1 47,241 ctdprd51.pg_toast.pg_toast_8026642 1 0 88,823 0 4 0 0 44,404 2 2,636,359 ctdprd51.pub2.gene_gene_reference 1 0 30,905 0 4 0 0 15,376 2 918,771 ctdprd51.edit.list_db_report 1 0 53 0 0 0 0 6 1 9,178 ctdprd51.pub2.exp_receptor_gender 1 0 2,832 0 3 0 0 1,401 1 91,078 ctdprd51.pub2.slim_term_mapping 1 0 634 0 3 0 0 262 1 23,877 ctdprd51.pub1.term_set_enrichment 1 0 13,595 0 6,419 0 0 6,745 3 418,067 ctdprd51.pub2.chem_disease 1 1 271,489 0 35,206 0 0 165,939 65,254 219,590,014 ctdprd51.pub2.exp_receptor 1 0 7,689 0 3 0 0 3,816 1 233,563 ctdprd51.edit.action_type_path 1 0 48 0 0 0 0 4 1 9,059 ctdprd51.edit.db 1 0 93 0 3 0 0 17 2 13,526 ctdprd51.pub1.term_comp_agent 1 0 2,135 0 923 0 0 919 2 70,008 ctdprd51.pub2.gene_go_annot 1 0 595,685 0 185,363 0 0 297,727 12 17,659,450 ctdprd51.pub1.term_set_enrichment_agent 1 0 395,428 0 291,688 0 0 312,403 11 18,517,465 ctdprd51.edit.evidence 1 0 32 0 2 0 0 3 2 15,243 ctdprd51.pub2.exp_stressor 1 0 6,585 0 3 0 0 3,263 1 200,936 ctdprd51.pub2.reference_exp 1 0 334 0 3 0 0 130 1 16,089 ctdprd51.edit.action_degree 1 0 45 0 0 0 0 12 1 9,499 ctdprd51.pub2.exp_anatomy 1 0 127 0 4 0 0 35 2 15,516 ctdprd51.pub2.db 1 1 149 0 13 0 0 20 10 36,011 ctdprd51.pub2.gene_disease 1 1 2,940,989 0 589,519 0 0 1,629,017 565,207 2,069,938,798 ctdprd51.pub2.exp_stressor_stressor_src 1 0 2,863 0 4 0 0 1,403 1 91,196 ctdprd51.pub2.gene_taxon 1 0 156,409 0 5 0 0 78,146 3 4,635,427 ctdprd51.edit.country 1 0 97 0 0 0 0 8 1 9,381 ctdprd51.edit.db_link 1 0 7,575 0 3 0 0 3,658 1 224,217 ctdprd51.pub2.exp_event_project 1 0 2,278 0 3 0 0 1,117 1 74,322 ctdprd51.pub2.img 1 0 1,109 0 5 0 0 524 2 42,503 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 1,234 0 3 0 0 582 2 46,161 ctdprd51.edit.actor_form_type 1 0 82 0 1 0 0 3 1 8,747 ctdprd51.pg_catalog.pg_constraint 1 1 342 0 30 0 0 143 29 88,169 ctdprd51.pub2.term_pathway 1 0 3,331 0 4 0 0 1,614 2 105,737 ctdprd51.pub2.dag_edge 1 0 1,053 0 5 0 0 482 2 40,937 ctdprd51.pub2.term_reference 1 0 38,187 0 5 0 0 19,039 2 1,133,812 ctdprd51.pub2.db_link 1 0 286,182 0 131,419 0 0 142,968 5 8,476,319 ctdprd51.pub2.exp_event 1 0 13,275 0 3 0 0 6,560 1 395,459 ctdprd51.pub2.exposure 1 0 3,964 0 3 0 0 1,912 1 121,227 ctdprd51.pg_catalog.pg_depend 1 1 776 0 91 0 65 350 95 344,719 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 33,775 0 5 0 0 16,850 2 1,006,553 ctdprd51.pg_catalog.pg_trigger 1 1 422 0 25 0 0 159 30 121,429 ctdprd51.pg_catalog.pg_description 1 1 273 0 28 0 42 135 21 88,851 ctdprd51.pg_catalog.pg_index 1 1 245 0 26 0 0 136 22 68,534 ctdprd51.edit.ixn_type 1 0 47 0 2 0 0 3 2 9,923 ctdprd51.pub2.gene_gene 1 0 12,213 0 5 0 0 6,066 2 369,717 ctdprd51.pub2.exp_event_location 1 0 3,655 0 3 0 0 1,776 1 113,203 postgres.pg_catalog.pg_shdepend 1 1 171 0 62 0 0 108 45 151,407 ctdprd51.pub2.exp_study_factor 1 0 114 0 15 0 0 11 1 9,068 ctdprd51.pub2.reference_party 1 0 5,119 0 3 0 0 2,526 1 157,453 ctdprd51.pub2.gene_gene_ref_throughput 1 0 14,799 0 4 0 0 7,377 2 445,794 Total 257 65 11,757,439 444,342 1,751,163 0 144,371 7,335,937 1,259,092 4,759,711,119 Tuples removed per table
Key values
- pub2.gene_disease (33703335) Main table with removed tuples on database ctdprd51
- 71086165 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pub2.gene_disease 1 1 33,703,335 33,703,335 0 0 495,638 ctdprd51.pub2.phenotype_term 2 2 20,646,428 6,874,114 0 0 257,203 ctdprd51.pub2.term_label 2 1 6,479,379 12,958,758 0 0 284,507 ctdprd51.pub2.chem_disease 1 1 3,435,261 3,435,261 0 0 50,470 ctdprd51.pub2.ixn 1 1 2,422,194 2,369,061 0 0 561,298 ctdprd51.pub2.term 4 2 2,116,712 6,383,366 0 0 400,842 ctdprd51.pub2.dag_node 2 1 1,732,974 3,450,984 0 0 124,625 ctdprd51.pubc.log_query 156 29 311,106 9,683,432 6,559,963 0 440,313 ctdprd51.pub2.reference 3 2 203,301 599,232 0 0 203,545 ctdprd51.pg_toast.pg_toast_2619 6 6 24,069 125,264 148 0 75,552 ctdprd51.pg_catalog.pg_statistic 5 5 2,433 15,597 265 0 2,050 ctdprd51.pg_catalog.pg_depend 1 1 2,311 13,358 0 16 138 ctdprd51.pg_catalog.pg_attribute 2 2 1,857 17,168 0 27 434 ctdprd51.pg_catalog.pg_description 1 1 1,214 5,113 0 9 85 ctdprd51.pg_catalog.pg_trigger 1 1 642 1,797 0 22 45 postgres.pg_catalog.pg_shdepend 1 1 612 1,558 0 1 26 ctdprd51.pg_catalog.pg_class 3 3 589 5,982 0 0 294 ctdprd51.pg_catalog.pg_index 1 1 391 1,167 0 11 37 ctdprd51.pg_catalog.pg_constraint 1 1 274 879 0 12 36 ctdprd51.pg_catalog.pg_type 1 1 191 1,153 0 3 34 ctdprd51.pub2.db 1 1 132 132 0 0 7 ctdprd51.edit.country 1 0 122 249 0 0 4 ctdprd51.edit.list_db_report 1 0 107 183 0 0 3 ctdprd51.edit.action_type_path 1 0 106 106 0 0 2 ctdprd51.edit.action_degree 1 0 104 219 0 0 6 ctdprd51.edit.db 1 0 86 132 0 0 8 ctdprd51.pg_toast.pg_toast_8026573 1 1 73 71 0 0 21 ctdprd51.edit.evidence 1 0 54 18 0 0 1 ctdprd51.edit.actor_form_type 1 0 54 18 0 0 1 ctdprd51.edit.ixn_type 1 0 54 6 0 0 1 ctdprd51.pub2.exp_outcome 1 0 0 35,010 0 0 353 ctdprd51.pub2.exp_event_assay_method 1 0 0 256,419 0 0 2,572 ctdprd51.pub2.reference_party_role 1 0 0 1,244,397 0 0 6,727 ctdprd51.edit.reference_db_link 1 0 0 328,207 0 0 3,657 ctdprd51.pub2.exp_receptor_race 1 0 0 101,405 0 0 657 ctdprd51.pg_toast.pg_toast_8026642 1 0 0 240,042 0 0 44,403 ctdprd51.pub2.gene_gene_reference 1 0 0 1,411,120 0 0 15,375 ctdprd51.pub2.exp_receptor_gender 1 0 0 200,981 0 0 1,400 ctdprd51.pub2.slim_term_mapping 1 0 0 32,823 0 0 261 ctdprd51.pub1.term_set_enrichment 1 0 0 2,056,054 0 0 34,056 ctdprd51.pg_toast.pg_toast_486223 4 0 0 139 0 0 27 ctdprd51.pub2.exp_receptor 1 0 0 205,091 0 0 3,815 ctdprd51.pub2.term_comp_agent 2 0 0 10,563 0 0 104 ctdprd51.pub1.term_comp_agent 1 0 0 266,206 0 0 2,224 ctdprd51.pub2.term_set_enrichment 6 0 0 430,805 0 0 7,133 ctdprd51.pub2.gene_go_annot 1 0 0 46,744,870 0 0 297,726 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 143,312,136 0 0 1,628,548 ctdprd51.pub2.exp_stressor 1 0 0 225,038 0 0 3,262 ctdprd51.pub2.term_set_enrichment_agent 5 0 0 22,437,233 0 0 254,971 ctdprd51.pub2.reference_exp 1 0 0 3,556 0 0 129 ctdprd51.pub2.exp_anatomy 1 0 0 3,994 0 0 34 ctdprd51.pub2.exp_stressor_stressor_src 1 0 0 316,672 0 0 1,402 ctdprd51.pub2.gene_taxon 1 0 0 12,268,740 0 0 78,145 ctdprd51.edit.db_link 1 0 0 328,207 0 0 3,657 ctdprd51.pub2.exp_event_project 1 0 0 106,487 0 0 1,116 ctdprd51.pub2.img 1 0 0 50,680 0 0 523 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 0 82,240 0 0 581 ctdprd51.pub2.term_pathway 1 0 0 135,792 0 0 1,613 ctdprd51.pub2.dag_edge 1 0 0 88,931 0 0 481 ctdprd51.pub2.term_reference 1 0 0 3,521,868 0 0 19,038 ctdprd51.pub2.db_link 1 0 0 19,752,067 0 0 142,967 ctdprd51.pub2.exp_event 1 0 0 222,555 0 0 6,559 ctdprd51.pub2.exposure 1 0 0 231,789 0 0 1,911 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 0 3,110,067 0 0 16,849 ctdprd51.pub2.gene_gene 1 0 0 1,121,881 0 0 6,065 ctdprd51.pub2.exp_event_location 1 0 0 268,309 0 0 1,775 ctdprd51.pub2.exp_study_factor 1 0 0 1,680 0 0 10 ctdprd51.pub2.reference_party 1 0 0 452,060 0 0 2,525 ctdprd51.pub2.gene_gene_ref_throughput 1 0 0 1,418,675 0 0 7,376 Total 257 65 71,086,165 342,672,502 6,560,376 101 5,497,253 Pages removed per table
Key values
- pg_catalog.pg_attribute (27) Main table with removed pages on database ctdprd51
- 101 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_catalog.pg_attribute 2 2 1857 27 ctdprd51.pg_catalog.pg_trigger 1 1 642 22 ctdprd51.pg_catalog.pg_depend 1 1 2311 16 ctdprd51.pg_catalog.pg_constraint 1 1 274 12 ctdprd51.pg_catalog.pg_index 1 1 391 11 ctdprd51.pg_catalog.pg_description 1 1 1214 9 ctdprd51.pg_catalog.pg_type 1 1 191 3 postgres.pg_catalog.pg_shdepend 1 1 612 1 ctdprd51.pub2.exp_outcome 1 0 0 0 ctdprd51.pub2.exp_event_assay_method 1 0 0 0 ctdprd51.pg_toast.pg_toast_8026573 1 1 73 0 ctdprd51.pub2.reference_party_role 1 0 0 0 ctdprd51.edit.reference_db_link 1 0 0 0 ctdprd51.pub2.ixn 1 1 2422194 0 ctdprd51.pub2.exp_receptor_race 1 0 0 0 ctdprd51.pg_toast.pg_toast_8026642 1 0 0 0 ctdprd51.pub2.term_label 2 1 6479379 0 ctdprd51.pub2.gene_gene_reference 1 0 0 0 ctdprd51.edit.list_db_report 1 0 107 0 ctdprd51.pub2.exp_receptor_gender 1 0 0 0 ctdprd51.pub2.dag_node 2 1 1732974 0 ctdprd51.pub2.slim_term_mapping 1 0 0 0 ctdprd51.pub1.term_set_enrichment 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 4 0 0 0 ctdprd51.pub2.chem_disease 1 1 3435261 0 ctdprd51.pub2.exp_receptor 1 0 0 0 ctdprd51.pg_catalog.pg_statistic 5 5 2433 0 ctdprd51.edit.action_type_path 1 0 106 0 ctdprd51.edit.db 1 0 86 0 ctdprd51.pub2.term_comp_agent 2 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pub2.term_set_enrichment 6 0 0 0 ctdprd51.pub2.gene_go_annot 1 0 0 0 ctdprd51.pub2.phenotype_term 2 2 20646428 0 ctdprd51.pub2.reference 3 2 203301 0 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 0 ctdprd51.edit.evidence 1 0 54 0 ctdprd51.pub2.exp_stressor 1 0 0 0 ctdprd51.pub2.term_set_enrichment_agent 5 0 0 0 ctdprd51.pub2.reference_exp 1 0 0 0 ctdprd51.edit.action_degree 1 0 104 0 ctdprd51.pub2.exp_anatomy 1 0 0 0 ctdprd51.pub2.db 1 1 132 0 ctdprd51.pub2.gene_disease 1 1 33703335 0 ctdprd51.pub2.exp_stressor_stressor_src 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 6 6 24069 0 ctdprd51.pub2.gene_taxon 1 0 0 0 ctdprd51.edit.country 1 0 122 0 ctdprd51.edit.db_link 1 0 0 0 ctdprd51.pub2.exp_event_project 1 0 0 0 ctdprd51.pub2.img 1 0 0 0 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 0 0 ctdprd51.pub2.term 4 2 2116712 0 ctdprd51.edit.actor_form_type 1 0 54 0 ctdprd51.pub2.term_pathway 1 0 0 0 ctdprd51.pub2.dag_edge 1 0 0 0 ctdprd51.pub2.term_reference 1 0 0 0 ctdprd51.pub2.db_link 1 0 0 0 ctdprd51.pub2.exp_event 1 0 0 0 ctdprd51.pub2.exposure 1 0 0 0 ctdprd51.pg_catalog.pg_class 3 3 589 0 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 0 0 ctdprd51.edit.ixn_type 1 0 54 0 ctdprd51.pubc.log_query 156 29 311106 0 ctdprd51.pub2.gene_gene 1 0 0 0 ctdprd51.pub2.exp_event_location 1 0 0 0 ctdprd51.pub2.exp_study_factor 1 0 0 0 ctdprd51.pub2.reference_party 1 0 0 0 ctdprd51.pub2.gene_gene_ref_throughput 1 0 0 0 Total 257 65 71,086,165 101 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Apr 27 00 6 6 01 2 4 02 1 3 03 1 2 04 1 1 05 2 1 06 0 2 07 1 1 08 0 1 09 1 0 10 0 1 11 0 1 12 1 1 13 0 0 14 0 1 15 1 1 16 0 0 17 0 1 18 0 1 19 1 0 20 1 1 21 0 1 22 1 0 23 0 0 Apr 28 00 3 5 01 1 4 02 1 2 03 0 0 04 0 0 05 0 1 06 1 1 07 0 2 08 1 2 09 0 1 10 1 1 11 0 1 12 12 13 13 10 18 14 0 1 15 1 2 16 15 20 17 2 3 18 1 2 19 1 0 20 0 2 21 1 1 22 18 22 23 9 10 Apr 29 00 56 5 01 23 6 02 2 3 03 6 7 04 1 3 05 4 5 06 1 2 07 0 1 08 1 1 09 0 1 10 0 0 11 0 1 12 0 0 13 4 6 14 0 2 15 0 1 16 1 1 17 2 3 18 0 0 19 1 1 20 0 0 21 0 0 22 0 1 23 0 0 Apr 30 00 3 5 01 1 5 02 2 3 03 1 4 04 1 2 05 1 2 06 1 1 07 0 1 08 0 0 09 1 1 10 0 0 11 0 0 12 0 1 13 0 0 14 1 0 15 0 0 16 0 1 17 0 0 18 0 1 19 0 1 20 0 0 21 0 0 22 1 0 23 1 1 May 01 00 2 5 01 1 4 02 1 3 03 0 4 04 2 1 05 0 1 06 2 4 07 1 2 08 0 1 09 1 1 10 0 1 11 0 1 12 1 0 13 0 1 14 0 0 15 0 1 16 0 0 17 1 1 18 0 0 19 0 1 20 0 1 21 1 0 22 0 1 23 0 0 May 02 00 2 6 01 1 4 02 1 2 03 1 3 04 1 2 05 2 4 06 1 2 07 0 1 08 1 2 09 0 1 10 0 1 11 1 1 12 0 2 13 1 2 14 1 1 15 0 2 16 1 1 17 0 1 18 0 0 19 1 0 20 1 1 21 0 0 22 0 1 23 0 0 May 03 00 3 5 01 0 4 02 1 2 03 1 2 04 0 2 05 1 2 06 1 1 07 0 1 08 0 1 09 2 3 10 0 1 11 1 3 12 0 0 13 1 0 14 0 1 15 0 0 16 1 2 17 0 0 18 1 1 19 0 1 20 0 0 21 0 1 22 0 0 23 1 1 - 209.48 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
- 22,723 Total read queries
- 502 Total write queries
Queries by database
Key values
- unknown Main database
- 17,090 Requests
- 1d2h23m16s (unknown)
- Main time consuming database
Database Request type Count Duration ctdprd51 Total 6,166 7h6m56s copy to 49 29m24s cte 36 2m2s ddl 1 3s332ms insert 2 14m46s others 3 6s28ms select 6,074 6h20m32s tcl 1 1s594ms postgres Total 1 1s507ms select 1 1s507ms unknown Total 17,090 1d2h23m16s copy to 289 2h4m2s cte 35 1m ddl 52 42m30s insert 28 44m27s others 29 55m48s select 16,648 21h20m46s update 9 34m40s Queries by user
Key values
- unknown Main user
- 37,582 Requests
User Request type Count Duration edit Total 2 2s944ms select 2 2s944ms editeu Total 31 2m select 31 2m load Total 88 59m5s others 2 4s975ms select 86 59m1s postgres Total 108 1h4m17s copy to 108 1h4m17s pub1 Total 2 4s502ms select 2 4s502ms pub2 Total 18 30m16s ddl 2 6s665ms insert 4 29m32s select 10 33s868ms tcl 2 3s188ms pubc Total 4 7s81ms others 4 7s81ms pubeu Total 12,634 11h2m51s cte 64 3m29s select 12,570 10h59m21s qaeu Total 149 1h37m29s cte 22 1m19s select 127 1h36m10s unknown Total 37,582 2d6h46m25s copy to 769 7h17m2s cte 82 2m22s ddl 101 1h23m53s insert 55 1h26m9s others 40 59m12s select 36,517 1d18h28m23s update 18 1h9m21s zbx_monitor Total 4 5s267ms select 4 5s267ms Duration by user
Key values
- 2d6h46m25s (unknown) Main time consuming user
User Request type Count Duration edit Total 2 2s944ms select 2 2s944ms editeu Total 31 2m select 31 2m load Total 88 59m5s others 2 4s975ms select 86 59m1s postgres Total 108 1h4m17s copy to 108 1h4m17s pub1 Total 2 4s502ms select 2 4s502ms pub2 Total 18 30m16s ddl 2 6s665ms insert 4 29m32s select 10 33s868ms tcl 2 3s188ms pubc Total 4 7s81ms others 4 7s81ms pubeu Total 12,634 11h2m51s cte 64 3m29s select 12,570 10h59m21s qaeu Total 149 1h37m29s cte 22 1m19s select 127 1h36m10s unknown Total 37,582 2d6h46m25s copy to 769 7h17m2s cte 82 2m22s ddl 101 1h23m53s insert 55 1h26m9s others 40 59m12s select 36,517 1d18h28m23s update 18 1h9m21s zbx_monitor Total 4 5s267ms select 4 5s267ms Queries by host
Key values
- unknown Main host
- 50,622 Requests
- 2d22h2m47s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 23,174 Requests
- 1d8h45m29s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:3358723 Total 1 1s472ms select 1 1s472ms pgAdmin 4 - CONN:9901181 Total 1 1s594ms tcl 1 1s594ms pg_bulkload Total 24 14m58s select 24 14m58s pg_dump Total 49 29m24s copy to 49 29m24s psql Total 8 18s561ms ddl 1 3s332ms others 2 3s540ms select 5 11s687ms unknown Total 23,174 1d8h45m29s copy to 289 2h4m2s cte 71 3m3s ddl 52 42m30s insert 30 59m13s others 30 55m51s select 22,693 1d3h26m8s update 9 34m40s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-04-29 15:07:16 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 22,596 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 2h10m29s select pub2.maint_term_derive_data ();[ Date: 2025-04-29 05:35:37 - Bind query: yes ]
2 1h48m15s select pub2.maint_gene_chem_ref_gene_form_refresh ();[ Date: 2025-04-29 01:19:46 - Bind query: yes ]
3 1h6m56s SELECT maint_term_derive_nm_fts ();[ Date: 2025-04-29 02:29:37 - Bind query: yes ]
4 48m59s VACUUM FULL ANALYZE;[ Date: 2025-04-29 03:24:44 - Bind query: yes ]
5 47m33s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');[ Date: 2025-04-28 19:44:21 - Bind query: yes ]
6 43m7s select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');[ Date: 2025-04-28 18:56:42 - Bind query: yes ]
7 36m40s select pub2.maint_cached_value_refresh_data_metrics ();[ Date: 2025-04-29 06:22:41 - Bind query: yes ]
8 36m38s SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;[ Date: 2025-04-29 14:29:07 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
9 33m53s SELECT i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) FROM edit.IXN i, edit.REFERENCE_IXN r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in ('bogusName') order by i.id asc;[ Date: 2025-04-28 17:19:00 - Bind query: yes ]
10 25m35s update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));[ Date: 2025-04-28 23:26:05 - Bind query: yes ]
11 25m31s insert into pub2.GENE_GO_ANNOT (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.GENE_GO_ANNOT;[ Date: 2025-04-28 16:36:25 - Bind query: yes ]
12 25m9s 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-03 19:47:41 ]
13 25m7s 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-03 19:02:22 ]
14 18m32s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-27 13:57:15 - Bind query: yes ]
15 14m26s insert into pub2.DB_LINK (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary) select object_id, object_type_id, acc_txt, db_id, type_cd, is_primary from edit.DB_LINK;[ Date: 2025-04-28 16:05:25 - Database: ctdprd51 - User: pub2 - Bind query: yes ]
16 13m39s ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enr_agent_term_enr_fk FOREIGN KEY (term_id, enriched_term_id) REFERENCES term_enrichment (term_id, enriched_term_id);[ Date: 2025-04-28 22:34:05 - Bind query: yes ]
17 12m57s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'G046\_MGT16') 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-04-29 15:23:49 - Bind query: yes ]
18 12m31s SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, NULL, gcr.gene_id, NULL FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'G046\_MGT16') 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)));[ Date: 2025-04-29 15:13:11 - Bind query: yes ]
19 11m40s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1253087') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-27 13:32:11 - Bind query: yes ]
20 9m42s select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = 'does not affect');[ Date: 2025-04-28 17:32:00 - Database: ctdprd51 - User: load - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 3h17m7s 9,360 1s119ms 6s422ms 1s263ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 27 00 120 2m35s 1s292ms 01 106 2m20s 1s325ms 02 108 2m17s 1s272ms 03 122 2m36s 1s284ms 04 111 2m22s 1s284ms 05 108 2m20s 1s297ms 06 90 1m49s 1s213ms 07 104 2m11s 1s265ms 08 81 1m45s 1s305ms 09 101 2m2s 1s216ms 10 100 2m 1s206ms 11 119 2m23s 1s202ms 12 91 1m53s 1s247ms 13 107 2m9s 1s208ms 14 160 3m15s 1s220ms 15 142 2m59s 1s260ms 16 156 3m11s 1s227ms 17 140 2m51s 1s225ms 18 187 3m48s 1s222ms 19 128 2m37s 1s229ms 20 36 43s163ms 1s198ms 21 20 23s502ms 1s175ms 22 38 46s44ms 1s211ms 23 29 35s329ms 1s218ms Apr 28 00 33 40s126ms 1s215ms 01 23 27s684ms 1s203ms 02 15 18s214ms 1s214ms 05 17 20s955ms 1s232ms 06 37 44s593ms 1s205ms 07 36 42s722ms 1s186ms 08 50 1m 1s202ms 09 33 39s941ms 1s210ms 10 38 45s255ms 1s190ms 11 24 28s416ms 1s184ms 12 35 42s880ms 1s225ms 13 52 1m4s 1s249ms 14 44 54s901ms 1s247ms 15 37 46s761ms 1s263ms 16 111 2m17s 1s243ms 17 174 3m31s 1s216ms 18 142 3m2s 1s283ms 19 159 3m20s 1s259ms 20 183 4m7s 1s349ms 21 147 3m5s 1s263ms 22 58 1m13s 1s273ms 23 49 1m 1s228ms Apr 29 00 37 45s208ms 1s221ms 01 47 58s269ms 1s239ms 02 63 1m25s 1s359ms 03 166 3m36s 1s305ms 04 177 3m47s 1s284ms 05 172 3m39s 1s278ms 06 195 4m11s 1s288ms 07 186 3m59s 1s286ms 08 50 1m3s 1s268ms 09 44 56s428ms 1s282ms 10 41 51s756ms 1s262ms 11 29 35s882ms 1s237ms 12 30 37s457ms 1s248ms 13 61 1m17s 1s265ms 14 196 4m10s 1s277ms 15 198 4m16s 1s296ms 16 210 4m42s 1s343ms 17 171 3m36s 1s264ms 18 186 3m54s 1s258ms 19 59 1m14s 1s256ms 20 59 1m13s 1s242ms 21 43 53s956ms 1s254ms 22 33 42s494ms 1s287ms 23 38 47s445ms 1s248ms Apr 30 00 29 36s209ms 1s248ms 01 104 2m12s 1s269ms 02 167 3m35s 1s290ms 03 170 3m37s 1s279ms 04 187 3m59s 1s280ms 05 158 3m23s 1s287ms 06 132 2m44s 1s244ms 07 88 1m50s 1s251ms 08 32 39s650ms 1s239ms 09 48 59s473ms 1s239ms 10 41 51s160ms 1s247ms 11 30 37s342ms 1s244ms 12 22 26s947ms 1s224ms 13 9 11s160ms 1s240ms 14 6 7s609ms 1s268ms 15 4 5s55ms 1s263ms 16 10 12s642ms 1s264ms 17 8 10s301ms 1s287ms 18 4 5s247ms 1s311ms 19 6 7s597ms 1s266ms 20 7 9s229ms 1s318ms 21 12 15s708ms 1s309ms 22 10 13s338ms 1s333ms 23 13 16s819ms 1s293ms May 01 00 3 4s81ms 1s360ms 01 11 14s238ms 1s294ms 02 7 8s840ms 1s262ms 03 10 12s752ms 1s275ms 04 12 15s927ms 1s327ms 05 4 5s301ms 1s325ms 06 13 17s469ms 1s343ms 07 11 13s954ms 1s268ms 08 9 11s829ms 1s314ms 09 17 22s275ms 1s310ms 10 10 12s706ms 1s270ms 11 5 6s474ms 1s294ms 12 4 4s895ms 1s223ms 13 4 4s968ms 1s242ms 14 6 7s553ms 1s258ms 15 4 5s51ms 1s262ms 16 7 8s936ms 1s276ms 17 4 4s985ms 1s246ms 18 11 13s762ms 1s251ms 19 4 4s977ms 1s244ms 20 4 5s38ms 1s259ms 21 5 6s198ms 1s239ms 22 4 5s63ms 1s265ms 23 4 5s49ms 1s262ms May 02 00 2 2s469ms 1s234ms 01 3 3s756ms 1s252ms 02 4 4s942ms 1s235ms 03 6 7s406ms 1s234ms 04 2 2s460ms 1s230ms 05 9 11s476ms 1s275ms 06 1 1s198ms 1s198ms 07 8 9s791ms 1s223ms 08 8 10s12ms 1s251ms 09 3 3s740ms 1s246ms 10 5 6s304ms 1s260ms 11 9 11s493ms 1s277ms 12 176 3m42s 1s266ms 13 183 3m52s 1s268ms 14 167 3m31s 1s266ms 15 147 3m6s 1s266ms 16 163 3m26s 1s265ms 17 77 1m37s 1s271ms 18 42 52s352ms 1s246ms 19 35 43s692ms 1s248ms 20 42 52s371ms 1s246ms 21 42 52s575ms 1s251ms 22 28 35s304ms 1s260ms 23 1 1s284ms 1s284ms May 03 00 3 3s964ms 1s321ms 01 1 1s320ms 1s320ms 05 4 5s542ms 1s385ms 07 2 2s542ms 1s271ms 08 2 2s837ms 1s418ms 09 1 1s317ms 1s317ms 10 5 6s321ms 1s264ms 11 3 3s735ms 1s245ms 12 18 22s840ms 1s268ms 13 10 12s539ms 1s253ms 14 18 22s505ms 1s250ms 15 16 19s993ms 1s249ms 16 29 36s489ms 1s258ms 17 19 23s948ms 1s260ms 18 17 21s161ms 1s244ms 19 16 19s762ms 1s235ms 20 26 32s476ms 1s249ms 21 10 12s512ms 1s251ms 22 17 22s278ms 1s310ms 23 18 20s928ms 1s162ms [ User: pubeu - Total duration: 49m38s - Times executed: 2324 ]
-
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 = '1752007' or receptorTerm.id = '1752007' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-29 16:12:24 Duration: 6s422ms 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 = '2016261' or receptorTerm.id = '2016261' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-29 16:12:26 Duration: 4s902ms 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 = '1548754' or receptorTerm.id = '1548754' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-27 18:13:13 Duration: 4s196ms Database: ctdprd51 User: pubeu Bind query: yes
2 2h17m17s 54 1s503ms 18m32s 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 #2
Day Hour Count Duration Avg duration Apr 27 00 3 10m10s 3m23s 01 6 15m45s 2m37s 02 2 3s101ms 1s550ms 03 6 2m5s 20s844ms 04 2 4s943ms 2s471ms 05 5 12m49s 2m33s 06 1 5m2s 5m2s 07 2 3m45s 1m52s 08 5 19m9s 3m49s 10 2 3s198ms 1s599ms 11 2 3m21s 1m40s 12 6 20m20s 3m23s 13 4 35m1s 8m45s 14 2 3s347ms 1s673ms 15 4 5m38s 1m24s Apr 29 17 1 3m50s 3m50s 20 1 1s558ms 1s558ms [ User: pubeu - Total duration: 40m32s - 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-27 13:57:15 Duration: 18m32s 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 = '1253087') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-27 13:32:11 Duration: 11m40s 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 = '1248121') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-27 00:06:49 Duration: 5m40s Bind query: yes
3 2h10m29s 1 2h10m29s 2h10m29s 2h10m29s select pub2.maint_term_derive_data ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 29 05 1 2h10m29s 2h10m29s -
select pub2.maint_term_derive_data ();
Date: 2025-04-29 05:35:37 Duration: 2h10m29s Bind query: yes
4 1h54m2s 391 1s66ms 1m23s 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 Apr 27 00 4 1m8s 17s71ms 02 4 1m8s 17s210ms 03 9 2m45s 18s416ms 04 3 49s337ms 16s445ms 05 3 53s173ms 17s724ms 06 3 52s354ms 17s451ms 07 2 33s872ms 16s936ms 09 9 2m25s 16s151ms 11 1 15s452ms 15s452ms 12 5 1m25s 17s7ms 13 3 49s355ms 16s451ms 14 9 2m29s 16s612ms 15 10 2m56s 17s632ms 16 14 3m54s 16s742ms 17 6 1m45s 17s519ms 18 11 5m3s 27s611ms 19 3 56s435ms 18s811ms 20 3 46s911ms 15s637ms 23 3 44s858ms 14s952ms Apr 28 02 3 51s341ms 17s113ms 06 3 47s530ms 15s843ms 09 3 58s658ms 19s552ms 10 3 45s694ms 15s231ms 12 3 47s753ms 15s917ms 13 3 47s101ms 15s700ms 17 10 2m33s 15s356ms 18 9 2m37s 17s526ms 19 4 54s431ms 13s607ms 20 16 5m51s 21s938ms 21 9 2m27s 16s367ms 22 2 31s957ms 15s978ms Apr 29 02 5 1m9s 13s806ms 03 2 32s763ms 16s381ms 04 19 6m1s 19s46ms 05 5 1m26s 17s394ms 06 15 4m15s 17s10ms 07 14 3m53s 16s669ms 08 3 55s58ms 18s352ms 09 6 1m48s 18s149ms 12 1 15s179ms 15s179ms 13 3 57s235ms 19s78ms 14 6 1m28s 14s724ms 15 13 3m59s 18s424ms 16 12 5m57s 29s771ms 17 8 2m18s 17s340ms 18 6 1m30s 15s97ms 19 3 53s89ms 17s696ms 22 3 48s776ms 16s258ms 23 3 49s26ms 16s342ms Apr 30 01 1 1s66ms 1s66ms 02 15 3m47s 15s133ms 03 3 48s881ms 16s293ms 04 6 1m22s 13s813ms 06 4 1m1s 15s394ms 09 3 49s911ms 16s637ms 10 3 47s365ms 15s788ms 11 3 57s422ms 19s140ms 12 3 59s701ms 19s900ms May 02 12 13 3m23s 15s683ms 13 3 47s133ms 15s711ms 14 6 1m20s 13s429ms 15 14 3m55s 16s818ms 16 4 47s468ms 11s867ms 17 9 2m30s 16s683ms 19 1 2s962ms 2s962ms [ User: pubeu - Total duration: 41m40s - Times executed: 135 ]
-
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 = '2101425') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-27 18:13:56 Duration: 1m23s 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 = '2102676') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-29 16:12:53 Duration: 1m14s 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 = '2095675') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-28 20:13:33 Duration: 1m8s Database: ctdprd51 User: pubeu Bind query: yes
5 1h48m15s 1 1h48m15s 1h48m15s 1h48m15s select pub2.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 29 01 1 1h48m15s 1h48m15s -
select pub2.maint_gene_chem_ref_gene_form_refresh ();
Date: 2025-04-29 01:19:46 Duration: 1h48m15s Bind query: yes
6 1h6m56s 1 1h6m56s 1h6m56s 1h6m56s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 29 02 1 1h6m56s 1h6m56s -
SELECT maint_term_derive_nm_fts ();
Date: 2025-04-29 02:29:37 Duration: 1h6m56s Bind query: yes
7 53m48s 233 4s59ms 36m38s 13s857ms select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 29 14 184 50m12s 16s369ms 15 49 3m36s 4s425ms [ User: qaeu - Total duration: 36m38s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-04-29 14:29:07 Duration: 36m38s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-04-29 14:35:51 Duration: 5s507ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-04-29 14:49:24 Duration: 5s490ms Bind query: yes
8 51m27s 76 1s320ms 7m5s 40s625ms select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 28 13 12 1m27s 7s288ms 14 23 16m19s 42s589ms 15 7 8m42s 1m14s 17 6 1m12s 12s163ms 19 3 8m24s 2m48s 20 4 7m13s 1m48s 21 14 4m7s 17s675ms 22 7 4m 34s318ms [ User: load - Total duration: 14m58s - Times executed: 24 ]
[ Application: pg_bulkload - Total duration: 14m58s - Times executed: 24 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2025-04-28 19:56:30 Duration: 7m5s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2025-04-28 20:28:55 Duration: 5m23s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2025-04-28 14:24:35 Duration: 4m24s Bind query: yes
9 48m59s 1 48m59s 48m59s 48m59s vacuum full analyze;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 29 03 1 48m59s 48m59s -
VACUUM FULL ANALYZE;
Date: 2025-04-29 03:24:44 Duration: 48m59s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2025-04-29 02:35:45 Duration: 0ms
10 47m33s 1 47m33s 47m33s 47m33s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.gene_go_annot gga, pub2.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 28 19 1 47m33s 47m33s -
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2025-04-28 19:44:21 Duration: 47m33s Bind query: yes
11 44m31s 1,897 1s237ms 2s864ms 1s408ms 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 #11
Day Hour Count Duration Avg duration Apr 27 00 19 27s336ms 1s438ms 01 24 34s903ms 1s454ms 02 15 21s55ms 1s403ms 03 18 25s737ms 1s429ms 04 12 17s49ms 1s420ms 05 15 23s414ms 1s560ms 06 18 23s533ms 1s307ms 07 18 25s101ms 1s394ms 08 18 29s307ms 1s628ms 09 22 30s161ms 1s370ms 10 26 34s475ms 1s325ms 11 18 23s715ms 1s317ms 12 26 34s640ms 1s332ms 13 12 16s 1s333ms 14 28 37s325ms 1s333ms 15 28 40s751ms 1s455ms 16 26 34s946ms 1s344ms 17 21 29s92ms 1s385ms 18 31 41s793ms 1s348ms 19 21 28s67ms 1s336ms 20 7 9s104ms 1s300ms 21 2 2s565ms 1s282ms 22 6 8s158ms 1s359ms 23 7 9s486ms 1s355ms Apr 28 00 1 1s263ms 1s263ms 01 9 11s956ms 1s328ms 02 3 4s26ms 1s342ms 05 6 8s292ms 1s382ms 06 5 6s464ms 1s292ms 07 9 12s24ms 1s336ms 08 8 10s558ms 1s319ms 09 10 13s424ms 1s342ms 10 7 9s302ms 1s328ms 11 6 7s961ms 1s326ms 12 7 10s47ms 1s435ms 13 10 14s117ms 1s411ms 14 9 12s308ms 1s367ms 15 14 19s663ms 1s404ms 16 26 35s990ms 1s384ms 17 42 56s947ms 1s355ms 18 33 46s852ms 1s419ms 19 32 44s156ms 1s379ms 20 48 1m9s 1s457ms 21 18 26s683ms 1s482ms 22 9 12s829ms 1s425ms 23 10 13s733ms 1s373ms Apr 29 00 10 13s500ms 1s350ms 01 8 11s199ms 1s399ms 02 9 13s588ms 1s509ms 03 35 52s110ms 1s488ms 04 38 54s316ms 1s429ms 05 39 55s674ms 1s427ms 06 35 50s356ms 1s438ms 07 36 52s8ms 1s444ms 08 11 15s645ms 1s422ms 09 5 7s531ms 1s506ms 10 11 15s250ms 1s386ms 11 9 12s574ms 1s397ms 12 7 9s662ms 1s380ms 13 11 15s263ms 1s387ms 14 36 52s300ms 1s452ms 15 36 52s891ms 1s469ms 16 31 44s482ms 1s434ms 17 43 1m 1s414ms 18 28 39s849ms 1s423ms 19 14 19s679ms 1s405ms 20 10 13s731ms 1s373ms 21 7 9s859ms 1s408ms 22 11 15s798ms 1s436ms 23 13 18s468ms 1s420ms Apr 30 00 11 15s92ms 1s372ms 01 28 39s656ms 1s416ms 02 33 47s499ms 1s439ms 03 48 1m8s 1s418ms 04 33 47s271ms 1s432ms 05 42 1m 1s430ms 06 32 44s490ms 1s390ms 07 23 31s506ms 1s369ms 08 9 12s169ms 1s352ms 09 8 11s62ms 1s382ms 10 10 14s91ms 1s409ms 11 7 9s715ms 1s387ms 12 6 8s157ms 1s359ms 13 5 6s904ms 1s380ms 14 7 9s955ms 1s422ms 15 1 1s395ms 1s395ms 16 1 1s353ms 1s353ms 17 2 2s903ms 1s451ms 19 1 1s388ms 1s388ms 20 1 1s693ms 1s693ms 21 1 1s323ms 1s323ms 22 2 2s778ms 1s389ms 23 2 2s755ms 1s377ms May 01 00 1 1s576ms 1s576ms 01 2 2s835ms 1s417ms 03 4 5s628ms 1s407ms 04 2 2s934ms 1s467ms 05 2 3s20ms 1s510ms 06 3 4s213ms 1s404ms 07 3 4s349ms 1s449ms 08 4 5s529ms 1s382ms 09 2 2s881ms 1s440ms 10 4 6s152ms 1s538ms 11 2 2s693ms 1s346ms 12 4 5s511ms 1s377ms 15 1 1s408ms 1s408ms 18 8 11s33ms 1s379ms 19 2 2s806ms 1s403ms 20 2 2s777ms 1s388ms 22 2 2s783ms 1s391ms May 02 03 2 2s816ms 1s408ms 05 4 5s625ms 1s406ms 06 3 4s241ms 1s413ms 07 2 2s826ms 1s413ms 10 1 1s421ms 1s421ms 11 2 2s858ms 1s429ms 12 32 45s510ms 1s422ms 13 38 53s539ms 1s408ms 14 32 44s674ms 1s396ms 15 36 50s600ms 1s405ms 16 46 1m4s 1s412ms 17 22 32s256ms 1s466ms 18 7 9s656ms 1s379ms 19 6 8s459ms 1s409ms 20 18 24s801ms 1s377ms 21 5 6s962ms 1s392ms 22 4 5s584ms 1s396ms 23 1 1s510ms 1s510ms May 03 03 4 5s738ms 1s434ms 05 2 3s58ms 1s529ms 07 2 2s806ms 1s403ms 13 2 2s696ms 1s348ms 14 1 1s422ms 1s422ms 16 1 1s426ms 1s426ms 17 1 1s424ms 1s424ms 18 1 1s344ms 1s344ms 19 1 1s426ms 1s426ms 20 1 1s369ms 1s369ms 21 2 2s820ms 1s410ms 22 2 2s715ms 1s357ms 23 2 2s635ms 1s317ms [ User: pubeu - Total duration: 10m56s - Times executed: 461 ]
-
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 = '1258225') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1258225') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-29 15:18:48 Duration: 2s864ms 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 = '1271131') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1271131') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-27 08:37:39 Duration: 2s734ms 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 = '1263969') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1263969') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-27 08:39:11 Duration: 2s664ms Database: ctdprd51 User: pubeu Bind query: yes
12 43m7s 1 43m7s 43m7s 43m7s select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.object_type where cd = ?), ptr.term_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.phenotype_term_reference ptr, pub2.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 28 18 1 43m7s 43m7s -
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2025-04-28 18:56:42 Duration: 43m7s Bind query: yes
13 39m7s 593 1s4ms 15s139ms 3s958ms 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 Apr 27 01 4 14s460ms 3s615ms 02 7 36s857ms 5s265ms 03 1 1s146ms 1s146ms 04 2 12s835ms 6s417ms 05 11 25s578ms 2s325ms 06 13 1m6s 5s110ms 07 4 22s841ms 5s710ms 08 3 8s917ms 2s972ms 09 2 10s767ms 5s383ms 10 1 4s989ms 4s989ms 11 2 2s82ms 1s41ms 12 2 2s175ms 1s87ms 13 1 5s147ms 5s147ms 14 6 28s295ms 4s715ms 15 4 9s416ms 2s354ms 16 4 13s49ms 3s262ms 18 2 12s67ms 6s33ms 19 4 13s331ms 3s332ms 21 2 6s241ms 3s120ms Apr 28 02 2 5s850ms 2s925ms 05 2 2s116ms 1s58ms 07 2 2s26ms 1s13ms 08 3 15s470ms 5s156ms 11 2 9s619ms 4s809ms 12 12 44s106ms 3s675ms 13 2 11s83ms 5s541ms 14 12 57s564ms 4s797ms 15 6 26s632ms 4s438ms 16 2 6s742ms 3s371ms 17 4 14s370ms 3s592ms 18 19 1m37s 5s125ms 19 13 50s156ms 3s858ms 20 3 19s184ms 6s394ms 21 9 41s760ms 4s640ms 23 4 28s535ms 7s133ms Apr 29 00 1 1s153ms 1s153ms 01 1 5s953ms 5s953ms 02 5 32s700ms 6s540ms 03 2 13s580ms 6s790ms 04 2 2s286ms 1s143ms 05 7 7s968ms 1s138ms 06 1 5s675ms 5s675ms 08 1 5s550ms 5s550ms 09 3 16s637ms 5s545ms 10 1 5s801ms 5s801ms 12 1 5s568ms 5s568ms 13 3 3s236ms 1s78ms 14 1 1s221ms 1s221ms 15 5 10s288ms 2s57ms 16 2 11s719ms 5s859ms 17 2 12s194ms 6s97ms 18 3 12s86ms 4s28ms 19 5 23s107ms 4s621ms 20 6 23s292ms 3s882ms 21 7 29s924ms 4s274ms 23 3 16s157ms 5s385ms Apr 30 00 2 2s118ms 1s59ms 01 12 51s388ms 4s282ms 02 6 15s82ms 2s513ms 03 2 12s234ms 6s117ms 04 6 25s38ms 4s173ms 05 19 1m5s 3s466ms 06 4 13s885ms 3s471ms 07 3 13s563ms 4s521ms 08 8 25s683ms 3s210ms 09 6 34s453ms 5s742ms 10 13 54s607ms 4s200ms 11 1 5s526ms 5s526ms 12 19 1m12s 3s809ms 13 13 53s186ms 4s91ms 14 17 52s390ms 3s81ms 15 1 1s43ms 1s43ms 16 6 18s512ms 3s85ms 17 5 34s478ms 6s895ms 18 3 19s742ms 6s580ms 19 3 18s193ms 6s64ms 20 2 7s363ms 3s681ms 21 7 31s59ms 4s437ms 22 19 1m8s 3s626ms 23 3 20s486ms 6s828ms May 01 01 11 41s567ms 3s778ms 02 4 13s926ms 3s481ms 03 11 46s722ms 4s247ms 04 4 15s958ms 3s989ms 05 6 6s506ms 1s84ms 06 7 38s947ms 5s563ms 07 2 12s275ms 6s137ms 08 3 14s303ms 4s767ms 09 2 8s139ms 4s69ms 10 9 38s183ms 4s242ms 11 12 49s392ms 4s116ms 12 4 13s386ms 3s346ms May 02 05 10 20s570ms 2s57ms 06 4 13s491ms 3s372ms 07 4 13s527ms 3s381ms 08 1 5s582ms 5s582ms 09 1 5s553ms 5s553ms 10 2 11s373ms 5s686ms 12 9 35s332ms 3s925ms 13 2 11s344ms 5s672ms 14 1 1s128ms 1s128ms 15 1 1s84ms 1s84ms 16 1 1s140ms 1s140ms 17 1 5s542ms 5s542ms 18 1 5s499ms 5s499ms 21 14 51s560ms 3s682ms 22 1 5s503ms 5s503ms May 03 03 8 26s341ms 3s292ms 04 4 13s95ms 3s273ms 05 18 45s934ms 2s551ms 11 8 26s143ms 3s267ms 12 4 13s648ms 3s412ms 16 2 6s278ms 3s139ms 17 2 10s958ms 5s479ms 18 1 5s204ms 5s204ms 19 1 5s752ms 5s752ms 20 1 5s753ms 5s753ms 22 1 3s143ms 3s143ms 23 1 4s866ms 4s866ms [ User: pubeu - Total duration: 12m - Times executed: 178 ]
[ User: qaeu - Total duration: 8s646ms - Times executed: 8 ]
-
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 = '1298883' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-28 23:36:23 Duration: 15s139ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1308281' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-28 18:34:21 Duration: 8s741ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1339752' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-29 02:59:36 Duration: 8s460ms Database: ctdprd51 User: pubeu Bind query: yes
14 36m40s 1 36m40s 36m40s 36m40s select pub2.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 29 06 1 36m40s 36m40s -
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2025-04-29 06:22:41 Duration: 36m40s Bind query: yes
-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2025-04-29 06:18:07 Duration: 0ms
15 35m37s 7 5m1s 5m7s 5m5s select maint_query_logs_archive ();Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 27 00 1 5m6s 5m6s Apr 28 00 1 5m4s 5m4s Apr 29 00 1 5m5s 5m5s Apr 30 00 1 5m6s 5m6s May 01 00 1 5m7s 5m7s May 02 00 1 5m1s 5m1s May 03 00 1 5m5s 5m5s -
/* * 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-01 00:05:08 Duration: 5m7s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-04-27 00:05:07 Duration: 5m6s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-04-30 00:05:08 Duration: 5m6s
16 33m53s 1 33m53s 33m53s 33m53s select i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) from edit.ixn i, edit.reference_ixn r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in (...) order by i.id asc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 28 17 1 33m53s 33m53s -
SELECT i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) FROM edit.IXN i, edit.REFERENCE_IXN r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in ('bogusName') order by i.id asc;
Date: 2025-04-28 17:19:00 Duration: 33m53s Bind query: yes
17 27m42s 40 1s563ms 4m39s 41s571ms select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 28 20 6 9m2s 1m30s 21 5 5m7s 1m1s Apr 29 04 1 1s563ms 1s563ms 14 3 2m37s 52s467ms 15 1 3s162ms 3s162ms 16 3 1m12s 24s74ms 19 3 1m35s 31s870ms Apr 30 06 3 1m21s 27s273ms 07 3 2m14s 44s814ms 10 4 1m52s 28s156ms 17 1 2s648ms 2s648ms May 01 03 1 2s521ms 2s521ms 06 1 2s999ms 2s999ms 07 1 3s59ms 3s59ms 11 1 1m10s 1m10s May 02 02 1 33s662ms 33s662ms 12 1 2s567ms 2s567ms May 03 22 1 34s830ms 34s830ms [ User: pubeu - Total duration: 12m52s - Times executed: 19 ]
-
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 = '1265643')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-28 20:41:16 Duration: 4m39s 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 = '1243641')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-28 21:16:14 Duration: 2m7s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1265643')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-28 20:37:25 Duration: 1m18s Bind query: yes
18 27m40s 563 1s1ms 7s230ms 2s949ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 27 00 12 31s394ms 2s616ms 01 12 34s901ms 2s908ms 02 13 37s384ms 2s875ms 03 5 15s24ms 3s4ms 04 9 28s436ms 3s159ms 05 10 23s694ms 2s369ms 06 25 1m16s 3s51ms 07 5 20s299ms 4s59ms 08 8 30s910ms 3s863ms 09 12 30s12ms 2s501ms 10 8 23s612ms 2s951ms 11 13 35s729ms 2s748ms 12 8 22s358ms 2s794ms 13 4 8s259ms 2s64ms 14 10 32s928ms 3s292ms 15 5 16s923ms 3s384ms Apr 28 11 7 20s231ms 2s890ms 12 13 38s898ms 2s992ms 14 15 43s564ms 2s904ms 15 9 23s163ms 2s573ms 17 4 14s448ms 3s612ms 18 19 51s263ms 2s698ms 19 15 43s915ms 2s927ms 21 8 23s115ms 2s889ms Apr 29 11 1 2s38ms 2s38ms 19 7 20s429ms 2s918ms 20 7 20s228ms 2s889ms 21 7 20s46ms 2s863ms Apr 30 01 15 42s543ms 2s836ms 02 5 16s907ms 3s381ms 04 7 21s78ms 3s11ms 05 14 41s683ms 2s977ms 06 4 13s735ms 3s433ms 07 3 7s350ms 2s450ms 08 13 40s37ms 3s79ms 09 1 1s12ms 1s12ms 10 14 41s409ms 2s957ms 12 25 1m13s 2s924ms 13 13 34s794ms 2s676ms 14 16 52s684ms 3s292ms 16 1 1s487ms 1s487ms 18 3 9s225ms 3s75ms 19 2 4s398ms 2s199ms 20 2 3s469ms 1s734ms 21 5 14s618ms 2s923ms 22 21 59s968ms 2s855ms 23 4 11s380ms 2s845ms May 01 00 3 6s413ms 2s137ms 01 10 29s214ms 2s921ms 02 3 11s688ms 3s896ms 03 12 34s939ms 2s911ms 05 2 8s370ms 4s185ms 06 7 19s979ms 2s854ms 07 3 7s109ms 2s369ms 08 3 10s125ms 3s375ms 09 5 10s520ms 2s104ms 11 9 30s40ms 3s337ms 12 4 13s33ms 3s258ms May 02 05 5 14s136ms 2s827ms 06 4 13s98ms 3s274ms 07 4 13s31ms 3s257ms 21 12 38s925ms 3s243ms May 03 03 7 23s650ms 3s378ms 04 5 15s259ms 3s51ms 05 13 40s48ms 3s80ms 11 8 26s27ms 3s253ms 12 4 13s86ms 3s271ms 15 1 1s489ms 1s489ms [ User: pubeu - Total duration: 6m52s - Times executed: 144 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-27 03:16:00 Duration: 7s230ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-28 17:58:53 Duration: 7s22ms 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-04-30 14:08:34 Duration: 6s993ms Bind query: yes
19 25m35s 1 25m35s 25m35s 25m35s update pub2.gene_disease gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.gene_disease_reference gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.reference r where has_exposures = true));Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 28 23 1 25m35s 25m35s -
update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));
Date: 2025-04-28 23:26:05 Duration: 25m35s Bind query: yes
20 25m31s 1 25m31s 25m31s 25m31s insert into pub2.gene_go_annot (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.gene_go_annot;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 28 16 1 25m31s 25m31s -
insert into pub2.GENE_GO_ANNOT (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.GENE_GO_ANNOT;
Date: 2025-04-28 16:36:25 Duration: 25m31s Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 9,360 3h17m7s 1s119ms 6s422ms 1s263ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 27 00 120 2m35s 1s292ms 01 106 2m20s 1s325ms 02 108 2m17s 1s272ms 03 122 2m36s 1s284ms 04 111 2m22s 1s284ms 05 108 2m20s 1s297ms 06 90 1m49s 1s213ms 07 104 2m11s 1s265ms 08 81 1m45s 1s305ms 09 101 2m2s 1s216ms 10 100 2m 1s206ms 11 119 2m23s 1s202ms 12 91 1m53s 1s247ms 13 107 2m9s 1s208ms 14 160 3m15s 1s220ms 15 142 2m59s 1s260ms 16 156 3m11s 1s227ms 17 140 2m51s 1s225ms 18 187 3m48s 1s222ms 19 128 2m37s 1s229ms 20 36 43s163ms 1s198ms 21 20 23s502ms 1s175ms 22 38 46s44ms 1s211ms 23 29 35s329ms 1s218ms Apr 28 00 33 40s126ms 1s215ms 01 23 27s684ms 1s203ms 02 15 18s214ms 1s214ms 05 17 20s955ms 1s232ms 06 37 44s593ms 1s205ms 07 36 42s722ms 1s186ms 08 50 1m 1s202ms 09 33 39s941ms 1s210ms 10 38 45s255ms 1s190ms 11 24 28s416ms 1s184ms 12 35 42s880ms 1s225ms 13 52 1m4s 1s249ms 14 44 54s901ms 1s247ms 15 37 46s761ms 1s263ms 16 111 2m17s 1s243ms 17 174 3m31s 1s216ms 18 142 3m2s 1s283ms 19 159 3m20s 1s259ms 20 183 4m7s 1s349ms 21 147 3m5s 1s263ms 22 58 1m13s 1s273ms 23 49 1m 1s228ms Apr 29 00 37 45s208ms 1s221ms 01 47 58s269ms 1s239ms 02 63 1m25s 1s359ms 03 166 3m36s 1s305ms 04 177 3m47s 1s284ms 05 172 3m39s 1s278ms 06 195 4m11s 1s288ms 07 186 3m59s 1s286ms 08 50 1m3s 1s268ms 09 44 56s428ms 1s282ms 10 41 51s756ms 1s262ms 11 29 35s882ms 1s237ms 12 30 37s457ms 1s248ms 13 61 1m17s 1s265ms 14 196 4m10s 1s277ms 15 198 4m16s 1s296ms 16 210 4m42s 1s343ms 17 171 3m36s 1s264ms 18 186 3m54s 1s258ms 19 59 1m14s 1s256ms 20 59 1m13s 1s242ms 21 43 53s956ms 1s254ms 22 33 42s494ms 1s287ms 23 38 47s445ms 1s248ms Apr 30 00 29 36s209ms 1s248ms 01 104 2m12s 1s269ms 02 167 3m35s 1s290ms 03 170 3m37s 1s279ms 04 187 3m59s 1s280ms 05 158 3m23s 1s287ms 06 132 2m44s 1s244ms 07 88 1m50s 1s251ms 08 32 39s650ms 1s239ms 09 48 59s473ms 1s239ms 10 41 51s160ms 1s247ms 11 30 37s342ms 1s244ms 12 22 26s947ms 1s224ms 13 9 11s160ms 1s240ms 14 6 7s609ms 1s268ms 15 4 5s55ms 1s263ms 16 10 12s642ms 1s264ms 17 8 10s301ms 1s287ms 18 4 5s247ms 1s311ms 19 6 7s597ms 1s266ms 20 7 9s229ms 1s318ms 21 12 15s708ms 1s309ms 22 10 13s338ms 1s333ms 23 13 16s819ms 1s293ms May 01 00 3 4s81ms 1s360ms 01 11 14s238ms 1s294ms 02 7 8s840ms 1s262ms 03 10 12s752ms 1s275ms 04 12 15s927ms 1s327ms 05 4 5s301ms 1s325ms 06 13 17s469ms 1s343ms 07 11 13s954ms 1s268ms 08 9 11s829ms 1s314ms 09 17 22s275ms 1s310ms 10 10 12s706ms 1s270ms 11 5 6s474ms 1s294ms 12 4 4s895ms 1s223ms 13 4 4s968ms 1s242ms 14 6 7s553ms 1s258ms 15 4 5s51ms 1s262ms 16 7 8s936ms 1s276ms 17 4 4s985ms 1s246ms 18 11 13s762ms 1s251ms 19 4 4s977ms 1s244ms 20 4 5s38ms 1s259ms 21 5 6s198ms 1s239ms 22 4 5s63ms 1s265ms 23 4 5s49ms 1s262ms May 02 00 2 2s469ms 1s234ms 01 3 3s756ms 1s252ms 02 4 4s942ms 1s235ms 03 6 7s406ms 1s234ms 04 2 2s460ms 1s230ms 05 9 11s476ms 1s275ms 06 1 1s198ms 1s198ms 07 8 9s791ms 1s223ms 08 8 10s12ms 1s251ms 09 3 3s740ms 1s246ms 10 5 6s304ms 1s260ms 11 9 11s493ms 1s277ms 12 176 3m42s 1s266ms 13 183 3m52s 1s268ms 14 167 3m31s 1s266ms 15 147 3m6s 1s266ms 16 163 3m26s 1s265ms 17 77 1m37s 1s271ms 18 42 52s352ms 1s246ms 19 35 43s692ms 1s248ms 20 42 52s371ms 1s246ms 21 42 52s575ms 1s251ms 22 28 35s304ms 1s260ms 23 1 1s284ms 1s284ms May 03 00 3 3s964ms 1s321ms 01 1 1s320ms 1s320ms 05 4 5s542ms 1s385ms 07 2 2s542ms 1s271ms 08 2 2s837ms 1s418ms 09 1 1s317ms 1s317ms 10 5 6s321ms 1s264ms 11 3 3s735ms 1s245ms 12 18 22s840ms 1s268ms 13 10 12s539ms 1s253ms 14 18 22s505ms 1s250ms 15 16 19s993ms 1s249ms 16 29 36s489ms 1s258ms 17 19 23s948ms 1s260ms 18 17 21s161ms 1s244ms 19 16 19s762ms 1s235ms 20 26 32s476ms 1s249ms 21 10 12s512ms 1s251ms 22 17 22s278ms 1s310ms 23 18 20s928ms 1s162ms [ User: pubeu - Total duration: 49m38s - Times executed: 2324 ]
-
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 = '1752007' or receptorTerm.id = '1752007' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-29 16:12:24 Duration: 6s422ms 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 = '2016261' or receptorTerm.id = '2016261' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-29 16:12:26 Duration: 4s902ms 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 = '1548754' or receptorTerm.id = '1548754' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-27 18:13:13 Duration: 4s196ms Database: ctdprd51 User: pubeu Bind query: yes
2 1,897 44m31s 1s237ms 2s864ms 1s408ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 27 00 19 27s336ms 1s438ms 01 24 34s903ms 1s454ms 02 15 21s55ms 1s403ms 03 18 25s737ms 1s429ms 04 12 17s49ms 1s420ms 05 15 23s414ms 1s560ms 06 18 23s533ms 1s307ms 07 18 25s101ms 1s394ms 08 18 29s307ms 1s628ms 09 22 30s161ms 1s370ms 10 26 34s475ms 1s325ms 11 18 23s715ms 1s317ms 12 26 34s640ms 1s332ms 13 12 16s 1s333ms 14 28 37s325ms 1s333ms 15 28 40s751ms 1s455ms 16 26 34s946ms 1s344ms 17 21 29s92ms 1s385ms 18 31 41s793ms 1s348ms 19 21 28s67ms 1s336ms 20 7 9s104ms 1s300ms 21 2 2s565ms 1s282ms 22 6 8s158ms 1s359ms 23 7 9s486ms 1s355ms Apr 28 00 1 1s263ms 1s263ms 01 9 11s956ms 1s328ms 02 3 4s26ms 1s342ms 05 6 8s292ms 1s382ms 06 5 6s464ms 1s292ms 07 9 12s24ms 1s336ms 08 8 10s558ms 1s319ms 09 10 13s424ms 1s342ms 10 7 9s302ms 1s328ms 11 6 7s961ms 1s326ms 12 7 10s47ms 1s435ms 13 10 14s117ms 1s411ms 14 9 12s308ms 1s367ms 15 14 19s663ms 1s404ms 16 26 35s990ms 1s384ms 17 42 56s947ms 1s355ms 18 33 46s852ms 1s419ms 19 32 44s156ms 1s379ms 20 48 1m9s 1s457ms 21 18 26s683ms 1s482ms 22 9 12s829ms 1s425ms 23 10 13s733ms 1s373ms Apr 29 00 10 13s500ms 1s350ms 01 8 11s199ms 1s399ms 02 9 13s588ms 1s509ms 03 35 52s110ms 1s488ms 04 38 54s316ms 1s429ms 05 39 55s674ms 1s427ms 06 35 50s356ms 1s438ms 07 36 52s8ms 1s444ms 08 11 15s645ms 1s422ms 09 5 7s531ms 1s506ms 10 11 15s250ms 1s386ms 11 9 12s574ms 1s397ms 12 7 9s662ms 1s380ms 13 11 15s263ms 1s387ms 14 36 52s300ms 1s452ms 15 36 52s891ms 1s469ms 16 31 44s482ms 1s434ms 17 43 1m 1s414ms 18 28 39s849ms 1s423ms 19 14 19s679ms 1s405ms 20 10 13s731ms 1s373ms 21 7 9s859ms 1s408ms 22 11 15s798ms 1s436ms 23 13 18s468ms 1s420ms Apr 30 00 11 15s92ms 1s372ms 01 28 39s656ms 1s416ms 02 33 47s499ms 1s439ms 03 48 1m8s 1s418ms 04 33 47s271ms 1s432ms 05 42 1m 1s430ms 06 32 44s490ms 1s390ms 07 23 31s506ms 1s369ms 08 9 12s169ms 1s352ms 09 8 11s62ms 1s382ms 10 10 14s91ms 1s409ms 11 7 9s715ms 1s387ms 12 6 8s157ms 1s359ms 13 5 6s904ms 1s380ms 14 7 9s955ms 1s422ms 15 1 1s395ms 1s395ms 16 1 1s353ms 1s353ms 17 2 2s903ms 1s451ms 19 1 1s388ms 1s388ms 20 1 1s693ms 1s693ms 21 1 1s323ms 1s323ms 22 2 2s778ms 1s389ms 23 2 2s755ms 1s377ms May 01 00 1 1s576ms 1s576ms 01 2 2s835ms 1s417ms 03 4 5s628ms 1s407ms 04 2 2s934ms 1s467ms 05 2 3s20ms 1s510ms 06 3 4s213ms 1s404ms 07 3 4s349ms 1s449ms 08 4 5s529ms 1s382ms 09 2 2s881ms 1s440ms 10 4 6s152ms 1s538ms 11 2 2s693ms 1s346ms 12 4 5s511ms 1s377ms 15 1 1s408ms 1s408ms 18 8 11s33ms 1s379ms 19 2 2s806ms 1s403ms 20 2 2s777ms 1s388ms 22 2 2s783ms 1s391ms May 02 03 2 2s816ms 1s408ms 05 4 5s625ms 1s406ms 06 3 4s241ms 1s413ms 07 2 2s826ms 1s413ms 10 1 1s421ms 1s421ms 11 2 2s858ms 1s429ms 12 32 45s510ms 1s422ms 13 38 53s539ms 1s408ms 14 32 44s674ms 1s396ms 15 36 50s600ms 1s405ms 16 46 1m4s 1s412ms 17 22 32s256ms 1s466ms 18 7 9s656ms 1s379ms 19 6 8s459ms 1s409ms 20 18 24s801ms 1s377ms 21 5 6s962ms 1s392ms 22 4 5s584ms 1s396ms 23 1 1s510ms 1s510ms May 03 03 4 5s738ms 1s434ms 05 2 3s58ms 1s529ms 07 2 2s806ms 1s403ms 13 2 2s696ms 1s348ms 14 1 1s422ms 1s422ms 16 1 1s426ms 1s426ms 17 1 1s424ms 1s424ms 18 1 1s344ms 1s344ms 19 1 1s426ms 1s426ms 20 1 1s369ms 1s369ms 21 2 2s820ms 1s410ms 22 2 2s715ms 1s357ms 23 2 2s635ms 1s317ms [ User: pubeu - Total duration: 10m56s - Times executed: 461 ]
-
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 = '1258225') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1258225') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-29 15:18:48 Duration: 2s864ms 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 = '1271131') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1271131') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-27 08:37:39 Duration: 2s734ms 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 = '1263969') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1263969') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-27 08:39:11 Duration: 2s664ms Database: ctdprd51 User: pubeu Bind query: yes
3 1,000 23m28s 1s238ms 4s563ms 1s408ms 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 Apr 27 00 10 14s182ms 1s418ms 01 11 15s143ms 1s376ms 02 11 15s598ms 1s418ms 03 11 15s478ms 1s407ms 04 12 16s692ms 1s391ms 05 15 22s974ms 1s531ms 06 6 8s208ms 1s368ms 07 5 7s91ms 1s418ms 08 10 14s785ms 1s478ms 09 11 14s945ms 1s358ms 10 8 10s420ms 1s302ms 11 14 18s790ms 1s342ms 12 8 10s616ms 1s327ms 13 10 13s306ms 1s330ms 14 11 15s5ms 1s364ms 15 16 22s228ms 1s389ms 16 16 21s573ms 1s348ms 17 16 21s789ms 1s361ms 18 10 13s483ms 1s348ms 19 15 20s100ms 1s340ms 21 3 3s995ms 1s331ms 22 2 2s698ms 1s349ms Apr 28 00 2 2s644ms 1s322ms 01 2 2s674ms 1s337ms 02 3 4s5ms 1s335ms 05 3 4s263ms 1s421ms 06 7 9s82ms 1s297ms 07 6 8s459ms 1s409ms 08 5 6s740ms 1s348ms 09 3 3s913ms 1s304ms 10 6 7s969ms 1s328ms 11 6 7s791ms 1s298ms 12 3 4s69ms 1s356ms 13 4 5s789ms 1s447ms 14 3 4s268ms 1s422ms 15 5 6s993ms 1s398ms 16 13 17s587ms 1s352ms 17 17 23s80ms 1s357ms 18 16 22s124ms 1s382ms 19 21 28s506ms 1s357ms 20 20 31s367ms 1s568ms 21 25 35s424ms 1s416ms 22 1 1s459ms 1s459ms 23 11 15s265ms 1s387ms Apr 29 00 4 5s510ms 1s377ms 01 3 4s40ms 1s346ms 02 5 7s496ms 1s499ms 03 20 28s851ms 1s442ms 04 20 28s806ms 1s440ms 05 25 35s483ms 1s419ms 06 31 44s128ms 1s423ms 07 16 22s943ms 1s433ms 08 7 9s822ms 1s403ms 09 3 4s222ms 1s407ms 10 3 4s186ms 1s395ms 11 4 5s703ms 1s425ms 12 4 5s465ms 1s366ms 13 10 13s837ms 1s383ms 14 12 16s801ms 1s400ms 15 15 21s279ms 1s418ms 16 26 38s407ms 1s477ms 17 28 40s382ms 1s442ms 18 7 10s110ms 1s444ms 19 6 8s317ms 1s386ms 20 3 4s70ms 1s356ms 21 4 5s320ms 1s330ms 22 5 7s74ms 1s414ms 23 7 9s618ms 1s374ms Apr 30 00 5 6s688ms 1s337ms 01 11 15s812ms 1s437ms 02 13 18s527ms 1s425ms 03 27 39s102ms 1s448ms 04 26 37s258ms 1s433ms 05 25 36s119ms 1s444ms 06 13 18s262ms 1s404ms 07 11 15s315ms 1s392ms 08 2 2s927ms 1s463ms 09 5 7s251ms 1s450ms 10 1 1s523ms 1s523ms 11 4 5s465ms 1s366ms 12 2 2s743ms 1s371ms 13 3 4s250ms 1s416ms 16 1 1s419ms 1s419ms 17 1 1s603ms 1s603ms 18 1 1s462ms 1s462ms 20 2 3s135ms 1s567ms 21 1 1s345ms 1s345ms 22 1 1s431ms 1s431ms 23 2 3s173ms 1s586ms May 01 01 2 3s192ms 1s596ms 05 2 3s67ms 1s533ms 06 2 2s795ms 1s397ms 07 1 1s439ms 1s439ms 08 3 4s441ms 1s480ms 12 3 4s141ms 1s380ms 19 1 1s386ms 1s386ms 20 1 1s423ms 1s423ms May 02 00 2 2s842ms 1s421ms 04 2 2s717ms 1s358ms 05 2 3s64ms 1s532ms 06 1 1s385ms 1s385ms 11 1 1s314ms 1s314ms 12 20 27s680ms 1s384ms 13 21 30s64ms 1s431ms 14 13 18s156ms 1s396ms 15 15 21s299ms 1s419ms 16 25 35s380ms 1s415ms 17 4 5s590ms 1s397ms 18 6 8s207ms 1s367ms 19 4 5s470ms 1s367ms 20 3 4s146ms 1s382ms 21 10 14s37ms 1s403ms 22 7 9s773ms 1s396ms 23 3 4s477ms 1s492ms May 03 03 1 1s533ms 1s533ms 05 2 2s992ms 1s496ms 16 1 1s349ms 1s349ms 17 1 1s375ms 1s375ms 21 1 1s381ms 1s381ms 22 2 2s837ms 1s418ms [ User: pubeu - Total duration: 6m2s - Times executed: 253 ]
[ User: qaeu - Total duration: 1s814ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2090418') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2090418') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-28 20:15:10 Duration: 4s563ms 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 = '2099918') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2099918') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-29 16:18:23 Duration: 2s675ms 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 = '2102514') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2102514') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-04-27 05:18:41 Duration: 2s562ms Bind query: yes
4 593 39m7s 1s4ms 15s139ms 3s958ms 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 #4
Day Hour Count Duration Avg duration Apr 27 01 4 14s460ms 3s615ms 02 7 36s857ms 5s265ms 03 1 1s146ms 1s146ms 04 2 12s835ms 6s417ms 05 11 25s578ms 2s325ms 06 13 1m6s 5s110ms 07 4 22s841ms 5s710ms 08 3 8s917ms 2s972ms 09 2 10s767ms 5s383ms 10 1 4s989ms 4s989ms 11 2 2s82ms 1s41ms 12 2 2s175ms 1s87ms 13 1 5s147ms 5s147ms 14 6 28s295ms 4s715ms 15 4 9s416ms 2s354ms 16 4 13s49ms 3s262ms 18 2 12s67ms 6s33ms 19 4 13s331ms 3s332ms 21 2 6s241ms 3s120ms Apr 28 02 2 5s850ms 2s925ms 05 2 2s116ms 1s58ms 07 2 2s26ms 1s13ms 08 3 15s470ms 5s156ms 11 2 9s619ms 4s809ms 12 12 44s106ms 3s675ms 13 2 11s83ms 5s541ms 14 12 57s564ms 4s797ms 15 6 26s632ms 4s438ms 16 2 6s742ms 3s371ms 17 4 14s370ms 3s592ms 18 19 1m37s 5s125ms 19 13 50s156ms 3s858ms 20 3 19s184ms 6s394ms 21 9 41s760ms 4s640ms 23 4 28s535ms 7s133ms Apr 29 00 1 1s153ms 1s153ms 01 1 5s953ms 5s953ms 02 5 32s700ms 6s540ms 03 2 13s580ms 6s790ms 04 2 2s286ms 1s143ms 05 7 7s968ms 1s138ms 06 1 5s675ms 5s675ms 08 1 5s550ms 5s550ms 09 3 16s637ms 5s545ms 10 1 5s801ms 5s801ms 12 1 5s568ms 5s568ms 13 3 3s236ms 1s78ms 14 1 1s221ms 1s221ms 15 5 10s288ms 2s57ms 16 2 11s719ms 5s859ms 17 2 12s194ms 6s97ms 18 3 12s86ms 4s28ms 19 5 23s107ms 4s621ms 20 6 23s292ms 3s882ms 21 7 29s924ms 4s274ms 23 3 16s157ms 5s385ms Apr 30 00 2 2s118ms 1s59ms 01 12 51s388ms 4s282ms 02 6 15s82ms 2s513ms 03 2 12s234ms 6s117ms 04 6 25s38ms 4s173ms 05 19 1m5s 3s466ms 06 4 13s885ms 3s471ms 07 3 13s563ms 4s521ms 08 8 25s683ms 3s210ms 09 6 34s453ms 5s742ms 10 13 54s607ms 4s200ms 11 1 5s526ms 5s526ms 12 19 1m12s 3s809ms 13 13 53s186ms 4s91ms 14 17 52s390ms 3s81ms 15 1 1s43ms 1s43ms 16 6 18s512ms 3s85ms 17 5 34s478ms 6s895ms 18 3 19s742ms 6s580ms 19 3 18s193ms 6s64ms 20 2 7s363ms 3s681ms 21 7 31s59ms 4s437ms 22 19 1m8s 3s626ms 23 3 20s486ms 6s828ms May 01 01 11 41s567ms 3s778ms 02 4 13s926ms 3s481ms 03 11 46s722ms 4s247ms 04 4 15s958ms 3s989ms 05 6 6s506ms 1s84ms 06 7 38s947ms 5s563ms 07 2 12s275ms 6s137ms 08 3 14s303ms 4s767ms 09 2 8s139ms 4s69ms 10 9 38s183ms 4s242ms 11 12 49s392ms 4s116ms 12 4 13s386ms 3s346ms May 02 05 10 20s570ms 2s57ms 06 4 13s491ms 3s372ms 07 4 13s527ms 3s381ms 08 1 5s582ms 5s582ms 09 1 5s553ms 5s553ms 10 2 11s373ms 5s686ms 12 9 35s332ms 3s925ms 13 2 11s344ms 5s672ms 14 1 1s128ms 1s128ms 15 1 1s84ms 1s84ms 16 1 1s140ms 1s140ms 17 1 5s542ms 5s542ms 18 1 5s499ms 5s499ms 21 14 51s560ms 3s682ms 22 1 5s503ms 5s503ms May 03 03 8 26s341ms 3s292ms 04 4 13s95ms 3s273ms 05 18 45s934ms 2s551ms 11 8 26s143ms 3s267ms 12 4 13s648ms 3s412ms 16 2 6s278ms 3s139ms 17 2 10s958ms 5s479ms 18 1 5s204ms 5s204ms 19 1 5s752ms 5s752ms 20 1 5s753ms 5s753ms 22 1 3s143ms 3s143ms 23 1 4s866ms 4s866ms [ User: pubeu - Total duration: 12m - Times executed: 178 ]
[ User: qaeu - Total duration: 8s646ms - Times executed: 8 ]
-
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 = '1298883' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-28 23:36:23 Duration: 15s139ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1308281' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-28 18:34:21 Duration: 8s741ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1339752' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-29 02:59:36 Duration: 8s460ms Database: ctdprd51 User: pubeu Bind query: yes
5 563 27m40s 1s1ms 7s230ms 2s949ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 27 00 12 31s394ms 2s616ms 01 12 34s901ms 2s908ms 02 13 37s384ms 2s875ms 03 5 15s24ms 3s4ms 04 9 28s436ms 3s159ms 05 10 23s694ms 2s369ms 06 25 1m16s 3s51ms 07 5 20s299ms 4s59ms 08 8 30s910ms 3s863ms 09 12 30s12ms 2s501ms 10 8 23s612ms 2s951ms 11 13 35s729ms 2s748ms 12 8 22s358ms 2s794ms 13 4 8s259ms 2s64ms 14 10 32s928ms 3s292ms 15 5 16s923ms 3s384ms Apr 28 11 7 20s231ms 2s890ms 12 13 38s898ms 2s992ms 14 15 43s564ms 2s904ms 15 9 23s163ms 2s573ms 17 4 14s448ms 3s612ms 18 19 51s263ms 2s698ms 19 15 43s915ms 2s927ms 21 8 23s115ms 2s889ms Apr 29 11 1 2s38ms 2s38ms 19 7 20s429ms 2s918ms 20 7 20s228ms 2s889ms 21 7 20s46ms 2s863ms Apr 30 01 15 42s543ms 2s836ms 02 5 16s907ms 3s381ms 04 7 21s78ms 3s11ms 05 14 41s683ms 2s977ms 06 4 13s735ms 3s433ms 07 3 7s350ms 2s450ms 08 13 40s37ms 3s79ms 09 1 1s12ms 1s12ms 10 14 41s409ms 2s957ms 12 25 1m13s 2s924ms 13 13 34s794ms 2s676ms 14 16 52s684ms 3s292ms 16 1 1s487ms 1s487ms 18 3 9s225ms 3s75ms 19 2 4s398ms 2s199ms 20 2 3s469ms 1s734ms 21 5 14s618ms 2s923ms 22 21 59s968ms 2s855ms 23 4 11s380ms 2s845ms May 01 00 3 6s413ms 2s137ms 01 10 29s214ms 2s921ms 02 3 11s688ms 3s896ms 03 12 34s939ms 2s911ms 05 2 8s370ms 4s185ms 06 7 19s979ms 2s854ms 07 3 7s109ms 2s369ms 08 3 10s125ms 3s375ms 09 5 10s520ms 2s104ms 11 9 30s40ms 3s337ms 12 4 13s33ms 3s258ms May 02 05 5 14s136ms 2s827ms 06 4 13s98ms 3s274ms 07 4 13s31ms 3s257ms 21 12 38s925ms 3s243ms May 03 03 7 23s650ms 3s378ms 04 5 15s259ms 3s51ms 05 13 40s48ms 3s80ms 11 8 26s27ms 3s253ms 12 4 13s86ms 3s271ms 15 1 1s489ms 1s489ms [ User: pubeu - Total duration: 6m52s - Times executed: 144 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-27 03:16:00 Duration: 7s230ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-04-28 17:58:53 Duration: 7s22ms 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-04-30 14:08:34 Duration: 6s993ms Bind query: yes
6 512 21m39s 1s5ms 5s271ms 2s538ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 27 00 14 41s223ms 2s944ms 01 10 27s646ms 2s764ms 02 6 18s449ms 3s74ms 03 4 11s493ms 2s873ms 04 8 26s241ms 3s280ms 05 6 11s36ms 1s839ms 06 25 53s201ms 2s128ms 07 2 4s584ms 2s292ms 08 8 23s645ms 2s955ms 09 6 16s530ms 2s755ms 10 2 2s285ms 1s142ms 11 11 32s695ms 2s972ms 12 7 14s886ms 2s126ms 13 8 27s589ms 3s448ms 14 9 23s74ms 2s563ms 15 3 6s417ms 2s139ms Apr 28 11 7 15s749ms 2s249ms 12 12 26s474ms 2s206ms 14 17 36s81ms 2s122ms 15 8 17s692ms 2s211ms 17 4 12s119ms 3s29ms 18 22 44s38ms 2s1ms 19 16 34s919ms 2s182ms 20 1 1s81ms 1s81ms 21 9 20s438ms 2s270ms Apr 29 16 1 4s393ms 4s393ms 19 8 16s926ms 2s115ms 20 8 17s25ms 2s128ms 21 7 16s152ms 2s307ms Apr 30 01 16 34s938ms 2s183ms 02 4 12s87ms 3s21ms 04 8 17s243ms 2s155ms 05 16 34s307ms 2s144ms 06 4 11s768ms 2s942ms 07 3 4s240ms 1s413ms 08 14 31s923ms 2s280ms 09 1 1s79ms 1s79ms 10 16 37s623ms 2s351ms 12 27 59s436ms 2s201ms 13 16 33s990ms 2s124ms 14 12 38s127ms 3s177ms 16 4 10s338ms 2s584ms 17 1 2s214ms 2s214ms 18 2 7s986ms 3s993ms 19 4 5s36ms 1s259ms 20 1 3s155ms 3s155ms 21 6 20s292ms 3s382ms 22 14 42s795ms 3s56ms 23 4 9s846ms 2s461ms May 01 01 8 22s551ms 2s818ms 02 3 7s535ms 2s511ms 03 9 28s158ms 3s128ms 05 1 2s695ms 2s695ms 06 1 1s231ms 1s231ms 07 1 1s101ms 1s101ms 08 2 8s201ms 4s100ms 09 5 17s430ms 3s486ms 10 3 8s661ms 2s887ms 11 6 19s387ms 3s231ms 12 3 9s768ms 3s256ms 20 1 3s173ms 3s173ms May 02 05 3 9s632ms 3s210ms 06 3 9s681ms 3s227ms 07 3 9s533ms 3s177ms 09 1 1s943ms 1s943ms 21 9 28s705ms 3s189ms May 03 03 4 13s725ms 3s431ms 04 5 15s64ms 3s12ms 05 9 28s628ms 3s180ms 06 1 1s117ms 1s117ms 11 6 19s244ms 3s207ms 12 3 9s788ms 3s262ms [ User: pubeu - Total duration: 5m23s - Times executed: 127 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-27 11:54:54 Duration: 5s271ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-27 00:59:25 Duration: 4s971ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1407657') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-04-27 02:28:02 Duration: 4s942ms Database: ctdprd51 User: pubeu Bind query: yes
7 391 1h54m2s 1s66ms 1m23s 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 #7
Day Hour Count Duration Avg duration Apr 27 00 4 1m8s 17s71ms 02 4 1m8s 17s210ms 03 9 2m45s 18s416ms 04 3 49s337ms 16s445ms 05 3 53s173ms 17s724ms 06 3 52s354ms 17s451ms 07 2 33s872ms 16s936ms 09 9 2m25s 16s151ms 11 1 15s452ms 15s452ms 12 5 1m25s 17s7ms 13 3 49s355ms 16s451ms 14 9 2m29s 16s612ms 15 10 2m56s 17s632ms 16 14 3m54s 16s742ms 17 6 1m45s 17s519ms 18 11 5m3s 27s611ms 19 3 56s435ms 18s811ms 20 3 46s911ms 15s637ms 23 3 44s858ms 14s952ms Apr 28 02 3 51s341ms 17s113ms 06 3 47s530ms 15s843ms 09 3 58s658ms 19s552ms 10 3 45s694ms 15s231ms 12 3 47s753ms 15s917ms 13 3 47s101ms 15s700ms 17 10 2m33s 15s356ms 18 9 2m37s 17s526ms 19 4 54s431ms 13s607ms 20 16 5m51s 21s938ms 21 9 2m27s 16s367ms 22 2 31s957ms 15s978ms Apr 29 02 5 1m9s 13s806ms 03 2 32s763ms 16s381ms 04 19 6m1s 19s46ms 05 5 1m26s 17s394ms 06 15 4m15s 17s10ms 07 14 3m53s 16s669ms 08 3 55s58ms 18s352ms 09 6 1m48s 18s149ms 12 1 15s179ms 15s179ms 13 3 57s235ms 19s78ms 14 6 1m28s 14s724ms 15 13 3m59s 18s424ms 16 12 5m57s 29s771ms 17 8 2m18s 17s340ms 18 6 1m30s 15s97ms 19 3 53s89ms 17s696ms 22 3 48s776ms 16s258ms 23 3 49s26ms 16s342ms Apr 30 01 1 1s66ms 1s66ms 02 15 3m47s 15s133ms 03 3 48s881ms 16s293ms 04 6 1m22s 13s813ms 06 4 1m1s 15s394ms 09 3 49s911ms 16s637ms 10 3 47s365ms 15s788ms 11 3 57s422ms 19s140ms 12 3 59s701ms 19s900ms May 02 12 13 3m23s 15s683ms 13 3 47s133ms 15s711ms 14 6 1m20s 13s429ms 15 14 3m55s 16s818ms 16 4 47s468ms 11s867ms 17 9 2m30s 16s683ms 19 1 2s962ms 2s962ms [ User: pubeu - Total duration: 41m40s - Times executed: 135 ]
-
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 = '2101425') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-27 18:13:56 Duration: 1m23s 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 = '2102676') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-29 16:12:53 Duration: 1m14s 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 = '2095675') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-28 20:13:33 Duration: 1m8s Database: ctdprd51 User: pubeu Bind query: yes
8 373 7m57s 1s140ms 3s638ms 1s280ms 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 #8
Day Hour Count Duration Avg duration Apr 27 00 7 8s804ms 1s257ms 01 2 2s565ms 1s282ms 02 3 3s716ms 1s238ms 03 9 11s411ms 1s267ms 04 3 3s706ms 1s235ms 05 2 2s373ms 1s186ms 06 5 6s52ms 1s210ms 07 3 3s856ms 1s285ms 08 1 1s305ms 1s305ms 09 4 4s806ms 1s201ms 10 7 8s399ms 1s199ms 11 3 3s620ms 1s206ms 12 2 2s447ms 1s223ms 13 6 7s235ms 1s205ms 14 10 12s139ms 1s213ms 15 6 7s674ms 1s279ms 16 5 6s29ms 1s205ms 17 3 3s654ms 1s218ms 18 6 7s248ms 1s208ms 19 6 7s336ms 1s222ms 20 1 1s194ms 1s194ms 22 1 1s245ms 1s245ms Apr 28 00 3 3s729ms 1s243ms 05 1 1s160ms 1s160ms 06 3 3s496ms 1s165ms 08 3 3s690ms 1s230ms 09 1 1s199ms 1s199ms 10 3 3s607ms 1s202ms 12 2 2s433ms 1s216ms 13 2 2s565ms 1s282ms 14 5 6s411ms 1s282ms 15 3 3s758ms 1s252ms 16 10 12s513ms 1s251ms 17 7 8s935ms 1s276ms 18 10 12s743ms 1s274ms 19 7 8s561ms 1s223ms 20 9 15s976ms 1s775ms 21 9 12s971ms 1s441ms 22 2 2s556ms 1s278ms 23 3 3s624ms 1s208ms Apr 29 00 4 5s13ms 1s253ms 02 1 1s479ms 1s479ms 03 13 16s991ms 1s307ms 04 11 14s333ms 1s303ms 05 10 13s81ms 1s308ms 06 11 13s982ms 1s271ms 07 7 9s157ms 1s308ms 08 8 10s234ms 1s279ms 10 1 1s240ms 1s240ms 11 1 1s219ms 1s219ms 12 1 1s258ms 1s258ms 13 1 1s236ms 1s236ms 14 12 15s844ms 1s320ms 15 11 14s437ms 1s312ms 16 10 12s844ms 1s284ms 17 9 11s557ms 1s284ms 18 11 13s854ms 1s259ms 19 2 2s555ms 1s277ms 20 2 2s476ms 1s238ms 22 3 3s956ms 1s318ms 23 1 1s236ms 1s236ms Apr 30 00 2 2s482ms 1s241ms 01 4 5s160ms 1s290ms 02 6 7s690ms 1s281ms 03 4 5s91ms 1s272ms 04 3 3s871ms 1s290ms 05 2 2s837ms 1s418ms 06 1 1s256ms 1s256ms 07 5 6s165ms 1s233ms 08 1 1s241ms 1s241ms 09 1 1s246ms 1s246ms May 02 12 5 6s177ms 1s235ms 13 3 3s891ms 1s297ms 14 5 6s528ms 1s305ms 15 3 3s788ms 1s262ms 16 8 10s180ms 1s272ms 17 2 2s548ms 1s274ms 19 3 3s749ms 1s249ms 20 1 1s256ms 1s256ms 21 2 2s613ms 1s306ms 22 1 1s243ms 1s243ms May 03 16 1 1s234ms 1s234ms 17 2 2s481ms 1s240ms [ User: pubeu - Total duration: 1m46s - 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 exposureMarkerTerm.id = '2071027' or receptorTerm.id = '2071027' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-04-28 20:00:28 Duration: 3s638ms 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 = '1469352' or receptorTerm.id = '1469352' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-04-28 20:37:21 Duration: 3s283ms 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 = '1616859' or receptorTerm.id = '1616859' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-04-28 21:31:25 Duration: 2s684ms Bind query: yes
9 332 22m59s 3s646ms 11s208ms 4s156ms 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 #9
Day Hour Count Duration Avg duration Apr 27 00 2 8s439ms 4s219ms 02 3 12s821ms 4s273ms 03 3 11s908ms 3s969ms 04 1 4s171ms 4s171ms 05 2 15s224ms 7s612ms 06 1 4s276ms 4s276ms 08 2 8s461ms 4s230ms 09 3 12s91ms 4s30ms 10 2 8s322ms 4s161ms 11 1 4s19ms 4s19ms 12 1 3s783ms 3s783ms 17 2 7s871ms 3s935ms 18 1 3s946ms 3s946ms 19 3 12s338ms 4s112ms 20 1 3s773ms 3s773ms 21 1 3s947ms 3s947ms 22 4 15s695ms 3s923ms 23 4 16s108ms 4s27ms Apr 28 01 2 7s885ms 3s942ms 05 1 3s930ms 3s930ms 06 1 3s855ms 3s855ms 08 3 12s324ms 4s108ms 09 2 7s951ms 3s975ms 10 5 19s601ms 3s920ms 11 3 13s87ms 4s362ms 12 2 8s608ms 4s304ms 13 3 12s136ms 4s45ms 15 2 8s526ms 4s263ms 16 1 4s97ms 4s97ms 18 1 5s97ms 5s97ms 19 1 6s172ms 6s172ms 20 5 24s350ms 4s870ms 21 4 17s450ms 4s362ms 22 2 7s923ms 3s961ms 23 3 12s716ms 4s238ms Apr 29 00 2 7s880ms 3s940ms 01 1 4s260ms 4s260ms 02 3 13s394ms 4s464ms 03 1 4s313ms 4s313ms 04 4 16s565ms 4s141ms 05 4 18s459ms 4s614ms 06 19 1m23s 4s373ms 08 4 16s99ms 4s24ms 09 4 15s888ms 3s972ms 10 2 8s569ms 4s284ms 11 5 19s647ms 3s929ms 12 5 19s915ms 3s983ms 13 4 15s779ms 3s944ms 14 5 22s454ms 4s490ms 15 4 16s137ms 4s34ms 16 1 4s158ms 4s158ms 19 5 21s66ms 4s213ms 20 1 3s874ms 3s874ms 21 8 32s430ms 4s53ms 22 6 24s266ms 4s44ms 23 6 23s563ms 3s927ms Apr 30 00 1 3s915ms 3s915ms 01 1 3s954ms 3s954ms 03 2 7s989ms 3s994ms 04 5 20s206ms 4s41ms 07 3 11s589ms 3s863ms 08 17 1m7s 3s971ms 09 2 7s941ms 3s970ms 10 10 40s607ms 4s60ms 11 1 3s913ms 3s913ms 12 4 15s520ms 3s880ms 13 3 11s557ms 3s852ms 14 2 8s36ms 4s18ms 15 1 4s74ms 4s74ms 17 8 34s598ms 4s324ms 21 2 8s449ms 4s224ms 22 2 8s251ms 4s125ms May 01 01 1 4s81ms 4s81ms 03 1 4s228ms 4s228ms 04 1 3s896ms 3s896ms 05 1 4s404ms 4s404ms 06 2 8s267ms 4s133ms 09 1 4s19ms 4s19ms 10 2 8s486ms 4s243ms 11 1 4s301ms 4s301ms 12 2 7s918ms 3s959ms 13 5 21s383ms 4s276ms 15 1 3s967ms 3s967ms 19 1 4s34ms 4s34ms 21 1 4s53ms 4s53ms 23 1 3s934ms 3s934ms May 02 00 1 4s55ms 4s55ms 01 1 3s933ms 3s933ms 02 2 8s17ms 4s8ms 04 4 16s413ms 4s103ms 05 1 4s33ms 4s33ms 06 1 3s870ms 3s870ms 07 2 9s203ms 4s601ms 08 2 7s836ms 3s918ms 09 3 12s407ms 4s135ms 12 3 13s900ms 4s633ms 13 4 16s946ms 4s236ms 14 1 4s43ms 4s43ms 15 4 16s777ms 4s194ms 16 10 42s456ms 4s245ms 17 1 4s155ms 4s155ms 18 4 16s779ms 4s194ms 21 1 3s904ms 3s904ms 22 3 12s309ms 4s103ms 23 1 3s873ms 3s873ms May 03 02 4 16s163ms 4s40ms 04 1 4s114ms 4s114ms 06 2 8s372ms 4s186ms 07 2 8s302ms 4s151ms 08 1 4s87ms 4s87ms 09 3 12s87ms 4s29ms 10 2 7s904ms 3s952ms 12 1 4s223ms 4s223ms 13 3 11s632ms 3s877ms 18 3 12s733ms 4s244ms 22 1 3s903ms 3s903ms 23 3 11s683ms 3s894ms [ User: pubeu - Total duration: 8m26s - Times executed: 121 ]
[ User: qaeu - Total duration: 16s174ms - Times executed: 4 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1298883') 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 = '1298883') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-27 05:16:39 Duration: 11s208ms 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 = '1352221') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1352221') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-28 19:50:03 Duration: 6s172ms 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 = '1355680') 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 = '1355680') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-29 06:22:16 Duration: 5s922ms Bind query: yes
10 257 25m1s 1s10ms 48s423ms 5s841ms 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 #10
Day Hour Count Duration Avg duration Apr 27 01 6 23s775ms 3s962ms 02 6 24s78ms 4s13ms 03 8 13s928ms 1s741ms 04 5 16s437ms 3s287ms 05 3 5s424ms 1s808ms 06 2 3s444ms 1s722ms 07 3 17s766ms 5s922ms 08 3 39s654ms 13s218ms 09 1 34s914ms 34s914ms 10 2 3s510ms 1s755ms 11 9 41s759ms 4s639ms 14 5 11s787ms 2s357ms 15 10 3m28s 20s896ms 16 3 17s548ms 5s849ms 17 9 32s585ms 3s620ms 18 6 21s943ms 3s657ms 21 4 7s726ms 1s931ms 22 1 3s244ms 3s244ms 23 1 11s778ms 11s778ms Apr 28 02 1 33s512ms 33s512ms 06 4 1m45s 26s453ms 07 2 14s623ms 7s311ms 09 7 37s55ms 5s293ms 11 3 1m28s 29s511ms 16 6 11s989ms 1s998ms 17 8 17s70ms 2s133ms 18 7 25s650ms 3s664ms 19 3 5s687ms 1s895ms 21 3 6s338ms 2s112ms 22 1 1s511ms 1s511ms 23 2 15s23ms 7s511ms Apr 29 00 1 7s968ms 7s968ms 01 5 39s381ms 7s876ms 02 6 38s729ms 6s454ms 03 5 18s889ms 3s777ms 04 3 6s190ms 2s63ms 05 3 6s808ms 2s269ms 06 3 5s398ms 1s799ms 08 3 7s73ms 2s357ms 10 4 18s173ms 4s543ms 14 6 27s680ms 4s613ms 15 5 13s364ms 2s672ms 16 5 9s860ms 1s972ms 20 3 9s716ms 3s238ms 21 1 34s623ms 34s623ms 22 2 20s263ms 10s131ms Apr 30 00 3 3s529ms 1s176ms 01 6 1m47s 17s988ms 03 4 6s482ms 1s620ms 04 2 4s477ms 2s238ms 05 7 14s687ms 2s98ms 06 2 3s564ms 1s782ms 07 3 5s182ms 1s727ms 09 1 2s562ms 2s562ms 20 2 6s776ms 3s388ms May 01 00 1 1s775ms 1s775ms 04 6 1m37s 16s181ms 11 1 1s796ms 1s796ms 14 6 24s933ms 4s155ms May 02 13 2 3s915ms 1s957ms 14 3 6s173ms 2s57ms 15 6 8s666ms 1s444ms 16 6 24s293ms 4s48ms 19 3 4s526ms 1s508ms May 03 00 1 1s608ms 1s608ms 08 1 1s58ms 1s58ms 20 2 3s111ms 1s555ms [ User: pubeu - Total duration: 8m24s - 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 = '2095468') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-27 15:21:22 Duration: 48s423ms 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 = '2095468') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-27 15:30:07 Duration: 47s713ms 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 = '2095468') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-27 15:18:47 Duration: 45s127ms Bind query: yes
11 256 11m23s 1s 8s434ms 2s670ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 27 00 1 2s875ms 2s875ms 01 8 22s510ms 2s813ms 02 4 7s872ms 1s968ms 03 3 12s59ms 4s19ms 04 5 10s533ms 2s106ms 05 4 15s613ms 3s903ms 06 3 5s941ms 1s980ms 08 5 12s140ms 2s428ms 09 4 7s378ms 1s844ms 10 2 7s345ms 3s672ms 11 5 13s669ms 2s733ms 12 4 8s819ms 2s204ms 13 5 10s377ms 2s75ms 14 4 6s229ms 1s557ms 15 2 2s954ms 1s477ms 18 2 4s963ms 2s481ms 20 1 1s671ms 1s671ms Apr 28 00 1 1s37ms 1s37ms 10 1 5s820ms 5s820ms 16 1 2s473ms 2s473ms 18 1 1s357ms 1s357ms 20 15 22s568ms 1s504ms 21 1 1s37ms 1s37ms Apr 29 05 2 4s452ms 2s226ms 06 1 2s584ms 2s584ms 07 2 2s172ms 1s86ms 14 3 9s830ms 3s276ms 15 2 2s49ms 1s24ms 16 6 19s723ms 3s287ms 17 1 1s73ms 1s73ms 18 1 1s92ms 1s92ms 22 1 1s47ms 1s47ms Apr 30 03 1 1s8ms 1s8ms 04 6 6s217ms 1s36ms 08 1 1s63ms 1s63ms 09 1 2s798ms 2s798ms 10 1 2s535ms 2s535ms 16 5 15s862ms 3s172ms 17 4 12s33ms 3s8ms 18 3 8s173ms 2s724ms 19 8 20s751ms 2s593ms 20 8 29s36ms 3s629ms 21 6 16s113ms 2s685ms 22 6 18s760ms 3s126ms 23 8 26s783ms 3s347ms May 01 00 4 11s981ms 2s995ms 01 10 34s786ms 3s478ms 02 3 11s540ms 3s846ms 03 10 25s890ms 2s589ms 04 7 20s828ms 2s975ms 05 4 12s37ms 3s9ms 06 13 42s748ms 3s288ms 07 9 25s44ms 2s782ms 08 11 39s989ms 3s635ms 09 8 18s447ms 2s305ms 10 6 18s386ms 3s64ms 11 5 18s465ms 3s693ms 16 1 2s861ms 2s861ms May 02 12 1 1s150ms 1s150ms 15 1 1s119ms 1s119ms 16 1 2s725ms 2s725ms May 03 10 1 1s106ms 1s106ms 16 1 1s6ms 1s6ms 20 1 1s44ms 1s44ms [ User: pubeu - Total duration: 6m26s - Times executed: 137 ]
-
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 LIMIT 50;
Date: 2025-05-01 08:05:43 Duration: 8s434ms 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 LIMIT 50;
Date: 2025-05-01 01:00:36 Duration: 7s722ms 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 LIMIT 50;
Date: 2025-05-01 08:05:43 Duration: 7s136ms Database: ctdprd51 User: pubeu Bind query: yes
12 253 19m41s 1s33ms 17s987ms 4s671ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 30 16 38 2m20s 3s708ms 17 36 2m49s 4s708ms 18 24 1m46s 4s439ms 19 16 1m18s 4s886ms 20 17 1m27s 5s144ms 21 13 1m7s 5s174ms 22 12 1m2s 5s171ms 23 14 1m2s 4s473ms May 01 00 9 48s709ms 5s412ms 01 8 41s659ms 5s207ms 02 7 34s429ms 4s918ms 03 6 31s138ms 5s189ms 04 5 20s529ms 4s105ms 05 6 42s654ms 7s109ms 06 9 38s311ms 4s256ms 07 8 35s771ms 4s471ms 08 5 27s862ms 5s572ms 09 9 37s439ms 4s159ms 10 4 19s752ms 4s938ms 11 7 29s117ms 4s159ms [ User: pubeu - Total duration: 12m18s - Times executed: 159 ]
-
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;
Date: 2025-05-01 05:13:07 Duration: 17s987ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1409922'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-05-01 05:13:07 Duration: 9s493ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1409922'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-05-01 06:00:16 Duration: 8s19ms Bind query: yes
13 233 53m48s 4s59ms 36m38s 13s857ms select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 29 14 184 50m12s 16s369ms 15 49 3m36s 4s425ms [ User: qaeu - Total duration: 36m38s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-04-29 14:29:07 Duration: 36m38s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-04-29 14:35:51 Duration: 5s507ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-04-29 14:49:24 Duration: 5s490ms Bind query: yes
14 168 4m17s 1s464ms 2s193ms 1s533ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 27 00 6 9s234ms 1s539ms 01 8 12s564ms 1s570ms 02 4 6s463ms 1s615ms 03 8 12s300ms 1s537ms 04 7 10s620ms 1s517ms 05 13 19s814ms 1s524ms 06 5 7s513ms 1s502ms 07 7 10s599ms 1s514ms 08 8 12s10ms 1s501ms 09 8 11s931ms 1s491ms 10 6 9s52ms 1s508ms 11 13 19s761ms 1s520ms 12 3 4s500ms 1s500ms 13 9 13s595ms 1s510ms 14 9 13s581ms 1s509ms 15 3 4s498ms 1s499ms 16 1 1s664ms 1s664ms Apr 28 05 2 2s955ms 1s477ms 07 1 1s490ms 1s490ms Apr 29 05 2 3s145ms 1s572ms 13 1 1s615ms 1s615ms 22 1 1s544ms 1s544ms Apr 30 03 1 1s533ms 1s533ms 05 3 4s758ms 1s586ms 06 1 1s505ms 1s505ms 07 3 4s524ms 1s508ms 11 1 1s542ms 1s542ms 13 1 1s543ms 1s543ms 14 1 1s644ms 1s644ms 15 2 3s83ms 1s541ms 16 1 1s547ms 1s547ms May 01 01 1 1s567ms 1s567ms 05 2 3s60ms 1s530ms 07 1 1s552ms 1s552ms 15 1 1s520ms 1s520ms 21 1 1s541ms 1s541ms 22 1 1s535ms 1s535ms May 02 00 3 4s616ms 1s538ms 02 2 3s129ms 1s564ms 04 1 1s536ms 1s536ms 05 2 3s104ms 1s552ms 10 1 1s537ms 1s537ms 11 1 1s527ms 1s527ms 12 1 1s528ms 1s528ms 13 1 1s658ms 1s658ms 16 1 1s537ms 1s537ms 18 1 1s545ms 1s545ms May 03 00 1 1s535ms 1s535ms 02 1 1s539ms 1s539ms 05 3 4s627ms 1s542ms 21 1 1s540ms 1s540ms 22 2 3s683ms 1s841ms [ User: pubeu - Total duration: 1m7s - Times executed: 44 ]
[ User: qaeu - Total duration: 6s162ms - Times executed: 4 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-05-03 22:57:26 Duration: 2s193ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-04-27 02:11:48 Duration: 1s857ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-04-27 01:50:00 Duration: 1s806ms Database: ctdprd51 User: pubeu Bind query: yes
15 155 4m24s 1s95ms 2s602ms 1s703ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 27 00 2 3s389ms 1s694ms 01 3 4s728ms 1s576ms 02 1 1s411ms 1s411ms 03 1 2s153ms 2s153ms 04 2 3s286ms 1s643ms 05 5 9s726ms 1s945ms 06 8 13s468ms 1s683ms 08 2 3s288ms 1s644ms 09 5 8s800ms 1s760ms 10 5 8s196ms 1s639ms 11 2 4s457ms 2s228ms 12 2 2s548ms 1s274ms 13 6 8s875ms 1s479ms 14 1 1s349ms 1s349ms Apr 28 11 1 1s871ms 1s871ms 12 4 6s423ms 1s605ms 14 4 6s508ms 1s627ms 15 2 3s398ms 1s699ms 17 1 2s22ms 2s22ms 18 5 7s768ms 1s553ms 19 4 6s458ms 1s614ms 21 2 3s287ms 1s643ms Apr 29 15 1 1s886ms 1s886ms 19 2 3s131ms 1s565ms 20 2 3s107ms 1s553ms 21 2 3s160ms 1s580ms Apr 30 01 4 6s639ms 1s659ms 02 2 3s202ms 1s601ms 04 2 3s164ms 1s582ms 05 4 6s504ms 1s626ms 06 2 3s198ms 1s599ms 08 4 6s338ms 1s584ms 10 5 8s314ms 1s662ms 12 7 11s171ms 1s595ms 13 4 6s275ms 1s568ms 14 4 7s720ms 1s930ms 17 1 1s362ms 1s362ms 21 1 1s911ms 1s911ms 22 6 10s824ms 1s804ms 23 1 2s14ms 2s14ms May 01 01 2 3s753ms 1s876ms 02 3 5s794ms 1s931ms 03 3 4s875ms 1s625ms 04 1 1s705ms 1s705ms 06 1 1s986ms 1s986ms 07 1 1s391ms 1s391ms 08 1 1s955ms 1s955ms 09 1 1s944ms 1s944ms 11 4 7s181ms 1s795ms 12 1 1s863ms 1s863ms May 02 05 1 1s876ms 1s876ms 06 1 1s889ms 1s889ms 07 1 1s904ms 1s904ms 21 3 5s666ms 1s888ms May 03 03 2 3s732ms 1s866ms 04 1 1s866ms 1s866ms 05 3 5s634ms 1s878ms 11 2 3s780ms 1s890ms 12 1 1s848ms 1s848ms [ User: pubeu - Total duration: 1m45s - Times executed: 61 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-27 11:54:46 Duration: 2s602ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-27 03:09:46 Duration: 2s153ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-27 00:15:23 Duration: 2s91ms Bind query: yes
16 154 10m1s 1s70ms 12s138ms 3s904ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 27 00 6 24s851ms 4s141ms 01 4 12s228ms 3s57ms 02 1 1s228ms 1s228ms 03 2 11s617ms 5s808ms 04 3 9s130ms 3s43ms 05 4 23s143ms 5s785ms 06 3 14s705ms 4s901ms 07 8 24s340ms 3s42ms 08 4 18s521ms 4s630ms 09 2 11s735ms 5s867ms 10 3 11s651ms 3s883ms 11 3 12s667ms 4s222ms 12 2 8s172ms 4s86ms 13 3 5s272ms 1s757ms 14 5 16s166ms 3s233ms 15 3 13s82ms 4s360ms 16 2 7s344ms 3s672ms 17 1 1s275ms 1s275ms 19 2 16s294ms 8s147ms 20 1 1s186ms 1s186ms Apr 28 01 1 1s205ms 1s205ms 02 1 10s250ms 10s250ms 07 2 3s692ms 1s846ms 09 4 14s413ms 3s603ms 11 7 29s386ms 4s198ms 12 1 2s571ms 2s571ms 13 4 17s401ms 4s350ms 17 1 3s81ms 3s81ms 20 1 1s405ms 1s405ms 22 1 2s149ms 2s149ms 23 1 2s609ms 2s609ms Apr 29 01 2 24s2ms 12s1ms 03 2 5s357ms 2s678ms 04 2 4s611ms 2s305ms 05 2 7s283ms 3s641ms 09 1 4s452ms 4s452ms 12 1 2s501ms 2s501ms 14 2 5s280ms 2s640ms 15 2 13s135ms 6s567ms 16 1 1s898ms 1s898ms 19 2 3s817ms 1s908ms 22 1 1s305ms 1s305ms 23 3 31s231ms 10s410ms Apr 30 01 3 10s706ms 3s568ms 03 1 1s323ms 1s323ms 06 2 6s226ms 3s113ms 08 2 12s811ms 6s405ms 09 1 2s543ms 2s543ms 13 1 1s389ms 1s389ms 14 2 3s940ms 1s970ms 16 1 5s408ms 5s408ms 17 1 5s958ms 5s958ms 19 1 1s197ms 1s197ms 23 3 14s658ms 4s886ms May 01 01 2 4s108ms 2s54ms 02 1 1s225ms 1s225ms 03 1 4s382ms 4s382ms 04 10 46s456ms 4s645ms 06 2 7s764ms 3s882ms 09 2 8s438ms 4s219ms 10 2 4s526ms 2s263ms 14 1 1s480ms 1s480ms May 02 03 1 1s693ms 1s693ms 06 2 5s344ms 2s672ms 13 1 1s73ms 1s73ms 14 1 1s395ms 1s395ms 16 1 1s457ms 1s457ms May 03 12 1 4s336ms 4s336ms 13 1 3s735ms 3s735ms [ User: pubeu - Total duration: 3m29s - Times executed: 51 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-29 01:20:12 Duration: 12s138ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-27 00:54:29 Duration: 12s51ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-29 01:20:15 Duration: 11s863ms Bind query: yes
17 137 2m33s 1s37ms 1s579ms 1s120ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.ixn_id = any (array (( select ixn_id from ixn_anatomy where anatomy_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?)))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ? offset ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 27 02 17 19s42ms 1s120ms 03 119 2m12s 1s116ms May 03 09 1 1s579ms 1s579ms [ User: pubeu - Total duration: 18s265ms - Times executed: 16 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2110290')))) 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 OFFSET 50;
Date: 2025-05-03 09:52:47 Duration: 1s579ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107891')))) 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 OFFSET 1100;
Date: 2025-04-27 02:59:43 Duration: 1s302ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2107891')))) 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 OFFSET 3650;
Date: 2025-04-27 03:01:12 Duration: 1s282ms Bind query: yes
18 130 7m55s 1s5ms 6s811ms 3s654ms 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 Apr 27 00 1 5s431ms 5s431ms 01 5 14s371ms 2s874ms 02 3 12s139ms 4s46ms 03 3 7s609ms 2s536ms 04 4 13s560ms 3s390ms 05 2 2s750ms 1s375ms 06 2 6s645ms 3s322ms 07 3 12s132ms 4s44ms 08 2 11s362ms 5s681ms 09 3 7s758ms 2s586ms 10 6 6s612ms 1s102ms 11 3 16s464ms 5s488ms 12 1 5s452ms 5s452ms 13 2 6s371ms 3s185ms 14 4 13s181ms 3s295ms 15 3 12s82ms 4s27ms 16 1 1s135ms 1s135ms 17 1 1s128ms 1s128ms 18 5 18s956ms 3s791ms 19 1 5s689ms 5s689ms 23 1 5s533ms 5s533ms Apr 28 00 1 5s313ms 5s313ms 05 2 6s688ms 3s344ms 07 2 2s487ms 1s243ms 16 1 5s421ms 5s421ms 17 3 7s655ms 2s551ms 18 5 24s160ms 4s832ms 19 1 5s525ms 5s525ms 20 3 8s727ms 2s909ms 23 1 6s159ms 6s159ms Apr 29 03 2 12s784ms 6s392ms 05 3 11s927ms 3s975ms 06 3 7s936ms 2s645ms 07 5 27s287ms 5s457ms 14 5 14s521ms 2s904ms 15 4 17s542ms 4s385ms 16 3 3s482ms 1s160ms 17 2 6s452ms 3s226ms Apr 30 05 4 22s50ms 5s512ms 06 2 10s755ms 5s377ms 07 1 1s69ms 1s69ms 17 4 4s449ms 1s112ms May 02 05 3 16s719ms 5s573ms 12 4 18s518ms 4s629ms 13 2 2s84ms 1s42ms 14 2 11s182ms 5s591ms 15 2 11s205ms 5s602ms 16 1 1s95ms 1s95ms 18 1 5s569ms 5s569ms 21 1 5s526ms 5s526ms May 03 22 1 4s365ms 4s365ms [ User: pubeu - Total duration: 1m29s - Times executed: 30 ]
-
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', 'HCN1_0') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'HCN1_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 'HCN1_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 'HCN1_0')) ii GROUP BY ii.cd;
Date: 2025-04-29 03:31:25 Duration: 6s811ms 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', 'IF_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'IF_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 'IF_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 'IF_1')) ii GROUP BY ii.cd;
Date: 2025-04-28 18:36:04 Duration: 6s750ms 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', 'MKS1_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'MKS1_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 'MKS1_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 'MKS1_1')) ii GROUP BY ii.cd;
Date: 2025-04-28 20:19:16 Duration: 6s492ms Bind query: yes
19 128 7m54s 1s9ms 12s608ms 3s703ms 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 #19
Day Hour Count Duration Avg duration Apr 27 00 2 2s184ms 1s92ms 01 1 1s83ms 1s83ms 02 3 8s269ms 2s756ms 03 1 1s233ms 1s233ms 04 1 1s14ms 1s14ms 05 5 10s15ms 2s3ms 07 2 2s143ms 1s71ms 08 1 1s102ms 1s102ms 09 4 13s368ms 3s342ms 10 2 2s255ms 1s127ms 11 2 2s47ms 1s23ms 12 3 6s293ms 2s97ms 13 2 5s327ms 2s663ms 14 7 26s279ms 3s754ms 15 4 30s275ms 7s568ms 16 1 1s272ms 1s272ms 18 4 31s701ms 7s925ms 22 1 2s550ms 2s550ms Apr 28 00 1 1s32ms 1s32ms 06 1 1s211ms 1s211ms 10 1 1s405ms 1s405ms 11 1 1s407ms 1s407ms 16 1 1s340ms 1s340ms 17 2 2s551ms 1s275ms 19 2 19s713ms 9s856ms 20 1 1s466ms 1s466ms 21 1 1s23ms 1s23ms 22 1 1s228ms 1s228ms Apr 29 00 1 2s267ms 2s267ms 01 4 30s310ms 7s577ms 03 3 23s293ms 7s764ms 04 4 6s694ms 1s673ms 05 2 2s702ms 1s351ms 07 1 1s594ms 1s594ms 10 1 6s512ms 6s512ms 14 5 24s15ms 4s803ms 15 8 39s278ms 4s909ms 16 3 4s369ms 1s456ms 17 4 6s137ms 1s534ms 18 2 2s343ms 1s171ms 19 3 5s44ms 1s681ms 21 3 29s889ms 9s963ms Apr 30 01 3 28s709ms 9s569ms 02 2 4s373ms 2s186ms 03 5 17s935ms 3s587ms 05 2 10s100ms 5s50ms May 02 12 2 2s966ms 1s483ms 14 3 5s574ms 1s858ms 15 1 1s99ms 1s99ms 16 1 2s888ms 2s888ms 17 3 4s509ms 1s503ms 19 3 18s24ms 6s8ms May 03 14 1 12s608ms 12s608ms [ User: pubeu - Total duration: 1m54s - Times executed: 30 ]
-
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 = '1256379') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2025-05-03 14:18:55 Duration: 12s608ms 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 = '1271946') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2025-04-27 18:41:45 Duration: 11s 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 = '1271946') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2025-04-29 15:10:35 Duration: 10s847ms Bind query: yes
20 121 4m57s 1s3ms 9s61ms 2s459ms 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 #20
Day Hour Count Duration Avg duration Apr 27 00 1 1s23ms 1s23ms 03 1 1s200ms 1s200ms 07 1 1s144ms 1s144ms 13 3 8s425ms 2s808ms 14 1 1s32ms 1s32ms 16 2 5s560ms 2s780ms 17 1 1s213ms 1s213ms 18 1 1s135ms 1s135ms 19 1 1s744ms 1s744ms Apr 28 11 1 1s183ms 1s183ms 16 5 8s272ms 1s654ms 17 2 2s318ms 1s159ms 18 2 4s520ms 2s260ms 19 2 2s301ms 1s150ms 20 9 16s280ms 1s808ms 21 3 4s853ms 1s617ms Apr 29 02 2 2s390ms 1s195ms 03 3 4s451ms 1s483ms 04 1 1s396ms 1s396ms 05 3 4s345ms 1s448ms 06 6 31s67ms 5s177ms 07 1 2s724ms 2s724ms 08 1 1s9ms 1s9ms 11 1 1s80ms 1s80ms 14 8 14s595ms 1s824ms 16 8 10s291ms 1s286ms 17 1 3s191ms 3s191ms 21 2 2s193ms 1s96ms Apr 30 01 1 1s7ms 1s7ms 03 2 2s853ms 1s426ms 07 1 1s6ms 1s6ms 16 1 7s591ms 7s591ms 17 1 2s676ms 2s676ms 18 1 3s84ms 3s84ms 21 1 3s375ms 3s375ms 23 4 10s821ms 2s705ms May 01 00 2 9s234ms 4s617ms 01 2 9s251ms 4s625ms 02 1 7s936ms 7s936ms 03 4 17s741ms 4s435ms 04 2 11s872ms 5s936ms 06 5 25s314ms 5s62ms 07 2 10s992ms 5s496ms 09 1 3s313ms 3s313ms 11 1 3s115ms 3s115ms May 02 12 2 2s65ms 1s32ms 13 2 2s64ms 1s32ms 14 3 8s69ms 2s689ms 15 1 1s30ms 1s30ms 16 2 2s71ms 1s35ms 17 2 4s24ms 2s12ms 20 1 1s5ms 1s5ms 21 1 1s367ms 1s367ms May 03 15 1 1s3ms 1s3ms 20 1 2s767ms 2s767ms [ User: pubeu - Total duration: 2m36s - Times executed: 52 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort;
Date: 2025-04-29 06:20:39 Duration: 9s61ms 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-01 06:01:46 Duration: 8s699ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '659068' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort;
Date: 2025-04-29 06:21:08 Duration: 8s597ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2h10m29s 2h10m29s 2h10m29s 1 2h10m29s select pub2.maint_term_derive_data ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 29 05 1 2h10m29s 2h10m29s -
select pub2.maint_term_derive_data ();
Date: 2025-04-29 05:35:37 Duration: 2h10m29s Bind query: yes
2 1h48m15s 1h48m15s 1h48m15s 1 1h48m15s select pub2.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 29 01 1 1h48m15s 1h48m15s -
select pub2.maint_gene_chem_ref_gene_form_refresh ();
Date: 2025-04-29 01:19:46 Duration: 1h48m15s Bind query: yes
3 1h6m56s 1h6m56s 1h6m56s 1 1h6m56s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 29 02 1 1h6m56s 1h6m56s -
SELECT maint_term_derive_nm_fts ();
Date: 2025-04-29 02:29:37 Duration: 1h6m56s Bind query: yes
4 48m59s 48m59s 48m59s 1 48m59s vacuum full analyze;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 29 03 1 48m59s 48m59s -
VACUUM FULL ANALYZE;
Date: 2025-04-29 03:24:44 Duration: 48m59s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2025-04-29 02:35:45 Duration: 0ms
5 47m33s 47m33s 47m33s 1 47m33s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.gene_go_annot gga, pub2.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 28 19 1 47m33s 47m33s -
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2025-04-28 19:44:21 Duration: 47m33s Bind query: yes
6 43m7s 43m7s 43m7s 1 43m7s select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.object_type where cd = ?), ptr.term_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.phenotype_term_reference ptr, pub2.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 28 18 1 43m7s 43m7s -
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2025-04-28 18:56:42 Duration: 43m7s Bind query: yes
7 36m40s 36m40s 36m40s 1 36m40s select pub2.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 29 06 1 36m40s 36m40s -
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2025-04-29 06:22:41 Duration: 36m40s Bind query: yes
-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2025-04-29 06:18:07 Duration: 0ms
8 33m53s 33m53s 33m53s 1 33m53s select i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) from edit.ixn i, edit.reference_ixn r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in (...) order by i.id asc;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 28 17 1 33m53s 33m53s -
SELECT i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) FROM edit.IXN i, edit.REFERENCE_IXN r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in ('bogusName') order by i.id asc;
Date: 2025-04-28 17:19:00 Duration: 33m53s Bind query: yes
9 25m35s 25m35s 25m35s 1 25m35s update pub2.gene_disease gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.gene_disease_reference gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.reference r where has_exposures = true));Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 28 23 1 25m35s 25m35s -
update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));
Date: 2025-04-28 23:26:05 Duration: 25m35s Bind query: yes
10 25m31s 25m31s 25m31s 1 25m31s insert into pub2.gene_go_annot (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.gene_go_annot;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 28 16 1 25m31s 25m31s -
insert into pub2.GENE_GO_ANNOT (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.GENE_GO_ANNOT;
Date: 2025-04-28 16:36:25 Duration: 25m31s Bind query: yes
11 5m1s 5m7s 5m5s 7 35m37s select maint_query_logs_archive ();Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 27 00 1 5m6s 5m6s Apr 28 00 1 5m4s 5m4s Apr 29 00 1 5m5s 5m5s Apr 30 00 1 5m6s 5m6s May 01 00 1 5m7s 5m7s May 02 00 1 5m1s 5m1s May 03 00 1 5m5s 5m5s -
/* * 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-01 00:05:08 Duration: 5m7s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-04-27 00:05:07 Duration: 5m6s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-04-30 00:05:08 Duration: 5m6s
12 1s503ms 18m32s 2m32s 54 2h17m17s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 27 00 3 10m10s 3m23s 01 6 15m45s 2m37s 02 2 3s101ms 1s550ms 03 6 2m5s 20s844ms 04 2 4s943ms 2s471ms 05 5 12m49s 2m33s 06 1 5m2s 5m2s 07 2 3m45s 1m52s 08 5 19m9s 3m49s 10 2 3s198ms 1s599ms 11 2 3m21s 1m40s 12 6 20m20s 3m23s 13 4 35m1s 8m45s 14 2 3s347ms 1s673ms 15 4 5m38s 1m24s Apr 29 17 1 3m50s 3m50s 20 1 1s558ms 1s558ms [ User: pubeu - Total duration: 40m32s - 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-27 13:57:15 Duration: 18m32s 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 = '1253087') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-27 13:32:11 Duration: 11m40s 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 = '1248121') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-27 00:06:49 Duration: 5m40s Bind query: yes
13 1s563ms 4m39s 41s571ms 40 27m42s 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 #13
Day Hour Count Duration Avg duration Apr 28 20 6 9m2s 1m30s 21 5 5m7s 1m1s Apr 29 04 1 1s563ms 1s563ms 14 3 2m37s 52s467ms 15 1 3s162ms 3s162ms 16 3 1m12s 24s74ms 19 3 1m35s 31s870ms Apr 30 06 3 1m21s 27s273ms 07 3 2m14s 44s814ms 10 4 1m52s 28s156ms 17 1 2s648ms 2s648ms May 01 03 1 2s521ms 2s521ms 06 1 2s999ms 2s999ms 07 1 3s59ms 3s59ms 11 1 1m10s 1m10s May 02 02 1 33s662ms 33s662ms 12 1 2s567ms 2s567ms May 03 22 1 34s830ms 34s830ms [ User: pubeu - Total duration: 12m52s - Times executed: 19 ]
-
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 = '1265643')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-28 20:41:16 Duration: 4m39s 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 = '1243641')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-28 21:16:14 Duration: 2m7s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1265643')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-28 20:37:25 Duration: 1m18s Bind query: yes
14 1s320ms 7m5s 40s625ms 76 51m27s select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 28 13 12 1m27s 7s288ms 14 23 16m19s 42s589ms 15 7 8m42s 1m14s 17 6 1m12s 12s163ms 19 3 8m24s 2m48s 20 4 7m13s 1m48s 21 14 4m7s 17s675ms 22 7 4m 34s318ms [ User: load - Total duration: 14m58s - Times executed: 24 ]
[ Application: pg_bulkload - Total duration: 14m58s - Times executed: 24 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2025-04-28 19:56:30 Duration: 7m5s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2025-04-28 20:28:55 Duration: 5m23s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2025-04-28 14:24:35 Duration: 4m24s Bind query: yes
15 1s66ms 1m23s 17s500ms 391 1h54m2s 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 #15
Day Hour Count Duration Avg duration Apr 27 00 4 1m8s 17s71ms 02 4 1m8s 17s210ms 03 9 2m45s 18s416ms 04 3 49s337ms 16s445ms 05 3 53s173ms 17s724ms 06 3 52s354ms 17s451ms 07 2 33s872ms 16s936ms 09 9 2m25s 16s151ms 11 1 15s452ms 15s452ms 12 5 1m25s 17s7ms 13 3 49s355ms 16s451ms 14 9 2m29s 16s612ms 15 10 2m56s 17s632ms 16 14 3m54s 16s742ms 17 6 1m45s 17s519ms 18 11 5m3s 27s611ms 19 3 56s435ms 18s811ms 20 3 46s911ms 15s637ms 23 3 44s858ms 14s952ms Apr 28 02 3 51s341ms 17s113ms 06 3 47s530ms 15s843ms 09 3 58s658ms 19s552ms 10 3 45s694ms 15s231ms 12 3 47s753ms 15s917ms 13 3 47s101ms 15s700ms 17 10 2m33s 15s356ms 18 9 2m37s 17s526ms 19 4 54s431ms 13s607ms 20 16 5m51s 21s938ms 21 9 2m27s 16s367ms 22 2 31s957ms 15s978ms Apr 29 02 5 1m9s 13s806ms 03 2 32s763ms 16s381ms 04 19 6m1s 19s46ms 05 5 1m26s 17s394ms 06 15 4m15s 17s10ms 07 14 3m53s 16s669ms 08 3 55s58ms 18s352ms 09 6 1m48s 18s149ms 12 1 15s179ms 15s179ms 13 3 57s235ms 19s78ms 14 6 1m28s 14s724ms 15 13 3m59s 18s424ms 16 12 5m57s 29s771ms 17 8 2m18s 17s340ms 18 6 1m30s 15s97ms 19 3 53s89ms 17s696ms 22 3 48s776ms 16s258ms 23 3 49s26ms 16s342ms Apr 30 01 1 1s66ms 1s66ms 02 15 3m47s 15s133ms 03 3 48s881ms 16s293ms 04 6 1m22s 13s813ms 06 4 1m1s 15s394ms 09 3 49s911ms 16s637ms 10 3 47s365ms 15s788ms 11 3 57s422ms 19s140ms 12 3 59s701ms 19s900ms May 02 12 13 3m23s 15s683ms 13 3 47s133ms 15s711ms 14 6 1m20s 13s429ms 15 14 3m55s 16s818ms 16 4 47s468ms 11s867ms 17 9 2m30s 16s683ms 19 1 2s962ms 2s962ms [ User: pubeu - Total duration: 41m40s - Times executed: 135 ]
-
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 = '2101425') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-27 18:13:56 Duration: 1m23s 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 = '2102676') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-29 16:12:53 Duration: 1m14s 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 = '2095675') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-28 20:13:33 Duration: 1m8s Database: ctdprd51 User: pubeu Bind query: yes
16 4s59ms 36m38s 13s857ms 233 53m48s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 29 14 184 50m12s 16s369ms 15 49 3m36s 4s425ms [ User: qaeu - Total duration: 36m38s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-04-29 14:29:07 Duration: 36m38s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-04-29 14:35:51 Duration: 5s507ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-04-29 14:49:24 Duration: 5s490ms Bind query: yes
17 1s10ms 48s423ms 5s841ms 257 25m1s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 27 01 6 23s775ms 3s962ms 02 6 24s78ms 4s13ms 03 8 13s928ms 1s741ms 04 5 16s437ms 3s287ms 05 3 5s424ms 1s808ms 06 2 3s444ms 1s722ms 07 3 17s766ms 5s922ms 08 3 39s654ms 13s218ms 09 1 34s914ms 34s914ms 10 2 3s510ms 1s755ms 11 9 41s759ms 4s639ms 14 5 11s787ms 2s357ms 15 10 3m28s 20s896ms 16 3 17s548ms 5s849ms 17 9 32s585ms 3s620ms 18 6 21s943ms 3s657ms 21 4 7s726ms 1s931ms 22 1 3s244ms 3s244ms 23 1 11s778ms 11s778ms Apr 28 02 1 33s512ms 33s512ms 06 4 1m45s 26s453ms 07 2 14s623ms 7s311ms 09 7 37s55ms 5s293ms 11 3 1m28s 29s511ms 16 6 11s989ms 1s998ms 17 8 17s70ms 2s133ms 18 7 25s650ms 3s664ms 19 3 5s687ms 1s895ms 21 3 6s338ms 2s112ms 22 1 1s511ms 1s511ms 23 2 15s23ms 7s511ms Apr 29 00 1 7s968ms 7s968ms 01 5 39s381ms 7s876ms 02 6 38s729ms 6s454ms 03 5 18s889ms 3s777ms 04 3 6s190ms 2s63ms 05 3 6s808ms 2s269ms 06 3 5s398ms 1s799ms 08 3 7s73ms 2s357ms 10 4 18s173ms 4s543ms 14 6 27s680ms 4s613ms 15 5 13s364ms 2s672ms 16 5 9s860ms 1s972ms 20 3 9s716ms 3s238ms 21 1 34s623ms 34s623ms 22 2 20s263ms 10s131ms Apr 30 00 3 3s529ms 1s176ms 01 6 1m47s 17s988ms 03 4 6s482ms 1s620ms 04 2 4s477ms 2s238ms 05 7 14s687ms 2s98ms 06 2 3s564ms 1s782ms 07 3 5s182ms 1s727ms 09 1 2s562ms 2s562ms 20 2 6s776ms 3s388ms May 01 00 1 1s775ms 1s775ms 04 6 1m37s 16s181ms 11 1 1s796ms 1s796ms 14 6 24s933ms 4s155ms May 02 13 2 3s915ms 1s957ms 14 3 6s173ms 2s57ms 15 6 8s666ms 1s444ms 16 6 24s293ms 4s48ms 19 3 4s526ms 1s508ms May 03 00 1 1s608ms 1s608ms 08 1 1s58ms 1s58ms 20 2 3s111ms 1s555ms [ User: pubeu - Total duration: 8m24s - 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 = '2095468') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-27 15:21:22 Duration: 48s423ms 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 = '2095468') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-27 15:30:07 Duration: 47s713ms 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 = '2095468') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-27 15:18:47 Duration: 45s127ms Bind query: yes
18 1s33ms 17s987ms 4s671ms 253 19m41s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 30 16 38 2m20s 3s708ms 17 36 2m49s 4s708ms 18 24 1m46s 4s439ms 19 16 1m18s 4s886ms 20 17 1m27s 5s144ms 21 13 1m7s 5s174ms 22 12 1m2s 5s171ms 23 14 1m2s 4s473ms May 01 00 9 48s709ms 5s412ms 01 8 41s659ms 5s207ms 02 7 34s429ms 4s918ms 03 6 31s138ms 5s189ms 04 5 20s529ms 4s105ms 05 6 42s654ms 7s109ms 06 9 38s311ms 4s256ms 07 8 35s771ms 4s471ms 08 5 27s862ms 5s572ms 09 9 37s439ms 4s159ms 10 4 19s752ms 4s938ms 11 7 29s117ms 4s159ms [ User: pubeu - Total duration: 12m18s - Times executed: 159 ]
-
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;
Date: 2025-05-01 05:13:07 Duration: 17s987ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1409922'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-05-01 05:13:07 Duration: 9s493ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1409922'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2025-05-01 06:00:16 Duration: 8s19ms Bind query: yes
19 3s646ms 11s208ms 4s156ms 332 22m59s select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 27 00 2 8s439ms 4s219ms 02 3 12s821ms 4s273ms 03 3 11s908ms 3s969ms 04 1 4s171ms 4s171ms 05 2 15s224ms 7s612ms 06 1 4s276ms 4s276ms 08 2 8s461ms 4s230ms 09 3 12s91ms 4s30ms 10 2 8s322ms 4s161ms 11 1 4s19ms 4s19ms 12 1 3s783ms 3s783ms 17 2 7s871ms 3s935ms 18 1 3s946ms 3s946ms 19 3 12s338ms 4s112ms 20 1 3s773ms 3s773ms 21 1 3s947ms 3s947ms 22 4 15s695ms 3s923ms 23 4 16s108ms 4s27ms Apr 28 01 2 7s885ms 3s942ms 05 1 3s930ms 3s930ms 06 1 3s855ms 3s855ms 08 3 12s324ms 4s108ms 09 2 7s951ms 3s975ms 10 5 19s601ms 3s920ms 11 3 13s87ms 4s362ms 12 2 8s608ms 4s304ms 13 3 12s136ms 4s45ms 15 2 8s526ms 4s263ms 16 1 4s97ms 4s97ms 18 1 5s97ms 5s97ms 19 1 6s172ms 6s172ms 20 5 24s350ms 4s870ms 21 4 17s450ms 4s362ms 22 2 7s923ms 3s961ms 23 3 12s716ms 4s238ms Apr 29 00 2 7s880ms 3s940ms 01 1 4s260ms 4s260ms 02 3 13s394ms 4s464ms 03 1 4s313ms 4s313ms 04 4 16s565ms 4s141ms 05 4 18s459ms 4s614ms 06 19 1m23s 4s373ms 08 4 16s99ms 4s24ms 09 4 15s888ms 3s972ms 10 2 8s569ms 4s284ms 11 5 19s647ms 3s929ms 12 5 19s915ms 3s983ms 13 4 15s779ms 3s944ms 14 5 22s454ms 4s490ms 15 4 16s137ms 4s34ms 16 1 4s158ms 4s158ms 19 5 21s66ms 4s213ms 20 1 3s874ms 3s874ms 21 8 32s430ms 4s53ms 22 6 24s266ms 4s44ms 23 6 23s563ms 3s927ms Apr 30 00 1 3s915ms 3s915ms 01 1 3s954ms 3s954ms 03 2 7s989ms 3s994ms 04 5 20s206ms 4s41ms 07 3 11s589ms 3s863ms 08 17 1m7s 3s971ms 09 2 7s941ms 3s970ms 10 10 40s607ms 4s60ms 11 1 3s913ms 3s913ms 12 4 15s520ms 3s880ms 13 3 11s557ms 3s852ms 14 2 8s36ms 4s18ms 15 1 4s74ms 4s74ms 17 8 34s598ms 4s324ms 21 2 8s449ms 4s224ms 22 2 8s251ms 4s125ms May 01 01 1 4s81ms 4s81ms 03 1 4s228ms 4s228ms 04 1 3s896ms 3s896ms 05 1 4s404ms 4s404ms 06 2 8s267ms 4s133ms 09 1 4s19ms 4s19ms 10 2 8s486ms 4s243ms 11 1 4s301ms 4s301ms 12 2 7s918ms 3s959ms 13 5 21s383ms 4s276ms 15 1 3s967ms 3s967ms 19 1 4s34ms 4s34ms 21 1 4s53ms 4s53ms 23 1 3s934ms 3s934ms May 02 00 1 4s55ms 4s55ms 01 1 3s933ms 3s933ms 02 2 8s17ms 4s8ms 04 4 16s413ms 4s103ms 05 1 4s33ms 4s33ms 06 1 3s870ms 3s870ms 07 2 9s203ms 4s601ms 08 2 7s836ms 3s918ms 09 3 12s407ms 4s135ms 12 3 13s900ms 4s633ms 13 4 16s946ms 4s236ms 14 1 4s43ms 4s43ms 15 4 16s777ms 4s194ms 16 10 42s456ms 4s245ms 17 1 4s155ms 4s155ms 18 4 16s779ms 4s194ms 21 1 3s904ms 3s904ms 22 3 12s309ms 4s103ms 23 1 3s873ms 3s873ms May 03 02 4 16s163ms 4s40ms 04 1 4s114ms 4s114ms 06 2 8s372ms 4s186ms 07 2 8s302ms 4s151ms 08 1 4s87ms 4s87ms 09 3 12s87ms 4s29ms 10 2 7s904ms 3s952ms 12 1 4s223ms 4s223ms 13 3 11s632ms 3s877ms 18 3 12s733ms 4s244ms 22 1 3s903ms 3s903ms 23 3 11s683ms 3s894ms [ User: pubeu - Total duration: 8m26s - Times executed: 121 ]
[ User: qaeu - Total duration: 16s174ms - Times executed: 4 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1298883') 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 = '1298883') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-27 05:16:39 Duration: 11s208ms 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 = '1352221') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1352221') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-28 19:50:03 Duration: 6s172ms 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 = '1355680') 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 = '1355680') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-04-29 06:22:16 Duration: 5s922ms Bind query: yes
20 1s4ms 15s139ms 3s958ms 593 39m7s 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 #20
Day Hour Count Duration Avg duration Apr 27 01 4 14s460ms 3s615ms 02 7 36s857ms 5s265ms 03 1 1s146ms 1s146ms 04 2 12s835ms 6s417ms 05 11 25s578ms 2s325ms 06 13 1m6s 5s110ms 07 4 22s841ms 5s710ms 08 3 8s917ms 2s972ms 09 2 10s767ms 5s383ms 10 1 4s989ms 4s989ms 11 2 2s82ms 1s41ms 12 2 2s175ms 1s87ms 13 1 5s147ms 5s147ms 14 6 28s295ms 4s715ms 15 4 9s416ms 2s354ms 16 4 13s49ms 3s262ms 18 2 12s67ms 6s33ms 19 4 13s331ms 3s332ms 21 2 6s241ms 3s120ms Apr 28 02 2 5s850ms 2s925ms 05 2 2s116ms 1s58ms 07 2 2s26ms 1s13ms 08 3 15s470ms 5s156ms 11 2 9s619ms 4s809ms 12 12 44s106ms 3s675ms 13 2 11s83ms 5s541ms 14 12 57s564ms 4s797ms 15 6 26s632ms 4s438ms 16 2 6s742ms 3s371ms 17 4 14s370ms 3s592ms 18 19 1m37s 5s125ms 19 13 50s156ms 3s858ms 20 3 19s184ms 6s394ms 21 9 41s760ms 4s640ms 23 4 28s535ms 7s133ms Apr 29 00 1 1s153ms 1s153ms 01 1 5s953ms 5s953ms 02 5 32s700ms 6s540ms 03 2 13s580ms 6s790ms 04 2 2s286ms 1s143ms 05 7 7s968ms 1s138ms 06 1 5s675ms 5s675ms 08 1 5s550ms 5s550ms 09 3 16s637ms 5s545ms 10 1 5s801ms 5s801ms 12 1 5s568ms 5s568ms 13 3 3s236ms 1s78ms 14 1 1s221ms 1s221ms 15 5 10s288ms 2s57ms 16 2 11s719ms 5s859ms 17 2 12s194ms 6s97ms 18 3 12s86ms 4s28ms 19 5 23s107ms 4s621ms 20 6 23s292ms 3s882ms 21 7 29s924ms 4s274ms 23 3 16s157ms 5s385ms Apr 30 00 2 2s118ms 1s59ms 01 12 51s388ms 4s282ms 02 6 15s82ms 2s513ms 03 2 12s234ms 6s117ms 04 6 25s38ms 4s173ms 05 19 1m5s 3s466ms 06 4 13s885ms 3s471ms 07 3 13s563ms 4s521ms 08 8 25s683ms 3s210ms 09 6 34s453ms 5s742ms 10 13 54s607ms 4s200ms 11 1 5s526ms 5s526ms 12 19 1m12s 3s809ms 13 13 53s186ms 4s91ms 14 17 52s390ms 3s81ms 15 1 1s43ms 1s43ms 16 6 18s512ms 3s85ms 17 5 34s478ms 6s895ms 18 3 19s742ms 6s580ms 19 3 18s193ms 6s64ms 20 2 7s363ms 3s681ms 21 7 31s59ms 4s437ms 22 19 1m8s 3s626ms 23 3 20s486ms 6s828ms May 01 01 11 41s567ms 3s778ms 02 4 13s926ms 3s481ms 03 11 46s722ms 4s247ms 04 4 15s958ms 3s989ms 05 6 6s506ms 1s84ms 06 7 38s947ms 5s563ms 07 2 12s275ms 6s137ms 08 3 14s303ms 4s767ms 09 2 8s139ms 4s69ms 10 9 38s183ms 4s242ms 11 12 49s392ms 4s116ms 12 4 13s386ms 3s346ms May 02 05 10 20s570ms 2s57ms 06 4 13s491ms 3s372ms 07 4 13s527ms 3s381ms 08 1 5s582ms 5s582ms 09 1 5s553ms 5s553ms 10 2 11s373ms 5s686ms 12 9 35s332ms 3s925ms 13 2 11s344ms 5s672ms 14 1 1s128ms 1s128ms 15 1 1s84ms 1s84ms 16 1 1s140ms 1s140ms 17 1 5s542ms 5s542ms 18 1 5s499ms 5s499ms 21 14 51s560ms 3s682ms 22 1 5s503ms 5s503ms May 03 03 8 26s341ms 3s292ms 04 4 13s95ms 3s273ms 05 18 45s934ms 2s551ms 11 8 26s143ms 3s267ms 12 4 13s648ms 3s412ms 16 2 6s278ms 3s139ms 17 2 10s958ms 5s479ms 18 1 5s204ms 5s204ms 19 1 5s752ms 5s752ms 20 1 5s753ms 5s753ms 22 1 3s143ms 3s143ms 23 1 4s866ms 4s866ms [ User: pubeu - Total duration: 12m - Times executed: 178 ]
[ User: qaeu - Total duration: 8s646ms - Times executed: 8 ]
-
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 = '1298883' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-28 23:36:23 Duration: 15s139ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1308281' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-28 18:34:21 Duration: 8s741ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1339752' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-29 02:59:36 Duration: 8s460ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 7s188ms 7 1s8ms 1s56ms 1s26ms 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 03 16 2 2s113ms 1s56ms May 03 17 2 2s49ms 1s24ms May 03 15 3 3s25ms 1s8ms -
SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;
Date: 2025-04-27 16:18:43 Duration: 1s56ms Database: postgres parameters: $1 = '2039248', $2 = '2039248'
-
SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;
Date: 2025-04-29 17:57:48 Duration: 1s24ms Database: postgres parameters: $1 = '2101799', $2 = '2101799'
-
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-02 15:35:41 Duration: 1s8ms Database: postgres parameters: $1 = '1881246', $2 = '1881246'
2 6s248ms 6 1s6ms 1s106ms 1s41ms 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 #2
Day Hour Count Duration Avg duration 15 4 4s235ms 1s58ms 17 2 2s12ms 1s6ms -
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;
Date: 2025-04-29 16:11:54 Duration: 1s106ms Database: postgres parameters: $1 = '2090575'
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;
Date: 2025-04-29 16:11:39 Duration: 1s11ms Database: postgres parameters: $1 = '2091032'
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;
Date: 2025-04-29 17:58:03 Duration: 1s6ms Database: postgres parameters: $1 = '1876016', $2 = '1876016'
3 5s279ms 4 1s187ms 1s451ms 1s319ms 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 #3
Day Hour Count Duration Avg duration 19 4 5s279ms 1s319ms -
SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;
Date: 2025-04-28 20:54:17 Duration: 1s451ms Database: postgres parameters: $1 = '1247762', $2 = '1247762'
-
SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;
Date: 2025-04-28 20:15:05 Duration: 1s187ms Database: postgres parameters: $1 = '2101720'
4 3s764ms 3 1s254ms 1s254ms 1s254ms 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 #4
Day Hour Count Duration Avg duration 16 3 3s764ms 1s254ms -
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-02 17:27:23 Duration: 1s254ms Database: postgres parameters: $1 = '1951424', $2 = '1951424'
5 3s51ms 3 1s17ms 1s17ms 1s17ms SELECT /* GeneDiseaseRefActionsDAO */ DISTINCT a.action_type_cd actionTypeCd, a.action_type_nm actionTypeNm FROM gene_disease_reference_axn a INNER JOIN gene_disease_reference gdr ON a.gene_disease_reference_id = gdr.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2 AND gdr.reference_id = $3 ORDER BY a.action_type_nm;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 16 3 3s51ms 1s17ms -
SELECT /* GeneDiseaseRefActionsDAO */ DISTINCT a.action_type_cd actionTypeCd, a.action_type_nm actionTypeNm FROM gene_disease_reference_axn a INNER JOIN gene_disease_reference gdr ON a.gene_disease_reference_id = gdr.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2 AND gdr.reference_id = $3 ORDER BY a.action_type_nm;
Date: 2025-05-02 17:27:17 Duration: 1s17ms Database: postgres parameters: $1 = '2082933', $2 = '2082933'
6 2s138ms 2 1s69ms 1s69ms 1s69ms select distinct ptr.phenotype_id, ptr.term_id, i.action_type_nm, i.action_type_cd, i.action_degree_type_nm, i.action_degree_type_cd from pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.IXN_AXN i where ptr.ixn_id = i.ixn_id;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 21 2 2s138ms 1s69ms -
select distinct ptr.phenotype_id, ptr.term_id, i.action_type_nm, i.action_type_cd, i.action_degree_type_nm, i.action_degree_type_cd from pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.IXN_AXN i where ptr.ixn_id = i.ixn_id;
Date: 2025-04-28 22:52:47 Duration: 1s69ms Database: postgres
7 0ms 522 0ms 0ms 0ms ;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration Apr 26 06 1 0ms 0ms Apr 27 00 3 0ms 0ms 06 56 0ms 0ms 07 68 0ms 0ms 08 54 0ms 0ms 10 2 0ms 0ms 21 2 0ms 0ms Apr 28 00 2 0ms 0ms 06 2 0ms 0ms 07 24 0ms 0ms 09 8 0ms 0ms 10 6 0ms 0ms 11 30 0ms 0ms 12 20 0ms 0ms 14 18 0ms 0ms 15 2 0ms 0ms 19 2 0ms 0ms 20 18 0ms 0ms 21 4 0ms 0ms Apr 29 00 1 0ms 0ms 03 4 0ms 0ms 04 2 0ms 0ms 05 12 0ms 0ms 06 4 0ms 0ms 08 4 0ms 0ms 09 10 0ms 0ms 10 10 0ms 0ms 11 20 0ms 0ms 12 8 0ms 0ms 13 14 0ms 0ms 14 6 0ms 0ms 17 12 0ms 0ms 21 2 0ms 0ms Apr 30 11 4 0ms 0ms 14 4 0ms 0ms 16 6 0ms 0ms May 01 08 2 0ms 0ms 10 10 0ms 0ms 11 2 0ms 0ms 15 2 0ms 0ms May 02 08 6 0ms 0ms 10 3 0ms 0ms 13 15 0ms 0ms 14 36 0ms 0ms May 04 00 1 0ms 0ms [ User: pubeu - Total duration: 11m12s - Times executed: 133 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '1804016', $2 = '1804016'
-
Events
Log levels
Key values
- 842,585 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 141 FATAL entries
- 140 ERROR entries
- 1314 WARNING entries
- 58 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 1,041 Max number of times the same event was reported
- 1,653 Total events found
Rank Times reported Error 1 1,041 WARNING: skipping "..." --- only table or database owner can vacuum it
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 29 02 1,041 2 224 WARNING: skipping "..." --- only superuser or database owner can vacuum it
Times Reported Most Frequent Error / Event #2
Day Hour Count Apr 29 02 224 3 104 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Apr 27 05 1 06 3 15 1 18 1 19 2 20 1 21 3 22 4 23 4 Apr 28 00 2 01 1 07 2 08 2 12 1 13 1 16 2 17 2 20 3 21 1 22 1 Apr 29 00 1 04 1 07 1 09 1 11 2 12 1 14 1 17 1 18 3 19 2 21 3 Apr 30 00 3 03 1 04 1 05 1 10 1 15 1 16 1 20 1 21 4 23 3 May 01 05 1 06 9 07 1 08 2 09 4 11 1 20 1 21 1 May 02 00 1 01 1 03 3 11 1 16 1 17 1 21 1 May 03 02 1 19 1 23 1 - ERROR: syntax error in ts"ステーキのエッセー PDF"
- ERROR: syntax error in ts"モモンガ 漫画 とつおん & 24 同人誌"
- ERROR: syntax error in ts"FAZER8逆車 & GSX8R 馬力"
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-04-27 05:20:04 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 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-04-27 06:49:14
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $5 OR upper( l.acc_txt ) LIKE $6 ) ) ii GROUP BY ii.cd
Date: 2025-04-27 18:00:36 Database: ctdprd51 Application: User: pubeu Remote:
4 57 FATAL: remaining connection slots are reserved for non-replication superuser connections
Times Reported Most Frequent Error / Event #4
Day Hour Count Apr 28 18 37 Apr 29 01 6 05 14 5 43 WARNING: skipping "..." --- only superuser can vacuum it
Times Reported Most Frequent Error / Event #5
Day Hour Count Apr 29 02 43 6 42 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #6
Day Hour Count May 03 22 42 7 27 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #7
Day Hour Count Apr 27 15 2 Apr 28 02 10 03 3 04 4 05 1 May 01 04 5 05 2 8 24 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #8
Day Hour Count Apr 29 13 16 15 8 9 14 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #9
Day Hour Count Apr 29 18 6 19 4 Apr 30 13 2 14 2 10 10 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #10
Day Hour Count Apr 27 15 2 May 01 05 3 16 5 11 9 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #11
Day Hour Count Apr 27 13 2 15 1 Apr 28 03 1 19 1 Apr 29 03 3 May 01 11 1 - FATAL: connection to client lost
- FATAL: connection to client lost
- FATAL: connection to client lost
Statement: select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm ,associatedTerm.id associatedTermId ,ptr.ixn_id ixnId ,associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort ,COALESCE( associatedTerm.secondary_nm, '' ) casRN ,phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype ,phenotypeTerm.id phenotypeId ,( SELECT STRING_AGG( distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE( taxonTerm.secondary_nm, '' ) ,'|' ) ) as taxonTerms ,( SELECT STRING_AGG( distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|' ) ) as anatomyTerms ,COUNT(DISTINCT taxonTerm.nm) taxonCount ,i.ixn_prose_html ixnProseHtml ,i.ixn_prose_txt ixnProse ,i.sort_txt ixnSort ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,COUNT(DISTINCT ptr.reference_id) refCount ,pt.indirect_term_qty inferredCount ,COUNT(*) OVER() fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY ( ARRAY ( ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1 ) ) ) and associatedTerm.object_type_id = 2 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount ORDER BY pt.indirect_term_qty DESC ,associatedTermNmSort
Date: 2025-04-27 15:28:21
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-04-28 03:35:12
Statement: select t.ID ,t.OBJECT_TYPE_ID ,t.ACC_TXT ,t.ACC_DB_ID ,t.NM ,t.NM_SORT ,t.SECONDARY_NM ,t.DESCRIPTION ,t.NOTE ,l.NM from load.term t ,load.term_label l where t.object_type_id = 4 and t.id = l.term_id
Date: 2025-05-01 11:59:45
12 8 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #12
Day Hour Count Apr 27 10 3 Apr 30 06 5 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
- ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* GeneIdBySymbolAccDAO */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li INNER JOIN term_label_type lti ON li.term_label_type_id = lti.id AND li.object_type_id = lti.object_type_id AND UPPER(li.nm) = $1 AND lti.object_type_id = 4 AND lti.nm = 'SYMBOL' UNION SELECT l.object_id FROM db_link l WHERE l.acc_txt = $2 AND l.object_type_id = 4 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2025-04-27 10:44:22 Database: ctdprd51 Application: User: pubeu Remote:
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 2 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 2 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2025-04-27 10:46:01 Database: ctdprd51 Application: User: pubeu Remote:
13 8 ERROR: remaining connection slots are reserved for non-replication superuser connections
Times Reported Most Frequent Error / Event #13
Day Hour Count Apr 28 18 7 Apr 29 05 1 - ERROR: remaining connection slots are reserved for non-replication superuser connections
- ERROR: remaining connection slots are reserved for non-replication superuser connections
- ERROR: remaining connection slots are reserved for non-replication superuser connections
Context: parallel worker
Statement: SELECT /* ReferenceCitedChemsDAO */ c.id ,c.nm ,c.nm_html nmHtml ,c.acc_txt acc ,c.has_genes hasGenes ,c.has_diseases hasDiseases ,c.has_exposures hasExposures ,c.has_phenotypes hasPhenotypes FROM term c WHERE c.id IN( SELECT cdr.chem_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT gcr.chem_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL select stressor.chem_id from exposure e ,exp_stressor stressor where e.reference_id = $3 and e.exp_stressor_id = stressor.id UNION ALL select event.exp_marker_term_id from exposure e ,exp_event event where e.reference_id = $4 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%' ) UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $5 and ptr.term_object_type_id = 2) ORDER BY c.nm_sortDate: 2025-04-28 18:39:20 Database: ctdprd51 Application: User: pubeu Remote:
Context: parallel worker
Statement: SELECT /* GeneGODAO */ gt.nm gonm ,gt.nm_html gonmhtml ,gga.is_not isnot ,gt.acc_txt goacc ,gt.object_id goid ,d.abbr dagAbbr ,d.nm dagNm ,gga.gene_id geneid ,COUNT(*) annotCount ,COUNT(*) OVER() fullRowCount FROM gene_go_annot gga INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.gene_id = $1 GROUP BY d.priority_seq ,gt.nm ,gt.nm_html ,gt.nm_sort ,d.nm ,d.abbr ,gga.is_not ,gt.acc_txt ,gt.object_id ,gga.gene_id ORDER BY d.abbr ,gt.nm_sortDate: 2025-04-28 18:40:28 Database: ctdprd51 Application: User: pubeu Remote:
Context: parallel worker
Statement: SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1)Date: 2025-04-28 18:40:34 Database: ctdprd51 Application: User: pubeu Remote:
14 6 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #14
Day Hour Count Apr 27 13 2 Apr 28 03 1 19 1 Apr 29 03 2 - LOG: could not send data to client: Broken pipe
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-04-28 03:35:12
15 6 WARNING: there is no transaction in progress
Times Reported Most Frequent Error / Event #15
Day Hour Count Apr 29 02 2 05 4 16 5 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #16
Day Hour Count Apr 28 18 3 Apr 29 05 2 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: SELECT /* ReferenceCitedChemsDAO */ c.id ,c.nm ,c.nm_html nmHtml ,c.acc_txt acc ,c.has_genes hasGenes ,c.has_diseases hasDiseases ,c.has_exposures hasExposures ,c.has_phenotypes hasPhenotypes FROM term c WHERE c.id IN( SELECT cdr.chem_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT gcr.chem_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL select stressor.chem_id from exposure e ,exp_stressor stressor where e.reference_id = $3 and e.exp_stressor_id = stressor.id UNION ALL select event.exp_marker_term_id from exposure e ,exp_event event where e.reference_id = $4 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%' ) UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $5 and ptr.term_object_type_id = 2) ORDER BY c.nm_sort
Date: 2025-04-28 18:39:27
Statement: 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 = $1 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 = $2 ) OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50 OFFSET 350
Date: 2025-04-29 05:35:21
17 4 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #17
Day Hour Count Apr 28 19 1 Apr 29 03 3 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT pg_database_size(datname::text) FROM pg_catalog.pg_database WHERE datistemplate = false AND datname = $1;
Date: 2025-04-28 19:59:08
Statement: SELECT count(*) FROM pg_catalog.pg_stat_all_tables WHERE (n_dead_tup/(n_live_tup+n_dead_tup)::float8) > 0.2 AND (n_live_tup+n_dead_tup) > 50;
Date: 2025-04-29 03:01:31 Database: ctdprd51 Application: User: zbx_monitor Remote:
Statement: SELECT row_to_json(T) FROM ( SELECT archived_count, failed_count FROM pg_stat_archiver ) T;
Date: 2025-04-29 03:01:31
18 3 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #18
Day Hour Count Apr 29 11 2 May 03 17 1 - ERROR: syntax error at or near "in" at character 35
- ERROR: syntax error at or near "in" at character 32
- ERROR: syntax error at or near "selet" at character 1
Statement: select * from pub2.ixn where is in ( 9057573, 9057571 )
Date: 2025-04-29 11:53:59
Statement: select * from pub2.ixn where in ( 9057573, 9057571 )
Date: 2025-04-29 11:54:04
Statement: selet 1;
Date: 2025-05-03 17:10:15 Database: ctdprd51 Application: psql User: pubeu Remote:
19 3 ERROR: could not map dynamic shared memory segment
Times Reported Most Frequent Error / Event #19
Day Hour Count Apr 28 18 3 20 2 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #20
Day Hour Count May 03 22 2 21 2 ERROR: could not attach to dynamic shared area
Times Reported Most Frequent Error / Event #21
Day Hour Count Apr 28 18 2 - ERROR: could not attach to dynamic shared area
- ERROR: could not attach to dynamic shared area
Statement: SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1)
Date: 2025-04-28 18:40:34
Statement: SELECT /* ReferenceCitedChemsDAO */ c.id ,c.nm ,c.nm_html nmHtml ,c.acc_txt acc ,c.has_genes hasGenes ,c.has_diseases hasDiseases ,c.has_exposures hasExposures ,c.has_phenotypes hasPhenotypes FROM term c WHERE c.id IN( SELECT cdr.chem_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT gcr.chem_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL select stressor.chem_id from exposure e ,exp_stressor stressor where e.reference_id = $3 and e.exp_stressor_id = stressor.id UNION ALL select event.exp_marker_term_id from exposure e ,exp_event event where e.reference_id = $4 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%' ) UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $5 and ptr.term_object_type_id = 2) ORDER BY c.nm_sort
Date: 2025-04-28 18:40:34
22 2 ERROR: unterminated quoted identifier at or near ""..."
Times Reported Most Frequent Error / Event #22
Day Hour Count Apr 28 13 1 Apr 29 13 1 - ERROR: unterminated quoted identifier at or near "" " at character 531
- ERROR: unterminated quoted identifier at or near "" " at character 175
Statement: select reference_acc_txt ,taxon_acc_txt ,pubTerm.nm ,get_ixn_prose( ixn_id ) ,create_by ,create_tm from edit.reference_ixn ri ,pub1.term pubTerm -- set to CURRENT PRODUCTION PUB!!!!! where taxon_acc_txt not in ( select acc_txt from load.term where object_type_id = ( select id from edit.object_type where cd = 'taxon' ) ) and pubTerm.acc_txt = ri.taxon_acc_txt and object_type_id = ( select id from edit.object_type where cd = 'taxon' ) and taxon_acc_txt is not null and taxon_acc_txt <> ''"
Date: 2025-04-28 13:58:21 Database: ctdprd51 Application: pgAdmin 4 - CONN:5186206 User: load Remote:
Statement: select cd, t.nm, t.nm_sort from pub2.term t ,pub2.object_type ot where upper( nm ) <> nm_sort and t.object_type_id = ot.id and cd <> 'pathway' order by cd, nm"
Date: 2025-04-29 13:29:29
23 2 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #23
Day Hour Count Apr 27 15 1 May 01 11 1 - LOG: could not send data to client: Connection reset by peer
- LOG: could not send data to client: Connection reset by peer
Statement: select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm ,associatedTerm.id associatedTermId ,ptr.ixn_id ixnId ,associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort ,COALESCE( associatedTerm.secondary_nm, '' ) casRN ,phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype ,phenotypeTerm.id phenotypeId ,( SELECT STRING_AGG( distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE( taxonTerm.secondary_nm, '' ) ,'|' ) ) as taxonTerms ,( SELECT STRING_AGG( distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|' ) ) as anatomyTerms ,COUNT(DISTINCT taxonTerm.nm) taxonCount ,i.ixn_prose_html ixnProseHtml ,i.ixn_prose_txt ixnProse ,i.sort_txt ixnSort ,( SELECT STRING_AGG( distinct r.acc_txt,'|' ) ) as references ,COUNT(DISTINCT ptr.reference_id) refCount ,pt.indirect_term_qty inferredCount ,COUNT(*) OVER() fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY ( ARRAY ( ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1 ) ) ) and associatedTerm.object_type_id = 2 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount ORDER BY pt.indirect_term_qty DESC ,associatedTermNmSort
Date: 2025-04-27 15:28:21 Database: ctdprd51 Application: User: pubeu Remote:
Statement: select t.ID ,t.OBJECT_TYPE_ID ,t.ACC_TXT ,t.ACC_DB_ID ,t.NM ,t.NM_SORT ,t.SECONDARY_NM ,t.DESCRIPTION ,t.NOTE ,l.NM from load.term t ,load.term_label l where t.object_type_id = 4 and t.id = l.term_id
Date: 2025-05-01 11:59:45 Database: ctdprd51 Application: User: load Remote:
24 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #24
Day Hour Count May 01 21 1 - ERROR: relation "disease_chem_gene" does not exist at character 369
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-01 21:08:47 Database: ctdprd51 Application: User: pubeu Remote:
25 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #25
Day Hour Count Apr 29 11 1 - ERROR: column "ixn_id" does not exist at character 32
Hint: Perhaps you meant to reference the column "ixn.ixn_xml".
Statement: select * from pub2.ixn where ixn_id in ( 9057573, 9057571 )Date: 2025-04-29 11:54:11
26 1 ERROR: function get_inx_prose(...) does not exist
Times Reported Most Frequent Error / Event #26
Day Hour Count Apr 29 11 1 - ERROR: function get_inx_prose(integer) does not exist at character 8
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Statement: select get_inx_prose( ixn_id ) from reference_ixn where reference_acc_txt = '39187442' order by create_tm descDate: 2025-04-29 11:43:25
27 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #27
Day Hour Count May 01 10 1 - ERROR: duplicate key value violates unique constraint "term_label_ak1"
Detail: Key (acc_txt, synonym, term_label_type_id)=(C000611729, GenX, 34) already exists.
Statement: insert into edit.TERM_LABEL ( acc_txt ,nm ,acc_db_id ,synonym ,object_type_id ,term_label_type_id ,reference_acc_txt ,reference_acc_db_id ,notes ,create_by ,mod_by ) values ( 'C000611729' ,'ammonium 2,3,3,3-tetrafluoro-2-(heptafluoropropoxy)-propanoate' ,21 ,'GenX' ,2 ,34 ,'39933616' ,16 ,'' ,'dsciaky' ,'dsciaky' )Date: 2025-05-01 10:46:00 Database: ctdprd51 Application: User: editeu Remote:
28 1 ERROR: function get_ixn_prose(...) does not exist
Times Reported Most Frequent Error / Event #28
Day Hour Count Apr 28 13 1 - ERROR: function get_ixn_prose(integer) does not exist at character 69
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Statement: select reference_acc_txt ,taxon_acc_txt ,pubTerm.nm ,get_ixn_prose( ixn_id ) ,create_by ,create_tm from edit.reference_ixn ri ,pub1.term pubTerm -- set to CURRENT PRODUCTION PUB!!!!! where taxon_acc_txt not in ( select acc_txt from load.term where object_type_id = ( select id from edit.object_type where cd = 'taxon' ) ) and pubTerm.acc_txt = ri.taxon_acc_txt and object_type_id = ( select id from edit.object_type where cd = 'taxon' ) and taxon_acc_txt is not null and taxon_acc_txt <> ''Date: 2025-04-28 13:58:25
29 1 ERROR: column "..." must appear in the GROUP BY clause or be used in an aggregate function
Times Reported Most Frequent Error / Event #29
Day Hour Count Apr 29 13 1 - ERROR: column "term_enrichment.enriched_object_type_id" must appear in the GROUP BY clause or be used in an aggregate function at character 8
Statement: select enriched_object_type_id, count(*) from pub2.term_enrichment group by object_type_id limit 100
Date: 2025-04-29 13:16:04
30 1 FATAL: pg_hba.conf rejects connection for host "...", user "...", database "...", no encryption
Times Reported Most Frequent Error / Event #30
Day Hour Count May 03 17 1