-
Global information
- Generated on Sun May 26 04:15:15 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240525
- Parsed 1,398,097 log entries in 14s
- Log start from 2024-05-19 00:00:02 to 2024-05-25 23:59:16
-
Overview
Global Stats
- 554 Number of unique normalized queries
- 29,181 Number of queries
- 3d21h15m26s Total query duration
- 2024-05-19 00:00:11 First query
- 2024-05-25 23:59:16 Last query
- 12 queries/s at 2024-05-23 01:38:45 Query peak
- 3d21h15m26s Total query duration
- 1m55s Prepare/parse total duration
- 3m52s Bind total duration
- 3d21h9m38s Execute total duration
- 223 Number of events
- 11 Number of unique normalized events
- 58 Max number of times the same event was reported
- 0 Number of cancellation
- 43 Total number of automatic vacuums
- 177 Total number of automatic analyzes
- 12 Number temporary file
- 1.00 GiB Max size of temporary file
- 993.56 MiB Average size of temporary file
- 160,137 Total number of sessions
- 115 sessions at 2024-05-23 03:21:31 Session peak
- 310d2m19s Total duration of sessions
- 2m47s Average duration of sessions
- 0 Average queries per session
- 2s96ms Average queries duration per session
- 2m45s Average idle time per session
- 160,134 Total number of connections
- 101 connections/s at 2024-05-20 19:07:12 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 12 queries/s Query Peak
- 2024-05-23 01:38:45 Date
SELECT Traffic
Key values
- 12 queries/s Query Peak
- 2024-05-23 01:38:45 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-05-24 14:00:42 Date
Queries duration
Key values
- 3d21h15m26s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 19 00 139 1s80ms 16m3s 33s764ms 1m2s 1m5s 16m38s 01 146 1s49ms 3m39s 24s873ms 1m4s 1m8s 4m37s 02 140 1s152ms 41s693ms 24s434ms 1m3s 1m5s 1m10s 03 136 1s4ms 31s938ms 24s988ms 1m2s 1m4s 1m4s 04 154 1s103ms 5m13s 24s591ms 1m4s 1m7s 6m13s 05 127 0ms 31s363ms 16s631ms 1m1s 1m3s 1m5s 06 28 0ms 3m24s 12s541ms 6s523ms 39s19ms 3m24s 07 19 0ms 11s799ms 3s135ms 2s695ms 8s104ms 11s799ms 08 21 0ms 33s527ms 3s944ms 3s138ms 7s296ms 34s774ms 09 50 0ms 31s95ms 17s533ms 1m1s 1m4s 1m5s 10 150 1s8ms 33s302ms 23s677ms 1m6s 1m11s 1m52s 11 124 0ms 34s855ms 27s24ms 1m4s 1m7s 1m8s 12 142 1s26ms 32s182ms 24s91ms 1m4s 1m6s 1m7s 13 128 1s149ms 32s309ms 26s677ms 1m2s 1m5s 1m11s 14 148 1s16ms 33s294ms 23s368ms 1m6s 1m12s 1m41s 15 139 1s31ms 32s492ms 24s283ms 1m4s 1m9s 1m11s 16 128 1s69ms 32s479ms 26s606ms 1m4s 1m7s 1m13s 17 154 1s49ms 32s887ms 22s524ms 1m10s 1m12s 1m13s 18 142 1s17ms 5m58s 27s219ms 1m5s 1m40s 7m 19 128 1s185ms 35s337ms 26s701ms 1m7s 1m8s 1m16s 20 141 1s138ms 32s845ms 24s238ms 1m5s 1m6s 1m7s 21 134 1s15ms 33s980ms 25s523ms 1m6s 1m9s 1m14s 22 127 1s116ms 34s233ms 26s905ms 1m6s 1m6s 1m7s 23 136 1s156ms 33s747ms 25s283ms 1m5s 1m10s 1m27s May 20 00 140 1s168ms 15m52s 31s437ms 1m6s 1m11s 16m59s 01 132 1s178ms 4m28s 29s756ms 1m7s 1m24s 5m31s 02 140 1s8ms 34s94ms 24s642ms 1m8s 1m8s 1m11s 03 131 1s20ms 10m8s 39s663ms 1m9s 10m42s 11m3s 04 138 1s103ms 1m6s 25s662ms 1m7s 1m15s 2m10s 05 133 0ms 56s694ms 16s707ms 1m5s 1m8s 1m13s 06 44 0ms 32s437ms 3s990ms 5s399ms 15s544ms 56s730ms 07 87 0ms 33s751ms 24s48ms 1m7s 1m10s 1m12s 08 136 1s42ms 39s895ms 25s534ms 1m8s 1m15s 1m49s 09 140 0ms 34s160ms 24s69ms 1m8s 1m15s 1m24s 10 135 1s33ms 34s308ms 25s721ms 1m7s 1m11s 1m56s 11 137 1s28ms 5m9s 27s486ms 1m7s 1m13s 5m41s 12 132 1s21ms 34s744ms 26s25ms 1m7s 1m8s 1m12s 13 127 1s181ms 34s485ms 26s932ms 1m7s 1m9s 1m15s 14 147 1s28ms 34s423ms 23s768ms 1m13s 1m16s 1m57s 15 126 1s155ms 34s157ms 27s199ms 1m7s 1m8s 1m10s 16 181 1s2ms 46s383ms 21s744ms 1m13s 2m49s 3m7s 17 120 1s107ms 34s508ms 28s447ms 1m8s 1m8s 1m17s 18 109 0ms 42s172ms 18s166ms 1m15s 1m50s 2m19s 19 48 0ms 11s743ms 3s749ms 6s381ms 11s743ms 1m14s 20 31 0ms 18s512ms 3s404ms 5s890ms 8s368ms 22s766ms 21 210 0ms 11m56s 25s76ms 4m28s 7m1s 26m5s 22 42 0ms 11s895ms 2s898ms 6s201ms 7s767ms 18s702ms 23 28 0ms 6s788ms 2s324ms 3s811ms 5s514ms 8s119ms May 21 00 28 0ms 15m54s 47s322ms 7s41ms 8s92ms 15m57s 01 27 0ms 6s598ms 2s680ms 4s11ms 5s250ms 17s534ms 02 30 0ms 6s807ms 2s779ms 4s27ms 5s412ms 7s902ms 03 24 0ms 5s488ms 2s333ms 3s983ms 6s201ms 6s838ms 04 37 0ms 8s101ms 3s385ms 7s855ms 9s124ms 11s903ms 05 76 0ms 19s225ms 2s682ms 13s751ms 19s225ms 26s76ms 06 32 0ms 32s371ms 5s226ms 7s226ms 13s972ms 1m 07 25 0ms 8s351ms 3s115ms 5s443ms 7s954ms 8s719ms 08 34 0ms 6s448ms 2s264ms 4s420ms 8s431ms 9s909ms 09 35 0ms 6s723ms 2s534ms 5s864ms 6s816ms 7s773ms 10 35 0ms 32s374ms 4s651ms 6s181ms 9s439ms 53s605ms 11 41 0ms 17s531ms 3s235ms 9s26ms 12s516ms 17s531ms 12 27 0ms 6s385ms 1s472ms 2s690ms 6s378ms 6s556ms 13 23 0ms 6s762ms 2s252ms 4s899ms 5s319ms 8s385ms 14 35 0ms 32s426ms 6s164ms 17s617ms 18s515ms 57s227ms 15 14 0ms 11s239ms 3s178ms 4s9ms 4s299ms 13s209ms 16 19 0ms 5s832ms 2s369ms 3s882ms 4s960ms 7s837ms 17 16 0ms 12s657ms 2s710ms 2s812ms 5s36ms 12s657ms 18 23 0ms 32s501ms 5s716ms 5s577ms 9s403ms 52s270ms 19 16 0ms 4s957ms 2s16ms 2s552ms 3s934ms 4s957ms 20 24 0ms 45s704ms 8s523ms 6s59ms 6s590ms 1m30s 21 16 0ms 5s455ms 3s14ms 4s862ms 5s260ms 5s455ms 22 19 0ms 17s406ms 4s291ms 4s786ms 9s120ms 22s824ms 23 13 0ms 5s455ms 2s698ms 3s972ms 4s15ms 5s455ms May 22 00 23 0ms 15m54s 55s922ms 6s656ms 15s659ms 15m54s 01 16 0ms 4m21s 32s229ms 5s611ms 7s107ms 4m21s 02 9 0ms 4s101ms 1s886ms 1s245ms 1s988ms 4s101ms 03 23 0ms 35s625ms 4s135ms 5s329ms 5s618ms 35s625ms 04 23 0ms 7s565ms 2s204ms 4s137ms 5s482ms 7s565ms 05 81 0ms 15s989ms 2s835ms 15s313ms 19s998ms 43s987ms 06 63 0ms 32s385ms 4s29ms 17s858ms 23s953ms 52s499ms 07 63 0ms 14s964ms 1s683ms 5s44ms 8s731ms 14s964ms 08 202 0ms 22s150ms 3s106ms 28s715ms 40s812ms 43s965ms 09 219 0ms 17s962ms 2s605ms 23s705ms 38s813ms 53s808ms 10 348 0ms 32s629ms 3s954ms 1m4s 1m58s 5m26s 11 240 0ms 1m49s 4s156ms 34s224ms 1m39s 3m48s 12 298 0ms 28s23ms 3s120ms 48s785ms 54s465ms 58s931ms 13 271 0ms 18s284ms 2s462ms 31s221ms 56s20ms 1m18s 14 230 0ms 1m50s 3s879ms 50s916ms 1m2s 2m32s 15 173 0ms 15s576ms 1s934ms 9s538ms 20s889ms 47s204ms 16 309 0ms 4m8s 6s692ms 1m4s 4m12s 8m21s 17 299 0ms 1m47s 4s488ms 42s735ms 1m3s 3m48s 18 282 0ms 2m41s 3s162ms 42s87ms 53s106ms 2m46s 19 524 1s46ms 41s789ms 6s260ms 1m27s 2m1s 3m22s 20 610 1s7ms 2m 10s905ms 5m22s 6m3s 7m51s 21 543 1s10ms 1m19s 8s832ms 2m11s 2m27s 3m19s 22 599 1s4ms 1m24s 8s472ms 1m56s 2m55s 3m35s 23 639 1s15ms 1m4s 7s696ms 2m19s 2m47s 2m55s May 23 00 610 1s7ms 17m 10s547ms 2m19s 2m56s 17m53s 01 1,035 1s1ms 1m8s 5s900ms 2m49s 4m45s 10m4s 02 976 1s 4m6s 9s562ms 5m14s 7m23s 19m50s 03 715 1s4ms 3m25s 11s878ms 4m43s 11m12s 13m52s 04 932 1s 3m57s 13s203ms 7m42s 15m20s 26m50s 05 653 1s2ms 1m34s 6s228ms 2m5s 2m58s 3m35s 06 452 1s2ms 59s925ms 3s24ms 1m8s 1m27s 1m50s 07 444 0ms 2m7s 4s178ms 1m4s 3m30s 4m15s 08 438 0ms 18s416ms 2s157ms 44s821ms 1m 1m30s 09 494 0ms 1m39s 6s789ms 2m7s 2m48s 4m22s 10 599 1s6ms 1m26s 9s280ms 2m35s 3m5s 4m52s 11 433 1s15ms 1m32s 9s639ms 1m37s 2m40s 3m38s 12 570 1s4ms 45s85ms 7s677ms 1m35s 1m54s 2m26s 13 588 1s9ms 3m42s 8s552ms 2m5s 2m26s 4m59s 14 614 1s3ms 1m54s 8s936ms 2m26s 2m46s 6m52s 15 549 1s12ms 40s143ms 7s989ms 1m44s 2m 2m14s 16 573 1s1ms 3m17s 11s750ms 2m25s 6m50s 15m53s 17 289 1s43ms 38s312ms 12s809ms 1m20s 1m21s 1m23s 18 464 1s8ms 3m43s 10s304ms 2m8s 2m42s 4m29s 19 489 1s44ms 40s783ms 8s957ms 1m47s 1m58s 2m9s 20 487 1s1ms 43s527ms 8s919ms 1m45s 2m 2m17s 21 170 1s54ms 37s719ms 20s835ms 1m13s 1m23s 1m23s 22 184 1s16ms 39s597ms 20s200ms 1m22s 1m28s 2m51s 23 137 1s7ms 36s217ms 25s456ms 1m11s 1m13s 1m25s May 24 00 119 1s162ms 15m57s 36s652ms 1m11s 1m12s 17m9s 01 114 1s10ms 36s885ms 30s215ms 1m14s 1m16s 1m21s 02 122 1s166ms 37s148ms 28s383ms 1m11s 1m15s 1m25s 03 121 1s121ms 37s27ms 28s487ms 1m12s 1m14s 1m19s 04 127 1s138ms 40s584ms 27s180ms 1m13s 1m15s 1m17s 05 614 1s 59s428ms 5s277ms 1m15s 1m38s 3m21s 06 414 0ms 6m21s 8s873ms 2m17s 6m29s 10m2s 07 45 0ms 14s72ms 2s357ms 4s251ms 15s856ms 32s708ms 08 31 0ms 6s680ms 1s853ms 3s63ms 4s958ms 7s852ms 09 21 0ms 35s452ms 4s636ms 4s187ms 7s809ms 36s959ms 10 63 0ms 32s430ms 3s748ms 9s430ms 19s281ms 52s679ms 11 61 0ms 6s482ms 1s943ms 5s738ms 7s854ms 8s259ms 12 33 0ms 11s305ms 2s272ms 4s21ms 6s768ms 11s305ms 13 61 0ms 6s544ms 1s803ms 4s505ms 6s64ms 7s805ms 14 54 0ms 32s449ms 3s702ms 6s595ms 15s711ms 52s413ms 15 45 0ms 6s737ms 1s622ms 3s942ms 4s845ms 9s336ms 16 40 0ms 5s511ms 1s629ms 3s450ms 3s772ms 5s511ms 17 65 0ms 17s754ms 2s439ms 8s249ms 14s18ms 17s754ms 18 77 0ms 1m4s 4s210ms 8s941ms 42s956ms 1m4s 19 47 0ms 15s609ms 1s956ms 5s522ms 7s99ms 15s609ms 20 58 0ms 6s14ms 2s11ms 6s14ms 7s351ms 11s424ms 21 51 0ms 13s768ms 2s510ms 8s281ms 11s228ms 14s872ms 22 58 0ms 15s655ms 1s925ms 5s141ms 6s429ms 20s365ms 23 54 0ms 6s738ms 1s831ms 4s869ms 6s320ms 7s955ms May 25 00 69 0ms 15m52s 16s402ms 10s829ms 17s707ms 15m58s 01 50 0ms 6s630ms 2s184ms 6s248ms 7s875ms 12s650ms 02 60 0ms 40s324ms 3s972ms 6s496ms 41s84ms 45s233ms 03 40 0ms 14s780ms 2s492ms 6s296ms 8s132ms 14s780ms 04 80 0ms 11s942ms 2s739ms 8s102ms 11s398ms 24s588ms 05 97 0ms 33s520ms 2s916ms 20s804ms 25s1ms 34s552ms 06 54 0ms 6s521ms 2s289ms 7s677ms 7s879ms 10s967ms 07 36 0ms 3m56s 8s731ms 5s113ms 7s324ms 3m59s 08 61 0ms 6s493ms 2s190ms 6s320ms 8s503ms 10s606ms 09 43 0ms 7s101ms 1s743ms 4s794ms 5s773ms 9s685ms 10 51 0ms 12s11ms 2s184ms 5s851ms 6s689ms 12s11ms 11 58 0ms 11s749ms 2s349ms 5s239ms 14s132ms 18s589ms 12 55 0ms 6s449ms 2s455ms 6s775ms 8s21ms 19s802ms 13 39 0ms 9s444ms 2s491ms 6s298ms 8s115ms 15s287ms 14 55 0ms 11s769ms 2s8ms 4s296ms 5s702ms 12s962ms 15 48 0ms 5s327ms 1s587ms 3s889ms 5s79ms 6s501ms 16 57 0ms 15s278ms 2s82ms 5s797ms 9s99ms 15s278ms 17 58 0ms 25s163ms 2s765ms 6s981ms 10s180ms 28s2ms 18 76 0ms 23m6s 24s345ms 51s874ms 1m10s 23m8s 19 85 0ms 23m6s 42s746ms 1m58s 7m 23m51s 20 47 0ms 8s706ms 1s896ms 5s330ms 6s509ms 10s54ms 21 50 0ms 11s904ms 1s978ms 5s926ms 6s549ms 11s904ms 22 62 0ms 4m10s 7s295ms 7s333ms 10s859ms 4m11s 23 29 0ms 17s204ms 2s887ms 6s330ms 8s724ms 20s145ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 19 00 138 0 33s972ms 1m 1m2s 7m3s 01 146 0 24s873ms 1m1s 1m4s 1m10s 02 140 0 24s434ms 1m1s 1m3s 1m6s 03 136 0 24s988ms 1m1s 1m2s 1m4s 04 154 0 24s591ms 1m2s 1m4s 1m11s 05 123 0 17s101ms 59s968ms 1m1s 1m4s 06 18 10 12s541ms 2s230ms 6s523ms 52s336ms 07 19 0 3s135ms 1s306ms 2s695ms 11s597ms 08 21 0 3s944ms 1s354ms 3s138ms 12s605ms 09 50 0 17s533ms 59s489ms 1m1s 1m5s 10 140 10 23s677ms 1m3s 1m5s 1m7s 11 124 0 27s24ms 1m3s 1m4s 1m7s 12 142 0 24s91ms 1m3s 1m4s 1m7s 13 128 0 26s677ms 1m1s 1m2s 1m7s 14 138 10 23s368ms 1m4s 1m5s 1m9s 15 139 0 24s283ms 1m3s 1m4s 1m10s 16 127 0 26s790ms 1m2s 1m4s 1m7s 17 154 0 22s524ms 1m4s 1m10s 1m13s 18 132 10 27s219ms 1m3s 1m3s 1m9s 19 128 0 26s701ms 1m4s 1m7s 1m15s 20 141 0 24s238ms 1m3s 1m5s 1m6s 21 134 0 25s523ms 1m3s 1m6s 1m10s 22 127 0 26s905ms 1m3s 1m6s 1m6s 23 136 0 25s283ms 1m3s 1m5s 1m13s May 20 00 139 0 31s627ms 1m4s 1m6s 1m12s 01 132 0 29s756ms 1m5s 1m7s 4m38s 02 140 0 24s642ms 1m5s 1m8s 1m9s 03 131 0 39s663ms 1m5s 1m9s 11m2s 04 138 0 25s662ms 1m6s 1m7s 1m17s 05 129 0 17s156ms 1m4s 1m5s 1m8s 06 34 10 3s990ms 3s933ms 6s40ms 39s169ms 07 87 0 24s48ms 1m4s 1m7s 1m12s 08 136 0 25s534ms 1m5s 1m8s 1m22s 09 140 0 24s69ms 1m7s 1m8s 1m20s 10 126 9 25s721ms 1m4s 1m6s 1m8s 11 137 0 27s486ms 1m5s 1m7s 2m 12 131 0 26s205ms 1m5s 1m6s 1m9s 13 126 0 27s131ms 1m6s 1m7s 1m9s 14 137 10 23s768ms 1m6s 1m10s 1m15s 15 126 0 27s199ms 1m6s 1m7s 1m9s 16 181 0 21s744ms 1m8s 1m13s 2m54s 17 120 0 28s447ms 1m6s 1m8s 1m8s 18 99 10 18s166ms 1m6s 1m11s 1m50s 19 48 0 3s749ms 3s624ms 6s381ms 14s39ms 20 31 0 3s404ms 2s830ms 5s890ms 22s766ms 21 210 0 25s76ms 50s515ms 4m28s 23m52s 22 42 0 2s898ms 4s1ms 6s201ms 16s640ms 23 28 0 2s324ms 1s936ms 3s811ms 6s207ms May 21 00 27 0 48s893ms 3s980ms 7s41ms 15m57s 01 27 0 2s680ms 2s341ms 4s11ms 5s516ms 02 30 0 2s779ms 3s922ms 4s27ms 7s902ms 03 24 0 2s333ms 2s519ms 3s983ms 6s838ms 04 37 0 3s385ms 5s793ms 7s855ms 11s903ms 05 72 0 2s709ms 5s508ms 13s751ms 24s738ms 06 22 10 5s226ms 4s892ms 7s519ms 52s846ms 07 25 0 3s115ms 3s68ms 5s443ms 8s351ms 08 34 0 2s264ms 2s614ms 4s420ms 9s909ms 09 35 0 2s534ms 4s832ms 5s864ms 7s773ms 10 25 10 4s651ms 3s41ms 6s181ms 52s395ms 11 41 0 3s235ms 4s346ms 9s26ms 12s827ms 12 27 0 1s472ms 1s282ms 2s690ms 6s556ms 13 23 0 2s252ms 2s343ms 4s899ms 8s385ms 14 25 10 6s164ms 4s961ms 17s617ms 52s266ms 15 14 0 3s178ms 1s337ms 4s9ms 13s209ms 16 19 0 2s369ms 1s482ms 3s882ms 7s837ms 17 16 0 2s710ms 1s223ms 2s812ms 12s657ms 18 13 10 5s716ms 1s261ms 5s577ms 52s270ms 19 16 0 2s16ms 1s373ms 2s552ms 4s957ms 20 24 0 8s523ms 2s659ms 6s59ms 1m30s 21 16 0 3s14ms 1s865ms 4s862ms 5s455ms 22 19 0 4s291ms 4s430ms 4s786ms 22s824ms 23 13 0 2s698ms 1s380ms 3s972ms 5s455ms May 22 00 22 0 58s237ms 2s902ms 6s656ms 15m54s 01 16 0 32s229ms 1s912ms 5s611ms 4m21s 02 9 0 1s886ms 1s38ms 1s245ms 4s101ms 03 23 0 4s135ms 3s641ms 5s329ms 35s625ms 04 23 0 2s204ms 1s370ms 4s137ms 5s508ms 05 77 0 2s869ms 4s942ms 15s313ms 37s963ms 06 53 10 4s29ms 9s451ms 17s858ms 52s499ms 07 63 0 1s683ms 3s614ms 5s44ms 12s275ms 08 201 0 3s109ms 21s810ms 28s715ms 42s627ms 09 219 0 2s605ms 17s782ms 23s705ms 39s407ms 10 338 10 3s954ms 26s44ms 53s826ms 2m42s 11 240 0 4s156ms 16s328ms 34s224ms 2m34s 12 298 0 3s120ms 26s719ms 48s785ms 58s422ms 13 271 0 2s462ms 12s372ms 31s221ms 1m4s 14 220 10 3s879ms 21s583ms 50s916ms 2m 15 173 0 1s934ms 7s639ms 9s538ms 32s782ms 16 309 0 6s692ms 13s268ms 1m4s 8m19s 17 299 0 4s488ms 35s177ms 42s735ms 3m29s 18 272 10 3s162ms 15s870ms 43s170ms 53s106ms 19 524 0 6s260ms 1m18s 1m27s 2m24s 20 610 0 10s905ms 2m9s 5m22s 7m50s 21 543 0 8s832ms 1m27s 2m11s 3m4s 22 599 0 8s472ms 1m45s 1m56s 3m33s 23 639 0 7s696ms 1m34s 2m19s 2m51s May 23 00 609 0 10s556ms 2m 2m19s 8m53s 01 1,034 0 5s905ms 1m59s 2m49s 6m53s 02 976 0 9s562ms 2m58s 5m14s 16m47s 03 715 0 11s878ms 3m10s 4m43s 11m51s 04 932 0 13s203ms 4m5s 7m42s 26m31s 05 649 0 6s253ms 1m33s 2m5s 3m20s 06 442 10 3s24ms 39s844ms 54s135ms 1m33s 07 443 0 4s181ms 40s928ms 1m4s 3m48s 08 438 0 2s157ms 19s199ms 44s821ms 1m6s 09 494 0 6s789ms 1m23s 2m7s 4m17s 10 589 10 9s280ms 1m52s 2m35s 3m7s 11 432 0 9s659ms 1m20s 1m37s 3m5s 12 570 0 7s677ms 1m26s 1m35s 2m23s 13 588 0 8s552ms 1m49s 2m5s 4m53s 14 605 9 8s936ms 1m48s 2m26s 3m29s 15 549 0 7s989ms 1m30s 1m44s 2m7s 16 573 0 11s750ms 1m40s 2m25s 13m14s 17 289 0 12s809ms 1m16s 1m20s 1m22s 18 455 9 10s304ms 1m33s 2m7s 2m51s 19 489 0 8s957ms 1m30s 1m47s 2m4s 20 487 0 8s919ms 1m26s 1m45s 2m9s 21 170 0 20s835ms 1m11s 1m13s 1m23s 22 183 0 20s300ms 1m12s 1m22s 1m36s 23 137 0 25s456ms 1m10s 1m11s 1m15s May 24 00 118 0 36s920ms 1m10s 1m11s 1m12s 01 114 0 30s215ms 1m10s 1m14s 1m16s 02 122 0 28s383ms 1m9s 1m11s 1m17s 03 121 0 28s487ms 1m10s 1m12s 1m19s 04 127 0 27s180ms 1m11s 1m13s 1m16s 05 610 0 5s297ms 1m11s 1m15s 1m56s 06 404 10 8s873ms 1m9s 2m17s 6m43s 07 43 0 2s364ms 2s433ms 4s251ms 15s856ms 08 31 0 1s853ms 2s387ms 3s63ms 7s852ms 09 21 0 4s636ms 2s709ms 4s187ms 36s959ms 10 53 10 3s748ms 6s353ms 9s430ms 39s380ms 11 60 0 1s930ms 3s749ms 5s90ms 8s172ms 12 33 0 2s272ms 2s394ms 4s21ms 7s816ms 13 61 0 1s803ms 3s626ms 4s505ms 7s717ms 14 44 10 3s702ms 4s77ms 6s595ms 39s253ms 15 45 0 1s622ms 1s419ms 3s942ms 8s2ms 16 39 0 1s615ms 2s343ms 3s61ms 3s772ms 17 65 0 2s439ms 3s930ms 8s249ms 14s827ms 18 66 10 4s242ms 5s602ms 8s941ms 52s476ms 19 47 0 1s956ms 2s498ms 5s522ms 7s115ms 20 58 0 2s11ms 3s852ms 6s14ms 7s596ms 21 51 0 2s510ms 3s757ms 8s281ms 11s365ms 22 58 0 1s925ms 3s264ms 5s141ms 7s695ms 23 54 0 1s831ms 3s577ms 4s869ms 7s780ms May 25 00 68 0 16s571ms 5s314ms 10s829ms 18s249ms 01 50 0 2s184ms 3s795ms 6s248ms 8s594ms 02 60 0 3s972ms 4s245ms 6s496ms 41s509ms 03 40 0 2s492ms 2s587ms 6s296ms 9s385ms 04 80 0 2s739ms 6s457ms 8s102ms 18s964ms 05 94 0 2s926ms 9s496ms 20s403ms 34s552ms 06 54 0 2s289ms 5s29ms 7s677ms 10s967ms 07 35 0 8s911ms 3s14ms 5s113ms 3m59s 08 61 0 2s190ms 5s3ms 6s320ms 9s825ms 09 42 0 1s737ms 2s372ms 4s794ms 9s685ms 10 51 0 2s184ms 3s875ms 5s851ms 8s658ms 11 58 0 2s349ms 3s46ms 5s239ms 15s476ms 12 55 0 2s455ms 5s7ms 6s775ms 10s359ms 13 39 0 2s491ms 2s386ms 6s298ms 15s287ms 14 55 0 2s8ms 3s659ms 4s296ms 8s700ms 15 48 0 1s587ms 2s436ms 3s889ms 5s212ms 16 57 0 2s82ms 3s686ms 5s797ms 15s278ms 17 58 0 2s765ms 4s898ms 6s981ms 14s157ms 18 49 26 24s633ms 5s456ms 51s874ms 1m25s 19 41 44 42s746ms 1m10s 1m54s 7m2s 20 47 0 1s896ms 2s822ms 5s330ms 10s54ms 21 50 0 1s978ms 2s441ms 5s926ms 6s625ms 22 62 0 7s295ms 5s271ms 7s333ms 1m24s 23 29 0 2s887ms 2s901ms 6s330ms 20s145ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 19 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 20 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 21 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 22 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 23 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 24 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 25 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare May 19 00 0 138 138.00 0.00% 01 0 146 146.00 0.00% 02 0 140 140.00 0.00% 03 0 136 136.00 0.00% 04 0 154 154.00 0.00% 05 0 127 127.00 0.00% 06 0 18 18.00 0.00% 07 0 25 25.00 0.00% 08 0 25 25.00 0.00% 09 0 50 50.00 0.00% 10 0 140 140.00 0.00% 11 0 125 125.00 0.00% 12 0 142 142.00 0.00% 13 0 128 128.00 0.00% 14 0 140 140.00 0.00% 15 0 142 142.00 0.00% 16 0 128 128.00 0.00% 17 0 154 154.00 0.00% 18 0 132 132.00 0.00% 19 0 128 128.00 0.00% 20 0 141 141.00 0.00% 21 0 134 134.00 0.00% 22 0 127 127.00 0.00% 23 0 136 136.00 0.00% May 20 00 0 138 138.00 0.00% 01 0 132 132.00 0.00% 02 0 140 140.00 0.00% 03 0 131 131.00 0.00% 04 0 138 138.00 0.00% 05 0 133 133.00 0.00% 06 0 34 34.00 0.00% 07 0 87 87.00 0.00% 08 0 136 136.00 0.00% 09 0 146 146.00 0.00% 10 0 129 129.00 0.00% 11 0 137 137.00 0.00% 12 0 132 132.00 0.00% 13 0 128 128.00 0.00% 14 0 141 141.00 0.00% 15 0 126 126.00 0.00% 16 0 182 182.00 0.00% 17 0 120 120.00 0.00% 18 0 99 99.00 0.00% 19 0 48 48.00 0.00% 20 0 31 31.00 0.00% 21 0 210 210.00 0.00% 22 0 42 42.00 0.00% 23 0 28 28.00 0.00% May 21 00 0 26 26.00 0.00% 01 0 27 27.00 0.00% 02 0 30 30.00 0.00% 03 0 24 24.00 0.00% 04 0 37 37.00 0.00% 05 0 76 76.00 0.00% 06 0 26 26.00 0.00% 07 0 29 29.00 0.00% 08 0 36 36.00 0.00% 09 0 35 35.00 0.00% 10 0 28 28.00 0.00% 11 0 51 51.00 0.00% 12 0 30 30.00 0.00% 13 0 23 23.00 0.00% 14 0 25 25.00 0.00% 15 0 14 14.00 0.00% 16 0 19 19.00 0.00% 17 0 17 17.00 0.00% 18 0 13 13.00 0.00% 19 0 16 16.00 0.00% 20 0 24 24.00 0.00% 21 0 16 16.00 0.00% 22 0 19 19.00 0.00% 23 0 13 13.00 0.00% May 22 00 0 21 21.00 0.00% 01 0 16 16.00 0.00% 02 0 9 9.00 0.00% 03 0 23 23.00 0.00% 04 0 23 23.00 0.00% 05 0 81 81.00 0.00% 06 0 53 53.00 0.00% 07 0 63 63.00 0.00% 08 0 209 209.00 0.00% 09 0 240 240.00 0.00% 10 0 353 353.00 0.00% 11 0 261 261.00 0.00% 12 0 309 309.00 0.00% 13 0 276 276.00 0.00% 14 0 220 220.00 0.00% 15 0 173 173.00 0.00% 16 0 313 313.00 0.00% 17 0 318 318.00 0.00% 18 0 272 272.00 0.00% 19 0 524 524.00 0.00% 20 0 610 610.00 0.00% 21 0 543 543.00 0.00% 22 0 599 599.00 0.00% 23 0 639 639.00 0.00% May 23 00 0 608 608.00 0.00% 01 0 1,036 1,036.00 0.00% 02 0 976 976.00 0.00% 03 2 715 357.50 0.28% 04 0 932 932.00 0.00% 05 0 654 654.00 0.00% 06 0 442 442.00 0.00% 07 0 444 444.00 0.00% 08 0 439 439.00 0.00% 09 0 494 494.00 0.00% 10 0 589 589.00 0.00% 11 0 439 439.00 0.00% 12 0 571 571.00 0.00% 13 0 594 594.00 0.00% 14 0 606 606.00 0.00% 15 0 549 549.00 0.00% 16 0 578 578.00 0.00% 17 0 289 289.00 0.00% 18 0 455 455.00 0.00% 19 0 489 489.00 0.00% 20 0 487 487.00 0.00% 21 0 170 170.00 0.00% 22 0 184 184.00 0.00% 23 0 137 137.00 0.00% May 24 00 0 118 118.00 0.00% 01 0 114 114.00 0.00% 02 0 122 122.00 0.00% 03 0 121 121.00 0.00% 04 0 127 127.00 0.00% 05 6 614 102.33 0.98% 06 0 404 404.00 0.00% 07 0 49 49.00 0.00% 08 0 38 38.00 0.00% 09 0 22 22.00 0.00% 10 0 53 53.00 0.00% 11 0 61 61.00 0.00% 12 0 46 46.00 0.00% 13 0 63 63.00 0.00% 14 0 46 46.00 0.00% 15 0 56 56.00 0.00% 16 0 48 48.00 0.00% 17 0 65 65.00 0.00% 18 0 67 67.00 0.00% 19 0 47 47.00 0.00% 20 0 58 58.00 0.00% 21 0 51 51.00 0.00% 22 0 58 58.00 0.00% 23 0 54 54.00 0.00% May 25 00 0 67 67.00 0.00% 01 0 50 50.00 0.00% 02 0 60 60.00 0.00% 03 0 40 40.00 0.00% 04 0 80 80.00 0.00% 05 0 97 97.00 0.00% 06 0 54 54.00 0.00% 07 0 36 36.00 0.00% 08 0 61 61.00 0.00% 09 0 43 43.00 0.00% 10 0 51 51.00 0.00% 11 0 58 58.00 0.00% 12 0 55 55.00 0.00% 13 0 39 39.00 0.00% 14 0 55 55.00 0.00% 15 0 48 48.00 0.00% 16 0 57 57.00 0.00% 17 0 58 58.00 0.00% 18 0 50 50.00 0.00% 19 0 41 41.00 0.00% 20 0 47 47.00 0.00% 21 0 50 50.00 0.00% 22 0 62 62.00 0.00% 23 0 29 29.00 0.00% Day Hour Count Average / Second May 19 00 191 0.05/s 01 193 0.05/s 02 225 0.06/s 03 190 0.05/s 04 193 0.05/s 05 159 0.04/s 06 79 0.02/s 07 78 0.02/s 08 85 0.02/s 09 111 0.03/s 10 222 0.06/s 11 222 0.06/s 12 193 0.05/s 13 187 0.05/s 14 208 0.06/s 15 188 0.05/s 16 190 0.05/s 17 192 0.05/s 18 188 0.05/s 19 196 0.05/s 20 187 0.05/s 21 187 0.05/s 22 194 0.05/s 23 185 0.05/s May 20 00 193 0.05/s 01 204 0.06/s 02 190 0.05/s 03 184 0.05/s 04 190 0.05/s 05 167 0.05/s 06 82 0.02/s 07 154 0.04/s 08 186 0.05/s 09 191 0.05/s 10 181 0.05/s 11 185 0.05/s 12 178 0.05/s 13 182 0.05/s 14 186 0.05/s 15 184 0.05/s 16 189 0.05/s 17 180 0.05/s 18 702 0.20/s 19 544 0.15/s 20 82 0.02/s 21 715 0.20/s 22 169 0.05/s 23 116 0.03/s May 21 00 83 0.02/s 01 116 0.03/s 02 93 0.03/s 03 82 0.02/s 04 103 0.03/s 05 96 0.03/s 06 79 0.02/s 07 87 0.02/s 08 127 0.04/s 09 91 0.03/s 10 93 0.03/s 11 74 0.02/s 12 77 0.02/s 13 80 0.02/s 14 86 0.02/s 15 109 0.03/s 16 119 0.03/s 17 75 0.02/s 18 688 0.19/s 19 77 0.02/s 20 86 0.02/s 21 72 0.02/s 22 85 0.02/s 23 79 0.02/s May 22 00 82 0.02/s 01 81 0.02/s 02 84 0.02/s 03 93 0.03/s 04 85 0.02/s 05 107 0.03/s 06 79 0.02/s 07 93 0.03/s 08 182 0.05/s 09 133 0.04/s 10 204 0.06/s 11 271 0.08/s 12 292 0.08/s 13 375 0.10/s 14 360 0.10/s 15 266 0.07/s 16 427 0.12/s 17 913 0.25/s 18 613 0.17/s 19 2,089 0.58/s 20 3,413 0.95/s 21 3,713 1.03/s 22 4,810 1.34/s 23 4,748 1.32/s May 23 00 4,600 1.28/s 01 4,986 1.39/s 02 5,457 1.52/s 03 5,377 1.49/s 04 7,439 2.07/s 05 5,779 1.61/s 06 4,134 1.15/s 07 4,214 1.17/s 08 3,395 0.94/s 09 4,577 1.27/s 10 4,774 1.33/s 11 3,482 0.97/s 12 5,638 1.57/s 13 7,089 1.97/s 14 6,142 1.71/s 15 5,676 1.58/s 16 5,572 1.55/s 17 1,649 0.46/s 18 4,238 1.18/s 19 4,194 1.17/s 20 5,073 1.41/s 21 510 0.14/s 22 535 0.15/s 23 177 0.05/s May 24 00 185 0.05/s 01 177 0.05/s 02 176 0.05/s 03 182 0.05/s 04 201 0.06/s 05 6,066 1.69/s 06 7,754 2.15/s 07 559 0.16/s 08 74 0.02/s 09 92 0.03/s 10 90 0.03/s 11 87 0.02/s 12 92 0.03/s 13 92 0.03/s 14 569 0.16/s 15 86 0.02/s 16 77 0.02/s 17 88 0.02/s 18 121 0.03/s 19 92 0.03/s 20 79 0.02/s 21 82 0.02/s 22 90 0.03/s 23 92 0.03/s May 25 00 106 0.03/s 01 85 0.02/s 02 85 0.02/s 03 86 0.02/s 04 97 0.03/s 05 113 0.03/s 06 89 0.02/s 07 77 0.02/s 08 87 0.02/s 09 93 0.03/s 10 105 0.03/s 11 90 0.03/s 12 88 0.02/s 13 81 0.02/s 14 94 0.03/s 15 94 0.03/s 16 88 0.02/s 17 87 0.02/s 18 87 0.02/s 19 84 0.02/s 20 95 0.03/s 21 98 0.03/s 22 85 0.02/s 23 83 0.02/s Day Hour Count Average Duration Average idle time May 19 00 191 12m46s 12m22s 01 193 13m1s 12m42s 02 225 11m11s 10m55s 03 190 12m45s 12m27s 04 193 12m37s 12m17s 05 160 14m33s 14m20s 06 79 30m3s 29m59s 07 78 31m35s 31m34s 08 85 29m37s 29m36s 09 111 21m36s 21m28s 10 222 11m14s 10m58s 11 221 10m56s 10m41s 12 194 12m41s 12m23s 13 187 11m37s 11m18s 14 207 12m1s 11m45s 15 189 12m41s 12m24s 16 190 12m50s 12m32s 17 191 12m46s 12m28s 18 189 12m55s 12m35s 19 195 12m23s 12m6s 20 187 12m37s 12m19s 21 187 12m39s 12m21s 22 194 12m36s 12m18s 23 185 13m10s 12m51s May 20 00 194 12m38s 12m15s 01 204 12m13s 11m54s 02 187 13m8s 12m50s 03 186 13m20s 12m53s 04 191 13m13s 12m54s 05 167 13m55s 13m41s 06 82 29m16s 29m13s 07 154 16m36s 16m22s 08 185 12m51s 12m32s 09 191 12m42s 12m24s 10 182 13m7s 12m48s 11 184 13m45s 13m24s 12 178 12m30s 12m10s 13 182 13m29s 13m11s 14 186 13m37s 13m18s 15 184 13m3s 12m45s 16 189 13m8s 12m48s 17 180 13m20s 13m1s 18 661 3m43s 3m40s 19 586 6m18s 6m18s 20 82 28m29s 28m28s 21 715 21m27s 21m19s 22 169 14m26s 14m25s 23 116 20m53s 20m52s May 21 00 83 29m3s 28m47s 01 116 20m35s 20m34s 02 93 25m50s 25m49s 03 82 28m47s 28m46s 04 103 23m47s 23m46s 05 96 25m27s 25m25s 06 79 29m34s 29m32s 07 87 27m33s 27m32s 08 127 19m40s 19m40s 09 91 26m36s 26m35s 10 93 25m29s 25m28s 11 74 29m46s 29m44s 12 77 32m10s 32m10s 13 80 31m4s 31m3s 14 86 28m4s 28m1s 15 108 22m39s 22m39s 16 120 19m21s 19m20s 17 75 31m41s 31m40s 18 688 3m37s 3m36s 19 77 31m9s 31m9s 20 86 27m44s 27m41s 21 72 30m35s 30m35s 22 85 29m22s 29m21s 23 79 30m13s 30m12s May 22 00 82 29m46s 29m30s 01 81 29m37s 29m31s 02 84 29m43s 29m43s 03 93 26m20s 26m19s 04 85 28m47s 28m47s 05 107 22m 21m57s 06 79 29m58s 29m55s 07 93 26m3s 26m1s 08 182 13m41s 13m37s 09 133 18m26s 18m21s 10 204 10m48s 10m42s 11 271 9m14s 9m10s 12 292 8m14s 8m11s 13 375 6m23s 6m22s 14 360 6m41s 6m39s 15 266 9m13s 9m12s 16 427 5m41s 5m36s 17 912 2m36s 2m34s 18 614 4m 3m58s 19 2,088 2m29s 2m27s 20 3,413 5m15s 5m13s 21 3,713 38s953ms 37s661ms 22 4,810 31s407ms 30s352ms 23 4,747 32s30ms 30s994ms May 23 00 4,601 37s801ms 36s402ms 01 4,985 31s969ms 30s744ms 02 5,452 30s498ms 28s786ms 03 5,385 31s251ms 29s674ms 04 7,439 23s529ms 21s875ms 05 5,780 26s172ms 25s469ms 06 4,133 36s36ms 35s706ms 07 4,215 35s508ms 35s68ms 08 3,395 42s709ms 42s431ms 09 4,575 34s803ms 34s70ms 10 4,775 31s582ms 30s418ms 11 3,482 42s178ms 40s979ms 12 5,637 26s729ms 25s952ms 13 7,091 27s821ms 27s111ms 14 6,141 25s323ms 24s430ms 15 5,677 27s926ms 27s153ms 16 5,571 29s479ms 28s271ms 17 1,649 1m28s 1m26s 18 4,236 35s432ms 34s303ms 19 4,196 35s168ms 34s124ms 20 5,073 28s831ms 27s974ms 21 511 4m18s 4m11s 22 534 5m28s 5m21s 23 177 13m24s 13m4s May 24 00 186 13m18s 12m54s 01 176 13m42s 13m22s 02 176 13m34s 13m15s 03 182 13m42s 13m23s 04 201 12m4s 11m47s 05 6,065 39s380ms 38s846ms 06 7,755 30s763ms 30s289ms 07 560 4m34s 4m33s 08 74 29m19s 29m19s 09 92 27m3s 27m2s 10 90 27m2s 26m59s 11 87 27m30s 27m29s 12 92 26m50s 26m49s 13 92 26m20s 26m19s 14 569 4m19s 4m19s 15 86 28m14s 28m13s 16 77 30m30s 30m29s 17 88 27m26s 27m24s 18 121 20m27s 20m25s 19 92 26m39s 26m38s 20 79 29m38s 29m37s 21 82 28m5s 28m4s 22 90 26m35s 26m34s 23 92 25m58s 25m57s May 25 00 106 22m32s 22m22s 01 85 28m52s 28m51s 02 85 28m6s 28m3s 03 86 28m37s 28m36s 04 97 25m17s 25m14s 05 113 20m54s 20m51s 06 89 27m16s 27m14s 07 77 28m37s 28m33s 08 87 28m5s 28m3s 09 93 25m31s 25m30s 10 105 23m31s 23m30s 11 90 26m59s 26m57s 12 88 27m22s 27m21s 13 81 29m38s 29m37s 14 94 26m27s 26m26s 15 94 26m8s 26m7s 16 88 26m54s 26m53s 17 87 26m43s 26m41s 18 86 28m29s 28m7s 19 85 29m13s 28m30s 20 95 25m32s 25m31s 21 98 22m58s 22m57s 22 85 27m55s 27m49s 23 83 28m35s 28m34s -
Connections
Established Connections
Key values
- 101 connections Connection Peak
- 2024-05-20 19:07:12 Date
Connections per database
Key values
- ctdprd51 Main Database
- 160,134 connections Total
Connections per user
Key values
- pubeu Main User
- 160,134 connections Total
-
Sessions
Simultaneous sessions
Key values
- 115 sessions Session Peak
- 2024-05-23 03:21:31 Date
Histogram of session times
Key values
- 73,588 0-500ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 160,137 sessions Total
Sessions per user
Key values
- pubeu Main User
- 160,137 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 160,137 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 305,953 buffers Checkpoint Peak
- 2024-05-24 05:10:41 Date
- 1619.958 seconds Highest write time
- 0.029 seconds Sync time
Checkpoints Wal files
Key values
- 70 files Wal files usage Peak
- 2024-05-23 06:10:39 Date
Checkpoints distance
Key values
- 2,178.49 Mo Distance Peak
- 2024-05-23 06:40:40 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time May 19 00 1,671 167.693s 0.005s 167.767s 01 172 17.434s 0.002s 17.466s 02 197 19.93s 0.002s 19.962s 03 191 19.331s 0.002s 19.367s 04 244 24.643s 0.002s 24.675s 05 145 14.639s 0.001s 14.656s 06 14,581 1,460.815s 0.006s 1,460.98s 07 351 35.37s 0.002s 35.402s 08 380 38.303s 0.003s 38.336s 09 79 8.094s 0.002s 8.127s 10 9,780 980.168s 0.003s 980.387s 11 1,298 130.307s 0.004s 130.338s 12 166 16.739s 0.002s 16.768s 13 97 9.912s 0.002s 9.944s 14 248 25.074s 0.002s 25.107s 15 320 32.259s 0.002s 32.29s 16 144 14.623s 0.002s 14.655s 17 101 10.305s 0.002s 10.336s 18 112 11.431s 0.002s 11.462s 19 96 9.809s 0.002s 9.841s 20 180 18.23s 0.002s 18.306s 21 109 11.126s 0.002s 11.157s 22 272 27.442s 0.002s 27.472s 23 331 33.36s 0.002s 33.39s May 20 00 1,913 191.969s 0.003s 192s 01 4,233 424.441s 0.003s 424.538s 02 306 30.678s 0.002s 30.708s 03 6,328 634.117s 0.003s 634.189s 04 56,457 1,633.365s 0.003s 1,633.871s 05 417 41.98s 0.003s 42.011s 06 154 15.63s 0.002s 15.707s 07 210 21.237s 0.002s 21.269s 08 300 30.165s 0.002s 30.18s 09 70,188 1,697.581s 0.005s 1,698.178s 10 54,441 1,646.39s 0.003s 1,646.858s 11 244 24.538s 0.002s 24.569s 12 275 27.753s 0.002s 27.783s 13 417 42.01s 0.012s 42.097s 14 3,013 302.146s 0.004s 302.227s 15 580 58.314s 0.003s 58.346s 16 540 54.325s 0.004s 54.356s 17 175 17.724s 0.002s 17.755s 18 5,664 567.658s 0.005s 567.763s 19 119 12.108s 0.002s 12.14s 20 265 26.759s 0.002s 26.835s 21 193 19.543s 0.002s 19.574s 22 4,734 474s 0.002s 474.053s 23 13,109 1,313.679s 0.004s 1,313.844s May 21 00 251,974 1,677.921s 0.004s 1,678.404s 01 204 20.632s 0.002s 20.663s 02 191 19.321s 0.002s 19.354s 03 216 21.835s 0.002s 21.865s 04 49,126 1,629.021s 0.002s 1,629.487s 05 985 98.92s 0.004s 98.953s 06 446 44.9s 0.002s 44.979s 07 474 47.692s 0.002s 47.723s 08 384 38.672s 0.002s 38.702s 09 6,049 606.111s 0.002s 606.225s 10 190 19.232s 0.002s 19.263s 11 442 44.486s 0.002s 44.516s 12 437 43.984s 0.002s 44.014s 13 116 11.802s 0.002s 11.833s 14 352 35.494s 0.002s 35.525s 15 188 19.023s 0.002s 19.053s 16 4,833 484.139s 0.002s 484.205s 17 280 28.247s 0.002s 28.29s 18 234 23.636s 0.002s 23.667s 19 243 24.546s 0.002s 24.579s 20 5,715 572.613s 0.002s 572.72s 21 237 23.939s 0.002s 23.97s 22 533 53.607s 0.002s 53.638s 23 3,956 396.295s 0.002s 396.726s May 22 00 48,300 1,869.935s 0.006s 1,870.003s 01 1,085 108.904s 0.003s 108.981s 02 130 13.21s 0.002s 13.239s 03 5,540 555.033s 0.001s 555.121s 04 67,482 2,193.413s 0.005s 2,193.922s 05 4,938 494.719s 0.003s 494.792s 06 284 28.643s 0.002s 28.673s 07 1,488 149.291s 0.003s 149.372s 08 308 31.167s 0.002s 31.198s 09 428 43.099s 0.003s 43.132s 10 527 53.049s 0.002s 53.081s 11 379 38.09s 0.002s 38.12s 12 445 44.86s 0.002s 44.939s 13 565 56.829s 0.003s 56.859s 14 387 38.972s 0.002s 39.003s 15 321 32.358s 0.002s 32.388s 16 505 50.723s 0.004s 50.755s 17 596 60.086s 0.002s 60.117s 18 385 38.827s 0.002s 38.859s 19 346 34.895s 0.002s 34.928s 20 348 35.199s 0.004s 35.274s 21 2,385 239.402s 0.003s 239.514s 22 355 36.042s 0.03s 36.161s 23 293 29.746s 0.002s 29.782s May 23 00 1,456 148.419s 0.005s 148.511s 01 638 64.187s 0.002s 64.217s 02 686 68.926s 0.002s 68.958s 03 2,588 259.866s 0.016s 259.959s 04 5,426 549.262s 0.054s 549.644s 05 399 40.154s 0.001s 40.171s 06 158,714 3,267.695s 0.005s 3,269.075s 07 719 72.292s 0.002s 72.324s 08 3,728 374.34s 0.004s 374.423s 09 3,459 349.487s 0.002s 349.574s 10 5,990 602.314s 0.003s 602.415s 11 564 56.788s 0.002s 56.804s 12 64,850 2,136.936s 0.006s 2,137.506s 13 50,562 1,619.351s 0.002s 1,620.167s 14 93,979 2,591.213s 0.004s 2,591.387s 15 476 47.976s 0.003s 48.008s 16 734 73.831s 0.003s 73.861s 17 260 26.252s 0.002s 26.283s 18 415 41.811s 0.002s 41.843s 19 312 31.479s 0.002s 31.567s 20 502 50.671s 0.002s 50.701s 21 143 14.425s 0.001s 14.441s 22 55,629 2,191.313s 0.006s 2,191.843s 23 872 87.575s 0.002s 87.607s May 24 00 2,446 278.283s 0.004s 278.333s 01 336 33.763s 0.002s 33.792s 02 60,352 1,748.495s 0.003s 1,749.03s 03 249 25.137s 0.002s 25.167s 04 191 19.269s 0.002s 19.286s 05 319,055 2,933.521s 0.006s 2,934.091s 06 660 66.646s 0.003s 66.69s 07 363 36.575s 0.002s 36.606s 08 430 43.269s 0.002s 43.3s 09 209 21.138s 0.002s 21.169s 10 269 27.06s 0.001s 27.075s 11 50,602 1,650.894s 0.004s 1,651.379s 12 1,541 154.412s 0.003s 154.443s 13 6,217 623.074s 0.002s 623.158s 14 791 79.374s 0.003s 79.405s 15 802 80.563s 0.002s 80.643s 16 607 61.028s 0.002s 61.059s 17 27,640 1,641.538s 0.003s 1,641.804s 18 408 41.079s 0.002s 41.111s 19 295 29.758s 0.002s 29.837s 20 580 58.307s 0.002s 58.338s 21 303 30.441s 0.002s 30.471s 22 274 27.549s 0.001s 27.565s 23 34,441 1,657.125s 0.004s 1,657.509s May 25 00 1,773 177.871s 0.003s 177.943s 01 543 54.634s 0.002s 54.666s 02 320 32.152s 0.003s 32.23s 03 323 32.57s 0.002s 32.6s 04 883 88.675s 0.003s 88.704s 05 2,099 210.438s 0.003s 210.486s 06 261 26.349s 0.002s 26.38s 07 279 28.17s 0.002s 28.201s 08 7,607 761.925s 0.002s 762.421s 09 64,361 1,636.168s 0.002s 1,636.283s 10 472 47.487s 0.003s 47.518s 11 2,105 211.008s 0.003s 211.053s 12 518 52.1s 0.002s 52.132s 13 294 29.65s 0.002s 29.729s 14 385 38.766s 0.002s 38.796s 15 404 40.566s 0.003s 40.596s 16 269 27.145s 0.002s 27.175s 17 441 44.376s 0.002s 44.406s 18 501 50.28s 0.002s 50.311s 19 330 33.23s 0.002s 33.261s 20 56,774 1,625.442s 0.002s 1,625.472s 21 722 72.548s 0.002s 72.626s 22 5,200 520.975s 0.002s 521.042s 23 9,926 994.515s 0.004s 994.646s Day Hour Added Removed Recycled Synced files Longest sync Average sync May 19 00 0 0 0 73 0.001s 0.002s 01 0 0 0 25 0.001s 0.002s 02 0 0 0 25 0.001s 0.002s 03 0 0 0 25 0.001s 0.002s 04 0 0 0 31 0.001s 0.002s 05 0 0 0 18 0.001s 0.001s 06 0 0 6 137 0.001s 0.003s 07 0 0 0 110 0.001s 0.002s 08 0 0 0 121 0.001s 0.002s 09 0 0 0 17 0.001s 0.002s 10 0 0 7 39 0.001s 0.002s 11 0 0 0 138 0.002s 0.002s 12 0 0 0 28 0.001s 0.002s 13 0 0 0 18 0.001s 0.002s 14 0 0 0 106 0.001s 0.002s 15 0 0 0 113 0.001s 0.002s 16 0 0 0 59 0.001s 0.002s 17 0 0 0 21 0.001s 0.002s 18 0 0 0 23 0.001s 0.002s 19 0 0 0 19 0.001s 0.002s 20 0 0 1 27 0.001s 0.002s 21 0 0 0 18 0.001s 0.002s 22 0 0 0 21 0.001s 0.002s 23 0 0 0 26 0.001s 0.002s May 20 00 0 0 0 72 0.001s 0.002s 01 0 0 2 44 0.001s 0.002s 02 0 0 0 32 0.001s 0.002s 03 0 0 3 57 0.001s 0.002s 04 0 0 37 42 0.001s 0.002s 05 0 0 0 30 0.001s 0.002s 06 0 0 1 26 0.001s 0.002s 07 0 0 0 29 0.001s 0.002s 08 0 0 0 19 0.001s 0.001s 09 0 0 40 182 0.001s 0.003s 10 0 0 33 129 0.001s 0.002s 11 0 0 0 27 0.001s 0.002s 12 0 0 0 110 0.001s 0.002s 13 0 0 1 76 0.004s 0.002s 14 0 0 1 130 0.001s 0.002s 15 0 0 0 113 0.001s 0.002s 16 0 0 0 117 0.001s 0.002s 17 0 0 0 21 0.001s 0.002s 18 0 0 3 36 0.002s 0.002s 19 0 0 0 17 0.001s 0.002s 20 0 0 1 29 0.001s 0.002s 21 0 0 0 21 0.001s 0.002s 22 0 0 3 21 0.001s 0.001s 23 0 0 7 54 0.001s 0.003s May 21 00 0 0 35 98 0.001s 0.002s 01 0 0 0 34 0.001s 0.002s 02 0 0 0 34 0.001s 0.002s 03 0 0 0 36 0.001s 0.002s 04 0 0 33 40 0.001s 0.002s 05 0 0 0 48 0.001s 0.002s 06 0 0 1 90 0.001s 0.002s 07 0 0 0 115 0.001s 0.002s 08 0 0 0 123 0.001s 0.002s 09 0 0 4 123 0.001s 0.002s 10 0 0 0 70 0.001s 0.002s 11 0 0 0 119 0.001s 0.002s 12 0 0 0 115 0.001s 0.002s 13 0 0 0 22 0.001s 0.002s 14 0 0 0 130 0.001s 0.002s 15 0 0 0 55 0.001s 0.002s 16 0 0 3 87 0.001s 0.002s 17 0 0 0 63 0.001s 0.002s 18 0 0 0 30 0.001s 0.002s 19 0 0 0 27 0.001s 0.002s 20 0 0 3 32 0.001s 0.002s 21 0 0 0 27 0.001s 0.002s 22 0 0 0 30 0.001s 0.002s 23 0 0 32 22 0.002s 0.001s May 22 00 0 0 1 108 0.001s 0.003s 01 0 0 1 46 0.001s 0.002s 02 0 0 0 27 0.001s 0.002s 03 0 0 3 33 0.001s 0.001s 04 0 0 36 71 0.001s 0.003s 05 0 0 3 57 0.001s 0.002s 06 0 0 0 33 0.001s 0.002s 07 0 0 1 42 0.001s 0.002s 08 0 0 0 104 0.001s 0.002s 09 0 0 0 122 0.001s 0.002s 10 0 0 0 139 0.001s 0.002s 11 0 0 0 75 0.001s 0.002s 12 0 0 1 78 0.001s 0.002s 13 0 0 0 115 0.001s 0.002s 14 0 0 0 29 0.001s 0.002s 15 0 0 0 25 0.001s 0.002s 16 0 0 0 109 0.001s 0.002s 17 0 0 0 115 0.001s 0.002s 18 0 0 0 68 0.001s 0.002s 19 0 0 0 27 0.001s 0.002s 20 0 0 0 27 0.003s 0.002s 21 0 0 1 40 0.001s 0.002s 22 0 0 0 28 0.017s 0.004s 23 0 0 0 18 0.001s 0.002s May 23 00 0 0 1 89 0.001s 0.002s 01 0 0 0 33 0.001s 0.002s 02 0 0 0 32 0.001s 0.002s 03 0 0 1 50 0.013s 0.002s 04 0 0 3 48 0.029s 0.004s 05 0 0 0 16 0.001s 0.001s 06 0 0 106 100 0.001s 0.003s 07 0 0 0 33 0.001s 0.002s 08 0 0 1 88 0.001s 0.002s 09 0 0 2 48 0.001s 0.002s 10 0 0 3 38 0.001s 0.002s 11 0 0 0 124 0.001s 0.001s 12 0 0 40 215 0.001s 0.003s 13 0 0 64 31 0.001s 0.001s 14 0 0 6 217 0.001s 0.003s 15 0 0 0 124 0.002s 0.002s 16 0 0 0 123 0.001s 0.002s 17 0 0 0 18 0.001s 0.002s 18 0 0 0 25 0.001s 0.002s 19 0 0 1 18 0.001s 0.002s 20 0 0 0 27 0.001s 0.002s 21 0 0 0 9 0.001s 0.001s 22 0 0 37 52 0.002s 0.003s 23 0 0 0 40 0.001s 0.002s May 24 00 0 0 1 85 0.001s 0.002s 01 0 0 0 34 0.001s 0.002s 02 0 0 39 51 0.001s 0.002s 03 0 0 0 26 0.001s 0.002s 04 0 0 0 16 0.001s 0.001s 05 0 0 36 79 0.002s 0.003s 06 0 0 0 42 0.002s 0.002s 07 0 0 0 113 0.001s 0.002s 08 0 0 0 76 0.001s 0.002s 09 0 0 0 62 0.001s 0.002s 10 0 0 0 26 0.001s 0.001s 11 0 0 34 67 0.001s 0.003s 12 0 0 0 145 0.001s 0.002s 13 0 0 4 201 0.001s 0.002s 14 0 0 0 191 0.001s 0.002s 15 0 0 1 122 0.001s 0.002s 16 0 0 0 123 0.001s 0.002s 17 0 0 17 80 0.002s 0.002s 18 0 0 0 38 0.001s 0.002s 19 0 0 1 18 0.001s 0.002s 20 0 0 0 27 0.001s 0.002s 21 0 0 0 19 0.001s 0.002s 22 0 0 0 15 0.001s 0.001s 23 0 0 22 53 0.001s 0.003s May 25 00 0 0 0 73 0.001s 0.002s 01 0 0 0 42 0.001s 0.002s 02 0 0 1 32 0.001s 0.002s 03 0 0 0 33 0.001s 0.002s 04 0 0 0 48 0.002s 0.002s 05 0 0 1 52 0.002s 0.002s 06 0 0 0 28 0.001s 0.002s 07 0 0 0 27 0.001s 0.002s 08 0 0 36 47 0.001s 0.002s 09 0 0 4 47 0.001s 0.002s 10 0 0 0 38 0.001s 0.002s 11 0 0 1 31 0.002s 0.002s 12 0 0 0 30 0.001s 0.002s 13 0 0 1 20 0.001s 0.002s 14 0 0 0 27 0.001s 0.002s 15 0 0 0 32 0.001s 0.002s 16 0 0 0 19 0.001s 0.002s 17 0 0 0 28 0.001s 0.002s 18 0 0 0 25 0.001s 0.002s 19 0 0 0 19 0.001s 0.002s 20 0 0 0 31 0.001s 0.002s 21 0 0 1 29 0.001s 0.002s 22 0 0 3 40 0.001s 0.002s 23 0 0 8 40 0.002s 0.002s Day Hour Count Avg time (sec) May 19 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 20 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 21 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 22 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 23 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 24 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 25 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate May 19 00 2,799.00 kB 249,221.00 kB 01 156.00 kB 202,020.00 kB 02 183.50 kB 163,657.50 kB 03 208.50 kB 132,602.00 kB 04 362.50 kB 107,473.50 kB 05 704.00 kB 91,725.00 kB 06 31,904.33 kB 81,879.33 kB 07 1,164.00 kB 64,359.00 kB 08 1,053.00 kB 52,337.00 kB 09 100.50 kB 42,445.50 kB 10 50,168.00 kB 68,205.00 kB 11 3,978.50 kB 86,372.00 kB 12 318.50 kB 70,071.50 kB 13 187.00 kB 56,791.50 kB 14 639.00 kB 46,096.50 kB 15 891.50 kB 37,500.50 kB 16 314.50 kB 30,468.50 kB 17 210.00 kB 24,717.00 kB 18 180.00 kB 20,057.50 kB 19 181.50 kB 16,280.50 kB 20 387.00 kB 13,261.50 kB 21 203.50 kB 10,779.00 kB 22 442.50 kB 8,806.50 kB 23 534.50 kB 7,218.50 kB May 20 00 3,718.50 kB 6,416.00 kB 01 13,714.00 kB 16,383.00 kB 02 436.00 kB 23,216.50 kB 03 25,148.00 kB 37,919.00 kB 04 307,240.50 kB 583,256.50 kB 05 595.00 kB 472,530.50 kB 06 184.50 kB 382,823.00 kB 07 394.50 kB 310,156.50 kB 08 1,151.00 kB 264,577.00 kB 09 202,845.33 kB 546,139.33 kB 10 297,152.00 kB 562,849.00 kB 11 485.50 kB 456,071.50 kB 12 560.50 kB 369,511.50 kB 13 721.50 kB 299,418.50 kB 14 10,009.50 kB 244,420.00 kB 15 1,230.50 kB 198,225.50 kB 16 1,392.00 kB 160,814.50 kB 17 308.50 kB 130,367.50 kB 18 29,283.50 kB 108,553.00 kB 19 264.50 kB 90,589.00 kB 20 441.50 kB 73,463.00 kB 21 435.50 kB 59,571.50 kB 22 46,942.00 kB 55,514.00 kB 23 41,735.00 kB 112,093.67 kB May 21 00 288,572.50 kB 546,651.50 kB 01 365.00 kB 442,920.50 kB 02 401.00 kB 358,841.50 kB 03 435.00 kB 290,743.50 kB 04 267,720.50 kB 508,241.50 kB 05 2,840.50 kB 412,194.50 kB 06 930.50 kB 334,020.50 kB 07 1,358.00 kB 270,837.00 kB 08 1,036.50 kB 219,589.00 kB 09 31,230.00 kB 183,735.50 kB 10 429.50 kB 148,984.50 kB 11 1,341.00 kB 120,888.50 kB 12 1,329.50 kB 98,192.00 kB 13 207.50 kB 79,617.00 kB 14 826.50 kB 64,626.00 kB 15 387.00 kB 52,425.00 kB 16 23,557.00 kB 46,952.50 kB 17 587.00 kB 38,114.00 kB 18 563.00 kB 31,005.50 kB 19 572.00 kB 25,225.00 kB 20 23,440.00 kB 34,092.50 kB 21 477.00 kB 39,933.50 kB 22 1,383.00 kB 32,530.50 kB 23 29,786.00 kB 30,832.00 kB May 22 00 168,760.00 kB 444,325.33 kB 01 3,107.50 kB 342,010.00 kB 02 239.50 kB 277,075.00 kB 03 58,541.00 kB 242,116.00 kB 04 197,325.00 kB 499,079.33 kB 05 24,105.50 kB 388,358.00 kB 06 493.50 kB 314,713.00 kB 07 4,797.00 kB 255,431.50 kB 08 773.50 kB 207,443.00 kB 09 1,179.50 kB 168,239.00 kB 10 1,365.00 kB 136,520.50 kB 11 989.50 kB 110,760.50 kB 12 1,283.00 kB 89,980.50 kB 13 1,257.00 kB 73,125.00 kB 14 808.50 kB 59,390.50 kB 15 785.00 kB 48,233.50 kB 16 1,307.50 kB 39,316.00 kB 17 1,493.00 kB 32,085.00 kB 18 853.00 kB 26,221.50 kB 19 803.50 kB 21,391.50 kB 20 684.00 kB 17,441.50 kB 21 6,923.00 kB 15,315.00 kB 22 742.00 kB 12,692.50 kB 23 579.50 kB 10,388.00 kB May 23 00 4,837.00 kB 9,142.50 kB 01 638.50 kB 7,712.50 kB 02 712.00 kB 6,377.50 kB 03 6,259.50 kB 11,162.50 kB 04 23,237.50 kB 27,537.50 kB 05 985.00 kB 40,970.00 kB 06 577,599.33 kB 911,879.33 kB 07 1,107.00 kB 858,540.50 kB 08 11,683.00 kB 697,507.00 kB 09 10,405.50 kB 566,250.50 kB 10 29,870.00 kB 465,188.00 kB 11 2,410.00 kB 396,923.00 kB 12 217,726.00 kB 546,745.67 kB 13 552,675.00 kB 552,675.00 kB 14 196,693.00 kB 499,922.33 kB 15 1,287.50 kB 386,289.00 kB 16 1,861.50 kB 313,257.00 kB 17 655.00 kB 253,895.50 kB 18 702.50 kB 205,785.50 kB 19 858.00 kB 166,839.00 kB 20 1,377.00 kB 135,406.00 kB 21 671.00 kB 115,559.00 kB 22 201,268.00 kB 495,438.00 kB 23 2,037.00 kB 381,783.00 kB May 24 00 8,554.00 kB 310,822.50 kB 01 388.50 kB 252,023.50 kB 02 321,405.50 kB 609,758.50 kB 03 276.50 kB 493,997.50 kB 04 481.00 kB 421,251.00 kB 05 193,220.67 kB 425,798.33 kB 06 1,166.00 kB 330,018.00 kB 07 1,042.50 kB 267,478.00 kB 08 902.50 kB 216,830.00 kB 09 514.50 kB 175,770.50 kB 10 1,155.00 kB 149,993.00 kB 11 183,997.00 kB 497,327.67 kB 12 3,861.00 kB 381,811.50 kB 13 30,876.50 kB 315,331.50 kB 14 2,428.00 kB 255,801.50 kB 15 1,912.00 kB 207,629.50 kB 16 1,775.00 kB 168,548.50 kB 17 143,432.00 kB 271,309.50 kB 18 1,039.50 kB 219,961.00 kB 19 779.50 kB 178,338.00 kB 20 1,203.50 kB 144,656.50 kB 21 893.50 kB 117,366.50 kB 22 1,337.00 kB 100,243.00 kB 23 118,347.67 kB 318,618.00 kB May 25 00 5,756.50 kB 245,346.50 kB 01 1,430.50 kB 199,103.50 kB 02 718.50 kB 161,406.00 kB 03 870.50 kB 130,900.00 kB 04 2,556.50 kB 106,367.50 kB 05 6,217.50 kB 87,462.50 kB 06 721.50 kB 71,004.00 kB 07 761.50 kB 57,678.50 kB 08 33,219.50 kB 57,377.50 kB 09 297,367.50 kB 564,056.00 kB 10 1,230.50 kB 457,083.50 kB 11 7,293.50 kB 371,675.50 kB 12 1,123.50 kB 301,242.50 kB 13 787.00 kB 244,178.00 kB 14 952.50 kB 197,969.00 kB 15 1,016.50 kB 160,526.00 kB 16 796.00 kB 130,195.50 kB 17 1,067.50 kB 105,641.00 kB 18 1,012.50 kB 85,773.00 kB 19 935.00 kB 69,662.50 kB 20 1,101.00 kB 56,633.00 kB 21 1,973.00 kB 46,246.00 kB 22 24,317.50 kB 43,440.50 kB 23 47,808.50 kB 47,964.00 kB -
Temporary Files
Size of temporary files
Key values
- 5.82 GiB Temp Files size Peak
- 2024-05-22 00:54:07 Date
Number of temporary files
Key values
- 6 per second Temp Files Peak
- 2024-05-22 00:54:07 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size May 19 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 20 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 21 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 22 00 6 5.82 GiB 993.56 MiB 01 6 5.82 GiB 993.56 MiB 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 23 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 24 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 25 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 12 11.64 GiB 841.38 MiB 1.00 GiB 993.56 MiB select distinct ;-
select distinct ;
Date: 2024-05-22 00:54:07 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB select distinct ;[ Date: 2024-05-22 00:54:07 ]
2 1.00 GiB select distinct ;[ Date: 2024-05-22 00:54:07 ]
3 1.00 GiB select distinct ;[ Date: 2024-05-22 00:54:07 ]
4 1.00 GiB select distinct ;[ Date: 2024-05-22 00:54:07 ]
5 1.00 GiB select distinct ;[ Date: 2024-05-22 00:54:07 ]
6 1.00 GiB select distinct ;[ Date: 2024-05-22 01:13:35 ]
7 1.00 GiB select distinct ;[ Date: 2024-05-22 01:13:35 ]
8 1.00 GiB select distinct ;[ Date: 2024-05-22 01:13:35 ]
9 1.00 GiB select distinct ;[ Date: 2024-05-22 01:13:35 ]
10 1.00 GiB select distinct ;[ Date: 2024-05-22 01:13:35 ]
11 841.38 MiB select distinct ;[ Date: 2024-05-22 00:54:07 ]
12 841.38 MiB select distinct ;[ Date: 2024-05-22 01:13:35 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 61.85 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-05-24 04:30:39 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 61.85 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-05-24 04:30:39 Date
Analyzes per table
Key values
- pubc.log_query (164) Main table analyzed (database ctdprd51)
- 177 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 164 ctdprd51.pub2.term_set_enrichment_agent 4 ctdprd51.pub2.term_set_enrichment 3 ctdprd51.edit.exp_outcome 1 ctdprd51.pub2.term_comp 1 ctdprd51.pub2.term_comp_agent 1 ctdprd51.pg_catalog.pg_class 1 ctdprd51.edit.term_label 1 ctdprd51.pg_catalog.pg_attribute 1 Total 177 Vacuums per table
Key values
- pubc.log_query (33) Main table vacuumed on database ctdprd51
- 43 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 33 29 21,936 0 4,203 0 40 8,414 800 5,662,174 ctdprd51.pg_toast.pg_toast_2619 2 2 7,924 0 2,606 0 19,965 6,642 2,138 1,153,212 ctdprd51.pub2.term_set_enrichment 2 0 17,378 0 8,234 0 0 8,591 4 533,939 ctdprd51.pub2.term_set_enrichment_agent 2 0 1,000,803 0 463,961 0 0 479,897 19 28,463,948 ctdprd51.pg_catalog.pg_statistic 2 2 1,357 0 254 0 37 813 239 1,017,161 ctdprd51.pub2.term_comp 1 0 185 0 27 0 0 24 1 9,835 ctdprd51.pg_toast.pg_toast_486223 1 0 47 0 3 0 0 1 0 188 Total 43 33 1,049,630 2,177 479,288 0 20,042 504,382 3,201 36,840,457 Tuples removed per table
Key values
- pubc.log_query (23013) Main table with removed tuples on database ctdprd51
- 32113 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 33 29 23,013 124,703 14,825 0 6,530 ctdprd51.pg_toast.pg_toast_2619 2 2 8,247 40,344 0 0 25,184 ctdprd51.pg_catalog.pg_statistic 2 2 853 4,817 0 0 580 ctdprd51.pub2.term_set_enrichment 2 0 0 2,583,763 0 0 42,802 ctdprd51.pub2.term_comp 1 0 0 4,183 0 0 40 ctdprd51.pg_toast.pg_toast_486223 1 0 0 53 0 0 10 ctdprd51.pub2.term_set_enrichment_agent 2 0 0 213,172,488 0 0 2,422,415 Total 43 33 32,113 215,930,351 14,825 0 2,497,561 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_toast.pg_toast_2619 2 2 8247 0 ctdprd51.pub2.term_set_enrichment 2 0 0 0 ctdprd51.pub2.term_comp 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pub2.term_set_enrichment_agent 2 0 0 0 ctdprd51.pubc.log_query 33 29 23013 0 ctdprd51.pg_catalog.pg_statistic 2 2 853 0 Total 43 33 32,113 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs May 19 00 0 0 01 0 1 02 0 1 03 0 1 04 0 2 05 0 11 06 0 0 07 0 1 08 0 0 09 0 0 10 0 0 11 0 1 12 0 0 13 0 0 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 0 23 0 1 May 20 00 0 1 01 0 2 02 0 2 03 0 2 04 0 1 05 0 2 06 0 1 07 0 0 08 0 2 09 0 1 10 0 1 11 0 0 12 0 0 13 0 1 14 0 1 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 1 May 21 00 0 4 01 0 2 02 0 2 03 0 1 04 0 2 05 0 3 06 0 1 07 0 1 08 0 0 09 0 1 10 0 1 11 0 0 12 0 1 13 0 0 14 0 1 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 May 22 00 0 2 01 0 2 02 0 1 03 0 3 04 0 1 05 0 3 06 0 0 07 0 1 08 0 1 09 0 2 10 0 1 11 0 0 12 0 1 13 0 1 14 0 1 15 0 1 16 0 1 17 0 1 18 0 1 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 May 23 00 0 3 01 0 2 02 0 3 03 0 2 04 0 1 05 0 4 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 0 12 0 2 13 0 1 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 0 23 0 1 May 24 00 0 1 01 0 4 02 0 1 03 0 2 04 0 1 05 0 7 06 0 1 07 0 1 08 0 0 09 0 0 10 0 1 11 0 1 12 0 2 13 0 1 14 0 2 15 0 1 16 0 1 17 0 1 18 0 1 19 0 0 20 0 1 21 0 1 22 0 0 23 0 1 May 25 00 0 3 01 0 3 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 2 09 0 1 10 0 1 11 0 0 12 0 1 13 0 1 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 0 22 0 1 23 0 0 - 61.85 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
- 28,824 Total read queries
- 350 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 19,364 Requests
- 2d21h49m27s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 38,671 Requests
User Request type Count Duration editeu Total 4 11s487ms select 4 11s487ms postgres Total 108 40m58s copy to 108 40m58s pubeu Total 38,671 5d18h55m43s cte 31 1m30s select 38,640 5d18h54m12s qaeu Total 81 3m18s cte 17 57s926ms select 64 2m20s unknown Total 20,773 2d1h22m21s copy to 688 6h27m47s cte 58 1m32s others 9 44s877ms select 20,018 1d18h52m16s zbx_monitor Total 21 43s289ms select 21 43s289ms Duration by user
Key values
- 5d18h55m43s (pubeu) Main time consuming user
User Request type Count Duration editeu Total 4 11s487ms select 4 11s487ms postgres Total 108 40m58s copy to 108 40m58s pubeu Total 38,671 5d18h55m43s cte 31 1m30s select 38,640 5d18h54m12s qaeu Total 81 3m18s cte 17 57s926ms select 64 2m20s unknown Total 20,773 2d1h22m21s copy to 688 6h27m47s cte 58 1m32s others 9 44s877ms select 20,018 1d18h52m16s zbx_monitor Total 21 43s289ms select 21 43s289ms Queries by host
Key values
- unknown Main host
- 59,658 Requests
- 7d21h3m16s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 29,132 Requests
- 3d20h50m57s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-05-23 22:40:04 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 20,924 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 23m6s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-05-25 18:59:44 ]
2 23m6s COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-05-25 19:41:13 ]
3 17m /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-23 00:17:02 ]
4 16m3s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-19 00:16:05 ]
5 15m57s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-24 00:15:58 ]
6 15m54s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-22 00:15:56 ]
7 15m54s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-21 00:15:55 ]
8 15m52s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-25 00:15:54 ]
9 15m52s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-20 00:15:53 ]
10 11m56s 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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-05-20 21:23:55 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
11 11m56s 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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-05-20 21:23:54 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 10m8s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ 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 'VEGFA') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'decreases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-05-20 03:06:35 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 9m59s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ 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 'VEGFA') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'decreases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-05-20 03:12:54 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 9m55s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ 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 'VEGFA') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'decreases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-05-20 03:01:24 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
15 7m1s 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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-05-20 21:30:56 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 6m59s 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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-05-20 21:31:03 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 6m43s 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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-05-20 21:31:04 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 6m40s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-05-25 19:52:33 ]
19 6m37s 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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-05-20 21:31:04 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 6m36s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-05-25 19:11:00 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2d14h46m22s 7,139 1s4ms 2m6s 31s654ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 19 00 115 55m30s 28s962ms 01 115 55m36s 29s16ms 02 113 55m59s 29s731ms 03 112 55m30s 29s740ms 04 114 56m11s 29s570ms 05 67 32m46s 29s346ms 06 1 2s148ms 2s148ms 07 1 11s799ms 11s799ms 08 2 10s279ms 5s139ms 09 30 13m56s 27s895ms 10 111 56m8s 30s345ms 11 108 55m12s 30s674ms 12 111 55m55s 30s229ms 13 111 56m6s 30s324ms 14 107 54m41s 30s670ms 15 110 55m10s 30s92ms 16 110 55m40s 30s364ms 17 112 55m58s 29s985ms 18 109 56m9s 30s913ms 19 110 55m53s 30s489ms 20 111 56m2s 30s293ms 21 109 55m47s 30s711ms 22 108 56m17s 31s269ms 23 110 56m16s 30s691ms May 20 00 108 56m5s 31s164ms 01 107 56m3s 31s431ms 02 107 56m1s 31s418ms 03 106 55m44s 31s551ms 04 108 56m28s 31s373ms 05 66 33m30s 30s459ms 06 1 4s875ms 4s875ms 07 65 34m3s 31s445ms 08 106 56m32s 32s5ms 09 107 54m27s 30s539ms 10 107 55m32s 31s146ms 11 104 55m46s 32s179ms 12 107 56m20s 31s592ms 13 108 56m18s 31s279ms 14 104 55m3s 31s761ms 15 105 56m28s 32s268ms 16 103 55m39s 32s427ms 17 104 56m21s 32s511ms 18 48 27m46s 34s709ms 19 3 25s399ms 8s466ms 20 2 13s876ms 6s938ms 21 1 1s95ms 1s95ms 22 9 14s595ms 1s621ms May 21 00 3 11s18ms 3s672ms 01 1 2s192ms 2s192ms 02 2 9s479ms 4s739ms 03 2 4s363ms 2s181ms 04 4 16s334ms 4s83ms 05 2 24s157ms 12s78ms 06 1 2s684ms 2s684ms 07 1 3s68ms 3s68ms 08 6 15s998ms 2s666ms 09 2 4s977ms 2s488ms 10 3 12s848ms 4s282ms 12 1 6s385ms 6s385ms 13 2 8s121ms 4s60ms 14 2 16s463ms 8s231ms 15 2 13s917ms 6s958ms 17 1 1s731ms 1s731ms 19 1 4s957ms 4s957ms 20 1 2s659ms 2s659ms 22 1 17s406ms 17s406ms 23 1 3s100ms 3s100ms May 22 03 1 2s976ms 2s976ms 09 13 25s647ms 1s972ms 11 1 4s664ms 4s664ms 12 3 4s901ms 1s633ms 13 2 4s364ms 2s182ms 15 1 2s455ms 2s455ms 16 1 4s656ms 4s656ms 18 4 26s655ms 6s663ms 19 65 35m20s 32s618ms 20 92 55m46s 36s371ms 21 99 56m31s 34s256ms 22 99 56m16s 34s104ms 23 99 56m25s 34s199ms May 23 00 96 56m17s 35s186ms 01 96 56m35s 35s365ms 02 88 56m10s 38s303ms 03 88 56m13s 38s336ms 04 86 55m58s 39s47ms 05 57 33m47s 35s564ms 06 1 2s201ms 2s201ms 07 4 8s938ms 2s234ms 08 5 12s429ms 2s485ms 09 54 31m9s 34s613ms 10 95 56m21s 35s597ms 11 94 54m48s 34s988ms 12 99 56m10s 34s41ms 13 91 55m42s 36s726ms 14 93 56m9s 36s227ms 15 101 57m12s 33s983ms 16 97 56m25s 34s906ms 17 99 56m15s 34s100ms 18 98 56m56s 34s867ms 19 101 55m58s 33s257ms 20 97 56m33s 34s988ms 21 101 57m4s 33s909ms 22 99 56m20s 34s142ms 23 100 55m56s 33s560ms May 24 00 98 55m58s 34s265ms 01 98 56m10s 34s396ms 02 100 56m43s 34s39ms 03 105 56m49s 32s467ms 04 98 56m33s 34s625ms 05 61 34m7s 33s564ms 06 4 29s206ms 7s301ms 07 2 4s368ms 2s184ms 08 3 7s742ms 2s580ms 10 5 22s167ms 4s433ms 11 2 6s143ms 3s71ms 12 3 19s946ms 6s648ms 13 6 14s986ms 2s497ms 14 3 10s513ms 3s504ms 15 1 4s845ms 4s845ms 16 2 3s325ms 1s662ms 17 5 20s777ms 4s155ms 18 5 21s422ms 4s284ms 19 3 8s882ms 2s960ms 20 2 7s167ms 3s583ms 21 2 11s300ms 5s650ms 22 2 6s886ms 3s443ms 23 3 10s715ms 3s571ms May 25 00 2 4s308ms 2s154ms 01 3 5s624ms 1s874ms 02 3 8s793ms 2s931ms 03 2 12s554ms 6s277ms 05 5 17s501ms 3s500ms 06 1 2s591ms 2s591ms 07 3 9s65ms 3s21ms 08 3 11s181ms 3s727ms 10 3 20s852ms 6s950ms 11 6 26s521ms 4s420ms 12 4 19s281ms 4s820ms 13 2 4s644ms 2s322ms 14 6 27s148ms 4s524ms 15 1 2s158ms 2s158ms 16 2 4s153ms 2s76ms 17 7 29s215ms 4s173ms 18 2 8s138ms 4s69ms 19 3 8s892ms 2s964ms 20 6 13s586ms 2s264ms 21 3 9s98ms 3s32ms 22 3 11s260ms 3s753ms 23 4 31s558ms 7s889ms [ User: pubeu - Total duration: 2d2h22m46s - Times executed: 5664 ]
-
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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1435200;
Date: 2024-05-23 04:15:18 Duration: 2m6s 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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1427250;
Date: 2024-05-23 02:23:09 Duration: 1m47s 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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1430050;
Date: 2024-05-23 03:01:21 Duration: 1m38s Database: ctdprd51 User: pubeu Bind query: yes
2 8h28m43s 1,072 1s 3m57s 28s473ms 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 #2
Day Hour Count Duration Avg duration May 19 19 1 14s797ms 14s797ms May 22 00 1 15s659ms 15s659ms 05 6 1m32s 15s416ms 06 6 1m32s 15s361ms 07 1 14s964ms 14s964ms 08 26 6m24s 14s778ms 09 16 4m8s 15s530ms 10 12 3m17s 16s482ms 11 27 11m8s 24s744ms 12 23 5m55s 15s473ms 13 13 3m25s 15s809ms 14 18 5m10s 17s244ms 15 6 1m28s 14s734ms 16 16 6m46s 25s406ms 17 27 10m59s 24s428ms 18 11 2m47s 15s208ms 19 23 8m8s 21s220ms 20 58 37m53s 39s194ms 21 14 3m54s 16s784ms 22 40 11m36s 17s416ms 23 37 10m4s 16s334ms May 23 00 32 11m24s 21s393ms 01 33 11m18s 20s565ms 02 70 51m 43s726ms 03 56 52m2s 55s762ms 04 64 1h28m13s 1m22s 05 31 9m39s 18s702ms 06 40 10m44s 16s112ms 07 37 10m53s 17s658ms 08 20 4m54s 14s712ms 09 37 13m45s 22s304ms 10 61 18m46s 18s473ms 11 12 2m38s 13s190ms 12 14 3m13s 13s826ms 13 14 3m7s 13s360ms 14 25 12m5s 29s2ms 15 18 4m53s 16s316ms 16 41 37m29s 54s870ms 18 20 7m4s 21s208ms 19 23 5m15s 13s713ms 20 12 2m4s 10s412ms 22 4 1m33s 23s399ms May 24 05 7 2m23s 20s524ms 06 9 4m37s 30s876ms 14 1 14s609ms 14s609ms 19 1 15s609ms 15s609ms 21 1 13s768ms 13s768ms 22 1 15s655ms 15s655ms May 25 00 1 15s793ms 15s793ms 02 1 16s451ms 16s451ms 03 1 14s780ms 14s780ms 05 2 30s588ms 15s294ms 16 1 15s278ms 15s278ms [ User: pubeu - Total duration: 6h38m41s - Times executed: 764 ]
-
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 = '2073291') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 04:15:22 Duration: 3m57s 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 = '2073309') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 04:15:57 Duration: 3m54s 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 = '2073291') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 04:15:44 Duration: 3m52s Database: ctdprd51 User: pubeu Bind query: yes
3 3h5m58s 8,034 1s74ms 10s525ms 1s388ms 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 #3
Day Hour Count Duration Avg duration May 19 00 6 7s214ms 1s202ms 01 3 3s596ms 1s198ms 02 6 7s560ms 1s260ms 03 6 7s189ms 1s198ms 04 11 14s238ms 1s294ms 05 7 8s665ms 1s237ms 06 2 2s397ms 1s198ms 07 3 3s553ms 1s184ms 08 2 2s348ms 1s174ms 09 7 8s421ms 1s203ms 10 2 2s434ms 1s217ms 11 1 1s181ms 1s181ms 12 3 3s589ms 1s196ms 13 6 7s41ms 1s173ms 14 5 5s936ms 1s187ms 15 7 8s414ms 1s202ms 16 4 4s842ms 1s210ms 17 6 7s169ms 1s194ms 18 4 4s736ms 1s184ms 19 2 2s424ms 1s212ms 20 11 13s133ms 1s193ms 21 4 4s736ms 1s184ms 22 5 5s967ms 1s193ms 23 8 9s450ms 1s181ms May 20 00 4 4s739ms 1s184ms 01 2 2s372ms 1s186ms 02 6 7s344ms 1s224ms 03 7 8s357ms 1s193ms 04 6 7s244ms 1s207ms 05 6 7s303ms 1s217ms 06 2 2s349ms 1s174ms 07 6 7s226ms 1s204ms 08 6 7s315ms 1s219ms 09 5 5s856ms 1s171ms 10 6 7s51ms 1s175ms 11 7 8s364ms 1s194ms 12 4 4s815ms 1s203ms 13 3 3s595ms 1s198ms 14 6 7s336ms 1s222ms 15 8 9s441ms 1s180ms 16 9 10s764ms 1s196ms 17 2 2s409ms 1s204ms 18 2 2s506ms 1s253ms 19 6 15s328ms 2s554ms 20 2 2s358ms 1s179ms 21 2 2s506ms 1s253ms 22 4 4s871ms 1s217ms 23 6 7s118ms 1s186ms May 21 00 1 1s162ms 1s162ms 01 6 7s259ms 1s209ms 02 3 3s601ms 1s200ms 03 2 2s390ms 1s195ms 04 4 4s783ms 1s195ms 05 8 9s594ms 1s199ms 06 1 1s179ms 1s179ms 07 1 1s183ms 1s183ms 08 6 7s109ms 1s184ms 09 7 8s295ms 1s185ms 10 3 3s637ms 1s212ms 11 2 2s343ms 1s171ms 12 3 3s523ms 1s174ms 13 4 4s756ms 1s189ms 14 6 7s223ms 1s203ms 15 2 2s371ms 1s185ms 16 3 3s535ms 1s178ms 17 6 6s986ms 1s164ms 18 5 6s11ms 1s202ms 19 6 7s43ms 1s173ms 20 7 8s570ms 1s224ms 21 4 4s782ms 1s195ms 22 2 2s346ms 1s173ms 23 3 3s604ms 1s201ms May 22 00 4 4s731ms 1s182ms 01 3 3s491ms 1s163ms 02 2 2s370ms 1s185ms 03 5 5s941ms 1s188ms 04 5 5s908ms 1s181ms 05 27 31s983ms 1s184ms 06 21 24s854ms 1s183ms 07 33 39s72ms 1s184ms 08 73 1m26s 1s190ms 09 77 1m32s 1s196ms 10 98 2m 1s224ms 11 88 1m52s 1s279ms 12 141 2m49s 1s205ms 13 110 2m13s 1s210ms 14 104 2m6s 1s219ms 15 84 1m40s 1s197ms 16 134 2m50s 1s269ms 17 118 2m29s 1s270ms 18 134 2m41s 1s201ms 19 222 4m41s 1s269ms 20 204 5m20s 1s570ms 21 205 4m31s 1s324ms 22 222 4m59s 1s349ms 23 257 5m36s 1s307ms May 23 00 210 4m56s 1s411ms 01 269 7m57s 1s776ms 02 318 11m28s 2s165ms 03 172 4m55s 1s720ms 04 201 6m59s 2s87ms 05 210 5m17s 1s510ms 06 198 4m23s 1s329ms 07 193 4m17s 1s333ms 08 185 3m50s 1s246ms 09 204 4m37s 1s361ms 10 191 4m27s 1s399ms 11 166 3m32s 1s280ms 12 213 4m38s 1s309ms 13 233 5m16s 1s357ms 14 220 4m59s 1s359ms 15 222 4m50s 1s306ms 16 166 4m4s 1s473ms 17 94 2m 1s286ms 18 167 3m48s 1s367ms 19 171 3m52s 1s359ms 20 183 4m11s 1s372ms 21 28 34s714ms 1s239ms 22 23 35s574ms 1s546ms 23 2 2s380ms 1s190ms May 24 00 3 3s510ms 1s170ms 01 1 1s205ms 1s205ms 02 2 2s410ms 1s205ms 03 1 1s223ms 1s223ms 04 3 3s639ms 1s213ms 05 174 4m2s 1s393ms 06 91 2m25s 1s601ms 07 14 18s59ms 1s289ms 08 7 8s261ms 1s180ms 09 1 1s181ms 1s181ms 10 14 16s703ms 1s193ms 11 22 26s108ms 1s186ms 12 12 14s225ms 1s185ms 13 25 29s394ms 1s175ms 14 17 19s728ms 1s160ms 15 22 25s750ms 1s170ms 16 13 15s57ms 1s158ms 17 22 25s520ms 1s160ms 18 24 27s716ms 1s154ms 19 23 26s856ms 1s167ms 20 26 30s21ms 1s154ms 21 18 20s777ms 1s154ms 22 31 36s659ms 1s182ms 23 21 24s683ms 1s175ms May 25 00 24 28s228ms 1s176ms 01 21 24s836ms 1s182ms 02 24 28s355ms 1s181ms 03 14 16s564ms 1s183ms 04 20 23s748ms 1s187ms 05 20 24s51ms 1s202ms 06 22 26s75ms 1s185ms 07 12 14s228ms 1s185ms 08 23 27s179ms 1s181ms 09 26 30s691ms 1s180ms 10 22 26s41ms 1s183ms 11 24 28s309ms 1s179ms 12 17 20s134ms 1s184ms 13 14 16s600ms 1s185ms 14 26 30s466ms 1s171ms 15 24 28s217ms 1s175ms 16 22 25s964ms 1s180ms 17 17 19s931ms 1s172ms 18 26 29s912ms 1s150ms 19 18 20s672ms 1s148ms 20 23 26s658ms 1s159ms 21 23 26s992ms 1s173ms 22 29 34s62ms 1s174ms 23 13 15s430ms 1s186ms [ User: pubeu - Total duration: 1h58m2s - Times executed: 4932 ]
[ User: qaeu - Total duration: 1s282ms - 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 exposureMarkerTerm.id = '1705822' or receptorTerm.id = '1705822' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:13:23 Duration: 10s525ms 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 = '1705822' or receptorTerm.id = '1705822' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:13:36 Duration: 10s371ms 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 = '1950896' or receptorTerm.id = '1950896' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:13:40 Duration: 9s505ms Database: ctdprd51 User: pubeu Bind query: yes
4 2h13m37s 299 1s224ms 4m6s 26s814ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 20 19 1 6s803ms 6s803ms 21 2 3s225ms 1s612ms May 21 20 5 2m35s 31s197ms May 22 07 2 10s 5s 08 2 4s562ms 2s281ms 09 2 2s690ms 1s345ms 12 6 1m43s 17s329ms 13 2 9s821ms 4s910ms 14 7 3m16s 28s58ms 15 2 11s107ms 5s553ms 16 2 2s546ms 1s273ms 17 22 5m21s 14s607ms 18 5 1m23s 16s696ms 19 2 2s721ms 1s360ms 20 5 2m31s 30s264ms 21 14 6m22s 27s317ms 22 6 1m54s 19s159ms 23 14 3m26s 14s730ms May 23 00 12 3m48s 19s48ms 02 13 18m4s 1m23s 03 7 9m45s 1m23s 04 32 28m41s 53s806ms 05 18 7m52s 26s253ms 07 10 7m47s 46s735ms 08 6 53s352ms 8s892ms 10 15 3m58s 15s900ms 11 2 10s934ms 5s467ms 12 8 2m18s 17s261ms 13 21 3m23s 9s675ms 14 15 4m36s 18s400ms 15 6 48s607ms 8s101ms 16 6 5m30s 55s89ms 18 6 1m50s 18s430ms 19 7 1m1s 8s827ms 20 11 3m12s 17s509ms May 24 06 1 18s926ms 18s926ms 21 1 1s681ms 1s681ms May 25 16 1 2s368ms 2s368ms [ User: pubeu - Total duration: 1h39m45s - Times executed: 203 ]
-
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 = '2077163') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 02:24:48 Duration: 4m6s 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 = '2077163') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 02:25:03 Duration: 3m54s 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 = '2077163') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 02:25:12 Duration: 3m37s Database: ctdprd51 User: pubeu Bind query: yes
5 1h52m35s 7 15m52s 17m 16m5s select maint_query_logs_archive ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 19 00 1 16m3s 16m3s May 20 00 1 15m52s 15m52s May 21 00 1 15m54s 15m54s May 22 00 1 15m54s 15m54s May 23 00 1 17m 17m May 24 00 1 15m57s 15m57s May 25 00 1 15m52s 15m52s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-23 00:17:02 Duration: 17m
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-19 00:16:05 Duration: 16m3s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-24 00:15:58 Duration: 15m57s
6 1h26m43s 175 1s149ms 6m5s 29s733ms select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 19 00 2 6m6s 3m3s 01 2 3m40s 1m50s 02 2 2s531ms 1s265ms 04 3 5m16s 1m45s 05 2 3s684ms 1s842ms 06 2 3m27s 1m43s 07 1 2s399ms 2s399ms 08 2 3s800ms 1s900ms 09 1 1s961ms 1s961ms 10 3 4s614ms 1s538ms 11 2 3s668ms 1s834ms 12 2 3s91ms 1s545ms 14 1 1s997ms 1s997ms 15 1 1s637ms 1s637ms 16 2 4s135ms 2s67ms 17 1 1s329ms 1s329ms 18 3 6m1s 2m 19 2 6s440ms 3s220ms 20 2 4s844ms 2s422ms 23 3 4s319ms 1s439ms May 20 00 2 3s50ms 1s525ms 01 2 3m38s 1m49s 03 2 2s872ms 1s436ms 04 2 2s751ms 1s375ms 05 2 2s926ms 1s463ms 06 1 1s637ms 1s637ms 07 3 5s901ms 1s967ms 08 1 1s373ms 1s373ms 11 1 5m9s 5m9s 12 1 1s425ms 1s425ms 13 3 6s318ms 2s106ms 14 4 8s256ms 2s64ms 16 1 1s364ms 1s364ms 17 1 2s739ms 2s739ms 18 1 1s368ms 1s368ms 20 1 1s538ms 1s538ms 21 2 3s356ms 1s678ms 22 1 1s461ms 1s461ms May 21 00 4 4m52s 1m13s 01 1 1s287ms 1s287ms 03 2 2s933ms 1s466ms 05 1 2s234ms 2s234ms 06 1 1s384ms 1s384ms 09 1 1s812ms 1s812ms 10 3 4s185ms 1s395ms 11 4 6s748ms 1s687ms 16 1 1s428ms 1s428ms 23 1 1s489ms 1s489ms May 22 01 1 3m36s 3m36s 16 5 20m25s 4m5s 17 1 1s956ms 1s956ms 18 1 2s233ms 2s233ms May 23 03 1 3m25s 3m25s 12 1 1s710ms 1s710ms 14 1 2s220ms 2s220ms 15 1 1s366ms 1s366ms 16 2 3s652ms 1s826ms 17 1 1s605ms 1s605ms 18 3 3m46s 1m15s 19 1 3s337ms 3s337ms 20 1 1s569ms 1s569ms 21 1 1s548ms 1s548ms 23 2 3s548ms 1s774ms May 24 00 3 4s844ms 1s614ms 02 3 4s616ms 1s538ms 03 2 2s848ms 1s424ms 04 3 4s819ms 1s606ms 05 1 2s498ms 2s498ms 06 1 7s332ms 7s332ms 11 4 8s638ms 2s159ms 12 1 1s208ms 1s208ms 13 3 4s728ms 1s576ms 14 1 1s350ms 1s350ms 16 2 2s788ms 1s394ms 17 4 5s486ms 1s371ms 18 2 3s164ms 1s582ms 20 1 1s702ms 1s702ms 22 2 4s256ms 2s128ms 23 2 3s617ms 1s808ms May 25 02 3 4s423ms 1s474ms 04 2 4s553ms 2s276ms 06 3 6s148ms 2s49ms 07 2 3m58s 1m59s 08 1 1s592ms 1s592ms 09 1 1s557ms 1s557ms 10 1 1s511ms 1s511ms 12 4 6s267ms 1s566ms 14 1 1s586ms 1s586ms 15 1 1s199ms 1s199ms 16 2 2s869ms 1s434ms 19 1 3m36s 3m36s 20 2 4s978ms 2s489ms 21 1 3s348ms 3s348ms 22 3 5m32s 1m50s [ User: pubeu - Total duration: 58m7s - Times executed: 106 ]
-
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 = '1223120') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-19 00:23:43 Duration: 6m5s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1223120') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-19 18:33:40 Duration: 5m58s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1248003') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-19 04:49:01 Duration: 5m13s Database: ctdprd51 User: pubeu Bind query: yes
7 1h7m47s 295 1s7ms 11m56s 13s789ms 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 #7
Day Hour Count Duration Avg duration May 19 02 1 1s249ms 1s249ms 22 2 3s247ms 1s623ms May 20 02 1 1s456ms 1s456ms 18 36 2m50s 4s725ms 20 2 6s940ms 3s470ms 21 39 53m56s 1m22s 22 2 6s458ms 3s229ms May 21 07 3 6s534ms 2s178ms 08 10 21s750ms 2s175ms 09 3 5s172ms 1s724ms 18 1 7s290ms 7s290ms 22 1 3s157ms 3s157ms May 22 04 1 3s282ms 3s282ms 05 1 3s192ms 3s192ms 09 2 3s706ms 1s853ms 10 4 7s441ms 1s860ms 12 9 12s951ms 1s439ms 13 6 6s873ms 1s145ms 20 7 10s527ms 1s503ms 21 24 1m2s 2s619ms 22 8 20s793ms 2s599ms 23 6 9s441ms 1s573ms May 23 03 1 2s47ms 2s47ms 04 31 2m34s 4s980ms 10 1 1s40ms 1s40ms 12 14 33s667ms 2s404ms 13 15 1m50s 7s399ms 14 16 36s587ms 2s286ms 15 1 1s20ms 1s20ms 17 6 11s219ms 1s869ms 18 1 1s488ms 1s488ms 19 6 12s684ms 2s114ms May 24 04 8 9s527ms 1s190ms 05 2 13s165ms 6s582ms 06 16 52s396ms 3s274ms 09 1 3s292ms 3s292ms 14 1 3s270ms 3s270ms May 25 08 1 1s402ms 1s402ms 10 1 1s665ms 1s665ms 17 1 3s219ms 3s219ms 19 2 2s630ms 1s315ms 22 1 1s437ms 1s437ms [ User: pubeu - Total duration: 1h3m12s - Times executed: 222 ]
-
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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-20 21:23:55 Duration: 11m56s 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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-20 21:23:54 Duration: 11m56s 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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-20 21:30:56 Duration: 7m1s Database: ctdprd51 User: pubeu Bind query: yes
8 50m33s 1,265 1s 11s655ms 2s398ms select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 20 19 6 12s150ms 2s25ms 21 3 7s11ms 2s337ms May 22 10 3 3s980ms 1s326ms 11 3 5s249ms 1s749ms 13 1 2s290ms 2s290ms 16 18 35s191ms 1s955ms 17 3 9s896ms 3s298ms 19 21 52s5ms 2s476ms 20 76 4m9s 3s279ms 21 24 1m3s 2s663ms 22 26 55s381ms 2s130ms 23 22 41s458ms 1s884ms May 23 00 47 1m25s 1s818ms 01 54 1m51s 2s69ms 02 118 5m24s 2s747ms 03 122 5m4s 2s498ms 04 167 8m34s 3s82ms 05 35 1m17s 2s221ms 06 11 22s146ms 2s13ms 07 18 44s171ms 2s453ms 08 11 18s361ms 1s669ms 09 23 48s381ms 2s103ms 10 51 1m58s 2s314ms 11 10 20s933ms 2s93ms 12 25 43s189ms 1s727ms 13 33 53s650ms 1s625ms 14 39 1m18s 2s6ms 15 27 47s775ms 1s769ms 16 59 2m23s 2s437ms 17 4 6s857ms 1s714ms 18 26 56s249ms 2s163ms 19 17 28s627ms 1s683ms 20 22 38s242ms 1s738ms 21 2 4s704ms 2s352ms 22 4 6s684ms 1s671ms 23 1 1s72ms 1s72ms May 24 05 67 2m21s 2s113ms 06 64 2m30s 2s348ms 07 2 4s433ms 2s216ms [ User: pubeu - Total duration: 35m49s - Times executed: 900 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2069554');
Date: 2024-05-23 04:13:10 Duration: 11s655ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2072663');
Date: 2024-05-23 04:13:37 Duration: 11s616ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2074106');
Date: 2024-05-23 04:13:28 Duration: 10s675ms Bind query: yes
9 50m19s 242 1s32ms 1m20s 12s477ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id 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.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 19 17 5 16s930ms 3s386ms May 20 09 3 15s102ms 5s34ms 16 50 8m49s 10s587ms 21 135 31m4s 13s812ms May 22 09 6 21s733ms 3s622ms 10 43 9m31s 13s300ms [ User: pubeu - Total duration: 26m22s - Times executed: 110 ]
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1333164)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id 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.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-05-20 21:33:02 Duration: 1m20s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1333164)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id 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.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-05-20 21:32:49 Duration: 1m7s Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1333164)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id 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.is_not = false AND (d.id = 6) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-05-20 21:32:33 Duration: 51s825ms Database: ctdprd51 User: pubeu Bind query: yes
10 50m11s 2,035 1s180ms 8s122ms 1s479ms 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 #10
Day Hour Count Duration Avg duration May 19 00 1 1s299ms 1s299ms 01 2 2s652ms 1s326ms 05 2 2s820ms 1s410ms 08 2 2s512ms 1s256ms 10 1 1s480ms 1s480ms 11 1 1s382ms 1s382ms 12 6 7s862ms 1s310ms 14 3 4s50ms 1s350ms 15 2 2s599ms 1s299ms 17 3 3s821ms 1s273ms 19 2 2s752ms 1s376ms 20 2 2s715ms 1s357ms 22 1 1s310ms 1s310ms May 20 01 2 2s589ms 1s294ms 02 1 1s322ms 1s322ms 03 2 2s627ms 1s313ms 04 1 1s318ms 1s318ms 05 5 6s956ms 1s391ms 06 3 3s756ms 1s252ms 09 2 2s564ms 1s282ms 11 1 1s391ms 1s391ms 12 1 1s294ms 1s294ms 13 1 1s314ms 1s314ms 17 1 1s350ms 1s350ms 18 1 1s414ms 1s414ms 21 1 1s334ms 1s334ms 22 2 2s619ms 1s309ms May 21 01 1 1s282ms 1s282ms 05 3 4s192ms 1s397ms 08 1 1s281ms 1s281ms 09 1 1s277ms 1s277ms 10 1 1s246ms 1s246ms 11 1 1s304ms 1s304ms 12 1 1s418ms 1s418ms 13 1 1s257ms 1s257ms 17 1 1s223ms 1s223ms 20 1 1s252ms 1s252ms May 22 05 7 9s318ms 1s331ms 06 3 3s989ms 1s329ms 07 8 10s206ms 1s275ms 08 31 41s72ms 1s324ms 09 12 15s561ms 1s296ms 10 37 48s247ms 1s303ms 11 52 1m10s 1s355ms 12 28 36s301ms 1s296ms 13 36 47s366ms 1s315ms 14 24 31s794ms 1s324ms 15 29 37s276ms 1s285ms 16 42 57s680ms 1s373ms 17 42 55s774ms 1s327ms 18 30 39s286ms 1s309ms 19 45 1m4s 1s425ms 20 44 1m 1s373ms 21 40 56s808ms 1s420ms 22 42 59s168ms 1s408ms 23 58 1m27s 1s512ms May 23 00 52 1m18s 1s506ms 01 74 1m42s 1s386ms 02 106 3m30s 1s989ms 03 69 2m19s 2s22ms 04 66 2m20s 2s132ms 05 48 1m11s 1s493ms 06 80 1m54s 1s427ms 07 40 57s494ms 1s437ms 08 60 1m21s 1s355ms 09 42 59s220ms 1s410ms 10 42 1m1s 1s453ms 11 36 49s392ms 1s372ms 12 53 1m14s 1s408ms 13 44 1m4s 1s455ms 14 71 1m46s 1s493ms 15 50 1m11s 1s429ms 16 55 1m25s 1s557ms 17 20 27s306ms 1s365ms 18 40 58s378ms 1s459ms 19 50 1m13s 1s467ms 20 46 1m5s 1s427ms 21 4 5s130ms 1s282ms 22 10 13s284ms 1s328ms 23 1 1s344ms 1s344ms May 24 02 1 1s299ms 1s299ms 05 72 1m44s 1s458ms 06 30 47s652ms 1s588ms 07 6 7s958ms 1s326ms 08 1 1s261ms 1s261ms 09 4 5s123ms 1s280ms 10 2 2s551ms 1s275ms 11 1 1s325ms 1s325ms 12 2 2s589ms 1s294ms 13 6 7s809ms 1s301ms 14 3 3s768ms 1s256ms 15 4 4s950ms 1s237ms 16 2 2s670ms 1s335ms 17 6 7s523ms 1s253ms 18 6 7s499ms 1s249ms 20 2 2s539ms 1s269ms 21 3 3s652ms 1s217ms 22 2 2s578ms 1s289ms 23 1 1s275ms 1s275ms May 25 00 6 7s744ms 1s290ms 02 1 1s279ms 1s279ms 03 3 3s799ms 1s266ms 04 3 3s809ms 1s269ms 05 3 4s60ms 1s353ms 06 3 3s806ms 1s268ms 08 1 1s275ms 1s275ms 09 1 1s275ms 1s275ms 10 2 2s573ms 1s286ms 12 1 1s296ms 1s296ms 13 2 2s573ms 1s286ms 14 5 6s513ms 1s302ms 15 3 3s801ms 1s267ms 16 2 2s538ms 1s269ms 17 1 1s253ms 1s253ms 18 1 1s248ms 1s248ms 19 1 1s726ms 1s726ms 20 4 4s924ms 1s231ms 21 3 3s836ms 1s278ms 22 1 1s306ms 1s306ms 23 1 1s344ms 1s344ms [ User: pubeu - Total duration: 32m44s - Times executed: 1286 ]
[ User: qaeu - Total duration: 5s634ms - Times executed: 4 ]
-
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 = '1208703') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1208703') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 03:00:57 Duration: 8s122ms 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 = '1245065') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1245065') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:12:18 Duration: 7s75ms 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 = '1208703') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1208703') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 03:01:16 Duration: 6s955ms Database: ctdprd51 User: pubeu Bind query: yes
11 45m16s 1,821 1s207ms 11s683ms 1s492ms 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 #11
Day Hour Count Duration Avg duration May 19 01 3 3s959ms 1s319ms 03 1 1s336ms 1s336ms 04 1 1s282ms 1s282ms 05 3 4s321ms 1s440ms 07 3 3s809ms 1s269ms 08 2 2s643ms 1s321ms 10 3 3s998ms 1s332ms 11 3 3s996ms 1s332ms 13 2 2s742ms 1s371ms 14 1 1s453ms 1s453ms 15 2 2s646ms 1s323ms 17 3 4s104ms 1s368ms 18 1 1s295ms 1s295ms 19 3 4s178ms 1s392ms 21 1 1s361ms 1s361ms 23 1 1s400ms 1s400ms May 20 00 1 1s384ms 1s384ms 01 2 2s661ms 1s330ms 02 2 2s810ms 1s405ms 04 1 1s365ms 1s365ms 05 3 4s193ms 1s397ms 06 3 3s925ms 1s308ms 07 1 1s254ms 1s254ms 09 1 1s343ms 1s343ms 10 1 1s278ms 1s278ms 11 2 2s718ms 1s359ms 14 1 1s306ms 1s306ms 15 2 2s606ms 1s303ms 17 1 1s290ms 1s290ms 19 2 2s687ms 1s343ms 20 1 1s290ms 1s290ms 23 2 2s659ms 1s329ms May 21 01 1 1s334ms 1s334ms 02 1 1s363ms 1s363ms 03 1 1s274ms 1s274ms 05 5 7s17ms 1s403ms 07 1 1s308ms 1s308ms 10 3 3s899ms 1s299ms 11 1 1s331ms 1s331ms 12 1 1s248ms 1s248ms 13 1 1s342ms 1s342ms 15 2 2s590ms 1s295ms 16 4 5s448ms 1s362ms 17 1 1s481ms 1s481ms 18 1 1s390ms 1s390ms 19 2 2s552ms 1s276ms 20 1 1s265ms 1s265ms 21 1 1s364ms 1s364ms 22 2 2s631ms 1s315ms May 22 00 3 3s972ms 1s324ms 02 1 1s280ms 1s280ms 03 1 1s357ms 1s357ms 04 2 2s480ms 1s240ms 05 6 8s134ms 1s355ms 06 11 14s140ms 1s285ms 07 14 18s21ms 1s287ms 08 22 28s509ms 1s295ms 09 18 23s269ms 1s292ms 10 17 21s821ms 1s283ms 11 23 29s996ms 1s304ms 12 19 25s288ms 1s330ms 13 35 46s63ms 1s316ms 14 16 20s521ms 1s282ms 15 20 26s77ms 1s303ms 16 37 50s176ms 1s356ms 17 40 52s516ms 1s312ms 18 37 49s61ms 1s325ms 19 47 1m12s 1s536ms 20 32 44s129ms 1s379ms 21 42 1m2s 1s493ms 22 60 1m26s 1s445ms 23 68 1m36s 1s421ms May 23 00 52 1m17s 1s483ms 01 55 1m22s 1s495ms 02 45 1m28s 1s971ms 03 39 1m20s 2s73ms 04 56 2m30s 2s678ms 05 55 1m33s 1s705ms 06 41 56s4ms 1s365ms 07 53 1m11s 1s351ms 08 69 1m35s 1s376ms 09 36 51s620ms 1s433ms 10 46 1m8s 1s493ms 11 47 1m5s 1s403ms 12 47 1m7s 1s429ms 13 51 1m13s 1s448ms 14 52 1m16s 1s474ms 15 36 54s365ms 1s510ms 16 48 1m7s 1s410ms 17 24 33s391ms 1s391ms 18 38 54s959ms 1s446ms 19 37 54s253ms 1s466ms 20 40 58s289ms 1s457ms 21 13 16s828ms 1s294ms 22 6 8s82ms 1s347ms May 24 00 1 1s313ms 1s313ms 01 2 2s895ms 1s447ms 02 3 4s75ms 1s358ms 03 2 2s823ms 1s411ms 04 1 1s333ms 1s333ms 05 35 59s522ms 1s700ms 06 47 1m21s 1s741ms 07 3 4s633ms 1s544ms 08 1 1s282ms 1s282ms 09 1 1s257ms 1s257ms 10 3 4s130ms 1s376ms 11 1 1s310ms 1s310ms 12 2 2s708ms 1s354ms 13 3 3s799ms 1s266ms 14 3 3s840ms 1s280ms 15 2 2s534ms 1s267ms 17 1 1s622ms 1s622ms 18 3 3s936ms 1s312ms 19 4 5s329ms 1s332ms 20 2 2s541ms 1s270ms 21 2 2s472ms 1s236ms 22 4 5s280ms 1s320ms 23 3 3s757ms 1s252ms May 25 00 3 3s852ms 1s284ms 01 3 3s784ms 1s261ms 02 1 1s330ms 1s330ms 03 3 3s955ms 1s318ms 04 2 2s499ms 1s249ms 05 3 4s896ms 1s632ms 06 3 3s855ms 1s285ms 07 1 1s297ms 1s297ms 08 3 3s992ms 1s330ms 09 2 2s584ms 1s292ms 10 2 2s542ms 1s271ms 11 3 3s864ms 1s288ms 12 2 2s655ms 1s327ms 13 2 2s608ms 1s304ms 14 1 1s386ms 1s386ms 15 2 2s548ms 1s274ms 16 2 2s965ms 1s482ms 18 3 3s776ms 1s258ms 19 1 1s238ms 1s238ms 20 1 1s275ms 1s275ms 21 2 2s509ms 1s254ms 22 2 2s617ms 1s308ms [ User: pubeu - Total duration: 29m27s - Times executed: 1140 ]
-
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 = '2073291') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073291') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:13:38 Duration: 11s683ms 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 = '2073291') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073291') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:14:04 Duration: 10s37ms 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 = '2073291') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073291') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:13:49 Duration: 9s981ms Database: ctdprd51 User: pubeu Bind query: yes
12 36m33s 639 1s3ms 12s767ms 3s432ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 19 00 3 3s825ms 1s275ms 01 9 23s716ms 2s635ms 02 5 21s557ms 4s311ms 03 4 13s954ms 3s488ms 04 10 35s529ms 3s552ms 05 4 13s152ms 3s288ms 06 7 19s449ms 2s778ms 07 1 4s572ms 4s572ms 08 4 7s505ms 1s876ms 09 2 4s6ms 2s3ms 10 4 14s902ms 3s725ms 11 3 11s125ms 3s708ms 12 3 10s179ms 3s393ms 13 2 18s830ms 9s415ms 14 2 4s139ms 2s69ms 15 5 14s516ms 2s903ms 16 3 14s863ms 4s954ms 17 6 23s654ms 3s942ms 18 6 10s220ms 1s703ms 19 3 15s538ms 5s179ms 20 4 7s150ms 1s787ms 21 10 44s607ms 4s460ms 22 4 6s523ms 1s630ms 23 3 12s305ms 4s101ms May 20 00 10 28s988ms 2s898ms 01 5 15s144ms 3s28ms 02 7 31s579ms 4s511ms 03 3 12s166ms 4s55ms 04 6 39s465ms 6s577ms 05 7 26s128ms 3s732ms 06 6 13s251ms 2s208ms 07 5 20s710ms 4s142ms 08 5 14s829ms 2s965ms 09 5 20s104ms 4s20ms 10 2 3s380ms 1s690ms 11 4 7s6ms 1s751ms 12 4 11s419ms 2s854ms 13 2 6s254ms 3s127ms 14 3 8s584ms 2s861ms 15 3 6s233ms 2s77ms 16 4 11s553ms 2s888ms 17 2 7s220ms 3s610ms 18 6 22s772ms 3s795ms 19 9 46s615ms 5s179ms 20 6 22s968ms 3s828ms 21 7 26s917ms 3s845ms 22 6 31s710ms 5s285ms 23 3 5s421ms 1s807ms May 21 00 5 21s239ms 4s247ms 01 4 13s454ms 3s363ms 02 5 8s189ms 1s637ms 03 1 2s121ms 2s121ms 04 4 14s953ms 3s738ms 05 7 23s575ms 3s367ms 06 7 33s297ms 4s756ms 07 5 18s131ms 3s626ms 08 2 5s48ms 2s524ms 09 4 7s445ms 1s861ms 10 3 5s282ms 1s760ms 11 8 32s141ms 4s17ms 13 2 2s427ms 1s213ms 20 1 4s626ms 4s626ms 23 1 1s380ms 1s380ms May 22 03 1 2s251ms 2s251ms 04 1 1s220ms 1s220ms 09 5 7s569ms 1s513ms 10 1 5s382ms 5s382ms 12 1 5s754ms 5s754ms 13 3 14s851ms 4s950ms 15 3 5s967ms 1s989ms 16 1 6s535ms 6s535ms 17 1 1s987ms 1s987ms 18 1 4s827ms 4s827ms 22 3 3s945ms 1s315ms May 23 01 1 3s233ms 3s233ms 03 2 4s277ms 2s138ms 04 7 46s938ms 6s705ms 05 1 2s149ms 2s149ms 06 5 12s483ms 2s496ms 07 2 11s445ms 5s722ms 08 2 8s945ms 4s472ms 09 2 6s238ms 3s119ms 10 2 4s480ms 2s240ms 11 1 1s485ms 1s485ms 12 9 25s661ms 2s851ms 13 4 22s986ms 5s746ms 14 10 33s262ms 3s326ms 15 5 21s630ms 4s326ms 16 4 20s777ms 5s194ms 17 5 16s846ms 3s369ms 18 2 4s359ms 2s179ms 19 6 20s447ms 3s407ms 20 3 4s711ms 1s570ms 21 5 15s535ms 3s107ms 22 6 14s937ms 2s489ms 23 10 48s75ms 4s807ms May 24 00 5 17s102ms 3s420ms 01 4 19s13ms 4s753ms 02 5 23s967ms 4s793ms 03 3 8s167ms 2s722ms 04 5 14s869ms 2s973ms 05 8 32s542ms 4s67ms 06 5 19s21ms 3s804ms 07 2 10s500ms 5s250ms 08 6 15s355ms 2s559ms 09 2 13s414ms 6s707ms 10 9 31s306ms 3s478ms 11 4 9s14ms 2s253ms 12 4 7s264ms 1s816ms 13 3 10s696ms 3s565ms 14 5 19s255ms 3s851ms 15 1 1s419ms 1s419ms 16 6 14s11ms 2s335ms 17 4 12s923ms 3s230ms 18 7 11s142ms 1s591ms 19 2 4s87ms 2s43ms 20 2 7s174ms 3s587ms 21 6 20s302ms 3s383ms 22 3 6s766ms 2s255ms 23 6 9s69ms 1s511ms May 25 00 8 33s983ms 4s247ms 01 7 27s872ms 3s981ms 02 7 19s163ms 2s737ms 03 5 15s785ms 3s157ms 04 12 56s998ms 4s749ms 05 2 2s498ms 1s249ms 06 6 18s223ms 3s37ms 07 3 12s496ms 4s165ms 08 9 33s91ms 3s676ms 09 5 13s897ms 2s779ms 10 3 7s317ms 2s439ms 11 7 30s658ms 4s379ms 12 10 31s419ms 3s141ms 13 9 29s390ms 3s265ms 14 4 13s160ms 3s290ms 15 3 6s180ms 2s60ms 16 3 4s790ms 1s596ms 17 9 30s637ms 3s404ms 18 2 2s952ms 1s476ms 19 2 11s100ms 5s550ms 20 1 4s984ms 4s984ms 21 6 17s532ms 2s922ms 22 7 23s731ms 3s390ms 23 1 6s219ms 6s219ms [ User: pubeu - Total duration: 21m33s - Times executed: 364 ]
-
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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 13:04:03 Duration: 12s767ms 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 = '2072801') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 04:04:59 Duration: 12s597ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-20 04:03:21 Duration: 12s220ms Database: ctdprd51 User: pubeu Bind query: yes
13 30m3s 3 9m55s 10m8s 10m1s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and gcr.id in ( select gcra.gene_chem_reference_id from gene_chem_reference_axn gcra where (gcra.action_degree_type_nm = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 20 03 3 30m3s 10m1s [ User: pubeu - Total duration: 30m3s - Times executed: 3 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ 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 'VEGFA') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'decreases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-05-20 03:06:35 Duration: 10m8s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ 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 'VEGFA') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'decreases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-05-20 03:12:54 Duration: 9m59s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ 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 'VEGFA') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'decreases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-05-20 03:01:24 Duration: 9m55s Database: ctdprd51 User: pubeu Bind query: yes
14 28m36s 686 1s 7s363ms 2s502ms 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 #14
Day Hour Count Duration Avg duration May 19 05 1 5s340ms 5s340ms 10 1 2s256ms 2s256ms 18 1 2s250ms 2s250ms May 20 10 1 2s979ms 2s979ms 14 1 1s172ms 1s172ms 21 1 1s15ms 1s15ms May 21 00 1 2s34ms 2s34ms May 22 14 1 1s55ms 1s55ms 16 5 10s51ms 2s10ms 17 4 15s63ms 3s765ms 19 2 4s514ms 2s257ms 20 9 22s818ms 2s535ms 21 3 4s748ms 1s582ms 22 2 2s487ms 1s243ms 23 7 16s165ms 2s309ms May 23 00 8 13s114ms 1s639ms 01 317 15m19s 2s899ms 02 105 3m51s 2s200ms 03 27 1m8s 2s518ms 04 34 1m17s 2s279ms 05 44 1m47s 2s440ms 06 11 16s807ms 1s527ms 07 2 2s286ms 1s143ms 08 5 8s106ms 1s621ms 09 5 6s498ms 1s299ms 10 6 10s559ms 1s759ms 11 6 11s112ms 1s852ms 12 4 7s996ms 1s999ms 13 11 14s800ms 1s345ms 14 6 14s981ms 2s496ms 15 7 9s362ms 1s337ms 16 20 49s23ms 2s451ms 17 1 2s265ms 2s265ms 18 8 17s614ms 2s201ms 19 6 12s115ms 2s19ms 20 9 13s822ms 1s535ms 22 2 4s954ms 2s477ms May 24 19 1 2s108ms 2s108ms May 25 11 1 2s79ms 2s79ms [ User: pubeu - Total duration: 22m4s - Times executed: 510 ]
-
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 = '534590' 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 = '534590') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-05-23 01:40:02 Duration: 7s363ms 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 = '669170' 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 = '669170') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-05-23 01:40:02 Duration: 7s195ms 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 = '211093' 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 = '211093') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-05-23 01:40:02 Duration: 7s177ms Database: ctdprd51 User: pubeu Bind query: yes
15 23m18s 279 1s 13s717ms 5s10ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 19 02 1 5s621ms 5s621ms 04 3 15s979ms 5s326ms 06 1 5s176ms 5s176ms 10 1 1s8ms 1s8ms 17 2 11s24ms 5s512ms 19 1 5s684ms 5s684ms 21 1 5s742ms 5s742ms May 20 08 2 11s 5s500ms 09 2 11s258ms 5s629ms 10 1 1s39ms 1s39ms 12 1 5s436ms 5s436ms 13 1 5s547ms 5s547ms 14 2 11s219ms 5s609ms 15 1 5s703ms 5s703ms 16 2 11s281ms 5s640ms 18 2 6s561ms 3s280ms 19 6 31s125ms 5s187ms 20 1 1s11ms 1s11ms 21 2 12s364ms 6s182ms 22 4 22s687ms 5s671ms 23 3 15s791ms 5s263ms May 21 01 3 17s559ms 5s853ms 02 1 5s112ms 5s112ms 03 2 10s439ms 5s219ms 04 2 10s544ms 5s272ms 05 3 16s132ms 5s377ms 06 2 10s379ms 5s189ms 07 2 6s458ms 3s229ms 09 6 31s449ms 5s241ms 10 2 10s570ms 5s285ms 11 1 5s282ms 5s282ms 13 1 4s899ms 4s899ms 14 1 4s171ms 4s171ms 15 2 9s640ms 4s820ms 16 2 10s792ms 5s396ms 17 1 5s36ms 5s36ms 18 2 10s599ms 5s299ms 19 1 4s616ms 4s616ms 20 4 19s76ms 4s769ms 21 5 26s276ms 5s255ms 22 6 30s728ms 5s121ms 23 2 10s815ms 5s407ms May 22 00 3 15s689ms 5s229ms 01 1 5s611ms 5s611ms 03 2 10s324ms 5s162ms 04 4 12s886ms 3s221ms 05 1 5s245ms 5s245ms 06 1 1s8ms 1s8ms 09 3 11s767ms 3s922ms 10 2 10s700ms 5s350ms 12 1 5s199ms 5s199ms 13 5 23s169ms 4s633ms 14 4 12s612ms 3s153ms 15 2 9s871ms 4s935ms 16 3 11s620ms 3s873ms 18 3 14s520ms 4s840ms 20 2 11s729ms 5s864ms 21 5 29s249ms 5s849ms 22 5 29s54ms 5s810ms May 23 00 5 31s310ms 6s262ms 01 2 12s43ms 6s21ms 02 3 12s527ms 4s175ms 03 7 45s521ms 6s503ms 04 3 25s959ms 8s653ms 05 4 25s219ms 6s304ms 06 4 22s669ms 5s667ms 07 5 28s833ms 5s766ms 08 3 16s360ms 5s453ms 09 1 5s115ms 5s115ms 10 3 12s727ms 4s242ms 12 4 18s637ms 4s659ms 13 7 34s359ms 4s908ms 15 3 4s8ms 1s336ms 16 2 12s59ms 6s29ms 17 3 16s592ms 5s530ms 18 3 12s668ms 4s222ms 19 2 2s559ms 1s279ms 20 2 11s752ms 5s876ms 21 1 5s753ms 5s753ms 22 1 5s506ms 5s506ms 23 2 6s514ms 3s257ms May 24 01 2 10s830ms 5s415ms 02 1 5s736ms 5s736ms 03 1 5s467ms 5s467ms 04 2 10s431ms 5s215ms 05 2 2s219ms 1s109ms 10 5 21s804ms 4s360ms 11 1 4s660ms 4s660ms 13 1 4s505ms 4s505ms 14 1 5s77ms 5s77ms 15 1 5s379ms 5s379ms 18 1 4s801ms 4s801ms 20 2 10s431ms 5s215ms 21 2 10s230ms 5s115ms 22 2 10s374ms 5s187ms 23 3 14s200ms 4s733ms May 25 00 7 35s125ms 5s17ms 01 3 15s136ms 5s45ms 03 2 10s624ms 5s312ms 04 8 39s935ms 4s991ms 05 1 4s680ms 4s680ms 06 1 5s29ms 5s29ms 07 1 5s87ms 5s87ms 08 4 19s675ms 4s918ms 10 1 5s46ms 5s46ms 11 2 10s187ms 5s93ms 12 3 15s806ms 5s268ms 13 2 10s947ms 5s473ms 14 1 4s201ms 4s201ms 16 1 4s606ms 4s606ms 17 2 10s180ms 5s90ms 18 2 9s401ms 4s700ms 19 1 4s867ms 4s867ms 20 1 5s59ms 5s59ms 23 1 4s483ms 4s483ms [ User: pubeu - Total duration: 12m24s - Times executed: 146 ]
-
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 = '1421751' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-23 04:09:46 Duration: 13s717ms 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 = '1277031' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-23 00:13:14 Duration: 8s246ms 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 = '1330249' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-23 03:23:12 Duration: 7s949ms Database: ctdprd51 User: pubeu Bind query: yes
16 23m6s 1 23m6s 23m6s 23m6s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 25 18 1 23m6s 23m6s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-05-25 18:59:44 Duration: 23m6s
17 23m6s 1 23m6s 23m6s 23m6s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 25 19 1 23m6s 23m6s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-05-25 19:41:13 Duration: 23m6s
18 20m3s 72 1s89ms 2m2s 16s711ms 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 desc, d.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 22 08 2 8s715ms 4s357ms 13 5 1m23s 16s676ms 15 1 1s98ms 1s98ms 16 2 5s573ms 2s786ms 17 1 1s186ms 1s186ms 21 5 1m18s 15s652ms 22 6 1m49s 18s267ms 23 2 9s236ms 4s618ms May 23 00 10 6m1s 36s166ms 01 2 34s586ms 17s293ms 05 2 6s984ms 3s492ms 07 6 1m30s 15s24ms 09 5 1m9s 13s864ms 10 1 14s741ms 14s741ms 12 2 2s179ms 1s89ms 19 6 1m31s 15s170ms 20 7 1m40s 14s350ms 22 6 1m45s 17s587ms May 24 05 1 29s544ms 29s544ms [ User: pubeu - Total duration: 17m14s - Times executed: 60 ]
-
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 = '2065494') ORDER BY g.nm_sort DESC, d.nm_sort LIMIT 50;
Date: 2024-05-23 00:14:41 Duration: 2m2s 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 = '2065494') ORDER BY g.nm_sort DESC, d.nm_sort LIMIT 50;
Date: 2024-05-23 00:14:18 Duration: 55s853ms 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 = '2069471') ORDER BY g.nm_sort DESC, d.nm_sort LIMIT 50;
Date: 2024-05-22 22:27:07 Duration: 37s989ms Database: ctdprd51 User: pubeu Bind query: yes
19 19m38s 286 3s620ms 19s60ms 4s119ms 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 May 19 01 3 11s973ms 3s991ms 02 1 4s7ms 4s7ms 04 2 8s68ms 4s34ms 06 1 3s860ms 3s860ms 09 1 3s963ms 3s963ms 10 2 7s707ms 3s853ms 12 1 3s953ms 3s953ms 14 3 12s62ms 4s20ms 16 3 11s858ms 3s952ms 17 2 7s954ms 3s977ms 20 4 16s33ms 4s8ms 22 1 3s856ms 3s856ms 23 1 3s908ms 3s908ms May 20 00 2 7s957ms 3s978ms 01 1 3s945ms 3s945ms 02 4 16s130ms 4s32ms 03 1 4s153ms 4s153ms 04 3 12s34ms 4s11ms 06 3 11s477ms 3s825ms 08 2 8s233ms 4s116ms 09 3 12s233ms 4s77ms 11 2 8s362ms 4s181ms 12 2 8s160ms 4s80ms 13 2 7s709ms 3s854ms 19 1 4s9ms 4s9ms 20 1 3s920ms 3s920ms 22 2 8s29ms 4s14ms 23 2 7s624ms 3s812ms May 21 01 5 19s527ms 3s905ms 02 11 43s506ms 3s955ms 03 3 11s832ms 3s944ms 04 12 47s353ms 3s946ms 05 1 3s897ms 3s897ms 07 3 12s166ms 4s55ms 08 2 8s431ms 4s215ms 09 1 4s322ms 4s322ms 11 2 7s683ms 3s841ms 13 3 11s908ms 3s969ms 15 1 4s9ms 4s9ms 16 3 11s719ms 3s906ms 17 1 4s31ms 4s31ms 19 1 3s934ms 3s934ms 21 1 3s980ms 3s980ms 22 2 7s851ms 3s925ms 23 3 11s985ms 3s995ms May 22 00 3 11s774ms 3s924ms 01 2 8s28ms 4s14ms 02 2 7s844ms 3s922ms 03 4 16s221ms 4s55ms 04 1 4s252ms 4s252ms 06 1 3s947ms 3s947ms 08 2 7s754ms 3s877ms 09 4 16s336ms 4s84ms 10 5 20s31ms 4s6ms 11 4 16s821ms 4s205ms 12 1 3s995ms 3s995ms 13 3 12s165ms 4s55ms 14 2 8s348ms 4s174ms 15 4 16s182ms 4s45ms 17 1 4s672ms 4s672ms 19 1 3s969ms 3s969ms 20 2 8s807ms 4s403ms 21 3 13s512ms 4s504ms 22 5 23s131ms 4s626ms 23 1 4s12ms 4s12ms May 23 00 1 4s257ms 4s257ms 01 1 5s568ms 5s568ms 03 2 8s707ms 4s353ms 04 2 15s407ms 7s703ms 05 5 21s129ms 4s225ms 06 5 20s855ms 4s171ms 07 11 1m 5s535ms 08 2 7s981ms 3s990ms 09 2 8s22ms 4s11ms 12 2 8s688ms 4s344ms 13 1 3s956ms 3s956ms 14 2 8s349ms 4s174ms 15 2 8s4ms 4s2ms 22 1 3s991ms 3s991ms 23 1 3s917ms 3s917ms May 24 01 1 4s6ms 4s6ms 02 1 4s232ms 4s232ms 03 2 7s908ms 3s954ms 04 1 4s21ms 4s21ms 05 1 4s242ms 4s242ms 07 2 8s61ms 4s30ms 09 4 15s996ms 3s999ms 10 3 11s987ms 3s995ms 11 5 19s968ms 3s993ms 12 1 3s941ms 3s941ms 13 2 7s854ms 3s927ms 14 1 4s77ms 4s77ms 17 5 20s252ms 4s50ms 18 1 3s894ms 3s894ms 19 1 3s995ms 3s995ms 22 1 3s850ms 3s850ms May 25 00 1 4s72ms 4s72ms 01 3 11s682ms 3s894ms 02 1 3s884ms 3s884ms 04 12 50s756ms 4s229ms 05 7 27s642ms 3s948ms 06 9 35s559ms 3s951ms 07 1 3s842ms 3s842ms 08 1 3s823ms 3s823ms 10 2 7s858ms 3s929ms 11 1 3s956ms 3s956ms 12 4 15s779ms 3s944ms 14 1 3s780ms 3s780ms 15 2 7s688ms 3s844ms 16 1 3s864ms 3s864ms 18 1 3s889ms 3s889ms 20 1 3s773ms 3s773ms 22 3 11s579ms 3s859ms 23 1 3s690ms 3s690ms [ User: pubeu - Total duration: 10m50s - Times executed: 155 ]
-
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 = '1316678') 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 = '1316678') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-23 07:27:51 Duration: 19s60ms 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 = '1278535') 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 = '1278535') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-23 04:06:00 Duration: 9s384ms 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 = '1263473') 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 = '1263473') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-25 04:45:53 Duration: 7s50ms Bind query: yes
20 14m11s 24 1s70ms 6m21s 35s498ms 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.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by d.nm_sort, c.nm_sort;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 24 05 3 4s485ms 1s495ms 06 19 13m52s 43s807ms 07 1 14s72ms 14s72ms 17 1 1s70ms 1s70ms [ User: pubeu - Total duration: 14m6s - Times executed: 22 ]
-
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.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2072737') ORDER BY d.nm_sort, c.nm_sort;
Date: 2024-05-24 06:59:28 Duration: 6m21s 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.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2072737') ORDER BY d.nm_sort, c.nm_sort;
Date: 2024-05-24 06:39:19 Duration: 2m30s 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.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2072737') ORDER BY d.nm_sort, c.nm_sort;
Date: 2024-05-24 06:41:33 Duration: 2m14s Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 8,034 3h5m58s 1s74ms 10s525ms 1s388ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 19 00 6 7s214ms 1s202ms 01 3 3s596ms 1s198ms 02 6 7s560ms 1s260ms 03 6 7s189ms 1s198ms 04 11 14s238ms 1s294ms 05 7 8s665ms 1s237ms 06 2 2s397ms 1s198ms 07 3 3s553ms 1s184ms 08 2 2s348ms 1s174ms 09 7 8s421ms 1s203ms 10 2 2s434ms 1s217ms 11 1 1s181ms 1s181ms 12 3 3s589ms 1s196ms 13 6 7s41ms 1s173ms 14 5 5s936ms 1s187ms 15 7 8s414ms 1s202ms 16 4 4s842ms 1s210ms 17 6 7s169ms 1s194ms 18 4 4s736ms 1s184ms 19 2 2s424ms 1s212ms 20 11 13s133ms 1s193ms 21 4 4s736ms 1s184ms 22 5 5s967ms 1s193ms 23 8 9s450ms 1s181ms May 20 00 4 4s739ms 1s184ms 01 2 2s372ms 1s186ms 02 6 7s344ms 1s224ms 03 7 8s357ms 1s193ms 04 6 7s244ms 1s207ms 05 6 7s303ms 1s217ms 06 2 2s349ms 1s174ms 07 6 7s226ms 1s204ms 08 6 7s315ms 1s219ms 09 5 5s856ms 1s171ms 10 6 7s51ms 1s175ms 11 7 8s364ms 1s194ms 12 4 4s815ms 1s203ms 13 3 3s595ms 1s198ms 14 6 7s336ms 1s222ms 15 8 9s441ms 1s180ms 16 9 10s764ms 1s196ms 17 2 2s409ms 1s204ms 18 2 2s506ms 1s253ms 19 6 15s328ms 2s554ms 20 2 2s358ms 1s179ms 21 2 2s506ms 1s253ms 22 4 4s871ms 1s217ms 23 6 7s118ms 1s186ms May 21 00 1 1s162ms 1s162ms 01 6 7s259ms 1s209ms 02 3 3s601ms 1s200ms 03 2 2s390ms 1s195ms 04 4 4s783ms 1s195ms 05 8 9s594ms 1s199ms 06 1 1s179ms 1s179ms 07 1 1s183ms 1s183ms 08 6 7s109ms 1s184ms 09 7 8s295ms 1s185ms 10 3 3s637ms 1s212ms 11 2 2s343ms 1s171ms 12 3 3s523ms 1s174ms 13 4 4s756ms 1s189ms 14 6 7s223ms 1s203ms 15 2 2s371ms 1s185ms 16 3 3s535ms 1s178ms 17 6 6s986ms 1s164ms 18 5 6s11ms 1s202ms 19 6 7s43ms 1s173ms 20 7 8s570ms 1s224ms 21 4 4s782ms 1s195ms 22 2 2s346ms 1s173ms 23 3 3s604ms 1s201ms May 22 00 4 4s731ms 1s182ms 01 3 3s491ms 1s163ms 02 2 2s370ms 1s185ms 03 5 5s941ms 1s188ms 04 5 5s908ms 1s181ms 05 27 31s983ms 1s184ms 06 21 24s854ms 1s183ms 07 33 39s72ms 1s184ms 08 73 1m26s 1s190ms 09 77 1m32s 1s196ms 10 98 2m 1s224ms 11 88 1m52s 1s279ms 12 141 2m49s 1s205ms 13 110 2m13s 1s210ms 14 104 2m6s 1s219ms 15 84 1m40s 1s197ms 16 134 2m50s 1s269ms 17 118 2m29s 1s270ms 18 134 2m41s 1s201ms 19 222 4m41s 1s269ms 20 204 5m20s 1s570ms 21 205 4m31s 1s324ms 22 222 4m59s 1s349ms 23 257 5m36s 1s307ms May 23 00 210 4m56s 1s411ms 01 269 7m57s 1s776ms 02 318 11m28s 2s165ms 03 172 4m55s 1s720ms 04 201 6m59s 2s87ms 05 210 5m17s 1s510ms 06 198 4m23s 1s329ms 07 193 4m17s 1s333ms 08 185 3m50s 1s246ms 09 204 4m37s 1s361ms 10 191 4m27s 1s399ms 11 166 3m32s 1s280ms 12 213 4m38s 1s309ms 13 233 5m16s 1s357ms 14 220 4m59s 1s359ms 15 222 4m50s 1s306ms 16 166 4m4s 1s473ms 17 94 2m 1s286ms 18 167 3m48s 1s367ms 19 171 3m52s 1s359ms 20 183 4m11s 1s372ms 21 28 34s714ms 1s239ms 22 23 35s574ms 1s546ms 23 2 2s380ms 1s190ms May 24 00 3 3s510ms 1s170ms 01 1 1s205ms 1s205ms 02 2 2s410ms 1s205ms 03 1 1s223ms 1s223ms 04 3 3s639ms 1s213ms 05 174 4m2s 1s393ms 06 91 2m25s 1s601ms 07 14 18s59ms 1s289ms 08 7 8s261ms 1s180ms 09 1 1s181ms 1s181ms 10 14 16s703ms 1s193ms 11 22 26s108ms 1s186ms 12 12 14s225ms 1s185ms 13 25 29s394ms 1s175ms 14 17 19s728ms 1s160ms 15 22 25s750ms 1s170ms 16 13 15s57ms 1s158ms 17 22 25s520ms 1s160ms 18 24 27s716ms 1s154ms 19 23 26s856ms 1s167ms 20 26 30s21ms 1s154ms 21 18 20s777ms 1s154ms 22 31 36s659ms 1s182ms 23 21 24s683ms 1s175ms May 25 00 24 28s228ms 1s176ms 01 21 24s836ms 1s182ms 02 24 28s355ms 1s181ms 03 14 16s564ms 1s183ms 04 20 23s748ms 1s187ms 05 20 24s51ms 1s202ms 06 22 26s75ms 1s185ms 07 12 14s228ms 1s185ms 08 23 27s179ms 1s181ms 09 26 30s691ms 1s180ms 10 22 26s41ms 1s183ms 11 24 28s309ms 1s179ms 12 17 20s134ms 1s184ms 13 14 16s600ms 1s185ms 14 26 30s466ms 1s171ms 15 24 28s217ms 1s175ms 16 22 25s964ms 1s180ms 17 17 19s931ms 1s172ms 18 26 29s912ms 1s150ms 19 18 20s672ms 1s148ms 20 23 26s658ms 1s159ms 21 23 26s992ms 1s173ms 22 29 34s62ms 1s174ms 23 13 15s430ms 1s186ms [ User: pubeu - Total duration: 1h58m2s - Times executed: 4932 ]
[ User: qaeu - Total duration: 1s282ms - 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 exposureMarkerTerm.id = '1705822' or receptorTerm.id = '1705822' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:13:23 Duration: 10s525ms 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 = '1705822' or receptorTerm.id = '1705822' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:13:36 Duration: 10s371ms 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 = '1950896' or receptorTerm.id = '1950896' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:13:40 Duration: 9s505ms Database: ctdprd51 User: pubeu Bind query: yes
2 7,139 2d14h46m22s 1s4ms 2m6s 31s654ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 19 00 115 55m30s 28s962ms 01 115 55m36s 29s16ms 02 113 55m59s 29s731ms 03 112 55m30s 29s740ms 04 114 56m11s 29s570ms 05 67 32m46s 29s346ms 06 1 2s148ms 2s148ms 07 1 11s799ms 11s799ms 08 2 10s279ms 5s139ms 09 30 13m56s 27s895ms 10 111 56m8s 30s345ms 11 108 55m12s 30s674ms 12 111 55m55s 30s229ms 13 111 56m6s 30s324ms 14 107 54m41s 30s670ms 15 110 55m10s 30s92ms 16 110 55m40s 30s364ms 17 112 55m58s 29s985ms 18 109 56m9s 30s913ms 19 110 55m53s 30s489ms 20 111 56m2s 30s293ms 21 109 55m47s 30s711ms 22 108 56m17s 31s269ms 23 110 56m16s 30s691ms May 20 00 108 56m5s 31s164ms 01 107 56m3s 31s431ms 02 107 56m1s 31s418ms 03 106 55m44s 31s551ms 04 108 56m28s 31s373ms 05 66 33m30s 30s459ms 06 1 4s875ms 4s875ms 07 65 34m3s 31s445ms 08 106 56m32s 32s5ms 09 107 54m27s 30s539ms 10 107 55m32s 31s146ms 11 104 55m46s 32s179ms 12 107 56m20s 31s592ms 13 108 56m18s 31s279ms 14 104 55m3s 31s761ms 15 105 56m28s 32s268ms 16 103 55m39s 32s427ms 17 104 56m21s 32s511ms 18 48 27m46s 34s709ms 19 3 25s399ms 8s466ms 20 2 13s876ms 6s938ms 21 1 1s95ms 1s95ms 22 9 14s595ms 1s621ms May 21 00 3 11s18ms 3s672ms 01 1 2s192ms 2s192ms 02 2 9s479ms 4s739ms 03 2 4s363ms 2s181ms 04 4 16s334ms 4s83ms 05 2 24s157ms 12s78ms 06 1 2s684ms 2s684ms 07 1 3s68ms 3s68ms 08 6 15s998ms 2s666ms 09 2 4s977ms 2s488ms 10 3 12s848ms 4s282ms 12 1 6s385ms 6s385ms 13 2 8s121ms 4s60ms 14 2 16s463ms 8s231ms 15 2 13s917ms 6s958ms 17 1 1s731ms 1s731ms 19 1 4s957ms 4s957ms 20 1 2s659ms 2s659ms 22 1 17s406ms 17s406ms 23 1 3s100ms 3s100ms May 22 03 1 2s976ms 2s976ms 09 13 25s647ms 1s972ms 11 1 4s664ms 4s664ms 12 3 4s901ms 1s633ms 13 2 4s364ms 2s182ms 15 1 2s455ms 2s455ms 16 1 4s656ms 4s656ms 18 4 26s655ms 6s663ms 19 65 35m20s 32s618ms 20 92 55m46s 36s371ms 21 99 56m31s 34s256ms 22 99 56m16s 34s104ms 23 99 56m25s 34s199ms May 23 00 96 56m17s 35s186ms 01 96 56m35s 35s365ms 02 88 56m10s 38s303ms 03 88 56m13s 38s336ms 04 86 55m58s 39s47ms 05 57 33m47s 35s564ms 06 1 2s201ms 2s201ms 07 4 8s938ms 2s234ms 08 5 12s429ms 2s485ms 09 54 31m9s 34s613ms 10 95 56m21s 35s597ms 11 94 54m48s 34s988ms 12 99 56m10s 34s41ms 13 91 55m42s 36s726ms 14 93 56m9s 36s227ms 15 101 57m12s 33s983ms 16 97 56m25s 34s906ms 17 99 56m15s 34s100ms 18 98 56m56s 34s867ms 19 101 55m58s 33s257ms 20 97 56m33s 34s988ms 21 101 57m4s 33s909ms 22 99 56m20s 34s142ms 23 100 55m56s 33s560ms May 24 00 98 55m58s 34s265ms 01 98 56m10s 34s396ms 02 100 56m43s 34s39ms 03 105 56m49s 32s467ms 04 98 56m33s 34s625ms 05 61 34m7s 33s564ms 06 4 29s206ms 7s301ms 07 2 4s368ms 2s184ms 08 3 7s742ms 2s580ms 10 5 22s167ms 4s433ms 11 2 6s143ms 3s71ms 12 3 19s946ms 6s648ms 13 6 14s986ms 2s497ms 14 3 10s513ms 3s504ms 15 1 4s845ms 4s845ms 16 2 3s325ms 1s662ms 17 5 20s777ms 4s155ms 18 5 21s422ms 4s284ms 19 3 8s882ms 2s960ms 20 2 7s167ms 3s583ms 21 2 11s300ms 5s650ms 22 2 6s886ms 3s443ms 23 3 10s715ms 3s571ms May 25 00 2 4s308ms 2s154ms 01 3 5s624ms 1s874ms 02 3 8s793ms 2s931ms 03 2 12s554ms 6s277ms 05 5 17s501ms 3s500ms 06 1 2s591ms 2s591ms 07 3 9s65ms 3s21ms 08 3 11s181ms 3s727ms 10 3 20s852ms 6s950ms 11 6 26s521ms 4s420ms 12 4 19s281ms 4s820ms 13 2 4s644ms 2s322ms 14 6 27s148ms 4s524ms 15 1 2s158ms 2s158ms 16 2 4s153ms 2s76ms 17 7 29s215ms 4s173ms 18 2 8s138ms 4s69ms 19 3 8s892ms 2s964ms 20 6 13s586ms 2s264ms 21 3 9s98ms 3s32ms 22 3 11s260ms 3s753ms 23 4 31s558ms 7s889ms [ User: pubeu - Total duration: 2d2h22m46s - Times executed: 5664 ]
-
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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1435200;
Date: 2024-05-23 04:15:18 Duration: 2m6s 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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1427250;
Date: 2024-05-23 02:23:09 Duration: 1m47s 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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1430050;
Date: 2024-05-23 03:01:21 Duration: 1m38s Database: ctdprd51 User: pubeu Bind query: yes
3 2,035 50m11s 1s180ms 8s122ms 1s479ms 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 #3
Day Hour Count Duration Avg duration May 19 00 1 1s299ms 1s299ms 01 2 2s652ms 1s326ms 05 2 2s820ms 1s410ms 08 2 2s512ms 1s256ms 10 1 1s480ms 1s480ms 11 1 1s382ms 1s382ms 12 6 7s862ms 1s310ms 14 3 4s50ms 1s350ms 15 2 2s599ms 1s299ms 17 3 3s821ms 1s273ms 19 2 2s752ms 1s376ms 20 2 2s715ms 1s357ms 22 1 1s310ms 1s310ms May 20 01 2 2s589ms 1s294ms 02 1 1s322ms 1s322ms 03 2 2s627ms 1s313ms 04 1 1s318ms 1s318ms 05 5 6s956ms 1s391ms 06 3 3s756ms 1s252ms 09 2 2s564ms 1s282ms 11 1 1s391ms 1s391ms 12 1 1s294ms 1s294ms 13 1 1s314ms 1s314ms 17 1 1s350ms 1s350ms 18 1 1s414ms 1s414ms 21 1 1s334ms 1s334ms 22 2 2s619ms 1s309ms May 21 01 1 1s282ms 1s282ms 05 3 4s192ms 1s397ms 08 1 1s281ms 1s281ms 09 1 1s277ms 1s277ms 10 1 1s246ms 1s246ms 11 1 1s304ms 1s304ms 12 1 1s418ms 1s418ms 13 1 1s257ms 1s257ms 17 1 1s223ms 1s223ms 20 1 1s252ms 1s252ms May 22 05 7 9s318ms 1s331ms 06 3 3s989ms 1s329ms 07 8 10s206ms 1s275ms 08 31 41s72ms 1s324ms 09 12 15s561ms 1s296ms 10 37 48s247ms 1s303ms 11 52 1m10s 1s355ms 12 28 36s301ms 1s296ms 13 36 47s366ms 1s315ms 14 24 31s794ms 1s324ms 15 29 37s276ms 1s285ms 16 42 57s680ms 1s373ms 17 42 55s774ms 1s327ms 18 30 39s286ms 1s309ms 19 45 1m4s 1s425ms 20 44 1m 1s373ms 21 40 56s808ms 1s420ms 22 42 59s168ms 1s408ms 23 58 1m27s 1s512ms May 23 00 52 1m18s 1s506ms 01 74 1m42s 1s386ms 02 106 3m30s 1s989ms 03 69 2m19s 2s22ms 04 66 2m20s 2s132ms 05 48 1m11s 1s493ms 06 80 1m54s 1s427ms 07 40 57s494ms 1s437ms 08 60 1m21s 1s355ms 09 42 59s220ms 1s410ms 10 42 1m1s 1s453ms 11 36 49s392ms 1s372ms 12 53 1m14s 1s408ms 13 44 1m4s 1s455ms 14 71 1m46s 1s493ms 15 50 1m11s 1s429ms 16 55 1m25s 1s557ms 17 20 27s306ms 1s365ms 18 40 58s378ms 1s459ms 19 50 1m13s 1s467ms 20 46 1m5s 1s427ms 21 4 5s130ms 1s282ms 22 10 13s284ms 1s328ms 23 1 1s344ms 1s344ms May 24 02 1 1s299ms 1s299ms 05 72 1m44s 1s458ms 06 30 47s652ms 1s588ms 07 6 7s958ms 1s326ms 08 1 1s261ms 1s261ms 09 4 5s123ms 1s280ms 10 2 2s551ms 1s275ms 11 1 1s325ms 1s325ms 12 2 2s589ms 1s294ms 13 6 7s809ms 1s301ms 14 3 3s768ms 1s256ms 15 4 4s950ms 1s237ms 16 2 2s670ms 1s335ms 17 6 7s523ms 1s253ms 18 6 7s499ms 1s249ms 20 2 2s539ms 1s269ms 21 3 3s652ms 1s217ms 22 2 2s578ms 1s289ms 23 1 1s275ms 1s275ms May 25 00 6 7s744ms 1s290ms 02 1 1s279ms 1s279ms 03 3 3s799ms 1s266ms 04 3 3s809ms 1s269ms 05 3 4s60ms 1s353ms 06 3 3s806ms 1s268ms 08 1 1s275ms 1s275ms 09 1 1s275ms 1s275ms 10 2 2s573ms 1s286ms 12 1 1s296ms 1s296ms 13 2 2s573ms 1s286ms 14 5 6s513ms 1s302ms 15 3 3s801ms 1s267ms 16 2 2s538ms 1s269ms 17 1 1s253ms 1s253ms 18 1 1s248ms 1s248ms 19 1 1s726ms 1s726ms 20 4 4s924ms 1s231ms 21 3 3s836ms 1s278ms 22 1 1s306ms 1s306ms 23 1 1s344ms 1s344ms [ User: pubeu - Total duration: 32m44s - Times executed: 1286 ]
[ User: qaeu - Total duration: 5s634ms - Times executed: 4 ]
-
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 = '1208703') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1208703') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 03:00:57 Duration: 8s122ms 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 = '1245065') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1245065') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:12:18 Duration: 7s75ms 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 = '1208703') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1208703') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 03:01:16 Duration: 6s955ms Database: ctdprd51 User: pubeu Bind query: yes
4 1,821 45m16s 1s207ms 11s683ms 1s492ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 19 01 3 3s959ms 1s319ms 03 1 1s336ms 1s336ms 04 1 1s282ms 1s282ms 05 3 4s321ms 1s440ms 07 3 3s809ms 1s269ms 08 2 2s643ms 1s321ms 10 3 3s998ms 1s332ms 11 3 3s996ms 1s332ms 13 2 2s742ms 1s371ms 14 1 1s453ms 1s453ms 15 2 2s646ms 1s323ms 17 3 4s104ms 1s368ms 18 1 1s295ms 1s295ms 19 3 4s178ms 1s392ms 21 1 1s361ms 1s361ms 23 1 1s400ms 1s400ms May 20 00 1 1s384ms 1s384ms 01 2 2s661ms 1s330ms 02 2 2s810ms 1s405ms 04 1 1s365ms 1s365ms 05 3 4s193ms 1s397ms 06 3 3s925ms 1s308ms 07 1 1s254ms 1s254ms 09 1 1s343ms 1s343ms 10 1 1s278ms 1s278ms 11 2 2s718ms 1s359ms 14 1 1s306ms 1s306ms 15 2 2s606ms 1s303ms 17 1 1s290ms 1s290ms 19 2 2s687ms 1s343ms 20 1 1s290ms 1s290ms 23 2 2s659ms 1s329ms May 21 01 1 1s334ms 1s334ms 02 1 1s363ms 1s363ms 03 1 1s274ms 1s274ms 05 5 7s17ms 1s403ms 07 1 1s308ms 1s308ms 10 3 3s899ms 1s299ms 11 1 1s331ms 1s331ms 12 1 1s248ms 1s248ms 13 1 1s342ms 1s342ms 15 2 2s590ms 1s295ms 16 4 5s448ms 1s362ms 17 1 1s481ms 1s481ms 18 1 1s390ms 1s390ms 19 2 2s552ms 1s276ms 20 1 1s265ms 1s265ms 21 1 1s364ms 1s364ms 22 2 2s631ms 1s315ms May 22 00 3 3s972ms 1s324ms 02 1 1s280ms 1s280ms 03 1 1s357ms 1s357ms 04 2 2s480ms 1s240ms 05 6 8s134ms 1s355ms 06 11 14s140ms 1s285ms 07 14 18s21ms 1s287ms 08 22 28s509ms 1s295ms 09 18 23s269ms 1s292ms 10 17 21s821ms 1s283ms 11 23 29s996ms 1s304ms 12 19 25s288ms 1s330ms 13 35 46s63ms 1s316ms 14 16 20s521ms 1s282ms 15 20 26s77ms 1s303ms 16 37 50s176ms 1s356ms 17 40 52s516ms 1s312ms 18 37 49s61ms 1s325ms 19 47 1m12s 1s536ms 20 32 44s129ms 1s379ms 21 42 1m2s 1s493ms 22 60 1m26s 1s445ms 23 68 1m36s 1s421ms May 23 00 52 1m17s 1s483ms 01 55 1m22s 1s495ms 02 45 1m28s 1s971ms 03 39 1m20s 2s73ms 04 56 2m30s 2s678ms 05 55 1m33s 1s705ms 06 41 56s4ms 1s365ms 07 53 1m11s 1s351ms 08 69 1m35s 1s376ms 09 36 51s620ms 1s433ms 10 46 1m8s 1s493ms 11 47 1m5s 1s403ms 12 47 1m7s 1s429ms 13 51 1m13s 1s448ms 14 52 1m16s 1s474ms 15 36 54s365ms 1s510ms 16 48 1m7s 1s410ms 17 24 33s391ms 1s391ms 18 38 54s959ms 1s446ms 19 37 54s253ms 1s466ms 20 40 58s289ms 1s457ms 21 13 16s828ms 1s294ms 22 6 8s82ms 1s347ms May 24 00 1 1s313ms 1s313ms 01 2 2s895ms 1s447ms 02 3 4s75ms 1s358ms 03 2 2s823ms 1s411ms 04 1 1s333ms 1s333ms 05 35 59s522ms 1s700ms 06 47 1m21s 1s741ms 07 3 4s633ms 1s544ms 08 1 1s282ms 1s282ms 09 1 1s257ms 1s257ms 10 3 4s130ms 1s376ms 11 1 1s310ms 1s310ms 12 2 2s708ms 1s354ms 13 3 3s799ms 1s266ms 14 3 3s840ms 1s280ms 15 2 2s534ms 1s267ms 17 1 1s622ms 1s622ms 18 3 3s936ms 1s312ms 19 4 5s329ms 1s332ms 20 2 2s541ms 1s270ms 21 2 2s472ms 1s236ms 22 4 5s280ms 1s320ms 23 3 3s757ms 1s252ms May 25 00 3 3s852ms 1s284ms 01 3 3s784ms 1s261ms 02 1 1s330ms 1s330ms 03 3 3s955ms 1s318ms 04 2 2s499ms 1s249ms 05 3 4s896ms 1s632ms 06 3 3s855ms 1s285ms 07 1 1s297ms 1s297ms 08 3 3s992ms 1s330ms 09 2 2s584ms 1s292ms 10 2 2s542ms 1s271ms 11 3 3s864ms 1s288ms 12 2 2s655ms 1s327ms 13 2 2s608ms 1s304ms 14 1 1s386ms 1s386ms 15 2 2s548ms 1s274ms 16 2 2s965ms 1s482ms 18 3 3s776ms 1s258ms 19 1 1s238ms 1s238ms 20 1 1s275ms 1s275ms 21 2 2s509ms 1s254ms 22 2 2s617ms 1s308ms [ User: pubeu - Total duration: 29m27s - Times executed: 1140 ]
-
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 = '2073291') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073291') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:13:38 Duration: 11s683ms 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 = '2073291') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073291') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:14:04 Duration: 10s37ms 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 = '2073291') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073291') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:13:49 Duration: 9s981ms Database: ctdprd51 User: pubeu Bind query: yes
5 1,265 50m33s 1s 11s655ms 2s398ms select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 20 19 6 12s150ms 2s25ms 21 3 7s11ms 2s337ms May 22 10 3 3s980ms 1s326ms 11 3 5s249ms 1s749ms 13 1 2s290ms 2s290ms 16 18 35s191ms 1s955ms 17 3 9s896ms 3s298ms 19 21 52s5ms 2s476ms 20 76 4m9s 3s279ms 21 24 1m3s 2s663ms 22 26 55s381ms 2s130ms 23 22 41s458ms 1s884ms May 23 00 47 1m25s 1s818ms 01 54 1m51s 2s69ms 02 118 5m24s 2s747ms 03 122 5m4s 2s498ms 04 167 8m34s 3s82ms 05 35 1m17s 2s221ms 06 11 22s146ms 2s13ms 07 18 44s171ms 2s453ms 08 11 18s361ms 1s669ms 09 23 48s381ms 2s103ms 10 51 1m58s 2s314ms 11 10 20s933ms 2s93ms 12 25 43s189ms 1s727ms 13 33 53s650ms 1s625ms 14 39 1m18s 2s6ms 15 27 47s775ms 1s769ms 16 59 2m23s 2s437ms 17 4 6s857ms 1s714ms 18 26 56s249ms 2s163ms 19 17 28s627ms 1s683ms 20 22 38s242ms 1s738ms 21 2 4s704ms 2s352ms 22 4 6s684ms 1s671ms 23 1 1s72ms 1s72ms May 24 05 67 2m21s 2s113ms 06 64 2m30s 2s348ms 07 2 4s433ms 2s216ms [ User: pubeu - Total duration: 35m49s - Times executed: 900 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2069554');
Date: 2024-05-23 04:13:10 Duration: 11s655ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2072663');
Date: 2024-05-23 04:13:37 Duration: 11s616ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2074106');
Date: 2024-05-23 04:13:28 Duration: 10s675ms Bind query: yes
6 1,072 8h28m43s 1s 3m57s 28s473ms 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 #6
Day Hour Count Duration Avg duration May 19 19 1 14s797ms 14s797ms May 22 00 1 15s659ms 15s659ms 05 6 1m32s 15s416ms 06 6 1m32s 15s361ms 07 1 14s964ms 14s964ms 08 26 6m24s 14s778ms 09 16 4m8s 15s530ms 10 12 3m17s 16s482ms 11 27 11m8s 24s744ms 12 23 5m55s 15s473ms 13 13 3m25s 15s809ms 14 18 5m10s 17s244ms 15 6 1m28s 14s734ms 16 16 6m46s 25s406ms 17 27 10m59s 24s428ms 18 11 2m47s 15s208ms 19 23 8m8s 21s220ms 20 58 37m53s 39s194ms 21 14 3m54s 16s784ms 22 40 11m36s 17s416ms 23 37 10m4s 16s334ms May 23 00 32 11m24s 21s393ms 01 33 11m18s 20s565ms 02 70 51m 43s726ms 03 56 52m2s 55s762ms 04 64 1h28m13s 1m22s 05 31 9m39s 18s702ms 06 40 10m44s 16s112ms 07 37 10m53s 17s658ms 08 20 4m54s 14s712ms 09 37 13m45s 22s304ms 10 61 18m46s 18s473ms 11 12 2m38s 13s190ms 12 14 3m13s 13s826ms 13 14 3m7s 13s360ms 14 25 12m5s 29s2ms 15 18 4m53s 16s316ms 16 41 37m29s 54s870ms 18 20 7m4s 21s208ms 19 23 5m15s 13s713ms 20 12 2m4s 10s412ms 22 4 1m33s 23s399ms May 24 05 7 2m23s 20s524ms 06 9 4m37s 30s876ms 14 1 14s609ms 14s609ms 19 1 15s609ms 15s609ms 21 1 13s768ms 13s768ms 22 1 15s655ms 15s655ms May 25 00 1 15s793ms 15s793ms 02 1 16s451ms 16s451ms 03 1 14s780ms 14s780ms 05 2 30s588ms 15s294ms 16 1 15s278ms 15s278ms [ User: pubeu - Total duration: 6h38m41s - Times executed: 764 ]
-
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 = '2073291') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 04:15:22 Duration: 3m57s 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 = '2073309') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 04:15:57 Duration: 3m54s 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 = '2073291') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 04:15:44 Duration: 3m52s Database: ctdprd51 User: pubeu Bind query: yes
7 686 28m36s 1s 7s363ms 2s502ms 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 #7
Day Hour Count Duration Avg duration May 19 05 1 5s340ms 5s340ms 10 1 2s256ms 2s256ms 18 1 2s250ms 2s250ms May 20 10 1 2s979ms 2s979ms 14 1 1s172ms 1s172ms 21 1 1s15ms 1s15ms May 21 00 1 2s34ms 2s34ms May 22 14 1 1s55ms 1s55ms 16 5 10s51ms 2s10ms 17 4 15s63ms 3s765ms 19 2 4s514ms 2s257ms 20 9 22s818ms 2s535ms 21 3 4s748ms 1s582ms 22 2 2s487ms 1s243ms 23 7 16s165ms 2s309ms May 23 00 8 13s114ms 1s639ms 01 317 15m19s 2s899ms 02 105 3m51s 2s200ms 03 27 1m8s 2s518ms 04 34 1m17s 2s279ms 05 44 1m47s 2s440ms 06 11 16s807ms 1s527ms 07 2 2s286ms 1s143ms 08 5 8s106ms 1s621ms 09 5 6s498ms 1s299ms 10 6 10s559ms 1s759ms 11 6 11s112ms 1s852ms 12 4 7s996ms 1s999ms 13 11 14s800ms 1s345ms 14 6 14s981ms 2s496ms 15 7 9s362ms 1s337ms 16 20 49s23ms 2s451ms 17 1 2s265ms 2s265ms 18 8 17s614ms 2s201ms 19 6 12s115ms 2s19ms 20 9 13s822ms 1s535ms 22 2 4s954ms 2s477ms May 24 19 1 2s108ms 2s108ms May 25 11 1 2s79ms 2s79ms [ User: pubeu - Total duration: 22m4s - Times executed: 510 ]
-
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 = '534590' 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 = '534590') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-05-23 01:40:02 Duration: 7s363ms 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 = '669170' 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 = '669170') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-05-23 01:40:02 Duration: 7s195ms 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 = '211093' 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 = '211093') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-05-23 01:40:02 Duration: 7s177ms Database: ctdprd51 User: pubeu Bind query: yes
8 639 36m33s 1s3ms 12s767ms 3s432ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 19 00 3 3s825ms 1s275ms 01 9 23s716ms 2s635ms 02 5 21s557ms 4s311ms 03 4 13s954ms 3s488ms 04 10 35s529ms 3s552ms 05 4 13s152ms 3s288ms 06 7 19s449ms 2s778ms 07 1 4s572ms 4s572ms 08 4 7s505ms 1s876ms 09 2 4s6ms 2s3ms 10 4 14s902ms 3s725ms 11 3 11s125ms 3s708ms 12 3 10s179ms 3s393ms 13 2 18s830ms 9s415ms 14 2 4s139ms 2s69ms 15 5 14s516ms 2s903ms 16 3 14s863ms 4s954ms 17 6 23s654ms 3s942ms 18 6 10s220ms 1s703ms 19 3 15s538ms 5s179ms 20 4 7s150ms 1s787ms 21 10 44s607ms 4s460ms 22 4 6s523ms 1s630ms 23 3 12s305ms 4s101ms May 20 00 10 28s988ms 2s898ms 01 5 15s144ms 3s28ms 02 7 31s579ms 4s511ms 03 3 12s166ms 4s55ms 04 6 39s465ms 6s577ms 05 7 26s128ms 3s732ms 06 6 13s251ms 2s208ms 07 5 20s710ms 4s142ms 08 5 14s829ms 2s965ms 09 5 20s104ms 4s20ms 10 2 3s380ms 1s690ms 11 4 7s6ms 1s751ms 12 4 11s419ms 2s854ms 13 2 6s254ms 3s127ms 14 3 8s584ms 2s861ms 15 3 6s233ms 2s77ms 16 4 11s553ms 2s888ms 17 2 7s220ms 3s610ms 18 6 22s772ms 3s795ms 19 9 46s615ms 5s179ms 20 6 22s968ms 3s828ms 21 7 26s917ms 3s845ms 22 6 31s710ms 5s285ms 23 3 5s421ms 1s807ms May 21 00 5 21s239ms 4s247ms 01 4 13s454ms 3s363ms 02 5 8s189ms 1s637ms 03 1 2s121ms 2s121ms 04 4 14s953ms 3s738ms 05 7 23s575ms 3s367ms 06 7 33s297ms 4s756ms 07 5 18s131ms 3s626ms 08 2 5s48ms 2s524ms 09 4 7s445ms 1s861ms 10 3 5s282ms 1s760ms 11 8 32s141ms 4s17ms 13 2 2s427ms 1s213ms 20 1 4s626ms 4s626ms 23 1 1s380ms 1s380ms May 22 03 1 2s251ms 2s251ms 04 1 1s220ms 1s220ms 09 5 7s569ms 1s513ms 10 1 5s382ms 5s382ms 12 1 5s754ms 5s754ms 13 3 14s851ms 4s950ms 15 3 5s967ms 1s989ms 16 1 6s535ms 6s535ms 17 1 1s987ms 1s987ms 18 1 4s827ms 4s827ms 22 3 3s945ms 1s315ms May 23 01 1 3s233ms 3s233ms 03 2 4s277ms 2s138ms 04 7 46s938ms 6s705ms 05 1 2s149ms 2s149ms 06 5 12s483ms 2s496ms 07 2 11s445ms 5s722ms 08 2 8s945ms 4s472ms 09 2 6s238ms 3s119ms 10 2 4s480ms 2s240ms 11 1 1s485ms 1s485ms 12 9 25s661ms 2s851ms 13 4 22s986ms 5s746ms 14 10 33s262ms 3s326ms 15 5 21s630ms 4s326ms 16 4 20s777ms 5s194ms 17 5 16s846ms 3s369ms 18 2 4s359ms 2s179ms 19 6 20s447ms 3s407ms 20 3 4s711ms 1s570ms 21 5 15s535ms 3s107ms 22 6 14s937ms 2s489ms 23 10 48s75ms 4s807ms May 24 00 5 17s102ms 3s420ms 01 4 19s13ms 4s753ms 02 5 23s967ms 4s793ms 03 3 8s167ms 2s722ms 04 5 14s869ms 2s973ms 05 8 32s542ms 4s67ms 06 5 19s21ms 3s804ms 07 2 10s500ms 5s250ms 08 6 15s355ms 2s559ms 09 2 13s414ms 6s707ms 10 9 31s306ms 3s478ms 11 4 9s14ms 2s253ms 12 4 7s264ms 1s816ms 13 3 10s696ms 3s565ms 14 5 19s255ms 3s851ms 15 1 1s419ms 1s419ms 16 6 14s11ms 2s335ms 17 4 12s923ms 3s230ms 18 7 11s142ms 1s591ms 19 2 4s87ms 2s43ms 20 2 7s174ms 3s587ms 21 6 20s302ms 3s383ms 22 3 6s766ms 2s255ms 23 6 9s69ms 1s511ms May 25 00 8 33s983ms 4s247ms 01 7 27s872ms 3s981ms 02 7 19s163ms 2s737ms 03 5 15s785ms 3s157ms 04 12 56s998ms 4s749ms 05 2 2s498ms 1s249ms 06 6 18s223ms 3s37ms 07 3 12s496ms 4s165ms 08 9 33s91ms 3s676ms 09 5 13s897ms 2s779ms 10 3 7s317ms 2s439ms 11 7 30s658ms 4s379ms 12 10 31s419ms 3s141ms 13 9 29s390ms 3s265ms 14 4 13s160ms 3s290ms 15 3 6s180ms 2s60ms 16 3 4s790ms 1s596ms 17 9 30s637ms 3s404ms 18 2 2s952ms 1s476ms 19 2 11s100ms 5s550ms 20 1 4s984ms 4s984ms 21 6 17s532ms 2s922ms 22 7 23s731ms 3s390ms 23 1 6s219ms 6s219ms [ User: pubeu - Total duration: 21m33s - Times executed: 364 ]
-
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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 13:04:03 Duration: 12s767ms 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 = '2072801') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 04:04:59 Duration: 12s597ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-20 04:03:21 Duration: 12s220ms Database: ctdprd51 User: pubeu Bind query: yes
9 299 2h13m37s 1s224ms 4m6s 26s814ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 20 19 1 6s803ms 6s803ms 21 2 3s225ms 1s612ms May 21 20 5 2m35s 31s197ms May 22 07 2 10s 5s 08 2 4s562ms 2s281ms 09 2 2s690ms 1s345ms 12 6 1m43s 17s329ms 13 2 9s821ms 4s910ms 14 7 3m16s 28s58ms 15 2 11s107ms 5s553ms 16 2 2s546ms 1s273ms 17 22 5m21s 14s607ms 18 5 1m23s 16s696ms 19 2 2s721ms 1s360ms 20 5 2m31s 30s264ms 21 14 6m22s 27s317ms 22 6 1m54s 19s159ms 23 14 3m26s 14s730ms May 23 00 12 3m48s 19s48ms 02 13 18m4s 1m23s 03 7 9m45s 1m23s 04 32 28m41s 53s806ms 05 18 7m52s 26s253ms 07 10 7m47s 46s735ms 08 6 53s352ms 8s892ms 10 15 3m58s 15s900ms 11 2 10s934ms 5s467ms 12 8 2m18s 17s261ms 13 21 3m23s 9s675ms 14 15 4m36s 18s400ms 15 6 48s607ms 8s101ms 16 6 5m30s 55s89ms 18 6 1m50s 18s430ms 19 7 1m1s 8s827ms 20 11 3m12s 17s509ms May 24 06 1 18s926ms 18s926ms 21 1 1s681ms 1s681ms May 25 16 1 2s368ms 2s368ms [ User: pubeu - Total duration: 1h39m45s - Times executed: 203 ]
-
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 = '2077163') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 02:24:48 Duration: 4m6s 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 = '2077163') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 02:25:03 Duration: 3m54s 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 = '2077163') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 02:25:12 Duration: 3m37s Database: ctdprd51 User: pubeu Bind query: yes
10 295 1h7m47s 1s7ms 11m56s 13s789ms 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 May 19 02 1 1s249ms 1s249ms 22 2 3s247ms 1s623ms May 20 02 1 1s456ms 1s456ms 18 36 2m50s 4s725ms 20 2 6s940ms 3s470ms 21 39 53m56s 1m22s 22 2 6s458ms 3s229ms May 21 07 3 6s534ms 2s178ms 08 10 21s750ms 2s175ms 09 3 5s172ms 1s724ms 18 1 7s290ms 7s290ms 22 1 3s157ms 3s157ms May 22 04 1 3s282ms 3s282ms 05 1 3s192ms 3s192ms 09 2 3s706ms 1s853ms 10 4 7s441ms 1s860ms 12 9 12s951ms 1s439ms 13 6 6s873ms 1s145ms 20 7 10s527ms 1s503ms 21 24 1m2s 2s619ms 22 8 20s793ms 2s599ms 23 6 9s441ms 1s573ms May 23 03 1 2s47ms 2s47ms 04 31 2m34s 4s980ms 10 1 1s40ms 1s40ms 12 14 33s667ms 2s404ms 13 15 1m50s 7s399ms 14 16 36s587ms 2s286ms 15 1 1s20ms 1s20ms 17 6 11s219ms 1s869ms 18 1 1s488ms 1s488ms 19 6 12s684ms 2s114ms May 24 04 8 9s527ms 1s190ms 05 2 13s165ms 6s582ms 06 16 52s396ms 3s274ms 09 1 3s292ms 3s292ms 14 1 3s270ms 3s270ms May 25 08 1 1s402ms 1s402ms 10 1 1s665ms 1s665ms 17 1 3s219ms 3s219ms 19 2 2s630ms 1s315ms 22 1 1s437ms 1s437ms [ User: pubeu - Total duration: 1h3m12s - Times executed: 222 ]
-
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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-20 21:23:55 Duration: 11m56s 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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-20 21:23:54 Duration: 11m56s 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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-20 21:30:56 Duration: 7m1s Database: ctdprd51 User: pubeu Bind query: yes
11 286 19m38s 3s620ms 19s60ms 4s119ms 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 #11
Day Hour Count Duration Avg duration May 19 01 3 11s973ms 3s991ms 02 1 4s7ms 4s7ms 04 2 8s68ms 4s34ms 06 1 3s860ms 3s860ms 09 1 3s963ms 3s963ms 10 2 7s707ms 3s853ms 12 1 3s953ms 3s953ms 14 3 12s62ms 4s20ms 16 3 11s858ms 3s952ms 17 2 7s954ms 3s977ms 20 4 16s33ms 4s8ms 22 1 3s856ms 3s856ms 23 1 3s908ms 3s908ms May 20 00 2 7s957ms 3s978ms 01 1 3s945ms 3s945ms 02 4 16s130ms 4s32ms 03 1 4s153ms 4s153ms 04 3 12s34ms 4s11ms 06 3 11s477ms 3s825ms 08 2 8s233ms 4s116ms 09 3 12s233ms 4s77ms 11 2 8s362ms 4s181ms 12 2 8s160ms 4s80ms 13 2 7s709ms 3s854ms 19 1 4s9ms 4s9ms 20 1 3s920ms 3s920ms 22 2 8s29ms 4s14ms 23 2 7s624ms 3s812ms May 21 01 5 19s527ms 3s905ms 02 11 43s506ms 3s955ms 03 3 11s832ms 3s944ms 04 12 47s353ms 3s946ms 05 1 3s897ms 3s897ms 07 3 12s166ms 4s55ms 08 2 8s431ms 4s215ms 09 1 4s322ms 4s322ms 11 2 7s683ms 3s841ms 13 3 11s908ms 3s969ms 15 1 4s9ms 4s9ms 16 3 11s719ms 3s906ms 17 1 4s31ms 4s31ms 19 1 3s934ms 3s934ms 21 1 3s980ms 3s980ms 22 2 7s851ms 3s925ms 23 3 11s985ms 3s995ms May 22 00 3 11s774ms 3s924ms 01 2 8s28ms 4s14ms 02 2 7s844ms 3s922ms 03 4 16s221ms 4s55ms 04 1 4s252ms 4s252ms 06 1 3s947ms 3s947ms 08 2 7s754ms 3s877ms 09 4 16s336ms 4s84ms 10 5 20s31ms 4s6ms 11 4 16s821ms 4s205ms 12 1 3s995ms 3s995ms 13 3 12s165ms 4s55ms 14 2 8s348ms 4s174ms 15 4 16s182ms 4s45ms 17 1 4s672ms 4s672ms 19 1 3s969ms 3s969ms 20 2 8s807ms 4s403ms 21 3 13s512ms 4s504ms 22 5 23s131ms 4s626ms 23 1 4s12ms 4s12ms May 23 00 1 4s257ms 4s257ms 01 1 5s568ms 5s568ms 03 2 8s707ms 4s353ms 04 2 15s407ms 7s703ms 05 5 21s129ms 4s225ms 06 5 20s855ms 4s171ms 07 11 1m 5s535ms 08 2 7s981ms 3s990ms 09 2 8s22ms 4s11ms 12 2 8s688ms 4s344ms 13 1 3s956ms 3s956ms 14 2 8s349ms 4s174ms 15 2 8s4ms 4s2ms 22 1 3s991ms 3s991ms 23 1 3s917ms 3s917ms May 24 01 1 4s6ms 4s6ms 02 1 4s232ms 4s232ms 03 2 7s908ms 3s954ms 04 1 4s21ms 4s21ms 05 1 4s242ms 4s242ms 07 2 8s61ms 4s30ms 09 4 15s996ms 3s999ms 10 3 11s987ms 3s995ms 11 5 19s968ms 3s993ms 12 1 3s941ms 3s941ms 13 2 7s854ms 3s927ms 14 1 4s77ms 4s77ms 17 5 20s252ms 4s50ms 18 1 3s894ms 3s894ms 19 1 3s995ms 3s995ms 22 1 3s850ms 3s850ms May 25 00 1 4s72ms 4s72ms 01 3 11s682ms 3s894ms 02 1 3s884ms 3s884ms 04 12 50s756ms 4s229ms 05 7 27s642ms 3s948ms 06 9 35s559ms 3s951ms 07 1 3s842ms 3s842ms 08 1 3s823ms 3s823ms 10 2 7s858ms 3s929ms 11 1 3s956ms 3s956ms 12 4 15s779ms 3s944ms 14 1 3s780ms 3s780ms 15 2 7s688ms 3s844ms 16 1 3s864ms 3s864ms 18 1 3s889ms 3s889ms 20 1 3s773ms 3s773ms 22 3 11s579ms 3s859ms 23 1 3s690ms 3s690ms [ User: pubeu - Total duration: 10m50s - Times executed: 155 ]
-
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 = '1316678') 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 = '1316678') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-23 07:27:51 Duration: 19s60ms 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 = '1278535') 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 = '1278535') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-23 04:06:00 Duration: 9s384ms 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 = '1263473') 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 = '1263473') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-25 04:45:53 Duration: 7s50ms Bind query: yes
12 279 23m18s 1s 13s717ms 5s10ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 19 02 1 5s621ms 5s621ms 04 3 15s979ms 5s326ms 06 1 5s176ms 5s176ms 10 1 1s8ms 1s8ms 17 2 11s24ms 5s512ms 19 1 5s684ms 5s684ms 21 1 5s742ms 5s742ms May 20 08 2 11s 5s500ms 09 2 11s258ms 5s629ms 10 1 1s39ms 1s39ms 12 1 5s436ms 5s436ms 13 1 5s547ms 5s547ms 14 2 11s219ms 5s609ms 15 1 5s703ms 5s703ms 16 2 11s281ms 5s640ms 18 2 6s561ms 3s280ms 19 6 31s125ms 5s187ms 20 1 1s11ms 1s11ms 21 2 12s364ms 6s182ms 22 4 22s687ms 5s671ms 23 3 15s791ms 5s263ms May 21 01 3 17s559ms 5s853ms 02 1 5s112ms 5s112ms 03 2 10s439ms 5s219ms 04 2 10s544ms 5s272ms 05 3 16s132ms 5s377ms 06 2 10s379ms 5s189ms 07 2 6s458ms 3s229ms 09 6 31s449ms 5s241ms 10 2 10s570ms 5s285ms 11 1 5s282ms 5s282ms 13 1 4s899ms 4s899ms 14 1 4s171ms 4s171ms 15 2 9s640ms 4s820ms 16 2 10s792ms 5s396ms 17 1 5s36ms 5s36ms 18 2 10s599ms 5s299ms 19 1 4s616ms 4s616ms 20 4 19s76ms 4s769ms 21 5 26s276ms 5s255ms 22 6 30s728ms 5s121ms 23 2 10s815ms 5s407ms May 22 00 3 15s689ms 5s229ms 01 1 5s611ms 5s611ms 03 2 10s324ms 5s162ms 04 4 12s886ms 3s221ms 05 1 5s245ms 5s245ms 06 1 1s8ms 1s8ms 09 3 11s767ms 3s922ms 10 2 10s700ms 5s350ms 12 1 5s199ms 5s199ms 13 5 23s169ms 4s633ms 14 4 12s612ms 3s153ms 15 2 9s871ms 4s935ms 16 3 11s620ms 3s873ms 18 3 14s520ms 4s840ms 20 2 11s729ms 5s864ms 21 5 29s249ms 5s849ms 22 5 29s54ms 5s810ms May 23 00 5 31s310ms 6s262ms 01 2 12s43ms 6s21ms 02 3 12s527ms 4s175ms 03 7 45s521ms 6s503ms 04 3 25s959ms 8s653ms 05 4 25s219ms 6s304ms 06 4 22s669ms 5s667ms 07 5 28s833ms 5s766ms 08 3 16s360ms 5s453ms 09 1 5s115ms 5s115ms 10 3 12s727ms 4s242ms 12 4 18s637ms 4s659ms 13 7 34s359ms 4s908ms 15 3 4s8ms 1s336ms 16 2 12s59ms 6s29ms 17 3 16s592ms 5s530ms 18 3 12s668ms 4s222ms 19 2 2s559ms 1s279ms 20 2 11s752ms 5s876ms 21 1 5s753ms 5s753ms 22 1 5s506ms 5s506ms 23 2 6s514ms 3s257ms May 24 01 2 10s830ms 5s415ms 02 1 5s736ms 5s736ms 03 1 5s467ms 5s467ms 04 2 10s431ms 5s215ms 05 2 2s219ms 1s109ms 10 5 21s804ms 4s360ms 11 1 4s660ms 4s660ms 13 1 4s505ms 4s505ms 14 1 5s77ms 5s77ms 15 1 5s379ms 5s379ms 18 1 4s801ms 4s801ms 20 2 10s431ms 5s215ms 21 2 10s230ms 5s115ms 22 2 10s374ms 5s187ms 23 3 14s200ms 4s733ms May 25 00 7 35s125ms 5s17ms 01 3 15s136ms 5s45ms 03 2 10s624ms 5s312ms 04 8 39s935ms 4s991ms 05 1 4s680ms 4s680ms 06 1 5s29ms 5s29ms 07 1 5s87ms 5s87ms 08 4 19s675ms 4s918ms 10 1 5s46ms 5s46ms 11 2 10s187ms 5s93ms 12 3 15s806ms 5s268ms 13 2 10s947ms 5s473ms 14 1 4s201ms 4s201ms 16 1 4s606ms 4s606ms 17 2 10s180ms 5s90ms 18 2 9s401ms 4s700ms 19 1 4s867ms 4s867ms 20 1 5s59ms 5s59ms 23 1 4s483ms 4s483ms [ User: pubeu - Total duration: 12m24s - Times executed: 146 ]
-
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 = '1421751' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-23 04:09:46 Duration: 13s717ms 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 = '1277031' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-23 00:13:14 Duration: 8s246ms 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 = '1330249' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-23 03:23:12 Duration: 7s949ms Database: ctdprd51 User: pubeu Bind query: yes
13 242 50m19s 1s32ms 1m20s 12s477ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id 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.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 19 17 5 16s930ms 3s386ms May 20 09 3 15s102ms 5s34ms 16 50 8m49s 10s587ms 21 135 31m4s 13s812ms May 22 09 6 21s733ms 3s622ms 10 43 9m31s 13s300ms [ User: pubeu - Total duration: 26m22s - Times executed: 110 ]
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1333164)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id 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.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-05-20 21:33:02 Duration: 1m20s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1333164)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id 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.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-05-20 21:32:49 Duration: 1m7s Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1333164)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id 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.is_not = false AND (d.id = 6) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-05-20 21:32:33 Duration: 51s825ms Database: ctdprd51 User: pubeu Bind query: yes
14 177 4m38s 1s1ms 10s170ms 1s571ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 19 03 1 1s417ms 1s417ms 04 1 1s355ms 1s355ms 12 1 2s943ms 2s943ms 15 1 1s144ms 1s144ms 17 1 1s325ms 1s325ms May 20 00 1 4s951ms 4s951ms 02 1 2s31ms 2s31ms 03 1 1s20ms 1s20ms 11 1 1s219ms 1s219ms 15 1 1s980ms 1s980ms 19 1 1s260ms 1s260ms 20 1 1s750ms 1s750ms 21 1 1s79ms 1s79ms May 21 11 1 10s170ms 10s170ms 12 4 4s858ms 1s214ms 16 1 1s235ms 1s235ms May 22 09 1 1s187ms 1s187ms 11 1 1s13ms 1s13ms 13 1 1s326ms 1s326ms 17 2 4s36ms 2s18ms 19 3 3s752ms 1s250ms 20 8 15s765ms 1s970ms 21 2 3s370ms 1s685ms 22 7 9s745ms 1s392ms 23 3 3s982ms 1s327ms May 23 00 6 7s614ms 1s269ms 01 9 10s712ms 1s190ms 02 9 15s49ms 1s672ms 03 21 34s223ms 1s629ms 04 19 39s892ms 2s99ms 05 16 22s884ms 1s430ms 06 1 1s18ms 1s18ms 07 1 1s212ms 1s212ms 09 2 2s265ms 1s132ms 10 9 13s243ms 1s471ms 12 3 3s622ms 1s207ms 13 2 2s865ms 1s432ms 14 4 5s642ms 1s410ms 15 1 1s29ms 1s29ms 16 4 4s493ms 1s123ms 17 2 2s166ms 1s83ms 19 1 1s44ms 1s44ms 20 6 7s752ms 1s292ms May 24 05 1 1s389ms 1s389ms 06 6 7s927ms 1s321ms 18 1 1s256ms 1s256ms May 25 00 1 1s94ms 1s94ms 08 1 1s81ms 1s81ms 10 1 1s134ms 1s134ms 15 1 1s264ms 1s264ms 17 1 1s259ms 1s259ms 18 1 1s2ms 1s2ms [ User: pubeu - Total duration: 3m14s - Times executed: 122 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1330282') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1330282') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-21 11:54:35 Duration: 10s170ms 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1326114') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1326114') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-20 00:53:42 Duration: 4s951ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1316354') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1316354') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:15:53 Duration: 4s125ms Database: ctdprd51 User: pubeu Bind query: yes
15 175 1h26m43s 1s149ms 6m5s 29s733ms 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 #15
Day Hour Count Duration Avg duration May 19 00 2 6m6s 3m3s 01 2 3m40s 1m50s 02 2 2s531ms 1s265ms 04 3 5m16s 1m45s 05 2 3s684ms 1s842ms 06 2 3m27s 1m43s 07 1 2s399ms 2s399ms 08 2 3s800ms 1s900ms 09 1 1s961ms 1s961ms 10 3 4s614ms 1s538ms 11 2 3s668ms 1s834ms 12 2 3s91ms 1s545ms 14 1 1s997ms 1s997ms 15 1 1s637ms 1s637ms 16 2 4s135ms 2s67ms 17 1 1s329ms 1s329ms 18 3 6m1s 2m 19 2 6s440ms 3s220ms 20 2 4s844ms 2s422ms 23 3 4s319ms 1s439ms May 20 00 2 3s50ms 1s525ms 01 2 3m38s 1m49s 03 2 2s872ms 1s436ms 04 2 2s751ms 1s375ms 05 2 2s926ms 1s463ms 06 1 1s637ms 1s637ms 07 3 5s901ms 1s967ms 08 1 1s373ms 1s373ms 11 1 5m9s 5m9s 12 1 1s425ms 1s425ms 13 3 6s318ms 2s106ms 14 4 8s256ms 2s64ms 16 1 1s364ms 1s364ms 17 1 2s739ms 2s739ms 18 1 1s368ms 1s368ms 20 1 1s538ms 1s538ms 21 2 3s356ms 1s678ms 22 1 1s461ms 1s461ms May 21 00 4 4m52s 1m13s 01 1 1s287ms 1s287ms 03 2 2s933ms 1s466ms 05 1 2s234ms 2s234ms 06 1 1s384ms 1s384ms 09 1 1s812ms 1s812ms 10 3 4s185ms 1s395ms 11 4 6s748ms 1s687ms 16 1 1s428ms 1s428ms 23 1 1s489ms 1s489ms May 22 01 1 3m36s 3m36s 16 5 20m25s 4m5s 17 1 1s956ms 1s956ms 18 1 2s233ms 2s233ms May 23 03 1 3m25s 3m25s 12 1 1s710ms 1s710ms 14 1 2s220ms 2s220ms 15 1 1s366ms 1s366ms 16 2 3s652ms 1s826ms 17 1 1s605ms 1s605ms 18 3 3m46s 1m15s 19 1 3s337ms 3s337ms 20 1 1s569ms 1s569ms 21 1 1s548ms 1s548ms 23 2 3s548ms 1s774ms May 24 00 3 4s844ms 1s614ms 02 3 4s616ms 1s538ms 03 2 2s848ms 1s424ms 04 3 4s819ms 1s606ms 05 1 2s498ms 2s498ms 06 1 7s332ms 7s332ms 11 4 8s638ms 2s159ms 12 1 1s208ms 1s208ms 13 3 4s728ms 1s576ms 14 1 1s350ms 1s350ms 16 2 2s788ms 1s394ms 17 4 5s486ms 1s371ms 18 2 3s164ms 1s582ms 20 1 1s702ms 1s702ms 22 2 4s256ms 2s128ms 23 2 3s617ms 1s808ms May 25 02 3 4s423ms 1s474ms 04 2 4s553ms 2s276ms 06 3 6s148ms 2s49ms 07 2 3m58s 1m59s 08 1 1s592ms 1s592ms 09 1 1s557ms 1s557ms 10 1 1s511ms 1s511ms 12 4 6s267ms 1s566ms 14 1 1s586ms 1s586ms 15 1 1s199ms 1s199ms 16 2 2s869ms 1s434ms 19 1 3m36s 3m36s 20 2 4s978ms 2s489ms 21 1 3s348ms 3s348ms 22 3 5m32s 1m50s [ User: pubeu - Total duration: 58m7s - Times executed: 106 ]
-
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 = '1223120') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-19 00:23:43 Duration: 6m5s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1223120') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-19 18:33:40 Duration: 5m58s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1248003') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-19 04:49:01 Duration: 5m13s Database: ctdprd51 User: pubeu Bind query: yes
16 141 9m7s 1s12ms 23s466ms 3s886ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 19 00 1 2s901ms 2s901ms 02 3 5s275ms 1s758ms 04 2 10s176ms 5s88ms 05 1 18s130ms 18s130ms 09 1 1s658ms 1s658ms 10 2 20s838ms 10s419ms 11 1 1s883ms 1s883ms 12 1 1s480ms 1s480ms 14 4 9s372ms 2s343ms 15 2 9s844ms 4s922ms 17 1 1s211ms 1s211ms 19 1 2s834ms 2s834ms 20 1 1s386ms 1s386ms 21 1 1s256ms 1s256ms 23 3 19s894ms 6s631ms May 20 00 2 6s595ms 3s297ms 01 2 21s836ms 10s918ms 02 2 5s275ms 2s637ms 04 2 9s660ms 4s830ms 06 1 1s13ms 1s13ms 08 3 4s788ms 1s596ms 09 1 1s432ms 1s432ms 10 1 3s546ms 3s546ms 11 1 1s696ms 1s696ms 12 1 1s413ms 1s413ms 13 2 2s805ms 1s402ms 14 1 19s475ms 19s475ms 15 3 8s59ms 2s686ms 16 1 1s535ms 1s535ms 18 1 1s459ms 1s459ms 19 1 3s266ms 3s266ms 20 1 18s512ms 18s512ms 22 2 4s188ms 2s94ms May 21 01 1 1s770ms 1s770ms 03 2 4s694ms 2s347ms 05 2 4s258ms 2s129ms 07 1 1s655ms 1s655ms 08 1 2s614ms 2s614ms 09 1 2s859ms 2s859ms 10 1 7s396ms 7s396ms 11 4 27s983ms 6s995ms 15 1 1s970ms 1s970ms 16 1 2s601ms 2s601ms 18 1 1s540ms 1s540ms 20 1 1s432ms 1s432ms 21 1 4s97ms 4s97ms May 22 00 1 1s35ms 1s35ms 10 1 6s268ms 6s268ms 21 1 1s507ms 1s507ms 22 5 53s216ms 10s643ms May 23 04 2 5s962ms 2s981ms 05 3 11s579ms 3s859ms 12 1 1s519ms 1s519ms 13 3 25s918ms 8s639ms 17 1 1s451ms 1s451ms 18 1 1s260ms 1s260ms 21 1 1s545ms 1s545ms 22 4 12s517ms 3s129ms 23 2 4s501ms 2s250ms May 24 02 1 1s436ms 1s436ms 08 1 2s764ms 2s764ms 09 1 1s507ms 1s507ms 10 1 2s97ms 2s97ms 11 2 2s259ms 1s129ms 13 1 1s423ms 1s423ms 14 2 2s376ms 1s188ms 16 2 3s499ms 1s749ms 17 3 20s448ms 6s816ms 20 1 5s747ms 5s747ms 23 3 4s877ms 1s625ms May 25 00 2 3s28ms 1s514ms 01 1 1s872ms 1s872ms 02 1 1s486ms 1s486ms 03 1 2s567ms 2s567ms 04 1 1s232ms 1s232ms 05 3 4s938ms 1s646ms 07 2 4s276ms 2s138ms 08 1 5s7ms 5s7ms 11 2 9s431ms 4s715ms 12 1 2s582ms 2s582ms 13 1 9s444ms 9s444ms 14 1 1s563ms 1s563ms 16 2 14s327ms 7s163ms 17 1 1s243ms 1s243ms 18 2 2s938ms 1s469ms 19 1 1s492ms 1s492ms 20 2 11s559ms 5s779ms 22 1 2s674ms 2s674ms [ User: pubeu - Total duration: 6m20s - Times executed: 82 ]
-
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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-22 22:30:19 Duration: 23s466ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-22 22:30:21 Duration: 23s237ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-23 13:46:55 Duration: 23s81ms Bind query: yes
17 96 2m18s 1s326ms 3s678ms 1s446ms select t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, t.acc_txt acc, ? || t.nm accquerystr, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term t where t.object_type_id = ? and regexp_replace(upper(substring(t.nm, ?, ?)), ?, ?) = ? order by t.nm_sort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 19 00 3 4s225ms 1s408ms 05 3 4s136ms 1s378ms May 20 02 1 1s429ms 1s429ms 05 2 2s752ms 1s376ms 06 1 1s357ms 1s357ms May 21 00 1 1s418ms 1s418ms 02 1 1s373ms 1s373ms 05 5 6s891ms 1s378ms 06 2 2s735ms 1s367ms 19 1 1s373ms 1s373ms 22 1 1s405ms 1s405ms May 22 00 2 2s730ms 1s365ms 01 1 1s399ms 1s399ms 03 1 1s397ms 1s397ms 04 2 2s747ms 1s373ms 05 2 2s714ms 1s357ms 09 4 5s545ms 1s386ms 10 2 3s167ms 1s583ms 11 2 2s754ms 1s377ms 14 1 1s360ms 1s360ms 19 1 1s379ms 1s379ms 20 1 3s678ms 3s678ms May 23 00 1 1s406ms 1s406ms 02 3 4s608ms 1s536ms 03 1 1s505ms 1s505ms 05 3 4s695ms 1s565ms 09 3 4s266ms 1s422ms 11 2 3s504ms 1s752ms 13 1 1s393ms 1s393ms 16 1 1s420ms 1s420ms 21 2 2s819ms 1s409ms 22 2 2s832ms 1s416ms 23 7 9s858ms 1s408ms May 24 04 2 2s824ms 1s412ms 05 2 2s824ms 1s412ms 06 3 5s9ms 1s669ms 08 1 1s402ms 1s402ms 11 6 8s222ms 1s370ms 20 3 4s198ms 1s399ms 21 1 1s402ms 1s402ms May 25 02 2 2s770ms 1s385ms 03 2 2s811ms 1s405ms 04 1 1s424ms 1s424ms 05 4 5s479ms 1s369ms 08 2 2s752ms 1s376ms 15 1 1s406ms 1s406ms [ User: pubeu - Total duration: 1m4s - Times executed: 43 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-05-22 20:47:15 Duration: 3s678ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-05-23 11:35:43 Duration: 1s960ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-05-24 06:13:28 Duration: 1s934ms Database: ctdprd51 User: pubeu Bind query: yes
18 86 2m 1s149ms 3s62ms 1s397ms 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 #18
Day Hour Count Duration Avg duration May 19 00 1 1s191ms 1s191ms 12 1 1s192ms 1s192ms May 20 12 1 1s230ms 1s230ms May 21 09 1 1s167ms 1s167ms 19 1 1s208ms 1s208ms May 22 02 1 1s212ms 1s212ms 05 1 1s205ms 1s205ms 06 1 1s201ms 1s201ms 10 4 4s901ms 1s225ms 11 2 3s329ms 1s664ms 12 1 1s170ms 1s170ms 13 2 2s551ms 1s275ms 14 1 1s193ms 1s193ms 15 1 1s246ms 1s246ms 16 1 1s318ms 1s318ms 17 1 1s208ms 1s208ms 18 1 1s172ms 1s172ms 19 3 3s829ms 1s276ms 20 3 3s749ms 1s249ms 21 1 1s235ms 1s235ms 22 2 2s983ms 1s491ms 23 4 5s553ms 1s388ms May 23 01 3 3s636ms 1s212ms 02 3 7s907ms 2s635ms 03 1 1s238ms 1s238ms 04 5 8s184ms 1s636ms 05 4 5s632ms 1s408ms 06 1 2s357ms 2s357ms 07 2 2s525ms 1s262ms 08 6 7s327ms 1s221ms 09 3 4s400ms 1s466ms 10 2 2s631ms 1s315ms 11 2 3s297ms 1s648ms 12 3 4s227ms 1s409ms 13 1 1s186ms 1s186ms 14 3 4s320ms 1s440ms 15 2 2s750ms 1s375ms 16 2 3s58ms 1s529ms 19 4 5s692ms 1s423ms May 24 19 1 1s178ms 1s178ms May 25 00 1 1s215ms 1s215ms 12 1 1s149ms 1s149ms 17 1 1s206ms 1s206ms [ User: pubeu - Total duration: 1m29s - Times executed: 63 ]
-
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 = '1984420' or receptorTerm.id = '1984420' 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: 2024-05-23 02:20:32 Duration: 3s62ms 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 = '2063992' or receptorTerm.id = '2063992' 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: 2024-05-23 02:43:13 Duration: 2s632ms 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 = '2043699' or receptorTerm.id = '2043699' 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: 2024-05-23 04:02:01 Duration: 2s619ms Bind query: yes
19 84 2m1s 1s17ms 2s408ms 1s449ms 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 diseaseterm.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 #19
Day Hour Count Duration Avg duration May 19 01 1 1s49ms 1s49ms 07 1 1s624ms 1s624ms 09 1 1s63ms 1s63ms 10 1 1s423ms 1s423ms 14 1 1s631ms 1s631ms 18 1 1s51ms 1s51ms 20 2 3s14ms 1s507ms 21 1 2s344ms 2s344ms 22 1 2s308ms 2s308ms 23 1 1s433ms 1s433ms May 20 00 1 2s380ms 2s380ms 04 1 1s103ms 1s103ms 05 3 3s260ms 1s86ms 06 1 1s366ms 1s366ms 07 1 1s629ms 1s629ms 09 1 1s65ms 1s65ms 10 1 1s33ms 1s33ms 12 2 2s651ms 1s325ms 13 1 1s486ms 1s486ms 16 2 3s440ms 1s720ms 19 2 2s938ms 1s469ms 20 1 2s408ms 2s408ms 21 2 2s590ms 1s295ms May 21 00 1 1s595ms 1s595ms 03 3 4s646ms 1s548ms 05 1 1s19ms 1s19ms 06 1 1s25ms 1s25ms 08 1 1s36ms 1s36ms 09 1 1s440ms 1s440ms 10 1 1s95ms 1s95ms May 22 09 1 1s39ms 1s39ms May 23 06 2 2s484ms 1s242ms 09 1 1s139ms 1s139ms 12 1 1s348ms 1s348ms 14 1 1s75ms 1s75ms 20 1 1s449ms 1s449ms 22 2 2s230ms 1s115ms 23 1 1s277ms 1s277ms May 24 00 2 3s698ms 1s849ms 03 2 3s994ms 1s997ms 04 2 3s838ms 1s919ms 05 2 3s311ms 1s655ms 06 1 1s279ms 1s279ms 08 2 2s659ms 1s329ms 10 1 1s39ms 1s39ms 11 2 2s103ms 1s51ms 13 1 1s73ms 1s73ms 19 1 1s87ms 1s87ms 20 1 1s603ms 1s603ms 21 1 1s359ms 1s359ms 23 1 1s204ms 1s204ms May 25 01 1 1s436ms 1s436ms 04 2 3s360ms 1s680ms 05 3 4s58ms 1s352ms 06 1 2s371ms 2s371ms 08 1 1s197ms 1s197ms 10 1 2s264ms 2s264ms 11 2 2s587ms 1s293ms 14 1 1s586ms 1s586ms 16 1 1s639ms 1s639ms 17 2 3s299ms 1s649ms 22 1 1s484ms 1s484ms [ User: pubeu - Total duration: 1m10s - Times executed: 48 ]
-
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 diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2064774') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-20 20:11:29 Duration: 2s408ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2064774') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-24 03:23:08 Duration: 2s387ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2064774') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-20 00:43:21 Duration: 2s380ms Database: ctdprd51 User: pubeu Bind query: yes
20 73 2m6s 1s10ms 4s769ms 1s730ms 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 diseaseterm.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 ? offset ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 19 01 1 1s440ms 1s440ms 06 1 2s230ms 2s230ms 07 1 2s210ms 2s210ms 08 1 1s354ms 1s354ms 10 1 1s711ms 1s711ms 18 2 3s345ms 1s672ms 21 1 2s308ms 2s308ms 22 1 1s116ms 1s116ms May 20 01 1 2s331ms 2s331ms 04 2 3s656ms 1s828ms 06 1 1s378ms 1s378ms 09 1 1s615ms 1s615ms 10 1 2s335ms 2s335ms 14 1 1s106ms 1s106ms 15 1 1s654ms 1s654ms 16 1 2s328ms 2s328ms 17 1 2s338ms 2s338ms 19 3 8s186ms 2s728ms 20 2 2s616ms 1s308ms 21 1 1s446ms 1s446ms May 21 01 2 3s92ms 1s546ms 03 1 2s148ms 2s148ms 06 2 3s288ms 1s644ms 18 1 1s147ms 1s147ms May 22 09 6 6s302ms 1s50ms May 23 02 2 2s748ms 1s374ms 10 1 1s509ms 1s509ms 14 1 1s436ms 1s436ms 16 1 2s320ms 2s320ms 18 1 2s854ms 2s854ms 19 1 1s90ms 1s90ms 22 1 2s344ms 2s344ms 23 2 3s63ms 1s531ms May 24 00 1 1s313ms 1s313ms 01 2 3s298ms 1s649ms 08 1 1s110ms 1s110ms 09 1 2s299ms 2s299ms 11 2 3s433ms 1s716ms 14 1 1s39ms 1s39ms 16 2 3s315ms 1s657ms 20 1 2s289ms 2s289ms 21 2 4s5ms 2s2ms 22 1 2s259ms 2s259ms May 25 00 2 3s623ms 1s811ms 01 1 1s641ms 1s641ms 11 4 7s417ms 1s854ms 15 2 3s995ms 1s997ms 17 3 5s252ms 1s750ms [ User: pubeu - Total duration: 1m6s - Times executed: 37 ]
-
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 diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2064774') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50 OFFSET 150;
Date: 2024-05-20 19:05:41 Duration: 4s769ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2064774') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50 OFFSET 100;
Date: 2024-05-23 18:28:31 Duration: 2s854ms 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 diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2064774') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50 OFFSET 835200;
Date: 2024-05-24 21:08:59 Duration: 2s619ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m6s 23m6s 23m6s 1 23m6s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 25 18 1 23m6s 23m6s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-05-25 18:59:44 Duration: 23m6s
2 23m6s 23m6s 23m6s 1 23m6s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 25 19 1 23m6s 23m6s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-05-25 19:41:13 Duration: 23m6s
3 15m52s 17m 16m5s 7 1h52m35s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 19 00 1 16m3s 16m3s May 20 00 1 15m52s 15m52s May 21 00 1 15m54s 15m54s May 22 00 1 15m54s 15m54s May 23 00 1 17m 17m May 24 00 1 15m57s 15m57s May 25 00 1 15m52s 15m52s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-23 00:17:02 Duration: 17m
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-19 00:16:05 Duration: 16m3s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-24 00:15:58 Duration: 15m57s
4 9m55s 10m8s 10m1s 3 30m3s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and gcr.id in ( select gcra.gene_chem_reference_id from gene_chem_reference_axn gcra where (gcra.action_degree_type_nm = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 20 03 3 30m3s 10m1s [ User: pubeu - Total duration: 30m3s - Times executed: 3 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ 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 'VEGFA') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'decreases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-05-20 03:06:35 Duration: 10m8s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ 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 'VEGFA') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'decreases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-05-20 03:12:54 Duration: 9m59s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ 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 'VEGFA') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'decreases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-05-20 03:01:24 Duration: 9m55s Database: ctdprd51 User: pubeu Bind query: yes
5 1s70ms 6m21s 35s498ms 24 14m11s 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.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by d.nm_sort, c.nm_sort;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 24 05 3 4s485ms 1s495ms 06 19 13m52s 43s807ms 07 1 14s72ms 14s72ms 17 1 1s70ms 1s70ms [ User: pubeu - Total duration: 14m6s - Times executed: 22 ]
-
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.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2072737') ORDER BY d.nm_sort, c.nm_sort;
Date: 2024-05-24 06:59:28 Duration: 6m21s 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.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2072737') ORDER BY d.nm_sort, c.nm_sort;
Date: 2024-05-24 06:39:19 Duration: 2m30s 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.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2072737') ORDER BY d.nm_sort, c.nm_sort;
Date: 2024-05-24 06:41:33 Duration: 2m14s Database: ctdprd51 User: pubeu Bind query: yes
6 1s4ms 2m6s 31s654ms 7,139 2d14h46m22s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 19 00 115 55m30s 28s962ms 01 115 55m36s 29s16ms 02 113 55m59s 29s731ms 03 112 55m30s 29s740ms 04 114 56m11s 29s570ms 05 67 32m46s 29s346ms 06 1 2s148ms 2s148ms 07 1 11s799ms 11s799ms 08 2 10s279ms 5s139ms 09 30 13m56s 27s895ms 10 111 56m8s 30s345ms 11 108 55m12s 30s674ms 12 111 55m55s 30s229ms 13 111 56m6s 30s324ms 14 107 54m41s 30s670ms 15 110 55m10s 30s92ms 16 110 55m40s 30s364ms 17 112 55m58s 29s985ms 18 109 56m9s 30s913ms 19 110 55m53s 30s489ms 20 111 56m2s 30s293ms 21 109 55m47s 30s711ms 22 108 56m17s 31s269ms 23 110 56m16s 30s691ms May 20 00 108 56m5s 31s164ms 01 107 56m3s 31s431ms 02 107 56m1s 31s418ms 03 106 55m44s 31s551ms 04 108 56m28s 31s373ms 05 66 33m30s 30s459ms 06 1 4s875ms 4s875ms 07 65 34m3s 31s445ms 08 106 56m32s 32s5ms 09 107 54m27s 30s539ms 10 107 55m32s 31s146ms 11 104 55m46s 32s179ms 12 107 56m20s 31s592ms 13 108 56m18s 31s279ms 14 104 55m3s 31s761ms 15 105 56m28s 32s268ms 16 103 55m39s 32s427ms 17 104 56m21s 32s511ms 18 48 27m46s 34s709ms 19 3 25s399ms 8s466ms 20 2 13s876ms 6s938ms 21 1 1s95ms 1s95ms 22 9 14s595ms 1s621ms May 21 00 3 11s18ms 3s672ms 01 1 2s192ms 2s192ms 02 2 9s479ms 4s739ms 03 2 4s363ms 2s181ms 04 4 16s334ms 4s83ms 05 2 24s157ms 12s78ms 06 1 2s684ms 2s684ms 07 1 3s68ms 3s68ms 08 6 15s998ms 2s666ms 09 2 4s977ms 2s488ms 10 3 12s848ms 4s282ms 12 1 6s385ms 6s385ms 13 2 8s121ms 4s60ms 14 2 16s463ms 8s231ms 15 2 13s917ms 6s958ms 17 1 1s731ms 1s731ms 19 1 4s957ms 4s957ms 20 1 2s659ms 2s659ms 22 1 17s406ms 17s406ms 23 1 3s100ms 3s100ms May 22 03 1 2s976ms 2s976ms 09 13 25s647ms 1s972ms 11 1 4s664ms 4s664ms 12 3 4s901ms 1s633ms 13 2 4s364ms 2s182ms 15 1 2s455ms 2s455ms 16 1 4s656ms 4s656ms 18 4 26s655ms 6s663ms 19 65 35m20s 32s618ms 20 92 55m46s 36s371ms 21 99 56m31s 34s256ms 22 99 56m16s 34s104ms 23 99 56m25s 34s199ms May 23 00 96 56m17s 35s186ms 01 96 56m35s 35s365ms 02 88 56m10s 38s303ms 03 88 56m13s 38s336ms 04 86 55m58s 39s47ms 05 57 33m47s 35s564ms 06 1 2s201ms 2s201ms 07 4 8s938ms 2s234ms 08 5 12s429ms 2s485ms 09 54 31m9s 34s613ms 10 95 56m21s 35s597ms 11 94 54m48s 34s988ms 12 99 56m10s 34s41ms 13 91 55m42s 36s726ms 14 93 56m9s 36s227ms 15 101 57m12s 33s983ms 16 97 56m25s 34s906ms 17 99 56m15s 34s100ms 18 98 56m56s 34s867ms 19 101 55m58s 33s257ms 20 97 56m33s 34s988ms 21 101 57m4s 33s909ms 22 99 56m20s 34s142ms 23 100 55m56s 33s560ms May 24 00 98 55m58s 34s265ms 01 98 56m10s 34s396ms 02 100 56m43s 34s39ms 03 105 56m49s 32s467ms 04 98 56m33s 34s625ms 05 61 34m7s 33s564ms 06 4 29s206ms 7s301ms 07 2 4s368ms 2s184ms 08 3 7s742ms 2s580ms 10 5 22s167ms 4s433ms 11 2 6s143ms 3s71ms 12 3 19s946ms 6s648ms 13 6 14s986ms 2s497ms 14 3 10s513ms 3s504ms 15 1 4s845ms 4s845ms 16 2 3s325ms 1s662ms 17 5 20s777ms 4s155ms 18 5 21s422ms 4s284ms 19 3 8s882ms 2s960ms 20 2 7s167ms 3s583ms 21 2 11s300ms 5s650ms 22 2 6s886ms 3s443ms 23 3 10s715ms 3s571ms May 25 00 2 4s308ms 2s154ms 01 3 5s624ms 1s874ms 02 3 8s793ms 2s931ms 03 2 12s554ms 6s277ms 05 5 17s501ms 3s500ms 06 1 2s591ms 2s591ms 07 3 9s65ms 3s21ms 08 3 11s181ms 3s727ms 10 3 20s852ms 6s950ms 11 6 26s521ms 4s420ms 12 4 19s281ms 4s820ms 13 2 4s644ms 2s322ms 14 6 27s148ms 4s524ms 15 1 2s158ms 2s158ms 16 2 4s153ms 2s76ms 17 7 29s215ms 4s173ms 18 2 8s138ms 4s69ms 19 3 8s892ms 2s964ms 20 6 13s586ms 2s264ms 21 3 9s98ms 3s32ms 22 3 11s260ms 3s753ms 23 4 31s558ms 7s889ms [ User: pubeu - Total duration: 2d2h22m46s - Times executed: 5664 ]
-
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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1435200;
Date: 2024-05-23 04:15:18 Duration: 2m6s 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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1427250;
Date: 2024-05-23 02:23:09 Duration: 1m47s 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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1430050;
Date: 2024-05-23 03:01:21 Duration: 1m38s Database: ctdprd51 User: pubeu Bind query: yes
7 1s149ms 6m5s 29s733ms 175 1h26m43s 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 #7
Day Hour Count Duration Avg duration May 19 00 2 6m6s 3m3s 01 2 3m40s 1m50s 02 2 2s531ms 1s265ms 04 3 5m16s 1m45s 05 2 3s684ms 1s842ms 06 2 3m27s 1m43s 07 1 2s399ms 2s399ms 08 2 3s800ms 1s900ms 09 1 1s961ms 1s961ms 10 3 4s614ms 1s538ms 11 2 3s668ms 1s834ms 12 2 3s91ms 1s545ms 14 1 1s997ms 1s997ms 15 1 1s637ms 1s637ms 16 2 4s135ms 2s67ms 17 1 1s329ms 1s329ms 18 3 6m1s 2m 19 2 6s440ms 3s220ms 20 2 4s844ms 2s422ms 23 3 4s319ms 1s439ms May 20 00 2 3s50ms 1s525ms 01 2 3m38s 1m49s 03 2 2s872ms 1s436ms 04 2 2s751ms 1s375ms 05 2 2s926ms 1s463ms 06 1 1s637ms 1s637ms 07 3 5s901ms 1s967ms 08 1 1s373ms 1s373ms 11 1 5m9s 5m9s 12 1 1s425ms 1s425ms 13 3 6s318ms 2s106ms 14 4 8s256ms 2s64ms 16 1 1s364ms 1s364ms 17 1 2s739ms 2s739ms 18 1 1s368ms 1s368ms 20 1 1s538ms 1s538ms 21 2 3s356ms 1s678ms 22 1 1s461ms 1s461ms May 21 00 4 4m52s 1m13s 01 1 1s287ms 1s287ms 03 2 2s933ms 1s466ms 05 1 2s234ms 2s234ms 06 1 1s384ms 1s384ms 09 1 1s812ms 1s812ms 10 3 4s185ms 1s395ms 11 4 6s748ms 1s687ms 16 1 1s428ms 1s428ms 23 1 1s489ms 1s489ms May 22 01 1 3m36s 3m36s 16 5 20m25s 4m5s 17 1 1s956ms 1s956ms 18 1 2s233ms 2s233ms May 23 03 1 3m25s 3m25s 12 1 1s710ms 1s710ms 14 1 2s220ms 2s220ms 15 1 1s366ms 1s366ms 16 2 3s652ms 1s826ms 17 1 1s605ms 1s605ms 18 3 3m46s 1m15s 19 1 3s337ms 3s337ms 20 1 1s569ms 1s569ms 21 1 1s548ms 1s548ms 23 2 3s548ms 1s774ms May 24 00 3 4s844ms 1s614ms 02 3 4s616ms 1s538ms 03 2 2s848ms 1s424ms 04 3 4s819ms 1s606ms 05 1 2s498ms 2s498ms 06 1 7s332ms 7s332ms 11 4 8s638ms 2s159ms 12 1 1s208ms 1s208ms 13 3 4s728ms 1s576ms 14 1 1s350ms 1s350ms 16 2 2s788ms 1s394ms 17 4 5s486ms 1s371ms 18 2 3s164ms 1s582ms 20 1 1s702ms 1s702ms 22 2 4s256ms 2s128ms 23 2 3s617ms 1s808ms May 25 02 3 4s423ms 1s474ms 04 2 4s553ms 2s276ms 06 3 6s148ms 2s49ms 07 2 3m58s 1m59s 08 1 1s592ms 1s592ms 09 1 1s557ms 1s557ms 10 1 1s511ms 1s511ms 12 4 6s267ms 1s566ms 14 1 1s586ms 1s586ms 15 1 1s199ms 1s199ms 16 2 2s869ms 1s434ms 19 1 3m36s 3m36s 20 2 4s978ms 2s489ms 21 1 3s348ms 3s348ms 22 3 5m32s 1m50s [ User: pubeu - Total duration: 58m7s - Times executed: 106 ]
-
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 = '1223120') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-19 00:23:43 Duration: 6m5s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1223120') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-19 18:33:40 Duration: 5m58s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1248003') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-19 04:49:01 Duration: 5m13s Database: ctdprd51 User: pubeu Bind query: yes
8 1s 3m57s 28s473ms 1,072 8h28m43s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 19 19 1 14s797ms 14s797ms May 22 00 1 15s659ms 15s659ms 05 6 1m32s 15s416ms 06 6 1m32s 15s361ms 07 1 14s964ms 14s964ms 08 26 6m24s 14s778ms 09 16 4m8s 15s530ms 10 12 3m17s 16s482ms 11 27 11m8s 24s744ms 12 23 5m55s 15s473ms 13 13 3m25s 15s809ms 14 18 5m10s 17s244ms 15 6 1m28s 14s734ms 16 16 6m46s 25s406ms 17 27 10m59s 24s428ms 18 11 2m47s 15s208ms 19 23 8m8s 21s220ms 20 58 37m53s 39s194ms 21 14 3m54s 16s784ms 22 40 11m36s 17s416ms 23 37 10m4s 16s334ms May 23 00 32 11m24s 21s393ms 01 33 11m18s 20s565ms 02 70 51m 43s726ms 03 56 52m2s 55s762ms 04 64 1h28m13s 1m22s 05 31 9m39s 18s702ms 06 40 10m44s 16s112ms 07 37 10m53s 17s658ms 08 20 4m54s 14s712ms 09 37 13m45s 22s304ms 10 61 18m46s 18s473ms 11 12 2m38s 13s190ms 12 14 3m13s 13s826ms 13 14 3m7s 13s360ms 14 25 12m5s 29s2ms 15 18 4m53s 16s316ms 16 41 37m29s 54s870ms 18 20 7m4s 21s208ms 19 23 5m15s 13s713ms 20 12 2m4s 10s412ms 22 4 1m33s 23s399ms May 24 05 7 2m23s 20s524ms 06 9 4m37s 30s876ms 14 1 14s609ms 14s609ms 19 1 15s609ms 15s609ms 21 1 13s768ms 13s768ms 22 1 15s655ms 15s655ms May 25 00 1 15s793ms 15s793ms 02 1 16s451ms 16s451ms 03 1 14s780ms 14s780ms 05 2 30s588ms 15s294ms 16 1 15s278ms 15s278ms [ User: pubeu - Total duration: 6h38m41s - Times executed: 764 ]
-
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 = '2073291') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 04:15:22 Duration: 3m57s 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 = '2073309') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 04:15:57 Duration: 3m54s 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 = '2073291') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 04:15:44 Duration: 3m52s Database: ctdprd51 User: pubeu Bind query: yes
9 1s224ms 4m6s 26s814ms 299 2h13m37s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 20 19 1 6s803ms 6s803ms 21 2 3s225ms 1s612ms May 21 20 5 2m35s 31s197ms May 22 07 2 10s 5s 08 2 4s562ms 2s281ms 09 2 2s690ms 1s345ms 12 6 1m43s 17s329ms 13 2 9s821ms 4s910ms 14 7 3m16s 28s58ms 15 2 11s107ms 5s553ms 16 2 2s546ms 1s273ms 17 22 5m21s 14s607ms 18 5 1m23s 16s696ms 19 2 2s721ms 1s360ms 20 5 2m31s 30s264ms 21 14 6m22s 27s317ms 22 6 1m54s 19s159ms 23 14 3m26s 14s730ms May 23 00 12 3m48s 19s48ms 02 13 18m4s 1m23s 03 7 9m45s 1m23s 04 32 28m41s 53s806ms 05 18 7m52s 26s253ms 07 10 7m47s 46s735ms 08 6 53s352ms 8s892ms 10 15 3m58s 15s900ms 11 2 10s934ms 5s467ms 12 8 2m18s 17s261ms 13 21 3m23s 9s675ms 14 15 4m36s 18s400ms 15 6 48s607ms 8s101ms 16 6 5m30s 55s89ms 18 6 1m50s 18s430ms 19 7 1m1s 8s827ms 20 11 3m12s 17s509ms May 24 06 1 18s926ms 18s926ms 21 1 1s681ms 1s681ms May 25 16 1 2s368ms 2s368ms [ User: pubeu - Total duration: 1h39m45s - Times executed: 203 ]
-
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 = '2077163') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 02:24:48 Duration: 4m6s 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 = '2077163') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 02:25:03 Duration: 3m54s 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 = '2077163') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 02:25:12 Duration: 3m37s Database: ctdprd51 User: pubeu Bind query: yes
10 1s89ms 2m2s 16s711ms 72 20m3s 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 desc, d.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 22 08 2 8s715ms 4s357ms 13 5 1m23s 16s676ms 15 1 1s98ms 1s98ms 16 2 5s573ms 2s786ms 17 1 1s186ms 1s186ms 21 5 1m18s 15s652ms 22 6 1m49s 18s267ms 23 2 9s236ms 4s618ms May 23 00 10 6m1s 36s166ms 01 2 34s586ms 17s293ms 05 2 6s984ms 3s492ms 07 6 1m30s 15s24ms 09 5 1m9s 13s864ms 10 1 14s741ms 14s741ms 12 2 2s179ms 1s89ms 19 6 1m31s 15s170ms 20 7 1m40s 14s350ms 22 6 1m45s 17s587ms May 24 05 1 29s544ms 29s544ms [ User: pubeu - Total duration: 17m14s - Times executed: 60 ]
-
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 = '2065494') ORDER BY g.nm_sort DESC, d.nm_sort LIMIT 50;
Date: 2024-05-23 00:14:41 Duration: 2m2s 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 = '2065494') ORDER BY g.nm_sort DESC, d.nm_sort LIMIT 50;
Date: 2024-05-23 00:14:18 Duration: 55s853ms 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 = '2069471') ORDER BY g.nm_sort DESC, d.nm_sort LIMIT 50;
Date: 2024-05-22 22:27:07 Duration: 37s989ms Database: ctdprd51 User: pubeu Bind query: yes
11 1s7ms 11m56s 13s789ms 295 1h7m47s 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 #11
Day Hour Count Duration Avg duration May 19 02 1 1s249ms 1s249ms 22 2 3s247ms 1s623ms May 20 02 1 1s456ms 1s456ms 18 36 2m50s 4s725ms 20 2 6s940ms 3s470ms 21 39 53m56s 1m22s 22 2 6s458ms 3s229ms May 21 07 3 6s534ms 2s178ms 08 10 21s750ms 2s175ms 09 3 5s172ms 1s724ms 18 1 7s290ms 7s290ms 22 1 3s157ms 3s157ms May 22 04 1 3s282ms 3s282ms 05 1 3s192ms 3s192ms 09 2 3s706ms 1s853ms 10 4 7s441ms 1s860ms 12 9 12s951ms 1s439ms 13 6 6s873ms 1s145ms 20 7 10s527ms 1s503ms 21 24 1m2s 2s619ms 22 8 20s793ms 2s599ms 23 6 9s441ms 1s573ms May 23 03 1 2s47ms 2s47ms 04 31 2m34s 4s980ms 10 1 1s40ms 1s40ms 12 14 33s667ms 2s404ms 13 15 1m50s 7s399ms 14 16 36s587ms 2s286ms 15 1 1s20ms 1s20ms 17 6 11s219ms 1s869ms 18 1 1s488ms 1s488ms 19 6 12s684ms 2s114ms May 24 04 8 9s527ms 1s190ms 05 2 13s165ms 6s582ms 06 16 52s396ms 3s274ms 09 1 3s292ms 3s292ms 14 1 3s270ms 3s270ms May 25 08 1 1s402ms 1s402ms 10 1 1s665ms 1s665ms 17 1 3s219ms 3s219ms 19 2 2s630ms 1s315ms 22 1 1s437ms 1s437ms [ User: pubeu - Total duration: 1h3m12s - Times executed: 222 ]
-
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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-20 21:23:55 Duration: 11m56s 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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-20 21:23:54 Duration: 11m56s 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 = '2072726') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-20 21:30:56 Duration: 7m1s Database: ctdprd51 User: pubeu Bind query: yes
12 1s32ms 1m20s 12s477ms 242 50m19s select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id 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.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 19 17 5 16s930ms 3s386ms May 20 09 3 15s102ms 5s34ms 16 50 8m49s 10s587ms 21 135 31m4s 13s812ms May 22 09 6 21s733ms 3s622ms 10 43 9m31s 13s300ms [ User: pubeu - Total duration: 26m22s - Times executed: 110 ]
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1333164)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id 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.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-05-20 21:33:02 Duration: 1m20s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1333164)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id 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.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-05-20 21:32:49 Duration: 1m7s Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1333164)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id 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.is_not = false AND (d.id = 6) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-05-20 21:32:33 Duration: 51s825ms Database: ctdprd51 User: pubeu Bind query: yes
13 1s 13s717ms 5s10ms 279 23m18s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 19 02 1 5s621ms 5s621ms 04 3 15s979ms 5s326ms 06 1 5s176ms 5s176ms 10 1 1s8ms 1s8ms 17 2 11s24ms 5s512ms 19 1 5s684ms 5s684ms 21 1 5s742ms 5s742ms May 20 08 2 11s 5s500ms 09 2 11s258ms 5s629ms 10 1 1s39ms 1s39ms 12 1 5s436ms 5s436ms 13 1 5s547ms 5s547ms 14 2 11s219ms 5s609ms 15 1 5s703ms 5s703ms 16 2 11s281ms 5s640ms 18 2 6s561ms 3s280ms 19 6 31s125ms 5s187ms 20 1 1s11ms 1s11ms 21 2 12s364ms 6s182ms 22 4 22s687ms 5s671ms 23 3 15s791ms 5s263ms May 21 01 3 17s559ms 5s853ms 02 1 5s112ms 5s112ms 03 2 10s439ms 5s219ms 04 2 10s544ms 5s272ms 05 3 16s132ms 5s377ms 06 2 10s379ms 5s189ms 07 2 6s458ms 3s229ms 09 6 31s449ms 5s241ms 10 2 10s570ms 5s285ms 11 1 5s282ms 5s282ms 13 1 4s899ms 4s899ms 14 1 4s171ms 4s171ms 15 2 9s640ms 4s820ms 16 2 10s792ms 5s396ms 17 1 5s36ms 5s36ms 18 2 10s599ms 5s299ms 19 1 4s616ms 4s616ms 20 4 19s76ms 4s769ms 21 5 26s276ms 5s255ms 22 6 30s728ms 5s121ms 23 2 10s815ms 5s407ms May 22 00 3 15s689ms 5s229ms 01 1 5s611ms 5s611ms 03 2 10s324ms 5s162ms 04 4 12s886ms 3s221ms 05 1 5s245ms 5s245ms 06 1 1s8ms 1s8ms 09 3 11s767ms 3s922ms 10 2 10s700ms 5s350ms 12 1 5s199ms 5s199ms 13 5 23s169ms 4s633ms 14 4 12s612ms 3s153ms 15 2 9s871ms 4s935ms 16 3 11s620ms 3s873ms 18 3 14s520ms 4s840ms 20 2 11s729ms 5s864ms 21 5 29s249ms 5s849ms 22 5 29s54ms 5s810ms May 23 00 5 31s310ms 6s262ms 01 2 12s43ms 6s21ms 02 3 12s527ms 4s175ms 03 7 45s521ms 6s503ms 04 3 25s959ms 8s653ms 05 4 25s219ms 6s304ms 06 4 22s669ms 5s667ms 07 5 28s833ms 5s766ms 08 3 16s360ms 5s453ms 09 1 5s115ms 5s115ms 10 3 12s727ms 4s242ms 12 4 18s637ms 4s659ms 13 7 34s359ms 4s908ms 15 3 4s8ms 1s336ms 16 2 12s59ms 6s29ms 17 3 16s592ms 5s530ms 18 3 12s668ms 4s222ms 19 2 2s559ms 1s279ms 20 2 11s752ms 5s876ms 21 1 5s753ms 5s753ms 22 1 5s506ms 5s506ms 23 2 6s514ms 3s257ms May 24 01 2 10s830ms 5s415ms 02 1 5s736ms 5s736ms 03 1 5s467ms 5s467ms 04 2 10s431ms 5s215ms 05 2 2s219ms 1s109ms 10 5 21s804ms 4s360ms 11 1 4s660ms 4s660ms 13 1 4s505ms 4s505ms 14 1 5s77ms 5s77ms 15 1 5s379ms 5s379ms 18 1 4s801ms 4s801ms 20 2 10s431ms 5s215ms 21 2 10s230ms 5s115ms 22 2 10s374ms 5s187ms 23 3 14s200ms 4s733ms May 25 00 7 35s125ms 5s17ms 01 3 15s136ms 5s45ms 03 2 10s624ms 5s312ms 04 8 39s935ms 4s991ms 05 1 4s680ms 4s680ms 06 1 5s29ms 5s29ms 07 1 5s87ms 5s87ms 08 4 19s675ms 4s918ms 10 1 5s46ms 5s46ms 11 2 10s187ms 5s93ms 12 3 15s806ms 5s268ms 13 2 10s947ms 5s473ms 14 1 4s201ms 4s201ms 16 1 4s606ms 4s606ms 17 2 10s180ms 5s90ms 18 2 9s401ms 4s700ms 19 1 4s867ms 4s867ms 20 1 5s59ms 5s59ms 23 1 4s483ms 4s483ms [ User: pubeu - Total duration: 12m24s - Times executed: 146 ]
-
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 = '1421751' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-23 04:09:46 Duration: 13s717ms 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 = '1277031' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-23 00:13:14 Duration: 8s246ms 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 = '1330249' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-23 03:23:12 Duration: 7s949ms Database: ctdprd51 User: pubeu Bind query: yes
14 3s620ms 19s60ms 4s119ms 286 19m38s 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 #14
Day Hour Count Duration Avg duration May 19 01 3 11s973ms 3s991ms 02 1 4s7ms 4s7ms 04 2 8s68ms 4s34ms 06 1 3s860ms 3s860ms 09 1 3s963ms 3s963ms 10 2 7s707ms 3s853ms 12 1 3s953ms 3s953ms 14 3 12s62ms 4s20ms 16 3 11s858ms 3s952ms 17 2 7s954ms 3s977ms 20 4 16s33ms 4s8ms 22 1 3s856ms 3s856ms 23 1 3s908ms 3s908ms May 20 00 2 7s957ms 3s978ms 01 1 3s945ms 3s945ms 02 4 16s130ms 4s32ms 03 1 4s153ms 4s153ms 04 3 12s34ms 4s11ms 06 3 11s477ms 3s825ms 08 2 8s233ms 4s116ms 09 3 12s233ms 4s77ms 11 2 8s362ms 4s181ms 12 2 8s160ms 4s80ms 13 2 7s709ms 3s854ms 19 1 4s9ms 4s9ms 20 1 3s920ms 3s920ms 22 2 8s29ms 4s14ms 23 2 7s624ms 3s812ms May 21 01 5 19s527ms 3s905ms 02 11 43s506ms 3s955ms 03 3 11s832ms 3s944ms 04 12 47s353ms 3s946ms 05 1 3s897ms 3s897ms 07 3 12s166ms 4s55ms 08 2 8s431ms 4s215ms 09 1 4s322ms 4s322ms 11 2 7s683ms 3s841ms 13 3 11s908ms 3s969ms 15 1 4s9ms 4s9ms 16 3 11s719ms 3s906ms 17 1 4s31ms 4s31ms 19 1 3s934ms 3s934ms 21 1 3s980ms 3s980ms 22 2 7s851ms 3s925ms 23 3 11s985ms 3s995ms May 22 00 3 11s774ms 3s924ms 01 2 8s28ms 4s14ms 02 2 7s844ms 3s922ms 03 4 16s221ms 4s55ms 04 1 4s252ms 4s252ms 06 1 3s947ms 3s947ms 08 2 7s754ms 3s877ms 09 4 16s336ms 4s84ms 10 5 20s31ms 4s6ms 11 4 16s821ms 4s205ms 12 1 3s995ms 3s995ms 13 3 12s165ms 4s55ms 14 2 8s348ms 4s174ms 15 4 16s182ms 4s45ms 17 1 4s672ms 4s672ms 19 1 3s969ms 3s969ms 20 2 8s807ms 4s403ms 21 3 13s512ms 4s504ms 22 5 23s131ms 4s626ms 23 1 4s12ms 4s12ms May 23 00 1 4s257ms 4s257ms 01 1 5s568ms 5s568ms 03 2 8s707ms 4s353ms 04 2 15s407ms 7s703ms 05 5 21s129ms 4s225ms 06 5 20s855ms 4s171ms 07 11 1m 5s535ms 08 2 7s981ms 3s990ms 09 2 8s22ms 4s11ms 12 2 8s688ms 4s344ms 13 1 3s956ms 3s956ms 14 2 8s349ms 4s174ms 15 2 8s4ms 4s2ms 22 1 3s991ms 3s991ms 23 1 3s917ms 3s917ms May 24 01 1 4s6ms 4s6ms 02 1 4s232ms 4s232ms 03 2 7s908ms 3s954ms 04 1 4s21ms 4s21ms 05 1 4s242ms 4s242ms 07 2 8s61ms 4s30ms 09 4 15s996ms 3s999ms 10 3 11s987ms 3s995ms 11 5 19s968ms 3s993ms 12 1 3s941ms 3s941ms 13 2 7s854ms 3s927ms 14 1 4s77ms 4s77ms 17 5 20s252ms 4s50ms 18 1 3s894ms 3s894ms 19 1 3s995ms 3s995ms 22 1 3s850ms 3s850ms May 25 00 1 4s72ms 4s72ms 01 3 11s682ms 3s894ms 02 1 3s884ms 3s884ms 04 12 50s756ms 4s229ms 05 7 27s642ms 3s948ms 06 9 35s559ms 3s951ms 07 1 3s842ms 3s842ms 08 1 3s823ms 3s823ms 10 2 7s858ms 3s929ms 11 1 3s956ms 3s956ms 12 4 15s779ms 3s944ms 14 1 3s780ms 3s780ms 15 2 7s688ms 3s844ms 16 1 3s864ms 3s864ms 18 1 3s889ms 3s889ms 20 1 3s773ms 3s773ms 22 3 11s579ms 3s859ms 23 1 3s690ms 3s690ms [ User: pubeu - Total duration: 10m50s - Times executed: 155 ]
-
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 = '1316678') 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 = '1316678') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-23 07:27:51 Duration: 19s60ms 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 = '1278535') 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 = '1278535') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-23 04:06:00 Duration: 9s384ms 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 = '1263473') 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 = '1263473') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-25 04:45:53 Duration: 7s50ms Bind query: yes
15 1s12ms 23s466ms 3s886ms 141 9m7s select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 19 00 1 2s901ms 2s901ms 02 3 5s275ms 1s758ms 04 2 10s176ms 5s88ms 05 1 18s130ms 18s130ms 09 1 1s658ms 1s658ms 10 2 20s838ms 10s419ms 11 1 1s883ms 1s883ms 12 1 1s480ms 1s480ms 14 4 9s372ms 2s343ms 15 2 9s844ms 4s922ms 17 1 1s211ms 1s211ms 19 1 2s834ms 2s834ms 20 1 1s386ms 1s386ms 21 1 1s256ms 1s256ms 23 3 19s894ms 6s631ms May 20 00 2 6s595ms 3s297ms 01 2 21s836ms 10s918ms 02 2 5s275ms 2s637ms 04 2 9s660ms 4s830ms 06 1 1s13ms 1s13ms 08 3 4s788ms 1s596ms 09 1 1s432ms 1s432ms 10 1 3s546ms 3s546ms 11 1 1s696ms 1s696ms 12 1 1s413ms 1s413ms 13 2 2s805ms 1s402ms 14 1 19s475ms 19s475ms 15 3 8s59ms 2s686ms 16 1 1s535ms 1s535ms 18 1 1s459ms 1s459ms 19 1 3s266ms 3s266ms 20 1 18s512ms 18s512ms 22 2 4s188ms 2s94ms May 21 01 1 1s770ms 1s770ms 03 2 4s694ms 2s347ms 05 2 4s258ms 2s129ms 07 1 1s655ms 1s655ms 08 1 2s614ms 2s614ms 09 1 2s859ms 2s859ms 10 1 7s396ms 7s396ms 11 4 27s983ms 6s995ms 15 1 1s970ms 1s970ms 16 1 2s601ms 2s601ms 18 1 1s540ms 1s540ms 20 1 1s432ms 1s432ms 21 1 4s97ms 4s97ms May 22 00 1 1s35ms 1s35ms 10 1 6s268ms 6s268ms 21 1 1s507ms 1s507ms 22 5 53s216ms 10s643ms May 23 04 2 5s962ms 2s981ms 05 3 11s579ms 3s859ms 12 1 1s519ms 1s519ms 13 3 25s918ms 8s639ms 17 1 1s451ms 1s451ms 18 1 1s260ms 1s260ms 21 1 1s545ms 1s545ms 22 4 12s517ms 3s129ms 23 2 4s501ms 2s250ms May 24 02 1 1s436ms 1s436ms 08 1 2s764ms 2s764ms 09 1 1s507ms 1s507ms 10 1 2s97ms 2s97ms 11 2 2s259ms 1s129ms 13 1 1s423ms 1s423ms 14 2 2s376ms 1s188ms 16 2 3s499ms 1s749ms 17 3 20s448ms 6s816ms 20 1 5s747ms 5s747ms 23 3 4s877ms 1s625ms May 25 00 2 3s28ms 1s514ms 01 1 1s872ms 1s872ms 02 1 1s486ms 1s486ms 03 1 2s567ms 2s567ms 04 1 1s232ms 1s232ms 05 3 4s938ms 1s646ms 07 2 4s276ms 2s138ms 08 1 5s7ms 5s7ms 11 2 9s431ms 4s715ms 12 1 2s582ms 2s582ms 13 1 9s444ms 9s444ms 14 1 1s563ms 1s563ms 16 2 14s327ms 7s163ms 17 1 1s243ms 1s243ms 18 2 2s938ms 1s469ms 19 1 1s492ms 1s492ms 20 2 11s559ms 5s779ms 22 1 2s674ms 2s674ms [ User: pubeu - Total duration: 6m20s - Times executed: 82 ]
-
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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-22 22:30:19 Duration: 23s466ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-22 22:30:21 Duration: 23s237ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-23 13:46:55 Duration: 23s81ms Bind query: yes
16 1s3ms 12s767ms 3s432ms 639 36m33s 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 May 19 00 3 3s825ms 1s275ms 01 9 23s716ms 2s635ms 02 5 21s557ms 4s311ms 03 4 13s954ms 3s488ms 04 10 35s529ms 3s552ms 05 4 13s152ms 3s288ms 06 7 19s449ms 2s778ms 07 1 4s572ms 4s572ms 08 4 7s505ms 1s876ms 09 2 4s6ms 2s3ms 10 4 14s902ms 3s725ms 11 3 11s125ms 3s708ms 12 3 10s179ms 3s393ms 13 2 18s830ms 9s415ms 14 2 4s139ms 2s69ms 15 5 14s516ms 2s903ms 16 3 14s863ms 4s954ms 17 6 23s654ms 3s942ms 18 6 10s220ms 1s703ms 19 3 15s538ms 5s179ms 20 4 7s150ms 1s787ms 21 10 44s607ms 4s460ms 22 4 6s523ms 1s630ms 23 3 12s305ms 4s101ms May 20 00 10 28s988ms 2s898ms 01 5 15s144ms 3s28ms 02 7 31s579ms 4s511ms 03 3 12s166ms 4s55ms 04 6 39s465ms 6s577ms 05 7 26s128ms 3s732ms 06 6 13s251ms 2s208ms 07 5 20s710ms 4s142ms 08 5 14s829ms 2s965ms 09 5 20s104ms 4s20ms 10 2 3s380ms 1s690ms 11 4 7s6ms 1s751ms 12 4 11s419ms 2s854ms 13 2 6s254ms 3s127ms 14 3 8s584ms 2s861ms 15 3 6s233ms 2s77ms 16 4 11s553ms 2s888ms 17 2 7s220ms 3s610ms 18 6 22s772ms 3s795ms 19 9 46s615ms 5s179ms 20 6 22s968ms 3s828ms 21 7 26s917ms 3s845ms 22 6 31s710ms 5s285ms 23 3 5s421ms 1s807ms May 21 00 5 21s239ms 4s247ms 01 4 13s454ms 3s363ms 02 5 8s189ms 1s637ms 03 1 2s121ms 2s121ms 04 4 14s953ms 3s738ms 05 7 23s575ms 3s367ms 06 7 33s297ms 4s756ms 07 5 18s131ms 3s626ms 08 2 5s48ms 2s524ms 09 4 7s445ms 1s861ms 10 3 5s282ms 1s760ms 11 8 32s141ms 4s17ms 13 2 2s427ms 1s213ms 20 1 4s626ms 4s626ms 23 1 1s380ms 1s380ms May 22 03 1 2s251ms 2s251ms 04 1 1s220ms 1s220ms 09 5 7s569ms 1s513ms 10 1 5s382ms 5s382ms 12 1 5s754ms 5s754ms 13 3 14s851ms 4s950ms 15 3 5s967ms 1s989ms 16 1 6s535ms 6s535ms 17 1 1s987ms 1s987ms 18 1 4s827ms 4s827ms 22 3 3s945ms 1s315ms May 23 01 1 3s233ms 3s233ms 03 2 4s277ms 2s138ms 04 7 46s938ms 6s705ms 05 1 2s149ms 2s149ms 06 5 12s483ms 2s496ms 07 2 11s445ms 5s722ms 08 2 8s945ms 4s472ms 09 2 6s238ms 3s119ms 10 2 4s480ms 2s240ms 11 1 1s485ms 1s485ms 12 9 25s661ms 2s851ms 13 4 22s986ms 5s746ms 14 10 33s262ms 3s326ms 15 5 21s630ms 4s326ms 16 4 20s777ms 5s194ms 17 5 16s846ms 3s369ms 18 2 4s359ms 2s179ms 19 6 20s447ms 3s407ms 20 3 4s711ms 1s570ms 21 5 15s535ms 3s107ms 22 6 14s937ms 2s489ms 23 10 48s75ms 4s807ms May 24 00 5 17s102ms 3s420ms 01 4 19s13ms 4s753ms 02 5 23s967ms 4s793ms 03 3 8s167ms 2s722ms 04 5 14s869ms 2s973ms 05 8 32s542ms 4s67ms 06 5 19s21ms 3s804ms 07 2 10s500ms 5s250ms 08 6 15s355ms 2s559ms 09 2 13s414ms 6s707ms 10 9 31s306ms 3s478ms 11 4 9s14ms 2s253ms 12 4 7s264ms 1s816ms 13 3 10s696ms 3s565ms 14 5 19s255ms 3s851ms 15 1 1s419ms 1s419ms 16 6 14s11ms 2s335ms 17 4 12s923ms 3s230ms 18 7 11s142ms 1s591ms 19 2 4s87ms 2s43ms 20 2 7s174ms 3s587ms 21 6 20s302ms 3s383ms 22 3 6s766ms 2s255ms 23 6 9s69ms 1s511ms May 25 00 8 33s983ms 4s247ms 01 7 27s872ms 3s981ms 02 7 19s163ms 2s737ms 03 5 15s785ms 3s157ms 04 12 56s998ms 4s749ms 05 2 2s498ms 1s249ms 06 6 18s223ms 3s37ms 07 3 12s496ms 4s165ms 08 9 33s91ms 3s676ms 09 5 13s897ms 2s779ms 10 3 7s317ms 2s439ms 11 7 30s658ms 4s379ms 12 10 31s419ms 3s141ms 13 9 29s390ms 3s265ms 14 4 13s160ms 3s290ms 15 3 6s180ms 2s60ms 16 3 4s790ms 1s596ms 17 9 30s637ms 3s404ms 18 2 2s952ms 1s476ms 19 2 11s100ms 5s550ms 20 1 4s984ms 4s984ms 21 6 17s532ms 2s922ms 22 7 23s731ms 3s390ms 23 1 6s219ms 6s219ms [ User: pubeu - Total duration: 21m33s - Times executed: 364 ]
-
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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 13:04:03 Duration: 12s767ms 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 = '2072801') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-23 04:04:59 Duration: 12s597ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-20 04:03:21 Duration: 12s220ms Database: ctdprd51 User: pubeu Bind query: yes
17 1s 7s363ms 2s502ms 686 28m36s 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 #17
Day Hour Count Duration Avg duration May 19 05 1 5s340ms 5s340ms 10 1 2s256ms 2s256ms 18 1 2s250ms 2s250ms May 20 10 1 2s979ms 2s979ms 14 1 1s172ms 1s172ms 21 1 1s15ms 1s15ms May 21 00 1 2s34ms 2s34ms May 22 14 1 1s55ms 1s55ms 16 5 10s51ms 2s10ms 17 4 15s63ms 3s765ms 19 2 4s514ms 2s257ms 20 9 22s818ms 2s535ms 21 3 4s748ms 1s582ms 22 2 2s487ms 1s243ms 23 7 16s165ms 2s309ms May 23 00 8 13s114ms 1s639ms 01 317 15m19s 2s899ms 02 105 3m51s 2s200ms 03 27 1m8s 2s518ms 04 34 1m17s 2s279ms 05 44 1m47s 2s440ms 06 11 16s807ms 1s527ms 07 2 2s286ms 1s143ms 08 5 8s106ms 1s621ms 09 5 6s498ms 1s299ms 10 6 10s559ms 1s759ms 11 6 11s112ms 1s852ms 12 4 7s996ms 1s999ms 13 11 14s800ms 1s345ms 14 6 14s981ms 2s496ms 15 7 9s362ms 1s337ms 16 20 49s23ms 2s451ms 17 1 2s265ms 2s265ms 18 8 17s614ms 2s201ms 19 6 12s115ms 2s19ms 20 9 13s822ms 1s535ms 22 2 4s954ms 2s477ms May 24 19 1 2s108ms 2s108ms May 25 11 1 2s79ms 2s79ms [ User: pubeu - Total duration: 22m4s - Times executed: 510 ]
-
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 = '534590' 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 = '534590') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-05-23 01:40:02 Duration: 7s363ms 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 = '669170' 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 = '669170') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-05-23 01:40:02 Duration: 7s195ms 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 = '211093' 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 = '211093') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-05-23 01:40:02 Duration: 7s177ms Database: ctdprd51 User: pubeu Bind query: yes
18 1s 11s655ms 2s398ms 1,265 50m33s select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 20 19 6 12s150ms 2s25ms 21 3 7s11ms 2s337ms May 22 10 3 3s980ms 1s326ms 11 3 5s249ms 1s749ms 13 1 2s290ms 2s290ms 16 18 35s191ms 1s955ms 17 3 9s896ms 3s298ms 19 21 52s5ms 2s476ms 20 76 4m9s 3s279ms 21 24 1m3s 2s663ms 22 26 55s381ms 2s130ms 23 22 41s458ms 1s884ms May 23 00 47 1m25s 1s818ms 01 54 1m51s 2s69ms 02 118 5m24s 2s747ms 03 122 5m4s 2s498ms 04 167 8m34s 3s82ms 05 35 1m17s 2s221ms 06 11 22s146ms 2s13ms 07 18 44s171ms 2s453ms 08 11 18s361ms 1s669ms 09 23 48s381ms 2s103ms 10 51 1m58s 2s314ms 11 10 20s933ms 2s93ms 12 25 43s189ms 1s727ms 13 33 53s650ms 1s625ms 14 39 1m18s 2s6ms 15 27 47s775ms 1s769ms 16 59 2m23s 2s437ms 17 4 6s857ms 1s714ms 18 26 56s249ms 2s163ms 19 17 28s627ms 1s683ms 20 22 38s242ms 1s738ms 21 2 4s704ms 2s352ms 22 4 6s684ms 1s671ms 23 1 1s72ms 1s72ms May 24 05 67 2m21s 2s113ms 06 64 2m30s 2s348ms 07 2 4s433ms 2s216ms [ User: pubeu - Total duration: 35m49s - Times executed: 900 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2069554');
Date: 2024-05-23 04:13:10 Duration: 11s655ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2072663');
Date: 2024-05-23 04:13:37 Duration: 11s616ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2074106');
Date: 2024-05-23 04:13:28 Duration: 10s675ms Bind query: yes
19 1s10ms 4s769ms 1s730ms 73 2m6s 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 diseaseterm.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 ? offset ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 19 01 1 1s440ms 1s440ms 06 1 2s230ms 2s230ms 07 1 2s210ms 2s210ms 08 1 1s354ms 1s354ms 10 1 1s711ms 1s711ms 18 2 3s345ms 1s672ms 21 1 2s308ms 2s308ms 22 1 1s116ms 1s116ms May 20 01 1 2s331ms 2s331ms 04 2 3s656ms 1s828ms 06 1 1s378ms 1s378ms 09 1 1s615ms 1s615ms 10 1 2s335ms 2s335ms 14 1 1s106ms 1s106ms 15 1 1s654ms 1s654ms 16 1 2s328ms 2s328ms 17 1 2s338ms 2s338ms 19 3 8s186ms 2s728ms 20 2 2s616ms 1s308ms 21 1 1s446ms 1s446ms May 21 01 2 3s92ms 1s546ms 03 1 2s148ms 2s148ms 06 2 3s288ms 1s644ms 18 1 1s147ms 1s147ms May 22 09 6 6s302ms 1s50ms May 23 02 2 2s748ms 1s374ms 10 1 1s509ms 1s509ms 14 1 1s436ms 1s436ms 16 1 2s320ms 2s320ms 18 1 2s854ms 2s854ms 19 1 1s90ms 1s90ms 22 1 2s344ms 2s344ms 23 2 3s63ms 1s531ms May 24 00 1 1s313ms 1s313ms 01 2 3s298ms 1s649ms 08 1 1s110ms 1s110ms 09 1 2s299ms 2s299ms 11 2 3s433ms 1s716ms 14 1 1s39ms 1s39ms 16 2 3s315ms 1s657ms 20 1 2s289ms 2s289ms 21 2 4s5ms 2s2ms 22 1 2s259ms 2s259ms May 25 00 2 3s623ms 1s811ms 01 1 1s641ms 1s641ms 11 4 7s417ms 1s854ms 15 2 3s995ms 1s997ms 17 3 5s252ms 1s750ms [ User: pubeu - Total duration: 1m6s - Times executed: 37 ]
-
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 diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2064774') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50 OFFSET 150;
Date: 2024-05-20 19:05:41 Duration: 4s769ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2064774') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50 OFFSET 100;
Date: 2024-05-23 18:28:31 Duration: 2s854ms 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 diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2064774') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50 OFFSET 835200;
Date: 2024-05-24 21:08:59 Duration: 2s619ms Bind query: yes
20 1s1ms 10s170ms 1s571ms 177 4m38s select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 19 03 1 1s417ms 1s417ms 04 1 1s355ms 1s355ms 12 1 2s943ms 2s943ms 15 1 1s144ms 1s144ms 17 1 1s325ms 1s325ms May 20 00 1 4s951ms 4s951ms 02 1 2s31ms 2s31ms 03 1 1s20ms 1s20ms 11 1 1s219ms 1s219ms 15 1 1s980ms 1s980ms 19 1 1s260ms 1s260ms 20 1 1s750ms 1s750ms 21 1 1s79ms 1s79ms May 21 11 1 10s170ms 10s170ms 12 4 4s858ms 1s214ms 16 1 1s235ms 1s235ms May 22 09 1 1s187ms 1s187ms 11 1 1s13ms 1s13ms 13 1 1s326ms 1s326ms 17 2 4s36ms 2s18ms 19 3 3s752ms 1s250ms 20 8 15s765ms 1s970ms 21 2 3s370ms 1s685ms 22 7 9s745ms 1s392ms 23 3 3s982ms 1s327ms May 23 00 6 7s614ms 1s269ms 01 9 10s712ms 1s190ms 02 9 15s49ms 1s672ms 03 21 34s223ms 1s629ms 04 19 39s892ms 2s99ms 05 16 22s884ms 1s430ms 06 1 1s18ms 1s18ms 07 1 1s212ms 1s212ms 09 2 2s265ms 1s132ms 10 9 13s243ms 1s471ms 12 3 3s622ms 1s207ms 13 2 2s865ms 1s432ms 14 4 5s642ms 1s410ms 15 1 1s29ms 1s29ms 16 4 4s493ms 1s123ms 17 2 2s166ms 1s83ms 19 1 1s44ms 1s44ms 20 6 7s752ms 1s292ms May 24 05 1 1s389ms 1s389ms 06 6 7s927ms 1s321ms 18 1 1s256ms 1s256ms May 25 00 1 1s94ms 1s94ms 08 1 1s81ms 1s81ms 10 1 1s134ms 1s134ms 15 1 1s264ms 1s264ms 17 1 1s259ms 1s259ms 18 1 1s2ms 1s2ms [ User: pubeu - Total duration: 3m14s - Times executed: 122 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1330282') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1330282') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-21 11:54:35 Duration: 10s170ms 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1326114') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1326114') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-20 00:53:42 Duration: 4s951ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1316354') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1316354') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-23 04:15:53 Duration: 4s125ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 25s 1 25s 25s 25s SELECT /* ChemGeneIxnsDAO */ ;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration May 25 03 1 25s 25s -
SELECT /* ChemGeneIxnsDAO */ ;
Date: 2024-05-23 03:00:22 Duration: 25s Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1m45s 92 1s2ms 1s423ms 1s148ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration May 25 11 8 9s697ms 1s212ms 14 2 2s262ms 1s131ms 17 8 8s719ms 1s89ms 19 6 7s778ms 1s296ms 20 6 6s940ms 1s156ms 21 4 4s164ms 1s41ms 22 4 4s716ms 1s179ms May 25 00 1 1s84ms 1s84ms 01 3 3s309ms 1s103ms 02 8 9s268ms 1s158ms 03 4 4s540ms 1s135ms 04 10 10s731ms 1s73ms 05 4 4s430ms 1s107ms 08 2 2s87ms 1s43ms 09 2 2s175ms 1s87ms 10 4 4s827ms 1s206ms 14 6 6s861ms 1s143ms 16 6 7s102ms 1s183ms 22 4 4s981ms 1s245ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-05-23 22:13:49 Duration: 1s423ms Database: postgres parameters: $1 = '2027116', $2 = '2027116'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-05-22 11:51:50 Duration: 1s414ms Database: postgres parameters: $1 = '1213402', $2 = '1213402'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-05-22 19:06:43 Duration: 1s381ms Database: postgres parameters: $1 = '2075193', $2 = '2075193'
2 11s951ms 11 1s21ms 1s170ms 1s86ms SELECT /* GeneDiseaseRefsDAO */ ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 19 2 2s136ms 1s68ms 20 4 4s115ms 1s28ms 21 2 2s318ms 1s159ms 01 1 1s170ms 1s170ms 03 2 2s211ms 1s105ms -
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2024-05-23 02:06:20 Duration: 1s170ms Database: postgres parameters: $1 = '2076244'
-
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2024-05-22 22:44:21 Duration: 1s159ms Database: postgres parameters: $1 = '1457974', $2 = '1457974'
-
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2024-05-23 04:47:59 Duration: 1s105ms Database: postgres parameters: $1 = '2071593'
3 5s820ms 5 1s 1s213ms 1s164ms SELECT /* ReferenceDiseasesDAO */ ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 20 2 2s427ms 1s213ms 22 2 2s393ms 1s196ms 01 1 1s 1s -
SELECT /* ReferenceDiseasesDAO */ ;
Date: 2024-05-22 21:11:00 Duration: 1s213ms Database: postgres parameters: $1 = '2065672'
-
SELECT /* ReferenceDiseasesDAO */ ;
Date: 2024-05-22 23:38:40 Duration: 1s196ms Database: postgres parameters: $1 = '1249191', $2 = '1249191'
-
SELECT /* ReferenceDiseasesDAO */ ;
Date: 2024-05-23 02:42:22 Duration: 1s Database: postgres
4 4s640ms 4 1s143ms 1s177ms 1s160ms SELECT /* ReferenceCitedDiseasesDAO */ ;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 16 2 2s286ms 1s143ms 19 2 2s354ms 1s177ms -
SELECT /* ReferenceCitedDiseasesDAO */ ;
Date: 2024-05-22 20:42:14 Duration: 1s177ms Database: postgres parameters: $1 = '2074612'
-
SELECT /* ReferenceCitedDiseasesDAO */ ;
Date: 2024-05-22 17:57:24 Duration: 1s143ms Database: postgres parameters: $1 = '1337839', $2 = '1337839'
5 4s513ms 4 1s62ms 1s194ms 1s128ms SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 19 2 2s388ms 1s194ms 04 2 2s124ms 1s62ms -
SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT;
Date: 2024-05-22 20:11:19 Duration: 1s194ms Database: postgres parameters: $1 = '1455756', $2 = '1455756'
-
SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT;
Date: 2024-05-23 05:47:41 Duration: 1s62ms Database: postgres parameters: $1 = '2069379', $2 = '2069379'
6 4s105ms 4 1s3ms 1s71ms 1s26ms SELECT /* GeneDiseaseChemsDAO */ ;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 19 2 2s7ms 1s3ms 01 1 1s26ms 1s26ms 02 1 1s71ms 1s71ms -
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2024-05-23 03:20:22 Duration: 1s71ms Database: postgres parameters: $1 = '10886', $2 = '10886'
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2024-05-23 02:22:48 Duration: 1s26ms Database: postgres parameters: $1 = '1349362', $2 = '2065043'
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2024-05-22 20:12:11 Duration: 1s3ms Database: postgres parameters: $1 = '2072291'
7 3s425ms 3 1s14ms 1s396ms 1s141ms SELECT /* ReferenceCitedGenesDAO */ ;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 20 2 2s29ms 1s14ms 01 1 1s396ms 1s396ms -
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2024-05-23 02:23:20 Duration: 1s396ms Database: postgres parameters: $1 = '1226011', $2 = '1226011'
-
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2024-05-22 21:11:41 Duration: 1s14ms Database: postgres parameters: $1 = '2072159'
8 2s58ms 2 1s29ms 1s29ms 1s29ms select *, COUNT(*) OVER () as fullRowCount from;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 09 2 2s58ms 1s29ms -
select *, COUNT(*) OVER () as fullRowCount from;
Date: 2024-05-23 10:51:28 Duration: 1s29ms Database: postgres parameters: $1 = '2080651', $2 = '2080651'
9 1s51ms 1 1s51ms 1s51ms 1s51ms SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 01 1 1s51ms 1s51ms -
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2024-05-23 02:20:43 Duration: 1s51ms Database: postgres parameters: $1 = '1222988', $2 = '1222988'
10 0ms 447 0ms 0ms 0ms ;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration May 18 11 1 0ms 0ms 14 2 0ms 0ms May 19 00 1 0ms 0ms 06 2 0ms 0ms 07 4 0ms 0ms 08 6 0ms 0ms 11 2 0ms 0ms 14 4 0ms 0ms 15 6 0ms 0ms May 20 08 2 0ms 0ms 09 12 0ms 0ms 10 6 0ms 0ms 13 2 0ms 0ms 14 6 0ms 0ms 15 2 0ms 0ms May 21 06 8 0ms 0ms 07 8 0ms 0ms 08 4 0ms 0ms 10 4 0ms 0ms 11 20 0ms 0ms 12 2 0ms 0ms 17 2 0ms 0ms 22 4 0ms 0ms May 22 08 12 0ms 0ms 09 34 0ms 0ms 10 28 0ms 0ms 11 36 0ms 0ms 12 22 0ms 0ms 13 8 0ms 0ms 16 8 0ms 0ms 17 34 0ms 0ms 19 2 0ms 0ms 21 2 0ms 0ms May 23 02 1 0ms 0ms 03 3 0ms 0ms 05 2 0ms 0ms 08 2 0ms 0ms 11 12 0ms 0ms 12 2 0ms 0ms 13 10 0ms 0ms 14 2 0ms 0ms 16 10 0ms 0ms May 24 00 1 0ms 0ms 07 9 0ms 0ms 08 15 0ms 0ms 12 24 0ms 0ms 13 3 0ms 0ms 14 6 0ms 0ms 15 24 0ms 0ms 16 21 0ms 0ms May 26 02 4 0ms 0ms [ User: pubeu - Total duration: 13m11s - Times executed: 195 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '2074785'
-
Events
Log levels
Key values
- 722,592 Log entries
Events distribution
Key values
- 0 PANIC entries
- 89 FATAL entries
- 134 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 58 Max number of times the same event was reported
- 223 Total events found
Rank Times reported Error 1 58 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #1
Day Hour Count May 20 21 1 May 22 19 1 20 4 21 4 May 23 00 1 01 1 02 10 03 9 04 10 09 3 13 3 15 2 16 3 22 1 May 24 05 5 - 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: 2024-05-20 21:34:07
Statement: SELECT count(*) FROM pg_catalog.pg_stat_all_tables WHERE (n_dead_tup/(n_live_tup+n_dead_tup)::float8) > 0.2 AND (n_live_tup+n_dead_tup) > 50;
Date: 2024-05-22 20:47:31 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT row_to_json(T) FROM ( SELECT archived_count, failed_count FROM pg_stat_archiver ) T;
Date: 2024-05-22 20:47:31 Database: postgres Application: User: zbx_monitor Remote:
2 58 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #2
Day Hour Count May 20 03 1 21 3 May 22 20 4 21 4 May 23 01 1 02 10 03 9 04 9 09 3 13 3 15 2 16 3 22 1 May 24 05 5 - FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-05-20 21:23:54
3 56 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count May 20 03 1 21 3 May 22 20 4 21 4 May 23 01 1 02 9 03 9 04 9 09 3 13 3 15 1 16 3 22 1 May 24 05 5 - ERROR: 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: 2024-05-20 21:23:54 Database: ctdprd51 Application: User: pubeu Remote:
4 28 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #4
Day Hour Count May 20 18 2 21 2 May 24 06 10 07 14 5 11 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #5
Day Hour Count May 20 23 1 May 21 23 1 May 22 03 1 May 23 01 1 16 1 22 1 May 24 12 1 16 1 May 25 02 1 08 1 12 1 - ERROR: syntax error in ts"MYO6<RSV>"
- ERROR: syntax error in ts"上乗せ 医薬品 併用"
- ERROR: syntax error in ts"FDAU & TXHJDJ< & >GENKDC"
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: 2024-05-20 23:55:41
Statement: SELECT /* GoBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ n.acc_txt acc ,n.acc_txt accQueryStr ,n.nm ,n.nm_html nmHtml ,l.nm matchednm ,lt.nm_display matchedtype ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isNameMatch ,d.nm rankNm ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,n.nm_sort ,n.object_id id ,n.has_genes hasGenes ,n.has_diseases hasDiseases ,n.has_exposures hasExposures ,n.has_phenotypes hasPhenotypes FROM dag_node n INNER JOIN term_label l ON l.term_id = n.object_id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id INNER JOIN dag d ON n.dag_id = d.id WHERE l.object_type_id = 5 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 = 5 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ n.acc_txt acc ,n.acc_txt accQueryStr ,n.nm ,n.nm_html nmHtml ,n.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,d.nm rankNm ,1 relevance ,n.nm_sort ,n.object_id id ,n.has_genes hasGenes ,n.has_diseases hasDiseases ,n.has_exposures hasExposures ,n.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN dag_node n ON l.object_id = n.object_id INNER JOIN dag d ON n.dag_id = d.id WHERE l.type_cd = 'A' AND l.object_type_id = 5 AND (upper( l.acc_txt ) = $3 ) ORDER BY 9, 10 ) sq LIMIT 50
Date: 2024-05-21 23:42:52 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $6 OR upper( l.acc_txt ) LIKE $7 OR upper( l.acc_txt ) LIKE $8 ) ) ii GROUP BY ii.cd
Date: 2024-05-23 16:52:59 Database: ctdprd51 Application: User: pubeu Remote:
6 6 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count May 24 07 6 7 2 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #7
Day Hour Count May 24 07 2 - FATAL: terminating background worker "parallel worker" due to administrator command
Statement: 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.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY d.nm_sort ,c.nm_sort
Date: 2024-05-24 07:15:05
8 1 ERROR: , sum(...) as temp_bytes , sum(...) as deadlocks , sum(...)) as checksum_failures , sum(...) as blk_read_time , sum(...) as blk_write_time FROM pg_catalog.pg_stat_database ) T
Times Reported Most Frequent Error / Event #8
Day Hour Count May 23 02 1 9 1 ERROR: FROM (...) T
Times Reported Most Frequent Error / Event #9
Day Hour Count May 23 15 1 10 1 FATAL: connection to client lost 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 (...) 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.disease_id IN (...) ORDER BY d.nm_sort ,c.nm_sort
Times Reported Most Frequent Error / Event #10
Day Hour Count May 24 07 1 - FATAL: connection to client lost 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.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY d.nm_sort ,c.nm_sort
Statement: SELECT /* ChemDiseaseAssnsDAO */
Date: 2024-05-24 07:15:05
11 1 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #11
Day Hour Count May 24 07 1 - ERROR: could not send data to client: Connection reset by peer
Statement: 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
Date: 2024-05-24 07:15:05 Database: ctdprd51 Application: User: pubeu Remote: