-
Global information
- Generated on Sun Dec 29 04:15:19 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20241228
- Parsed 306,058 log entries in 18s
- Log start from 2024-12-22 00:00:01 to 2024-12-28 23:59:43
-
Overview
Global Stats
- 387 Number of unique normalized queries
- 8,343 Number of queries
- 1d11h42m58s Total query duration
- 2024-12-22 00:16:14 First query
- 2024-12-28 23:59:43 Last query
- 8 queries/s at 2024-12-24 10:12:38 Query peak
- 1d11h42m58s Total query duration
- 1s818ms Prepare/parse total duration
- 3s331ms Bind total duration
- 1d11h42m53s Execute total duration
- 94 Number of events
- 7 Number of unique normalized events
- 32 Max number of times the same event was reported
- 0 Number of cancellation
- 83 Total number of automatic vacuums
- 212 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 18,814 Total number of sessions
- 89 sessions at 2024-12-24 12:24:22 Session peak
- 286d11h47m45s Total duration of sessions
- 21m55s Average duration of sessions
- 0 Average queries per session
- 6s834ms Average queries duration per session
- 21m48s Average idle time per session
- 18,814 Total number of connections
- 121 connections/s at 2024-12-27 02:26:42 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 8 queries/s Query Peak
- 2024-12-24 10:12:38 Date
SELECT Traffic
Key values
- 8 queries/s Query Peak
- 2024-12-24 10:12:38 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2 queries/s Query Peak
- 2024-12-23 12:01:37 Date
Queries duration
Key values
- 1d11h42m58s 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) Dec 22 00 24 0ms 21m31s 56s53ms 2s716ms 4s915ms 21m37s 01 27 0ms 47s869ms 6s169ms 7s735ms 46s802ms 47s869ms 02 22 0ms 13s421ms 3s62ms 3s172ms 5s5ms 20s177ms 03 12 0ms 7s15ms 2s524ms 3s845ms 4s896ms 9s966ms 04 20 0ms 5s263ms 2s214ms 3s840ms 4s81ms 5s263ms 05 76 0ms 55s591ms 3s858ms 24s276ms 30s730ms 1m10s 06 27 0ms 43s507ms 5s765ms 4s483ms 12s827ms 1m 07 21 0ms 6s63ms 1s945ms 2s338ms 2s882ms 9s874ms 08 29 0ms 2s838ms 1s436ms 2s838ms 3s225ms 3s923ms 09 26 0ms 27s349ms 6s 4s932ms 7s914ms 55s738ms 10 71 0ms 43s840ms 3s468ms 15s108ms 31s763ms 55s221ms 11 30 0ms 4s765ms 2s172ms 3s818ms 4s325ms 22s209ms 12 32 0ms 8s381ms 2s11ms 4s968ms 5s347ms 8s381ms 13 23 0ms 4s869ms 2s189ms 3s873ms 4s869ms 8s816ms 14 38 0ms 43s846ms 5s269ms 5s269ms 22s229ms 1m14s 15 19 0ms 9s691ms 2s22ms 1s265ms 2s467ms 9s691ms 16 22 0ms 4s791ms 1s848ms 2s53ms 6s350ms 8s409ms 17 30 0ms 9s988ms 1s867ms 3s375ms 3s563ms 11s110ms 18 37 0ms 3m49s 10s770ms 7s868ms 52s780ms 3m49s 19 17 0ms 5s938ms 1s827ms 2s84ms 4s30ms 5s938ms 20 28 0ms 3s861ms 2s299ms 3s861ms 4s926ms 4s951ms 21 28 0ms 15s943ms 3s234ms 4s948ms 7s964ms 30s826ms 22 77 0ms 43s786ms 4s379ms 26s355ms 42s281ms 53s591ms 23 29 0ms 5s842ms 2s36ms 2s421ms 5s173ms 30s384ms Dec 23 00 28 0ms 21m45s 50s143ms 3s898ms 12s506ms 21m52s 01 27 0ms 30s443ms 2s677ms 3s924ms 5s20ms 31s720ms 02 39 0ms 14s210ms 2s230ms 7s751ms 15s423ms 16s751ms 03 32 0ms 7s625ms 2s330ms 7s866ms 8s773ms 10s789ms 04 35 0ms 17m37s 32s990ms 7s283ms 11s172ms 17m37s 05 86 0ms 6s753ms 2s193ms 13s531ms 16s825ms 30s806ms 06 37 0ms 44s55ms 5s108ms 9s736ms 14s715ms 55s53ms 07 30 0ms 4s778ms 1s629ms 2s427ms 5s59ms 6s651ms 08 39 0ms 17s626ms 1s937ms 3s548ms 4s200ms 29s635ms 09 14 0ms 32s198ms 6s104ms 2s916ms 3s875ms 32s198ms 10 28 0ms 4m35s 15s421ms 7s488ms 54s280ms 4m35s 11 22 0ms 6m4s 22s35ms 2s428ms 23s73ms 6m4s 12 25 0ms 4m35s 12s987ms 2s324ms 6s657ms 4m35s 13 66 0ms 58s241ms 2s882ms 17s115ms 32s516ms 58s241ms 14 27 0ms 43s489ms 5s873ms 7s619ms 54s952ms 57s629ms 15 47 0ms 20s373ms 4s256ms 20s210ms 22s575ms 41s476ms 16 46 0ms 20s18ms 4s60ms 20s18ms 21s66ms 39s112ms 17 22 0ms 3s487ms 1s263ms 2s387ms 3s451ms 3s487ms 18 25 0ms 43s649ms 7s119ms 9s854ms 31s745ms 54s832ms 19 15 0ms 2s711ms 1s332ms 1s288ms 2s175ms 2s711ms 20 32 0ms 14s188ms 2s124ms 4s854ms 6s409ms 14s188ms 21 38 0ms 3m43s 8s887ms 9s546ms 14s471ms 3m57s 22 19 0ms 3s827ms 1s395ms 2s336ms 2s547ms 3s827ms 23 46 0ms 20s152ms 1s754ms 3s972ms 5s754ms 20s152ms Dec 24 00 41 0ms 22m5s 33s710ms 2s858ms 6s963ms 22m11s 01 86 0ms 5s269ms 1s370ms 5s269ms 15s945ms 40s686ms 02 50 0ms 21s167ms 1s859ms 3s219ms 13s486ms 27s397ms 03 207 0ms 17m51s 14s272ms 49s105ms 2m19s 18m23s 04 186 0ms 5s982ms 3s736ms 29s922ms 31s544ms 35s832ms 05 56 0ms 6s948ms 2s221ms 6s129ms 15s137ms 31s184ms 06 251 0ms 44s63ms 3s629ms 53s442ms 1m33s 3m47s 07 302 0ms 14s711ms 3s372ms 1m8s 1m20s 3m3s 08 214 0ms 18s24ms 5s145ms 1m14s 1m36s 4m43s 09 342 0ms 41s529ms 5s998ms 1m19s 3m21s 9m23s 10 73 0ms 45s514ms 6s981ms 30s260ms 1m30s 2m5s 11 26 0ms 45s439ms 7s725ms 5s749ms 42s440ms 48s685ms 12 72 0ms 44s119ms 6s335ms 18s994ms 1m23s 2m30s 13 75 0ms 10m59s 37s740ms 16s882ms 1m47s 30m5s 14 46 0ms 43s612ms 4s293ms 9s763ms 30s951ms 57s287ms 15 9 0ms 30s549ms 4s626ms 1s135ms 1s210ms 30s549ms 16 19 0ms 20s872ms 2s725ms 1s418ms 6s67ms 20s872ms 17 29 0ms 3s958ms 1s443ms 2s372ms 3s434ms 3s958ms 18 41 0ms 10m49s 20s676ms 11s412ms 54s588ms 10m49s 19 30 0ms 10m49s 24s173ms 4s617ms 6s44ms 10m49s 20 26 0ms 4s721ms 1s779ms 3s987ms 4s326ms 5s118ms 21 41 0ms 7s601ms 2s924ms 7s601ms 9s995ms 35s378ms 22 18 0ms 7s123ms 1s786ms 1s426ms 4s377ms 7s123ms 23 21 0ms 2s847ms 1s534ms 2s279ms 2s640ms 4s507ms Dec 25 00 26 0ms 22m10s 53s133ms 2s461ms 6s27ms 22m18s 01 29 0ms 15s628ms 2s865ms 6s33ms 9s123ms 15s628ms 02 35 0ms 6s264ms 2s270ms 4s423ms 6s264ms 10s398ms 03 27 0ms 6s154ms 2s38ms 3s864ms 5s329ms 6s154ms 04 52 0ms 6s34ms 2s418ms 6s25ms 14s464ms 25s808ms 05 60 0ms 6s990ms 2s171ms 4s964ms 14s190ms 32s895ms 06 42 0ms 43s877ms 4s956ms 9s999ms 27s394ms 55s31ms 07 29 0ms 18m25s 39s973ms 3s775ms 5s285ms 18m25s 08 41 0ms 8m 13s711ms 5s602ms 7s597ms 8m 09 29 0ms 20s735ms 2s986ms 3s998ms 6s70ms 20s735ms 10 38 0ms 43s814ms 8s212ms 17s439ms 54s267ms 2m6s 11 2 0ms 2m20s 1m17s 0ms 15s430ms 2m20s 12 29 0ms 6s757ms 2s747ms 9s798ms 26s584ms 30s663ms 13 15 0ms 4s922ms 1s992ms 2s598ms 3s17ms 4s922ms 14 18 0ms 44s336ms 7s804ms 5s954ms 54s779ms 54s970ms 15 12 0ms 5s946ms 2s263ms 2s774ms 4s723ms 5s946ms 16 15 0ms 9s813ms 2s572ms 3s886ms 9s813ms 10s364ms 17 22 0ms 7s589ms 2s759ms 4s422ms 6s925ms 9s5ms 18 29 0ms 43s914ms 5s464ms 3s554ms 16s240ms 54s851ms 19 17 0ms 15s660ms 2s451ms 2s298ms 3s632ms 17s511ms 20 24 0ms 4s440ms 1s760ms 3s26ms 3s947ms 6s325ms 21 20 0ms 11s672ms 2s880ms 2s387ms 9s759ms 14s919ms 22 35 0ms 4m41s 9s927ms 4s755ms 9s405ms 4m41s 23 32 0ms 5s932ms 2s348ms 4s439ms 5s932ms 13s673ms Dec 26 00 44 0ms 22m14s 32s644ms 11s123ms 16s675ms 22m20s 01 30 0ms 4s926ms 1s646ms 3s945ms 4s369ms 8s97ms 02 64 0ms 6s688ms 3s27ms 10s494ms 11s823ms 12s837ms 03 63 0ms 20s211ms 4s727ms 19s210ms 32s315ms 39s867ms 04 36 0ms 51s61ms 3s198ms 4s507ms 4s924ms 52s606ms 05 70 0ms 6s764ms 2s283ms 7s202ms 13s850ms 30s514ms 06 48 0ms 43s990ms 4s584ms 9s150ms 11s339ms 54s926ms 07 30 0ms 5s309ms 2s231ms 4s302ms 4s746ms 11s81ms 08 26 0ms 11s32ms 3s337ms 6s431ms 11s32ms 14s282ms 09 27 0ms 26s549ms 4s706ms 7s719ms 21s195ms 26s549ms 10 30 0ms 44s20ms 5s729ms 6s874ms 24s1ms 55s26ms 11 44 0ms 12s158ms 2s134ms 6s164ms 7s87ms 12s158ms 12 26 0ms 6s434ms 2s144ms 5s411ms 8s284ms 9s519ms 13 32 0ms 4s9ms 1s582ms 3s416ms 3s581ms 6s729ms 14 28 0ms 44s54ms 5s489ms 5s193ms 9s691ms 55s57ms 15 28 0ms 6s341ms 1s927ms 3s932ms 4s432ms 7s480ms 16 27 0ms 6s302ms 1s596ms 2s248ms 2s924ms 11s94ms 17 19 0ms 32s569ms 3s622ms 2s288ms 6s289ms 32s569ms 18 33 0ms 44s153ms 5s408ms 5s202ms 22s513ms 57s67ms 19 18 0ms 10h26m56s 1h9m41s 2s133ms 5s936ms 10h26m59s 20 54 0ms 5s586ms 1s688ms 4s257ms 5s859ms 8s184ms 21 42 0ms 3s866ms 1s423ms 3s278ms 4s395ms 5s986ms 22 29 0ms 4s696ms 1s786ms 3s802ms 4s524ms 6s244ms 23 48 0ms 4m51s 8s451ms 15s54ms 19s451ms 4m57s Dec 27 00 28 0ms 22m19s 49s645ms 2s418ms 4s370ms 22m27s 01 19 0ms 4s895ms 2s45ms 2s917ms 5s845ms 7s686ms 02 53 0ms 4s617ms 2s56ms 5s421ms 5s666ms 17s895ms 03 30 0ms 4s668ms 2s366ms 6s113ms 7s736ms 10s669ms 04 22 0ms 5s115ms 2s180ms 2s800ms 4s290ms 13s538ms 05 61 0ms 10s249ms 2s553ms 5s305ms 13s804ms 31s162ms 06 23 0ms 44s321ms 6s825ms 4s747ms 18s252ms 54s837ms 07 26 0ms 18s894ms 2s299ms 2s457ms 3s953ms 18s894ms 08 19 0ms 5s924ms 1s802ms 2s278ms 4s611ms 5s924ms 09 19 0ms 7s495ms 2s687ms 3s785ms 6s578ms 15s222ms 10 41 0ms 44s127ms 4s293ms 6s514ms 11s156ms 56s473ms 11 31 0ms 11s362ms 2s572ms 4s661ms 11s107ms 12s518ms 12 16 0ms 11s253ms 5s125ms 11s120ms 11s191ms 12s607ms 13 11 0ms 12s917ms 3s201ms 1s86ms 1s158ms 26s531ms 14 32 0ms 44s209ms 7s370ms 23s810ms 34s615ms 55s129ms 15 26 0ms 4s266ms 1s752ms 3s825ms 4s266ms 4s925ms 16 30 0ms 8s339ms 1s850ms 3s252ms 4s16ms 8s339ms 17 81 0ms 40s306ms 4s7ms 11s819ms 24s147ms 49s623ms 18 78 0ms 55s328ms 4s942ms 10s666ms 54s847ms 56s870ms 19 69 0ms 11s438ms 2s839ms 8s760ms 14s942ms 26s997ms 20 68 0ms 48s25ms 5s357ms 18s457ms 33s729ms 50s928ms 21 61 0ms 6s331ms 2s351ms 6s136ms 7s65ms 9s14ms 22 97 0ms 20s791ms 2s504ms 10s737ms 22s423ms 27s873ms 23 78 0ms 11s643ms 2s863ms 9s263ms 12s180ms 31s250ms Dec 28 00 67 0ms 22m24s 24s697ms 10s931ms 35s199ms 22m31s 01 85 0ms 1m10s 3s272ms 8s679ms 11s176ms 1m10s 02 76 0ms 48s128ms 3s825ms 10s266ms 15s663ms 59s891ms 03 92 0ms 6s375ms 2s330ms 6s605ms 12s243ms 23s151ms 04 102 0ms 42s927ms 2s485ms 9s726ms 11s335ms 44s804ms 05 105 0ms 6s815ms 2s429ms 7s753ms 17s157ms 36s848ms 06 97 0ms 38s857ms 3s919ms 11s737ms 17s686ms 2m2s 07 73 0ms 1m23s 3s708ms 9s6ms 9s354ms 1m25s 08 70 0ms 6s270ms 2s332ms 7s559ms 10s21ms 11s488ms 09 64 0ms 52s657ms 3s298ms 8s85ms 9s325ms 55s831ms 10 74 0ms 6s133ms 2s814ms 7s959ms 8s330ms 9s544ms 11 74 0ms 6s350ms 2s953ms 8s386ms 9s471ms 11s332ms 12 58 0ms 6s204ms 2s471ms 7s256ms 9s51ms 11s142ms 13 61 0ms 6s48ms 2s167ms 4s829ms 8s143ms 10s155ms 14 69 0ms 35s263ms 3s99ms 8s535ms 10s219ms 49s653ms 15 88 0ms 6s158ms 2s370ms 7s511ms 10s586ms 13s257ms 16 68 0ms 6s188ms 2s233ms 6s188ms 7s449ms 15s974ms 17 75 0ms 1m21s 4s497ms 10s329ms 16s449ms 1m26s 18 110 0ms 1m11s 6s663ms 56s522ms 1m9s 2m3s 19 122 0ms 23m57s 42s368ms 2m 6m59s 23m57s 20 68 0ms 6s183ms 2s326ms 7s101ms 8s27ms 8s514ms 21 74 0ms 38s963ms 2s949ms 7s834ms 10s772ms 43s179ms 22 59 0ms 8s248ms 2s503ms 7s977ms 9s809ms 15s30ms 23 68 0ms 6s132ms 2s415ms 7s915ms 9s739ms 13s49ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 22 00 23 0 58s235ms 1s338ms 2s716ms 21m31s 01 27 0 6s169ms 4s729ms 7s735ms 47s869ms 02 22 0 3s62ms 1s221ms 3s172ms 20s177ms 03 12 0 2s524ms 1s123ms 3s845ms 9s966ms 04 20 0 2s214ms 2s265ms 3s840ms 5s263ms 05 73 0 3s911ms 5s546ms 24s276ms 1m10s 06 17 10 5s765ms 1s151ms 7s289ms 54s973ms 07 21 0 1s945ms 1s228ms 2s338ms 9s874ms 08 29 0 1s436ms 2s309ms 2s838ms 3s923ms 09 26 0 6s 3s292ms 4s932ms 55s738ms 10 60 10 3s471ms 3s728ms 15s108ms 55s221ms 11 30 0 2s172ms 1s245ms 3s818ms 22s209ms 12 32 0 2s11ms 2s299ms 4s968ms 8s381ms 13 23 0 2s189ms 2s82ms 3s873ms 8s816ms 14 28 10 5s269ms 2s351ms 8s339ms 53s129ms 15 19 0 2s22ms 1s136ms 1s265ms 9s691ms 16 22 0 1s848ms 1s97ms 2s53ms 8s409ms 17 30 0 1s867ms 1s418ms 3s375ms 11s110ms 18 27 10 10s770ms 3s763ms 7s868ms 3m49s 19 17 0 1s827ms 1s183ms 2s84ms 5s938ms 20 28 0 2s299ms 3s825ms 3s861ms 4s951ms 21 28 0 3s234ms 1s794ms 4s948ms 30s826ms 22 77 0 4s379ms 10s590ms 26s355ms 53s591ms 23 28 0 1s996ms 1s151ms 2s198ms 30s384ms Dec 23 00 27 0 51s783ms 2s140ms 3s898ms 21m46s 01 27 0 2s677ms 1s546ms 3s924ms 31s720ms 02 39 0 2s230ms 3s411ms 7s751ms 16s751ms 03 31 0 2s299ms 1s869ms 7s497ms 9s844ms 04 35 0 32s990ms 4s394ms 7s283ms 17m37s 05 83 0 2s181ms 2s532ms 13s531ms 30s195ms 06 27 10 5s108ms 2s959ms 9s736ms 53s494ms 07 28 0 1s508ms 1s389ms 2s318ms 5s59ms 08 39 0 1s937ms 2s453ms 3s548ms 29s635ms 09 14 0 6s104ms 1s149ms 2s916ms 32s198ms 10 18 10 15s421ms 3s848ms 7s488ms 4m35s 11 22 0 22s35ms 0ms 2s428ms 1m14s 12 23 0 13s876ms 1s384ms 2s324ms 13s 13 66 0 2s882ms 1s606ms 17s115ms 58s241ms 14 17 10 5s873ms 3s955ms 7s619ms 54s952ms 15 47 0 4s256ms 6s327ms 20s210ms 41s476ms 16 46 0 4s60ms 2s349ms 20s18ms 39s112ms 17 22 0 1s263ms 1s166ms 2s387ms 3s487ms 18 15 10 7s119ms 2s108ms 9s854ms 54s832ms 19 14 0 1s234ms 1s99ms 1s211ms 2s396ms 20 32 0 2s124ms 1s309ms 4s854ms 14s188ms 21 38 0 8s887ms 3s710ms 9s546ms 3m57s 22 19 0 1s395ms 1s132ms 2s336ms 3s827ms 23 46 0 1s754ms 2s125ms 3s972ms 20s152ms Dec 24 00 40 0 34s401ms 1s288ms 2s858ms 22m5s 01 86 0 1s370ms 1s425ms 5s269ms 40s686ms 02 50 0 1s859ms 2s234ms 3s219ms 27s397ms 03 206 0 14s325ms 27s736ms 49s105ms 17m56s 04 186 0 3s736ms 26s968ms 29s922ms 33s88ms 05 53 0 2s204ms 1s854ms 4s493ms 31s184ms 06 241 10 3s629ms 18s587ms 53s442ms 1m42s 07 302 0 3s372ms 32s2ms 1m8s 1m22s 08 214 0 5s145ms 16s320ms 1m14s 3m52s 09 342 0 5s998ms 45s797ms 1m19s 4m36s 10 63 10 6s981ms 4s308ms 43s236ms 1m41s 11 25 0 7s907ms 1s384ms 5s749ms 48s685ms 12 72 0 6s335ms 4s81ms 18s994ms 2m30s 13 75 0 37s740ms 0ms 16s882ms 30m5s 14 34 10 4s391ms 3s794ms 9s763ms 55s120ms 15 9 0 4s626ms 0ms 1s135ms 30s549ms 16 19 0 2s725ms 1s160ms 1s418ms 20s872ms 17 29 0 1s443ms 1s447ms 2s372ms 3s958ms 18 31 10 20s676ms 3s852ms 11s412ms 10m49s 19 30 0 24s173ms 1s483ms 4s617ms 10m49s 20 26 0 1s779ms 1s435ms 3s987ms 5s118ms 21 40 0 2s938ms 2s531ms 7s601ms 35s378ms 22 17 0 1s700ms 1s219ms 1s426ms 7s123ms 23 20 0 1s524ms 1s425ms 2s279ms 4s507ms Dec 25 00 25 0 55s17ms 2s56ms 2s461ms 22m12s 01 28 0 2s893ms 1s543ms 6s33ms 15s628ms 02 35 0 2s270ms 3s797ms 4s423ms 10s398ms 03 27 0 2s38ms 2s157ms 3s864ms 6s154ms 04 52 0 2s418ms 4s592ms 6s25ms 25s808ms 05 56 0 2s175ms 2s235ms 4s964ms 32s895ms 06 32 10 4s956ms 2s968ms 9s999ms 55s31ms 07 25 0 45s822ms 1s388ms 2s379ms 18m25s 08 41 0 13s711ms 3s801ms 5s602ms 8m 09 28 0 3s27ms 3s284ms 3s998ms 20s735ms 10 27 10 8s370ms 1s771ms 17s439ms 2m6s 11 2 0 1m17s 0ms 0ms 2m20s 12 27 0 2s788ms 0ms 9s798ms 26s584ms 13 15 0 1s992ms 1s494ms 2s598ms 4s922ms 14 8 10 7s804ms 1s296ms 5s954ms 54s779ms 15 12 0 2s263ms 1s96ms 2s774ms 5s946ms 16 15 0 2s572ms 1s183ms 3s886ms 10s364ms 17 21 0 2s737ms 2s336ms 3s812ms 9s5ms 18 17 10 5s718ms 2s209ms 3s554ms 54s851ms 19 16 0 2s489ms 1s345ms 2s298ms 15s660ms 20 23 0 1s755ms 1s319ms 3s26ms 4s440ms 21 20 0 2s880ms 1s110ms 2s387ms 14s919ms 22 35 0 9s927ms 1s870ms 4s755ms 4m41s 23 31 0 2s361ms 2s460ms 4s439ms 13s673ms Dec 26 00 43 0 33s263ms 1s450ms 11s123ms 22m14s 01 30 0 1s646ms 2s182ms 3s945ms 8s97ms 02 64 0 3s27ms 7s215ms 10s494ms 12s22ms 03 63 0 4s727ms 5s820ms 19s210ms 33s775ms 04 36 0 3s198ms 2s444ms 4s507ms 52s606ms 05 65 0 2s277ms 4s590ms 7s202ms 30s514ms 06 36 10 4s671ms 4s680ms 9s150ms 53s339ms 07 30 0 2s231ms 2s52ms 4s302ms 7s503ms 08 26 0 3s337ms 3s335ms 6s431ms 14s282ms 09 27 0 4s706ms 2s521ms 7s719ms 26s549ms 10 20 10 5s729ms 3s424ms 6s874ms 53s389ms 11 44 0 2s134ms 3s361ms 6s164ms 12s158ms 12 26 0 2s144ms 1s170ms 5s411ms 9s519ms 13 32 0 1s582ms 1s528ms 3s416ms 3s662ms 14 18 10 5s489ms 1s772ms 5s193ms 55s57ms 15 28 0 1s927ms 1s930ms 3s932ms 7s480ms 16 27 0 1s596ms 1s265ms 2s248ms 4s32ms 17 19 0 3s622ms 1s294ms 2s288ms 32s569ms 18 22 10 5s475ms 3s40ms 5s202ms 54s892ms 19 18 0 1h9m41s 1s151ms 2s133ms 10h26m59s 20 54 0 1s688ms 2s953ms 4s257ms 6s542ms 21 42 0 1s423ms 2s261ms 3s278ms 5s986ms 22 28 0 1s736ms 2s389ms 3s501ms 4s696ms 23 48 0 8s451ms 3s656ms 15s54ms 4m57s Dec 27 00 27 0 51s268ms 1s242ms 2s418ms 22m21s 01 19 0 2s45ms 1s119ms 2s917ms 7s686ms 02 53 0 2s56ms 4s315ms 5s421ms 7s539ms 03 30 0 2s366ms 2s462ms 6s113ms 10s669ms 04 22 0 2s180ms 1s433ms 2s800ms 13s538ms 05 57 0 2s570ms 3s772ms 5s305ms 30s868ms 06 13 10 6s825ms 1s218ms 4s747ms 54s837ms 07 26 0 2s299ms 1s196ms 2s457ms 5s933ms 08 19 0 1s802ms 1s427ms 2s278ms 5s924ms 09 19 0 2s687ms 1s227ms 3s785ms 15s222ms 10 31 10 4s293ms 3s146ms 6s514ms 55s45ms 11 31 0 2s572ms 3s541ms 4s661ms 12s518ms 12 14 0 5s584ms 2s417ms 11s120ms 12s607ms 13 11 0 3s201ms 1s18ms 1s86ms 26s531ms 14 22 10 7s370ms 3s131ms 23s810ms 55s129ms 15 26 0 1s752ms 2s69ms 3s825ms 4s925ms 16 30 0 1s850ms 2s107ms 3s252ms 8s339ms 17 81 0 4s7ms 11s79ms 11s819ms 24s803ms 18 68 10 4s942ms 7s831ms 10s644ms 54s847ms 19 69 0 2s839ms 4s905ms 8s760ms 17s126ms 20 68 0 5s357ms 11s285ms 18s457ms 33s866ms 21 61 0 2s351ms 4s769ms 6s136ms 7s716ms 22 96 0 2s497ms 5s778ms 10s737ms 26s423ms 23 78 0 2s863ms 6s219ms 9s263ms 14s257ms Dec 28 00 66 0 24s981ms 7s116ms 10s931ms 1m15s 01 85 0 3s272ms 6s822ms 8s679ms 13s270ms 02 76 0 3s825ms 7s280ms 10s266ms 30s763ms 03 92 0 2s330ms 6s98ms 6s605ms 12s899ms 04 102 0 2s485ms 6s832ms 9s726ms 12s233ms 05 102 0 2s425ms 6s249ms 7s753ms 32s765ms 06 97 0 3s919ms 7s863ms 11s737ms 21s775ms 07 73 0 3s708ms 6s353ms 9s6ms 9s756ms 08 70 0 2s332ms 4s945ms 7s559ms 10s27ms 09 64 0 3s298ms 4s730ms 8s85ms 9s519ms 10 74 0 2s814ms 6s672ms 7s959ms 9s387ms 11 74 0 2s953ms 7s273ms 8s386ms 9s841ms 12 58 0 2s471ms 4s479ms 7s256ms 9s282ms 13 61 0 2s167ms 4s67ms 4s829ms 9s846ms 14 69 0 3s99ms 6s28ms 8s535ms 49s653ms 15 88 0 2s370ms 5s931ms 7s511ms 11s637ms 16 68 0 2s233ms 4s585ms 6s188ms 7s908ms 17 75 0 4s497ms 6s917ms 10s329ms 43s985ms 18 84 26 6s663ms 14s72ms 53s663ms 1m9s 19 73 49 42s368ms 1m17s 2m 23m48s 20 68 0 2s326ms 6s7ms 7s101ms 8s252ms 21 71 0 3s29ms 5s937ms 7s834ms 13s96ms 22 59 0 2s503ms 5s306ms 7s977ms 10s677ms 23 68 0 2s415ms 5s30ms 7s915ms 10s904ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 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 Dec 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 Dec 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 Dec 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 Dec 26 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 27 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 28 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 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 Dec 22 00 0 23 23.00 0.00% 01 0 27 27.00 0.00% 02 0 22 22.00 0.00% 03 0 12 12.00 0.00% 04 0 20 20.00 0.00% 05 0 76 76.00 0.00% 06 0 18 18.00 0.00% 07 0 23 23.00 0.00% 08 0 29 29.00 0.00% 09 0 26 26.00 0.00% 10 0 61 61.00 0.00% 11 0 30 30.00 0.00% 12 0 32 32.00 0.00% 13 0 23 23.00 0.00% 14 0 28 28.00 0.00% 15 0 19 19.00 0.00% 16 0 22 22.00 0.00% 17 0 30 30.00 0.00% 18 0 27 27.00 0.00% 19 0 17 17.00 0.00% 20 0 28 28.00 0.00% 21 0 28 28.00 0.00% 22 0 77 77.00 0.00% 23 0 29 29.00 0.00% Dec 23 00 0 26 26.00 0.00% 01 0 27 27.00 0.00% 02 0 39 39.00 0.00% 03 0 32 32.00 0.00% 04 0 35 35.00 0.00% 05 0 85 85.00 0.00% 06 0 30 30.00 0.00% 07 0 35 35.00 0.00% 08 0 45 45.00 0.00% 09 0 14 14.00 0.00% 10 0 18 18.00 0.00% 11 0 22 22.00 0.00% 12 0 26 26.00 0.00% 13 0 69 69.00 0.00% 14 0 17 17.00 0.00% 15 0 47 47.00 0.00% 16 1 46 46.00 2.17% 17 0 22 22.00 0.00% 18 0 15 15.00 0.00% 19 0 15 15.00 0.00% 20 0 32 32.00 0.00% 21 0 38 38.00 0.00% 22 0 19 19.00 0.00% 23 0 46 46.00 0.00% Dec 24 00 0 40 40.00 0.00% 01 0 86 86.00 0.00% 02 0 50 50.00 0.00% 03 0 207 207.00 0.00% 04 0 188 188.00 0.00% 05 0 56 56.00 0.00% 06 0 245 245.00 0.00% 07 0 304 304.00 0.00% 08 0 216 216.00 0.00% 09 0 343 343.00 0.00% 10 0 63 63.00 0.00% 11 0 26 26.00 0.00% 12 0 72 72.00 0.00% 13 0 76 76.00 0.00% 14 0 36 36.00 0.00% 15 0 9 9.00 0.00% 16 0 21 21.00 0.00% 17 0 29 29.00 0.00% 18 0 31 31.00 0.00% 19 0 30 30.00 0.00% 20 0 26 26.00 0.00% 21 0 41 41.00 0.00% 22 0 18 18.00 0.00% 23 0 21 21.00 0.00% Dec 25 00 0 24 24.00 0.00% 01 0 29 29.00 0.00% 02 0 35 35.00 0.00% 03 0 27 27.00 0.00% 04 0 52 52.00 0.00% 05 0 60 60.00 0.00% 06 0 32 32.00 0.00% 07 0 29 29.00 0.00% 08 0 41 41.00 0.00% 09 0 29 29.00 0.00% 10 0 28 28.00 0.00% 11 0 2 2.00 0.00% 12 0 29 29.00 0.00% 13 0 15 15.00 0.00% 14 0 8 8.00 0.00% 15 0 12 12.00 0.00% 16 0 15 15.00 0.00% 17 0 22 22.00 0.00% 18 0 19 19.00 0.00% 19 0 17 17.00 0.00% 20 0 24 24.00 0.00% 21 0 20 20.00 0.00% 22 0 35 35.00 0.00% 23 0 32 32.00 0.00% Dec 26 00 0 43 43.00 0.00% 01 0 30 30.00 0.00% 02 0 64 64.00 0.00% 03 0 63 63.00 0.00% 04 0 36 36.00 0.00% 05 0 70 70.00 0.00% 06 0 38 38.00 0.00% 07 0 30 30.00 0.00% 08 0 27 27.00 0.00% 09 0 27 27.00 0.00% 10 0 20 20.00 0.00% 11 0 44 44.00 0.00% 12 0 26 26.00 0.00% 13 0 32 32.00 0.00% 14 0 18 18.00 0.00% 15 0 28 28.00 0.00% 16 0 28 28.00 0.00% 17 0 19 19.00 0.00% 18 0 23 23.00 0.00% 19 0 18 18.00 0.00% 20 0 54 54.00 0.00% 21 0 42 42.00 0.00% 22 0 29 29.00 0.00% 23 0 48 48.00 0.00% Dec 27 00 0 27 27.00 0.00% 01 0 19 19.00 0.00% 02 0 53 53.00 0.00% 03 0 30 30.00 0.00% 04 0 22 22.00 0.00% 05 0 61 61.00 0.00% 06 0 13 13.00 0.00% 07 0 26 26.00 0.00% 08 0 19 19.00 0.00% 09 0 19 19.00 0.00% 10 0 31 31.00 0.00% 11 0 31 31.00 0.00% 12 0 16 16.00 0.00% 13 0 11 11.00 0.00% 14 0 22 22.00 0.00% 15 0 26 26.00 0.00% 16 0 30 30.00 0.00% 17 0 81 81.00 0.00% 18 0 68 68.00 0.00% 19 0 69 69.00 0.00% 20 0 68 68.00 0.00% 21 0 61 61.00 0.00% 22 0 97 97.00 0.00% 23 0 78 78.00 0.00% Dec 28 00 0 65 65.00 0.00% 01 0 85 85.00 0.00% 02 0 76 76.00 0.00% 03 0 92 92.00 0.00% 04 0 102 102.00 0.00% 05 0 105 105.00 0.00% 06 0 97 97.00 0.00% 07 0 73 73.00 0.00% 08 0 70 70.00 0.00% 09 0 64 64.00 0.00% 10 0 74 74.00 0.00% 11 0 74 74.00 0.00% 12 0 58 58.00 0.00% 13 0 61 61.00 0.00% 14 0 69 69.00 0.00% 15 0 88 88.00 0.00% 16 0 68 68.00 0.00% 17 0 75 75.00 0.00% 18 0 84 84.00 0.00% 19 0 73 73.00 0.00% 20 0 68 68.00 0.00% 21 0 74 74.00 0.00% 22 0 59 59.00 0.00% 23 0 68 68.00 0.00% Day Hour Count Average / Second Dec 22 00 89 0.02/s 01 116 0.03/s 02 82 0.02/s 03 77 0.02/s 04 79 0.02/s 05 106 0.03/s 06 87 0.02/s 07 91 0.03/s 08 82 0.02/s 09 154 0.04/s 10 153 0.04/s 11 143 0.04/s 12 83 0.02/s 13 78 0.02/s 14 94 0.03/s 15 84 0.02/s 16 109 0.03/s 17 84 0.02/s 18 86 0.02/s 19 78 0.02/s 20 74 0.02/s 21 79 0.02/s 22 316 0.09/s 23 132 0.04/s Dec 23 00 86 0.02/s 01 78 0.02/s 02 129 0.04/s 03 75 0.02/s 04 86 0.02/s 05 109 0.03/s 06 88 0.02/s 07 92 0.03/s 08 157 0.04/s 09 79 0.02/s 10 89 0.02/s 11 154 0.04/s 12 363 0.10/s 13 190 0.05/s 14 79 0.02/s 15 88 0.02/s 16 90 0.03/s 17 80 0.02/s 18 78 0.02/s 19 74 0.02/s 20 89 0.02/s 21 134 0.04/s 22 81 0.02/s 23 96 0.03/s Dec 24 00 85 0.02/s 01 103 0.03/s 02 98 0.03/s 03 114 0.03/s 04 91 0.03/s 05 101 0.03/s 06 146 0.04/s 07 215 0.06/s 08 512 0.14/s 09 392 0.11/s 10 718 0.20/s 11 216 0.06/s 12 580 0.16/s 13 291 0.08/s 14 112 0.03/s 15 75 0.02/s 16 80 0.02/s 17 83 0.02/s 18 78 0.02/s 19 84 0.02/s 20 83 0.02/s 21 76 0.02/s 22 83 0.02/s 23 81 0.02/s Dec 25 00 78 0.02/s 01 77 0.02/s 02 87 0.02/s 03 84 0.02/s 04 81 0.02/s 05 98 0.03/s 06 104 0.03/s 07 81 0.02/s 08 83 0.02/s 09 87 0.02/s 10 277 0.08/s 11 64 0.02/s 12 87 0.02/s 13 80 0.02/s 14 77 0.02/s 15 77 0.02/s 16 82 0.02/s 17 75 0.02/s 18 81 0.02/s 19 80 0.02/s 20 81 0.02/s 21 83 0.02/s 22 86 0.02/s 23 84 0.02/s Dec 26 00 78 0.02/s 01 96 0.03/s 02 157 0.04/s 03 342 0.10/s 04 86 0.02/s 05 97 0.03/s 06 127 0.04/s 07 106 0.03/s 08 94 0.03/s 09 79 0.02/s 10 82 0.02/s 11 85 0.02/s 12 82 0.02/s 13 82 0.02/s 14 80 0.02/s 15 77 0.02/s 16 81 0.02/s 17 83 0.02/s 18 83 0.02/s 19 80 0.02/s 20 78 0.02/s 21 80 0.02/s 22 77 0.02/s 23 84 0.02/s Dec 27 00 82 0.02/s 01 97 0.03/s 02 316 0.09/s 03 87 0.02/s 04 85 0.02/s 05 91 0.03/s 06 80 0.02/s 07 93 0.03/s 08 74 0.02/s 09 80 0.02/s 10 81 0.02/s 11 89 0.02/s 12 78 0.02/s 13 80 0.02/s 14 87 0.02/s 15 81 0.02/s 16 89 0.02/s 17 95 0.03/s 18 99 0.03/s 19 93 0.03/s 20 100 0.03/s 21 73 0.02/s 22 91 0.03/s 23 91 0.03/s Dec 28 00 88 0.02/s 01 97 0.03/s 02 93 0.03/s 03 107 0.03/s 04 87 0.02/s 05 110 0.03/s 06 111 0.03/s 07 90 0.03/s 08 91 0.03/s 09 94 0.03/s 10 95 0.03/s 11 91 0.03/s 12 86 0.02/s 13 84 0.02/s 14 93 0.03/s 15 87 0.02/s 16 90 0.03/s 17 93 0.03/s 18 86 0.02/s 19 89 0.02/s 20 84 0.02/s 21 77 0.02/s 22 103 0.03/s 23 89 0.02/s Day Hour Count Average Duration Average idle time Dec 22 00 89 28m21s 28m6s 01 116 20m28s 20m27s 02 82 30m37s 30m37s 03 77 30m30s 30m29s 04 79 28m52s 28m52s 05 106 22m39s 22m36s 06 87 27m46s 27m44s 07 91 27m11s 27m11s 08 82 29m52s 29m51s 09 154 16m34s 16m33s 10 153 14m59s 14m57s 11 143 17m38s 17m38s 12 83 28m56s 28m55s 13 77 30m4s 30m4s 14 95 25m24s 25m22s 15 84 28m16s 28m15s 16 109 22m43s 22m43s 17 84 27m54s 27m53s 18 86 27m53s 27m48s 19 78 30m17s 30m17s 20 74 31m33s 31m32s 21 79 29m19s 29m18s 22 316 7m51s 7m50s 23 132 17m53s 17m53s Dec 23 00 86 28m44s 28m28s 01 78 30m14s 30m14s 02 129 19m11s 19m11s 03 75 29m43s 29m42s 04 86 29m9s 28m56s 05 109 22m15s 22m13s 06 88 27m20s 27m18s 07 92 26m13s 26m12s 08 157 15m33s 15m32s 09 79 30m31s 30m30s 10 89 27m11s 27m6s 11 151 16m22s 16m19s 12 366 6m53s 6m52s 13 190 13m24s 13m23s 14 79 30m31s 30m29s 15 88 26m41s 26m38s 16 90 1h26m56s 1h26m54s 17 80 31m27s 31m27s 18 78 31m8s 31m6s 19 74 30m9s 30m9s 20 89 27m1s 27m 21 134 16m34s 16m31s 22 81 29m51s 29m51s 23 96 24m51s 24m50s Dec 24 00 85 28m7s 27m51s 01 103 23m22s 23m21s 02 98 23m17s 23m16s 03 114 22m32s 22m6s 04 91 25m59s 25m51s 05 101 24m5s 24m4s 06 146 23m22s 23m16s 07 215 11m3s 10m58s 08 512 4m57s 4m55s 09 390 6m25s 6m19s 10 720 3m13s 3m13s 11 214 11m59s 11m58s 12 580 4m33s 4m32s 13 292 10m11s 10m1s 14 113 21m41s 21m40s 15 75 31m36s 31m35s 16 80 30m34s 30m33s 17 83 29m6s 29m5s 18 77 30m22s 30m11s 19 85 28m19s 28m11s 20 83 28m34s 28m33s 21 76 29m53s 29m52s 22 83 29m43s 29m43s 23 81 28m58s 28m58s Dec 25 00 78 30m46s 30m29s 01 77 30m9s 30m8s 02 87 27m41s 27m40s 03 84 28m49s 28m48s 04 81 28m48s 28m47s 05 98 24m55s 24m54s 06 103 23m13s 23m11s 07 81 29m57s 29m43s 08 84 29m57s 29m50s 09 87 27m20s 27m19s 10 275 8m48s 8m47s 11 68 31m46s 31m44s 12 85 29m49s 29m48s 13 80 30m16s 30m15s 14 77 31m12s 31m10s 15 77 31m53s 31m53s 16 82 30m2s 30m2s 17 75 31m23s 31m22s 18 81 30m2s 30m 19 80 30m17s 30m16s 20 81 29m56s 29m55s 21 83 28m8s 28m7s 22 86 27m6s 27m2s 23 84 28m37s 28m36s Dec 26 00 78 29m58s 29m40s 01 96 26m11s 26m11s 02 157 15m45s 15m44s 03 342 6m49s 6m48s 04 86 27m8s 27m7s 05 97 23m16s 23m14s 06 127 19m43s 19m41s 07 106 22m24s 22m24s 08 92 26m31s 26m30s 09 79 30m13s 30m11s 10 82 29m48s 29m46s 11 85 28m17s 28m16s 12 82 29m52s 29m52s 13 82 29m7s 29m6s 14 80 29m55s 29m53s 15 77 31m24s 31m23s 16 81 29m40s 29m40s 17 83 29m14s 29m13s 18 83 29m2s 29m 19 82 44m29s 29m11s 20 78 30m51s 30m50s 21 80 28m30s 28m29s 22 76 30m24s 30m23s 23 85 28m7s 28m3s Dec 27 00 82 30m13s 29m56s 01 97 26m26s 26m26s 02 316 7m41s 7m41s 03 87 27m4s 27m3s 04 85 28m5s 28m4s 05 91 25m10s 25m9s 06 80 29m55s 29m53s 07 93 27m32s 27m31s 08 74 30m39s 30m38s 09 80 30m35s 30m35s 10 81 29m54s 29m52s 11 89 27m36s 27m36s 12 78 30m16s 30m15s 13 80 30m32s 30m32s 14 87 27m28s 27m25s 15 81 29m14s 29m13s 16 89 27m27s 27m26s 17 95 26m7s 26m4s 18 99 24m9s 24m5s 19 93 26m9s 26m7s 20 100 23m35s 23m31s 21 73 27m24s 27m22s 22 91 27m46s 27m44s 23 91 26m43s 26m40s Dec 28 00 88 27m31s 27m12s 01 97 25m35s 25m32s 02 93 25m20s 25m17s 03 107 23m11s 23m9s 04 87 26m11s 26m8s 05 110 21m57s 21m54s 06 111 22m17s 22m13s 07 90 26m6s 26m3s 08 91 26m32s 26m30s 09 94 25m53s 25m50s 10 95 25m34s 25m32s 11 91 26m22s 26m19s 12 86 28m7s 28m5s 13 84 28m10s 28m8s 14 93 26m48s 26m45s 15 87 27m41s 27m38s 16 90 27m7s 27m6s 17 93 26m7s 26m3s 18 85 28m22s 28m14s 19 90 28m5s 27m7s 20 84 26m29s 26m27s 21 77 27m55s 27m52s 22 103 24m22s 24m20s 23 89 27m38s 27m36s -
Connections
Established Connections
Key values
- 121 connections Connection Peak
- 2024-12-27 02:26:42 Date
Connections per database
Key values
- ctdprd51 Main Database
- 18,814 connections Total
Connections per user
Key values
- pubeu Main User
- 18,814 connections Total
-
Sessions
Simultaneous sessions
Key values
- 89 sessions Session Peak
- 2024-12-24 12:24:22 Date
Histogram of session times
Key values
- 12,035 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 18,814 sessions Total
Sessions per user
Key values
- pubeu Main User
- 18,814 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 18,814 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 284,033 buffers Checkpoint Peak
- 2024-12-26 05:01:12 Date
- 1619.780 seconds Highest write time
- 0.005 seconds Sync time
Checkpoints Wal files
Key values
- 43 files Wal files usage Peak
- 2024-12-22 05:31:02 Date
Checkpoints distance
Key values
- 1,358.98 Mo Distance Peak
- 2024-12-22 05:31:02 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Dec 22 00 916 91.829s 0.003s 91.9s 01 148 15.004s 0.002s 15.034s 02 9,926 993.961s 0.003s 994.11s 03 181 18.305s 0.002s 18.336s 04 734 73.694s 0.002s 73.725s 05 64,727 1,626.5s 0.003s 1,627.078s 06 1,379 138.31s 0.003s 138.341s 07 5,894 590.361s 0.003s 590.461s 08 243 24.532s 0.002s 24.563s 09 1,012 101.425s 0.003s 101.505s 10 370 37.245s 0.002s 37.275s 11 514 51.459s 0.002s 51.489s 12 911 91.312s 0.003s 91.391s 13 851 85.211s 0.003s 85.241s 14 967 96.839s 0.003s 96.92s 15 984 98.528s 0.002s 98.558s 16 1,055 105.737s 0.002s 105.767s 17 969 97.023s 0.002s 97.098s 18 951 95.226s 0.002s 95.255s 19 813 81.512s 0.003s 81.542s 20 961 96.427s 0.002s 96.507s 21 1,182 118.448s 0.002s 118.481s 22 10,890 1,090.964s 0.003s 1,091.084s 23 1,066 106.856s 0.002s 106.885s Dec 23 00 4,510 451.812s 0.004s 451.952s 01 499 50.06s 0.002s 50.096s 02 4,157 416.274s 0.003s 416.36s 03 1,337 133.899s 0.004s 133.977s 04 516 51.854s 0.003s 51.888s 05 866 86.829s 0.003s 86.865s 06 3,087 309.165s 0.003s 309.244s 07 4,930 493.588s 0.003s 493.661s 08 1,064 106.832s 0.003s 106.871s 09 1,355 135.696s 0.004s 135.78s 10 6,482 649.898s 0.003s 650.054s 11 1,088 109.061s 0.004s 109.092s 12 5,733 574.206s 0.003s 574.294s 13 2,331 233.5s 0.004s 233.544s 14 61,097 1,671.1s 0.003s 1,671.583s 15 1,161 116.303s 0.004s 116.336s 16 5,873 588.363s 0.004s 588.477s 17 1,477 147.897s 0.004s 147.927s 18 1,719 172.285s 0.004s 172.363s 19 2,493 249.662s 0.003s 249.692s 20 1,407 140.984s 0.003s 141.057s 21 1,850 185.252s 0.003s 185.282s 22 2,008 201.168s 0.003s 201.21s 23 2,789 279.262s 0.007s 279.343s Dec 24 00 6,566 657.52s 0.003s 657.662s 01 626 62.782s 0.003s 62.815s 02 6,804 681.585s 0.004s 681.7s 03 51,774 1,648.492s 0.004s 1,648.968s 04 1,050 105.224s 0.003s 105.254s 05 802 80.281s 0.002s 80.356s 06 1,779 178.182s 0.004s 178.212s 07 1,483 148.53s 0.004s 148.606s 08 1,233 123.588s 0.003s 123.619s 09 1,640 164.262s 0.003s 164.344s 10 1,550 155.318s 0.004s 155.357s 11 1,382 138.403s 0.003s 138.483s 12 821 82.339s 0.002s 82.369s 13 939 94.285s 0.003s 94.316s 14 1,382 138.493s 0.004s 138.57s 15 1,369 137.182s 0.003s 137.213s 16 1,482 148.491s 0.003s 148.569s 17 1,650 165.248s 0.003s 165.279s 18 1,444 144.698s 0.003s 144.777s 19 2,004 200.798s 0.004s 200.828s 20 1,351 135.369s 0.004s 135.447s 21 3,209 321.385s 0.004s 321.461s 22 1,455 145.797s 0.003s 145.874s 23 1,412 141.512s 0.004s 141.543s Dec 25 00 7,551 756.019s 0.004s 756.214s 01 838 83.909s 0.004s 83.938s 02 625 62.659s 0.004s 62.691s 03 786 78.816s 0.002s 78.848s 04 760 76.118s 0.002s 76.198s 05 811 81.309s 0.002s 81.339s 06 1,232 123.474s 0.003s 123.506s 07 1,170 117.326s 0.002s 117.408s 08 2,220 222.388s 0.003s 222.435s 09 7,589 759.816s 0.002s 759.957s 10 18,519 1,703.003s 0.005s 1,703.112s 11 45 4.586s 0.002s 4.618s 12 34 3.581s 0.002s 3.613s 13 917 92.02s 0.003s 92.1s 14 4,217 422.016s 0.003s 422.118s 15 963 96.513s 0.002s 96.589s 16 1,217 121.947s 0.003s 121.977s 17 962 96.421s 0.003s 96.452s 18 2,524 252.867s 0.003s 252.913s 19 1,425 142.687s 0.004s 142.719s 20 656 65.691s 0.002s 65.753s 21 62,563 1,786.279s 0.005s 1,786.784s 22 737 73.808s 0.001s 73.823s 23 20,733 1,759.278s 0.005s 1,759.472s Dec 26 00 6,515 652.328s 0.003s 652.437s 01 4,268 427.437s 0.003s 427.526s 02 2,647 265.104s 0.004s 265.179s 03 3,143 314.673s 0.004s 314.752s 04 604 60.483s 0.002s 60.547s 05 289,658 2,182.834s 0.006s 2,183.337s 06 2,451 245.261s 0.003s 245.304s 07 2,575 257.878s 0.004s 257.921s 08 50,415 1,672.063s 0.004s 1,672.495s 09 1,541 154.406s 0.004s 154.486s 10 1,476 147.896s 0.004s 147.93s 11 1,128 113.094s 0.003s 113.183s 12 1,401 140.451s 0.004s 140.483s 13 669 67.246s 0.002s 67.324s 14 840 84.262s 0.004s 84.294s 15 5,151 516.226s 0.003s 516.328s 16 3,198 320.268s 0.003s 320.356s 17 802 80.449s 0.004s 80.48s 18 687 69.01s 0.003s 69.041s 19 616 61.875s 0.002s 61.905s 20 716 71.68s 0.002s 71.711s 21 600 60.268s 0.003s 60.343s 22 719 72.168s 0.002s 72.197s 23 701 70.278s 0.002s 70.307s Dec 27 00 7,324 733.385s 0.004s 733.529s 01 274 27.62s 0.002s 27.651s 02 2,081 208.496s 0.003s 208.573s 03 2,176 218.125s 0.004s 218.202s 04 2,535 253.955s 0.003s 254.036s 05 739 74.179s 0.003s 74.21s 06 726 72.798s 0.003s 72.828s 07 415 41.728s 0.003s 41.757s 08 327 32.917s 0.002s 32.948s 09 317 31.837s 0.002s 31.868s 10 5,147 515.465s 0.002s 515.563s 11 632 63.377s 0.004s 63.409s 12 844 84.499s 0.004s 84.577s 13 738 73.988s 0.003s 74.018s 14 927 92.919s 0.003s 92.949s 15 1,089 109.06s 0.004s 109.14s 16 1,887 189.064s 0.004s 189.095s 17 1,148 114.95s 0.003s 114.981s 18 1,015 101.636s 0.004s 101.712s 19 1,180 118.157s 0.004s 118.189s 20 1,495 149.814s 0.004s 149.892s 21 1,341 134.286s 0.004s 134.318s 22 6,015 602.29s 0.004s 602.4s 23 6,407 641.456s 0.004s 641.559s Dec 28 00 5,227 523.513s 0.004s 523.646s 01 626 62.793s 0.002s 62.869s 02 717 71.796s 0.004s 71.827s 03 1,716 171.94s 0.003s 171.973s 04 889 88.929s 0.003s 89.006s 05 839 84.007s 0.004s 84.037s 06 1,442 144.503s 0.004s 144.582s 07 373 37.44s 0.002s 37.47s 08 2,465 247.045s 0.003s 247.123s 09 568 57.069s 0.004s 57.099s 10 399 40.147s 0.002s 40.177s 11 510 51.163s 0.003s 51.192s 12 1,279 128.067s 0.003s 128.146s 13 6,576 658.417s 0.003s 658.526s 14 1,061 106.328s 0.004s 106.404s 15 1,376 137.87s 0.004s 137.9s 16 1,254 125.689s 0.004s 125.72s 17 1,279 128.197s 0.003s 128.274s 18 1,039 104.245s 0.004s 104.276s 19 551 55.219s 0.001s 55.235s 20 32,624 1,982.019s 0.004s 1,982.088s 21 1,356 135.819s 0.002s 135.901s 22 2,457 246.144s 0.004s 246.175s 23 1,061 106.34s 0.003s 106.419s Day Hour Added Removed Recycled Synced files Longest sync Average sync Dec 22 00 0 0 0 66 0.001s 0.002s 01 0 0 0 26 0.001s 0.002s 02 0 0 7 43 0.001s 0.002s 03 0 0 0 29 0.001s 0.002s 04 0 0 0 35 0.001s 0.002s 05 0 0 43 38 0.001s 0.002s 06 0 0 0 85 0.001s 0.002s 07 0 0 3 131 0.001s 0.002s 08 0 0 0 71 0.001s 0.002s 09 0 0 1 67 0.001s 0.002s 10 0 0 0 35 0.001s 0.002s 11 0 0 0 31 0.001s 0.002s 12 0 0 1 48 0.001s 0.002s 13 0 0 0 38 0.001s 0.002s 14 0 0 1 35 0.001s 0.002s 15 0 0 0 27 0.001s 0.002s 16 0 0 0 32 0.001s 0.002s 17 0 0 1 33 0.001s 0.002s 18 0 0 0 23 0.001s 0.002s 19 0 0 0 16 0.001s 0.002s 20 0 0 1 34 0.001s 0.002s 21 0 0 0 19 0.001s 0.002s 22 0 0 7 36 0.001s 0.002s 23 0 0 0 23 0.001s 0.002s Dec 23 00 0 0 2 87 0.001s 0.002s 01 0 0 0 30 0.001s 0.002s 02 0 0 2 48 0.001s 0.002s 03 0 0 1 59 0.001s 0.002s 04 0 0 0 31 0.001s 0.002s 05 0 0 0 31 0.001s 0.002s 06 0 0 1 51 0.001s 0.002s 07 0 0 3 149 0.001s 0.002s 08 0 0 0 119 0.001s 0.002s 09 0 0 1 35 0.001s 0.002s 10 0 0 4 45 0.001s 0.002s 11 0 0 0 60 0.001s 0.002s 12 0 0 2 135 0.001s 0.002s 13 0 0 1 128 0.001s 0.002s 14 0 0 35 44 0.001s 0.002s 15 0 0 0 26 0.001s 0.002s 16 0 0 4 81 0.001s 0.002s 17 0 0 0 37 0.001s 0.002s 18 0 0 1 17 0.001s 0.002s 19 0 0 0 27 0.001s 0.002s 20 0 0 1 19 0.001s 0.002s 21 0 0 0 22 0.001s 0.002s 22 0 0 1 21 0.001s 0.002s 23 0 0 1 39 0.003s 0.002s Dec 24 00 0 0 3 66 0.001s 0.002s 01 0 0 0 42 0.001s 0.002s 02 0 0 4 48 0.001s 0.002s 03 0 0 34 55 0.001s 0.002s 04 0 0 0 34 0.001s 0.002s 05 0 0 1 26 0.001s 0.002s 06 0 0 0 79 0.001s 0.002s 07 0 0 1 121 0.001s 0.002s 08 0 0 0 111 0.001s 0.002s 09 0 0 1 114 0.001s 0.002s 10 0 0 0 40 0.002s 0.002s 11 0 0 1 26 0.001s 0.002s 12 0 0 0 16 0.001s 0.002s 13 0 0 0 107 0.001s 0.002s 14 0 0 1 62 0.001s 0.002s 15 0 0 0 24 0.001s 0.002s 16 0 0 1 108 0.001s 0.002s 17 0 0 0 65 0.001s 0.002s 18 0 0 1 20 0.001s 0.002s 19 0 0 0 29 0.001s 0.002s 20 0 0 1 18 0.001s 0.002s 21 0 0 1 34 0.001s 0.002s 22 0 0 1 21 0.001s 0.002s 23 0 0 0 14 0.001s 0.002s Dec 25 00 0 0 4 80 0.001s 0.002s 01 0 0 0 42 0.001s 0.002s 02 0 0 0 34 0.001s 0.002s 03 0 0 0 32 0.001s 0.002s 04 0 0 1 35 0.001s 0.002s 05 0 0 0 24 0.001s 0.002s 06 0 0 0 39 0.001s 0.002s 07 0 0 1 31 0.001s 0.002s 08 0 0 1 50 0.001s 0.002s 09 0 0 10 30 0.001s 0.001s 10 0 0 5 52 0.001s 0.003s 11 0 0 0 12 0.001s 0.002s 12 0 0 0 12 0.001s 0.002s 13 0 0 1 26 0.001s 0.002s 14 0 0 3 71 0.001s 0.002s 15 0 0 1 17 0.001s 0.002s 16 0 0 0 26 0.001s 0.002s 17 0 0 0 18 0.001s 0.002s 18 0 0 1 30 0.001s 0.002s 19 0 0 0 28 0.001s 0.002s 20 0 0 1 9 0.001s 0.001s 21 0 0 38 48 0.001s 0.003s 22 0 0 0 8 0.001s 0.001s 23 0 0 12 65 0.001s 0.003s Dec 26 00 0 0 3 78 0.001s 0.002s 01 0 0 2 44 0.001s 0.002s 02 0 0 1 51 0.001s 0.002s 03 0 0 1 51 0.001s 0.002s 04 0 0 1 17 0.001s 0.001s 05 0 0 38 86 0.001s 0.003s 06 0 0 1 96 0.001s 0.002s 07 0 0 1 140 0.001s 0.002s 08 0 0 33 136 0.001s 0.002s 09 0 0 1 34 0.001s 0.002s 10 0 0 0 34 0.001s 0.002s 11 0 0 1 16 0.001s 0.002s 12 0 0 0 25 0.001s 0.002s 13 0 0 1 17 0.001s 0.002s 14 0 0 0 15 0.001s 0.002s 15 0 0 3 28 0.001s 0.002s 16 0 0 2 64 0.001s 0.002s 17 0 0 0 73 0.001s 0.002s 18 0 0 0 19 0.001s 0.002s 19 0 0 0 19 0.001s 0.002s 20 0 0 0 29 0.001s 0.002s 21 0 0 1 20 0.001s 0.002s 22 0 0 0 17 0.001s 0.002s 23 0 0 0 22 0.001s 0.002s Dec 27 00 0 0 3 82 0.001s 0.002s 01 0 0 0 40 0.001s 0.002s 02 0 0 1 40 0.001s 0.002s 03 0 0 1 40 0.001s 0.002s 04 0 0 1 47 0.001s 0.002s 05 0 0 0 40 0.001s 0.002s 06 0 0 0 40 0.001s 0.002s 07 0 0 0 24 0.001s 0.002s 08 0 0 0 23 0.001s 0.002s 09 0 0 0 29 0.001s 0.002s 10 0 0 3 28 0.001s 0.002s 11 0 0 0 33 0.001s 0.002s 12 0 0 1 32 0.001s 0.002s 13 0 0 0 32 0.001s 0.002s 14 0 0 0 24 0.001s 0.002s 15 0 0 1 36 0.001s 0.002s 16 0 0 0 25 0.001s 0.002s 17 0 0 0 24 0.001s 0.002s 18 0 0 1 22 0.001s 0.002s 19 0 0 0 23 0.001s 0.002s 20 0 0 1 25 0.001s 0.002s 21 0 0 0 30 0.001s 0.002s 22 0 0 4 28 0.001s 0.002s 23 0 0 3 35 0.001s 0.002s Dec 28 00 0 0 2 76 0.001s 0.002s 01 0 0 1 32 0.001s 0.002s 02 0 0 0 27 0.001s 0.002s 03 0 0 0 44 0.001s 0.002s 04 0 0 1 31 0.001s 0.002s 05 0 0 0 27 0.001s 0.002s 06 0 0 1 34 0.001s 0.002s 07 0 0 0 16 0.001s 0.002s 08 0 0 1 40 0.001s 0.002s 09 0 0 0 25 0.001s 0.002s 10 0 0 0 20 0.001s 0.002s 11 0 0 0 19 0.001s 0.002s 12 0 0 1 28 0.001s 0.002s 13 0 0 3 41 0.001s 0.002s 14 0 0 1 26 0.001s 0.002s 15 0 0 0 19 0.001s 0.002s 16 0 0 0 25 0.001s 0.002s 17 0 0 1 23 0.001s 0.002s 18 0 0 0 19 0.001s 0.002s 19 0 0 0 10 0.001s 0.001s 20 0 0 2 66 0.001s 0.003s 21 0 0 1 32 0.001s 0.002s 22 0 0 0 34 0.001s 0.002s 23 0 0 1 17 0.001s 0.002s Day Hour Count Avg time (sec) Dec 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 Dec 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 Dec 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 Dec 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 Dec 26 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Dec 27 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Dec 28 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Dec 22 00 3,079.50 kB 14,016.00 kB 01 442.50 kB 11,492.50 kB 02 51,835.50 kB 56,546.00 kB 03 519.00 kB 88,334.00 kB 04 2,189.50 kB 71,797.50 kB 05 348,077.50 kB 661,025.00 kB 06 1,431.50 kB 535,661.50 kB 07 29,555.00 kB 436,943.50 kB 08 719.00 kB 356,643.00 kB 09 6,003.00 kB 289,528.00 kB 10 789.50 kB 235,155.50 kB 11 1,776.00 kB 190,743.00 kB 12 3,065.00 kB 155,068.00 kB 13 2,909.00 kB 126,153.00 kB 14 3,161.00 kB 102,774.50 kB 15 2,643.50 kB 83,769.50 kB 16 3,181.50 kB 68,437.50 kB 17 2,509.00 kB 55,891.50 kB 18 2,940.50 kB 45,844.50 kB 19 2,680.50 kB 37,660.00 kB 20 2,689.00 kB 31,054.00 kB 21 2,924.50 kB 25,667.50 kB 22 54,774.50 kB 64,133.50 kB 23 2,993.00 kB 90,948.00 kB Dec 23 00 17,096.50 kB 76,472.00 kB 01 1,634.00 kB 62,759.50 kB 02 14,169.50 kB 53,498.50 kB 03 3,943.50 kB 43,996.00 kB 04 1,552.00 kB 36,081.50 kB 05 2,118.00 kB 29,573.00 kB 06 10,891.50 kB 26,055.00 kB 07 19,558.50 kB 33,804.00 kB 08 3,758.50 kB 28,101.00 kB 09 3,661.00 kB 23,459.50 kB 10 32,084.00 kB 57,938.00 kB 11 2,520.50 kB 47,456.50 kB 12 19,857.50 kB 40,633.50 kB 13 7,221.50 kB 35,752.50 kB 14 284,406.50 kB 537,664.00 kB 15 3,834.50 kB 436,209.50 kB 16 27,432.00 kB 358,497.00 kB 17 4,394.50 kB 291,217.00 kB 18 4,076.00 kB 236,685.00 kB 19 4,673.00 kB 192,598.00 kB 20 4,309.50 kB 156,815.00 kB 21 5,113.50 kB 127,971.50 kB 22 4,755.00 kB 104,573.00 kB 23 8,190.50 kB 86,247.00 kB Dec 24 00 24,804.50 kB 74,378.50 kB 01 2,264.00 kB 60,985.50 kB 02 29,302.00 kB 54,180.50 kB 03 277,946.50 kB 525,882.00 kB 04 3,250.00 kB 426,539.50 kB 05 2,764.00 kB 346,033.50 kB 06 4,842.00 kB 281,146.00 kB 07 4,655.00 kB 228,649.00 kB 08 3,896.50 kB 185,944.00 kB 09 4,266.50 kB 151,404.00 kB 10 4,862.00 kB 123,490.00 kB 11 4,062.50 kB 100,865.00 kB 12 2,479.00 kB 82,307.00 kB 13 2,734.00 kB 67,107.50 kB 14 2,705.00 kB 54,859.00 kB 15 4,062.00 kB 45,192.00 kB 16 4,501.50 kB 37,415.50 kB 17 4,362.00 kB 31,172.00 kB 18 3,989.00 kB 26,009.00 kB 19 4,558.50 kB 21,898.50 kB 20 4,326.50 kB 18,579.50 kB 21 9,329.50 kB 16,383.50 kB 22 4,847.00 kB 14,612.50 kB 23 4,646.00 kB 12,722.00 kB Dec 25 00 27,151.00 kB 44,852.00 kB 01 2,980.50 kB 37,153.00 kB 02 1,967.50 kB 30,452.50 kB 03 2,435.50 kB 25,122.50 kB 04 2,499.50 kB 20,805.00 kB 05 2,261.00 kB 17,316.50 kB 06 3,262.00 kB 14,616.50 kB 07 2,644.00 kB 12,334.00 kB 08 7,661.00 kB 11,446.50 kB 09 71,004.00 kB 71,004.00 kB 10 62,523.67 kB 164,138.00 kB 11 98.00 kB 126,121.50 kB 12 75.50 kB 102,176.00 kB 13 2,697.50 kB 83,157.50 kB 14 27,624.00 kB 72,563.50 kB 15 2,944.00 kB 59,358.50 kB 16 3,229.00 kB 48,672.50 kB 17 2,964.50 kB 40,014.50 kB 18 3,773.50 kB 33,059.00 kB 19 4,418.00 kB 27,605.50 kB 20 4,371.00 kB 24,200.00 kB 21 209,705.00 kB 559,618.00 kB 22 4,874.00 kB 452,575.00 kB 23 65,800.67 kB 385,323.00 kB Dec 26 00 24,357.50 kB 300,113.50 kB 01 15,062.50 kB 245,109.00 kB 02 9,288.50 kB 201,417.50 kB 03 9,483.50 kB 164,952.00 kB 04 3,375.00 kB 141,118.00 kB 05 211,216.67 kB 527,469.67 kB 06 7,425.00 kB 407,249.00 kB 07 7,002.00 kB 331,148.00 kB 08 272,660.00 kB 513,413.50 kB 09 4,435.50 kB 416,720.00 kB 10 4,523.00 kB 338,406.50 kB 11 3,590.00 kB 274,882.50 kB 12 3,753.00 kB 223,368.50 kB 13 1,898.50 kB 181,315.50 kB 14 1,970.00 kB 147,226.50 kB 15 24,726.50 kB 121,881.00 kB 16 14,359.00 kB 102,383.50 kB 17 2,075.00 kB 84,483.50 kB 18 1,811.00 kB 68,762.50 kB 19 1,725.50 kB 56,025.00 kB 20 2,029.50 kB 45,746.50 kB 21 1,724.00 kB 37,403.50 kB 22 2,042.50 kB 30,678.50 kB 23 2,086.50 kB 25,260.50 kB Dec 27 00 23,450.50 kB 40,710.50 kB 01 891.00 kB 33,290.00 kB 02 6,450.50 kB 27,689.00 kB 03 6,550.50 kB 23,688.00 kB 04 7,795.50 kB 21,152.00 kB 05 2,043.50 kB 17,433.00 kB 06 1,551.50 kB 14,501.50 kB 07 1,016.00 kB 11,925.50 kB 08 967.00 kB 9,852.00 kB 09 949.50 kB 8,161.50 kB 10 21,936.00 kB 40,802.00 kB 11 1,701.00 kB 33,314.50 kB 12 2,548.00 kB 27,454.50 kB 13 2,398.00 kB 22,711.00 kB 14 2,507.00 kB 18,847.00 kB 15 2,941.00 kB 15,812.00 kB 16 3,045.00 kB 13,364.50 kB 17 3,306.50 kB 11,448.00 kB 18 3,367.00 kB 9,933.00 kB 19 3,407.00 kB 8,663.00 kB 20 3,987.00 kB 7,746.50 kB 21 3,870.50 kB 7,022.00 kB 22 27,533.50 kB 28,921.00 kB 23 27,007.00 kB 48,094.50 kB Dec 28 00 19,427.50 kB 45,745.50 kB 01 2,075.50 kB 37,699.50 kB 02 2,366.50 kB 30,982.00 kB 03 5,115.00 kB 25,842.00 kB 04 2,771.00 kB 21,660.00 kB 05 2,830.50 kB 18,093.00 kB 06 4,125.50 kB 15,418.00 kB 07 1,075.00 kB 12,794.50 kB 08 7,334.50 kB 11,679.00 kB 09 1,285.50 kB 9,755.00 kB 10 1,130.50 kB 8,129.00 kB 11 1,528.50 kB 6,831.50 kB 12 3,795.00 kB 6,199.50 kB 13 28,899.00 kB 29,903.50 kB 14 3,242.50 kB 46,634.50 kB 15 3,302.00 kB 38,378.50 kB 16 3,563.00 kB 31,763.00 kB 17 3,416.00 kB 26,374.00 kB 18 3,066.50 kB 21,955.50 kB 19 3,205.00 kB 19,197.00 kB 20 9,524.00 kB 18,578.33 kB 21 3,989.00 kB 16,228.50 kB 22 7,111.00 kB 14,522.00 kB 23 3,236.00 kB 12,434.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Dec 22 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 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 Dec 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 Dec 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 Dec 26 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 27 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 28 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 56.05 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-12-26 04:31:48 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 56.05 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-12-26 04:31:48 Date
Analyzes per table
Key values
- pubc.log_query (209) Main table analyzed (database ctdprd51)
- 212 analyzes Total
Vacuums per table
Key values
- pubc.log_query (70) Main table vacuumed on database ctdprd51
- 83 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 70 33 81,268 0 14,299 0 4,491 18,770 1,084 8,949,361 ctdprd51.pg_toast.pg_toast_2619 4 4 15,166 0 4,135 0 40,203 11,828 3,824 2,096,330 ctdprd51.pg_catalog.pg_statistic 3 3 1,915 0 360 0 74 1,050 339 1,517,768 ctdprd51.pg_toast.pg_toast_486223 2 0 52 0 0 0 0 2 0 376 ctdprd51.pg_catalog.pg_class 1 1 259 0 59 0 0 141 56 359,478 ctdprd51.pub1.term_set_enrichment 1 0 9,880 0 4,906 0 0 5,238 2 321,725 ctdprd51.pub1.term_set_enrichment_agent 1 0 513,211 0 239,466 0 0 260,077 11 15,430,999 ctdprd51.pg_catalog.pg_attribute 1 1 496 0 108 0 37 203 89 417,546 Total 83 42 622,247 10,042 263,333 0 44,805 297,309 5,405 29,093,583 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (14689) Main table with removed tuples on database ctdprd51
- 17435 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 4 4 14,689 72,147 0 0 50,368 ctdprd51.pg_catalog.pg_statistic 3 3 1,325 7,513 0 0 870 ctdprd51.pg_catalog.pg_attribute 1 1 1,021 8,635 0 16 184 ctdprd51.pubc.log_query 70 33 277 1,392,543 46 0 58,153 ctdprd51.pg_catalog.pg_class 1 1 123 1,794 0 0 61 ctdprd51.pub1.term_set_enrichment 1 0 0 1,622,572 0 0 26,855 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 121,243,192 0 0 1,377,764 Total 83 42 17,435 124,348,396 46 16 1,514,255 Pages removed per table
Key values
- pg_catalog.pg_attribute (16) Main table with removed pages on database ctdprd51
- 16 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_catalog.pg_attribute 1 1 1021 16 ctdprd51.pg_catalog.pg_statistic 3 3 1325 0 ctdprd51.pg_catalog.pg_class 1 1 123 0 ctdprd51.pubc.log_query 70 33 277 0 ctdprd51.pub1.term_set_enrichment 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 4 4 14689 0 Total 83 42 17,435 16 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Dec 22 00 0 2 01 0 3 02 0 2 03 0 1 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 6 12 0 5 13 0 2 14 0 2 15 0 2 16 0 1 17 0 1 18 0 1 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 Dec 23 00 0 3 01 0 4 02 0 3 03 0 3 04 0 1 05 0 2 06 0 1 07 0 2 08 0 1 09 0 1 10 0 1 11 0 0 12 0 2 13 0 2 14 0 1 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 1 21 0 0 22 0 1 23 0 0 Dec 24 00 0 3 01 0 4 02 0 2 03 0 3 04 0 1 05 0 2 06 0 2 07 0 2 08 0 1 09 0 0 10 0 1 11 0 1 12 0 0 13 0 0 14 0 1 15 0 0 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 Dec 25 00 0 3 01 0 3 02 0 3 03 0 3 04 0 1 05 0 2 06 0 1 07 0 2 08 0 1 09 0 1 10 0 0 11 0 0 12 0 1 13 0 0 14 0 1 15 0 0 16 0 1 17 0 0 18 0 1 19 0 1 20 0 1 21 0 0 22 0 1 23 0 1 Dec 26 00 0 4 01 0 4 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 0 13 0 0 14 0 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Dec 27 00 0 2 01 0 4 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 2 12 0 3 13 0 1 14 0 2 15 0 1 16 0 1 17 0 2 18 0 0 19 0 1 20 0 1 21 0 1 22 0 1 23 0 0 Dec 28 00 0 4 01 0 4 02 0 2 03 0 3 04 0 1 05 0 2 06 0 1 07 0 0 08 0 0 09 0 1 10 0 0 11 0 1 12 0 1 13 0 1 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 - 56.05 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
- 7,956 Total read queries
- 380 Total write queries
Queries by database
Key values
- unknown Main database
- 5,394 Requests
- 20h59m28s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 12,667 Requests
User Request type Count Duration postgres Total 108 52m7s copy to 108 52m7s pubc Total 2 2s243ms select 2 2s243ms pubeu Total 6,460 1d5h18m48s cte 52 2m35s select 6,408 1d5h16m13s qaeu Total 79 4m16s cte 17 55s993ms select 62 3m20s unknown Total 12,667 1d20h36m copy to 711 6h42m49s cte 77 2m30s others 9 53s324ms select 11,870 1d13h49m46s Duration by user
Key values
- 1d20h36m (unknown) Main time consuming user
User Request type Count Duration postgres Total 108 52m7s copy to 108 52m7s pubc Total 2 2s243ms select 2 2s243ms pubeu Total 6,460 1d5h18m48s cte 52 2m35s select 6,408 1d5h16m13s qaeu Total 79 4m16s cte 17 55s993ms select 62 3m20s unknown Total 12,667 1d20h36m copy to 711 6h42m49s cte 77 2m30s others 9 53s324ms select 11,870 1d13h49m46s Queries by host
Key values
- unknown Main host
- 19,316 Requests
- 3d2h51m15s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 8,293 Requests
- 1d11h19m1s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-12-25 05:28:18 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 7,902 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 10h26m56s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'CANCER' AND l.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-12-26 19:22:43 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
2 10h26m55s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'CANCER' AND l.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-12-26 19:16:32 - Bind query: yes ]
3 23m57s 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-12-28 19:00:59 ]
4 23m45s 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-12-28 19:43:51 ]
5 22m24s /* * 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-12-28 00:22:25 ]
6 22m19s /* * 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-12-27 00:22:21 ]
7 22m14s /* * 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-12-26 00:22:16 ]
8 22m10s /* * 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-12-25 00:22:12 ]
9 22m5s /* * 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-12-24 00:22:06 ]
10 21m45s /* * 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-12-23 00:21:47 ]
11 21m31s /* * 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-12-22 00:21:33 ]
12 18m25s 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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-12-25 07:06:19 - Bind query: yes ]
13 17m51s 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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-12-24 03:50:27 - Bind query: yes ]
14 17m37s 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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-12-23 04:52:12 - Bind query: yes ]
15 17m36s 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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-12-24 03:49:52 - Bind query: yes ]
16 10m59s 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 = '2091679') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;[ Date: 2024-12-24 13:35:10 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 10m49s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-12-24 19:09:09 - Bind query: yes ]
18 10m49s SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));[ Date: 2024-12-24 18:58:43 - Bind query: yes ]
19 10m4s 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 = '2091679') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-12-24 13:48:59 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 10m 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 = '2091679') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-12-24 13:48:59 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 20h53m51s 2 10h26m55s 10h26m56s 10h26m55s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term_label l inner join dag_path dp on l.term_id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(l.nm) like ? and l.object_type_id = ? and gd.curated_reference_qty > ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 26 19 2 20h53m51s 10h26m55s [ User: pubeu - Total duration: 10h26m56s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'CANCER' AND l.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-26 19:22:43 Duration: 10h26m56s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'CANCER' AND l.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-26 19:16:32 Duration: 10h26m55s Bind query: yes
2 2h34m31s 7 21m31s 22m24s 22m4s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 22 00 1 21m31s 21m31s Dec 23 00 1 21m45s 21m45s Dec 24 00 1 22m5s 22m5s Dec 25 00 1 22m10s 22m10s Dec 26 00 1 22m14s 22m14s Dec 27 00 1 22m19s 22m19s Dec 28 00 1 22m24s 22m24s -
/* * 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-12-28 00:22:25 Duration: 22m24s
-
/* * 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-12-27 00:22:21 Duration: 22m19s
-
/* * 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-12-26 00:22:16 Duration: 22m14s
3 1h38m21s 26 1s329ms 18m25s 3m46s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 22 04 1 3s243ms 3s243ms 11 1 3s138ms 3s138ms 17 1 1s418ms 1s418ms 18 1 3m49s 3m49s Dec 23 00 1 1s379ms 1s379ms 04 1 17m37s 17m37s 08 1 1s405ms 1s405ms 10 1 4m35s 4m35s 12 1 4m35s 4m35s 13 1 1s606ms 1s606ms 21 1 3m43s 3m43s Dec 24 03 4 35m33s 8m53s 06 1 1s411ms 1s411ms 12 1 1s567ms 1s567ms 21 1 3s97ms 3s97ms Dec 25 07 1 18m25s 18m25s 13 1 1s582ms 1s582ms 19 1 1s405ms 1s405ms 22 1 4m41s 4m41s Dec 26 23 1 4m51s 4m51s Dec 27 03 1 1s329ms 1s329ms 22 1 3s209ms 3s209ms Dec 28 06 1 1s933ms 1s933ms [ User: pubeu - Total duration: 13m14s - Times executed: 8 ]
-
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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-25 07:06:19 Duration: 18m25s 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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-24 03:50:27 Duration: 17m51s 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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-23 04:52:12 Duration: 17m37s Bind query: yes
4 1h26m47s 869 3s702ms 41s529ms 5s992ms 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 #4
Day Hour Count Duration Avg duration Dec 22 02 2 7s657ms 3s828ms 03 1 3s845ms 3s845ms 04 4 16s57ms 4s14ms 07 1 3s811ms 3s811ms 09 3 11s496ms 3s832ms 10 3 11s663ms 3s887ms 11 2 7s708ms 3s854ms 12 3 11s466ms 3s822ms 13 3 11s832ms 3s944ms 14 1 3s869ms 3s869ms 18 3 11s318ms 3s772ms 19 2 8s211ms 4s105ms 20 12 45s630ms 3s802ms 21 4 15s215ms 3s803ms Dec 23 00 1 3s898ms 3s898ms 02 2 8s114ms 4s57ms 03 3 11s882ms 3s960ms 04 7 26s918ms 3s845ms 06 1 4s18ms 4s18ms 07 1 3s938ms 3s938ms 08 2 8s834ms 4s417ms 09 2 7s618ms 3s809ms 10 3 11s621ms 3s873ms 12 1 3s829ms 3s829ms 13 2 7s635ms 3s817ms 14 3 11s813ms 3s937ms 15 2 7s840ms 3s920ms 18 1 3s775ms 3s775ms 22 1 3s827ms 3s827ms Dec 24 01 1 3s862ms 3s862ms 02 3 11s929ms 3s976ms 03 103 7m59s 4s658ms 04 155 10m13s 3s960ms 06 81 8m22s 6s209ms 07 85 9m4s 6s404ms 08 87 12m28s 8s605ms 09 138 24m13s 10s534ms 10 2 8s142ms 4s71ms 14 3 11s397ms 3s799ms 17 1 3s958ms 3s958ms 20 1 3s987ms 3s987ms Dec 25 01 1 3s891ms 3s891ms 02 7 26s883ms 3s840ms 03 1 3s864ms 3s864ms 04 1 4s129ms 4s129ms 06 1 3s851ms 3s851ms 07 1 3s850ms 3s850ms 08 2 7s629ms 3s814ms 09 4 15s402ms 3s850ms 10 1 3s834ms 3s834ms 12 1 3s793ms 3s793ms 14 2 7s763ms 3s881ms 17 2 7s603ms 3s801ms 20 1 3s947ms 3s947ms 22 1 3s827ms 3s827ms 23 2 8s12ms 4s6ms Dec 26 01 1 3s945ms 3s945ms 02 8 31s922ms 3s990ms 03 4 15s572ms 3s893ms 04 2 7s691ms 3s845ms 05 2 7s913ms 3s956ms 06 3 11s495ms 3s831ms 08 4 15s679ms 3s919ms 09 1 3s855ms 3s855ms 10 3 16s131ms 5s377ms 11 3 13s392ms 4s464ms 12 1 4s38ms 4s38ms 14 3 11s891ms 3s963ms 15 2 7s866ms 3s933ms 16 1 4s32ms 4s32ms 21 1 3s866ms 3s866ms 22 2 7s760ms 3s880ms 23 3 11s468ms 3s822ms Dec 27 02 5 19s609ms 3s921ms 03 7 26s822ms 3s831ms 04 1 4s38ms 4s38ms 05 5 19s206ms 3s841ms 09 3 11s392ms 3s797ms 10 2 7s711ms 3s855ms 11 1 3s868ms 3s868ms 12 3 12s28ms 4s9ms 15 1 3s840ms 3s840ms 19 2 7s786ms 3s893ms 20 1 3s756ms 3s756ms 21 1 3s806ms 3s806ms Dec 28 00 2 7s563ms 3s781ms 03 4 15s447ms 3s861ms 08 1 3s749ms 3s749ms 09 2 7s801ms 3s900ms 10 3 11s231ms 3s743ms 11 2 7s608ms 3s804ms 12 1 3s852ms 3s852ms 13 2 7s930ms 3s965ms 15 3 14s398ms 4s799ms 16 2 7s758ms 3s879ms 17 2 7s837ms 3s918ms 19 1 3s808ms 3s808ms 20 3 11s478ms 3s826ms 22 1 3s949ms 3s949ms [ User: pubeu - Total duration: 36m9s - Times executed: 293 ]
-
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 = '1398604') 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 = '1398604') 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-12-24 09:45:33 Duration: 41s529ms 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 = '1398604') 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 = '1398604') 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-12-24 09:45:27 Duration: 40s440ms 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 = '1398604') 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 = '1398604') 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-12-24 09:45:29 Duration: 39s92ms Database: ctdprd51 User: pubeu Bind query: yes
5 1h1m54s 237 1s17ms 10m4s 15s674ms 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 #5
Day Hour Count Duration Avg duration Dec 22 07 1 1s773ms 1s773ms 08 1 1s48ms 1s48ms 09 4 1m46s 26s644ms 11 6 22s209ms 3s701ms 12 1 1s990ms 1s990ms 16 6 14s638ms 2s439ms 22 23 2m29s 6s501ms 23 3 17s225ms 5s741ms Dec 23 00 1 4s373ms 4s373ms 05 3 5s785ms 1s928ms 07 1 1s95ms 1s95ms 08 6 10s339ms 1s723ms 11 10 7m45s 46s548ms 13 6 32s516ms 5s419ms 20 1 14s188ms 14s188ms 21 10 47s433ms 4s743ms Dec 24 11 8 2m15s 16s896ms 12 10 2m38s 15s832ms 13 14 31m54s 2m16s 19 6 6s268ms 1s44ms Dec 25 00 1 1s264ms 1s264ms 06 1 24s969ms 24s969ms 10 6 2m6s 21s31ms 23 1 1s32ms 1s32ms Dec 26 01 10 15s887ms 1s588ms 02 20 1m22s 4s142ms 03 19 2m47s 8s810ms 04 2 3s650ms 1s825ms 05 7 12s244ms 1s749ms 06 8 35s405ms 4s425ms 07 5 21s843ms 4s368ms Dec 27 01 2 8s715ms 4s357ms 02 20 49s66ms 2s453ms 03 4 17s722ms 4s430ms 04 2 8s674ms 4s337ms 07 1 18s894ms 18s894ms Dec 28 03 6 7s40ms 1s173ms 22 1 1s798ms 1s798ms [ User: pubeu - Total duration: 52m55s - Times executed: 130 ]
-
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 = '2091679') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-24 13:48:59 Duration: 10m4s 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 = '2091679') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-24 13:48:59 Duration: 10m 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 = '2091679') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-24 13:48:59 Duration: 10m Database: ctdprd51 User: pubeu Bind query: yes
6 36m25s 749 1s17ms 6s711ms 2s918ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 22 00 1 1s338ms 1s338ms 02 1 1s944ms 1s944ms 03 1 3s224ms 3s224ms 07 2 8s868ms 4s434ms 08 2 3s731ms 1s865ms 09 1 3s292ms 3s292ms 10 8 21s255ms 2s656ms 12 1 2s792ms 2s792ms 14 2 8s978ms 4s489ms 15 1 6s99ms 6s99ms 16 1 1s214ms 1s214ms 17 1 3s315ms 3s315ms 18 2 7s652ms 3s826ms 19 1 2s100ms 2s100ms 21 2 7s804ms 3s902ms 22 2 8s302ms 4s151ms Dec 23 00 1 3s374ms 3s374ms 02 1 2s893ms 2s893ms 03 2 4s704ms 2s352ms 05 8 20s251ms 2s531ms 06 2 8s146ms 4s73ms 07 1 3s201ms 3s201ms 08 1 3s408ms 3s408ms 12 1 3s231ms 3s231ms Dec 24 02 1 1s737ms 1s737ms 03 12 30s177ms 2s514ms 04 1 5s982ms 5s982ms 05 1 2s83ms 2s83ms 06 1 2s45ms 2s45ms 07 15 37s198ms 2s479ms 08 4 6s399ms 1s599ms 16 3 13s886ms 4s628ms 17 3 5s319ms 1s773ms 18 1 2s816ms 2s816ms 19 3 11s280ms 3s760ms 21 1 6s62ms 6s62ms 23 2 4s863ms 2s431ms Dec 25 00 1 1s330ms 1s330ms 01 2 9s273ms 4s636ms 02 1 1s649ms 1s649ms 03 1 6s154ms 6s154ms 04 11 30s606ms 2s782ms 05 2 3s826ms 1s913ms 06 2 12s660ms 6s330ms 09 2 8s194ms 4s97ms 12 1 6s4ms 6s4ms 15 2 7s998ms 3s999ms 17 3 11s809ms 3s936ms 18 1 2s801ms 2s801ms 22 1 3s349ms 3s349ms Dec 26 00 10 24s642ms 2s464ms 02 1 2s38ms 2s38ms 03 4 11s87ms 2s771ms 04 1 1s766ms 1s766ms 06 1 1s829ms 1s829ms 07 2 3s882ms 1s941ms 11 1 2s74ms 2s74ms 12 2 7s535ms 3s767ms 13 2 5s233ms 2s616ms 14 2 3s405ms 1s702ms 16 1 2s924ms 2s924ms 20 2 5s185ms 2s592ms 21 1 1s303ms 1s303ms 23 10 25s46ms 2s504ms Dec 27 03 1 3s399ms 3s399ms 05 1 1s305ms 1s305ms 07 1 5s933ms 5s933ms 08 1 5s924ms 5s924ms 09 1 1s882ms 1s882ms 11 1 3s239ms 3s239ms 14 1 3s185ms 3s185ms 15 4 6s798ms 1s699ms 16 5 11s112ms 2s222ms 17 16 29s937ms 1s871ms 18 21 1m 2s878ms 19 16 33s823ms 2s113ms 20 18 1m8s 3s812ms 21 14 33s291ms 2s377ms 22 24 1m14s 3s85ms 23 16 44s765ms 2s797ms Dec 28 00 15 55s291ms 3s686ms 01 25 1m2s 2s512ms 02 19 1m4s 3s380ms 03 18 55s782ms 3s99ms 04 23 1m7s 2s954ms 05 13 31s480ms 2s421ms 06 25 1m21s 3s260ms 07 24 1m15s 3s142ms 08 15 41s743ms 2s782ms 09 21 47s526ms 2s263ms 10 18 1m2s 3s460ms 11 25 1m37s 3s889ms 12 14 43s807ms 3s129ms 13 12 29s533ms 2s461ms 14 16 41s695ms 2s605ms 15 27 1m9s 2s579ms 16 13 38s624ms 2s971ms 17 19 58s382ms 3s72ms 18 20 1m5s 3s288ms 19 19 49s331ms 2s596ms 20 16 41s332ms 2s583ms 21 15 48s161ms 3s210ms 22 17 49s614ms 2s918ms 23 15 44s449ms 2s963ms [ User: pubeu - Total duration: 10m47s - Times executed: 232 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-24 03:25:04 Duration: 6s711ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-27 23:58:09 Duration: 6s475ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-27 18:46:50 Duration: 6s460ms Database: ctdprd51 User: pubeu Bind query: yes
7 28m5s 637 1s2ms 8s563ms 2s645ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 22 00 1 4s351ms 4s351ms 01 1 2s858ms 2s858ms 03 1 2s950ms 2s950ms 05 3 8s775ms 2s925ms 07 1 2s100ms 2s100ms 10 6 15s422ms 2s570ms 12 2 7s686ms 3s843ms 14 1 2s980ms 2s980ms 15 2 5s814ms 2s907ms 17 1 3s375ms 3s375ms 18 2 3s449ms 1s724ms 20 1 1s200ms 1s200ms Dec 23 01 1 1s437ms 1s437ms 03 1 2s218ms 2s218ms 04 2 3s61ms 1s530ms 05 8 19s339ms 2s417ms 06 1 4s593ms 4s593ms 09 1 2s916ms 2s916ms 10 1 2s428ms 2s428ms 14 1 1s106ms 1s106ms 19 1 1s143ms 1s143ms 22 1 2s507ms 2s507ms 23 2 5s447ms 2s723ms Dec 24 03 13 29s648ms 2s280ms 06 1 2s22ms 2s22ms 07 20 35s939ms 1s796ms 08 5 7s859ms 1s571ms 09 2 12s810ms 6s405ms 17 2 2s394ms 1s197ms 18 2 3s392ms 1s696ms 20 2 7s463ms 3s731ms 22 1 2s446ms 2s446ms 23 1 1s960ms 1s960ms Dec 25 00 1 2s338ms 2s338ms 02 2 6s187ms 3s93ms 03 3 9s87ms 3s29ms 04 10 26s572ms 2s657ms 05 1 2s502ms 2s502ms 07 2 4s219ms 2s109ms 08 1 4s543ms 4s543ms 09 2 2s196ms 1s98ms 13 1 2s902ms 2s902ms 14 1 4s433ms 4s433ms 15 1 4s255ms 4s255ms 16 1 4s486ms 4s486ms 20 1 4s440ms 4s440ms 22 1 1s105ms 1s105ms 23 2 7s441ms 3s720ms Dec 26 00 9 21s566ms 2s396ms 01 3 6s440ms 2s146ms 02 3 8s127ms 2s709ms 04 1 4s507ms 4s507ms 05 4 9s855ms 2s463ms 06 1 1s82ms 1s82ms 07 2 5s239ms 2s619ms 08 2 3s349ms 1s674ms 11 3 3s483ms 1s161ms 12 1 1s216ms 1s216ms 15 1 1s930ms 1s930ms 16 1 2s197ms 2s197ms 18 1 2s557ms 2s557ms 19 1 3s205ms 3s205ms 20 1 4s550ms 4s550ms 21 2 4s523ms 2s261ms 22 1 4s524ms 4s524ms 23 9 22s540ms 2s504ms Dec 27 00 1 4s370ms 4s370ms 02 1 1s175ms 1s175ms 04 1 2s988ms 2s988ms 05 1 2s419ms 2s419ms 11 1 1s88ms 1s88ms 15 3 9s123ms 3s41ms 16 3 6s638ms 2s212ms 17 15 46s239ms 3s82ms 18 10 33s730ms 3s373ms 19 17 39s946ms 2s349ms 20 10 21s245ms 2s124ms 21 11 30s777ms 2s797ms 22 25 1m 2s402ms 23 18 52s443ms 2s913ms Dec 28 00 12 31s240ms 2s603ms 01 20 59s124ms 2s956ms 02 10 23s267ms 2s326ms 03 13 35s192ms 2s707ms 04 14 34s267ms 2s447ms 05 15 39s898ms 2s659ms 06 14 38s66ms 2s719ms 07 14 33s406ms 2s386ms 08 17 37s320ms 2s195ms 09 10 35s536ms 3s553ms 10 25 1m7s 2s701ms 11 15 38s825ms 2s588ms 12 14 41s717ms 2s979ms 13 8 19s109ms 2s388ms 14 16 50s459ms 3s153ms 15 11 30s951ms 2s813ms 16 11 32s599ms 2s963ms 17 21 56s311ms 2s681ms 18 26 1m11s 2s757ms 19 14 43s235ms 3s88ms 20 11 25s471ms 2s315ms 21 17 46s421ms 2s730ms 22 8 22s449ms 2s806ms 23 17 47s957ms 2s821ms [ User: pubeu - Total duration: 8m31s - Times executed: 192 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-24 09:57:00 Duration: 8s563ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-28 18:38:39 Duration: 4s888ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-24 03:25:02 Duration: 4s821ms Bind query: yes
8 26m54s 339 1s 7s914ms 4s762ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 22 00 2 9s869ms 4s934ms 01 5 25s152ms 5s30ms 03 1 4s896ms 4s896ms 05 4 20s304ms 5s76ms 06 1 4s483ms 4s483ms 09 2 9s811ms 4s905ms 10 1 4s818ms 4s818ms 12 1 4s767ms 4s767ms 13 3 14s291ms 4s763ms 16 1 4s791ms 4s791ms 22 1 5s56ms 5s56ms 23 2 10s26ms 5s13ms Dec 23 01 2 9s766ms 4s883ms 02 1 4s790ms 4s790ms 03 1 4s904ms 4s904ms 04 3 14s506ms 4s835ms 05 2 9s700ms 4s850ms 06 3 14s151ms 4s717ms 07 1 4s778ms 4s778ms 08 1 1s2ms 1s2ms 10 1 4s777ms 4s777ms 13 1 6s337ms 6s337ms 15 2 10s390ms 5s195ms 16 1 4s833ms 4s833ms 20 1 4s854ms 4s854ms 21 4 19s326ms 4s831ms Dec 24 03 5 22s647ms 4s529ms 04 7 35s618ms 5s88ms 06 6 27s556ms 4s592ms 07 44 3m29s 4s763ms 08 6 37s222ms 6s203ms 09 5 29s58ms 5s811ms 18 1 4s740ms 4s740ms 19 1 4s792ms 4s792ms 21 7 35s451ms 5s64ms Dec 25 00 1 4s911ms 4s911ms 01 1 4s757ms 4s757ms 02 2 9s867ms 4s933ms 03 1 4s776ms 4s776ms 04 6 29s204ms 4s867ms 06 2 5s892ms 2s946ms 08 1 4s927ms 4s927ms 13 1 4s922ms 4s922ms 15 1 4s723ms 4s723ms 16 1 4s690ms 4s690ms 19 1 4s745ms 4s745ms 21 1 4s875ms 4s875ms 22 2 9s525ms 4s762ms 23 3 14s176ms 4s725ms Dec 26 00 5 23s796ms 4s759ms 01 1 4s926ms 4s926ms 02 1 1s19ms 1s19ms 03 4 16s357ms 4s89ms 04 1 1s25ms 1s25ms 06 2 9s340ms 4s670ms 07 3 11s60ms 3s686ms 10 2 11s412ms 5s706ms 11 4 19s621ms 4s905ms 12 1 5s480ms 5s480ms 15 1 6s341ms 6s341ms 16 1 6s302ms 6s302ms 17 1 6s289ms 6s289ms 20 1 4s767ms 4s767ms 22 1 4s696ms 4s696ms 23 4 19s935ms 4s983ms Dec 27 01 1 4s895ms 4s895ms 04 1 4s770ms 4s770ms 08 1 4s611ms 4s611ms 09 3 15s222ms 5s74ms 10 1 4s668ms 4s668ms 14 1 4s797ms 4s797ms 17 3 14s287ms 4s762ms 18 8 39s544ms 4s943ms 19 3 14s760ms 4s920ms 20 2 9s763ms 4s881ms 21 5 24s453ms 4s890ms 22 6 25s891ms 4s315ms 23 5 23s948ms 4s789ms Dec 28 00 4 19s773ms 4s943ms 01 4 19s272ms 4s818ms 02 3 15s398ms 5s132ms 03 6 29s795ms 4s965ms 04 4 19s537ms 4s884ms 05 7 33s979ms 4s854ms 06 7 33s681ms 4s811ms 07 6 29s952ms 4s992ms 08 4 19s599ms 4s899ms 09 8 31s430ms 3s928ms 10 5 23s812ms 4s762ms 11 6 25s77ms 4s179ms 12 2 9s985ms 4s992ms 13 2 9s549ms 4s774ms 14 6 24s938ms 4s156ms 15 5 20s721ms 4s144ms 16 1 4s839ms 4s839ms 17 8 39s28ms 4s878ms 18 3 10s775ms 3s591ms 19 3 14s797ms 4s932ms 20 4 18s969ms 4s742ms 21 6 29s333ms 4s888ms 22 1 5s540ms 5s540ms 23 7 29s485ms 4s212ms [ User: pubeu - Total duration: 8m47s - Times executed: 112 ]
-
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 = '1438258' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-24 08:51:07 Duration: 7s914ms 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 = '1427841' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-24 08:49:39 Duration: 7s810ms 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 = '1316187' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-24 07:26:32 Duration: 7s783ms Bind query: yes
9 26m24s 50 1s913ms 1m24s 31s689ms select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 22 01 2 1m34s 47s336ms 05 2 1m50s 55s291ms 22 1 2s39ms 2s39ms Dec 23 09 2 1m4s 32s147ms 18 1 31s745ms 31s745ms Dec 24 07 3 7s228ms 2s409ms 08 1 4s224ms 4s224ms 09 1 2s548ms 2s548ms 12 2 1m 30s321ms 15 1 30s549ms 30s549ms 19 1 28s522ms 28s522ms Dec 25 22 1 2s669ms 2s669ms Dec 26 17 1 32s569ms 32s569ms 22 1 2s389ms 2s389ms Dec 27 17 1 40s306ms 40s306ms 18 1 55s328ms 55s328ms 19 1 2s77ms 2s77ms 20 1 48s25ms 48s25ms Dec 28 00 1 1m15s 1m15s 01 1 1m10s 1m10s 02 2 1m18s 39s446ms 03 1 1s913ms 1s913ms 04 1 42s927ms 42s927ms 05 1 2s266ms 2s266ms 06 5 1m55s 23s145ms 07 1 1m23s 1m23s 09 1 52s657ms 52s657ms 12 1 1s974ms 1s974ms 14 1 35s263ms 35s263ms 15 1 2s24ms 2s24ms 16 1 2s63ms 2s63ms 17 2 1m57s 58s996ms 18 2 2m1s 1m 19 2 1m58s 59s313ms 20 1 1s942ms 1s942ms 21 1 38s963ms 38s963ms [ User: pubeu - Total duration: 10m38s - Times executed: 22 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1276072')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-12-28 19:42:36 Duration: 1m24s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1276072')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-12-28 07:42:12 Duration: 1m23s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1276072')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-12-28 17:19:55 Duration: 1m21s Bind query: yes
10 23m57s 1 23m57s 23m57s 23m57s 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 #10
Day Hour Count Duration Avg duration Dec 28 19 1 23m57s 23m57s -
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-12-28 19:00:59 Duration: 23m57s
11 23m45s 1 23m45s 23m45s 23m45s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 28 19 1 23m45s 23m45s -
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-12-28 19:43:51 Duration: 23m45s
12 22m28s 1,224 1s2ms 3s22ms 1s101ms 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 #12
Day Hour Count Duration Avg duration Dec 22 00 7 7s984ms 1s140ms 01 6 6s915ms 1s152ms 02 6 6s840ms 1s140ms 03 2 2s257ms 1s128ms 04 5 5s634ms 1s126ms 05 7 7s903ms 1s129ms 06 5 5s314ms 1s62ms 07 5 5s383ms 1s76ms 08 7 7s712ms 1s101ms 09 5 5s411ms 1s82ms 10 13 14s7ms 1s77ms 11 9 9s927ms 1s103ms 12 12 13s110ms 1s92ms 13 7 7s503ms 1s71ms 14 10 11s108ms 1s110ms 15 5 5s483ms 1s96ms 16 4 4s309ms 1s77ms 17 14 15s388ms 1s99ms 18 9 9s926ms 1s102ms 19 6 6s429ms 1s71ms 20 9 9s753ms 1s83ms 21 9 9s814ms 1s90ms 22 7 8s309ms 1s187ms 23 6 6s771ms 1s128ms Dec 23 00 3 3s366ms 1s122ms 01 12 13s143ms 1s95ms 02 6 6s626ms 1s104ms 03 7 7s740ms 1s105ms 04 1 1s122ms 1s122ms 05 14 15s746ms 1s124ms 06 7 7s720ms 1s102ms 07 10 11s98ms 1s109ms 08 8 8s677ms 1s84ms 09 5 5s551ms 1s110ms 10 3 3s285ms 1s95ms 11 5 5s445ms 1s89ms 12 6 7s651ms 1s275ms 13 4 4s360ms 1s90ms 14 6 6s443ms 1s73ms 15 8 8s351ms 1s43ms 16 14 14s867ms 1s61ms 17 13 13s700ms 1s53ms 18 6 6s524ms 1s87ms 19 6 6s482ms 1s80ms 20 15 16s148ms 1s76ms 21 6 6s489ms 1s81ms 22 9 9s842ms 1s93ms 23 11 12s9ms 1s91ms Dec 24 00 8 8s840ms 1s105ms 01 5 5s580ms 1s116ms 02 8 8s761ms 1s95ms 03 3 4s318ms 1s439ms 04 1 1s125ms 1s125ms 05 9 10s54ms 1s117ms 06 45 50s484ms 1s121ms 07 46 54s225ms 1s178ms 08 7 8s50ms 1s150ms 09 8 11s161ms 1s395ms 10 8 8s765ms 1s95ms 11 7 7s603ms 1s86ms 12 1 1s140ms 1s140ms 14 8 8s665ms 1s83ms 15 3 3s199ms 1s66ms 16 8 8s533ms 1s66ms 17 8 8s512ms 1s64ms 18 10 10s846ms 1s84ms 19 9 9s594ms 1s66ms 20 10 10s789ms 1s78ms 21 7 7s492ms 1s70ms 22 4 4s539ms 1s134ms 23 4 4s398ms 1s99ms Dec 25 00 5 5s327ms 1s65ms 01 7 7s891ms 1s127ms 02 9 9s949ms 1s105ms 03 9 9s777ms 1s86ms 04 6 6s666ms 1s111ms 05 9 10s139ms 1s126ms 06 9 9s687ms 1s76ms 07 7 7s761ms 1s108ms 08 9 9s895ms 1s99ms 09 8 8s633ms 1s79ms 10 5 5s496ms 1s99ms 12 1 1s197ms 1s197ms 13 2 2s154ms 1s77ms 15 3 3s315ms 1s105ms 16 3 3s175ms 1s58ms 17 2 2s211ms 1s105ms 18 7 7s320ms 1s45ms 19 4 4s298ms 1s74ms 20 7 7s502ms 1s71ms 21 6 6s463ms 1s77ms 22 9 9s768ms 1s85ms 23 7 7s453ms 1s64ms Dec 26 00 7 7s856ms 1s122ms 01 5 5s511ms 1s102ms 02 3 3s392ms 1s130ms 03 7 7s735ms 1s105ms 04 8 8s817ms 1s102ms 05 7 7s625ms 1s89ms 06 6 6s517ms 1s86ms 07 12 12s916ms 1s76ms 08 6 6s458ms 1s76ms 09 4 4s370ms 1s92ms 10 4 4s473ms 1s118ms 11 16 17s942ms 1s121ms 12 16 17s723ms 1s107ms 13 12 13s340ms 1s111ms 14 5 5s714ms 1s142ms 15 9 10s60ms 1s117ms 16 15 16s628ms 1s108ms 17 5 5s557ms 1s111ms 18 13 14s363ms 1s104ms 19 6 6s438ms 1s73ms 20 6 6s470ms 1s78ms 21 17 18s85ms 1s63ms 22 7 7s646ms 1s92ms 23 8 8s795ms 1s99ms Dec 27 00 12 12s994ms 1s82ms 01 6 6s581ms 1s96ms 02 9 9s711ms 1s79ms 03 8 8s554ms 1s69ms 04 3 3s292ms 1s97ms 05 7 7s852ms 1s121ms 06 5 5s497ms 1s99ms 07 6 6s474ms 1s79ms 08 8 8s617ms 1s77ms 09 4 4s414ms 1s103ms 10 10 10s585ms 1s58ms 11 8 8s539ms 1s67ms 12 1 1s22ms 1s22ms 13 6 6s283ms 1s47ms 14 6 6s259ms 1s43ms 15 7 7s515ms 1s73ms 16 6 6s181ms 1s30ms 17 11 11s837ms 1s76ms 18 10 10s917ms 1s91ms 19 2 2s238ms 1s119ms 20 5 5s410ms 1s82ms 21 3 3s329ms 1s109ms 22 6 6s648ms 1s108ms 23 11 12s65ms 1s96ms Dec 28 00 2 2s160ms 1s80ms 01 6 6s554ms 1s92ms 02 6 6s567ms 1s94ms 03 8 8s543ms 1s67ms 04 10 10s977ms 1s97ms 05 7 7s984ms 1s140ms 06 6 6s536ms 1s89ms 07 3 3s272ms 1s90ms 08 4 4s427ms 1s106ms 09 4 4s399ms 1s99ms 10 3 3s311ms 1s103ms 11 2 2s259ms 1s129ms 12 5 5s584ms 1s116ms 13 8 8s825ms 1s103ms 14 4 4s505ms 1s126ms 15 8 9s2ms 1s125ms 16 10 10s921ms 1s92ms 17 2 2s148ms 1s74ms 18 8 8s858ms 1s107ms 19 11 11s804ms 1s73ms 20 6 6s416ms 1s69ms 21 4 4s312ms 1s78ms 22 5 5s535ms 1s107ms 23 7 7s629ms 1s89ms [ User: pubeu - Total duration: 9m10s - Times executed: 499 ]
[ User: qaeu - Total duration: 1s242ms - 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 = '1987938' or receptorTerm.id = '1987938' 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-12-24 07:26:32 Duration: 3s22ms 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 = '1471159' or receptorTerm.id = '1471159' 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-12-24 09:13:31 Duration: 2s633ms 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 = '1902458' or receptorTerm.id = '1902458' 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-12-24 03:45:58 Duration: 2s52ms Database: ctdprd51 User: pubeu Bind query: yes
13 18m20s 25 43s488ms 45s514ms 44s1ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 22 06 1 43s507ms 43s507ms 10 1 43s840ms 43s840ms 14 1 43s846ms 43s846ms 18 1 43s488ms 43s488ms Dec 23 06 1 44s55ms 44s55ms 10 1 43s595ms 43s595ms 14 1 43s489ms 43s489ms 18 1 43s649ms 43s649ms Dec 24 06 1 44s63ms 44s63ms 10 1 45s514ms 45s514ms 14 1 43s612ms 43s612ms 18 1 44s38ms 44s38ms Dec 25 06 1 43s877ms 43s877ms 10 1 43s814ms 43s814ms 14 1 44s336ms 44s336ms 18 1 43s914ms 43s914ms Dec 26 06 1 43s990ms 43s990ms 10 1 44s20ms 44s20ms 14 1 44s54ms 44s54ms 18 1 44s153ms 44s153ms Dec 27 06 1 44s321ms 44s321ms 10 1 44s127ms 44s127ms 14 1 44s209ms 44s209ms 18 1 44s408ms 44s408ms Dec 28 19 1 44s105ms 44s105ms [ User: postgres - Total duration: 17m35s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 17m35s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-24 10:05:47 Duration: 45s514ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-27 18:05:46 Duration: 44s408ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-25 14:05:46 Duration: 44s336ms Database: ctdprd51 User: postgres Application: pg_dump
14 17m41s 334 1s6ms 12s158ms 3s179ms 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 #14
Day Hour Count Duration Avg duration Dec 22 00 3 7s282ms 2s427ms 01 5 9s627ms 1s925ms 02 1 4s815ms 4s815ms 04 3 5s376ms 1s792ms 05 2 4s291ms 2s145ms 08 4 9s32ms 2s258ms 11 1 1s100ms 1s100ms 12 1 1s194ms 1s194ms 13 1 2s46ms 2s46ms 15 1 1s6ms 1s6ms 17 1 2s431ms 2s431ms 19 2 7s431ms 3s715ms 21 3 12s669ms 4s223ms 22 3 5s874ms 1s958ms Dec 23 00 1 1s284ms 1s284ms 04 5 12s18ms 2s403ms 05 1 2s98ms 2s98ms 07 1 2s29ms 2s29ms 12 1 1s548ms 1s548ms 14 1 1s289ms 1s289ms 20 2 9s783ms 4s891ms 21 8 23s59ms 2s882ms 22 1 1s588ms 1s588ms Dec 24 00 1 1s459ms 1s459ms 01 2 5s73ms 2s536ms 02 1 2s331ms 2s331ms 03 23 1m5s 2s836ms 06 26 1m26s 3s332ms 07 1 1s201ms 1s201ms 08 3 11s159ms 3s719ms 09 1 1s71ms 1s71ms 11 4 11s178ms 2s794ms 12 3 7s312ms 2s437ms 14 1 1s59ms 1s59ms 17 2 4s43ms 2s21ms 18 4 20s161ms 5s40ms 19 3 7s599ms 2s533ms 20 2 6s95ms 3s47ms 21 2 7s142ms 3s571ms 23 2 4s486ms 2s243ms Dec 25 00 1 2s461ms 2s461ms 01 4 15s731ms 3s932ms 02 2 7s470ms 3s735ms 03 4 10s704ms 2s676ms 04 1 1s239ms 1s239ms 05 1 1s593ms 1s593ms 06 3 5s405ms 1s801ms 07 1 4s127ms 4s127ms 08 6 24s71ms 4s11ms 09 1 3s800ms 3s800ms 10 2 2s784ms 1s392ms 13 2 4s584ms 2s292ms 14 2 5s262ms 2s631ms 15 1 1s637ms 1s637ms 17 3 13s765ms 4s588ms 18 3 19s354ms 6s451ms 19 1 2s351ms 2s351ms 20 4 8s713ms 2s178ms 21 3 4s968ms 1s656ms 22 4 11s805ms 2s951ms 23 1 5s932ms 5s932ms Dec 26 00 1 3s45ms 3s45ms 01 1 1s486ms 1s486ms 02 8 32s569ms 4s71ms 03 5 17s48ms 3s409ms 05 2 7s202ms 3s601ms 06 6 18s247ms 3s41ms 07 2 4s838ms 2s419ms 08 3 19s554ms 6s518ms 09 5 14s331ms 2s866ms 10 2 9s912ms 4s956ms 11 2 13s836ms 6s918ms 12 4 18s536ms 4s634ms 13 2 3s941ms 1s970ms 14 2 3s844ms 1s922ms 15 4 13s357ms 3s339ms 17 1 2s663ms 2s663ms 18 3 13s285ms 4s428ms 19 3 12s187ms 4s62ms 20 6 16s659ms 2s776ms 21 6 13s238ms 2s206ms 22 1 1s179ms 1s179ms 23 2 12s14ms 6s7ms Dec 27 00 3 14s280ms 4s760ms 01 4 10s984ms 2s746ms 02 2 7s572ms 3s786ms 03 4 6s729ms 1s682ms 04 1 2s800ms 2s800ms 05 4 16s523ms 4s130ms 06 4 11s492ms 2s873ms 07 4 9s716ms 2s429ms 08 1 4s406ms 4s406ms 09 1 7s495ms 7s495ms 10 3 5s456ms 1s818ms 11 1 4s661ms 4s661ms 12 2 5s458ms 2s729ms 15 1 2s461ms 2s461ms 17 4 20s548ms 5s137ms 18 2 14s467ms 7s233ms 19 1 1s144ms 1s144ms 20 2 6s797ms 3s398ms 21 1 6s331ms 6s331ms 22 2 2s736ms 1s368ms Dec 28 00 3 11s290ms 3s763ms 01 1 1s49ms 1s49ms 02 5 26s313ms 5s262ms 04 2 7s408ms 3s704ms 06 2 13s388ms 6s694ms 08 6 13s754ms 2s292ms 10 2 3s368ms 1s684ms 13 3 11s287ms 3s762ms 14 1 3s114ms 3s114ms 15 1 5s555ms 5s555ms 18 1 2s474ms 2s474ms 19 2 5s584ms 2s792ms 20 1 3s124ms 3s124ms 22 2 7s419ms 3s709ms 23 1 1s840ms 1s840ms [ User: pubeu - Total duration: 6m6s - Times executed: 117 ]
-
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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-26 11:18:01 Duration: 12s158ms 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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-24 06:26:14 Duration: 11s873ms 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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-26 08:35:41 Duration: 11s32ms Database: ctdprd51 User: pubeu Bind query: yes
15 13m24s 52 1s196ms 10m59s 15s475ms 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 actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 22 04 1 2s321ms 2s321ms 07 1 4s368ms 4s368ms 10 6 14s22ms 2s337ms 14 1 3s171ms 3s171ms 16 1 3s175ms 3s175ms Dec 23 02 8 16s751ms 2s93ms 12 2 4s970ms 2s485ms Dec 24 06 1 2s78ms 2s78ms 12 8 24s915ms 3s114ms 13 5 11m23s 2m16s Dec 25 02 1 2s837ms 2s837ms 04 2 4s511ms 2s255ms 08 5 6s654ms 1s330ms 10 6 25s723ms 4s287ms Dec 27 02 2 2s866ms 1s433ms 07 1 1s196ms 1s196ms 10 1 2s106ms 2s106ms [ User: pubeu - Total duration: 12m41s - Times executed: 34 ]
-
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 = '2091679') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-24 13:35:10 Duration: 10m59s 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 = '2091679') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-24 13:22:07 Duration: 12s448ms 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 = '2091679') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-24 13:21:54 Duration: 4s775ms Database: ctdprd51 User: pubeu Bind query: yes
16 11m15s 59 11s79ms 12s917ms 11s442ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 27 11 3 33s571ms 11s190ms 12 5 55s923ms 11s184ms 13 2 25s509ms 12s754ms 14 8 1m34s 11s814ms 17 11 2m4s 11s349ms 19 4 45s86ms 11s271ms 20 16 3m 11s260ms 23 4 45s255ms 11s313ms Dec 28 00 6 1m10s 11s703ms [ User: pubeu - Total duration: 5m11s - Times executed: 27 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-27 13:59:45 Duration: 12s917ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-27 13:59:42 Duration: 12s592ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-27 14:01:17 Duration: 12s532ms Database: ctdprd51 User: pubeu Bind query: yes
17 10m51s 2 2s208ms 10m49s 5m25s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 24 19 1 10m49s 10m49s Dec 26 20 1 2s208ms 2s208ms -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-24 19:09:09 Duration: 10m49s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TNF') 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:0005215' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'TESTICULAR DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA02010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'LEAD' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10090' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-26 20:39:25 Duration: 2s208ms Bind query: yes
18 10m51s 2 2s196ms 10m49s 5m25s select gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?));Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 24 18 1 10m49s 10m49s Dec 26 20 1 2s196ms 2s196ms -
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-12-24 18:58:43 Duration: 10m49s Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TNF') 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:0005215' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'TESTICULAR DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA02010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'LEAD' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10090' AND n.dag_id = 7));
Date: 2024-12-26 20:39:23 Duration: 2s196ms Bind query: yes
19 8m33s 34 1s745ms 20s872ms 15s88ms 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 #19
Day Hour Count Duration Avg duration Dec 22 01 1 18s683ms 18s683ms 09 1 1s745ms 1s745ms 14 2 37s686ms 18s843ms 22 4 1m17s 19s265ms Dec 23 00 3 41s601ms 13s867ms 02 1 14s210ms 14s210ms 05 1 2s248ms 2s248ms 08 1 17s626ms 17s626ms 15 7 2m8s 18s418ms 16 6 1m57s 19s505ms Dec 24 08 1 1s984ms 1s984ms 16 1 20s872ms 20s872ms 18 1 20s774ms 20s774ms 20 1 3s988ms 3s988ms Dec 26 04 1 2s269ms 2s269ms 11 1 2s300ms 2s300ms Dec 28 06 1 3s998ms 3s998ms [ User: pubeu - Total duration: 2m56s - Times executed: 12 ]
-
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 = '2084920') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-24 16:53:36 Duration: 20s872ms 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 = '2084703') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-24 18:07:09 Duration: 20s774ms 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 = '2085710') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-23 15:48:45 Duration: 20s373ms Bind query: yes
20 8m 1 8m 8m 8m select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where r.id in (( select distinct reference_id from term_reference tr where object_type_id = ? and term_id in ( select t.id from term t where t.nm_fts @@ to_tsquery(?, ?) and t.object_type_id = ?) and ixn_type_id = ( select id from ixn_type where nm = ?))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 25 08 1 8m 8m -
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where r.id IN (( select /* IQH.getReferencesAssociatedWithTermSQL */ distinct reference_id from term_reference tr where object_type_id = 2 and term_id in ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'PARTICULATE & MATTER') AND t.object_type_id = 2) and ixn_type_id = ( select id from ixn_type where nm = 'EXPOSURE'))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-25 08:06:33 Duration: 8m Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,224 22m28s 1s2ms 3s22ms 1s101ms 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 Dec 22 00 7 7s984ms 1s140ms 01 6 6s915ms 1s152ms 02 6 6s840ms 1s140ms 03 2 2s257ms 1s128ms 04 5 5s634ms 1s126ms 05 7 7s903ms 1s129ms 06 5 5s314ms 1s62ms 07 5 5s383ms 1s76ms 08 7 7s712ms 1s101ms 09 5 5s411ms 1s82ms 10 13 14s7ms 1s77ms 11 9 9s927ms 1s103ms 12 12 13s110ms 1s92ms 13 7 7s503ms 1s71ms 14 10 11s108ms 1s110ms 15 5 5s483ms 1s96ms 16 4 4s309ms 1s77ms 17 14 15s388ms 1s99ms 18 9 9s926ms 1s102ms 19 6 6s429ms 1s71ms 20 9 9s753ms 1s83ms 21 9 9s814ms 1s90ms 22 7 8s309ms 1s187ms 23 6 6s771ms 1s128ms Dec 23 00 3 3s366ms 1s122ms 01 12 13s143ms 1s95ms 02 6 6s626ms 1s104ms 03 7 7s740ms 1s105ms 04 1 1s122ms 1s122ms 05 14 15s746ms 1s124ms 06 7 7s720ms 1s102ms 07 10 11s98ms 1s109ms 08 8 8s677ms 1s84ms 09 5 5s551ms 1s110ms 10 3 3s285ms 1s95ms 11 5 5s445ms 1s89ms 12 6 7s651ms 1s275ms 13 4 4s360ms 1s90ms 14 6 6s443ms 1s73ms 15 8 8s351ms 1s43ms 16 14 14s867ms 1s61ms 17 13 13s700ms 1s53ms 18 6 6s524ms 1s87ms 19 6 6s482ms 1s80ms 20 15 16s148ms 1s76ms 21 6 6s489ms 1s81ms 22 9 9s842ms 1s93ms 23 11 12s9ms 1s91ms Dec 24 00 8 8s840ms 1s105ms 01 5 5s580ms 1s116ms 02 8 8s761ms 1s95ms 03 3 4s318ms 1s439ms 04 1 1s125ms 1s125ms 05 9 10s54ms 1s117ms 06 45 50s484ms 1s121ms 07 46 54s225ms 1s178ms 08 7 8s50ms 1s150ms 09 8 11s161ms 1s395ms 10 8 8s765ms 1s95ms 11 7 7s603ms 1s86ms 12 1 1s140ms 1s140ms 14 8 8s665ms 1s83ms 15 3 3s199ms 1s66ms 16 8 8s533ms 1s66ms 17 8 8s512ms 1s64ms 18 10 10s846ms 1s84ms 19 9 9s594ms 1s66ms 20 10 10s789ms 1s78ms 21 7 7s492ms 1s70ms 22 4 4s539ms 1s134ms 23 4 4s398ms 1s99ms Dec 25 00 5 5s327ms 1s65ms 01 7 7s891ms 1s127ms 02 9 9s949ms 1s105ms 03 9 9s777ms 1s86ms 04 6 6s666ms 1s111ms 05 9 10s139ms 1s126ms 06 9 9s687ms 1s76ms 07 7 7s761ms 1s108ms 08 9 9s895ms 1s99ms 09 8 8s633ms 1s79ms 10 5 5s496ms 1s99ms 12 1 1s197ms 1s197ms 13 2 2s154ms 1s77ms 15 3 3s315ms 1s105ms 16 3 3s175ms 1s58ms 17 2 2s211ms 1s105ms 18 7 7s320ms 1s45ms 19 4 4s298ms 1s74ms 20 7 7s502ms 1s71ms 21 6 6s463ms 1s77ms 22 9 9s768ms 1s85ms 23 7 7s453ms 1s64ms Dec 26 00 7 7s856ms 1s122ms 01 5 5s511ms 1s102ms 02 3 3s392ms 1s130ms 03 7 7s735ms 1s105ms 04 8 8s817ms 1s102ms 05 7 7s625ms 1s89ms 06 6 6s517ms 1s86ms 07 12 12s916ms 1s76ms 08 6 6s458ms 1s76ms 09 4 4s370ms 1s92ms 10 4 4s473ms 1s118ms 11 16 17s942ms 1s121ms 12 16 17s723ms 1s107ms 13 12 13s340ms 1s111ms 14 5 5s714ms 1s142ms 15 9 10s60ms 1s117ms 16 15 16s628ms 1s108ms 17 5 5s557ms 1s111ms 18 13 14s363ms 1s104ms 19 6 6s438ms 1s73ms 20 6 6s470ms 1s78ms 21 17 18s85ms 1s63ms 22 7 7s646ms 1s92ms 23 8 8s795ms 1s99ms Dec 27 00 12 12s994ms 1s82ms 01 6 6s581ms 1s96ms 02 9 9s711ms 1s79ms 03 8 8s554ms 1s69ms 04 3 3s292ms 1s97ms 05 7 7s852ms 1s121ms 06 5 5s497ms 1s99ms 07 6 6s474ms 1s79ms 08 8 8s617ms 1s77ms 09 4 4s414ms 1s103ms 10 10 10s585ms 1s58ms 11 8 8s539ms 1s67ms 12 1 1s22ms 1s22ms 13 6 6s283ms 1s47ms 14 6 6s259ms 1s43ms 15 7 7s515ms 1s73ms 16 6 6s181ms 1s30ms 17 11 11s837ms 1s76ms 18 10 10s917ms 1s91ms 19 2 2s238ms 1s119ms 20 5 5s410ms 1s82ms 21 3 3s329ms 1s109ms 22 6 6s648ms 1s108ms 23 11 12s65ms 1s96ms Dec 28 00 2 2s160ms 1s80ms 01 6 6s554ms 1s92ms 02 6 6s567ms 1s94ms 03 8 8s543ms 1s67ms 04 10 10s977ms 1s97ms 05 7 7s984ms 1s140ms 06 6 6s536ms 1s89ms 07 3 3s272ms 1s90ms 08 4 4s427ms 1s106ms 09 4 4s399ms 1s99ms 10 3 3s311ms 1s103ms 11 2 2s259ms 1s129ms 12 5 5s584ms 1s116ms 13 8 8s825ms 1s103ms 14 4 4s505ms 1s126ms 15 8 9s2ms 1s125ms 16 10 10s921ms 1s92ms 17 2 2s148ms 1s74ms 18 8 8s858ms 1s107ms 19 11 11s804ms 1s73ms 20 6 6s416ms 1s69ms 21 4 4s312ms 1s78ms 22 5 5s535ms 1s107ms 23 7 7s629ms 1s89ms [ User: pubeu - Total duration: 9m10s - Times executed: 499 ]
[ User: qaeu - Total duration: 1s242ms - 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 = '1987938' or receptorTerm.id = '1987938' 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-12-24 07:26:32 Duration: 3s22ms 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 = '1471159' or receptorTerm.id = '1471159' 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-12-24 09:13:31 Duration: 2s633ms 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 = '1902458' or receptorTerm.id = '1902458' 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-12-24 03:45:58 Duration: 2s52ms Database: ctdprd51 User: pubeu Bind query: yes
2 869 1h26m47s 3s702ms 41s529ms 5s992ms 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 #2
Day Hour Count Duration Avg duration Dec 22 02 2 7s657ms 3s828ms 03 1 3s845ms 3s845ms 04 4 16s57ms 4s14ms 07 1 3s811ms 3s811ms 09 3 11s496ms 3s832ms 10 3 11s663ms 3s887ms 11 2 7s708ms 3s854ms 12 3 11s466ms 3s822ms 13 3 11s832ms 3s944ms 14 1 3s869ms 3s869ms 18 3 11s318ms 3s772ms 19 2 8s211ms 4s105ms 20 12 45s630ms 3s802ms 21 4 15s215ms 3s803ms Dec 23 00 1 3s898ms 3s898ms 02 2 8s114ms 4s57ms 03 3 11s882ms 3s960ms 04 7 26s918ms 3s845ms 06 1 4s18ms 4s18ms 07 1 3s938ms 3s938ms 08 2 8s834ms 4s417ms 09 2 7s618ms 3s809ms 10 3 11s621ms 3s873ms 12 1 3s829ms 3s829ms 13 2 7s635ms 3s817ms 14 3 11s813ms 3s937ms 15 2 7s840ms 3s920ms 18 1 3s775ms 3s775ms 22 1 3s827ms 3s827ms Dec 24 01 1 3s862ms 3s862ms 02 3 11s929ms 3s976ms 03 103 7m59s 4s658ms 04 155 10m13s 3s960ms 06 81 8m22s 6s209ms 07 85 9m4s 6s404ms 08 87 12m28s 8s605ms 09 138 24m13s 10s534ms 10 2 8s142ms 4s71ms 14 3 11s397ms 3s799ms 17 1 3s958ms 3s958ms 20 1 3s987ms 3s987ms Dec 25 01 1 3s891ms 3s891ms 02 7 26s883ms 3s840ms 03 1 3s864ms 3s864ms 04 1 4s129ms 4s129ms 06 1 3s851ms 3s851ms 07 1 3s850ms 3s850ms 08 2 7s629ms 3s814ms 09 4 15s402ms 3s850ms 10 1 3s834ms 3s834ms 12 1 3s793ms 3s793ms 14 2 7s763ms 3s881ms 17 2 7s603ms 3s801ms 20 1 3s947ms 3s947ms 22 1 3s827ms 3s827ms 23 2 8s12ms 4s6ms Dec 26 01 1 3s945ms 3s945ms 02 8 31s922ms 3s990ms 03 4 15s572ms 3s893ms 04 2 7s691ms 3s845ms 05 2 7s913ms 3s956ms 06 3 11s495ms 3s831ms 08 4 15s679ms 3s919ms 09 1 3s855ms 3s855ms 10 3 16s131ms 5s377ms 11 3 13s392ms 4s464ms 12 1 4s38ms 4s38ms 14 3 11s891ms 3s963ms 15 2 7s866ms 3s933ms 16 1 4s32ms 4s32ms 21 1 3s866ms 3s866ms 22 2 7s760ms 3s880ms 23 3 11s468ms 3s822ms Dec 27 02 5 19s609ms 3s921ms 03 7 26s822ms 3s831ms 04 1 4s38ms 4s38ms 05 5 19s206ms 3s841ms 09 3 11s392ms 3s797ms 10 2 7s711ms 3s855ms 11 1 3s868ms 3s868ms 12 3 12s28ms 4s9ms 15 1 3s840ms 3s840ms 19 2 7s786ms 3s893ms 20 1 3s756ms 3s756ms 21 1 3s806ms 3s806ms Dec 28 00 2 7s563ms 3s781ms 03 4 15s447ms 3s861ms 08 1 3s749ms 3s749ms 09 2 7s801ms 3s900ms 10 3 11s231ms 3s743ms 11 2 7s608ms 3s804ms 12 1 3s852ms 3s852ms 13 2 7s930ms 3s965ms 15 3 14s398ms 4s799ms 16 2 7s758ms 3s879ms 17 2 7s837ms 3s918ms 19 1 3s808ms 3s808ms 20 3 11s478ms 3s826ms 22 1 3s949ms 3s949ms [ User: pubeu - Total duration: 36m9s - Times executed: 293 ]
-
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 = '1398604') 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 = '1398604') 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-12-24 09:45:33 Duration: 41s529ms 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 = '1398604') 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 = '1398604') 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-12-24 09:45:27 Duration: 40s440ms 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 = '1398604') 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 = '1398604') 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-12-24 09:45:29 Duration: 39s92ms Database: ctdprd51 User: pubeu Bind query: yes
3 749 36m25s 1s17ms 6s711ms 2s918ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 22 00 1 1s338ms 1s338ms 02 1 1s944ms 1s944ms 03 1 3s224ms 3s224ms 07 2 8s868ms 4s434ms 08 2 3s731ms 1s865ms 09 1 3s292ms 3s292ms 10 8 21s255ms 2s656ms 12 1 2s792ms 2s792ms 14 2 8s978ms 4s489ms 15 1 6s99ms 6s99ms 16 1 1s214ms 1s214ms 17 1 3s315ms 3s315ms 18 2 7s652ms 3s826ms 19 1 2s100ms 2s100ms 21 2 7s804ms 3s902ms 22 2 8s302ms 4s151ms Dec 23 00 1 3s374ms 3s374ms 02 1 2s893ms 2s893ms 03 2 4s704ms 2s352ms 05 8 20s251ms 2s531ms 06 2 8s146ms 4s73ms 07 1 3s201ms 3s201ms 08 1 3s408ms 3s408ms 12 1 3s231ms 3s231ms Dec 24 02 1 1s737ms 1s737ms 03 12 30s177ms 2s514ms 04 1 5s982ms 5s982ms 05 1 2s83ms 2s83ms 06 1 2s45ms 2s45ms 07 15 37s198ms 2s479ms 08 4 6s399ms 1s599ms 16 3 13s886ms 4s628ms 17 3 5s319ms 1s773ms 18 1 2s816ms 2s816ms 19 3 11s280ms 3s760ms 21 1 6s62ms 6s62ms 23 2 4s863ms 2s431ms Dec 25 00 1 1s330ms 1s330ms 01 2 9s273ms 4s636ms 02 1 1s649ms 1s649ms 03 1 6s154ms 6s154ms 04 11 30s606ms 2s782ms 05 2 3s826ms 1s913ms 06 2 12s660ms 6s330ms 09 2 8s194ms 4s97ms 12 1 6s4ms 6s4ms 15 2 7s998ms 3s999ms 17 3 11s809ms 3s936ms 18 1 2s801ms 2s801ms 22 1 3s349ms 3s349ms Dec 26 00 10 24s642ms 2s464ms 02 1 2s38ms 2s38ms 03 4 11s87ms 2s771ms 04 1 1s766ms 1s766ms 06 1 1s829ms 1s829ms 07 2 3s882ms 1s941ms 11 1 2s74ms 2s74ms 12 2 7s535ms 3s767ms 13 2 5s233ms 2s616ms 14 2 3s405ms 1s702ms 16 1 2s924ms 2s924ms 20 2 5s185ms 2s592ms 21 1 1s303ms 1s303ms 23 10 25s46ms 2s504ms Dec 27 03 1 3s399ms 3s399ms 05 1 1s305ms 1s305ms 07 1 5s933ms 5s933ms 08 1 5s924ms 5s924ms 09 1 1s882ms 1s882ms 11 1 3s239ms 3s239ms 14 1 3s185ms 3s185ms 15 4 6s798ms 1s699ms 16 5 11s112ms 2s222ms 17 16 29s937ms 1s871ms 18 21 1m 2s878ms 19 16 33s823ms 2s113ms 20 18 1m8s 3s812ms 21 14 33s291ms 2s377ms 22 24 1m14s 3s85ms 23 16 44s765ms 2s797ms Dec 28 00 15 55s291ms 3s686ms 01 25 1m2s 2s512ms 02 19 1m4s 3s380ms 03 18 55s782ms 3s99ms 04 23 1m7s 2s954ms 05 13 31s480ms 2s421ms 06 25 1m21s 3s260ms 07 24 1m15s 3s142ms 08 15 41s743ms 2s782ms 09 21 47s526ms 2s263ms 10 18 1m2s 3s460ms 11 25 1m37s 3s889ms 12 14 43s807ms 3s129ms 13 12 29s533ms 2s461ms 14 16 41s695ms 2s605ms 15 27 1m9s 2s579ms 16 13 38s624ms 2s971ms 17 19 58s382ms 3s72ms 18 20 1m5s 3s288ms 19 19 49s331ms 2s596ms 20 16 41s332ms 2s583ms 21 15 48s161ms 3s210ms 22 17 49s614ms 2s918ms 23 15 44s449ms 2s963ms [ User: pubeu - Total duration: 10m47s - Times executed: 232 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-24 03:25:04 Duration: 6s711ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-27 23:58:09 Duration: 6s475ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-27 18:46:50 Duration: 6s460ms Database: ctdprd51 User: pubeu Bind query: yes
4 637 28m5s 1s2ms 8s563ms 2s645ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 22 00 1 4s351ms 4s351ms 01 1 2s858ms 2s858ms 03 1 2s950ms 2s950ms 05 3 8s775ms 2s925ms 07 1 2s100ms 2s100ms 10 6 15s422ms 2s570ms 12 2 7s686ms 3s843ms 14 1 2s980ms 2s980ms 15 2 5s814ms 2s907ms 17 1 3s375ms 3s375ms 18 2 3s449ms 1s724ms 20 1 1s200ms 1s200ms Dec 23 01 1 1s437ms 1s437ms 03 1 2s218ms 2s218ms 04 2 3s61ms 1s530ms 05 8 19s339ms 2s417ms 06 1 4s593ms 4s593ms 09 1 2s916ms 2s916ms 10 1 2s428ms 2s428ms 14 1 1s106ms 1s106ms 19 1 1s143ms 1s143ms 22 1 2s507ms 2s507ms 23 2 5s447ms 2s723ms Dec 24 03 13 29s648ms 2s280ms 06 1 2s22ms 2s22ms 07 20 35s939ms 1s796ms 08 5 7s859ms 1s571ms 09 2 12s810ms 6s405ms 17 2 2s394ms 1s197ms 18 2 3s392ms 1s696ms 20 2 7s463ms 3s731ms 22 1 2s446ms 2s446ms 23 1 1s960ms 1s960ms Dec 25 00 1 2s338ms 2s338ms 02 2 6s187ms 3s93ms 03 3 9s87ms 3s29ms 04 10 26s572ms 2s657ms 05 1 2s502ms 2s502ms 07 2 4s219ms 2s109ms 08 1 4s543ms 4s543ms 09 2 2s196ms 1s98ms 13 1 2s902ms 2s902ms 14 1 4s433ms 4s433ms 15 1 4s255ms 4s255ms 16 1 4s486ms 4s486ms 20 1 4s440ms 4s440ms 22 1 1s105ms 1s105ms 23 2 7s441ms 3s720ms Dec 26 00 9 21s566ms 2s396ms 01 3 6s440ms 2s146ms 02 3 8s127ms 2s709ms 04 1 4s507ms 4s507ms 05 4 9s855ms 2s463ms 06 1 1s82ms 1s82ms 07 2 5s239ms 2s619ms 08 2 3s349ms 1s674ms 11 3 3s483ms 1s161ms 12 1 1s216ms 1s216ms 15 1 1s930ms 1s930ms 16 1 2s197ms 2s197ms 18 1 2s557ms 2s557ms 19 1 3s205ms 3s205ms 20 1 4s550ms 4s550ms 21 2 4s523ms 2s261ms 22 1 4s524ms 4s524ms 23 9 22s540ms 2s504ms Dec 27 00 1 4s370ms 4s370ms 02 1 1s175ms 1s175ms 04 1 2s988ms 2s988ms 05 1 2s419ms 2s419ms 11 1 1s88ms 1s88ms 15 3 9s123ms 3s41ms 16 3 6s638ms 2s212ms 17 15 46s239ms 3s82ms 18 10 33s730ms 3s373ms 19 17 39s946ms 2s349ms 20 10 21s245ms 2s124ms 21 11 30s777ms 2s797ms 22 25 1m 2s402ms 23 18 52s443ms 2s913ms Dec 28 00 12 31s240ms 2s603ms 01 20 59s124ms 2s956ms 02 10 23s267ms 2s326ms 03 13 35s192ms 2s707ms 04 14 34s267ms 2s447ms 05 15 39s898ms 2s659ms 06 14 38s66ms 2s719ms 07 14 33s406ms 2s386ms 08 17 37s320ms 2s195ms 09 10 35s536ms 3s553ms 10 25 1m7s 2s701ms 11 15 38s825ms 2s588ms 12 14 41s717ms 2s979ms 13 8 19s109ms 2s388ms 14 16 50s459ms 3s153ms 15 11 30s951ms 2s813ms 16 11 32s599ms 2s963ms 17 21 56s311ms 2s681ms 18 26 1m11s 2s757ms 19 14 43s235ms 3s88ms 20 11 25s471ms 2s315ms 21 17 46s421ms 2s730ms 22 8 22s449ms 2s806ms 23 17 47s957ms 2s821ms [ User: pubeu - Total duration: 8m31s - Times executed: 192 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-24 09:57:00 Duration: 8s563ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-28 18:38:39 Duration: 4s888ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-24 03:25:02 Duration: 4s821ms Bind query: yes
5 373 7m29s 1s66ms 5s656ms 1s206ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 22 00 1 1s262ms 1s262ms 01 3 3s642ms 1s214ms 05 2 2s629ms 1s314ms 06 2 2s317ms 1s158ms 07 2 2s512ms 1s256ms 08 1 1s153ms 1s153ms 09 3 3s633ms 1s211ms 10 4 5s41ms 1s260ms 11 1 1s245ms 1s245ms 12 6 6s926ms 1s154ms 13 3 3s521ms 1s173ms 14 4 4s748ms 1s187ms 15 3 3s427ms 1s142ms 16 1 1s210ms 1s210ms 17 4 4s653ms 1s163ms 18 5 6s190ms 1s238ms 19 4 4s725ms 1s181ms 21 3 3s544ms 1s181ms 22 4 5s45ms 1s261ms Dec 23 00 3 3s602ms 1s200ms 01 4 4s885ms 1s221ms 02 4 4s895ms 1s223ms 03 4 4s806ms 1s201ms 05 8 10s4ms 1s250ms 06 2 2s442ms 1s221ms 07 1 1s213ms 1s213ms 08 9 10s599ms 1s177ms 09 1 1s181ms 1s181ms 10 1 1s210ms 1s210ms 11 2 2s455ms 1s227ms 12 1 1s229ms 1s229ms 13 4 4s715ms 1s178ms 14 1 1s182ms 1s182ms 15 4 4s508ms 1s127ms 16 5 5s625ms 1s125ms 17 3 3s559ms 1s186ms 18 3 3s485ms 1s161ms 19 1 1s182ms 1s182ms 20 3 3s454ms 1s151ms 21 4 4s640ms 1s160ms 22 3 3s654ms 1s218ms 23 5 5s885ms 1s177ms Dec 24 00 6 6s990ms 1s165ms 01 1 1s205ms 1s205ms 02 3 3s606ms 1s202ms 03 3 3s559ms 1s186ms 04 3 3s536ms 1s178ms 05 6 7s221ms 1s203ms 06 1 1s194ms 1s194ms 07 2 2s351ms 1s175ms 08 4 4s933ms 1s233ms 09 5 10s442ms 2s88ms 10 1 1s218ms 1s218ms 12 2 3s158ms 1s579ms 13 1 1s162ms 1s162ms 14 1 1s301ms 1s301ms 15 2 2s295ms 1s147ms 16 4 4s731ms 1s182ms 17 3 3s468ms 1s156ms 18 3 3s539ms 1s179ms 19 1 1s216ms 1s216ms 22 2 2s381ms 1s190ms 23 2 2s460ms 1s230ms Dec 25 00 3 3s560ms 1s186ms 02 2 2s363ms 1s181ms 04 2 2s427ms 1s213ms 05 2 2s565ms 1s282ms 06 1 1s150ms 1s150ms 07 2 2s591ms 1s295ms 08 2 2s549ms 1s274ms 09 1 1s224ms 1s224ms 12 1 1s313ms 1s313ms 13 2 2s352ms 1s176ms 15 1 1s191ms 1s191ms 16 1 1s167ms 1s167ms 17 1 1s199ms 1s199ms 18 4 4s747ms 1s186ms 19 2 2s320ms 1s160ms 20 2 2s360ms 1s180ms 21 2 2s384ms 1s192ms 22 4 4s669ms 1s167ms 23 6 7s141ms 1s190ms Dec 26 00 1 1s145ms 1s145ms 01 2 2s261ms 1s130ms 02 2 2s347ms 1s173ms 03 1 1s308ms 1s308ms 04 4 4s784ms 1s196ms 05 6 7s228ms 1s204ms 06 1 1s138ms 1s138ms 08 1 1s213ms 1s213ms 09 1 1s161ms 1s161ms 10 3 3s654ms 1s218ms 11 1 1s140ms 1s140ms 12 1 1s232ms 1s232ms 13 3 3s725ms 1s241ms 14 2 2s457ms 1s228ms 15 5 5s997ms 1s199ms 16 4 4s800ms 1s200ms 17 1 1s132ms 1s132ms 19 1 1s91ms 1s91ms 20 3 3s371ms 1s123ms 21 7 8s67ms 1s152ms 22 5 6s16ms 1s203ms 23 1 1s249ms 1s249ms Dec 27 00 3 3s559ms 1s186ms 01 1 1s111ms 1s111ms 02 1 1s210ms 1s210ms 03 1 1s108ms 1s108ms 04 3 3s515ms 1s171ms 05 4 4s926ms 1s231ms 07 4 4s519ms 1s129ms 11 3 3s395ms 1s131ms 13 2 2s269ms 1s134ms 14 2 2s364ms 1s182ms 15 1 1s130ms 1s130ms 16 4 4s640ms 1s160ms 17 3 3s598ms 1s199ms 18 2 2s270ms 1s135ms 19 1 1s186ms 1s186ms 22 3 3s553ms 1s184ms 23 1 1s121ms 1s121ms Dec 28 01 1 1s172ms 1s172ms 02 3 3s580ms 1s193ms 03 1 1s180ms 1s180ms 04 1 1s197ms 1s197ms 05 4 4s888ms 1s222ms 06 2 2s926ms 1s463ms 07 4 4s744ms 1s186ms 10 2 2s360ms 1s180ms 11 1 1s205ms 1s205ms 12 2 2s430ms 1s215ms 13 2 2s342ms 1s171ms 14 3 3s594ms 1s198ms 15 1 1s131ms 1s131ms 16 3 3s553ms 1s184ms 17 3 3s716ms 1s238ms 18 1 1s214ms 1s214ms 19 3 3s559ms 1s186ms 20 3 3s459ms 1s153ms 21 3 3s457ms 1s152ms 22 3 3s626ms 1s208ms 23 3 3s509ms 1s169ms [ User: pubeu - Total duration: 2m47s - Times executed: 140 ]
-
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 = '1237272') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1237272') 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-12-24 09:13:39 Duration: 5s656ms 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 = '1218323') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1218323') 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-12-24 12:41:34 Duration: 1s888ms 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 = '1236377') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1236377') 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-12-28 06:53:28 Duration: 1s792ms Bind query: yes
6 348 7m9s 1s73ms 2s365ms 1s233ms 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 #6
Day Hour Count Duration Avg duration Dec 22 00 2 2s484ms 1s242ms 01 1 1s239ms 1s239ms 02 2 2s449ms 1s224ms 03 1 1s285ms 1s285ms 04 1 1s216ms 1s216ms 05 4 5s313ms 1s328ms 06 2 2s276ms 1s138ms 07 3 3s690ms 1s230ms 08 3 3s704ms 1s234ms 09 1 1s163ms 1s163ms 10 2 2s454ms 1s227ms 11 4 5s217ms 1s304ms 12 1 1s206ms 1s206ms 14 4 4s852ms 1s213ms 15 3 3s550ms 1s183ms 16 1 1s559ms 1s559ms 17 3 3s616ms 1s205ms 20 2 2s413ms 1s206ms 22 9 11s523ms 1s280ms 23 3 3s640ms 1s213ms Dec 23 00 6 7s613ms 1s268ms 01 1 1s281ms 1s281ms 02 6 7s321ms 1s220ms 03 1 1s238ms 1s238ms 04 1 1s282ms 1s282ms 05 3 3s974ms 1s324ms 06 2 2s434ms 1s217ms 07 2 2s388ms 1s194ms 08 4 4s859ms 1s214ms 10 2 2s499ms 1s249ms 11 2 2s472ms 1s236ms 12 2 4s398ms 2s199ms 13 5 6s180ms 1s236ms 14 1 1s157ms 1s157ms 15 18 21s172ms 1s176ms 16 12 14s171ms 1s180ms 17 1 1s166ms 1s166ms 19 2 2s397ms 1s198ms 20 5 5s764ms 1s152ms 21 1 1s145ms 1s145ms 23 2 2s404ms 1s202ms Dec 24 00 7 8s503ms 1s214ms 02 1 1s248ms 1s248ms 03 1 1s227ms 1s227ms 04 3 3s684ms 1s228ms 05 2 2s629ms 1s314ms 06 31 39s973ms 1s289ms 08 5 6s579ms 1s315ms 09 4 4s888ms 1s222ms 11 2 2s301ms 1s150ms 12 3 3s985ms 1s328ms 13 1 1s324ms 1s324ms 14 2 2s519ms 1s259ms 16 2 2s345ms 1s172ms 17 4 4s633ms 1s158ms 18 1 1s94ms 1s94ms 19 1 1s183ms 1s183ms 20 3 3s614ms 1s204ms 21 2 2s347ms 1s173ms 22 1 1s223ms 1s223ms 23 1 1s212ms 1s212ms Dec 25 01 6 7s785ms 1s297ms 02 2 2s431ms 1s215ms 03 2 2s359ms 1s179ms 04 1 1s281ms 1s281ms 05 2 2s699ms 1s349ms 06 2 2s483ms 1s241ms 07 1 1s227ms 1s227ms 09 1 1s249ms 1s249ms 10 1 1s244ms 1s244ms 12 1 1s316ms 1s316ms 14 1 1s296ms 1s296ms 15 1 1s271ms 1s271ms 16 3 3s575ms 1s191ms 17 2 2s442ms 1s221ms 20 4 4s792ms 1s198ms 21 1 1s192ms 1s192ms 22 4 4s858ms 1s214ms 23 3 3s665ms 1s221ms Dec 26 00 1 1s270ms 1s270ms 01 2 2s460ms 1s230ms 03 3 3s761ms 1s253ms 04 3 3s672ms 1s224ms 05 6 7s314ms 1s219ms 06 1 1s190ms 1s190ms 07 1 1s200ms 1s200ms 09 5 6s93ms 1s218ms 11 1 1s174ms 1s174ms 13 2 2s425ms 1s212ms 17 1 1s160ms 1s160ms 18 1 1s159ms 1s159ms 20 1 1s138ms 1s138ms 21 4 4s687ms 1s171ms 22 1 1s230ms 1s230ms 23 2 2s340ms 1s170ms Dec 27 02 4 5s51ms 1s262ms 03 1 1s262ms 1s262ms 04 2 2s410ms 1s205ms 05 2 2s704ms 1s352ms 06 2 2s374ms 1s187ms 07 2 2s305ms 1s152ms 08 1 1s188ms 1s188ms 09 2 2s437ms 1s218ms 10 2 2s418ms 1s209ms 11 5 5s881ms 1s176ms 14 1 1s244ms 1s244ms 15 2 2s282ms 1s141ms 16 1 1s171ms 1s171ms 18 2 2s298ms 1s149ms 19 1 1s196ms 1s196ms 20 1 1s180ms 1s180ms 21 1 1s208ms 1s208ms 22 1 1s120ms 1s120ms Dec 28 01 2 2s449ms 1s224ms 02 1 1s189ms 1s189ms 03 2 2s392ms 1s196ms 05 4 5s14ms 1s253ms 06 3 3s548ms 1s182ms 07 1 1s218ms 1s218ms 08 1 1s301ms 1s301ms 11 2 2s368ms 1s184ms 12 3 3s756ms 1s252ms 13 1 1s313ms 1s313ms 15 2 2s447ms 1s223ms 16 2 2s390ms 1s195ms 17 1 1s222ms 1s222ms 18 1 1s450ms 1s450ms 19 1 1s123ms 1s123ms 20 1 1s121ms 1s121ms 21 4 4s694ms 1s173ms 22 1 1s162ms 1s162ms 23 1 1s210ms 1s210ms [ User: pubeu - Total duration: 2m36s - Times executed: 126 ]
[ User: qaeu - Total duration: 5s449ms - 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.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080022') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080022') 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-12-23 12:01:37 Duration: 2s365ms 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 = '2080022') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080022') 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-12-23 12:01:37 Duration: 2s33ms 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 = '2088671') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2088671') 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-12-24 08:50:11 Duration: 1s646ms Database: ctdprd51 User: pubeu Bind query: yes
7 339 26m54s 1s 7s914ms 4s762ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 22 00 2 9s869ms 4s934ms 01 5 25s152ms 5s30ms 03 1 4s896ms 4s896ms 05 4 20s304ms 5s76ms 06 1 4s483ms 4s483ms 09 2 9s811ms 4s905ms 10 1 4s818ms 4s818ms 12 1 4s767ms 4s767ms 13 3 14s291ms 4s763ms 16 1 4s791ms 4s791ms 22 1 5s56ms 5s56ms 23 2 10s26ms 5s13ms Dec 23 01 2 9s766ms 4s883ms 02 1 4s790ms 4s790ms 03 1 4s904ms 4s904ms 04 3 14s506ms 4s835ms 05 2 9s700ms 4s850ms 06 3 14s151ms 4s717ms 07 1 4s778ms 4s778ms 08 1 1s2ms 1s2ms 10 1 4s777ms 4s777ms 13 1 6s337ms 6s337ms 15 2 10s390ms 5s195ms 16 1 4s833ms 4s833ms 20 1 4s854ms 4s854ms 21 4 19s326ms 4s831ms Dec 24 03 5 22s647ms 4s529ms 04 7 35s618ms 5s88ms 06 6 27s556ms 4s592ms 07 44 3m29s 4s763ms 08 6 37s222ms 6s203ms 09 5 29s58ms 5s811ms 18 1 4s740ms 4s740ms 19 1 4s792ms 4s792ms 21 7 35s451ms 5s64ms Dec 25 00 1 4s911ms 4s911ms 01 1 4s757ms 4s757ms 02 2 9s867ms 4s933ms 03 1 4s776ms 4s776ms 04 6 29s204ms 4s867ms 06 2 5s892ms 2s946ms 08 1 4s927ms 4s927ms 13 1 4s922ms 4s922ms 15 1 4s723ms 4s723ms 16 1 4s690ms 4s690ms 19 1 4s745ms 4s745ms 21 1 4s875ms 4s875ms 22 2 9s525ms 4s762ms 23 3 14s176ms 4s725ms Dec 26 00 5 23s796ms 4s759ms 01 1 4s926ms 4s926ms 02 1 1s19ms 1s19ms 03 4 16s357ms 4s89ms 04 1 1s25ms 1s25ms 06 2 9s340ms 4s670ms 07 3 11s60ms 3s686ms 10 2 11s412ms 5s706ms 11 4 19s621ms 4s905ms 12 1 5s480ms 5s480ms 15 1 6s341ms 6s341ms 16 1 6s302ms 6s302ms 17 1 6s289ms 6s289ms 20 1 4s767ms 4s767ms 22 1 4s696ms 4s696ms 23 4 19s935ms 4s983ms Dec 27 01 1 4s895ms 4s895ms 04 1 4s770ms 4s770ms 08 1 4s611ms 4s611ms 09 3 15s222ms 5s74ms 10 1 4s668ms 4s668ms 14 1 4s797ms 4s797ms 17 3 14s287ms 4s762ms 18 8 39s544ms 4s943ms 19 3 14s760ms 4s920ms 20 2 9s763ms 4s881ms 21 5 24s453ms 4s890ms 22 6 25s891ms 4s315ms 23 5 23s948ms 4s789ms Dec 28 00 4 19s773ms 4s943ms 01 4 19s272ms 4s818ms 02 3 15s398ms 5s132ms 03 6 29s795ms 4s965ms 04 4 19s537ms 4s884ms 05 7 33s979ms 4s854ms 06 7 33s681ms 4s811ms 07 6 29s952ms 4s992ms 08 4 19s599ms 4s899ms 09 8 31s430ms 3s928ms 10 5 23s812ms 4s762ms 11 6 25s77ms 4s179ms 12 2 9s985ms 4s992ms 13 2 9s549ms 4s774ms 14 6 24s938ms 4s156ms 15 5 20s721ms 4s144ms 16 1 4s839ms 4s839ms 17 8 39s28ms 4s878ms 18 3 10s775ms 3s591ms 19 3 14s797ms 4s932ms 20 4 18s969ms 4s742ms 21 6 29s333ms 4s888ms 22 1 5s540ms 5s540ms 23 7 29s485ms 4s212ms [ User: pubeu - Total duration: 8m47s - Times executed: 112 ]
-
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 = '1438258' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-24 08:51:07 Duration: 7s914ms 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 = '1427841' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-24 08:49:39 Duration: 7s810ms 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 = '1316187' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-24 07:26:32 Duration: 7s783ms Bind query: yes
8 334 17m41s 1s6ms 12s158ms 3s179ms 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 Dec 22 00 3 7s282ms 2s427ms 01 5 9s627ms 1s925ms 02 1 4s815ms 4s815ms 04 3 5s376ms 1s792ms 05 2 4s291ms 2s145ms 08 4 9s32ms 2s258ms 11 1 1s100ms 1s100ms 12 1 1s194ms 1s194ms 13 1 2s46ms 2s46ms 15 1 1s6ms 1s6ms 17 1 2s431ms 2s431ms 19 2 7s431ms 3s715ms 21 3 12s669ms 4s223ms 22 3 5s874ms 1s958ms Dec 23 00 1 1s284ms 1s284ms 04 5 12s18ms 2s403ms 05 1 2s98ms 2s98ms 07 1 2s29ms 2s29ms 12 1 1s548ms 1s548ms 14 1 1s289ms 1s289ms 20 2 9s783ms 4s891ms 21 8 23s59ms 2s882ms 22 1 1s588ms 1s588ms Dec 24 00 1 1s459ms 1s459ms 01 2 5s73ms 2s536ms 02 1 2s331ms 2s331ms 03 23 1m5s 2s836ms 06 26 1m26s 3s332ms 07 1 1s201ms 1s201ms 08 3 11s159ms 3s719ms 09 1 1s71ms 1s71ms 11 4 11s178ms 2s794ms 12 3 7s312ms 2s437ms 14 1 1s59ms 1s59ms 17 2 4s43ms 2s21ms 18 4 20s161ms 5s40ms 19 3 7s599ms 2s533ms 20 2 6s95ms 3s47ms 21 2 7s142ms 3s571ms 23 2 4s486ms 2s243ms Dec 25 00 1 2s461ms 2s461ms 01 4 15s731ms 3s932ms 02 2 7s470ms 3s735ms 03 4 10s704ms 2s676ms 04 1 1s239ms 1s239ms 05 1 1s593ms 1s593ms 06 3 5s405ms 1s801ms 07 1 4s127ms 4s127ms 08 6 24s71ms 4s11ms 09 1 3s800ms 3s800ms 10 2 2s784ms 1s392ms 13 2 4s584ms 2s292ms 14 2 5s262ms 2s631ms 15 1 1s637ms 1s637ms 17 3 13s765ms 4s588ms 18 3 19s354ms 6s451ms 19 1 2s351ms 2s351ms 20 4 8s713ms 2s178ms 21 3 4s968ms 1s656ms 22 4 11s805ms 2s951ms 23 1 5s932ms 5s932ms Dec 26 00 1 3s45ms 3s45ms 01 1 1s486ms 1s486ms 02 8 32s569ms 4s71ms 03 5 17s48ms 3s409ms 05 2 7s202ms 3s601ms 06 6 18s247ms 3s41ms 07 2 4s838ms 2s419ms 08 3 19s554ms 6s518ms 09 5 14s331ms 2s866ms 10 2 9s912ms 4s956ms 11 2 13s836ms 6s918ms 12 4 18s536ms 4s634ms 13 2 3s941ms 1s970ms 14 2 3s844ms 1s922ms 15 4 13s357ms 3s339ms 17 1 2s663ms 2s663ms 18 3 13s285ms 4s428ms 19 3 12s187ms 4s62ms 20 6 16s659ms 2s776ms 21 6 13s238ms 2s206ms 22 1 1s179ms 1s179ms 23 2 12s14ms 6s7ms Dec 27 00 3 14s280ms 4s760ms 01 4 10s984ms 2s746ms 02 2 7s572ms 3s786ms 03 4 6s729ms 1s682ms 04 1 2s800ms 2s800ms 05 4 16s523ms 4s130ms 06 4 11s492ms 2s873ms 07 4 9s716ms 2s429ms 08 1 4s406ms 4s406ms 09 1 7s495ms 7s495ms 10 3 5s456ms 1s818ms 11 1 4s661ms 4s661ms 12 2 5s458ms 2s729ms 15 1 2s461ms 2s461ms 17 4 20s548ms 5s137ms 18 2 14s467ms 7s233ms 19 1 1s144ms 1s144ms 20 2 6s797ms 3s398ms 21 1 6s331ms 6s331ms 22 2 2s736ms 1s368ms Dec 28 00 3 11s290ms 3s763ms 01 1 1s49ms 1s49ms 02 5 26s313ms 5s262ms 04 2 7s408ms 3s704ms 06 2 13s388ms 6s694ms 08 6 13s754ms 2s292ms 10 2 3s368ms 1s684ms 13 3 11s287ms 3s762ms 14 1 3s114ms 3s114ms 15 1 5s555ms 5s555ms 18 1 2s474ms 2s474ms 19 2 5s584ms 2s792ms 20 1 3s124ms 3s124ms 22 2 7s419ms 3s709ms 23 1 1s840ms 1s840ms [ User: pubeu - Total duration: 6m6s - Times executed: 117 ]
-
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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-26 11:18:01 Duration: 12s158ms 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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-24 06:26:14 Duration: 11s873ms 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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-26 08:35:41 Duration: 11s32ms Database: ctdprd51 User: pubeu Bind query: yes
9 237 1h1m54s 1s17ms 10m4s 15s674ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 22 07 1 1s773ms 1s773ms 08 1 1s48ms 1s48ms 09 4 1m46s 26s644ms 11 6 22s209ms 3s701ms 12 1 1s990ms 1s990ms 16 6 14s638ms 2s439ms 22 23 2m29s 6s501ms 23 3 17s225ms 5s741ms Dec 23 00 1 4s373ms 4s373ms 05 3 5s785ms 1s928ms 07 1 1s95ms 1s95ms 08 6 10s339ms 1s723ms 11 10 7m45s 46s548ms 13 6 32s516ms 5s419ms 20 1 14s188ms 14s188ms 21 10 47s433ms 4s743ms Dec 24 11 8 2m15s 16s896ms 12 10 2m38s 15s832ms 13 14 31m54s 2m16s 19 6 6s268ms 1s44ms Dec 25 00 1 1s264ms 1s264ms 06 1 24s969ms 24s969ms 10 6 2m6s 21s31ms 23 1 1s32ms 1s32ms Dec 26 01 10 15s887ms 1s588ms 02 20 1m22s 4s142ms 03 19 2m47s 8s810ms 04 2 3s650ms 1s825ms 05 7 12s244ms 1s749ms 06 8 35s405ms 4s425ms 07 5 21s843ms 4s368ms Dec 27 01 2 8s715ms 4s357ms 02 20 49s66ms 2s453ms 03 4 17s722ms 4s430ms 04 2 8s674ms 4s337ms 07 1 18s894ms 18s894ms Dec 28 03 6 7s40ms 1s173ms 22 1 1s798ms 1s798ms [ User: pubeu - Total duration: 52m55s - Times executed: 130 ]
-
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 = '2091679') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-24 13:48:59 Duration: 10m4s 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 = '2091679') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-24 13:48:59 Duration: 10m 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 = '2091679') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-24 13:48:59 Duration: 10m Database: ctdprd51 User: pubeu Bind query: yes
10 236 6m22s 1s223ms 2s401ms 1s620ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 22 05 1 1s268ms 1s268ms 08 1 1s255ms 1s255ms 10 2 3s100ms 1s550ms 16 1 1s865ms 1s865ms 17 1 1s844ms 1s844ms Dec 23 05 2 3s128ms 1s564ms 08 1 1s263ms 1s263ms 12 1 1s836ms 1s836ms Dec 24 00 1 1s819ms 1s819ms 01 1 1s253ms 1s253ms 03 2 3s454ms 1s727ms 05 1 1s854ms 1s854ms 07 4 5s692ms 1s423ms 08 1 1s856ms 1s856ms 18 1 1s847ms 1s847ms Dec 25 00 3 5s518ms 1s839ms 02 1 1s249ms 1s249ms 04 2 3s99ms 1s549ms 06 1 1s857ms 1s857ms 22 2 3s736ms 1s868ms Dec 26 00 2 3s115ms 1s557ms 01 1 1s282ms 1s282ms 02 2 3s689ms 1s844ms 03 2 3s691ms 1s845ms 04 2 3s691ms 1s845ms 06 2 3s733ms 1s866ms 08 1 1s856ms 1s856ms 09 1 1s861ms 1s861ms 14 1 1s303ms 1s303ms 17 1 1s930ms 1s930ms 18 1 1s880ms 1s880ms 21 2 3s86ms 1s543ms 23 2 3s88ms 1s544ms Dec 27 01 1 1s278ms 1s278ms 11 1 1s279ms 1s279ms 15 2 3s645ms 1s822ms 16 2 3s88ms 1s544ms 17 5 8s593ms 1s718ms 18 3 3s760ms 1s253ms 19 6 9s974ms 1s662ms 20 2 3s109ms 1s554ms 21 7 11s138ms 1s591ms 22 6 9s368ms 1s561ms 23 5 8s618ms 1s723ms Dec 28 00 8 13s724ms 1s715ms 01 5 8s265ms 1s653ms 02 4 6s220ms 1s555ms 03 10 16s52ms 1s605ms 04 3 4s405ms 1s468ms 05 5 7s501ms 1s500ms 06 8 13s760ms 1s720ms 07 4 6s217ms 1s554ms 08 7 10s685ms 1s526ms 09 4 6s779ms 1s694ms 10 6 10s515ms 1s752ms 11 3 5s544ms 1s848ms 12 8 12s981ms 1s622ms 13 9 14s294ms 1s588ms 14 6 9s885ms 1s647ms 15 7 10s561ms 1s508ms 16 5 8s32ms 1s606ms 17 4 6s797ms 1s699ms 18 7 10s673ms 1s524ms 19 8 13s576ms 1s697ms 20 5 8s63ms 1s612ms 21 7 11s156ms 1s593ms 22 7 10s687ms 1s526ms 23 6 9s265ms 1s544ms [ User: pubeu - Total duration: 2m4s - Times executed: 77 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-12-28 19:11:03 Duration: 2s401ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-12-28 01:45:07 Duration: 2s95ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-12-24 03:24:59 Duration: 2s35ms Bind query: yes
11 144 3m15s 1s268ms 1s595ms 1s357ms 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 #11
Day Hour Count Duration Avg duration Dec 22 05 2 2s697ms 1s348ms 08 1 1s340ms 1s340ms 10 1 1s329ms 1s329ms 18 1 1s340ms 1s340ms 20 2 2s697ms 1s348ms 22 2 2s937ms 1s468ms 23 1 1s353ms 1s353ms Dec 23 00 1 1s382ms 1s382ms 03 4 5s397ms 1s349ms 04 1 1s338ms 1s338ms 05 2 2s768ms 1s384ms 07 1 1s389ms 1s389ms 08 1 1s348ms 1s348ms 10 2 2s857ms 1s428ms 11 2 2s733ms 1s366ms 17 1 1s302ms 1s302ms 18 1 1s275ms 1s275ms 19 2 2s581ms 1s290ms 20 1 1s432ms 1s432ms 22 2 2s595ms 1s297ms 23 1 1s294ms 1s294ms Dec 24 01 1 1s425ms 1s425ms 03 1 1s315ms 1s315ms 05 4 5s270ms 1s317ms 06 16 22s579ms 1s411ms 07 1 1s310ms 1s310ms 08 1 1s389ms 1s389ms 14 2 2s720ms 1s360ms 17 1 1s318ms 1s318ms 18 1 1s369ms 1s369ms 19 2 2s742ms 1s371ms 21 1 1s357ms 1s357ms 22 1 1s332ms 1s332ms 23 1 1s319ms 1s319ms Dec 25 00 1 1s432ms 1s432ms 01 1 1s333ms 1s333ms 04 1 1s378ms 1s378ms 05 3 3s963ms 1s321ms 06 2 2s695ms 1s347ms 07 2 2s767ms 1s383ms 08 1 1s329ms 1s329ms 09 1 1s376ms 1s376ms 12 2 2s814ms 1s407ms 17 3 4s163ms 1s387ms 19 3 4s205ms 1s401ms 20 1 1s299ms 1s299ms 21 1 1s381ms 1s381ms Dec 26 00 1 1s447ms 1s447ms 01 2 2s605ms 1s302ms 02 6 8s138ms 1s356ms 04 2 2s618ms 1s309ms 05 2 2s699ms 1s349ms 09 1 1s421ms 1s421ms 11 2 2s979ms 1s489ms 13 1 1s282ms 1s282ms 15 1 1s350ms 1s350ms 20 1 1s298ms 1s298ms 22 3 4s116ms 1s372ms Dec 27 02 2 2s594ms 1s297ms 05 2 2s555ms 1s277ms 08 2 2s715ms 1s357ms 10 2 2s715ms 1s357ms 21 2 2s693ms 1s346ms 22 3 4s176ms 1s392ms 23 3 3s945ms 1s315ms Dec 28 00 1 1s276ms 1s276ms 01 1 1s443ms 1s443ms 02 1 1s315ms 1s315ms 03 1 1s292ms 1s292ms 04 1 1s410ms 1s410ms 05 2 2s703ms 1s351ms 06 1 1s280ms 1s280ms 07 1 1s285ms 1s285ms 08 2 2s578ms 1s289ms 12 1 1s268ms 1s268ms 13 1 1s291ms 1s291ms 14 3 3s844ms 1s281ms 15 1 1s404ms 1s404ms 22 2 2s737ms 1s368ms [ User: pubeu - Total duration: 1m6s - Times executed: 49 ]
-
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-12-22 22:45:46 Duration: 1s595ms 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]', '#') = 'G' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-12-24 06:42:03 Duration: 1s553ms 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-12-26 11:47:48 Duration: 1s549ms Bind query: yes
12 125 3m 1s407ms 1s706ms 1s440ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 22 01 1 1s425ms 1s425ms 02 1 1s443ms 1s443ms 05 2 2s853ms 1s426ms 11 1 1s575ms 1s575ms 12 1 1s432ms 1s432ms 13 1 1s432ms 1s432ms 21 1 1s442ms 1s442ms Dec 23 02 1 1s444ms 1s444ms 04 3 4s288ms 1s429ms 05 3 4s288ms 1s429ms Dec 24 03 1 1s481ms 1s481ms 05 2 2s887ms 1s443ms 06 2 2s880ms 1s440ms 08 1 1s621ms 1s621ms 14 1 1s433ms 1s433ms 17 1 1s447ms 1s447ms 19 1 1s439ms 1s439ms 20 1 1s435ms 1s435ms 21 2 2s862ms 1s431ms 22 2 2s856ms 1s428ms 23 2 2s853ms 1s426ms Dec 25 00 2 2s863ms 1s431ms 01 1 1s425ms 1s425ms 02 1 1s430ms 1s430ms 03 1 1s436ms 1s436ms 04 1 1s458ms 1s458ms 05 6 8s549ms 1s424ms 06 3 4s348ms 1s449ms 07 2 2s860ms 1s430ms 08 3 4s283ms 1s427ms 12 1 1s415ms 1s415ms 13 1 1s494ms 1s494ms 15 1 1s431ms 1s431ms 16 1 1s419ms 1s419ms 17 1 1s432ms 1s432ms 20 1 1s433ms 1s433ms Dec 26 00 3 4s318ms 1s439ms 01 1 1s436ms 1s436ms 02 3 4s353ms 1s451ms 03 3 4s356ms 1s452ms 05 3 4s251ms 1s417ms 06 1 1s472ms 1s472ms 07 1 1s410ms 1s410ms 09 1 1s445ms 1s445ms 10 1 1s443ms 1s443ms 11 1 1s450ms 1s450ms 13 5 7s206ms 1s441ms 14 1 1s431ms 1s431ms 15 1 1s429ms 1s429ms 16 1 1s419ms 1s419ms 20 1 1s414ms 1s414ms 23 1 1s435ms 1s435ms Dec 27 00 2 2s843ms 1s421ms 01 2 2s885ms 1s442ms 02 3 4s279ms 1s426ms 04 2 2s878ms 1s439ms 05 2 2s855ms 1s427ms 07 1 1s431ms 1s431ms 08 4 5s736ms 1s434ms 10 3 4s271ms 1s423ms 11 3 4s256ms 1s418ms 12 1 1s414ms 1s414ms 19 1 1s423ms 1s423ms 21 3 4s331ms 1s443ms 23 2 2s887ms 1s443ms Dec 28 03 1 1s435ms 1s435ms 05 3 4s327ms 1s442ms 07 1 1s456ms 1s456ms 08 1 1s429ms 1s429ms 16 1 1s432ms 1s432ms 17 1 1s416ms 1s416ms 20 1 1s706ms 1s706ms 21 1 1s473ms 1s473ms 23 1 1s495ms 1s495ms [ User: pubeu - Total duration: 1m14s - Times executed: 52 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-12-28 20:19:06 Duration: 1s706ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-12-24 08:03:04 Duration: 1s621ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-12-22 11:42:56 Duration: 1s575ms Database: ctdprd51 User: pubeu Bind query: yes
13 99 3m58s 1s1ms 9s967ms 2s410ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ? offset ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 22 02 1 1s444ms 1s444ms 05 8 15s14ms 1s876ms 17 1 2s441ms 2s441ms Dec 23 08 1 2s851ms 2s851ms Dec 24 07 8 9s122ms 1s140ms 08 8 22s844ms 2s855ms 09 18 1m37s 5s427ms 10 2 2s662ms 1s331ms Dec 25 03 1 2s22ms 2s22ms Dec 27 15 2 3s954ms 1s977ms 16 1 1s13ms 1s13ms 17 2 3s524ms 1s762ms 18 1 2s493ms 2s493ms 19 1 1s5ms 1s5ms 20 2 2s473ms 1s236ms 21 2 2s797ms 1s398ms Dec 28 01 3 3s942ms 1s314ms 02 1 1s1ms 1s1ms 03 1 2s407ms 2s407ms 04 2 3s63ms 1s531ms 05 2 3s917ms 1s958ms 06 2 4s912ms 2s456ms 07 3 4s60ms 1s353ms 08 2 3s449ms 1s724ms 09 1 1s774ms 1s774ms 10 2 2s595ms 1s297ms 11 4 6s258ms 1s564ms 14 1 2s512ms 2s512ms 15 6 9s68ms 1s511ms 16 2 3s299ms 1s649ms 17 1 1s429ms 1s429ms 18 1 1s882ms 1s882ms 20 1 1s124ms 1s124ms 21 1 1s351ms 1s351ms 22 1 2s495ms 2s495ms 23 3 4s754ms 1s584ms [ User: pubeu - Total duration: 1m46s - Times executed: 41 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50 OFFSET 350;
Date: 2024-12-24 09:56:59 Duration: 9s967ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50 OFFSET 50;
Date: 2024-12-24 09:56:58 Duration: 8s230ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50 OFFSET 250;
Date: 2024-12-24 09:56:55 Duration: 7s988ms Database: ctdprd51 User: pubeu Bind query: yes
14 80 3m32s 1s12ms 7s334ms 2s660ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ? offset ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 22 14 1 2s848ms 2s848ms Dec 23 01 1 2s79ms 2s79ms 02 1 2s132ms 2s132ms 22 1 1s341ms 1s341ms Dec 24 02 1 2s826ms 2s826ms 08 7 25s661ms 3s665ms 09 19 30s962ms 1s629ms 10 8 56s413ms 7s51ms Dec 27 16 2 4s876ms 2s438ms 17 2 6s611ms 3s305ms 19 2 4s920ms 2s460ms 21 1 2s955ms 2s955ms 22 2 3s387ms 1s693ms 23 1 1s660ms 1s660ms Dec 28 00 1 2s45ms 2s45ms 02 2 3s244ms 1s622ms 03 4 8s198ms 2s49ms 04 1 1s637ms 1s637ms 05 2 4s14ms 2s7ms 06 2 4s217ms 2s108ms 09 1 1s334ms 1s334ms 10 2 5s117ms 2s558ms 11 3 6s240ms 2s80ms 12 1 1s645ms 1s645ms 14 1 2s833ms 2s833ms 15 1 1s865ms 1s865ms 16 1 3s281ms 3s281ms 17 1 2s97ms 2s97ms 18 1 3s352ms 3s352ms 19 2 4s559ms 2s279ms 20 2 4s99ms 2s49ms 22 1 1s382ms 1s382ms 23 2 3s10ms 1s505ms [ User: pubeu - Total duration: 1m33s - Times executed: 32 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 200250;
Date: 2024-12-24 10:01:56 Duration: 7s334ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 350;
Date: 2024-12-24 10:01:53 Duration: 7s295ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50 OFFSET 100;
Date: 2024-12-24 10:01:53 Duration: 7s270ms Bind query: yes
15 78 6m26s 1s16ms 37s840ms 4s952ms 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 #15
Day Hour Count Duration Avg duration Dec 22 00 1 1s66ms 1s66ms 06 2 11s596ms 5s798ms 10 8 20s484ms 2s560ms 11 2 9s408ms 4s704ms 17 1 6s544ms 6s544ms 18 1 2s397ms 2s397ms 22 9 17s299ms 1s922ms Dec 23 04 1 11s172ms 11s172ms 13 7 19s600ms 2s800ms 14 1 4s819ms 4s819ms 20 1 2s479ms 2s479ms 21 1 1s277ms 1s277ms Dec 24 11 1 37s840ms 37s840ms 12 11 1m58s 10s728ms 13 14 1m35s 6s799ms 14 1 1s197ms 1s197ms Dec 25 04 1 4s592ms 4s592ms 05 1 1s656ms 1s656ms 22 1 1s655ms 1s655ms 23 1 2s587ms 2s587ms Dec 26 08 1 1s63ms 1s63ms 10 1 1s636ms 1s636ms 11 1 1s194ms 1s194ms Dec 27 05 1 1s238ms 1s238ms 13 1 1s158ms 1s158ms 14 1 1s90ms 1s90ms 15 1 1s512ms 1s512ms Dec 28 03 2 2s718ms 1s359ms 08 1 1s73ms 1s73ms 11 1 1s533ms 1s533ms 13 1 1s188ms 1s188ms [ User: pubeu - Total duration: 4m56s - Times executed: 47 ]
-
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 = '2083856') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6255250;
Date: 2024-12-24 11:44:48 Duration: 37s840ms 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 = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3828650;
Date: 2024-12-24 12:52:36 Duration: 35s202ms 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 = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3828650;
Date: 2024-12-24 12:52:45 Duration: 22s949ms Bind query: yes
16 73 3m47s 1s11ms 10s634ms 3s122ms 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 #16
Day Hour Count Duration Avg duration Dec 22 04 1 1s59ms 1s59ms 05 1 5s594ms 5s594ms 15 1 9s691ms 9s691ms Dec 23 03 1 1s34ms 1s34ms 17 1 1s42ms 1s42ms Dec 24 02 1 1s78ms 1s78ms 03 1 1s156ms 1s156ms 04 1 1s82ms 1s82ms 06 1 1s197ms 1s197ms 07 12 23s69ms 1s922ms 08 3 13s447ms 4s482ms 09 2 11s947ms 5s973ms Dec 25 04 1 1s224ms 1s224ms 17 1 1s36ms 1s36ms Dec 26 11 2 4s371ms 2s185ms Dec 27 18 1 4s436ms 4s436ms 19 1 4s441ms 4s441ms 22 1 3s442ms 3s442ms 23 1 4s872ms 4s872ms Dec 28 01 3 17s379ms 5s793ms 02 3 7s851ms 2s617ms 03 2 2s793ms 1s396ms 05 2 5s766ms 2s883ms 07 3 12s459ms 4s153ms 08 1 5s504ms 5s504ms 10 1 3s776ms 3s776ms 11 2 9s553ms 4s776ms 12 1 4s864ms 4s864ms 13 2 2s834ms 1s417ms 14 1 4s32ms 4s32ms 15 3 9s655ms 3s218ms 16 2 5s448ms 2s724ms 17 2 10s388ms 5s194ms 18 1 1s35ms 1s35ms 19 1 1s286ms 1s286ms 20 3 11s578ms 3s859ms 21 1 1s262ms 1s262ms 22 3 10s511ms 3s503ms 23 2 4s726ms 2s363ms [ User: pubeu - Total duration: 1m17s - Times executed: 22 ]
-
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 = '1398604') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') 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-12-24 09:37:23 Duration: 10s634ms 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 = '1398604') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') 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-12-28 01:42:38 Duration: 9s746ms 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 = '1398604') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') 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-12-22 15:27:14 Duration: 9s691ms Bind query: yes
17 69 5m29s 1s2ms 30s260ms 4s781ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 24 04 1 1s411ms 1s411ms 07 7 7s547ms 1s78ms 08 14 1m25s 6s98ms 09 24 47s58ms 1s960ms 10 8 2m15s 16s996ms Dec 27 16 1 8s339ms 8s339ms 23 1 1s16ms 1s16ms Dec 28 02 2 3s376ms 1s688ms 06 1 2s341ms 2s341ms 07 2 3s372ms 1s686ms 08 1 4s86ms 4s86ms 10 1 1s681ms 1s681ms 13 1 1s691ms 1s691ms 14 1 4s45ms 4s45ms 16 1 3s956ms 3s956ms 17 1 8s648ms 8s648ms 21 1 1s732ms 1s732ms 22 1 8s248ms 8s248ms [ User: pubeu - Total duration: 2m21s - Times executed: 18 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-24 10:20:14 Duration: 30s260ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-24 10:19:55 Duration: 15s764ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-24 10:19:39 Duration: 15s668ms Database: ctdprd51 User: pubeu Bind query: yes
18 69 3m7s 1s3ms 7s194ms 2s714ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 22 18 1 2s 2s 23 1 1s689ms 1s689ms Dec 24 07 5 5s220ms 1s44ms 08 1 1s32ms 1s32ms 09 28 1m4s 2s316ms 10 8 55s30ms 6s878ms Dec 27 19 2 3s960ms 1s980ms 20 1 2s929ms 2s929ms 21 2 4s279ms 2s139ms 23 1 1s407ms 1s407ms Dec 28 01 4 10s490ms 2s622ms 03 2 4s429ms 2s214ms 04 1 1s722ms 1s722ms 05 2 3s889ms 1s944ms 06 2 4s399ms 2s199ms 09 1 1s393ms 1s393ms 11 2 5s367ms 2s683ms 15 2 5s501ms 2s750ms 16 2 5s747ms 2s873ms 21 1 1s946ms 1s946ms [ User: pubeu - Total duration: 56s677ms - Times executed: 22 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-12-24 10:02:37 Duration: 7s194ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-12-24 10:02:35 Duration: 7s138ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-12-24 10:02:40 Duration: 7s23ms Bind query: yes
19 62 2m38s 1s1ms 3s474ms 2s560ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 22 05 3 7s677ms 2s559ms 10 1 3s263ms 3s263ms 23 1 3s137ms 3s137ms Dec 23 03 1 3s291ms 3s291ms 05 3 7s520ms 2s506ms 07 2 6s651ms 3s325ms 12 2 5s538ms 2s769ms 19 1 2s711ms 2s711ms Dec 24 03 1 3s382ms 3s382ms 05 3 7s600ms 2s533ms 11 1 3s189ms 3s189ms 14 2 4s282ms 2s141ms 21 1 2s373ms 2s373ms 22 1 3s253ms 3s253ms 23 1 1s738ms 1s738ms Dec 25 01 1 2s75ms 2s75ms 05 4 8s458ms 2s114ms 07 4 13s666ms 3s416ms 09 1 1s838ms 1s838ms 10 1 2s350ms 2s350ms 12 2 4s388ms 2s194ms 17 1 3s223ms 3s223ms 18 2 4s71ms 2s35ms 19 1 1s850ms 1s850ms 20 1 1s884ms 1s884ms 23 1 1s937ms 1s937ms Dec 26 05 5 11s801ms 2s360ms 06 2 5s187ms 2s593ms 18 1 3s265ms 3s265ms 22 1 3s184ms 3s184ms Dec 27 05 4 9s263ms 2s315ms 12 2 3s814ms 1s907ms 22 1 3s182ms 3s182ms Dec 28 05 3 7s685ms 2s561ms [ User: pubeu - Total duration: 1m8s - Times executed: 23 ]
[ User: qaeu - Total duration: 23s21ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '654815' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-12-25 07:32:50 Duration: 3s474ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '654815' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-12-25 07:32:50 Duration: 3s428ms Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '654815' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-12-25 07:32:48 Duration: 3s414ms Bind query: yes
20 62 1m41s 1s15ms 2s540ms 1s644ms 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 #20
Day Hour Count Duration Avg duration Dec 22 08 2 3s785ms 1s892ms Dec 23 00 1 2s235ms 2s235ms 06 1 1s164ms 1s164ms 17 1 2s360ms 2s360ms Dec 24 03 6 10s785ms 1s797ms 06 2 2s746ms 1s373ms 18 1 1s56ms 1s56ms 19 1 1s17ms 1s17ms 20 2 2s647ms 1s323ms 21 1 2s359ms 2s359ms 23 2 3s348ms 1s674ms Dec 25 00 1 2s270ms 2s270ms 08 1 1s716ms 1s716ms 09 1 1s57ms 1s57ms 16 1 2s248ms 2s248ms 17 1 2s242ms 2s242ms 19 1 2s282ms 2s282ms 20 1 1s544ms 1s544ms 23 1 2s218ms 2s218ms Dec 26 06 3 3s200ms 1s66ms 08 2 3s247ms 1s623ms 09 2 2s310ms 1s155ms 10 1 1s17ms 1s17ms 11 3 5s422ms 1s807ms 13 1 1s528ms 1s528ms 15 1 1s680ms 1s680ms 17 2 3s374ms 1s687ms 20 1 1s409ms 1s409ms 22 2 2s128ms 1s64ms Dec 27 00 1 2s244ms 2s244ms 01 1 1s136ms 1s136ms 05 1 2s270ms 2s270ms 09 1 2s210ms 2s210ms 10 1 1s542ms 1s542ms 18 1 1s83ms 1s83ms 19 1 2s419ms 2s419ms Dec 28 01 2 3s365ms 1s682ms 04 2 3s442ms 1s721ms 08 1 2s262ms 2s262ms 12 1 1s52ms 1s52ms 15 1 2s303ms 2s303ms 19 1 1s100ms 1s100ms 23 1 1s115ms 1s115ms [ User: pubeu - Total duration: 37s125ms - Times executed: 23 ]
-
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 = '2079075') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-26 11:46:01 Duration: 2s540ms 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 = '2079075') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-24 03:28:29 Duration: 2s453ms 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 = '2079075') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-27 19:54:56 Duration: 2s419ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 10h26m55s 10h26m56s 10h26m55s 2 20h53m51s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term_label l inner join dag_path dp on l.term_id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(l.nm) like ? and l.object_type_id = ? and gd.curated_reference_qty > ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 26 19 2 20h53m51s 10h26m55s [ User: pubeu - Total duration: 10h26m56s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'CANCER' AND l.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-26 19:22:43 Duration: 10h26m56s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'CANCER' AND l.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-26 19:16:32 Duration: 10h26m55s Bind query: yes
2 23m57s 23m57s 23m57s 1 23m57s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 28 19 1 23m57s 23m57s -
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-12-28 19:00:59 Duration: 23m57s
3 23m45s 23m45s 23m45s 1 23m45s 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 #3
Day Hour Count Duration Avg duration Dec 28 19 1 23m45s 23m45s -
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-12-28 19:43:51 Duration: 23m45s
4 21m31s 22m24s 22m4s 7 2h34m31s select maint_query_logs_archive ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 22 00 1 21m31s 21m31s Dec 23 00 1 21m45s 21m45s Dec 24 00 1 22m5s 22m5s Dec 25 00 1 22m10s 22m10s Dec 26 00 1 22m14s 22m14s Dec 27 00 1 22m19s 22m19s Dec 28 00 1 22m24s 22m24s -
/* * 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-12-28 00:22:25 Duration: 22m24s
-
/* * 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-12-27 00:22:21 Duration: 22m19s
-
/* * 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-12-26 00:22:16 Duration: 22m14s
5 8m 8m 8m 1 8m select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where r.id in (( select distinct reference_id from term_reference tr where object_type_id = ? and term_id in ( select t.id from term t where t.nm_fts @@ to_tsquery(?, ?) and t.object_type_id = ?) and ixn_type_id = ( select id from ixn_type where nm = ?))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 25 08 1 8m 8m -
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where r.id IN (( select /* IQH.getReferencesAssociatedWithTermSQL */ distinct reference_id from term_reference tr where object_type_id = 2 and term_id in ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'PARTICULATE & MATTER') AND t.object_type_id = 2) and ixn_type_id = ( select id from ixn_type where nm = 'EXPOSURE'))) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-25 08:06:33 Duration: 8m Bind query: yes
6 2s208ms 10m49s 5m25s 2 10m51s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 24 19 1 10m49s 10m49s Dec 26 20 1 2s208ms 2s208ms -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-24 19:09:09 Duration: 10m49s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TNF') 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:0005215' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'TESTICULAR DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA02010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'LEAD' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10090' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-26 20:39:25 Duration: 2s208ms Bind query: yes
7 2s196ms 10m49s 5m25s 2 10m51s select gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?));Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 24 18 1 10m49s 10m49s Dec 26 20 1 2s196ms 2s196ms -
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-12-24 18:58:43 Duration: 10m49s Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TNF') 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:0005215' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'TESTICULAR DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA02010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'LEAD' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10090' AND n.dag_id = 7));
Date: 2024-12-26 20:39:23 Duration: 2s196ms Bind query: yes
8 1s329ms 18m25s 3m46s 26 1h38m21s 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 #8
Day Hour Count Duration Avg duration Dec 22 04 1 3s243ms 3s243ms 11 1 3s138ms 3s138ms 17 1 1s418ms 1s418ms 18 1 3m49s 3m49s Dec 23 00 1 1s379ms 1s379ms 04 1 17m37s 17m37s 08 1 1s405ms 1s405ms 10 1 4m35s 4m35s 12 1 4m35s 4m35s 13 1 1s606ms 1s606ms 21 1 3m43s 3m43s Dec 24 03 4 35m33s 8m53s 06 1 1s411ms 1s411ms 12 1 1s567ms 1s567ms 21 1 3s97ms 3s97ms Dec 25 07 1 18m25s 18m25s 13 1 1s582ms 1s582ms 19 1 1s405ms 1s405ms 22 1 4m41s 4m41s Dec 26 23 1 4m51s 4m51s Dec 27 03 1 1s329ms 1s329ms 22 1 3s209ms 3s209ms Dec 28 06 1 1s933ms 1s933ms [ User: pubeu - Total duration: 13m14s - Times executed: 8 ]
-
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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-25 07:06:19 Duration: 18m25s 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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-24 03:50:27 Duration: 17m51s 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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-23 04:52:12 Duration: 17m37s Bind query: yes
9 43s488ms 45s514ms 44s1ms 25 18m20s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 22 06 1 43s507ms 43s507ms 10 1 43s840ms 43s840ms 14 1 43s846ms 43s846ms 18 1 43s488ms 43s488ms Dec 23 06 1 44s55ms 44s55ms 10 1 43s595ms 43s595ms 14 1 43s489ms 43s489ms 18 1 43s649ms 43s649ms Dec 24 06 1 44s63ms 44s63ms 10 1 45s514ms 45s514ms 14 1 43s612ms 43s612ms 18 1 44s38ms 44s38ms Dec 25 06 1 43s877ms 43s877ms 10 1 43s814ms 43s814ms 14 1 44s336ms 44s336ms 18 1 43s914ms 43s914ms Dec 26 06 1 43s990ms 43s990ms 10 1 44s20ms 44s20ms 14 1 44s54ms 44s54ms 18 1 44s153ms 44s153ms Dec 27 06 1 44s321ms 44s321ms 10 1 44s127ms 44s127ms 14 1 44s209ms 44s209ms 18 1 44s408ms 44s408ms Dec 28 19 1 44s105ms 44s105ms [ User: postgres - Total duration: 17m35s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 17m35s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-24 10:05:47 Duration: 45s514ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-27 18:05:46 Duration: 44s408ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-25 14:05:46 Duration: 44s336ms Database: ctdprd51 User: postgres Application: pg_dump
10 1s913ms 1m24s 31s689ms 50 26m24s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 22 01 2 1m34s 47s336ms 05 2 1m50s 55s291ms 22 1 2s39ms 2s39ms Dec 23 09 2 1m4s 32s147ms 18 1 31s745ms 31s745ms Dec 24 07 3 7s228ms 2s409ms 08 1 4s224ms 4s224ms 09 1 2s548ms 2s548ms 12 2 1m 30s321ms 15 1 30s549ms 30s549ms 19 1 28s522ms 28s522ms Dec 25 22 1 2s669ms 2s669ms Dec 26 17 1 32s569ms 32s569ms 22 1 2s389ms 2s389ms Dec 27 17 1 40s306ms 40s306ms 18 1 55s328ms 55s328ms 19 1 2s77ms 2s77ms 20 1 48s25ms 48s25ms Dec 28 00 1 1m15s 1m15s 01 1 1m10s 1m10s 02 2 1m18s 39s446ms 03 1 1s913ms 1s913ms 04 1 42s927ms 42s927ms 05 1 2s266ms 2s266ms 06 5 1m55s 23s145ms 07 1 1m23s 1m23s 09 1 52s657ms 52s657ms 12 1 1s974ms 1s974ms 14 1 35s263ms 35s263ms 15 1 2s24ms 2s24ms 16 1 2s63ms 2s63ms 17 2 1m57s 58s996ms 18 2 2m1s 1m 19 2 1m58s 59s313ms 20 1 1s942ms 1s942ms 21 1 38s963ms 38s963ms [ User: pubeu - Total duration: 10m38s - Times executed: 22 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1276072')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-12-28 19:42:36 Duration: 1m24s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1276072')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-12-28 07:42:12 Duration: 1m23s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1276072')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-12-28 17:19:55 Duration: 1m21s Bind query: yes
11 1s17ms 10m4s 15s674ms 237 1h1m54s 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 Dec 22 07 1 1s773ms 1s773ms 08 1 1s48ms 1s48ms 09 4 1m46s 26s644ms 11 6 22s209ms 3s701ms 12 1 1s990ms 1s990ms 16 6 14s638ms 2s439ms 22 23 2m29s 6s501ms 23 3 17s225ms 5s741ms Dec 23 00 1 4s373ms 4s373ms 05 3 5s785ms 1s928ms 07 1 1s95ms 1s95ms 08 6 10s339ms 1s723ms 11 10 7m45s 46s548ms 13 6 32s516ms 5s419ms 20 1 14s188ms 14s188ms 21 10 47s433ms 4s743ms Dec 24 11 8 2m15s 16s896ms 12 10 2m38s 15s832ms 13 14 31m54s 2m16s 19 6 6s268ms 1s44ms Dec 25 00 1 1s264ms 1s264ms 06 1 24s969ms 24s969ms 10 6 2m6s 21s31ms 23 1 1s32ms 1s32ms Dec 26 01 10 15s887ms 1s588ms 02 20 1m22s 4s142ms 03 19 2m47s 8s810ms 04 2 3s650ms 1s825ms 05 7 12s244ms 1s749ms 06 8 35s405ms 4s425ms 07 5 21s843ms 4s368ms Dec 27 01 2 8s715ms 4s357ms 02 20 49s66ms 2s453ms 03 4 17s722ms 4s430ms 04 2 8s674ms 4s337ms 07 1 18s894ms 18s894ms Dec 28 03 6 7s40ms 1s173ms 22 1 1s798ms 1s798ms [ User: pubeu - Total duration: 52m55s - Times executed: 130 ]
-
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 = '2091679') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-24 13:48:59 Duration: 10m4s 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 = '2091679') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-24 13:48:59 Duration: 10m 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 = '2091679') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-24 13:48:59 Duration: 10m Database: ctdprd51 User: pubeu Bind query: yes
12 1s196ms 10m59s 15s475ms 52 13m24s 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 actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 22 04 1 2s321ms 2s321ms 07 1 4s368ms 4s368ms 10 6 14s22ms 2s337ms 14 1 3s171ms 3s171ms 16 1 3s175ms 3s175ms Dec 23 02 8 16s751ms 2s93ms 12 2 4s970ms 2s485ms Dec 24 06 1 2s78ms 2s78ms 12 8 24s915ms 3s114ms 13 5 11m23s 2m16s Dec 25 02 1 2s837ms 2s837ms 04 2 4s511ms 2s255ms 08 5 6s654ms 1s330ms 10 6 25s723ms 4s287ms Dec 27 02 2 2s866ms 1s433ms 07 1 1s196ms 1s196ms 10 1 2s106ms 2s106ms [ User: pubeu - Total duration: 12m41s - Times executed: 34 ]
-
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 = '2091679') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-24 13:35:10 Duration: 10m59s 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 = '2091679') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-24 13:22:07 Duration: 12s448ms 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 = '2091679') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-24 13:21:54 Duration: 4s775ms Database: ctdprd51 User: pubeu Bind query: yes
13 1s745ms 20s872ms 15s88ms 34 8m33s 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 #13
Day Hour Count Duration Avg duration Dec 22 01 1 18s683ms 18s683ms 09 1 1s745ms 1s745ms 14 2 37s686ms 18s843ms 22 4 1m17s 19s265ms Dec 23 00 3 41s601ms 13s867ms 02 1 14s210ms 14s210ms 05 1 2s248ms 2s248ms 08 1 17s626ms 17s626ms 15 7 2m8s 18s418ms 16 6 1m57s 19s505ms Dec 24 08 1 1s984ms 1s984ms 16 1 20s872ms 20s872ms 18 1 20s774ms 20s774ms 20 1 3s988ms 3s988ms Dec 26 04 1 2s269ms 2s269ms 11 1 2s300ms 2s300ms Dec 28 06 1 3s998ms 3s998ms [ User: pubeu - Total duration: 2m56s - Times executed: 12 ]
-
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 = '2084920') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-24 16:53:36 Duration: 20s872ms 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 = '2084703') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-24 18:07:09 Duration: 20s774ms 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 = '2085710') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-23 15:48:45 Duration: 20s373ms Bind query: yes
14 11s79ms 12s917ms 11s442ms 59 11m15s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 27 11 3 33s571ms 11s190ms 12 5 55s923ms 11s184ms 13 2 25s509ms 12s754ms 14 8 1m34s 11s814ms 17 11 2m4s 11s349ms 19 4 45s86ms 11s271ms 20 16 3m 11s260ms 23 4 45s255ms 11s313ms Dec 28 00 6 1m10s 11s703ms [ User: pubeu - Total duration: 5m11s - Times executed: 27 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-27 13:59:45 Duration: 12s917ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-27 13:59:42 Duration: 12s592ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-27 14:01:17 Duration: 12s532ms Database: ctdprd51 User: pubeu Bind query: yes
15 3s702ms 41s529ms 5s992ms 869 1h26m47s select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 22 02 2 7s657ms 3s828ms 03 1 3s845ms 3s845ms 04 4 16s57ms 4s14ms 07 1 3s811ms 3s811ms 09 3 11s496ms 3s832ms 10 3 11s663ms 3s887ms 11 2 7s708ms 3s854ms 12 3 11s466ms 3s822ms 13 3 11s832ms 3s944ms 14 1 3s869ms 3s869ms 18 3 11s318ms 3s772ms 19 2 8s211ms 4s105ms 20 12 45s630ms 3s802ms 21 4 15s215ms 3s803ms Dec 23 00 1 3s898ms 3s898ms 02 2 8s114ms 4s57ms 03 3 11s882ms 3s960ms 04 7 26s918ms 3s845ms 06 1 4s18ms 4s18ms 07 1 3s938ms 3s938ms 08 2 8s834ms 4s417ms 09 2 7s618ms 3s809ms 10 3 11s621ms 3s873ms 12 1 3s829ms 3s829ms 13 2 7s635ms 3s817ms 14 3 11s813ms 3s937ms 15 2 7s840ms 3s920ms 18 1 3s775ms 3s775ms 22 1 3s827ms 3s827ms Dec 24 01 1 3s862ms 3s862ms 02 3 11s929ms 3s976ms 03 103 7m59s 4s658ms 04 155 10m13s 3s960ms 06 81 8m22s 6s209ms 07 85 9m4s 6s404ms 08 87 12m28s 8s605ms 09 138 24m13s 10s534ms 10 2 8s142ms 4s71ms 14 3 11s397ms 3s799ms 17 1 3s958ms 3s958ms 20 1 3s987ms 3s987ms Dec 25 01 1 3s891ms 3s891ms 02 7 26s883ms 3s840ms 03 1 3s864ms 3s864ms 04 1 4s129ms 4s129ms 06 1 3s851ms 3s851ms 07 1 3s850ms 3s850ms 08 2 7s629ms 3s814ms 09 4 15s402ms 3s850ms 10 1 3s834ms 3s834ms 12 1 3s793ms 3s793ms 14 2 7s763ms 3s881ms 17 2 7s603ms 3s801ms 20 1 3s947ms 3s947ms 22 1 3s827ms 3s827ms 23 2 8s12ms 4s6ms Dec 26 01 1 3s945ms 3s945ms 02 8 31s922ms 3s990ms 03 4 15s572ms 3s893ms 04 2 7s691ms 3s845ms 05 2 7s913ms 3s956ms 06 3 11s495ms 3s831ms 08 4 15s679ms 3s919ms 09 1 3s855ms 3s855ms 10 3 16s131ms 5s377ms 11 3 13s392ms 4s464ms 12 1 4s38ms 4s38ms 14 3 11s891ms 3s963ms 15 2 7s866ms 3s933ms 16 1 4s32ms 4s32ms 21 1 3s866ms 3s866ms 22 2 7s760ms 3s880ms 23 3 11s468ms 3s822ms Dec 27 02 5 19s609ms 3s921ms 03 7 26s822ms 3s831ms 04 1 4s38ms 4s38ms 05 5 19s206ms 3s841ms 09 3 11s392ms 3s797ms 10 2 7s711ms 3s855ms 11 1 3s868ms 3s868ms 12 3 12s28ms 4s9ms 15 1 3s840ms 3s840ms 19 2 7s786ms 3s893ms 20 1 3s756ms 3s756ms 21 1 3s806ms 3s806ms Dec 28 00 2 7s563ms 3s781ms 03 4 15s447ms 3s861ms 08 1 3s749ms 3s749ms 09 2 7s801ms 3s900ms 10 3 11s231ms 3s743ms 11 2 7s608ms 3s804ms 12 1 3s852ms 3s852ms 13 2 7s930ms 3s965ms 15 3 14s398ms 4s799ms 16 2 7s758ms 3s879ms 17 2 7s837ms 3s918ms 19 1 3s808ms 3s808ms 20 3 11s478ms 3s826ms 22 1 3s949ms 3s949ms [ User: pubeu - Total duration: 36m9s - Times executed: 293 ]
-
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 = '1398604') 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 = '1398604') 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-12-24 09:45:33 Duration: 41s529ms 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 = '1398604') 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 = '1398604') 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-12-24 09:45:27 Duration: 40s440ms 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 = '1398604') 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 = '1398604') 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-12-24 09:45:29 Duration: 39s92ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s16ms 37s840ms 4s952ms 78 6m26s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 22 00 1 1s66ms 1s66ms 06 2 11s596ms 5s798ms 10 8 20s484ms 2s560ms 11 2 9s408ms 4s704ms 17 1 6s544ms 6s544ms 18 1 2s397ms 2s397ms 22 9 17s299ms 1s922ms Dec 23 04 1 11s172ms 11s172ms 13 7 19s600ms 2s800ms 14 1 4s819ms 4s819ms 20 1 2s479ms 2s479ms 21 1 1s277ms 1s277ms Dec 24 11 1 37s840ms 37s840ms 12 11 1m58s 10s728ms 13 14 1m35s 6s799ms 14 1 1s197ms 1s197ms Dec 25 04 1 4s592ms 4s592ms 05 1 1s656ms 1s656ms 22 1 1s655ms 1s655ms 23 1 2s587ms 2s587ms Dec 26 08 1 1s63ms 1s63ms 10 1 1s636ms 1s636ms 11 1 1s194ms 1s194ms Dec 27 05 1 1s238ms 1s238ms 13 1 1s158ms 1s158ms 14 1 1s90ms 1s90ms 15 1 1s512ms 1s512ms Dec 28 03 2 2s718ms 1s359ms 08 1 1s73ms 1s73ms 11 1 1s533ms 1s533ms 13 1 1s188ms 1s188ms [ User: pubeu - Total duration: 4m56s - Times executed: 47 ]
-
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 = '2083856') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6255250;
Date: 2024-12-24 11:44:48 Duration: 37s840ms 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 = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3828650;
Date: 2024-12-24 12:52:36 Duration: 35s202ms 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 = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3828650;
Date: 2024-12-24 12:52:45 Duration: 22s949ms Bind query: yes
17 1s2ms 30s260ms 4s781ms 69 5m29s select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 24 04 1 1s411ms 1s411ms 07 7 7s547ms 1s78ms 08 14 1m25s 6s98ms 09 24 47s58ms 1s960ms 10 8 2m15s 16s996ms Dec 27 16 1 8s339ms 8s339ms 23 1 1s16ms 1s16ms Dec 28 02 2 3s376ms 1s688ms 06 1 2s341ms 2s341ms 07 2 3s372ms 1s686ms 08 1 4s86ms 4s86ms 10 1 1s681ms 1s681ms 13 1 1s691ms 1s691ms 14 1 4s45ms 4s45ms 16 1 3s956ms 3s956ms 17 1 8s648ms 8s648ms 21 1 1s732ms 1s732ms 22 1 8s248ms 8s248ms [ User: pubeu - Total duration: 2m21s - Times executed: 18 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-24 10:20:14 Duration: 30s260ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-24 10:19:55 Duration: 15s764ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-24 10:19:39 Duration: 15s668ms Database: ctdprd51 User: pubeu Bind query: yes
18 1s 7s914ms 4s762ms 339 26m54s 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 #18
Day Hour Count Duration Avg duration Dec 22 00 2 9s869ms 4s934ms 01 5 25s152ms 5s30ms 03 1 4s896ms 4s896ms 05 4 20s304ms 5s76ms 06 1 4s483ms 4s483ms 09 2 9s811ms 4s905ms 10 1 4s818ms 4s818ms 12 1 4s767ms 4s767ms 13 3 14s291ms 4s763ms 16 1 4s791ms 4s791ms 22 1 5s56ms 5s56ms 23 2 10s26ms 5s13ms Dec 23 01 2 9s766ms 4s883ms 02 1 4s790ms 4s790ms 03 1 4s904ms 4s904ms 04 3 14s506ms 4s835ms 05 2 9s700ms 4s850ms 06 3 14s151ms 4s717ms 07 1 4s778ms 4s778ms 08 1 1s2ms 1s2ms 10 1 4s777ms 4s777ms 13 1 6s337ms 6s337ms 15 2 10s390ms 5s195ms 16 1 4s833ms 4s833ms 20 1 4s854ms 4s854ms 21 4 19s326ms 4s831ms Dec 24 03 5 22s647ms 4s529ms 04 7 35s618ms 5s88ms 06 6 27s556ms 4s592ms 07 44 3m29s 4s763ms 08 6 37s222ms 6s203ms 09 5 29s58ms 5s811ms 18 1 4s740ms 4s740ms 19 1 4s792ms 4s792ms 21 7 35s451ms 5s64ms Dec 25 00 1 4s911ms 4s911ms 01 1 4s757ms 4s757ms 02 2 9s867ms 4s933ms 03 1 4s776ms 4s776ms 04 6 29s204ms 4s867ms 06 2 5s892ms 2s946ms 08 1 4s927ms 4s927ms 13 1 4s922ms 4s922ms 15 1 4s723ms 4s723ms 16 1 4s690ms 4s690ms 19 1 4s745ms 4s745ms 21 1 4s875ms 4s875ms 22 2 9s525ms 4s762ms 23 3 14s176ms 4s725ms Dec 26 00 5 23s796ms 4s759ms 01 1 4s926ms 4s926ms 02 1 1s19ms 1s19ms 03 4 16s357ms 4s89ms 04 1 1s25ms 1s25ms 06 2 9s340ms 4s670ms 07 3 11s60ms 3s686ms 10 2 11s412ms 5s706ms 11 4 19s621ms 4s905ms 12 1 5s480ms 5s480ms 15 1 6s341ms 6s341ms 16 1 6s302ms 6s302ms 17 1 6s289ms 6s289ms 20 1 4s767ms 4s767ms 22 1 4s696ms 4s696ms 23 4 19s935ms 4s983ms Dec 27 01 1 4s895ms 4s895ms 04 1 4s770ms 4s770ms 08 1 4s611ms 4s611ms 09 3 15s222ms 5s74ms 10 1 4s668ms 4s668ms 14 1 4s797ms 4s797ms 17 3 14s287ms 4s762ms 18 8 39s544ms 4s943ms 19 3 14s760ms 4s920ms 20 2 9s763ms 4s881ms 21 5 24s453ms 4s890ms 22 6 25s891ms 4s315ms 23 5 23s948ms 4s789ms Dec 28 00 4 19s773ms 4s943ms 01 4 19s272ms 4s818ms 02 3 15s398ms 5s132ms 03 6 29s795ms 4s965ms 04 4 19s537ms 4s884ms 05 7 33s979ms 4s854ms 06 7 33s681ms 4s811ms 07 6 29s952ms 4s992ms 08 4 19s599ms 4s899ms 09 8 31s430ms 3s928ms 10 5 23s812ms 4s762ms 11 6 25s77ms 4s179ms 12 2 9s985ms 4s992ms 13 2 9s549ms 4s774ms 14 6 24s938ms 4s156ms 15 5 20s721ms 4s144ms 16 1 4s839ms 4s839ms 17 8 39s28ms 4s878ms 18 3 10s775ms 3s591ms 19 3 14s797ms 4s932ms 20 4 18s969ms 4s742ms 21 6 29s333ms 4s888ms 22 1 5s540ms 5s540ms 23 7 29s485ms 4s212ms [ User: pubeu - Total duration: 8m47s - Times executed: 112 ]
-
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 = '1438258' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-24 08:51:07 Duration: 7s914ms 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 = '1427841' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-24 08:49:39 Duration: 7s810ms 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 = '1316187' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-24 07:26:32 Duration: 7s783ms Bind query: yes
19 1s6ms 12s158ms 3s179ms 334 17m41s 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 #19
Day Hour Count Duration Avg duration Dec 22 00 3 7s282ms 2s427ms 01 5 9s627ms 1s925ms 02 1 4s815ms 4s815ms 04 3 5s376ms 1s792ms 05 2 4s291ms 2s145ms 08 4 9s32ms 2s258ms 11 1 1s100ms 1s100ms 12 1 1s194ms 1s194ms 13 1 2s46ms 2s46ms 15 1 1s6ms 1s6ms 17 1 2s431ms 2s431ms 19 2 7s431ms 3s715ms 21 3 12s669ms 4s223ms 22 3 5s874ms 1s958ms Dec 23 00 1 1s284ms 1s284ms 04 5 12s18ms 2s403ms 05 1 2s98ms 2s98ms 07 1 2s29ms 2s29ms 12 1 1s548ms 1s548ms 14 1 1s289ms 1s289ms 20 2 9s783ms 4s891ms 21 8 23s59ms 2s882ms 22 1 1s588ms 1s588ms Dec 24 00 1 1s459ms 1s459ms 01 2 5s73ms 2s536ms 02 1 2s331ms 2s331ms 03 23 1m5s 2s836ms 06 26 1m26s 3s332ms 07 1 1s201ms 1s201ms 08 3 11s159ms 3s719ms 09 1 1s71ms 1s71ms 11 4 11s178ms 2s794ms 12 3 7s312ms 2s437ms 14 1 1s59ms 1s59ms 17 2 4s43ms 2s21ms 18 4 20s161ms 5s40ms 19 3 7s599ms 2s533ms 20 2 6s95ms 3s47ms 21 2 7s142ms 3s571ms 23 2 4s486ms 2s243ms Dec 25 00 1 2s461ms 2s461ms 01 4 15s731ms 3s932ms 02 2 7s470ms 3s735ms 03 4 10s704ms 2s676ms 04 1 1s239ms 1s239ms 05 1 1s593ms 1s593ms 06 3 5s405ms 1s801ms 07 1 4s127ms 4s127ms 08 6 24s71ms 4s11ms 09 1 3s800ms 3s800ms 10 2 2s784ms 1s392ms 13 2 4s584ms 2s292ms 14 2 5s262ms 2s631ms 15 1 1s637ms 1s637ms 17 3 13s765ms 4s588ms 18 3 19s354ms 6s451ms 19 1 2s351ms 2s351ms 20 4 8s713ms 2s178ms 21 3 4s968ms 1s656ms 22 4 11s805ms 2s951ms 23 1 5s932ms 5s932ms Dec 26 00 1 3s45ms 3s45ms 01 1 1s486ms 1s486ms 02 8 32s569ms 4s71ms 03 5 17s48ms 3s409ms 05 2 7s202ms 3s601ms 06 6 18s247ms 3s41ms 07 2 4s838ms 2s419ms 08 3 19s554ms 6s518ms 09 5 14s331ms 2s866ms 10 2 9s912ms 4s956ms 11 2 13s836ms 6s918ms 12 4 18s536ms 4s634ms 13 2 3s941ms 1s970ms 14 2 3s844ms 1s922ms 15 4 13s357ms 3s339ms 17 1 2s663ms 2s663ms 18 3 13s285ms 4s428ms 19 3 12s187ms 4s62ms 20 6 16s659ms 2s776ms 21 6 13s238ms 2s206ms 22 1 1s179ms 1s179ms 23 2 12s14ms 6s7ms Dec 27 00 3 14s280ms 4s760ms 01 4 10s984ms 2s746ms 02 2 7s572ms 3s786ms 03 4 6s729ms 1s682ms 04 1 2s800ms 2s800ms 05 4 16s523ms 4s130ms 06 4 11s492ms 2s873ms 07 4 9s716ms 2s429ms 08 1 4s406ms 4s406ms 09 1 7s495ms 7s495ms 10 3 5s456ms 1s818ms 11 1 4s661ms 4s661ms 12 2 5s458ms 2s729ms 15 1 2s461ms 2s461ms 17 4 20s548ms 5s137ms 18 2 14s467ms 7s233ms 19 1 1s144ms 1s144ms 20 2 6s797ms 3s398ms 21 1 6s331ms 6s331ms 22 2 2s736ms 1s368ms Dec 28 00 3 11s290ms 3s763ms 01 1 1s49ms 1s49ms 02 5 26s313ms 5s262ms 04 2 7s408ms 3s704ms 06 2 13s388ms 6s694ms 08 6 13s754ms 2s292ms 10 2 3s368ms 1s684ms 13 3 11s287ms 3s762ms 14 1 3s114ms 3s114ms 15 1 5s555ms 5s555ms 18 1 2s474ms 2s474ms 19 2 5s584ms 2s792ms 20 1 3s124ms 3s124ms 22 2 7s419ms 3s709ms 23 1 1s840ms 1s840ms [ User: pubeu - Total duration: 6m6s - Times executed: 117 ]
-
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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-26 11:18:01 Duration: 12s158ms 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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-24 06:26:14 Duration: 11s873ms 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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-26 08:35:41 Duration: 11s32ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s11ms 10s634ms 3s122ms 73 3m47s 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 Dec 22 04 1 1s59ms 1s59ms 05 1 5s594ms 5s594ms 15 1 9s691ms 9s691ms Dec 23 03 1 1s34ms 1s34ms 17 1 1s42ms 1s42ms Dec 24 02 1 1s78ms 1s78ms 03 1 1s156ms 1s156ms 04 1 1s82ms 1s82ms 06 1 1s197ms 1s197ms 07 12 23s69ms 1s922ms 08 3 13s447ms 4s482ms 09 2 11s947ms 5s973ms Dec 25 04 1 1s224ms 1s224ms 17 1 1s36ms 1s36ms Dec 26 11 2 4s371ms 2s185ms Dec 27 18 1 4s436ms 4s436ms 19 1 4s441ms 4s441ms 22 1 3s442ms 3s442ms 23 1 4s872ms 4s872ms Dec 28 01 3 17s379ms 5s793ms 02 3 7s851ms 2s617ms 03 2 2s793ms 1s396ms 05 2 5s766ms 2s883ms 07 3 12s459ms 4s153ms 08 1 5s504ms 5s504ms 10 1 3s776ms 3s776ms 11 2 9s553ms 4s776ms 12 1 4s864ms 4s864ms 13 2 2s834ms 1s417ms 14 1 4s32ms 4s32ms 15 3 9s655ms 3s218ms 16 2 5s448ms 2s724ms 17 2 10s388ms 5s194ms 18 1 1s35ms 1s35ms 19 1 1s286ms 1s286ms 20 3 11s578ms 3s859ms 21 1 1s262ms 1s262ms 22 3 10s511ms 3s503ms 23 2 4s726ms 2s363ms [ User: pubeu - Total duration: 1m17s - Times executed: 22 ]
-
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 = '1398604') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') 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-12-24 09:37:23 Duration: 10s634ms 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 = '1398604') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') 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-12-28 01:42:38 Duration: 9s746ms 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 = '1398604') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') 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-12-22 15:27:14 Duration: 9s691ms Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 6s662ms 6 1s4ms 1s169ms 1s110ms SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Dec 28 09 6 6s662ms 1s110ms -
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2024-12-24 09:56:53 Duration: 1s169ms Database: postgres parameters: $1 = '1398604', $2 = '1398604', $3 = 'chem%'
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2024-12-24 09:20:20 Duration: 1s156ms Database: postgres parameters: $1 = '1427841', $2 = '1427841', $3 = 'chem%'
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2024-12-24 09:56:54 Duration: 1s4ms Database: postgres parameters: $1 = '1398604', $2 = '1398604', $3 = 'chem%'
2 0ms 74 0ms 0ms 0ms ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration Dec 22 00 1 0ms 0ms 06 2 0ms 0ms 07 2 0ms 0ms Dec 23 06 4 0ms 0ms 07 10 0ms 0ms 08 6 0ms 0ms 12 8 0ms 0ms 16 2 0ms 0ms Dec 24 00 1 0ms 0ms 04 4 0ms 0ms 06 14 0ms 0ms 07 2 0ms 0ms 08 4 0ms 0ms 09 2 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 16 2 0ms 0ms Dec 26 00 1 0ms 0ms 08 2 0ms 0ms 16 2 0ms 0ms Dec 27 00 1 0ms 0ms [ User: pubeu - Total duration: 34s800ms - Times executed: 24 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '2078309'
-
Events
Log levels
Key values
- 221,289 Log entries
Events distribution
Key values
- 0 PANIC entries
- 38 FATAL entries
- 56 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 32 Max number of times the same event was reported
- 94 Total events found
Rank Times reported Error 1 32 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Dec 22 00 1 07 1 21 1 23 1 Dec 23 04 1 19 1 Dec 24 10 1 11 1 12 1 17 1 20 1 21 1 22 2 Dec 25 00 2 03 1 04 1 18 1 19 2 20 1 23 2 Dec 26 01 1 07 1 21 1 Dec 27 02 1 04 1 07 1 09 2 - ERROR: syntax error in ts"ハンドミキサー ブレンダー 違い"
- ERROR: syntax error in ts"PHARMAC & O & L & OGI & C & A MANAGEMENT & OF & DY & S & L & I & P & I & DEMI & A"
- ERROR: syntax error in ts"(OKB-157 TORRENT | OKB157 TORRENT)"
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-12-22 00:01:49
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 OR upper( l.acc_txt ) = $11 OR upper( l.acc_txt ) = $12 OR upper( l.acc_txt ) = $13 OR upper( l.acc_txt ) = $14 OR upper( l.acc_txt ) = $15 OR upper( l.acc_txt ) = $16 OR upper( l.acc_txt ) = $17 OR upper( l.acc_txt ) = $18 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-12-23 04:58:44 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-12-24 10:18:19
2 19 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #2
Day Hour Count Dec 23 11 6 Dec 24 12 2 13 4 Dec 25 10 1 11 5 12 1 3 18 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count Dec 23 04 1 16 2 Dec 24 03 2 06 2 12 1 13 7 Dec 25 07 1 Dec 26 19 2 - ERROR: could not send data to client: Broken pipe
- ERROR: could not send data to client: Broken pipe
- ERROR: could not send data to client: Broken pipe
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 actionTypes ,cd.network_score DESC NULLS LAST ,d.nm_sort ,c.nm_sort
Date: 2024-12-24 13:35:10 Database: ctdprd51 Application: User: pubeu Remote:
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-12-24 13:35:12
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount
Date: 2024-12-24 13:35:12
4 18 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #4
Day Hour Count Dec 23 04 1 16 2 Dec 24 03 2 06 3 12 1 13 6 Dec 25 07 1 Dec 26 19 2 - FATAL: connection to client lost
- FATAL: connection to client lost
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 actionTypes ,cd.network_score DESC NULLS LAST ,d.nm_sort ,c.nm_sort
Date: 2024-12-24 13:35:10
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-12-24 13:35:12
5 5 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #5
Day Hour Count Dec 23 16 2 Dec 24 06 3 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT json_object_agg(coalesce (datname,'null'), row_to_json(T)) FROM ( SELECT datname , numbackends as numbackends , xact_commit as xact_commit , xact_rollback as xact_rollback , blks_read as blks_read , blks_hit as blks_hit , tup_returned as tup_returned , tup_fetched as tup_fetched , tup_inserted as tup_inserted , tup_updated as tup_updated , tup_deleted as tup_deleted , conflicts as conflicts , temp_files as temp_files , temp_bytes as temp_bytes , deadlocks as deadlocks , COALESCE(checksum_failures, 0) as checksum_failures , blk_read_time as blk_read_time , blk_write_time as blk_write_time FROM pg_catalog.pg_stat_database ) T ;
Date: 2024-12-23 16:09:23
Statement: SELECT row_to_json (T) FROM ( SELECT sum(numbackends) as numbackends , sum(xact_commit) as xact_commit , sum(xact_rollback) as xact_rollback , sum(blks_read) as blks_read , sum(blks_hit) as blks_hit , sum(tup_returned) as tup_returned , sum(tup_fetched) as tup_fetched , sum(tup_inserted) as tup_inserted , sum(tup_updated) as tup_updated , sum(tup_deleted) as tup_deleted , sum(conflicts) as conflicts , sum(temp_files) as temp_files , sum(temp_bytes) as temp_bytes , sum(deadlocks) as deadlocks , sum(COALESCE(checksum_failures, 0)) as checksum_failures , sum(blk_read_time) as blk_read_time , sum(blk_write_time) as blk_write_time FROM pg_catalog.pg_stat_database ) T ;
Date: 2024-12-24 06:25:19 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT row_to_json (T) FROM ( SELECT checkpoints_timed , checkpoints_req , checkpoint_write_time , checkpoint_sync_time , buffers_checkpoint , buffers_clean
Date: 2024-12-24 06:25:19
6 1 ERROR: , buffers_backend , buffers_backend_fsync , buffers_alloc FROM pg_catalog.pg_stat_bgwriter ) T
Times Reported Most Frequent Error / Event #6
Day Hour Count Dec 24 06 1 7 1 FATAL: ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #7
Day Hour Count Dec 24 13 1 - FATAL: ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-12-24 13:35:12