-
Global information
- Generated on Tue Jul 2 12:48:52 2024
- Log file:
- Parsed 184,673 log entries in 0ms
- Log start from 2024-05-27 00:00:01 to 2024-05-31 23:58:54
-
Overview
Global Stats
- 493 Number of unique normalized queries
- 9,776 Number of queries
- 2d44m43s Total query duration
- 2024-05-27 00:04:09 First query
- 2024-05-31 23:58:41 Last query
- 3 queries/s at 2024-05-30 04:49:16 Query peak
- 2d44m43s Total query duration
- 0ms Prepare/parse total duration
- 2s832ms Bind total duration
- 2d44m40s Execute total duration
- 1,368 Number of events
- 18 Number of unique normalized events
- 1,024 Max number of times the same event was reported
- 0 Number of cancellation
- 121 Total number of automatic vacuums
- 240 Total number of automatic analyzes
- 2,898 Number temporary file
- 39.66 GiB Max size of temporary file
- 190.07 MiB Average size of temporary file
- 15,276 Total number of sessions
- 104 sessions at 2024-05-30 02:51:24 Session peak
- 218d5h4m1s Total duration of sessions
- 20m34s Average duration of sessions
- 0 Average queries per session
- 11s487ms Average queries duration per session
- 20m22s Average idle time per session
- 15,276 Total number of connections
- 37 connections/s at 2024-05-31 09:24:06 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 3 queries/s Query Peak
- 2024-05-30 04:49:16 Date
SELECT Traffic
Key values
- 3 queries/s Query Peak
- 2024-05-30 04:49:16 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-05-28 05:40:12 Date
Queries duration
Key values
- 2d44m43s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 27 00 62 0ms 16m 17s608ms 7s687ms 7s907ms 16m7s 01 40 0ms 12s15ms 2s712ms 7s566ms 10s443ms 12s965ms 02 62 0ms 4s936ms 1s666ms 5s47ms 6s245ms 8s331ms 03 64 0ms 5s441ms 1s851ms 5s333ms 6s623ms 8s627ms 04 58 0ms 25s136ms 2s465ms 5s584ms 8s651ms 25s136ms 05 84 0ms 8s668ms 2s145ms 10s633ms 14s672ms 35s524ms 06 60 0ms 32s668ms 3s569ms 8s22ms 24s806ms 52s320ms 07 44 0ms 3m35s 6s800ms 5s171ms 6s437ms 3m38s 08 50 0ms 25s302ms 2s617ms 6s84ms 11s818ms 26s584ms 09 52 0ms 6s396ms 2s444ms 6s395ms 12s473ms 21s238ms 10 51 0ms 32s653ms 3s648ms 6s438ms 16s777ms 52s339ms 11 44 0ms 17m6s 25s496ms 4s752ms 12s889ms 17m11s 12 51 0ms 6s805ms 1s920ms 6s115ms 6s316ms 12s121ms 13 45 0ms 7s415ms 2s29ms 4s672ms 6s30ms 20s441ms 14 48 0ms 33s243ms 4s290ms 9s402ms 34s397ms 54s22ms 15 38 0ms 5s331ms 1s620ms 2s623ms 4s847ms 6s493ms 16 47 0ms 6s704ms 1s922ms 5s648ms 6s857ms 17s86ms 17 48 0ms 39s244ms 2s729ms 3s714ms 14s45ms 40s402ms 18 61 0ms 32s436ms 3s103ms 7s560ms 11s443ms 52s350ms 19 48 0ms 5s172ms 1s570ms 4s50ms 4s400ms 8s77ms 20 43 0ms 7s868ms 1s754ms 3s900ms 5s97ms 7s868ms 21 55 0ms 5s8ms 1s615ms 4s865ms 5s284ms 6s112ms 22 57 0ms 1m17s 3s784ms 9s584ms 13s883ms 1m17s 23 74 0ms 1m22s 10s12ms 14s809ms 32s828ms 6m28s May 28 00 53 0ms 15m56s 25s368ms 4s808ms 22s637ms 15m56s 01 47 0ms 17s21ms 2s668ms 5s415ms 8s95ms 18s179ms 02 39 0ms 29s556ms 2s177ms 3s683ms 4s872ms 29s556ms 03 64 0ms 17s339ms 2s413ms 4s568ms 14s59ms 38s590ms 04 45 0ms 8s150ms 1s958ms 4s399ms 8s150ms 10s453ms 05 83 0ms 5s854ms 1s932ms 6s201ms 14s906ms 20s425ms 06 56 0ms 9m9s 13s47ms 7s959ms 34s918ms 9m11s 07 50 0ms 4s720ms 1s552ms 3s425ms 3s892ms 9s340ms 08 62 0ms 1m7s 4s148ms 7s227ms 12s450ms 1m8s 09 52 0ms 1m8s 3s487ms 5s299ms 9s952ms 1m9s 10 48 0ms 32s570ms 3s774ms 5s74ms 13s51ms 52s469ms 11 53 0ms 7s109ms 1s922ms 4s609ms 7s410ms 9s272ms 12 45 0ms 3m46s 7s992ms 5s790ms 13s1ms 3m48s 13 58 0ms 5s717ms 2s181ms 5s717ms 7s261ms 13s291ms 14 65 0ms 4m19s 7s11ms 7s513ms 39s478ms 4m21s 15 59 0ms 39s858ms 2s800ms 6s300ms 8s202ms 41s61ms 16 65 0ms 13s705ms 3s94ms 10s736ms 16s300ms 42s441ms 17 76 0ms 3m48s 11s199ms 1m5s 1m28s 4m2s 18 48 0ms 1m3s 5s354ms 9s507ms 40s611ms 1m3s 19 53 0ms 6s420ms 1s491ms 2s728ms 7s536ms 9s960ms 20 39 0ms 34s400ms 2s458ms 3s555ms 5s441ms 34s400ms 21 50 0ms 6s234ms 1s540ms 3s985ms 6s234ms 6s709ms 22 49 0ms 6s426ms 1s953ms 5s251ms 6s851ms 12s216ms 23 87 0ms 48s744ms 4s213ms 9s354ms 40s482ms 2m23s May 29 00 61 0ms 16m1s 18s920ms 12s453ms 26s514ms 16m8s 01 59 0ms 7s904ms 1s955ms 6s266ms 9s13ms 13s960ms 02 68 0ms 48s991ms 3s129ms 6s913ms 12s138ms 48s991ms 03 54 0ms 44s753ms 2s879ms 6s379ms 7s497ms 44s753ms 04 47 0ms 5s326ms 1s853ms 4s108ms 6s496ms 8s623ms 05 98 0ms 14s832ms 2s738ms 14s670ms 17s843ms 25s164ms 06 68 0ms 32s570ms 3s202ms 8s813ms 14s564ms 52s467ms 07 63 0ms 3m36s 5s611ms 8s188ms 9s155ms 3m37s 08 62 0ms 1m46s 10s53ms 1m5s 1m20s 2m15s 09 42 0ms 45s406ms 2s741ms 2s687ms 5s963ms 47s722ms 10 57 0ms 32s441ms 3s677ms 5s323ms 32s42ms 55s508ms 11 49 0ms 9s66ms 1s814ms 4s890ms 7s388ms 11s434ms 12 42 0ms 1m32s 7s48ms 4s927ms 30s523ms 2m42s 13 63 0ms 6s937ms 1s970ms 5s849ms 8s832ms 10s697ms 14 62 0ms 32s637ms 3s253ms 6s825ms 11s234ms 55s589ms 15 32 0ms 6s886ms 2s279ms 4s867ms 6s412ms 7s736ms 16 39 0ms 15s512ms 2s430ms 3s953ms 7s432ms 21s225ms 17 60 0ms 23m6s 41s367ms 6s520ms 3m13s 23m8s 18 67 0ms 34m6s 50s431ms 1m2s 4m44s 34m20s 19 116 0ms 51s124ms 19s264ms 1m13s 1m17s 1m22s 20 159 1s30ms 39m46s 52s586ms 1m18s 2m46s 40m22s 21 181 1s111ms 6m27s 30s596ms 2m48s 4m13s 7m49s 22 163 1s12ms 57s653ms 23s68ms 1m22s 1m36s 2m45s 23 151 0ms 12m17s 26s258ms 1m48s 4m20s 13m32s May 30 00 56 0ms 23m2s 49s9ms 21s662ms 2m4s 23m3s 01 52 0ms 1h35m57s 1m57s 7s864ms 1m36s 1h35m57s 02 101 0ms 43s117ms 16s41ms 1m15s 1m22s 1m36s 03 152 1s9ms 1h7m21s 1m10s 1m27s 3m43s 1h8m43s 04 141 1s11ms 37s505ms 24s669ms 1m13s 1m15s 1m46s 05 146 1s23ms 1h56m 1m9s 1m13s 2m 1h56m59s 06 135 1s45ms 33m23s 44s775ms 1m20s 1m53s 33m58s 07 136 1s30ms 36s58ms 24s231ms 1m11s 1m12s 1m14s 08 149 1s115ms 3m37s 24s763ms 1m14s 1m14s 4m51s 09 149 1s33ms 39s190ms 23s751ms 1m15s 1m25s 1m39s 10 197 1s3ms 54s858ms 18s831ms 1m17s 1m50s 2m9s 11 168 0ms 1m14s 22s586ms 1m27s 2m1s 2m31s 12 349 1s1ms 33m14s 18s370ms 1m46s 1m47s 34m37s 13 144 1s110ms 2m7s 26s403ms 1m17s 1m31s 3m3s 14 159 1s33ms 38s718ms 22s693ms 1m14s 1m23s 2m5s 15 134 1s112ms 38s610ms 25s714ms 1m13s 1m14s 1m16s 16 140 1s111ms 37s564ms 24s821ms 1m14s 1m15s 1m17s 17 119 1s11ms 36s492ms 28s673ms 1m11s 1m12s 1m14s 18 180 1s18ms 1m3s 20s609ms 1m19s 1m25s 2m7s 19 137 1s112ms 36s818ms 25s309ms 1m14s 1m15s 1m19s 20 135 1s111ms 37s999ms 25s638ms 1m15s 1m17s 1m18s 21 143 1s114ms 39s106ms 24s680ms 1m16s 1m17s 1m54s 22 148 1s57ms 8m27s 27s115ms 1m15s 1m16s 9m39s 23 137 1s37ms 37s165ms 25s25ms 1m13s 1m13s 1m14s May 31 00 141 1s112ms 16m10s 31s611ms 1m15s 1m18s 17m34s 01 149 1s114ms 39s93ms 23s423ms 1m17s 1m19s 1m27s 02 133 1s1ms 37s478ms 26s210ms 1m14s 1m17s 1m19s 03 153 1s13ms 38s52ms 22s678ms 1m15s 1m17s 1m20s 04 142 1s55ms 39s527ms 24s528ms 1m16s 1m17s 1m23s 05 154 0ms 37s980ms 14s723ms 1m14s 1m16s 1m26s 06 46 0ms 17m6s 25s749ms 5s210ms 43s321ms 17m6s 07 41 0ms 8s394ms 1s925ms 4s312ms 7s167ms 14s739ms 08 49 0ms 6s6ms 1s708ms 3s765ms 6s180ms 10s586ms 09 58 0ms 3m35s 9s870ms 10s215ms 42s457ms 5m8s 10 62 0ms 32s643ms 3s653ms 17s172ms 24s788ms 53s413ms 11 49 0ms 5s83ms 1s508ms 2s514ms 4s689ms 8s868ms 12 39 0ms 8s356ms 1s881ms 2s572ms 5s823ms 9s516ms 13 38 0ms 7s378ms 2s101ms 5s288ms 7s266ms 7s378ms 14 50 0ms 32s605ms 3s935ms 7s333ms 16s569ms 54s592ms 15 83 0ms 12s273ms 2s35ms 7s36ms 12s995ms 24s681ms 16 38 0ms 4s687ms 1s447ms 2s894ms 3s859ms 5s879ms 17 54 0ms 5s502ms 1s775ms 4s863ms 6s644ms 9s224ms 18 51 0ms 32s934ms 3s507ms 6s9ms 10s573ms 53s349ms 19 53 0ms 13s644ms 1s758ms 4s80ms 6s892ms 15s838ms 20 47 0ms 6s699ms 1s692ms 4s58ms 5s898ms 7s898ms 21 37 0ms 6s342ms 1s735ms 5s2ms 5s980ms 9s996ms 22 56 0ms 12s505ms 2s51ms 5s387ms 7s630ms 13s636ms 23 51 0ms 14s120ms 2s571ms 5s237ms 14s120ms 22s8ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 27 00 61 0 17s817ms 4s710ms 7s687ms 16m2s 01 40 0 2s712ms 5s34ms 7s566ms 12s965ms 02 62 0 1s666ms 3s701ms 5s47ms 7s618ms 03 64 0 1s851ms 3s790ms 5s333ms 6s890ms 04 58 0 2s465ms 4s345ms 5s584ms 15s166ms 05 82 0 2s116ms 4s151ms 10s633ms 35s524ms 06 50 10 3s569ms 3s868ms 8s22ms 39s504ms 07 44 0 6s800ms 2s683ms 5s171ms 6s467ms 08 50 0 2s617ms 3s639ms 6s84ms 12s463ms 09 52 0 2s444ms 3s612ms 6s395ms 13s332ms 10 41 10 3s648ms 2s765ms 6s438ms 39s457ms 11 44 0 25s496ms 3s399ms 4s752ms 13s755ms 12 51 0 1s920ms 3s892ms 6s115ms 12s121ms 13 45 0 2s29ms 2s490ms 4s672ms 8s883ms 14 38 10 4s290ms 2s477ms 9s402ms 39s266ms 15 38 0 1s620ms 2s362ms 2s623ms 5s579ms 16 47 0 1s922ms 2s524ms 5s648ms 17s86ms 17 48 0 2s729ms 2s511ms 3s714ms 14s361ms 18 51 10 3s103ms 3s678ms 7s560ms 39s247ms 19 48 0 1s570ms 2s512ms 4s50ms 8s77ms 20 43 0 1s754ms 2s497ms 3s900ms 6s646ms 21 55 0 1s615ms 3s649ms 4s865ms 6s112ms 22 57 0 3s784ms 5s195ms 9s584ms 1m17s 23 74 0 10s12ms 5s113ms 14s809ms 2m44s May 28 00 52 0 25s764ms 2s488ms 4s654ms 4m50s 01 47 0 2s668ms 3s890ms 5s415ms 12s402ms 02 39 0 2s177ms 2s369ms 3s683ms 29s556ms 03 64 0 2s413ms 3s670ms 4s568ms 14s660ms 04 45 0 1s958ms 2s761ms 4s399ms 10s453ms 05 79 0 1s919ms 3s428ms 6s201ms 19s892ms 06 48 8 13s47ms 3s543ms 7s959ms 39s306ms 07 50 0 1s552ms 2s403ms 3s425ms 7s821ms 08 62 0 4s148ms 3s910ms 7s227ms 1m7s 09 52 0 3s487ms 3s716ms 5s299ms 20s498ms 10 38 10 3s774ms 3s817ms 5s377ms 39s405ms 11 53 0 1s922ms 3s656ms 4s609ms 7s578ms 12 45 0 7s992ms 2s395ms 5s790ms 53s149ms 13 54 0 2s137ms 4s340ms 5s608ms 7s261ms 14 55 10 7s11ms 3s877ms 7s513ms 52s666ms 15 59 0 2s800ms 5s164ms 6s300ms 11s703ms 16 64 0 2s975ms 4s924ms 6s821ms 42s441ms 17 76 0 11s199ms 15s412ms 1m5s 1m35s 18 39 9 5s354ms 3s783ms 8s351ms 1m3s 19 53 0 1s491ms 2s388ms 2s728ms 9s960ms 20 39 0 2s458ms 2s342ms 3s555ms 34s400ms 21 50 0 1s540ms 2s387ms 3s985ms 6s535ms 22 49 0 1s953ms 3s431ms 5s251ms 12s216ms 23 87 0 4s213ms 4s719ms 9s354ms 45s227ms May 29 00 60 0 19s154ms 4s164ms 12s453ms 45s763ms 01 59 0 1s955ms 2s994ms 6s266ms 12s969ms 02 68 0 3s129ms 4s416ms 6s913ms 43s566ms 03 54 0 2s879ms 4s785ms 6s379ms 12s212ms 04 47 0 1s853ms 3s441ms 4s108ms 6s956ms 05 95 0 2s743ms 6s938ms 14s670ms 24s289ms 06 59 9 3s202ms 4s872ms 8s336ms 39s416ms 07 62 0 5s672ms 4s874ms 7s433ms 9s531ms 08 61 0 10s165ms 6s605ms 1m5s 1m21s 09 41 0 2s749ms 2s211ms 2s687ms 7s518ms 10 47 10 3s677ms 3s276ms 5s323ms 39s265ms 11 48 0 1s812ms 2s377ms 4s890ms 8s356ms 12 38 0 4s301ms 3s124ms 4s881ms 1m9s 13 63 0 1s970ms 4s785ms 5s849ms 9s347ms 14 52 10 3s253ms 4s940ms 6s825ms 39s576ms 15 32 0 2s279ms 3s515ms 4s867ms 7s736ms 16 39 0 2s430ms 1s292ms 3s953ms 15s727ms 17 55 0 1s611ms 2s427ms 3s858ms 6s520ms 18 50 10 48s726ms 4s16ms 9s463ms 10m22s 19 116 0 19s264ms 1m11s 1m13s 1m18s 20 159 0 52s586ms 1m15s 1m18s 40m11s 21 148 0 29s507ms 1m16s 1m22s 5m59s 22 163 0 23s68ms 1m15s 1m22s 2m38s 23 114 0 21s792ms 1m13s 1m18s 1m41s May 30 00 45 0 23s170ms 2s231ms 3s946ms 8s75ms 01 50 0 1m58s 3s348ms 6s271ms 1m36s 02 101 0 16s41ms 1m13s 1m15s 1m24s 03 138 0 55s654ms 1m19s 1m24s 3m39s 04 141 0 24s669ms 1m12s 1m13s 1m16s 05 142 0 1m11s 1m11s 1m13s 2m3s 06 126 9 44s775ms 1m16s 1m18s 10m6s 07 136 0 24s231ms 1m11s 1m11s 1m14s 08 149 0 24s763ms 1m12s 1m14s 1m15s 09 148 0 23s899ms 1m12s 1m15s 1m26s 10 185 10 19s2ms 1m11s 1m13s 1m30s 11 166 0 22s831ms 1m16s 1m27s 2m2s 12 349 0 18s370ms 1m44s 1m46s 1m48s 13 143 0 26s578ms 1m14s 1m17s 2m52s 14 148 10 22s824ms 1m12s 1m14s 1m17s 15 134 0 25s714ms 1m12s 1m13s 1m15s 16 140 0 24s821ms 1m13s 1m14s 1m15s 17 119 0 28s673ms 1m11s 1m11s 1m12s 18 170 10 20s609ms 1m13s 1m18s 1m25s 19 137 0 25s309ms 1m12s 1m14s 1m16s 20 135 0 25s638ms 1m13s 1m15s 1m18s 21 143 0 24s680ms 1m14s 1m16s 1m19s 22 148 0 27s115ms 1m13s 1m15s 1m16s 23 137 0 25s25ms 1m13s 1m13s 1m13s May 31 00 140 0 31s802ms 1m14s 1m15s 1m19s 01 149 0 23s423ms 1m14s 1m17s 1m20s 02 133 0 26s210ms 1m13s 1m14s 1m18s 03 153 0 22s678ms 1m14s 1m15s 1m18s 04 141 0 24s688ms 1m14s 1m16s 1m18s 05 151 0 14s963ms 1m13s 1m14s 1m16s 06 36 10 25s749ms 1s452ms 5s210ms 53s502ms 07 41 0 1s925ms 2s399ms 4s312ms 10s899ms 08 48 0 1s704ms 2s375ms 3s765ms 9s619ms 09 54 0 10s441ms 2s26ms 10s215ms 5m8s 10 52 10 3s653ms 5s577ms 11s393ms 53s413ms 11 49 0 1s508ms 2s408ms 2s514ms 6s742ms 12 39 0 1s881ms 2s339ms 2s572ms 6s161ms 13 38 0 2s101ms 2s491ms 5s288ms 7s378ms 14 40 10 3s935ms 3s583ms 7s333ms 39s516ms 15 81 0 2s31ms 3s929ms 7s36ms 23s116ms 16 38 0 1s447ms 1s557ms 2s894ms 5s879ms 17 54 0 1s775ms 2s574ms 4s863ms 8s63ms 18 41 10 3s507ms 3s608ms 6s9ms 39s806ms 19 53 0 1s758ms 3s397ms 4s80ms 15s838ms 20 47 0 1s692ms 2s271ms 4s58ms 7s639ms 21 36 0 1s728ms 1s387ms 5s2ms 8s145ms 22 56 0 2s51ms 2s757ms 5s387ms 13s636ms 23 51 0 2s571ms 3s804ms 5s237ms 15s672ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 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 May 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 1 0 0 0 10s736ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 29 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 5 0 0 0 7m58s 0ms 0ms 3m12s 18 7 0 0 0 1m5s 0ms 0ms 1m52s 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 12 5 0 0 22s151ms 0ms 0ms 1m17s May 30 00 5 4 0 0 3m8s 0ms 0ms 1m38s 01 1 0 0 0 2m39s 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 31 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare May 27 00 0 61 61.00 0.00% 01 0 40 40.00 0.00% 02 0 62 62.00 0.00% 03 0 64 64.00 0.00% 04 0 58 58.00 0.00% 05 0 84 84.00 0.00% 06 0 62 62.00 0.00% 07 0 54 54.00 0.00% 08 0 54 54.00 0.00% 09 0 52 52.00 0.00% 10 0 41 41.00 0.00% 11 0 44 44.00 0.00% 12 0 51 51.00 0.00% 13 0 45 45.00 0.00% 14 0 42 42.00 0.00% 15 0 39 39.00 0.00% 16 0 47 47.00 0.00% 17 0 48 48.00 0.00% 18 0 51 51.00 0.00% 19 0 48 48.00 0.00% 20 0 43 43.00 0.00% 21 0 55 55.00 0.00% 22 0 57 57.00 0.00% 23 0 74 74.00 0.00% May 28 00 0 51 51.00 0.00% 01 0 47 47.00 0.00% 02 0 39 39.00 0.00% 03 0 64 64.00 0.00% 04 0 45 45.00 0.00% 05 0 95 95.00 0.00% 06 0 64 64.00 0.00% 07 0 54 54.00 0.00% 08 0 62 62.00 0.00% 09 0 52 52.00 0.00% 10 0 42 42.00 0.00% 11 0 57 57.00 0.00% 12 0 55 55.00 0.00% 13 0 56 56.00 0.00% 14 0 56 56.00 0.00% 15 0 61 61.00 0.00% 16 0 64 64.00 0.00% 17 0 78 78.00 0.00% 18 0 39 39.00 0.00% 19 0 53 53.00 0.00% 20 0 39 39.00 0.00% 21 0 50 50.00 0.00% 22 0 49 49.00 0.00% 23 0 87 87.00 0.00% May 29 00 0 59 59.00 0.00% 01 0 59 59.00 0.00% 02 0 68 68.00 0.00% 03 0 54 54.00 0.00% 04 0 47 47.00 0.00% 05 0 98 98.00 0.00% 06 0 63 63.00 0.00% 07 0 80 80.00 0.00% 08 0 67 67.00 0.00% 09 0 43 43.00 0.00% 10 0 50 50.00 0.00% 11 0 50 50.00 0.00% 12 0 36 36.00 0.00% 13 0 63 63.00 0.00% 14 0 52 52.00 0.00% 15 0 32 32.00 0.00% 16 0 39 39.00 0.00% 17 0 61 61.00 0.00% 18 0 59 59.00 0.00% 19 0 116 116.00 0.00% 20 0 159 159.00 0.00% 21 0 181 181.00 0.00% 22 0 163 163.00 0.00% 23 0 151 151.00 0.00% May 30 00 0 54 54.00 0.00% 01 0 53 53.00 0.00% 02 0 101 101.00 0.00% 03 0 152 152.00 0.00% 04 0 144 144.00 0.00% 05 0 147 147.00 0.00% 06 0 130 130.00 0.00% 07 0 141 141.00 0.00% 08 0 149 149.00 0.00% 09 0 126 126.00 0.00% 10 0 186 186.00 0.00% 11 0 169 169.00 0.00% 12 0 349 349.00 0.00% 13 0 142 142.00 0.00% 14 0 149 149.00 0.00% 15 0 134 134.00 0.00% 16 0 140 140.00 0.00% 17 0 119 119.00 0.00% 18 0 170 170.00 0.00% 19 0 137 137.00 0.00% 20 0 135 135.00 0.00% 21 0 143 143.00 0.00% 22 0 148 148.00 0.00% 23 0 137 137.00 0.00% May 31 00 0 139 139.00 0.00% 01 0 149 149.00 0.00% 02 0 133 133.00 0.00% 03 0 153 153.00 0.00% 04 0 142 142.00 0.00% 05 0 154 154.00 0.00% 06 0 41 41.00 0.00% 07 0 50 50.00 0.00% 08 0 50 50.00 0.00% 09 0 58 58.00 0.00% 10 0 56 56.00 0.00% 11 0 49 49.00 0.00% 12 0 40 40.00 0.00% 13 0 46 46.00 0.00% 14 0 41 41.00 0.00% 15 0 83 83.00 0.00% 16 0 40 40.00 0.00% 17 0 58 58.00 0.00% 18 0 41 41.00 0.00% 19 0 53 53.00 0.00% 20 0 47 47.00 0.00% 21 0 37 37.00 0.00% 22 0 56 56.00 0.00% 23 0 51 51.00 0.00% Day Hour Count Average / Second May 27 00 95 0.03/s 01 121 0.03/s 02 115 0.03/s 03 100 0.03/s 04 92 0.03/s 05 116 0.03/s 06 86 0.02/s 07 82 0.02/s 08 99 0.03/s 09 96 0.03/s 10 96 0.03/s 11 141 0.04/s 12 102 0.03/s 13 111 0.03/s 14 122 0.03/s 15 89 0.02/s 16 92 0.03/s 17 95 0.03/s 18 90 0.03/s 19 95 0.03/s 20 93 0.03/s 21 87 0.02/s 22 84 0.02/s 23 109 0.03/s May 28 00 93 0.03/s 01 113 0.03/s 02 110 0.03/s 03 89 0.02/s 04 79 0.02/s 05 114 0.03/s 06 94 0.03/s 07 89 0.02/s 08 109 0.03/s 09 100 0.03/s 10 117 0.03/s 11 106 0.03/s 12 298 0.08/s 13 161 0.04/s 14 99 0.03/s 15 107 0.03/s 16 140 0.04/s 17 110 0.03/s 18 108 0.03/s 19 92 0.03/s 20 86 0.02/s 21 84 0.02/s 22 84 0.02/s 23 92 0.03/s May 29 00 135 0.04/s 01 103 0.03/s 02 89 0.02/s 03 121 0.03/s 04 94 0.03/s 05 158 0.04/s 06 100 0.03/s 07 106 0.03/s 08 98 0.03/s 09 93 0.03/s 10 107 0.03/s 11 111 0.03/s 12 83 0.02/s 13 83 0.02/s 14 90 0.03/s 15 92 0.03/s 16 98 0.03/s 17 92 0.03/s 18 101 0.03/s 19 142 0.04/s 20 177 0.05/s 21 192 0.05/s 22 239 0.07/s 23 190 0.05/s May 30 00 94 0.03/s 01 87 0.02/s 02 144 0.04/s 03 177 0.05/s 04 183 0.05/s 05 182 0.05/s 06 182 0.05/s 07 178 0.05/s 08 189 0.05/s 09 188 0.05/s 10 219 0.06/s 11 213 0.06/s 12 173 0.05/s 13 190 0.05/s 14 187 0.05/s 15 181 0.05/s 16 187 0.05/s 17 178 0.05/s 18 183 0.05/s 19 179 0.05/s 20 187 0.05/s 21 204 0.06/s 22 182 0.05/s 23 181 0.05/s May 31 00 186 0.05/s 01 181 0.05/s 02 186 0.05/s 03 196 0.05/s 04 194 0.05/s 05 162 0.04/s 06 87 0.02/s 07 85 0.02/s 08 93 0.03/s 09 365 0.10/s 10 87 0.02/s 11 86 0.02/s 12 81 0.02/s 13 87 0.02/s 14 85 0.02/s 15 127 0.04/s 16 83 0.02/s 17 82 0.02/s 18 103 0.03/s 19 108 0.03/s 20 89 0.02/s 21 82 0.02/s 22 102 0.03/s 23 115 0.03/s Day Hour Count Average Duration Average idle time May 27 00 95 25m53s 25m41s 01 121 20m7s 20m6s 02 115 20m55s 20m54s 03 100 24m3s 24m2s 04 92 25m26s 25m25s 05 116 19m41s 19m40s 06 86 28m2s 28m 07 82 29m12s 29m9s 08 99 24m21s 24m19s 09 96 25m31s 25m30s 10 96 26m 25m58s 11 141 17m8s 17m 12 102 24m5s 24m4s 13 111 21m10s 21m10s 14 122 20m29s 20m28s 15 89 26m53s 26m52s 16 88 27m20s 27m19s 17 95 25m18s 25m16s 18 90 27m8s 27m6s 19 95 24m38s 24m38s 20 93 24m59s 24m58s 21 87 26m2s 26m1s 22 84 27m56s 27m53s 23 109 23m46s 23m39s May 28 00 93 25m31s 25m17s 01 113 22m12s 22m10s 02 110 21m14s 21m13s 03 89 26m53s 26m51s 04 79 28m25s 28m24s 05 114 20m52s 20m51s 06 94 25m31s 25m23s 07 89 27m10s 27m10s 08 109 22m32s 22m30s 09 100 24m30s 24m28s 10 117 20m39s 20m38s 11 106 23m18s 23m17s 12 298 8m1s 8m 13 159 46m57s 46m56s 14 99 25m7s 25m3s 15 107 22m 21m58s 16 139 17m26s 17m25s 17 111 21m59s 21m52s 18 108 22m44s 22m42s 19 95 36m57s 36m56s 20 89 39m39s 39m38s 21 84 27m28s 27m27s 22 84 28m51s 28m50s 23 92 27m9s 27m5s May 29 00 135 18m17s 18m8s 01 103 22m31s 22m30s 02 89 25m47s 25m44s 03 121 19m17s 19m16s 04 94 26m1s 26m 05 158 15m 14m59s 06 97 24m2s 24m 07 106 23m19s 23m15s 08 98 24m28s 24m22s 09 93 27m23s 27m22s 10 107 21m57s 21m55s 11 111 22m28s 22m28s 12 83 28m18s 28m14s 13 83 28m43s 28m41s 14 90 27m10s 27m8s 15 92 26m29s 26m29s 16 98 25m2s 25m1s 17 91 25m21s 24m53s 18 101 25m 24m27s 19 142 17m8s 16m53s 20 177 14m36s 13m49s 21 191 55m2s 54m33s 22 239 10m26s 10m10s 23 191 13m5s 12m44s May 30 00 94 26m16s 25m46s 01 87 26m3s 24m53s 02 143 16m31s 16m19s 03 177 13m59s 12m59s 04 184 13m21s 13m3s 05 181 13m18s 12m22s 06 183 15m27s 14m54s 07 179 13m50s 13m31s 08 189 13m7s 12m47s 09 187 13m7s 12m48s 10 216 10m58s 10m40s 11 214 12m16s 11m59s 12 173 14m6s 13m29s 13 188 13m8s 12m48s 14 188 13m8s 12m49s 15 180 13m48s 13m29s 16 188 13m1s 12m43s 17 181 19m57s 19m38s 18 183 13m22s 13m1s 19 183 49m52s 49m33s 20 186 13m2s 12m43s 21 204 11m49s 11m32s 22 183 13m34s 13m12s 23 181 13m28s 13m9s May 31 00 186 13m40s 13m16s 01 180 12m36s 12m16s 02 187 13m4s 12m46s 03 196 12m7s 11m49s 04 193 12m44s 12m26s 05 162 14m4s 13m50s 06 88 26m39s 26m26s 07 85 28m42s 28m41s 08 92 26m58s 26m57s 09 366 7m43s 7m42s 10 87 27m14s 27m11s 11 86 27m13s 27m12s 12 81 30m6s 30m5s 13 87 27m51s 27m50s 14 85 28m56s 28m54s 15 127 18m11s 18m9s 16 83 29m21s 29m20s 17 82 29m58s 29m57s 18 103 23m47s 23m46s 19 108 22m51s 22m50s 20 89 25m40s 25m39s 21 82 28m41s 28m41s 22 102 23m25s 23m24s 23 115 21m24s 21m23s -
Connections
Established Connections
Key values
- 37 connections Connection Peak
- 2024-05-31 09:24:06 Date
Connections per database
Key values
- ctdprd51 Main Database
- 15,276 connections Total
Connections per user
Key values
- pubeu Main User
- 15,276 connections Total
-
Sessions
Simultaneous sessions
Key values
- 104 sessions Session Peak
- 2024-05-30 02:51:24 Date
Histogram of session times
Key values
- 8,507 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 15,276 sessions Total
Sessions per user
Key values
- pubeu Main User
- 15,276 sessions Total
User Count Total Duration Average Duration edit 11 3d23h18m36s 8h39m52s editeu 1,850 40d1h45m44s 31m11s load 165 2d20h23s 24m43s postgres 40 36m45s 55s136ms pub1 28 1d18h50m 1h31m47s pub2 2 30s429ms 15s214ms pubc 11 2d16h48m38s 5h53m30s pubeu 9,338 81d1h32m53s 12m30s qaeu 3,830 80d2h26m3s 30m6s zbx_monitor 1 5d15h44m25s 5d15h44m25s Sessions per host
Key values
- 10.12.5.37 Main Host
- 15,276 sessions Total
Host Count Total Duration Average Duration 10.12.5.36 38 2h28s 3m10s 10.12.5.37 7,460 41d2h4m31s 7m55s 10.12.5.38 1,885 40d48m24s 30m34s 10.12.5.39 1,849 40d1h45m44s 31m12s 10.12.5.40 169 14h23m2s 5m6s 10.12.5.45 1,930 40d13m26s 29m51s 10.12.5.46 1,882 40d15m22s 30m36s 192.168.201.14 15 5d5h16m38s 8h21m6s 192.168.201.6 7 5d9h55m11s 18h33m35s ::1 41 5d16h21m10s 3h19m32s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 4,930,288 buffers Checkpoint Peak
- 2024-05-29 23:53:53 Date
- 1619.997 seconds Highest write time
- 0.927 seconds Sync time
Checkpoints Wal files
Key values
- 975 files Wal files usage Peak
- 2024-05-30 03:30:33 Date
Checkpoints distance
Key values
- 18,692.72 Mo Distance Peak
- 2024-05-29 23:31:52 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time May 27 00 3,039 320.236s 0.002s 320.282s 01 274 27.658s 0.002s 27.688s 02 373 37.567s 0.002s 37.598s 03 6,167 617.704s 0.003s 617.821s 04 393 39.566s 0.002s 39.596s 05 3,704 371.097s 0.003s 371.179s 06 3,712 371.938s 0.003s 372.065s 07 1,749 175.427s 0.003s 175.458s 08 4,724 473.227s 0.002s 473.284s 09 63,541 2,093.098s 0.004s 2,093.682s 10 510 51.292s 0.003s 51.322s 11 384 38.573s 0.003s 38.604s 12 394 39.684s 0.003s 39.718s 13 2,019 202.687s 0.004s 202.767s 14 540 54.195s 0.003s 54.226s 15 6,858 687.046s 0.004s 687.197s 16 391 39.306s 0.007s 39.453s 17 2,133 213.889s 0.004s 213.921s 18 373 37.561s 0.002s 37.638s 19 504 50.624s 0.002s 50.653s 20 4,405 441.52s 0.002s 441.609s 21 571 57.282s 0.002s 57.312s 22 436 43.862s 0.002s 43.893s 23 50,591 1,641.448s 0.002s 1,641.917s May 28 00 1,997 223.002s 0.004s 223.047s 01 6,788 679.912s 0.003s 680.013s 02 321 32.349s 0.002s 32.38s 03 321 32.255s 0.002s 32.287s 04 170 17.142s 0.001s 17.204s 05 50,309 1,669.491s 0.005s 1,669.966s 06 70,290 1,646.855s 0.004s 1,647.422s 07 665 66.62s 0.003s 66.652s 08 374 37.663s 0.002s 37.693s 09 1,027 102.998s 0.002s 103.029s 10 7,477 748.925s 0.004s 749.05s 11 694 69.674s 0.003s 69.705s 12 515 51.813s 0.003s 51.844s 13 223 22.437s 0.001s 22.452s 14 36,961 1,936.5s 0.17s 1,937.127s 15 471 47.369s 0.003s 47.402s 16 250 25.141s 0.002s 25.157s 17 254,196 1,834.437s 0.669s 1,852.065s 18 429 43.169s 0.003s 43.343s 19 687 69.02s 0.002s 69.05s 20 431 43.255s 0.003s 43.286s 21 540 54.292s 0.002s 54.322s 22 32,016 1,630.984s 0.003s 1,631.091s 23 590 59.302s 0.002s 59.333s May 29 00 2,438 244.511s 0.004s 244.591s 01 313 31.549s 0.003s 31.58s 02 395 39.769s 0.004s 39.803s 03 59,154 1,643.249s 0.003s 1,643.436s 04 56,046 1,696.599s 0.003s 1,696.78s 05 5,046 505.508s 0.003s 505.592s 06 7,207 722.019s 0.003s 722.097s 07 671 67.458s 0.004s 67.533s 08 1,324 132.731s 0.01s 140.236s 09 23,641 1,673.796s 0.008s 1,678.354s 10 949 95.279s 0.003s 95.434s 11 526 52.794s 0.002s 52.825s 12 33,127 1,634.973s 0.003s 1,640.07s 13 494 49.571s 0.002s 49.709s 14 6,834 684.503s 0.003s 684.633s 15 328 33.075s 0.002s 33.118s 16 481 48.282s 0.003s 48.377s 17 1,782,505 956.598s 0.485s 977.823s 18 1,463,683 3,238.948s 0.042s 3,250.147s 19 32,036 1,670.925s 0.006s 1,671.189s 20 217 21.829s 0.002s 21.844s 21 3,742,423 482.579s 1.508s 520.808s 22 666,507 1,629.219s 0.013s 1,635.846s 23 8,807,658 3,125.137s 0.972s 3,154.676s May 30 00 1,688,031 1,443.065s 0.851s 1,464.248s 01 1,152,261 1,661.452s 0.005s 1,667.551s 02 322,306 1,619.997s 0.006s 1,622.675s 03 651,011 2,162.283s 3.64s 2,323.343s 04 471,439 1,619.356s 0.008s 1,626.511s 05 180,325 3,667.716s 0.059s 3,669.762s 06 1,162,698 3,238.868s 0.004s 3,249.824s 07 3,290 329.688s 0.003s 329.718s 08 1,701 170.829s 0.005s 170.878s 09 1,733 173.728s 0.002s 173.748s 10 25,864 1,656.295s 0.003s 1,656.432s 11 21,620 1,741.429s 0.004s 1,741.804s 12 662 66.604s 0.015s 66.648s 13 305 30.662s 0.002s 30.677s 14 3,161 316.975s 0.006s 317.069s 15 1,093 109.709s 0.003s 109.741s 16 666 66.856s 0.002s 66.93s 17 456 45.898s 0.002s 45.929s 18 778 78.038s 0.004s 78.071s 19 912 91.592s 0.003s 91.623s 20 979 98.292s 0.003s 98.322s 21 256 25.746s 0.002s 25.763s 22 51,121 1,680.414s 0.004s 1,680.616s 23 272 27.359s 0.001s 27.416s May 31 00 55,268 1,859.079s 0.018s 1,859.342s 01 762 76.499s 0.002s 76.529s 02 603 60.634s 0.002s 60.663s 03 633 63.551s 0.003s 63.582s 04 781 78.35s 0.002s 78.366s 05 79,252 3,239.065s 0.004s 3,239.349s 06 20,097 2,013.062s 0.005s 2,013.169s 07 1,154 115.824s 0.002s 115.912s 08 50,689 1,630.958s 0.003s 1,631.14s 09 823 82.605s 0.003s 82.688s 10 677 68.01s 0.003s 68.04s 11 397 39.869s 0.002s 39.899s 12 2,363 236.908s 0.003s 236.988s 13 613 61.516s 0.002s 61.548s 14 698 70.142s 0.003s 70.175s 15 1,187 118.94s 0.001s 119.002s 16 2,295 230.011s 0.004s 230.043s 17 3,438 344.605s 0.004s 344.687s 18 2,255 226.282s 0.004s 226.314s 19 1,774 177.92s 0.004s 177.952s 20 1,293 129.757s 0.004s 129.838s 21 2,137 214.289s 0.005s 214.337s 22 622 62.431s 0.002s 62.446s 23 1,349 135.236s 0.003s 135.268s Day Hour Added Removed Recycled Synced files Longest sync Average sync May 27 00 0 0 1 76 0.001s 0.002s 01 0 0 0 33 0.001s 0.002s 02 0 0 0 44 0.001s 0.002s 03 0 0 4 46 0.001s 0.002s 04 0 0 0 30 0.001s 0.002s 05 0 0 1 49 0.001s 0.002s 06 0 0 2 105 0.001s 0.002s 07 0 0 0 144 0.001s 0.002s 08 0 0 3 67 0.001s 0.001s 09 0 0 42 110 0.001s 0.003s 10 0 0 0 31 0.001s 0.002s 11 0 0 0 26 0.002s 0.002s 12 0 0 0 24 0.001s 0.002s 13 0 0 1 43 0.001s 0.002s 14 0 0 0 79 0.001s 0.002s 15 0 0 4 101 0.001s 0.002s 16 0 0 1 76 0.001s 0.002s 17 0 0 0 46 0.001s 0.002s 18 0 0 1 26 0.001s 0.002s 19 0 0 0 28 0.001s 0.002s 20 0 0 2 31 0.001s 0.002s 21 0 0 0 28 0.001s 0.002s 22 0 0 0 17 0.001s 0.002s 23 0 0 34 39 0.001s 0.002s May 28 00 0 0 1 75 0.001s 0.002s 01 0 0 3 54 0.001s 0.002s 02 0 0 0 31 0.001s 0.002s 03 0 0 0 33 0.001s 0.002s 04 0 0 1 17 0.001s 0.001s 05 0 0 33 115 0.001s 0.003s 06 0 0 43 155 0.001s 0.002s 07 0 0 0 126 0.001s 0.002s 08 0 0 0 33 0.001s 0.002s 09 0 0 0 45 0.001s 0.002s 10 0 0 5 139 0.001s 0.002s 11 0 0 0 123 0.001s 0.002s 12 0 0 0 73 0.001s 0.002s 13 0 0 0 52 0.001s 0.001s 14 0 0 23 890 0.002s 0.003s 15 0 0 0 29 0.001s 0.002s 16 0 0 0 51 0.001s 0.001s 17 0 172 1,286 422 0.382s 0.008s 18 0 1 0 40 0.002s 0.002s 19 0 0 0 27 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 26 0.001s 0.002s 22 0 3 0 38 0.001s 0.002s 23 0 0 0 32 0.001s 0.002s May 29 00 0 1 0 83 0.001s 0.002s 01 0 0 0 34 0.001s 0.002s 02 0 0 0 37 0.001s 0.002s 03 0 39 0 55 0.001s 0.002s 04 0 38 0 61 0.001s 0.002s 05 0 3 0 55 0.001s 0.002s 06 0 3 0 90 0.001s 0.002s 07 0 1 0 160 0.001s 0.002s 08 0 0 570 156 0.001s 0.002s 09 0 0 367 197 0.001s 0.003s 10 0 1 0 105 0.001s 0.002s 11 0 0 0 116 0.001s 0.002s 12 0 16 406 114 0.001s 0.002s 13 0 1 0 23 0.001s 0.002s 14 0 3 0 57 0.001s 0.002s 15 0 0 0 17 0.001s 0.002s 16 0 1 0 28 0.001s 0.002s 17 0 31 1,615 247 0.101s 0.008s 18 0 0 917 413 0.001s 0.002s 19 0 1 0 73 0.002s 0.003s 20 0 0 0 11 0.001s 0.001s 21 0 35 2,605 184 0.845s 0.043s 22 0 0 545 95 0.002s 0.002s 23 0 546 1,953 500 0.803s 0.022s May 30 00 0 4 1,610 254 0.599s 0.01s 01 0 0 498 138 0.001s 0.003s 02 0 108 184 71 0.002s 0.001s 03 0 698 10,739 1,039 0.917s 0.068s 04 0 0 589 146 0.001s 0.001s 05 0 51 112 158 0.030s 0.003s 06 0 0 896 247 0.001s 0.002s 07 0 0 0 155 0.001s 0.002s 08 0 0 0 209 0.001s 0.003s 09 0 1 0 30 0.001s 0.001s 10 0 10 0 72 0.001s 0.002s 11 0 10 0 143 0.002s 0.003s 12 0 0 0 36 0.014s 0.003s 13 0 0 0 54 0.001s 0.001s 14 0 1 0 301 0.002s 0.003s 15 0 0 0 121 0.001s 0.002s 16 0 1 0 32 0.001s 0.002s 17 0 0 0 27 0.001s 0.002s 18 0 0 0 32 0.002s 0.002s 19 0 0 0 36 0.001s 0.002s 20 0 0 0 29 0.001s 0.002s 21 0 0 0 11 0.001s 0.001s 22 0 35 0 61 0.001s 0.003s 23 0 1 0 11 0.001s 0.001s May 31 00 0 36 0 100 0.011s 0.003s 01 0 0 0 38 0.001s 0.002s 02 0 0 0 39 0.001s 0.002s 03 0 0 0 40 0.001s 0.002s 04 0 0 0 25 0.001s 0.001s 05 0 54 0 77 0.001s 0.002s 06 0 3 0 142 0.001s 0.003s 07 0 1 0 151 0.001s 0.002s 08 0 33 0 115 0.001s 0.002s 09 0 1 0 37 0.001s 0.002s 10 0 0 0 110 0.001s 0.002s 11 0 0 0 26 0.001s 0.002s 12 0 1 0 125 0.001s 0.002s 13 0 0 0 84 0.001s 0.002s 14 0 0 0 67 0.001s 0.002s 15 0 1 0 37 0.001s 0.001s 16 0 0 0 124 0.001s 0.002s 17 0 1 0 127 0.001s 0.002s 18 0 0 0 46 0.001s 0.002s 19 0 0 0 36 0.001s 0.002s 20 0 1 0 25 0.001s 0.002s 21 0 0 0 65 0.001s 0.003s 22 0 0 0 13 0.001s 0.001s 23 0 0 0 24 0.001s 0.002s Day Hour Count Avg time (sec) May 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 May 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 May 29 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 30 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 31 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate May 27 00 7,477.00 kB 69,948.00 kB 01 747.50 kB 56,887.00 kB 02 951.50 kB 46,251.50 kB 03 31,071.50 kB 50,375.00 kB 04 1,069.00 kB 52,450.00 kB 05 12,181.00 kB 44,790.00 kB 06 11,017.50 kB 38,269.50 kB 07 5,601.50 kB 32,147.00 kB 08 47,117.00 kB 47,117.00 kB 09 229,222.67 kB 581,134.33 kB 10 1,191.50 kB 447,102.00 kB 11 1,042.00 kB 362,359.50 kB 12 1,041.00 kB 293,685.00 kB 13 6,440.50 kB 238,722.00 kB 14 1,559.00 kB 194,024.50 kB 15 32,789.00 kB 160,796.00 kB 16 1,271.00 kB 133,090.50 kB 17 6,643.00 kB 108,753.00 kB 18 1,035.50 kB 88,622.50 kB 19 1,281.50 kB 72,007.00 kB 20 16,165.50 kB 60,059.00 kB 21 1,458.00 kB 50,255.50 kB 22 1,182.50 kB 40,950.00 kB 23 276,163.50 kB 523,267.00 kB May 28 00 7,432.50 kB 425,224.50 kB 01 30,075.50 kB 350,216.00 kB 02 807.00 kB 283,823.50 kB 03 888.00 kB 230,069.00 kB 04 939.00 kB 196,298.00 kB 05 181,626.00 kB 489,269.00 kB 06 352,238.50 kB 667,482.50 kB 07 1,738.50 kB 541,015.00 kB 08 1,009.00 kB 438,442.50 kB 09 2,878.50 kB 355,516.00 kB 10 35,147.50 kB 294,763.00 kB 11 2,048.00 kB 239,179.50 kB 12 1,498.50 kB 194,018.00 kB 13 1,273.00 kB 165,614.00 kB 14 125,152.00 kB 322,146.67 kB 15 1,255.50 kB 247,850.50 kB 16 1,396.00 kB 211,534.00 kB 17 5,971,938.25 kB 7,059,686.50 kB 18 1,036.00 kB 7,129,990.50 kB 19 1,318.00 kB 5,775,516.00 kB 20 1,155.50 kB 4,678,409.00 kB 21 1,294.00 kB 3,789,740.50 kB 22 25,183.50 kB 3,074,485.50 kB 23 1,510.50 kB 2,490,597.50 kB May 29 00 7,904.00 kB 2,018,838.00 kB 01 816.50 kB 1,635,505.00 kB 02 924.50 kB 1,324,927.50 kB 03 319,621.00 kB 1,133,902.00 kB 04 304,397.50 kB 976,141.00 kB 05 23,322.50 kB 793,279.50 kB 06 32,873.50 kB 650,798.00 kB 07 1,862.50 kB 527,463.00 kB 08 4,409,018.50 kB 4,633,235.00 kB 09 2,180,678.33 kB 7,758,636.00 kB 10 2,432.00 kB 5,948,685.00 kB 11 1,435.00 kB 4,818,822.00 kB 12 3,463,403.00 kB 6,579,310.00 kB 13 1,106.50 kB 5,329,448.50 kB 14 30,896.00 kB 4,322,740.00 kB 15 974.00 kB 3,501,603.50 kB 16 1,230.50 kB 2,836,530.50 kB 17 8,816,666.00 kB 8,816,666.00 kB 18 7,777,019.50 kB 8,714,244.00 kB 19 1,535.33 kB 7,000,693.33 kB 20 1,250.00 kB 5,649,877.00 kB 21 7,350,357.67 kB 8,203,677.33 kB 22 4,045,402.50 kB 8,315,037.00 kB 23 8,082,109.40 kB 9,011,947.80 kB May 30 00 8,818,130.00 kB 9,368,053.33 kB 01 2,891,070.33 kB 8,353,901.67 kB 02 4,258,507.00 kB 7,167,610.00 kB 03 8,556,002.82 kB 8,847,383.73 kB 04 8,799,057.00 kB 8,985,133.00 kB 05 891,118.00 kB 7,523,154.00 kB 06 7,592,479.00 kB 8,692,119.50 kB 07 11,104.00 kB 7,329,340.00 kB 08 2,309.67 kB 5,645,688.00 kB 09 12,993.00 kB 4,557,582.00 kB 10 79,980.00 kB 3,911,874.00 kB 11 54,598.67 kB 3,027,581.67 kB 12 1,116.00 kB 2,321,525.00 kB 13 1,281.00 kB 1,979,596.00 kB 14 5,769.33 kB 1,610,866.33 kB 15 1,536.50 kB 1,235,340.00 kB 16 1,482.00 kB 1,000,903.50 kB 17 1,045.00 kB 810,944.50 kB 18 1,416.50 kB 657,124.00 kB 19 1,800.50 kB 532,575.50 kB 20 1,508.50 kB 431,691.00 kB 21 1,578.00 kB 368,307.00 kB 22 192,067.67 kB 517,385.00 kB 23 1,771.00 kB 417,877.00 kB May 31 00 197,460.33 kB 516,462.33 kB 01 897.50 kB 396,733.50 kB 02 994.50 kB 321,544.50 kB 03 941.00 kB 260,632.00 kB 04 2,719.00 kB 222,537.00 kB 05 421,801.00 kB 590,725.50 kB 06 30,778.33 kB 471,951.00 kB 07 3,050.50 kB 363,692.00 kB 08 276,038.00 kB 523,702.00 kB 09 1,061.50 kB 424,389.50 kB 10 1,593.50 kB 344,035.50 kB 11 868.50 kB 278,869.00 kB 12 9,840.50 kB 227,721.50 kB 13 1,469.00 kB 184,742.00 kB 14 1,350.50 kB 149,900.00 kB 15 1,925.00 kB 128,063.00 kB 16 1,617.50 kB 109,731.00 kB 17 10,942.00 kB 90,121.50 kB 18 1,471.00 kB 74,126.50 kB 19 1,684.50 kB 60,341.00 kB 20 1,445.50 kB 49,175.50 kB 21 1,963.00 kB 38,332.33 kB 22 1,558.00 kB 31,235.00 kB 23 1,529.50 kB 26,931.00 kB -
Temporary Files
Size of temporary files
Key values
- 15.00 GiB Temp Files size Peak
- 2024-05-29 20:50:56 Date
Number of temporary files
Key values
- 18 per second Temp Files Peak
- 2024-05-30 03:19:19 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size May 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 May 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 6 5.82 GiB 993.56 MiB 15 0 0 0 16 240 2.14 GiB 9.11 MiB 17 566 22.61 GiB 40.90 MiB 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 29 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 202 17.69 GiB 89.69 MiB 09 0 0 0 10 0 0 0 11 0 0 0 12 115 5.11 GiB 45.54 MiB 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 25 24.05 GiB 985.17 MiB 20 117 114.24 GiB 999.81 MiB 21 260 102.41 GiB 403.32 MiB 22 175 15.77 GiB 92.27 MiB 23 166 30.62 GiB 188.92 MiB May 30 00 0 0 0 01 0 0 0 02 0 0 0 03 978 150.01 GiB 157.06 MiB 04 0 0 0 05 0 0 0 06 8 7.78 GiB 996.28 MiB 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 40 39.66 GiB 1015.23 MiB 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 31 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 1,193 66.07 GiB 8.00 KiB 1.00 GiB 56.71 MiB select * from pgbulkload.pg_bulkload (?);-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2024-05-29 21:01:40 Duration: 6m27s Database: ctdprd51 User: load Application: pg_bulkload
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2024-05-29 21:29:17 Duration: 5m23s
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2024-05-28 17:05:46 Duration: 3m48s
2 896 147.35 GiB 128.00 KiB 1.00 GiB 168.40 MiB vacuum full analyze;-
VACUUM FULL ANALYZE;
Date: 2024-05-30 03:58:57 Duration: 46m7s
-
VACUUM FULL ANALYZE;
Date: 2024-05-30 03:20:22 Duration: 0ms
3 65 64.04 GiB 37.40 MiB 1.00 GiB 1008.82 MiB select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub1.object_type where cd = ?), ( select current_date) from pub1.gene_chem_reference gcr, pub1.gene_go_annot gga, pub1.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in;-
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub1.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub1.GENE_CHEM_REFERENCE gcr, pub1.GENE_GO_ANNOT gga, pub1.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in;
Date: 2024-05-29 20:50:55 Duration: 0ms
4 62 1.97 GiB 6.77 MiB 1.00 GiB 32.54 MiB cluster pub1.term;-
CLUSTER pub1.TERM;
Date: 2024-05-30 03:12:12 Duration: 1m
-
CLUSTER pub1.TERM;
Date: 2024-05-30 03:11:22 Duration: 0ms
5 46 45.12 GiB 120.14 MiB 1.00 GiB 1004.35 MiB select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub1.object_type where cd = ?), ptr.term_id, ( select id from pub1.object_type where cd = ?), ( select current_date) from pub1.gene_chem_reference gcr, pub1.phenotype_term_reference ptr, pub1.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in;-
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub1.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub1.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub1.GENE_CHEM_REFERENCE gcr, pub1.PHENOTYPE_TERM_REFERENCE ptr, pub1.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in;
Date: 2024-05-29 20:11:02 Duration: 0ms
6 35 3.46 GiB 52.74 MiB 133.49 MiB 101.32 MiB vacuum full analyze db_link;-
vacuum FULL analyze db_link;
Date: 2024-05-29 12:16:47 Duration: 1m32s
-
vacuum FULL analyze db_link;
Date: 2024-05-29 12:15:32 Duration: 0ms
7 35 1.09 GiB 23.73 MiB 47.56 MiB 31.93 MiB vacuum full analyze ixn_actor;-
vacuum FULL analyze ixn_actor;
Date: 2024-05-29 12:14:38 Duration: 22s790ms
-
vacuum FULL analyze ixn_actor;
Date: 2024-05-29 12:14:21 Duration: 0ms
8 25 358.81 MiB 10.45 MiB 18.96 MiB 14.35 MiB vacuum full analyze ixn;-
vacuum FULL analyze ixn;
Date: 2024-05-29 12:14:57 Duration: 7s356ms
-
vacuum FULL analyze ixn;
Date: 2024-05-29 12:14:52 Duration: 0ms
9 25 15.57 GiB 8.00 KiB 1.00 GiB 637.91 MiB alter table pub1.term_enrichment_agent add constraint term_enrichment_agent_pk primary key (term_id, enriched_term_id, agent_term_id);-
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2024-05-29 23:32:10 Duration: 2m52s
-
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2024-05-29 23:32:09 Duration: 0ms
10 25 24.05 GiB 53.20 MiB 1.00 GiB 985.17 MiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, to_char(cdr.mod_tm, ?) from pub1.gene_chem_reference gcr, pub1.chem_disease_reference cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = ? and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;-
select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;
Date: 2024-05-29 19:28:32 Duration: 0ms
11 20 12.18 GiB 8.00 KiB 1.00 GiB 623.85 MiB create unique index gene_disease_reference_ak1 on pub1.gene_disease_reference using btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);-
CREATE UNIQUE INDEX gene_disease_reference_ak1 ON pub1.gene_disease_reference USING btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);
Date: 2024-05-29 21:05:51 Duration: 3m
-
CREATE UNIQUE INDEX gene_disease_reference_ak1 ON pub1.gene_disease_reference USING btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);
Date: 2024-05-29 21:05:50 Duration: 0ms Database: ctdprd51 User: pub1
12 20 214.87 MiB 6.12 MiB 17.12 MiB 10.74 MiB vacuum full analyze term;-
vacuum FULL analyze TERM;
Date: 2024-05-29 12:14:51 Duration: 9s546ms
-
vacuum FULL analyze TERM;
Date: 2024-05-29 12:14:43 Duration: 0ms Database: ctdprd51 User: load Application: pgAdmin 4 - CONN:6440632
13 20 700.86 MiB 20.55 MiB 57.66 MiB 35.04 MiB cluster pub1.term_label;-
CLUSTER pub1.TERM_LABEL;
Date: 2024-05-30 03:12:48 Duration: 35s328ms
-
CLUSTER pub1.TERM_LABEL;
Date: 2024-05-30 03:12:18 Duration: 0ms
14 15 6.77 GiB 8.00 KiB 1.00 GiB 462.11 MiB alter table pub1.gene_disease_reference add constraint gene_disease_reference_pk primary key (id);-
ALTER TABLE pub1.gene_disease_reference ADD CONSTRAINT gene_disease_reference_pk PRIMARY KEY (id);
Date: 2024-05-29 21:19:50 Duration: 1m4s
-
ALTER TABLE pub1.gene_disease_reference ADD CONSTRAINT gene_disease_reference_pk PRIMARY KEY (id);
Date: 2024-05-29 21:19:50 Duration: 0ms
15 15 11.12 GiB 202.72 MiB 1.00 GiB 759.41 MiB create index ix_term_enrich_agent_enr_term on pub1.term_enrichment_agent using btree (enriched_term_id);-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);
Date: 2024-05-29 23:29:17 Duration: 1m45s
-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);
Date: 2024-05-29 23:29:17 Duration: 0ms
16 10 6.77 GiB 300.84 MiB 1.00 GiB 693.16 MiB create index ix_gene_disease_ref_chem on pub1.gene_disease_reference using btree (via_chem_id);-
CREATE INDEX ix_gene_disease_ref_chem ON pub1.gene_disease_reference USING btree (via_chem_id);
Date: 2024-05-29 21:09:05 Duration: 1m26s
-
CREATE INDEX ix_gene_disease_ref_chem ON pub1.gene_disease_reference USING btree (via_chem_id);
Date: 2024-05-29 21:09:05 Duration: 0ms
17 10 6.77 GiB 322.07 MiB 1.00 GiB 693.16 MiB create index ix_gene_disease_ref_net_sc on pub1.gene_disease_reference using btree (network_score);-
CREATE INDEX ix_gene_disease_ref_net_sc ON pub1.gene_disease_reference USING btree (network_score);
Date: 2024-05-29 21:18:45 Duration: 2m23s
-
CREATE INDEX ix_gene_disease_ref_net_sc ON pub1.gene_disease_reference USING btree (network_score);
Date: 2024-05-29 21:18:45 Duration: 0ms
18 10 62.48 MiB 8.00 KiB 13.04 MiB 6.25 MiB alter table pub1.phenotype_term add constraint phenotype_term_pk primary key (phenotype_id, term_id);-
ALTER TABLE pub1.phenotype_term ADD CONSTRAINT phenotype_term_pk PRIMARY KEY (phenotype_id, term_id);
Date: 2024-05-29 23:46:21 Duration: 0ms
19 10 239.68 MiB 8.00 KiB 49.95 MiB 23.97 MiB alter table pub1.chem_disease_reference add constraint chem_disease_reference_pk primary key (id);-
ALTER TABLE pub1.chem_disease_reference ADD CONSTRAINT chem_disease_reference_pk PRIMARY KEY (id);
Date: 2024-05-29 21:21:52 Duration: 2s478ms
-
ALTER TABLE pub1.chem_disease_reference ADD CONSTRAINT chem_disease_reference_pk PRIMARY KEY (id);
Date: 2024-05-29 21:21:52 Duration: 0ms
20 10 6.77 GiB 297.42 MiB 1.00 GiB 693.16 MiB create index ix_gene_disease_ref_mod_tm on pub1.gene_disease_reference using btree (mod_tm);-
CREATE INDEX ix_gene_disease_ref_mod_tm ON pub1.gene_disease_reference USING btree (mod_tm);
Date: 2024-05-29 21:16:21 Duration: 1m21s
-
CREATE INDEX ix_gene_disease_ref_mod_tm ON pub1.gene_disease_reference USING btree (mod_tm);
Date: 2024-05-29 21:16:21 Duration: 0ms
21 10 6.77 GiB 276.34 MiB 1.00 GiB 693.16 MiB create index ix_gene_disease_ref_src_db on pub1.gene_disease_reference using btree (source_acc_db_id);-
CREATE INDEX ix_gene_disease_ref_src_db ON pub1.gene_disease_reference USING btree (source_acc_db_id);
Date: 2024-05-29 21:06:40 Duration: 49s127ms
-
CREATE INDEX ix_gene_disease_ref_src_db ON pub1.gene_disease_reference USING btree (source_acc_db_id);
Date: 2024-05-29 21:06:40 Duration: 0ms
22 10 436.70 MiB 8.00 KiB 89.99 MiB 43.67 MiB create unique index chem_disease_reference_ak1 on pub1.chem_disease_reference using btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);-
CREATE UNIQUE INDEX chem_disease_reference_ak1 ON pub1.chem_disease_reference USING btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);
Date: 2024-05-29 21:21:59 Duration: 6s675ms
-
CREATE UNIQUE INDEX chem_disease_reference_ak1 ON pub1.chem_disease_reference USING btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);
Date: 2024-05-29 21:21:59 Duration: 0ms
23 10 6.77 GiB 298.69 MiB 1.00 GiB 693.16 MiB create index ix_gene_disease_reference_ixn on pub1.gene_disease_reference using btree (ixn_id);-
CREATE INDEX ix_gene_disease_reference_ixn ON pub1.gene_disease_reference USING btree (ixn_id);
Date: 2024-05-29 21:15:00 Duration: 1m22s
-
CREATE INDEX ix_gene_disease_reference_ixn ON pub1.gene_disease_reference USING btree (ixn_id);
Date: 2024-05-29 21:14:59 Duration: 0ms
24 10 6.77 GiB 285.03 MiB 1.00 GiB 693.16 MiB create index ix_gene_disease_ref_disease on pub1.gene_disease_reference using btree (disease_id);-
CREATE INDEX ix_gene_disease_ref_disease ON pub1.gene_disease_reference USING btree (disease_id);
Date: 2024-05-29 21:10:29 Duration: 1m23s
-
CREATE INDEX ix_gene_disease_ref_disease ON pub1.gene_disease_reference USING btree (disease_id);
Date: 2024-05-29 21:10:29 Duration: 0ms
25 10 6.77 GiB 174.77 MiB 1.00 GiB 693.16 MiB create index ix_gene_disease_ref_source_cd on pub1.gene_disease_reference using btree (source_cd);-
CREATE INDEX ix_gene_disease_ref_source_cd ON pub1.gene_disease_reference USING btree (source_cd);
Date: 2024-05-29 21:07:39 Duration: 58s495ms
-
CREATE INDEX ix_gene_disease_ref_source_cd ON pub1.gene_disease_reference USING btree (source_cd);
Date: 2024-05-29 21:07:38 Duration: 0ms
26 10 155.76 MiB 8.00 KiB 33.75 MiB 15.58 MiB alter table pub1.term_enrichment add constraint term_enrichment_pk primary key (term_id, enriched_term_id);-
ALTER TABLE pub1.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2024-05-29 23:15:15 Duration: 1s990ms
-
ALTER TABLE pub1.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2024-05-29 23:15:15 Duration: 0ms
27 10 6.77 GiB 278.23 MiB 1.00 GiB 693.16 MiB create index ix_gene_disease_ref_dis_gene on pub1.gene_disease_reference using btree (disease_id, gene_id);-
CREATE INDEX ix_gene_disease_ref_dis_gene ON pub1.gene_disease_reference USING btree (disease_id, gene_id);
Date: 2024-05-29 21:13:37 Duration: 1m49s
-
CREATE INDEX ix_gene_disease_ref_dis_gene ON pub1.gene_disease_reference USING btree (disease_id, gene_id);
Date: 2024-05-29 21:13:37 Duration: 0ms
28 10 6.77 GiB 326.88 MiB 1.00 GiB 693.16 MiB create index ix_gene_disease_ref_reference on pub1.gene_disease_reference using btree (reference_id);-
CREATE INDEX ix_gene_disease_ref_reference ON pub1.gene_disease_reference USING btree (reference_id);
Date: 2024-05-29 21:11:48 Duration: 1m18s
-
CREATE INDEX ix_gene_disease_ref_reference ON pub1.gene_disease_reference USING btree (reference_id);
Date: 2024-05-29 21:11:47 Duration: 0ms
29 10 624.20 MiB 8.00 KiB 126.51 MiB 62.42 MiB alter table pub1.gene_disease add constraint gene_disease_pk primary key (gene_id, disease_id);-
ALTER TABLE pub1.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2024-05-29 23:46:19 Duration: 7s116ms
-
ALTER TABLE pub1.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2024-05-29 23:46:18 Duration: 0ms
30 10 1001.67 MiB 8.00 KiB 207.09 MiB 100.17 MiB alter table pub1.phenotype_term_reference add constraint phenotype_term_reference_pk primary key (id);-
ALTER TABLE pub1.phenotype_term_reference ADD CONSTRAINT phenotype_term_reference_pk PRIMARY KEY (id);
Date: 2024-05-29 21:21:50 Duration: 10s752ms
-
ALTER TABLE pub1.phenotype_term_reference ADD CONSTRAINT phenotype_term_reference_pk PRIMARY KEY (id);
Date: 2024-05-29 21:21:49 Duration: 0ms
31 8 63.19 MiB 8.00 KiB 16.02 MiB 7.90 MiB alter table pub1.chem_disease add constraint chem_disease_pk primary key (chem_id, disease_id);-
ALTER TABLE pub1.chem_disease ADD CONSTRAINT chem_disease_pk PRIMARY KEY (chem_id, disease_id);
Date: 2024-05-29 23:46:24 Duration: 0ms
32 8 7.78 GiB 802.20 MiB 1.00 GiB 996.28 MiB select pub1.maint_cached_value_refresh_data_metrics ();-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2024-05-30 06:38:45 Duration: 33m23s
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2024-05-30 06:34:36 Duration: 0ms
33 6 5.82 GiB 841.38 MiB 1.00 GiB 993.56 MiB select distinct ;-
select distinct ;
Date: 2024-05-28 14:32:59 Duration: 0ms
34 6 5.08 GiB 83.89 MiB 1.00 GiB 867.32 MiB select distinct ptr.phenotype_id, cdr.disease_id, ( select id from pub1.object_type where cd = ?), cdr.reference_id, ptr.reference_id, cdr.ixn_id, cdr.chem_id, ( select id from pub1.object_type where cd = ?), cdr.mod_tm from pub1.chem_disease_reference cdr, pub1.phenotype_term_reference ptr where cdr.chem_id = ptr.term_id;-
SELECT DISTINCT ptr.phenotype_id, cdr.disease_id, ( select id from pub1.OBJECT_TYPE where cd = 'disease'), cdr.reference_id, ptr.reference_id, cdr.ixn_id, cdr.chem_id, ( select id from pub1.OBJECT_TYPE where cd = 'chem'), cdr.mod_tm FROM pub1.CHEM_DISEASE_REFERENCE cdr, pub1.PHENOTYPE_TERM_REFERENCE ptr WHERE cdr.chem_id = ptr.term_id;
Date: 2024-05-29 20:54:22 Duration: 0ms
35 5 1001.63 MiB 194.12 MiB 210.35 MiB 200.33 MiB create index ix_phenotype_term_ref_object_type_id on pub1.phenotype_term_reference using btree (term_object_type_id);-
CREATE INDEX ix_phenotype_term_ref_object_type_id ON pub1.phenotype_term_reference USING btree (term_object_type_id);
Date: 2024-05-29 21:20:19 Duration: 8s517ms
-
CREATE INDEX ix_phenotype_term_ref_object_type_id ON pub1.phenotype_term_reference USING btree (term_object_type_id);
Date: 2024-05-29 21:20:19 Duration: 0ms
36 5 1001.63 MiB 186.32 MiB 208.44 MiB 200.33 MiB create index ix_phenotype_term_ref_via_term_id on pub1.phenotype_term_reference using btree (via_term_id);-
CREATE INDEX ix_phenotype_term_ref_via_term_id ON pub1.phenotype_term_reference USING btree (via_term_id);
Date: 2024-05-29 21:21:25 Duration: 11s708ms
-
CREATE INDEX ix_phenotype_term_ref_via_term_id ON pub1.phenotype_term_reference USING btree (via_term_id);
Date: 2024-05-29 21:21:25 Duration: 0ms
37 5 217.41 MiB 41.73 MiB 44.73 MiB 43.48 MiB create index ix_term_enrich_raw_p_val on pub1.term_enrichment using btree (raw_p_val);-
CREATE INDEX ix_term_enrich_raw_p_val ON pub1.term_enrichment USING btree (raw_p_val);
Date: 2024-05-29 23:15:13 Duration: 4s802ms
-
CREATE INDEX ix_term_enrich_raw_p_val ON pub1.term_enrichment USING btree (raw_p_val);
Date: 2024-05-29 23:15:13 Duration: 0ms
38 5 1001.64 MiB 196.02 MiB 204.42 MiB 200.33 MiB create index ix_phenotype_term_ref_taxon_id on pub1.phenotype_term_reference using btree (taxon_id);-
CREATE INDEX ix_phenotype_term_ref_taxon_id ON pub1.phenotype_term_reference USING btree (taxon_id);
Date: 2024-05-29 21:20:36 Duration: 7s169ms
-
CREATE INDEX ix_phenotype_term_ref_taxon_id ON pub1.phenotype_term_reference USING btree (taxon_id);
Date: 2024-05-29 21:20:36 Duration: 0ms
39 5 624.02 MiB 123.69 MiB 126.41 MiB 124.80 MiB create index ix_gene_disease_ind_chem_qty on pub1.gene_disease using btree (indirect_chem_qty) where (indirect_chem_qty > ?);-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub1.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2024-05-29 23:46:11 Duration: 7s59ms
-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub1.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2024-05-29 23:46:11 Duration: 0ms
40 5 1001.63 MiB 193.17 MiB 207.95 MiB 200.33 MiB create index ix_phenotype_term_reference_ixn_id on pub1.phenotype_term_reference using btree (ixn_id);-
CREATE INDEX ix_phenotype_term_reference_ixn_id ON pub1.phenotype_term_reference USING btree (ixn_id);
Date: 2024-05-29 21:21:14 Duration: 10s335ms
-
CREATE INDEX ix_phenotype_term_reference_ixn_id ON pub1.phenotype_term_reference USING btree (ixn_id);
Date: 2024-05-29 21:21:14 Duration: 0ms
41 5 239.64 MiB 47.01 MiB 48.77 MiB 47.93 MiB create index ix_chem_disease_ref_source_cd on pub1.chem_disease_reference using btree (source_cd);-
CREATE INDEX ix_chem_disease_ref_source_cd ON pub1.chem_disease_reference USING btree (source_cd);
Date: 2024-05-29 21:22:07 Duration: 1s948ms
-
CREATE INDEX ix_chem_disease_ref_source_cd ON pub1.chem_disease_reference USING btree (source_cd);
Date: 2024-05-29 21:22:07 Duration: 0ms
42 5 155.71 MiB 30.23 MiB 32.38 MiB 31.14 MiB create index ix_term_enrich_obj_type on pub1.term_enrichment using btree (object_type_id);-
CREATE INDEX ix_term_enrich_obj_type ON pub1.term_enrichment USING btree (object_type_id);
Date: 2024-05-29 23:15:01 Duration: 1s304ms
-
CREATE INDEX ix_term_enrich_obj_type ON pub1.term_enrichment USING btree (object_type_id);
Date: 2024-05-29 23:15:01 Duration: 0ms Database: ctdprd51 User: pub1
43 5 239.63 MiB 45.38 MiB 49.62 MiB 47.93 MiB create index ix_chem_disease_reference_ixn on pub1.chem_disease_reference using btree (ixn_id);-
CREATE INDEX ix_chem_disease_reference_ixn ON pub1.chem_disease_reference USING btree (ixn_id);
Date: 2024-05-29 21:22:14 Duration: 2s835ms
-
CREATE INDEX ix_chem_disease_reference_ixn ON pub1.chem_disease_reference USING btree (ixn_id);
Date: 2024-05-29 21:22:14 Duration: 0ms
44 5 62.45 MiB 9.55 MiB 14.55 MiB 12.49 MiB create index ix_phenotype_term_term_id on pub1.phenotype_term using btree (term_id);-
CREATE INDEX ix_phenotype_term_term_id ON pub1.phenotype_term USING btree (term_id);
Date: 2024-05-29 23:46:20 Duration: 0ms
45 5 239.64 MiB 46.64 MiB 50.81 MiB 47.93 MiB create index ix_chem_disease_reference_ref on pub1.chem_disease_reference using btree (reference_id);-
CREATE INDEX ix_chem_disease_reference_ref ON pub1.chem_disease_reference USING btree (reference_id);
Date: 2024-05-29 21:22:05 Duration: 2s866ms
-
CREATE INDEX ix_chem_disease_reference_ref ON pub1.chem_disease_reference USING btree (reference_id);
Date: 2024-05-29 21:22:05 Duration: 0ms
46 5 1001.64 MiB 192.80 MiB 204.91 MiB 200.33 MiB create index ix_phenotype_term_reference_source_acc_db_id on pub1.phenotype_term_reference using btree (source_acc_db_id);-
CREATE INDEX ix_phenotype_term_reference_source_acc_db_id ON pub1.phenotype_term_reference USING btree (source_acc_db_id);
Date: 2024-05-29 21:20:53 Duration: 7s373ms
-
CREATE INDEX ix_phenotype_term_reference_source_acc_db_id ON pub1.phenotype_term_reference USING btree (source_acc_db_id);
Date: 2024-05-29 21:20:53 Duration: 0ms
47 5 239.63 MiB 43.46 MiB 50.79 MiB 47.93 MiB create index ix_chem_disease_ref_net_sc on pub1.chem_disease_reference using btree (network_score);-
CREATE INDEX ix_chem_disease_ref_net_sc ON pub1.chem_disease_reference USING btree (network_score);
Date: 2024-05-29 21:22:22 Duration: 5s122ms
-
CREATE INDEX ix_chem_disease_ref_net_sc ON pub1.chem_disease_reference USING btree (network_score);
Date: 2024-05-29 21:22:22 Duration: 0ms
48 5 40.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_gene_disease_exp_ref_qty on pub1.gene_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_gene_disease_exp_ref_qty ON pub1.gene_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2024-05-29 23:46:12 Duration: 0ms
49 5 217.43 MiB 39.38 MiB 46.75 MiB 43.49 MiB create index ix_term_enrich_corr_p_val on pub1.term_enrichment using btree (corrected_p_val);-
CREATE INDEX ix_term_enrich_corr_p_val ON pub1.term_enrichment USING btree (corrected_p_val);
Date: 2024-05-29 23:15:08 Duration: 4s663ms
-
CREATE INDEX ix_term_enrich_corr_p_val ON pub1.term_enrichment USING btree (corrected_p_val);
Date: 2024-05-29 23:15:08 Duration: 0ms
50 5 62.44 MiB 10.91 MiB 13.57 MiB 12.49 MiB create index ix_phenotype_term_phenotype_id on pub1.phenotype_term using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_phenotype_id ON pub1.phenotype_term USING btree (phenotype_id);
Date: 2024-05-29 23:46:20 Duration: 0ms
51 5 155.72 MiB 27.27 MiB 33.35 MiB 31.14 MiB create index ix_term_enrich_tgt_match on pub1.term_enrichment using btree (target_match_qty);-
CREATE INDEX ix_term_enrich_tgt_match ON pub1.term_enrichment USING btree (target_match_qty);
Date: 2024-05-29 23:15:02 Duration: 1s860ms
-
CREATE INDEX ix_term_enrich_tgt_match ON pub1.term_enrichment USING btree (target_match_qty);
Date: 2024-05-29 23:15:02 Duration: 0ms
52 5 1001.63 MiB 197.06 MiB 202.52 MiB 200.33 MiB create index ix_phenotype_term_ref_evidence_cd on pub1.phenotype_term_reference using btree (evidence_cd);-
CREATE INDEX ix_phenotype_term_ref_evidence_cd ON pub1.phenotype_term_reference USING btree (evidence_cd);
Date: 2024-05-29 21:20:45 Duration: 8s890ms
-
CREATE INDEX ix_phenotype_term_ref_evidence_cd ON pub1.phenotype_term_reference USING btree (evidence_cd);
Date: 2024-05-29 21:20:45 Duration: 0ms
53 5 1001.64 MiB 193.22 MiB 209.36 MiB 200.33 MiB create index ix_phenotype_term_reference_term_reference_id on pub1.phenotype_term_reference using btree (term_reference_id);-
CREATE INDEX ix_phenotype_term_reference_term_reference_id ON pub1.phenotype_term_reference USING btree (term_reference_id);
Date: 2024-05-29 21:21:03 Duration: 10s566ms
-
CREATE INDEX ix_phenotype_term_reference_term_reference_id ON pub1.phenotype_term_reference USING btree (term_reference_id);
Date: 2024-05-29 21:21:03 Duration: 0ms
54 5 624.16 MiB 121.12 MiB 130.45 MiB 124.83 MiB create index ix_gene_disease_disease on pub1.gene_disease using btree (disease_id);-
CREATE INDEX ix_gene_disease_disease ON pub1.gene_disease USING btree (disease_id);
Date: 2024-05-29 23:46:03 Duration: 6s882ms
-
CREATE INDEX ix_gene_disease_disease ON pub1.gene_disease USING btree (disease_id);
Date: 2024-05-29 23:46:03 Duration: 0ms
55 5 1.37 GiB 260.72 MiB 300.95 MiB 281.14 MiB create index ix_phenotype_term_ref_ids on pub1.phenotype_term_reference using btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);-
CREATE INDEX ix_phenotype_term_ref_ids ON pub1.phenotype_term_reference USING btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);
Date: 2024-05-29 21:21:39 Duration: 13s805ms
-
CREATE INDEX ix_phenotype_term_ref_ids ON pub1.phenotype_term_reference USING btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);
Date: 2024-05-29 21:21:39 Duration: 0ms
56 5 1001.64 MiB 182.41 MiB 212.80 MiB 200.33 MiB create index ix_phenotype_term_ref_reference_id on pub1.phenotype_term_reference using btree (reference_id);-
CREATE INDEX ix_phenotype_term_ref_reference_id ON pub1.phenotype_term_reference USING btree (reference_id);
Date: 2024-05-29 21:20:29 Duration: 10s637ms
-
CREATE INDEX ix_phenotype_term_ref_reference_id ON pub1.phenotype_term_reference USING btree (reference_id);
Date: 2024-05-29 21:20:29 Duration: 0ms
57 5 1001.63 MiB 172.98 MiB 215.42 MiB 200.33 MiB create index ix_phenotype_term_ref_term_id on pub1.phenotype_term_reference using btree (term_id);-
CREATE INDEX ix_phenotype_term_ref_term_id ON pub1.phenotype_term_reference USING btree (term_id);
Date: 2024-05-29 21:20:10 Duration: 9s642ms
-
CREATE INDEX ix_phenotype_term_ref_term_id ON pub1.phenotype_term_reference USING btree (term_id);
Date: 2024-05-29 21:20:10 Duration: 0ms
58 5 155.72 MiB 28.72 MiB 32.93 MiB 31.14 MiB create index ix_term_enrich_enr_obj_type on pub1.term_enrichment using btree (enriched_object_type_id);-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub1.term_enrichment USING btree (enriched_object_type_id);
Date: 2024-05-29 23:15:04 Duration: 1s152ms
-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub1.term_enrichment USING btree (enriched_object_type_id);
Date: 2024-05-29 23:15:04 Duration: 0ms
59 5 239.63 MiB 43.34 MiB 50.90 MiB 47.93 MiB create index ix_chem_disease_reference_gene on pub1.chem_disease_reference using btree (via_gene_id);-
CREATE INDEX ix_chem_disease_reference_gene ON pub1.chem_disease_reference USING btree (via_gene_id);
Date: 2024-05-29 21:22:11 Duration: 2s734ms
-
CREATE INDEX ix_chem_disease_reference_gene ON pub1.chem_disease_reference USING btree (via_gene_id);
Date: 2024-05-29 21:22:11 Duration: 0ms
60 5 688.00 KiB 128.00 KiB 144.00 KiB 137.60 KiB create index ix_gene_disease_cur_ref_qty on pub1.gene_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_gene_disease_cur_ref_qty ON pub1.gene_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2024-05-29 23:46:04 Duration: 0ms
61 5 239.63 MiB 45.50 MiB 50.15 MiB 47.93 MiB create index ix_chem_disease_reference_dis on pub1.chem_disease_reference using btree (disease_id);-
CREATE INDEX ix_chem_disease_reference_dis ON pub1.chem_disease_reference USING btree (disease_id);
Date: 2024-05-29 21:22:02 Duration: 2s748ms
-
CREATE INDEX ix_chem_disease_reference_dis ON pub1.chem_disease_reference USING btree (disease_id);
Date: 2024-05-29 21:22:02 Duration: 0ms
62 5 239.64 MiB 46.24 MiB 49.45 MiB 47.93 MiB create index ix_chem_disease_ref_mod_tm on pub1.chem_disease_reference using btree (mod_tm);-
CREATE INDEX ix_chem_disease_ref_mod_tm ON pub1.chem_disease_reference USING btree (mod_tm);
Date: 2024-05-29 21:22:17 Duration: 2s725ms
-
CREATE INDEX ix_chem_disease_ref_mod_tm ON pub1.chem_disease_reference USING btree (mod_tm);
Date: 2024-05-29 21:22:17 Duration: 0ms
63 5 1001.63 MiB 185.91 MiB 217.50 MiB 200.33 MiB create index ixn_phenotype_term_ref_phenotype_id on pub1.phenotype_term_reference using btree (phenotype_id);-
CREATE INDEX ixn_phenotype_term_ref_phenotype_id ON pub1.phenotype_term_reference USING btree (phenotype_id);
Date: 2024-05-29 21:20:00 Duration: 10s235ms
-
CREATE INDEX ixn_phenotype_term_ref_phenotype_id ON pub1.phenotype_term_reference USING btree (phenotype_id);
Date: 2024-05-29 21:20:00 Duration: 0ms
64 5 624.16 MiB 121.71 MiB 126.78 MiB 124.83 MiB create index ix_gene_disease_network_score on pub1.gene_disease using btree (network_score);-
CREATE INDEX ix_gene_disease_network_score ON pub1.gene_disease USING btree (network_score);
Date: 2024-05-29 23:45:57 Duration: 14s600ms
-
CREATE INDEX ix_gene_disease_network_score ON pub1.gene_disease USING btree (network_score);
Date: 2024-05-29 23:45:56 Duration: 0ms Database: ctdprd51 User: pub1
65 5 239.64 MiB 46.75 MiB 49.25 MiB 47.93 MiB create index ix_chem_disease_ref_src_db on pub1.chem_disease_reference using btree (source_acc_db_id);-
CREATE INDEX ix_chem_disease_ref_src_db ON pub1.chem_disease_reference USING btree (source_acc_db_id);
Date: 2024-05-29 21:22:09 Duration: 1s915ms
-
CREATE INDEX ix_chem_disease_ref_src_db ON pub1.chem_disease_reference USING btree (source_acc_db_id);
Date: 2024-05-29 21:22:09 Duration: 0ms
66 4 62.27 MiB 15.05 MiB 15.88 MiB 15.57 MiB create index ix_chem_disease_ind_gene_qty on pub1.chem_disease using btree (indirect_gene_qty) where (indirect_gene_qty > ?);-
CREATE INDEX ix_chem_disease_ind_gene_qty ON pub1.chem_disease USING btree (indirect_gene_qty) WHERE (indirect_gene_qty > 0);
Date: 2024-05-29 23:46:23 Duration: 0ms
67 4 32.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_chem_disease_exp_ref_qty on pub1.chem_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_chem_disease_exp_ref_qty ON pub1.chem_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2024-05-29 23:46:23 Duration: 0ms
68 4 63.15 MiB 13.29 MiB 17.63 MiB 15.79 MiB create index ix_chem_disease_network_score on pub1.chem_disease using btree (network_score);-
CREATE INDEX ix_chem_disease_network_score ON pub1.chem_disease USING btree (network_score);
Date: 2024-05-29 23:46:25 Duration: 1s481ms
-
CREATE INDEX ix_chem_disease_network_score ON pub1.chem_disease USING btree (network_score);
Date: 2024-05-29 23:46:25 Duration: 0ms
69 4 1.98 MiB 424.00 KiB 544.00 KiB 506.00 KiB create index ix_chem_disease_cur_ref_qty on pub1.chem_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_chem_disease_cur_ref_qty ON pub1.chem_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2024-05-29 23:46:22 Duration: 0ms
70 4 13.08 MiB 8.00 KiB 7.38 MiB 3.27 MiB alter table pub1.phenotype_term_axn add constraint phenotype_term_axn_pk primary key (phenotype_id, term_id, action_type_nm, action_degree_type_nm);-
ALTER TABLE pub1.phenotype_term_axn ADD CONSTRAINT phenotype_term_axn_pk PRIMARY KEY (phenotype_id, term_id, action_type_nm, action_degree_type_nm);
Date: 2024-05-29 23:46:22 Duration: 0ms
71 4 63.15 MiB 14.26 MiB 18.09 MiB 15.79 MiB create index ix_chem_disease_disease on pub1.chem_disease using btree (disease_id);-
CREATE INDEX ix_chem_disease_disease ON pub1.chem_disease USING btree (disease_id);
Date: 2024-05-29 23:46:26 Duration: 0ms
72 2 5.92 MiB 2.47 MiB 3.45 MiB 2.96 MiB create index ix_phenotype_term_axn_term_id on pub1.phenotype_term_axn using btree (term_id);-
CREATE INDEX ix_phenotype_term_axn_term_id ON pub1.phenotype_term_axn USING btree (term_id);
Date: 2024-05-29 23:46:22 Duration: 0ms
73 2 5.93 MiB 2.87 MiB 3.06 MiB 2.96 MiB create index ix_phenotype_term_axn_phenotype_id on pub1.phenotype_term_axn using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_axn_phenotype_id ON pub1.phenotype_term_axn USING btree (phenotype_id);
Date: 2024-05-29 23:46:22 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB select distinct ;[ Date: 2024-05-28 14:32:59 ]
2 1.00 GiB select distinct ;[ Date: 2024-05-28 14:32:59 ]
3 1.00 GiB select distinct ;[ Date: 2024-05-28 14:32:59 ]
4 1.00 GiB select distinct ;[ Date: 2024-05-28 14:32:59 ]
5 1.00 GiB select distinct ;[ Date: 2024-05-28 14:32:59 ]
6 1.00 GiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2024-05-29 08:13:34 - Database: ctdprd51 - User: load - Application: pg_bulkload ]
7 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
8 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
9 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
10 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
11 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
12 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
13 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
14 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
15 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
16 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
17 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
18 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
19 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
20 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2024-05-29 19:28:32 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 253.49 sec Highest CPU-cost vacuum
Table pub1.gene_disease
Database ctdprd51 - 2024-05-30 00:20:52 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 253.49 sec Highest CPU-cost vacuum
Table pub1.gene_disease
Database ctdprd51 - 2024-05-30 00:20:52 Date
Analyzes per table
Key values
- pubc.log_query (135) Main table analyzed (database ctdprd51)
- 240 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 135 ctdprd51.pg_catalog.pg_class 5 ctdprd51.pub1.term_set_enrichment 4 ctdprd51.pub1.term 4 ctdprd51.pg_catalog.pg_attribute 4 ctdprd51.pub1.reference 3 ctdprd51.pub1.db 2 ctdprd51.pub1.term_set_enrichment_agent 2 ctdprd51.pub2.term_comp_agent 2 ctdprd51.pg_catalog.pg_depend 2 postgres.pg_catalog.pg_shdepend 2 ctdprd51.pub2.term_set_enrichment_agent 2 ctdprd51.pg_catalog.pg_index 2 ctdprd51.pg_catalog.pg_type 2 ctdprd51.pub1.phenotype_term 2 ctdprd51.pub1.term_comp_agent 2 ctdprd51.pub1.dag_node 2 ctdprd51.pub1.gene_gene_reference 1 ctdprd51.edit.geographic_region 1 ctdprd51.pub1.exp_anatomy 1 ctdprd51.edit.db_report 1 ctdprd51.pub1.term_comp 1 ctdprd51.edit.list_db_report 1 ctdprd51.edit.db_report_site 1 ctdprd51.pub1.term_label 1 ctdprd51.pg_catalog.pg_shdepend 1 ctdprd51.pub1.reference_party 1 ctdprd51.pg_catalog.pg_proc 1 ctdprd51.edit.db_link 1 ctdprd51.pub2.term_set_enrichment 1 ctdprd51.edit.country 1 ctdprd51.pub1.gene_go_annot 1 ctdprd51.edit.db 1 ctdprd51.pub1.exp_event_project 1 ctdprd51.pub1.list_db_report 1 ctdprd51.pub1.country 1 ctdprd51.pub1.exp_outcome 1 ctdprd51.edit.action_type_path 1 ctdprd51.pub1.exp_receptor_tobacco_use 1 ctdprd51.pub1.gene_chem_ref_gene_form 1 ctdprd51.pub1.term_pathway 1 ctdprd51.pub1.slim_term_mapping 1 ctdprd51.pub1.chem_disease 1 ctdprd51.pub1.gene_gene_ref_throughput 1 ctdprd51.pub1.db_link 1 ctdprd51.pub1.geographic_region 1 ctdprd51.pg_catalog.pg_attrdef 1 ctdprd51.edit.action_type 1 ctdprd51.edit.action_degree 1 ctdprd51.pub1.reference_party_role 1 ctdprd51.pg_catalog.pg_constraint 1 ctdprd51.pub1.img 1 ctdprd51.pub1.ixn 1 ctdprd51.pub1.exp_receptor_race 1 ctdprd51.pub1.exposure 1 ctdprd51.pub1.dag_edge 1 ctdprd51.pub1.exp_event_location 1 ctdprd51.pub1.db_report 1 ctdprd51.pg_catalog.pg_description 1 ctdprd51.pub1.gene_disease 1 ctdprd51.pub1.exp_receptor 1 ctdprd51.pub1.reference_exp 1 ctdprd51.pub1.exp_event 1 ctdprd51.pub1.db_report_site 1 ctdprd51.pub1.term_reference 1 ctdprd51.pub1.exp_stressor 1 ctdprd51.pub1.gene_gene 1 ctdprd51.pub1.exp_event_assay_method 1 ctdprd51.pub1.exp_stressor_stressor_src 1 ctdprd51.load.data_load 1 ctdprd51.edit.slim_term 1 ctdprd51.pub1.medium 1 ctdprd51.pub1.action_type 1 ctdprd51.pg_catalog.pg_trigger 1 ctdprd51.edit.object_note 1 ctdprd51.pub1.exp_study_factor 1 ctdprd51.pub1.exp_receptor_gender 1 ctdprd51.pub1.gene_taxon 1 ctdprd51.edit.reference_db_link 1 ctdprd51.edit.term_label_type 1 Total 240 Vacuums per table
Key values
- pubc.log_query (37) Main table vacuumed on database ctdprd51
- 121 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 37 27 36,768 0 7,766 0 3,305 12,828 1,902 8,266,458 ctdprd51.pg_catalog.pg_statistic 6 6 3,727 0 552 0 118 1,971 465 2,118,912 ctdprd51.pub1.term 5 3 2,188,082 0 282,300 0 188 1,412,001 470,347 1,978,105,841 ctdprd51.pg_toast.pg_toast_2619 4 4 17,355 0 5,195 0 40,622 14,025 3,482 2,084,407 ctdprd51.pub1.phenotype_term 3 2 1,301,029 0 140,852 0 0 750,320 150,879 337,611,084 ctdprd51.pg_catalog.pg_class 3 3 946 0 127 0 0 493 115 545,458 ctdprd51.pub1.reference 3 2 644,820 0 15 0 0 402,812 50,138 219,964,807 ctdprd51.pg_catalog.pg_attribute 2 2 1,218 0 135 0 139 524 103 431,803 ctdprd51.pub1.dag_node 2 1 399,804 0 583 0 0 312,993 573 94,253,943 ctdprd51.pub1.term_label 2 0 533,545 0 6 0 0 88,926 4 5,276,683 ctdprd51.pub2.term_comp_agent 2 0 460 0 157 0 0 149 4 34,029 ctdprd51.pub1.term_set_enrichment_agent 2 0 12,186 0 525 0 0 6,058 2 374,260 ctdprd51.pub1.term_set_enrichment 2 0 884 0 113 0 0 350 3 43,144 ctdprd51.pub1.exp_outcome 1 0 559 0 3 0 0 221 1 21,458 ctdprd51.pub1.exp_event_project 1 0 2,018 0 4 0 0 987 2 72,116 ctdprd51.pub1.exp_stressor_stressor_src 1 0 2,557 0 5 0 0 1,250 2 86,861 ctdprd51.pub1.gene_go_annot 1 0 506,895 0 253,350 0 0 253,339 9 15,017,671 ctdprd51.pub1.exp_event_assay_method 1 0 4,763 0 4 0 0 2,336 2 150,447 ctdprd51.pub1.gene_gene 1 0 11,761 0 5 0 0 5,853 2 358,794 ctdprd51.pub1.exp_stressor 1 0 5,974 0 3 0 0 2,957 1 182,882 ctdprd51.pub1.term_pathway 1 0 3,331 0 4 0 0 1,614 2 108,881 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 31,501 0 5 0 0 15,700 2 940,491 ctdprd51.pg_catalog.pg_depend 1 1 647 0 88 0 65 308 94 400,694 ctdprd51.pg_catalog.pg_trigger 1 1 374 0 43 0 0 152 41 215,333 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 1,180 0 3 0 0 555 1 41,164 ctdprd51.pub1.db_link 1 0 229,800 0 70,857 0 0 114,781 4 6,805,089 ctdprd51.pub1.exp_receptor_gender 1 0 2,658 0 3 0 0 1,314 1 85,945 ctdprd51.pub1.gene_gene_ref_throughput 1 0 14,266 0 3 0 0 7,093 1 426,906 ctdprd51.pg_toast.pg_toast_486223 1 0 39 0 4 0 0 7 1 8,739 ctdprd51.pub1.term_comp_agent 1 0 175 0 4 0 0 35 2 16,140 ctdprd51.pub1.chem_disease 1 1 261,093 0 9,541 0 0 159,637 9,530 115,415,433 ctdprd51.pub1.exp_study_factor 1 0 79 0 15 0 0 11 2 13,760 ctdprd51.pub1.slim_term_mapping 1 0 634 0 4 0 0 262 2 28,741 ctdprd51.pg_catalog.pg_index 1 1 191 0 22 0 0 113 21 76,528 ctdprd51.pub1.exp_receptor_race 1 0 1,324 0 3 0 0 627 1 45,412 ctdprd51.pub1.img 1 0 1,108 0 5 0 0 524 2 44,207 ctdprd51.pub1.ixn 1 1 1,426,302 0 83 0 0 951,684 17 65,354,915 ctdprd51.edit.reference_db_link 1 0 7,186 0 4 0 0 3,580 1 219,546 ctdprd51.pg_catalog.pg_constraint 1 1 289 0 27 0 0 126 22 87,572 ctdprd51.pg_toast.pg_toast_5273228 1 1 90 0 3 0 0 49 1 11,558 ctdprd51.pub1.gene_taxon 1 0 134,765 0 5 0 0 67,325 3 3,996,988 ctdprd51.pub1.reference_party_role 1 0 13,214 0 4 0 0 6,568 1 395,931 ctdprd51.pub2.term_set_enrichment_agent 1 0 347,058 0 306,355 0 0 326,615 12 19,362,166 ctdprd51.pub1.exp_event_location 1 0 3,399 0 3 0 0 1,648 1 105,651 ctdprd51.pub1.dag_edge 1 0 1,025 0 5 0 0 482 2 39,733 ctdprd51.pub1.exposure 1 0 3,623 0 3 0 0 1,758 1 112,141 ctdprd51.pg_catalog.pg_type 1 1 73 0 46 0 0 71 35 169,038 ctdprd51.edit.db_report 1 1 117 0 3 0 0 14 2 14,288 ctdprd51.pub1.exp_anatomy 1 0 123 0 3 0 0 33 1 10,366 ctdprd51.pub1.gene_gene_reference 1 0 29,697 0 3 0 0 14,789 1 880,970 ctdprd51.pg_catalog.pg_shdepend 1 1 210 0 13 0 0 103 15 52,258 ctdprd51.pub1.db 1 1 146 0 3 0 0 17 1 11,378 ctdprd51.pub1.gene_disease 1 1 2,812,789 0 780,237 0 0 1,578,282 727,597 2,010,443,986 ctdprd51.pub1.term_reference 1 0 36,165 0 4 0 0 18,028 1 1,072,071 ctdprd51.pg_toast.pg_toast_5273297 1 0 86,875 0 4 0 0 43,309 2 2,571,754 ctdprd51.pub2.term_set_enrichment 1 0 11,808 0 5,517 0 0 5,849 2 358,626 ctdprd51.edit.db_link 1 0 7,397 0 3 0 0 3,580 1 219,615 ctdprd51.pub1.reference_exp 1 0 324 0 4 0 0 125 2 22,438 ctdprd51.pub1.exp_event 1 0 12,274 0 3 0 0 6,059 1 365,900 ctdprd51.pub1.reference_party 1 0 5,092 0 4 0 0 2,495 2 162,600 ctdprd51.pub1.exp_receptor 1 0 7,239 0 3 0 0 3,591 1 220,288 Total 121 62 11,171,031 479,723 1,864,646 0 44,437 6,609,306 1,415,468 4,895,936,298 Tuples removed per table
Key values
- pub1.gene_disease (32658852) Main table with removed tuples on database ctdprd51
- 62085061 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pub1.gene_disease 1 1 32,658,852 32,658,852 0 0 480,278 ctdprd51.pub1.phenotype_term 3 2 19,626,212 26,159,512 16,359,562 0 427,905 ctdprd51.pub1.term 5 3 4,601,797 8,419,075 0 0 594,136 ctdprd51.pub1.chem_disease 1 1 3,303,655 3,303,655 0 0 48,534 ctdprd51.pub1.dag_node 2 1 1,709,773 3,405,114 0 0 123,140 ctdprd51.pub1.reference 3 2 67,806 588,958 0 0 199,924 ctdprd51.pub1.ixn 1 1 53,365 2,209,849 0 0 522,092 ctdprd51.pubc.log_query 37 27 38,113 309,440 38,491 0 16,613 ctdprd51.pg_toast.pg_toast_2619 4 4 16,492 82,632 248 0 50,368 ctdprd51.pg_catalog.pg_attribute 2 2 2,808 18,345 0 85 364 ctdprd51.pg_catalog.pg_statistic 6 6 2,594 12,230 55 0 1,740 ctdprd51.pg_catalog.pg_depend 1 1 1,456 13,666 0 0 145 ctdprd51.pg_catalog.pg_shdepend 1 1 627 2,056 0 3 21 ctdprd51.pg_catalog.pg_index 1 1 354 1,153 0 0 41 ctdprd51.pg_catalog.pg_class 3 3 321 5,331 0 0 183 ctdprd51.pg_catalog.pg_constraint 1 1 242 874 0 9 35 ctdprd51.pg_catalog.pg_type 1 1 174 1,151 0 0 35 ctdprd51.pub1.db 1 1 130 130 0 0 6 ctdprd51.pg_catalog.pg_trigger 1 1 129 1,785 0 12 45 ctdprd51.edit.db_report 1 1 91 158 0 0 4 ctdprd51.pg_toast.pg_toast_5273228 1 1 70 69 0 0 21 ctdprd51.pub1.exp_outcome 1 0 0 11,800 0 0 220 ctdprd51.pub1.exp_event_project 1 0 0 94,511 0 0 986 ctdprd51.pub1.exp_stressor_stressor_src 1 0 0 282,121 0 0 1,249 ctdprd51.pub1.gene_go_annot 1 0 0 39,776,068 0 0 253,338 ctdprd51.pub1.exp_event_assay_method 1 0 0 234,296 0 0 2,335 ctdprd51.pub1.gene_gene 1 0 0 1,082,610 0 0 5,852 ctdprd51.pub1.exp_stressor 1 0 0 206,602 0 0 2,956 ctdprd51.pub1.term_pathway 1 0 0 135,792 0 0 1,613 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 0 2,898,239 0 0 15,699 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 0 78,595 0 0 554 ctdprd51.pub1.db_link 1 0 0 15,915,293 0 0 114,780 ctdprd51.pub1.exp_receptor_gender 1 0 0 187,167 0 0 1,313 ctdprd51.pub1.gene_gene_ref_throughput 1 0 0 1,363,981 0 0 7,092 ctdprd51.pg_toast.pg_toast_486223 1 0 0 24 0 0 6 ctdprd51.pub1.term_comp_agent 1 0 0 4,466 0 0 43 ctdprd51.pub1.exp_study_factor 1 0 0 1,613 0 0 10 ctdprd51.pub1.slim_term_mapping 1 0 0 32,795 0 0 261 ctdprd51.pub1.exp_receptor_race 1 0 0 96,500 0 0 626 ctdprd51.pub1.img 1 0 0 50,714 0 0 523 ctdprd51.edit.reference_db_link 1 0 0 321,341 0 0 3,579 ctdprd51.pub1.gene_taxon 1 0 0 10,569,892 0 0 67,324 ctdprd51.pub1.reference_party_role 1 0 0 1,214,752 0 0 6,567 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 146,773,858 0 0 1,667,885 ctdprd51.pub1.exp_event_location 1 0 0 248,044 0 0 1,647 ctdprd51.pub1.dag_edge 1 0 0 88,931 0 0 481 ctdprd51.pub1.exposure 1 0 0 213,457 0 0 1,757 ctdprd51.pub1.exp_anatomy 1 0 0 3,797 0 0 32 ctdprd51.pub1.gene_gene_reference 1 0 0 1,358,371 0 0 14,788 ctdprd51.pub1.term_label 2 0 0 18,135,978 6,045,326 0 266,633 ctdprd51.pub2.term_comp_agent 2 0 0 56,431 0 0 482 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 1,020,119 0 0 11,593 ctdprd51.pub1.term_reference 1 0 0 3,334,856 0 0 18,027 ctdprd51.pg_toast.pg_toast_5273297 1 0 0 234,872 0 0 43,429 ctdprd51.pub2.term_set_enrichment 1 0 0 1,790,364 0 0 29,655 ctdprd51.edit.db_link 1 0 0 321,341 0 0 3,579 ctdprd51.pub1.term_set_enrichment 2 0 0 35,530 0 0 590 ctdprd51.pub1.reference_exp 1 0 0 3,437 0 0 124 ctdprd51.pub1.exp_event 1 0 0 206,466 0 0 6,058 ctdprd51.pub1.reference_party 1 0 0 446,427 0 0 2,494 ctdprd51.pub1.exp_receptor 1 0 0 189,952 0 0 3,590 Total 121 62 62,085,061 326,215,438 22,443,682 109 5,025,400 Pages removed per table
Key values
- pg_catalog.pg_attribute (85) Main table with removed pages on database ctdprd51
- 109 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_catalog.pg_attribute 2 2 2808 85 ctdprd51.pg_catalog.pg_trigger 1 1 129 12 ctdprd51.pg_catalog.pg_constraint 1 1 242 9 ctdprd51.pg_catalog.pg_shdepend 1 1 627 3 ctdprd51.pub1.exp_outcome 1 0 0 0 ctdprd51.pub1.exp_event_project 1 0 0 0 ctdprd51.pub1.term 5 3 4601797 0 ctdprd51.pub1.exp_stressor_stressor_src 1 0 0 0 ctdprd51.pub1.gene_go_annot 1 0 0 0 ctdprd51.pub1.exp_event_assay_method 1 0 0 0 ctdprd51.pub1.gene_gene 1 0 0 0 ctdprd51.pub1.exp_stressor 1 0 0 0 ctdprd51.pub1.term_pathway 1 0 0 0 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 0 0 ctdprd51.pg_catalog.pg_depend 1 1 1456 0 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 0 0 ctdprd51.pub1.db_link 1 0 0 0 ctdprd51.pub1.exp_receptor_gender 1 0 0 0 ctdprd51.pub1.gene_gene_ref_throughput 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pub1.chem_disease 1 1 3303655 0 ctdprd51.pg_toast.pg_toast_2619 4 4 16492 0 ctdprd51.pub1.exp_study_factor 1 0 0 0 ctdprd51.pub1.slim_term_mapping 1 0 0 0 ctdprd51.pub1.phenotype_term 3 2 19626212 0 ctdprd51.pg_catalog.pg_index 1 1 354 0 ctdprd51.pub1.exp_receptor_race 1 0 0 0 ctdprd51.pub1.img 1 0 0 0 ctdprd51.pub1.ixn 1 1 53365 0 ctdprd51.edit.reference_db_link 1 0 0 0 ctdprd51.pub1.dag_node 2 1 1709773 0 ctdprd51.pg_toast.pg_toast_5273228 1 1 70 0 ctdprd51.pub1.gene_taxon 1 0 0 0 ctdprd51.pub1.reference_party_role 1 0 0 0 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 0 ctdprd51.pg_catalog.pg_statistic 6 6 2594 0 ctdprd51.pub1.exp_event_location 1 0 0 0 ctdprd51.pub1.dag_edge 1 0 0 0 ctdprd51.pub1.exposure 1 0 0 0 ctdprd51.pg_catalog.pg_type 1 1 174 0 ctdprd51.edit.db_report 1 1 91 0 ctdprd51.pub1.exp_anatomy 1 0 0 0 ctdprd51.pub1.gene_gene_reference 1 0 0 0 ctdprd51.pub1.term_label 2 0 0 0 ctdprd51.pubc.log_query 37 27 38113 0 ctdprd51.pub1.db 1 1 130 0 ctdprd51.pub1.gene_disease 1 1 32658852 0 ctdprd51.pg_catalog.pg_class 3 3 321 0 ctdprd51.pub2.term_comp_agent 2 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 0 ctdprd51.pub1.term_reference 1 0 0 0 ctdprd51.pg_toast.pg_toast_5273297 1 0 0 0 ctdprd51.pub1.reference 3 2 67806 0 ctdprd51.pub2.term_set_enrichment 1 0 0 0 ctdprd51.edit.db_link 1 0 0 0 ctdprd51.pub1.term_set_enrichment 2 0 0 0 ctdprd51.pub1.reference_exp 1 0 0 0 ctdprd51.pub1.exp_event 1 0 0 0 ctdprd51.pub1.reference_party 1 0 0 0 ctdprd51.pub1.exp_receptor 1 0 0 0 Total 121 62 62,085,061 109 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs May 27 00 0 3 01 0 3 02 0 3 03 0 3 04 0 1 05 0 2 06 0 2 07 0 1 08 0 1 09 0 1 10 0 0 11 0 1 12 0 1 13 0 0 14 0 1 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 May 28 00 0 4 01 0 3 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 2 09 0 1 10 0 0 11 0 1 12 0 1 13 0 14 14 0 0 15 0 1 16 0 14 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 1 23 0 1 May 29 00 0 3 01 0 4 02 0 2 03 0 3 04 0 2 05 0 3 06 0 1 07 0 1 08 0 1 09 0 0 10 0 2 11 0 1 12 0 4 13 0 0 14 0 1 15 0 0 16 0 1 17 0 12 18 0 8 19 0 0 20 0 0 21 0 1 22 0 1 23 0 24 May 30 00 0 10 01 0 5 02 0 2 03 0 6 04 0 2 05 0 1 06 0 5 07 0 1 08 0 1 09 0 2 10 0 6 11 0 3 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 0 21 0 0 22 0 1 23 0 0 May 31 00 0 4 01 0 3 02 0 3 03 0 2 04 0 1 05 0 3 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 1 14 0 0 15 0 1 16 0 0 17 0 3 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 - 253.49 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- AccessShareLock Main Lock Type
- 1 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 1m7s 1m7s 1m7s 1m7s select count(*) from edit.db_link;-
select count(*) from edit.db_link;
Date: 2024-05-29 12:16:45
-
select count(*) from edit.db_link;
Date: 2024-05-29 12:16:45
Queries that waited the most
Rank Wait time Query 1 1m7s select count(*) from edit.db_link;[ Date: 2024-05-29 12:16:45 ]
-
Queries
Queries by type
Key values
- 9,423 Total read queries
- 326 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 5,024 Requests
- 1d1h6m36s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 8,898 Requests
User Request type Count Duration edit Total 2 2s978ms select 2 2s978ms editeu Total 4 12s496ms select 4 12s496ms load Total 64 48m47s others 2 5s350ms select 62 48m41s postgres Total 80 30m43s copy to 80 30m43s pub1 Total 17 24m7s ddl 2 9s174ms insert 3 23m17s select 10 38s666ms tcl 2 2s747ms pub2 Total 2 9s39ms select 2 9s39ms pubeu Total 8,898 1d18h34m45s cte 24 1m4s select 8,874 1d18h33m41s qaeu Total 106 1h28m47s cte 14 47s527ms select 92 1h27m59s unknown Total 8,851 1d16h20m54s copy to 308 35m37s cte 26 37s866ms ddl 101 1h15m45s insert 53 1h18m33s others 39 1h41m15s select 8,310 1d10h52m9s update 14 36m55s Duration by user
Key values
- 1d18h34m45s (pubeu) Main time consuming user
User Request type Count Duration edit Total 2 2s978ms select 2 2s978ms editeu Total 4 12s496ms select 4 12s496ms load Total 64 48m47s others 2 5s350ms select 62 48m41s postgres Total 80 30m43s copy to 80 30m43s pub1 Total 17 24m7s ddl 2 9s174ms insert 3 23m17s select 10 38s666ms tcl 2 2s747ms pub2 Total 2 9s39ms select 2 9s39ms pubeu Total 8,898 1d18h34m45s cte 24 1m4s select 8,874 1d18h33m41s qaeu Total 106 1h28m47s cte 14 47s527ms select 92 1h27m59s unknown Total 8,851 1d16h20m54s copy to 308 35m37s cte 26 37s866ms ddl 101 1h15m45s insert 53 1h18m33s others 39 1h41m15s select 8,310 1d10h52m9s update 14 36m55s Queries by host
Key values
- unknown Main host
- 18,024 Requests
- 3d14h8m29s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 9,706 Requests
- 2d15m20s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:9603023 Total 1 1s373ms tcl 1 1s373ms pgAdmin 4 - CONN:9791214 Total 1 1s489ms select 1 1s489ms pg_bulkload Total 23 13m35s select 23 13m35s pg_dump Total 40 15m23s copy to 40 15m23s psql Total 5 18s529ms ddl 1 4s587ms select 4 13s942ms unknown Total 9,706 2d15m20s copy to 155 17m57s cte 37 1m24s ddl 52 38m22s insert 31 53m14s others 27 52m2s select 9,395 1d21h43s update 9 31m35s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-05-31 13:54:39 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 6,692 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 1h56m select pub1.maint_term_derive_data ();[ Date: 2024-05-30 05:55:20 - Bind query: yes ]
2 1h35m57s select pub1.maint_gene_chem_ref_gene_form_refresh ();[ Date: 2024-05-30 01:57:01 - Bind query: yes ]
3 1h7m21s SELECT maint_term_derive_nm_fts ();[ Date: 2024-05-30 03:07:10 - Bind query: yes ]
4 46m7s VACUUM FULL ANALYZE;[ Date: 2024-05-30 03:58:57 - Bind query: yes ]
5 39m46s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub1.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub1.GENE_CHEM_REFERENCE gcr, pub1.GENE_GO_ANNOT gga, pub1.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub1.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');[ Date: 2024-05-29 20:50:52 - Bind query: yes ]
6 38m56s select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub1.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub1.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub1.GENE_CHEM_REFERENCE gcr, pub1.PHENOTYPE_TERM_REFERENCE ptr, pub1.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub1.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');[ Date: 2024-05-29 20:11:00 - Bind query: yes ]
7 34m6s SELECT i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) FROM edit.IXN i, edit.REFERENCE_IXN r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in ('bogusName') order by i.id asc;[ Date: 2024-05-29 18:39:35 - Bind query: yes ]
8 33m23s select pub1.maint_cached_value_refresh_data_metrics ();[ Date: 2024-05-30 06:38:45 - Bind query: yes ]
9 33m14s SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;[ Date: 2024-05-30 12:04:32 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
10 23m6s insert into pub1.GENE_GO_ANNOT (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.GENE_GO_ANNOT;[ Date: 2024-05-29 17:57:10 - Bind query: yes ]
11 23m2s update pub1.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub1.REFERENCE r where has_exposures = true));[ Date: 2024-05-30 00:15:50 - Bind query: yes ]
12 17m6s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-31 06:15:12 - Bind query: yes ]
13 17m6s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-27 11:39:36 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 16m10s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-31 00:16:12 ]
15 16m6s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-30 00:16:08 ]
16 16m1s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-29 00:16:03 ]
17 16m /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-27 00:16:02 ]
18 15m56s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-28 00:15:58 ]
19 12m17s ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enr_agent_term_enr_fk FOREIGN KEY (term_id, enriched_term_id) REFERENCES term_enrichment (term_id, enriched_term_id);[ Date: 2024-05-29 23:27:32 - Bind query: yes ]
20 11m28s insert into pub1.DB_LINK (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary) select object_id, object_type_id, acc_txt, db_id, type_cd, is_primary from edit.DB_LINK;[ Date: 2024-05-29 17:28:43 - Database: ctdprd51 - User: pub1 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1d5h34m21s 3,188 1s18ms 54s858ms 33s394ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 27 20 3 8s559ms 2s853ms 21 5 31s510ms 6s302ms 22 1 3s986ms 3s986ms 23 1 5s333ms 5s333ms 00 4 13s227ms 3s306ms 01 3 16s864ms 5s621ms 02 3 14s301ms 4s767ms 03 2 8s410ms 4s205ms 04 4 25s631ms 6s407ms 05 4 17s491ms 4s372ms 06 2 10s290ms 5s145ms 07 3 19s688ms 6s562ms 08 2 8s719ms 4s359ms 09 2 6s891ms 3s445ms 10 1 6s490ms 6s490ms 11 4 15s226ms 3s806ms 12 2 11s126ms 5s563ms 13 2 40s535ms 20s267ms 14 3 4s991ms 1s663ms 15 5 14s350ms 2s870ms 16 5 13s709ms 2s741ms 17 1 4s809ms 4s809ms 18 3 15s231ms 5s77ms 19 5 25s916ms 5s183ms May 28 20 1 21s490ms 21s490ms 21 2 7s723ms 3s861ms 23 3 9s975ms 3s325ms 01 5 15s104ms 3s20ms 02 1 5s479ms 5s479ms 04 2 5s57ms 2s528ms 05 1 5s971ms 5s971ms 06 4 14s178ms 3s544ms 07 2 3s953ms 1s976ms 08 1 5s790ms 5s790ms 09 1 3s115ms 3s115ms 10 1 6s482ms 6s482ms 11 2 7s311ms 3s655ms 12 3 10s83ms 3s361ms 13 4 20s656ms 5s164ms 14 2 8s549ms 4s274ms 15 6 10s871ms 1s811ms 17 4 9s959ms 2s489ms 18 4 10s309ms 2s577ms 19 2 3s199ms 1s599ms May 29 20 3 13s239ms 4s413ms 21 5 29s154ms 5s830ms 22 2 10s102ms 5s51ms 23 3 7s876ms 2s625ms 00 1 2s193ms 2s193ms 01 5 21s382ms 4s276ms 02 1 13s437ms 13s437ms 03 2 8s764ms 4s382ms 04 3 20s998ms 6s999ms 05 3 8s387ms 2s795ms 06 1 26s919ms 26s919ms 07 3 13s886ms 4s628ms 08 1 1s381ms 1s381ms 09 4 19s386ms 4s846ms 10 3 8s207ms 2s735ms 11 2 7s732ms 3s866ms 12 2 12s324ms 6s162ms 13 1 2s694ms 2s694ms 14 3 12s455ms 4s151ms 15 54 31m45s 35s292ms 16 99 56m44s 34s388ms 17 93 56m25s 36s404ms 18 96 56m23s 35s245ms 19 62 36m7s 34s953ms May 30 20 1 8s75ms 8s75ms 21 1 1s948ms 1s948ms 22 44 25m12s 34s365ms 23 92 56m51s 37s83ms 00 98 56m22s 34s511ms 01 85 49m52s 35s200ms 02 93 56m 36s130ms 03 96 53m54s 33s695ms 04 99 56m29s 34s234ms 05 99 56m27s 34s214ms 06 100 57m19s 34s396ms 07 92 56m 36s524ms 08 91 56m41s 37s375ms 09 100 57m5s 34s255ms 10 97 56m50s 35s160ms 11 96 56m29s 35s302ms 12 95 56m37s 35s758ms 13 96 56m14s 35s151ms 14 97 56m43s 35s88ms 15 97 56m49s 35s147ms 16 100 56m38s 33s987ms 17 95 56m25s 35s634ms 18 96 57m11s 35s744ms 19 96 56m19s 35s202ms May 31 20 96 56m51s 35s533ms 21 97 56m28s 34s937ms 22 94 56m47s 36s252ms 23 93 56m27s 36s424ms 00 94 56m41s 36s181ms 01 59 34m12s 34s781ms 03 2 8s501ms 4s250ms 04 2 6s767ms 3s383ms 05 2 3s815ms 1s907ms 06 1 6s64ms 6s64ms 07 2 3s104ms 1s552ms 08 2 8s734ms 4s367ms 09 2 10s780ms 5s390ms 10 2 9s739ms 4s869ms 11 1 2s668ms 2s668ms 13 2 8s331ms 4s165ms 14 1 7s982ms 7s982ms 16 3 11s84ms 3s694ms 17 1 5s2ms 5s2ms 18 2 13s520ms 6s760ms 19 1 6s383ms 6s383ms [ User: pubeu - Total duration: 21h14m28s - Times executed: 2230 ]
-
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 = '2064774') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 8842450;
Date: 2024-05-30 10:42:49 Duration: 54s858ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1549650;
Date: 2024-05-29 22:08:24 Duration: 45s83ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1541300;
Date: 2024-05-30 03:29:25 Duration: 43s243ms Database: ctdprd51 User: pubeu Bind query: yes
2 1h56m 1 1h56m 1h56m 1h56m select pub1.maint_term_derive_data ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 30 01 1 1h56m 1h56m -
select pub1.maint_term_derive_data ();
Date: 2024-05-30 05:55:20 Duration: 1h56m Bind query: yes
3 1h35m57s 1 1h35m57s 1h35m57s 1h35m57s select pub1.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 30 21 1 1h35m57s 1h35m57s -
select pub1.maint_gene_chem_ref_gene_form_refresh ();
Date: 2024-05-30 01:57:01 Duration: 1h35m57s Bind query: yes
4 1h20m30s 72 1s94ms 17m6s 1m7s 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 #4
Day Hour Count Duration Avg duration May 27 20 4 6s121ms 1s530ms 22 1 1s255ms 1s255ms 23 1 1s694ms 1s694ms 00 1 1s509ms 1s509ms 01 1 1s700ms 1s700ms 02 1 1s444ms 1s444ms 03 1 3m35s 3m35s 05 1 1s433ms 1s433ms 06 1 1s528ms 1s528ms 07 3 17m9s 5m43s 09 1 1s653ms 1s653ms 12 1 1s491ms 1s491ms 17 1 1s548ms 1s548ms 18 2 1m19s 39s650ms May 28 20 2 4m50s 2m25s 22 1 1s684ms 1s684ms 00 1 1s448ms 1s448ms 02 1 9m9s 9m9s 04 1 1s564ms 1s564ms 08 1 3m46s 3m46s 09 2 3s29ms 1s514ms 10 1 1s498ms 1s498ms 12 1 1s232ms 1s232ms 18 3 4s246ms 1s415ms May 29 23 1 1s465ms 1s465ms 03 2 3m37s 1m48s 05 3 48s94ms 16s31ms 07 1 1s362ms 1s362ms 08 2 3s50ms 1s525ms 15 1 1s547ms 1s547ms 18 1 1s554ms 1s554ms May 30 21 1 1m35s 1m35s 00 5 39s290ms 7s858ms 04 3 3m39s 1m13s 08 1 1s363ms 1s363ms 15 1 3s90ms 3s90ms 18 2 8m28s 4m14s May 31 00 2 2s971ms 1s485ms 02 1 17m6s 17m6s 03 2 3s101ms 1s550ms 04 1 1s626ms 1s626ms 05 1 3m35s 3m35s 07 2 2s871ms 1s435ms 08 1 1s740ms 1s740ms 11 1 1s729ms 1s729ms 12 2 2s910ms 1s455ms 16 1 1s630ms 1s630ms [ User: pubeu - Total duration: 39m31s - Times executed: 28 ]
-
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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-31 06:15:12 Duration: 17m6s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-27 11:39:36 Duration: 17m6s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1223394') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-28 06:17:44 Duration: 9m9s Bind query: yes
5 1h20m16s 5 15m56s 16m10s 16m3s select maint_query_logs_archive ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 27 20 1 16m 16m May 28 20 1 15m56s 15m56s May 29 20 1 16m1s 16m1s May 30 20 1 16m6s 16m6s May 31 20 1 16m10s 16m10s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-31 00:16:12 Duration: 16m10s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-30 00:16:08 Duration: 16m6s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-29 00:16:03 Duration: 16m1s
6 1h7m21s 1 1h7m21s 1h7m21s 1h7m21s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 30 23 1 1h7m21s 1h7m21s -
SELECT maint_term_derive_nm_fts ();
Date: 2024-05-30 03:07:10 Duration: 1h7m21s Bind query: yes
7 52m13s 2,684 1s43ms 1s688ms 1s167ms 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 #7
Day Hour Count Duration Avg duration May 27 20 20 23s217ms 1s160ms 21 16 18s854ms 1s178ms 22 29 34s216ms 1s179ms 23 25 29s226ms 1s169ms 00 24 28s123ms 1s171ms 01 19 22s565ms 1s187ms 02 25 29s499ms 1s179ms 03 18 21s92ms 1s171ms 04 19 22s131ms 1s164ms 05 19 22s245ms 1s170ms 06 23 26s957ms 1s172ms 07 21 24s554ms 1s169ms 08 26 30s585ms 1s176ms 09 22 25s701ms 1s168ms 10 18 21s177ms 1s176ms 11 21 24s612ms 1s172ms 12 27 31s619ms 1s171ms 13 26 30s534ms 1s174ms 14 27 31s752ms 1s176ms 15 23 26s843ms 1s167ms 16 23 27s48ms 1s176ms 17 29 33s925ms 1s169ms 18 23 26s787ms 1s164ms 19 28 32s950ms 1s176ms May 28 20 31 36s22ms 1s162ms 21 13 15s346ms 1s180ms 22 20 23s527ms 1s176ms 23 33 38s548ms 1s168ms 00 23 27s74ms 1s177ms 01 22 26s194ms 1s190ms 02 17 19s960ms 1s174ms 03 24 28s222ms 1s175ms 04 27 31s747ms 1s175ms 05 17 19s888ms 1s169ms 06 12 14s209ms 1s184ms 07 23 26s965ms 1s172ms 08 22 25s691ms 1s167ms 09 24 28s61ms 1s169ms 10 28 32s509ms 1s161ms 11 27 31s491ms 1s166ms 12 20 23s365ms 1s168ms 13 31 36s412ms 1s174ms 14 25 29s386ms 1s175ms 15 30 34s923ms 1s164ms 16 22 25s798ms 1s172ms 17 28 32s706ms 1s168ms 18 18 20s947ms 1s163ms 19 34 39s565ms 1s163ms May 29 20 22 25s366ms 1s153ms 21 25 29s182ms 1s167ms 22 32 37s495ms 1s171ms 23 23 26s907ms 1s169ms 00 18 20s821ms 1s156ms 01 22 25s738ms 1s169ms 02 30 34s855ms 1s161ms 03 19 22s235ms 1s170ms 04 23 26s954ms 1s171ms 05 21 24s623ms 1s172ms 06 22 25s709ms 1s168ms 07 19 22s250ms 1s171ms 08 17 19s785ms 1s163ms 09 33 38s737ms 1s173ms 10 22 25s793ms 1s172ms 11 13 15s165ms 1s166ms 12 15 17s374ms 1s158ms 13 28 32s194ms 1s149ms 14 14 15s983ms 1s141ms 15 19 21s843ms 1s149ms 16 28 32s414ms 1s157ms 17 27 32s224ms 1s193ms 18 19 22s505ms 1s184ms 19 24 28s222ms 1s175ms May 30 20 23 26s511ms 1s152ms 21 24 26s923ms 1s121ms 22 31 36s594ms 1s180ms 23 18 21s611ms 1s200ms 00 13 14s992ms 1s153ms 01 9 10s680ms 1s186ms 02 13 15s212ms 1s170ms 03 18 20s744ms 1s152ms 04 27 31s565ms 1s169ms 05 12 13s660ms 1s138ms 06 33 37s120ms 1s124ms 07 19 22s123ms 1s164ms 08 18 20s979ms 1s165ms 09 13 14s911ms 1s147ms 10 28 32s350ms 1s155ms 11 17 19s706ms 1s159ms 12 28 32s601ms 1s164ms 13 14 16s290ms 1s163ms 14 30 34s595ms 1s153ms 15 28 32s293ms 1s153ms 16 17 19s700ms 1s158ms 17 17 19s615ms 1s153ms 18 33 38s515ms 1s167ms 19 26 29s948ms 1s151ms May 31 20 22 25s220ms 1s146ms 21 25 28s918ms 1s156ms 22 20 22s879ms 1s143ms 23 39 45s269ms 1s160ms 00 27 31s189ms 1s155ms 01 27 31s497ms 1s166ms 02 18 20s764ms 1s153ms 03 17 19s998ms 1s176ms 04 18 21s96ms 1s172ms 05 7 9s76ms 1s296ms 06 20 23s454ms 1s172ms 07 21 24s607ms 1s171ms 08 20 23s254ms 1s162ms 09 19 22s254ms 1s171ms 10 18 21s161ms 1s175ms 11 25 29s726ms 1s189ms 12 18 20s984ms 1s165ms 13 23 26s970ms 1s172ms 14 18 21s130ms 1s173ms 15 28 32s744ms 1s169ms 16 24 28s89ms 1s170ms 17 18 21s266ms 1s181ms 18 25 29s319ms 1s172ms 19 21 24s578ms 1s170ms [ User: pubeu - Total duration: 24m23s - Times executed: 1254 ]
[ User: qaeu - Total duration: 1s254ms - 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 = '1494392' or receptorTerm.id = '1494392' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-31 09:24:08 Duration: 1s688ms 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 = '1504004' or receptorTerm.id = '1504004' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-29 21:11:59 Duration: 1s552ms 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 = '2051933' or receptorTerm.id = '2051933' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-29 21:08:18 Duration: 1s354ms Bind query: yes
8 49m8s 218 4s7ms 33m14s 13s525ms select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 30 08 218 49m8s 13s525ms [ User: qaeu - Total duration: 33m14s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-05-30 12:04:32 Duration: 33m14s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-05-30 12:23:22 Duration: 5s874ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-05-30 12:23:00 Duration: 5s833ms Bind query: yes
9 46m7s 1 0ms 46m7s 46m7s vacuum full analyze;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 30 23 1 46m7s 46m7s -
VACUUM FULL ANALYZE;
Date: 2024-05-30 03:58:57 Duration: 46m7s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2024-05-30 03:20:22 Duration: 0ms
10 44m37s 72 1s378ms 6m27s 37s187ms select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 28 12 12 1m26s 7s219ms 13 19 11m57s 37s757ms May 29 04 8 7m50s 58s806ms 14 6 1m5s 10s993ms 17 6 14m37s 2m26s 18 14 3m54s 16s744ms 19 7 3m44s 32s113ms [ User: load - Total duration: 13m35s - Times executed: 23 ]
[ Application: pg_bulkload - Total duration: 13m35s - Times executed: 23 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2024-05-29 21:01:40 Duration: 6m27s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2024-05-29 21:29:17 Duration: 5m23s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2024-05-28 17:05:46 Duration: 3m48s Bind query: yes
11 39m46s 1 39m46s 39m46s 39m46s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub1.object_type where cd = ?), ( select current_date) from pub1.gene_chem_reference gcr, pub1.gene_go_annot gga, pub1.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 29 16 1 39m46s 39m46s -
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub1.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub1.GENE_CHEM_REFERENCE gcr, pub1.GENE_GO_ANNOT gga, pub1.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub1.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2024-05-29 20:50:52 Duration: 39m46s Bind query: yes
12 38m56s 1 38m56s 38m56s 38m56s select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub1.object_type where cd = ?), ptr.term_id, ( select id from pub1.object_type where cd = ?), ( select current_date) from pub1.gene_chem_reference gcr, pub1.phenotype_term_reference ptr, pub1.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 29 16 1 38m56s 38m56s -
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub1.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub1.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub1.GENE_CHEM_REFERENCE gcr, pub1.PHENOTYPE_TERM_REFERENCE ptr, pub1.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub1.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2024-05-29 20:11:00 Duration: 38m56s Bind query: yes
13 34m6s 1 34m6s 34m6s 34m6s select i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) from edit.ixn i, edit.reference_ixn r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in (...) order by i.id asc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 29 14 1 34m6s 34m6s -
SELECT i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) FROM edit.IXN i, edit.REFERENCE_IXN r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in ('bogusName') order by i.id asc;
Date: 2024-05-29 18:39:35 Duration: 34m6s Bind query: yes
14 33m23s 1 33m23s 33m23s 33m23s select pub1.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 30 02 1 33m23s 33m23s -
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2024-05-30 06:38:45 Duration: 33m23s Bind query: yes
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2024-05-30 06:34:36 Duration: 0ms
15 23m6s 1 23m6s 23m6s 23m6s insert into pub1.gene_go_annot (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.gene_go_annot;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 29 13 1 23m6s 23m6s -
insert into pub1.GENE_GO_ANNOT (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.GENE_GO_ANNOT;
Date: 2024-05-29 17:57:10 Duration: 23m6s Bind query: yes
16 23m2s 1 23m2s 23m2s 23m2s update pub1.gene_disease gd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.gene_disease_reference gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub1.reference r where has_exposures = true));Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 30 20 1 23m2s 23m2s -
update pub1.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub1.REFERENCE r where has_exposures = true));
Date: 2024-05-30 00:15:50 Duration: 23m2s Bind query: yes
17 16m27s 249 3s574ms 16s197ms 3s967ms 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 #17
Day Hour Count Duration Avg duration May 27 20 2 7s463ms 3s731ms 21 3 12s4ms 4s1ms 22 2 7s519ms 3s759ms 23 9 34s446ms 3s827ms 00 7 26s150ms 3s735ms 01 3 11s275ms 3s758ms 02 3 12s697ms 4s232ms 04 1 3s778ms 3s778ms 05 2 7s421ms 3s710ms 07 2 7s838ms 3s919ms 08 4 15s146ms 3s786ms 09 1 3s651ms 3s651ms 10 2 7s827ms 3s913ms 12 1 3s616ms 3s616ms 13 1 3s714ms 3s714ms 14 1 3s923ms 3s923ms 16 2 7s797ms 3s898ms 17 1 3s649ms 3s649ms 18 2 7s869ms 3s934ms May 28 20 1 3s658ms 3s658ms 21 6 22s348ms 3s724ms 22 1 3s877ms 3s877ms 23 4 16s675ms 4s168ms 00 1 3s638ms 3s638ms 01 1 3s678ms 3s678ms 02 7 26s837ms 3s833ms 04 3 11s388ms 3s796ms 05 4 15s635ms 3s908ms 06 3 11s874ms 3s958ms 07 2 7s371ms 3s685ms 08 1 3s893ms 3s893ms 09 7 27s128ms 3s875ms 10 1 3s858ms 3s858ms 11 5 21s66ms 4s213ms 12 3 11s287ms 3s762ms 14 2 7s460ms 3s730ms 18 2 7s909ms 3s954ms 19 1 3s978ms 3s978ms May 29 20 2 7s551ms 3s775ms 22 1 5s296ms 5s296ms 23 4 15s107ms 3s776ms 00 4 15s 3s750ms 01 3 12s251ms 4s83ms 02 6 22s952ms 3s825ms 03 1 3s677ms 3s677ms 04 2 7s977ms 3s988ms 05 2 7s518ms 3s759ms 06 1 3s748ms 3s748ms 07 2 7s542ms 3s771ms 08 5 18s726ms 3s745ms 09 2 7s641ms 3s820ms 10 1 4s50ms 4s50ms 11 6 22s615ms 3s769ms 12 5 30s765ms 6s153ms 13 4 15s760ms 3s940ms 14 3 11s366ms 3s788ms 16 9 34s784ms 3s864ms 17 1 3s861ms 3s861ms 18 5 19s780ms 3s956ms May 30 20 3 11s648ms 3s882ms 21 4 15s130ms 3s782ms 22 2 7s640ms 3s820ms 23 1 3s993ms 3s993ms 02 2 7s879ms 3s939ms 04 1 4s16ms 4s16ms 05 3 11s552ms 3s850ms 06 4 15s381ms 3s845ms 07 7 27s515ms 3s930ms 08 2 7s777ms 3s888ms 09 2 7s751ms 3s875ms 10 3 11s226ms 3s742ms 11 2 7s682ms 3s841ms 12 2 7s423ms 3s711ms 14 3 11s115ms 3s705ms 15 2 7s761ms 3s880ms 16 3 10s944ms 3s648ms 17 1 3s620ms 3s620ms May 31 21 3 11s490ms 3s830ms 22 1 3s988ms 3s988ms 00 1 3s902ms 3s902ms 01 4 32s93ms 8s23ms 02 3 11s483ms 3s827ms 04 1 3s765ms 3s765ms 05 2 7s552ms 3s776ms 06 1 3s848ms 3s848ms 07 1 3s785ms 3s785ms 09 2 7s528ms 3s764ms 10 1 3s682ms 3s682ms 11 2 7s895ms 3s947ms 13 1 4s149ms 4s149ms 17 1 3s719ms 3s719ms 18 1 4s39ms 4s39ms 19 4 15s516ms 3s879ms [ User: pubeu - Total duration: 8m15s - Times executed: 125 ]
[ User: qaeu - Total duration: 3s840ms - Times executed: 1 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1384112') 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 = '1384112') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-31 05:44:42 Duration: 16s197ms 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 = '1384112') 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 = '1384112') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-29 16:14:55 Duration: 15s512ms 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 = '1421762') 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 = '1421762') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-31 05:45:43 Duration: 8s162ms Bind query: yes
18 14m29s 191 1s1ms 6s123ms 4s550ms 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 May 27 21 1 4s585ms 4s585ms 22 2 9s354ms 4s677ms 00 2 8s646ms 4s323ms 02 1 5s155ms 5s155ms 03 2 9s315ms 4s657ms 04 1 4s556ms 4s556ms 05 4 19s66ms 4s766ms 07 1 5s255ms 5s255ms 08 1 4s970ms 4s970ms 09 2 8s890ms 4s445ms 12 2 9s856ms 4s928ms 14 1 4s695ms 4s695ms 16 1 5s494ms 5s494ms 17 3 13s858ms 4s619ms 18 3 14s387ms 4s795ms 19 1 4s531ms 4s531ms May 28 21 4 15s976ms 3s994ms 23 6 24s991ms 4s165ms 00 4 18s175ms 4s543ms 01 1 4s355ms 4s355ms 02 1 4s629ms 4s629ms 03 1 4s720ms 4s720ms 04 4 18s934ms 4s733ms 05 4 19s129ms 4s782ms 06 1 4s441ms 4s441ms 07 4 17s883ms 4s470ms 08 1 4s494ms 4s494ms 09 5 25s139ms 5s27ms 10 3 15s234ms 5s78ms 11 2 8s876ms 4s438ms 12 2 9s182ms 4s591ms 13 1 5s82ms 5s82ms 18 1 4s299ms 4s299ms 19 4 18s734ms 4s683ms May 29 21 2 9s160ms 4s580ms 22 1 4s236ms 4s236ms 23 4 18s809ms 4s702ms 00 2 9s554ms 4s777ms 01 2 10s255ms 5s127ms 02 2 9s227ms 4s613ms 03 1 4s521ms 4s521ms 04 3 14s27ms 4s675ms 05 2 9s273ms 4s636ms 06 3 13s742ms 4s580ms 09 4 17s827ms 4s456ms 10 6 30s712ms 5s118ms 12 2 5s253ms 2s626ms 13 2 10s115ms 5s57ms 16 1 1s30ms 1s30ms 18 6 30s459ms 5s76ms 19 1 4s358ms 4s358ms May 30 20 1 4s968ms 4s968ms 22 2 2s40ms 1s20ms 23 2 10s474ms 5s237ms 00 1 4s511ms 4s511ms 01 1 1s270ms 1s270ms 02 1 1s88ms 1s88ms 04 2 10s40ms 5s20ms 05 2 10s881ms 5s440ms 06 3 10s732ms 3s577ms 08 1 5s294ms 5s294ms 10 1 5s171ms 5s171ms 11 1 5s35ms 5s35ms 13 2 8s492ms 4s246ms 14 4 18s917ms 4s729ms 16 1 4s796ms 4s796ms 18 1 5s94ms 5s94ms 19 1 1s37ms 1s37ms May 31 20 1 5s96ms 5s96ms 21 3 14s843ms 4s947ms 00 4 16s52ms 4s13ms 01 2 5s809ms 2s904ms 03 2 9s515ms 4s757ms 04 3 13s567ms 4s522ms 05 1 4s550ms 4s550ms 07 1 5s83ms 5s83ms 08 1 5s159ms 5s159ms 09 2 10s253ms 5s126ms 11 1 4s932ms 4s932ms 12 1 4s687ms 4s687ms 13 3 15s832ms 5s277ms 14 3 15s134ms 5s44ms 15 2 6s297ms 3s148ms 16 1 1s8ms 1s8ms 17 1 4s781ms 4s781ms 18 2 11s243ms 5s621ms 19 9 46s24ms 5s113ms [ User: pubeu - Total duration: 6m59s - Times executed: 91 ]
-
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 = '1254230' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-30 09:50:55 Duration: 6s123ms 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 = '1351228' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-31 22:31:20 Duration: 5s856ms 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 = '1303296' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-28 01:17:03 Duration: 5s847ms Bind query: yes
19 14m15s 21 2s333ms 10m22s 40s717ms select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, to_char(cdr.mod_tm, ?) from pub1.gene_chem_reference gcr, pub1.chem_disease_reference cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = ? and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 29 14 1 10m22s 10m22s 15 20 3m52s 11s644ms [ User: load - Total duration: 10m22s - Times executed: 1 ]
-
select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn where action_degree_type_nm = 'does not affect');
Date: 2024-05-29 18:52:40 Duration: 10m22s Database: ctdprd51 User: load Bind query: yes
-
select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn where action_degree_type_nm = 'does not affect');
Date: 2024-05-29 19:09:15 Duration: 51s124ms Bind query: yes
-
select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn where action_degree_type_nm = 'does not affect');
Date: 2024-05-29 19:14:42 Duration: 48s950ms Bind query: yes
20 12m17s 1 12m17s 12m17s 12m17s alter table pub1.term_enrichment_agent add constraint term_enr_agent_term_enr_fk foreign key (term_id, enriched_term_id) references term_enrichment (term_id, enriched_term_id);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 29 19 1 12m17s 12m17s -
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enr_agent_term_enr_fk FOREIGN KEY (term_id, enriched_term_id) REFERENCES term_enrichment (term_id, enriched_term_id);
Date: 2024-05-29 23:27:32 Duration: 12m17s Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 3,188 1d5h34m21s 1s18ms 54s858ms 33s394ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 27 20 3 8s559ms 2s853ms 21 5 31s510ms 6s302ms 22 1 3s986ms 3s986ms 23 1 5s333ms 5s333ms 00 4 13s227ms 3s306ms 01 3 16s864ms 5s621ms 02 3 14s301ms 4s767ms 03 2 8s410ms 4s205ms 04 4 25s631ms 6s407ms 05 4 17s491ms 4s372ms 06 2 10s290ms 5s145ms 07 3 19s688ms 6s562ms 08 2 8s719ms 4s359ms 09 2 6s891ms 3s445ms 10 1 6s490ms 6s490ms 11 4 15s226ms 3s806ms 12 2 11s126ms 5s563ms 13 2 40s535ms 20s267ms 14 3 4s991ms 1s663ms 15 5 14s350ms 2s870ms 16 5 13s709ms 2s741ms 17 1 4s809ms 4s809ms 18 3 15s231ms 5s77ms 19 5 25s916ms 5s183ms May 28 20 1 21s490ms 21s490ms 21 2 7s723ms 3s861ms 23 3 9s975ms 3s325ms 01 5 15s104ms 3s20ms 02 1 5s479ms 5s479ms 04 2 5s57ms 2s528ms 05 1 5s971ms 5s971ms 06 4 14s178ms 3s544ms 07 2 3s953ms 1s976ms 08 1 5s790ms 5s790ms 09 1 3s115ms 3s115ms 10 1 6s482ms 6s482ms 11 2 7s311ms 3s655ms 12 3 10s83ms 3s361ms 13 4 20s656ms 5s164ms 14 2 8s549ms 4s274ms 15 6 10s871ms 1s811ms 17 4 9s959ms 2s489ms 18 4 10s309ms 2s577ms 19 2 3s199ms 1s599ms May 29 20 3 13s239ms 4s413ms 21 5 29s154ms 5s830ms 22 2 10s102ms 5s51ms 23 3 7s876ms 2s625ms 00 1 2s193ms 2s193ms 01 5 21s382ms 4s276ms 02 1 13s437ms 13s437ms 03 2 8s764ms 4s382ms 04 3 20s998ms 6s999ms 05 3 8s387ms 2s795ms 06 1 26s919ms 26s919ms 07 3 13s886ms 4s628ms 08 1 1s381ms 1s381ms 09 4 19s386ms 4s846ms 10 3 8s207ms 2s735ms 11 2 7s732ms 3s866ms 12 2 12s324ms 6s162ms 13 1 2s694ms 2s694ms 14 3 12s455ms 4s151ms 15 54 31m45s 35s292ms 16 99 56m44s 34s388ms 17 93 56m25s 36s404ms 18 96 56m23s 35s245ms 19 62 36m7s 34s953ms May 30 20 1 8s75ms 8s75ms 21 1 1s948ms 1s948ms 22 44 25m12s 34s365ms 23 92 56m51s 37s83ms 00 98 56m22s 34s511ms 01 85 49m52s 35s200ms 02 93 56m 36s130ms 03 96 53m54s 33s695ms 04 99 56m29s 34s234ms 05 99 56m27s 34s214ms 06 100 57m19s 34s396ms 07 92 56m 36s524ms 08 91 56m41s 37s375ms 09 100 57m5s 34s255ms 10 97 56m50s 35s160ms 11 96 56m29s 35s302ms 12 95 56m37s 35s758ms 13 96 56m14s 35s151ms 14 97 56m43s 35s88ms 15 97 56m49s 35s147ms 16 100 56m38s 33s987ms 17 95 56m25s 35s634ms 18 96 57m11s 35s744ms 19 96 56m19s 35s202ms May 31 20 96 56m51s 35s533ms 21 97 56m28s 34s937ms 22 94 56m47s 36s252ms 23 93 56m27s 36s424ms 00 94 56m41s 36s181ms 01 59 34m12s 34s781ms 03 2 8s501ms 4s250ms 04 2 6s767ms 3s383ms 05 2 3s815ms 1s907ms 06 1 6s64ms 6s64ms 07 2 3s104ms 1s552ms 08 2 8s734ms 4s367ms 09 2 10s780ms 5s390ms 10 2 9s739ms 4s869ms 11 1 2s668ms 2s668ms 13 2 8s331ms 4s165ms 14 1 7s982ms 7s982ms 16 3 11s84ms 3s694ms 17 1 5s2ms 5s2ms 18 2 13s520ms 6s760ms 19 1 6s383ms 6s383ms [ User: pubeu - Total duration: 21h14m28s - Times executed: 2230 ]
-
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 = '2064774') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 8842450;
Date: 2024-05-30 10:42:49 Duration: 54s858ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1549650;
Date: 2024-05-29 22:08:24 Duration: 45s83ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1541300;
Date: 2024-05-30 03:29:25 Duration: 43s243ms Database: ctdprd51 User: pubeu Bind query: yes
2 2,684 52m13s 1s43ms 1s688ms 1s167ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 27 20 20 23s217ms 1s160ms 21 16 18s854ms 1s178ms 22 29 34s216ms 1s179ms 23 25 29s226ms 1s169ms 00 24 28s123ms 1s171ms 01 19 22s565ms 1s187ms 02 25 29s499ms 1s179ms 03 18 21s92ms 1s171ms 04 19 22s131ms 1s164ms 05 19 22s245ms 1s170ms 06 23 26s957ms 1s172ms 07 21 24s554ms 1s169ms 08 26 30s585ms 1s176ms 09 22 25s701ms 1s168ms 10 18 21s177ms 1s176ms 11 21 24s612ms 1s172ms 12 27 31s619ms 1s171ms 13 26 30s534ms 1s174ms 14 27 31s752ms 1s176ms 15 23 26s843ms 1s167ms 16 23 27s48ms 1s176ms 17 29 33s925ms 1s169ms 18 23 26s787ms 1s164ms 19 28 32s950ms 1s176ms May 28 20 31 36s22ms 1s162ms 21 13 15s346ms 1s180ms 22 20 23s527ms 1s176ms 23 33 38s548ms 1s168ms 00 23 27s74ms 1s177ms 01 22 26s194ms 1s190ms 02 17 19s960ms 1s174ms 03 24 28s222ms 1s175ms 04 27 31s747ms 1s175ms 05 17 19s888ms 1s169ms 06 12 14s209ms 1s184ms 07 23 26s965ms 1s172ms 08 22 25s691ms 1s167ms 09 24 28s61ms 1s169ms 10 28 32s509ms 1s161ms 11 27 31s491ms 1s166ms 12 20 23s365ms 1s168ms 13 31 36s412ms 1s174ms 14 25 29s386ms 1s175ms 15 30 34s923ms 1s164ms 16 22 25s798ms 1s172ms 17 28 32s706ms 1s168ms 18 18 20s947ms 1s163ms 19 34 39s565ms 1s163ms May 29 20 22 25s366ms 1s153ms 21 25 29s182ms 1s167ms 22 32 37s495ms 1s171ms 23 23 26s907ms 1s169ms 00 18 20s821ms 1s156ms 01 22 25s738ms 1s169ms 02 30 34s855ms 1s161ms 03 19 22s235ms 1s170ms 04 23 26s954ms 1s171ms 05 21 24s623ms 1s172ms 06 22 25s709ms 1s168ms 07 19 22s250ms 1s171ms 08 17 19s785ms 1s163ms 09 33 38s737ms 1s173ms 10 22 25s793ms 1s172ms 11 13 15s165ms 1s166ms 12 15 17s374ms 1s158ms 13 28 32s194ms 1s149ms 14 14 15s983ms 1s141ms 15 19 21s843ms 1s149ms 16 28 32s414ms 1s157ms 17 27 32s224ms 1s193ms 18 19 22s505ms 1s184ms 19 24 28s222ms 1s175ms May 30 20 23 26s511ms 1s152ms 21 24 26s923ms 1s121ms 22 31 36s594ms 1s180ms 23 18 21s611ms 1s200ms 00 13 14s992ms 1s153ms 01 9 10s680ms 1s186ms 02 13 15s212ms 1s170ms 03 18 20s744ms 1s152ms 04 27 31s565ms 1s169ms 05 12 13s660ms 1s138ms 06 33 37s120ms 1s124ms 07 19 22s123ms 1s164ms 08 18 20s979ms 1s165ms 09 13 14s911ms 1s147ms 10 28 32s350ms 1s155ms 11 17 19s706ms 1s159ms 12 28 32s601ms 1s164ms 13 14 16s290ms 1s163ms 14 30 34s595ms 1s153ms 15 28 32s293ms 1s153ms 16 17 19s700ms 1s158ms 17 17 19s615ms 1s153ms 18 33 38s515ms 1s167ms 19 26 29s948ms 1s151ms May 31 20 22 25s220ms 1s146ms 21 25 28s918ms 1s156ms 22 20 22s879ms 1s143ms 23 39 45s269ms 1s160ms 00 27 31s189ms 1s155ms 01 27 31s497ms 1s166ms 02 18 20s764ms 1s153ms 03 17 19s998ms 1s176ms 04 18 21s96ms 1s172ms 05 7 9s76ms 1s296ms 06 20 23s454ms 1s172ms 07 21 24s607ms 1s171ms 08 20 23s254ms 1s162ms 09 19 22s254ms 1s171ms 10 18 21s161ms 1s175ms 11 25 29s726ms 1s189ms 12 18 20s984ms 1s165ms 13 23 26s970ms 1s172ms 14 18 21s130ms 1s173ms 15 28 32s744ms 1s169ms 16 24 28s89ms 1s170ms 17 18 21s266ms 1s181ms 18 25 29s319ms 1s172ms 19 21 24s578ms 1s170ms [ User: pubeu - Total duration: 24m23s - Times executed: 1254 ]
[ User: qaeu - Total duration: 1s254ms - 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 = '1494392' or receptorTerm.id = '1494392' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-31 09:24:08 Duration: 1s688ms 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 = '1504004' or receptorTerm.id = '1504004' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-29 21:11:59 Duration: 1s552ms 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 = '2051933' or receptorTerm.id = '2051933' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-29 21:08:18 Duration: 1s354ms Bind query: yes
3 530 11m20s 1s162ms 2s113ms 1s283ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 27 21 1 1s276ms 1s276ms 22 4 5s71ms 1s267ms 23 5 6s420ms 1s284ms 00 2 2s543ms 1s271ms 01 5 6s747ms 1s349ms 02 1 1s347ms 1s347ms 03 4 5s82ms 1s270ms 04 4 5s216ms 1s304ms 05 5 6s461ms 1s292ms 06 2 2s632ms 1s316ms 07 5 6s428ms 1s285ms 08 3 3s825ms 1s275ms 09 2 2s576ms 1s288ms 10 3 3s932ms 1s310ms 11 1 1s297ms 1s297ms 12 5 6s431ms 1s286ms 13 4 5s142ms 1s285ms 14 7 8s936ms 1s276ms 15 2 2s668ms 1s334ms 16 2 2s609ms 1s304ms 17 6 7s750ms 1s291ms 18 2 2s620ms 1s310ms 19 4 5s98ms 1s274ms May 28 20 4 4s996ms 1s249ms 21 2 2s589ms 1s294ms 22 4 5s129ms 1s282ms 23 2 2s538ms 1s269ms 00 5 6s510ms 1s302ms 01 8 10s438ms 1s304ms 02 2 2s569ms 1s284ms 03 8 10s45ms 1s255ms 04 5 6s397ms 1s279ms 05 7 9s180ms 1s311ms 06 2 2s656ms 1s328ms 07 3 4s190ms 1s396ms 08 3 3s881ms 1s293ms 09 2 2s545ms 1s272ms 10 5 6s337ms 1s267ms 11 8 10s81ms 1s260ms 12 8 10s342ms 1s292ms 13 4 5s156ms 1s289ms 14 1 1s280ms 1s280ms 15 3 3s909ms 1s303ms 16 4 5s59ms 1s264ms 17 5 6s410ms 1s282ms 18 3 3s830ms 1s276ms 19 9 11s681ms 1s297ms May 29 20 7 8s707ms 1s243ms 21 6 8s433ms 1s405ms 22 8 10s50ms 1s256ms 23 4 5s77ms 1s269ms 00 1 1s273ms 1s273ms 01 6 7s785ms 1s297ms 02 4 5s55ms 1s263ms 03 4 5s19ms 1s254ms 04 1 1s281ms 1s281ms 05 1 1s245ms 1s245ms 06 5 6s337ms 1s267ms 07 10 12s607ms 1s260ms 08 3 3s831ms 1s277ms 09 5 6s330ms 1s266ms 10 7 8s887ms 1s269ms 11 1 1s303ms 1s303ms 12 6 7s686ms 1s281ms 13 5 6s467ms 1s293ms 14 5 6s134ms 1s226ms 15 9 11s473ms 1s274ms 16 3 3s923ms 1s307ms 17 10 13s466ms 1s346ms 18 5 6s854ms 1s370ms 19 5 6s456ms 1s291ms May 30 20 4 4s937ms 1s234ms 21 4 4s926ms 1s231ms 22 5 6s930ms 1s386ms 23 2 2s708ms 1s354ms 00 3 3s975ms 1s325ms 01 3 3s955ms 1s318ms 02 1 1s229ms 1s229ms 03 7 8s939ms 1s277ms 04 4 4s922ms 1s230ms 05 1 1s250ms 1s250ms 06 8 10s1ms 1s250ms 07 6 7s571ms 1s261ms 08 1 1s255ms 1s255ms 09 4 4s877ms 1s219ms 10 4 5s9ms 1s252ms 11 7 8s854ms 1s264ms 12 4 4s973ms 1s243ms 13 3 3s906ms 1s302ms 14 6 7s424ms 1s237ms 15 2 2s512ms 1s256ms 16 3 3s856ms 1s285ms 17 3 3s861ms 1s287ms 18 5 6s239ms 1s247ms 19 3 3s829ms 1s276ms May 31 20 5 6s404ms 1s280ms 21 10 12s832ms 1s283ms 22 4 5s36ms 1s259ms 23 5 6s385ms 1s277ms 00 4 5s277ms 1s319ms 01 10 12s892ms 1s289ms 02 1 1s270ms 1s270ms 03 5 6s470ms 1s294ms 04 10 12s867ms 1s286ms 05 3 3s935ms 1s311ms 06 7 8s980ms 1s282ms 07 5 6s287ms 1s257ms 08 3 3s922ms 1s307ms 10 3 3s860ms 1s286ms 11 7 9s11ms 1s287ms 12 7 8s932ms 1s276ms 13 8 10s275ms 1s284ms 14 1 1s303ms 1s303ms 15 7 8s796ms 1s256ms 16 4 5s134ms 1s283ms 17 6 7s625ms 1s270ms 18 7 8s816ms 1s259ms 19 8 10s404ms 1s300ms [ User: pubeu - Total duration: 5m26s - Times executed: 254 ]
[ User: qaeu - Total duration: 1s340ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1209010') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1209010') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-29 01:56:08 Duration: 2s113ms 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 = '1219405') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1219405') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-30 02:15:13 Duration: 1s972ms 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 = '1223572') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1223572') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-29 21:16:44 Duration: 1s809ms Database: ctdprd51 User: pubeu Bind query: yes
4 377 8m4s 1s184ms 1s557ms 1s284ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 27 20 6 7s497ms 1s249ms 21 2 2s527ms 1s263ms 22 6 7s559ms 1s259ms 23 3 3s839ms 1s279ms 00 5 6s452ms 1s290ms 01 3 4s67ms 1s355ms 02 2 2s585ms 1s292ms 03 4 5s216ms 1s304ms 04 1 1s254ms 1s254ms 05 1 1s217ms 1s217ms 06 3 3s835ms 1s278ms 07 1 1s289ms 1s289ms 08 1 1s340ms 1s340ms 09 3 3s812ms 1s270ms 10 2 2s637ms 1s318ms 11 3 3s792ms 1s264ms 12 1 1s293ms 1s293ms 13 4 5s761ms 1s440ms 14 4 5s192ms 1s298ms 15 4 5s54ms 1s263ms 16 3 3s996ms 1s332ms 17 2 2s522ms 1s261ms 18 3 4s46ms 1s348ms 19 4 5s120ms 1s280ms May 28 20 2 2s521ms 1s260ms 21 3 3s842ms 1s280ms 22 1 1s277ms 1s277ms 23 3 3s730ms 1s243ms 00 1 1s272ms 1s272ms 01 5 6s799ms 1s359ms 02 1 1s269ms 1s269ms 03 2 2s502ms 1s251ms 04 4 5s119ms 1s279ms 05 5 6s448ms 1s289ms 06 5 6s671ms 1s334ms 07 5 6s386ms 1s277ms 08 4 5s279ms 1s319ms 09 1 1s326ms 1s326ms 10 4 5s220ms 1s305ms 11 7 8s897ms 1s271ms 12 3 3s794ms 1s264ms 13 1 1s328ms 1s328ms 15 4 4s952ms 1s238ms 16 1 1s222ms 1s222ms 17 2 2s491ms 1s245ms 18 4 5s264ms 1s316ms 19 6 7s650ms 1s275ms May 29 20 4 5s118ms 1s279ms 21 3 3s920ms 1s306ms 22 2 2s530ms 1s265ms 23 1 1s299ms 1s299ms 00 2 2s642ms 1s321ms 01 5 6s710ms 1s342ms 02 3 3s813ms 1s271ms 03 2 2s560ms 1s280ms 04 2 2s577ms 1s288ms 05 1 1s286ms 1s286ms 06 3 3s866ms 1s288ms 07 5 6s279ms 1s255ms 08 1 1s261ms 1s261ms 09 3 3s754ms 1s251ms 10 7 9s33ms 1s290ms 11 2 2s527ms 1s263ms 13 4 5s29ms 1s257ms 14 2 2s522ms 1s261ms 15 1 1s269ms 1s269ms 16 6 7s367ms 1s227ms 17 2 2s541ms 1s270ms 18 4 5s104ms 1s276ms 19 2 2s558ms 1s279ms May 30 20 3 3s845ms 1s281ms 21 3 3s736ms 1s245ms 22 3 3s875ms 1s291ms 23 4 5s105ms 1s276ms 00 2 2s512ms 1s256ms 01 2 2s729ms 1s364ms 02 2 2s565ms 1s282ms 03 2 2s581ms 1s290ms 04 5 6s358ms 1s271ms 06 6 7s506ms 1s251ms 07 2 2s521ms 1s260ms 08 3 3s872ms 1s290ms 09 5 6s440ms 1s288ms 10 3 3s737ms 1s245ms 11 6 7s608ms 1s268ms 12 3 3s915ms 1s305ms 13 2 2s646ms 1s323ms 14 6 7s600ms 1s266ms 15 1 1s211ms 1s211ms 16 3 3s686ms 1s228ms 17 5 6s244ms 1s248ms 18 3 3s823ms 1s274ms 19 6 7s677ms 1s279ms May 31 21 3 3s794ms 1s264ms 22 3 3s776ms 1s258ms 23 3 3s686ms 1s228ms 00 3 3s722ms 1s240ms 01 3 4s244ms 1s414ms 02 3 3s860ms 1s286ms 03 3 3s996ms 1s332ms 04 3 3s917ms 1s305ms 05 3 4s342ms 1s447ms 06 1 1s193ms 1s193ms 07 6 7s699ms 1s283ms 08 5 6s404ms 1s280ms 09 4 5s16ms 1s254ms 10 3 3s839ms 1s279ms 11 5 6s569ms 1s313ms 12 2 2s538ms 1s269ms 13 5 6s562ms 1s312ms 14 9 11s639ms 1s293ms 15 3 3s823ms 1s274ms 16 3 3s906ms 1s302ms 17 4 5s158ms 1s289ms 18 7 8s881ms 1s268ms 19 1 1s277ms 1s277ms [ User: pubeu - Total duration: 3m51s - Times executed: 181 ]
[ User: qaeu - Total duration: 5s627ms - 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 = '2065138') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2065138') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-31 09:24:10 Duration: 1s557ms 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 = '2067180') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2067180') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-27 17:14:23 Duration: 1s540ms 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 = '2066417') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2066417') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-31 09:51:05 Duration: 1s495ms Bind query: yes
5 249 16m27s 3s574ms 16s197ms 3s967ms 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 #5
Day Hour Count Duration Avg duration May 27 20 2 7s463ms 3s731ms 21 3 12s4ms 4s1ms 22 2 7s519ms 3s759ms 23 9 34s446ms 3s827ms 00 7 26s150ms 3s735ms 01 3 11s275ms 3s758ms 02 3 12s697ms 4s232ms 04 1 3s778ms 3s778ms 05 2 7s421ms 3s710ms 07 2 7s838ms 3s919ms 08 4 15s146ms 3s786ms 09 1 3s651ms 3s651ms 10 2 7s827ms 3s913ms 12 1 3s616ms 3s616ms 13 1 3s714ms 3s714ms 14 1 3s923ms 3s923ms 16 2 7s797ms 3s898ms 17 1 3s649ms 3s649ms 18 2 7s869ms 3s934ms May 28 20 1 3s658ms 3s658ms 21 6 22s348ms 3s724ms 22 1 3s877ms 3s877ms 23 4 16s675ms 4s168ms 00 1 3s638ms 3s638ms 01 1 3s678ms 3s678ms 02 7 26s837ms 3s833ms 04 3 11s388ms 3s796ms 05 4 15s635ms 3s908ms 06 3 11s874ms 3s958ms 07 2 7s371ms 3s685ms 08 1 3s893ms 3s893ms 09 7 27s128ms 3s875ms 10 1 3s858ms 3s858ms 11 5 21s66ms 4s213ms 12 3 11s287ms 3s762ms 14 2 7s460ms 3s730ms 18 2 7s909ms 3s954ms 19 1 3s978ms 3s978ms May 29 20 2 7s551ms 3s775ms 22 1 5s296ms 5s296ms 23 4 15s107ms 3s776ms 00 4 15s 3s750ms 01 3 12s251ms 4s83ms 02 6 22s952ms 3s825ms 03 1 3s677ms 3s677ms 04 2 7s977ms 3s988ms 05 2 7s518ms 3s759ms 06 1 3s748ms 3s748ms 07 2 7s542ms 3s771ms 08 5 18s726ms 3s745ms 09 2 7s641ms 3s820ms 10 1 4s50ms 4s50ms 11 6 22s615ms 3s769ms 12 5 30s765ms 6s153ms 13 4 15s760ms 3s940ms 14 3 11s366ms 3s788ms 16 9 34s784ms 3s864ms 17 1 3s861ms 3s861ms 18 5 19s780ms 3s956ms May 30 20 3 11s648ms 3s882ms 21 4 15s130ms 3s782ms 22 2 7s640ms 3s820ms 23 1 3s993ms 3s993ms 02 2 7s879ms 3s939ms 04 1 4s16ms 4s16ms 05 3 11s552ms 3s850ms 06 4 15s381ms 3s845ms 07 7 27s515ms 3s930ms 08 2 7s777ms 3s888ms 09 2 7s751ms 3s875ms 10 3 11s226ms 3s742ms 11 2 7s682ms 3s841ms 12 2 7s423ms 3s711ms 14 3 11s115ms 3s705ms 15 2 7s761ms 3s880ms 16 3 10s944ms 3s648ms 17 1 3s620ms 3s620ms May 31 21 3 11s490ms 3s830ms 22 1 3s988ms 3s988ms 00 1 3s902ms 3s902ms 01 4 32s93ms 8s23ms 02 3 11s483ms 3s827ms 04 1 3s765ms 3s765ms 05 2 7s552ms 3s776ms 06 1 3s848ms 3s848ms 07 1 3s785ms 3s785ms 09 2 7s528ms 3s764ms 10 1 3s682ms 3s682ms 11 2 7s895ms 3s947ms 13 1 4s149ms 4s149ms 17 1 3s719ms 3s719ms 18 1 4s39ms 4s39ms 19 4 15s516ms 3s879ms [ User: pubeu - Total duration: 8m15s - Times executed: 125 ]
[ User: qaeu - Total duration: 3s840ms - Times executed: 1 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1384112') 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 = '1384112') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-31 05:44:42 Duration: 16s197ms 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 = '1384112') 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 = '1384112') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-29 16:14:55 Duration: 15s512ms 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 = '1421762') 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 = '1421762') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-31 05:45:43 Duration: 8s162ms Bind query: yes
6 218 49m8s 4s7ms 33m14s 13s525ms select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 30 08 218 49m8s 13s525ms [ User: qaeu - Total duration: 33m14s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-05-30 12:04:32 Duration: 33m14s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-05-30 12:23:22 Duration: 5s874ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-05-30 12:23:00 Duration: 5s833ms Bind query: yes
7 191 14m29s 1s1ms 6s123ms 4s550ms 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 May 27 21 1 4s585ms 4s585ms 22 2 9s354ms 4s677ms 00 2 8s646ms 4s323ms 02 1 5s155ms 5s155ms 03 2 9s315ms 4s657ms 04 1 4s556ms 4s556ms 05 4 19s66ms 4s766ms 07 1 5s255ms 5s255ms 08 1 4s970ms 4s970ms 09 2 8s890ms 4s445ms 12 2 9s856ms 4s928ms 14 1 4s695ms 4s695ms 16 1 5s494ms 5s494ms 17 3 13s858ms 4s619ms 18 3 14s387ms 4s795ms 19 1 4s531ms 4s531ms May 28 21 4 15s976ms 3s994ms 23 6 24s991ms 4s165ms 00 4 18s175ms 4s543ms 01 1 4s355ms 4s355ms 02 1 4s629ms 4s629ms 03 1 4s720ms 4s720ms 04 4 18s934ms 4s733ms 05 4 19s129ms 4s782ms 06 1 4s441ms 4s441ms 07 4 17s883ms 4s470ms 08 1 4s494ms 4s494ms 09 5 25s139ms 5s27ms 10 3 15s234ms 5s78ms 11 2 8s876ms 4s438ms 12 2 9s182ms 4s591ms 13 1 5s82ms 5s82ms 18 1 4s299ms 4s299ms 19 4 18s734ms 4s683ms May 29 21 2 9s160ms 4s580ms 22 1 4s236ms 4s236ms 23 4 18s809ms 4s702ms 00 2 9s554ms 4s777ms 01 2 10s255ms 5s127ms 02 2 9s227ms 4s613ms 03 1 4s521ms 4s521ms 04 3 14s27ms 4s675ms 05 2 9s273ms 4s636ms 06 3 13s742ms 4s580ms 09 4 17s827ms 4s456ms 10 6 30s712ms 5s118ms 12 2 5s253ms 2s626ms 13 2 10s115ms 5s57ms 16 1 1s30ms 1s30ms 18 6 30s459ms 5s76ms 19 1 4s358ms 4s358ms May 30 20 1 4s968ms 4s968ms 22 2 2s40ms 1s20ms 23 2 10s474ms 5s237ms 00 1 4s511ms 4s511ms 01 1 1s270ms 1s270ms 02 1 1s88ms 1s88ms 04 2 10s40ms 5s20ms 05 2 10s881ms 5s440ms 06 3 10s732ms 3s577ms 08 1 5s294ms 5s294ms 10 1 5s171ms 5s171ms 11 1 5s35ms 5s35ms 13 2 8s492ms 4s246ms 14 4 18s917ms 4s729ms 16 1 4s796ms 4s796ms 18 1 5s94ms 5s94ms 19 1 1s37ms 1s37ms May 31 20 1 5s96ms 5s96ms 21 3 14s843ms 4s947ms 00 4 16s52ms 4s13ms 01 2 5s809ms 2s904ms 03 2 9s515ms 4s757ms 04 3 13s567ms 4s522ms 05 1 4s550ms 4s550ms 07 1 5s83ms 5s83ms 08 1 5s159ms 5s159ms 09 2 10s253ms 5s126ms 11 1 4s932ms 4s932ms 12 1 4s687ms 4s687ms 13 3 15s832ms 5s277ms 14 3 15s134ms 5s44ms 15 2 6s297ms 3s148ms 16 1 1s8ms 1s8ms 17 1 4s781ms 4s781ms 18 2 11s243ms 5s621ms 19 9 46s24ms 5s113ms [ User: pubeu - Total duration: 6m59s - Times executed: 91 ]
-
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 = '1254230' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-30 09:50:55 Duration: 6s123ms 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 = '1351228' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-31 22:31:20 Duration: 5s856ms 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 = '1303296' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-28 01:17:03 Duration: 5s847ms Bind query: yes
8 183 8m53s 1s69ms 11s689ms 2s914ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 27 20 6 15s402ms 2s567ms 21 3 11s258ms 3s752ms 22 3 5s833ms 1s944ms 23 3 11s413ms 3s804ms 00 4 9s988ms 2s497ms 01 2 4s441ms 2s220ms 02 1 2s656ms 2s656ms 03 2 4s186ms 2s93ms 04 3 6s167ms 2s55ms 05 2 3s407ms 1s703ms 06 1 2s684ms 2s684ms 07 3 16s209ms 5s403ms 08 2 9s442ms 4s721ms 09 5 19s312ms 3s862ms 10 2 2s678ms 1s339ms 11 1 4s363ms 4s363ms 12 2 6s857ms 3s428ms 13 2 12s881ms 6s440ms 14 1 4s888ms 4s888ms 15 1 2s12ms 2s12ms 16 2 5s314ms 2s657ms 17 3 4s184ms 1s394ms 18 1 2s586ms 2s586ms 19 4 14s898ms 3s724ms May 28 20 3 12s330ms 4s110ms 23 2 5s906ms 2s953ms 00 1 2s405ms 2s405ms 01 5 12s137ms 2s427ms 02 3 5s788ms 1s929ms 03 5 15s923ms 3s184ms 04 4 11s127ms 2s781ms 05 1 1s622ms 1s622ms 06 1 5s377ms 5s377ms 07 3 9s163ms 3s54ms 08 2 5s937ms 2s968ms 09 1 1s510ms 1s510ms 10 2 6s577ms 3s288ms 12 2 7s863ms 3s931ms 13 1 1s266ms 1s266ms 14 1 1s259ms 1s259ms 15 3 8s768ms 2s922ms 16 2 3s772ms 1s886ms 17 1 4s392ms 4s392ms 18 1 1s246ms 1s246ms 19 1 1s454ms 1s454ms May 29 20 4 14s682ms 3s670ms 21 2 7s836ms 3s918ms 22 1 1s362ms 1s362ms 23 1 2s885ms 2s885ms 00 5 6s786ms 1s357ms 01 7 25s683ms 3s669ms 02 2 5s717ms 2s858ms 03 1 1s365ms 1s365ms 04 2 4s276ms 2s138ms 06 1 2s525ms 2s525ms 07 1 2s621ms 2s621ms 08 1 1s641ms 1s641ms 09 2 3s572ms 1s786ms 10 1 6s59ms 6s59ms 12 2 5s937ms 2s968ms 13 2 2s668ms 1s334ms 19 1 4s643ms 4s643ms May 30 20 1 1s69ms 1s69ms 22 3 7s434ms 2s478ms 23 1 3s153ms 3s153ms 00 3 5s550ms 1s850ms 01 2 3s474ms 1s737ms 02 1 11s168ms 11s168ms 03 3 6s211ms 2s70ms 04 2 10s995ms 5s497ms 05 3 7s500ms 2s500ms 06 2 5s513ms 2s756ms 11 1 1s195ms 1s195ms 12 1 2s991ms 2s991ms 14 1 6s479ms 6s479ms 17 4 13s568ms 3s392ms May 31 20 2 2s485ms 1s242ms 21 1 3s822ms 3s822ms 23 1 3s26ms 3s26ms 00 1 1s980ms 1s980ms 04 2 8s206ms 4s103ms 06 1 1s349ms 1s349ms 07 2 6s422ms 3s211ms 08 1 2s408ms 2s408ms 09 1 1s217ms 1s217ms 12 1 3s20ms 3s20ms 13 1 1s328ms 1s328ms 15 1 2s629ms 2s629ms [ User: pubeu - Total duration: 3m27s - Times executed: 68 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-27 11:34:05 Duration: 11s689ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-27 17:14:46 Duration: 11s625ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-30 06:46:34 Duration: 11s168ms Database: ctdprd51 User: pubeu Bind query: yes
9 98 4m18s 1s9ms 13s844ms 2s640ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 27 21 3 4s412ms 1s470ms 22 2 3s870ms 1s935ms 23 2 4s489ms 2s244ms 00 1 1s172ms 1s172ms 01 1 1s532ms 1s532ms 02 3 23s626ms 7s875ms 03 1 2s836ms 2s836ms 05 1 2s266ms 2s266ms 06 1 1s480ms 1s480ms 07 1 1s288ms 1s288ms 10 2 2s678ms 1s339ms 14 1 9s66ms 9s66ms 15 1 1s429ms 1s429ms 17 1 2s884ms 2s884ms 18 2 2s771ms 1s385ms 19 2 2s929ms 1s464ms May 28 21 2 4s173ms 2s86ms 23 2 2s971ms 1s485ms 00 2 5s78ms 2s539ms 01 2 3s753ms 1s876ms 03 1 1s544ms 1s544ms 04 1 2s832ms 2s832ms 05 1 2s936ms 2s936ms 07 1 1s607ms 1s607ms 10 1 1s471ms 1s471ms 12 2 4s688ms 2s344ms 15 2 2s964ms 1s482ms 17 2 4s99ms 2s49ms 18 4 14s758ms 3s689ms May 29 20 2 2s356ms 1s178ms 23 2 2s666ms 1s333ms 00 1 1s281ms 1s281ms 01 1 3s153ms 3s153ms 02 3 9s907ms 3s302ms 03 1 2s944ms 2s944ms 05 1 2s211ms 2s211ms 06 2 4s842ms 2s421ms 07 1 9s66ms 9s66ms 08 1 1s711ms 1s711ms 12 2 2s948ms 1s474ms 13 1 1s277ms 1s277ms 14 2 2s770ms 1s385ms 16 1 1s500ms 1s500ms 17 1 1s303ms 1s303ms 19 2 5s886ms 2s943ms May 30 21 2 16s786ms 8s393ms 23 1 1s9ms 1s9ms 01 1 2s519ms 2s519ms 03 1 5s629ms 5s629ms 04 1 1s744ms 1s744ms 06 1 9s611ms 9s611ms 07 1 9s544ms 9s544ms 08 2 2s655ms 1s327ms 09 1 1s453ms 1s453ms 10 2 2s215ms 1s107ms 15 1 1s137ms 1s137ms May 31 20 1 1s283ms 1s283ms 02 1 2s820ms 2s820ms 04 1 1s76ms 1s76ms 05 1 3s106ms 3s106ms 09 1 7s378ms 7s378ms 10 1 1s265ms 1s265ms 11 1 1s258ms 1s258ms 14 2 4s301ms 2s150ms 15 1 1s372ms 1s372ms 19 2 3s177ms 1s588ms [ User: pubeu - Total duration: 2m10s - Times executed: 52 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1240389') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-30 01:37:12 Duration: 13s844ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1209010') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-30 10:54:35 Duration: 9s611ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1239965') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-30 11:33:36 Duration: 9s544ms Database: ctdprd51 User: pubeu Bind query: yes
10 72 1h20m30s 1s94ms 17m6s 1m7s 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 #10
Day Hour Count Duration Avg duration May 27 20 4 6s121ms 1s530ms 22 1 1s255ms 1s255ms 23 1 1s694ms 1s694ms 00 1 1s509ms 1s509ms 01 1 1s700ms 1s700ms 02 1 1s444ms 1s444ms 03 1 3m35s 3m35s 05 1 1s433ms 1s433ms 06 1 1s528ms 1s528ms 07 3 17m9s 5m43s 09 1 1s653ms 1s653ms 12 1 1s491ms 1s491ms 17 1 1s548ms 1s548ms 18 2 1m19s 39s650ms May 28 20 2 4m50s 2m25s 22 1 1s684ms 1s684ms 00 1 1s448ms 1s448ms 02 1 9m9s 9m9s 04 1 1s564ms 1s564ms 08 1 3m46s 3m46s 09 2 3s29ms 1s514ms 10 1 1s498ms 1s498ms 12 1 1s232ms 1s232ms 18 3 4s246ms 1s415ms May 29 23 1 1s465ms 1s465ms 03 2 3m37s 1m48s 05 3 48s94ms 16s31ms 07 1 1s362ms 1s362ms 08 2 3s50ms 1s525ms 15 1 1s547ms 1s547ms 18 1 1s554ms 1s554ms May 30 21 1 1m35s 1m35s 00 5 39s290ms 7s858ms 04 3 3m39s 1m13s 08 1 1s363ms 1s363ms 15 1 3s90ms 3s90ms 18 2 8m28s 4m14s May 31 00 2 2s971ms 1s485ms 02 1 17m6s 17m6s 03 2 3s101ms 1s550ms 04 1 1s626ms 1s626ms 05 1 3m35s 3m35s 07 2 2s871ms 1s435ms 08 1 1s740ms 1s740ms 11 1 1s729ms 1s729ms 12 2 2s910ms 1s455ms 16 1 1s630ms 1s630ms [ User: pubeu - Total duration: 39m31s - Times executed: 28 ]
-
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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-31 06:15:12 Duration: 17m6s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-27 11:39:36 Duration: 17m6s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1223394') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-28 06:17:44 Duration: 9m9s Bind query: yes
11 72 44m37s 1s378ms 6m27s 37s187ms select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 28 12 12 1m26s 7s219ms 13 19 11m57s 37s757ms May 29 04 8 7m50s 58s806ms 14 6 1m5s 10s993ms 17 6 14m37s 2m26s 18 14 3m54s 16s744ms 19 7 3m44s 32s113ms [ User: load - Total duration: 13m35s - Times executed: 23 ]
[ Application: pg_bulkload - Total duration: 13m35s - Times executed: 23 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2024-05-29 21:01:40 Duration: 6m27s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2024-05-29 21:29:17 Duration: 5m23s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2024-05-28 17:05:46 Duration: 3m48s Bind query: yes
12 66 9m21s 1s60ms 44s667ms 8s504ms 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 #12
Day Hour Count Duration Avg duration May 27 00 1 3s155ms 3s155ms 01 6 13s764ms 2s294ms 06 1 1s610ms 1s610ms 14 5 11s78ms 2s215ms 15 2 2s604ms 1s302ms May 28 22 3 4s732ms 1s577ms 02 3 4s688ms 1s562ms 04 2 2s588ms 1s294ms 05 2 3s743ms 1s871ms 08 5 1m3s 12s748ms 11 1 11s703ms 11s703ms May 29 20 1 26s514ms 26s514ms 23 1 1s563ms 1s563ms 00 2 4s603ms 2s301ms 01 3 44s229ms 14s743ms 03 1 3s257ms 3s257ms 06 2 3s665ms 1s832ms 15 2 2s825ms 1s412ms May 30 22 3 10s512ms 3s504ms 01 1 44s667ms 44s667ms 04 1 1s364ms 1s364ms 05 1 1s935ms 1s935ms 12 1 12s376ms 12s376ms 17 1 14s998ms 14s998ms May 31 20 1 3s265ms 3s265ms 01 2 3s721ms 1s860ms 05 7 4m9s 35s625ms 06 1 1s591ms 1s591ms 07 1 3s190ms 3s190ms 15 3 4s241ms 1s413ms [ User: pubeu - Total duration: 6m50s - Times executed: 39 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-30 05:49:17 Duration: 44s667ms 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 = '2076831') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-31 09:01:10 Duration: 41s522ms 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 = '2076831') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-31 09:01:06 Duration: 39s32ms Database: ctdprd51 User: pubeu Bind query: yes
13 62 1m25s 1s285ms 2s178ms 1s377ms 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 #13
Day Hour Count Duration Avg duration May 27 20 2 2s608ms 1s304ms 23 1 1s420ms 1s420ms 01 5 6s976ms 1s395ms 02 4 5s415ms 1s353ms 08 2 2s781ms 1s390ms 12 1 1s306ms 1s306ms 13 1 1s306ms 1s306ms 17 1 1s285ms 1s285ms 19 1 1s342ms 1s342ms May 28 21 2 2s713ms 1s356ms 01 2 2s692ms 1s346ms 07 1 1s335ms 1s335ms 11 1 1s373ms 1s373ms 19 3 4s187ms 1s395ms May 29 00 3 4s188ms 1s396ms 01 2 2s761ms 1s380ms 05 3 4s227ms 1s409ms 06 1 1s289ms 1s289ms 08 1 1s467ms 1s467ms 13 1 1s320ms 1s320ms 15 1 1s295ms 1s295ms 17 1 1s308ms 1s308ms May 30 01 3 4s910ms 1s636ms 02 1 1s354ms 1s354ms 06 1 1s418ms 1s418ms 07 1 1s333ms 1s333ms 08 4 5s400ms 1s350ms 16 1 1s305ms 1s305ms 19 1 1s314ms 1s314ms May 31 01 3 4s119ms 1s373ms 02 2 2s811ms 1s405ms 05 1 1s401ms 1s401ms 09 1 1s288ms 1s288ms 11 2 2s682ms 1s341ms 13 1 1s450ms 1s450ms [ User: pubeu - Total duration: 35s582ms - Times executed: 26 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-05-30 05:23:15 Duration: 2s178ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-05-29 12:14:55 Duration: 1s467ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-05-29 04:38:14 Duration: 1s460ms Bind query: yes
14 37 2m2s 1s177ms 6s938ms 3s312ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by gd.indirect_chem_qty desc, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 27 22 1 1s275ms 1s275ms 23 1 2s525ms 2s525ms 00 1 1s318ms 1s318ms 05 1 2s467ms 2s467ms 06 2 8s168ms 4s84ms 09 1 4s75ms 4s75ms 12 1 6s704ms 6s704ms 13 2 9s683ms 4s841ms 16 1 1s177ms 1s177ms 18 1 3s23ms 3s23ms May 28 23 1 2s435ms 2s435ms 00 1 1s178ms 1s178ms 10 1 1s364ms 1s364ms 13 1 4s827ms 4s827ms 16 1 5s441ms 5s441ms May 29 20 1 1s195ms 1s195ms 22 2 5s617ms 2s808ms 01 1 6s938ms 6s938ms 06 1 3s127ms 3s127ms 07 1 4s196ms 4s196ms 11 1 2s564ms 2s564ms 16 1 4s390ms 4s390ms May 30 02 1 1s273ms 1s273ms 05 1 1s209ms 1s209ms 14 1 6s217ms 6s217ms 17 1 4s512ms 4s512ms 18 1 4s245ms 4s245ms May 31 20 1 4s701ms 4s701ms 21 1 3s151ms 3s151ms 05 1 2s351ms 2s351ms 06 1 4s475ms 4s475ms 08 1 3s20ms 3s20ms 12 1 1s184ms 1s184ms 15 1 2s501ms 2s501ms [ User: pubeu - Total duration: 49s588ms - Times executed: 16 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2072801') ORDER BY gd.indirect_chem_qty DESC, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-29 05:26:57 Duration: 6s938ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2072801') ORDER BY gd.indirect_chem_qty DESC, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-27 16:42:45 Duration: 6s704ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2072801') ORDER BY gd.indirect_chem_qty DESC, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-30 18:51:25 Duration: 6s217ms Bind query: yes
15 37 1m24s 1s 3s576ms 2s295ms 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 #15
Day Hour Count Duration Avg duration May 27 01 2 6s637ms 3s318ms May 28 01 4 8s726ms 2s181ms 09 1 1s939ms 1s939ms May 29 01 3 7s758ms 2s586ms 03 1 1s872ms 1s872ms 04 1 3s270ms 3s270ms 05 1 2s424ms 2s424ms 07 1 1s898ms 1s898ms May 30 20 1 2s88ms 2s88ms 01 4 8s866ms 2s216ms 05 1 1s884ms 1s884ms 06 2 4s361ms 2s180ms 07 2 4s643ms 2s321ms 10 1 1s875ms 1s875ms May 31 00 1 1s888ms 1s888ms 01 3 7s887ms 2s629ms 04 1 1s918ms 1s918ms 05 4 8s660ms 2s165ms 11 2 4s370ms 2s185ms 17 1 1s963ms 1s963ms [ User: pubeu - Total duration: 38s84ms - Times executed: 14 ]
[ User: qaeu - Total duration: 23s819ms - 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 = '589314' 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 <= 2 ORDER BY sn.path;
Date: 2024-05-30 11:42:47 Duration: 3s576ms Database: ctdprd51 User: qaeu 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 = '589128' 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 <= 2 ORDER BY sn.path;
Date: 2024-05-29 05:40:12 Duration: 3s440ms Database: ctdprd51 User: qaeu 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 = '589314' 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 <= 2 ORDER BY sn.path;
Date: 2024-05-31 05:40:12 Duration: 3s438ms Database: ctdprd51 User: qaeu Bind query: yes
16 35 51s843ms 1s3ms 2s586ms 1s481ms select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ? offset ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 27 03 1 1s51ms 1s51ms 05 1 1s3ms 1s3ms 06 1 1s535ms 1s535ms 09 1 1s486ms 1s486ms 15 1 1s378ms 1s378ms 17 1 1s295ms 1s295ms 18 1 1s38ms 1s38ms May 28 00 1 1s567ms 1s567ms 05 1 1s568ms 1s568ms 09 1 1s682ms 1s682ms 12 2 3s260ms 1s630ms 17 1 1s459ms 1s459ms 19 1 1s108ms 1s108ms May 29 22 1 1s53ms 1s53ms 01 1 1s494ms 1s494ms 10 1 1s536ms 1s536ms 11 1 1s61ms 1s61ms 19 1 1s375ms 1s375ms May 30 21 1 1s820ms 1s820ms 22 1 1s803ms 1s803ms 23 1 1s836ms 1s836ms 00 1 1s464ms 1s464ms 06 2 2s871ms 1s435ms 08 1 1s527ms 1s527ms 09 1 1s562ms 1s562ms 11 2 3s965ms 1s982ms 16 1 1s575ms 1s575ms May 31 06 1 1s65ms 1s65ms 07 1 1s570ms 1s570ms 12 1 1s540ms 1s540ms 13 1 1s645ms 1s645ms 16 1 1s635ms 1s635ms [ User: pubeu - Total duration: 26s791ms - Times executed: 17 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2064774') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50 OFFSET 830050;
Date: 2024-05-30 15:59:13 Duration: 2s586ms 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 = '2069554') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50 OFFSET 150;
Date: 2024-05-30 03:22:28 Duration: 1s836ms 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 = '2069554') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50 OFFSET 350;
Date: 2024-05-30 01:00:34 Duration: 1s820ms Database: ctdprd51 User: pubeu Bind query: yes
17 34 1m43s 1s8ms 5s272ms 3s56ms 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 #17
Day Hour Count Duration Avg duration May 27 20 3 10s375ms 3s458ms 23 1 1s188ms 1s188ms 01 1 1s8ms 1s8ms 04 2 3s704ms 1s852ms 05 2 10s127ms 5s63ms 18 1 5s51ms 5s51ms 19 1 1s74ms 1s74ms May 28 22 1 1s318ms 1s318ms May 29 00 1 1s837ms 1s837ms 03 7 23s470ms 3s352ms 04 1 2s852ms 2s852ms 06 2 7s419ms 3s709ms May 30 13 1 5s272ms 5s272ms 14 6 13s967ms 2s327ms 16 1 2s839ms 2s839ms May 31 01 3 12s401ms 4s133ms [ User: pubeu - Total duration: 48s706ms - Times executed: 16 ]
-
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 = '1384112') 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 = '1384112') 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-05-30 17:12:55 Duration: 5s272ms 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 = '1384112') 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 = '1384112') 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-05-29 07:18:59 Duration: 5s204ms 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 = '1384112') 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 = '1384112') 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-05-27 09:48:56 Duration: 5s66ms Bind query: yes
18 32 40s558ms 1s3ms 1s528ms 1s267ms select fg.nm fromgenesymbol, fg.acc_txt fromgeneacc, tg.nm togenesymbol, tg.acc_txt togeneacc, ft.nm fromtaxonnm, ft.secondary_nm fromtaxoncommonnm, ft.acc_txt fromtaxonacc, tt.nm totaxonnm, tt.secondary_nm totaxoncommonnm, tt.acc_txt totaxonacc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( select string_agg(ggt.throughput_txt, ? order by ggt.throughput_txt) from gene_gene_ref_throughput ggt where ggt.gene_gene_reference_id = ggr.id) throughput, count(*) over () fullrowcount from gene_gene_reference ggr inner join term fg on ggr.from_gene_id = fg.id inner join term tg on ggr.to_gene_id = tg.id inner join term ft on ggr.from_taxon_id = ft.id inner join term tt on ggr.to_taxon_id = tt.id where ggr.reference_id = ? order by fg.nm_sort, tg.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 27 01 4 5s632ms 1s408ms May 28 01 4 5s106ms 1s276ms May 29 01 4 5s21ms 1s255ms May 30 01 4 5s407ms 1s351ms 03 1 1s30ms 1s30ms 06 2 2s541ms 1s270ms May 31 23 1 1s13ms 1s13ms 01 3 4s305ms 1s435ms 03 1 1s212ms 1s212ms 04 1 1s80ms 1s80ms 05 1 1s54ms 1s54ms 07 1 1s79ms 1s79ms 11 3 3s635ms 1s211ms 12 1 1s205ms 1s205ms 13 1 1s229ms 1s229ms [ User: pubeu - Total duration: 9s155ms - Times executed: 8 ]
[ User: qaeu - Total duration: 5s603ms - Times executed: 4 ]
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-05-30 05:43:07 Duration: 1s528ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-05-27 05:38:09 Duration: 1s511ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-05-29 05:38:13 Duration: 1s500ms Bind query: yes
19 29 1m59s 1s251ms 12s15ms 4s114ms 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 desc, 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 May 27 21 1 12s15ms 12s15ms 23 1 1s278ms 1s278ms 04 1 6s532ms 6s532ms 13 1 4s260ms 4s260ms 18 1 1s251ms 1s251ms May 28 23 1 6s121ms 6s121ms 03 1 1s829ms 1s829ms 05 1 5s879ms 5s879ms 12 3 10s66ms 3s355ms 14 1 5s778ms 5s778ms 15 1 6s387ms 6s387ms 19 1 2s612ms 2s612ms May 29 01 3 12s572ms 4s190ms 02 1 4s882ms 4s882ms 12 1 6s124ms 6s124ms May 30 21 2 5s833ms 2s916ms 14 2 5s601ms 2s800ms May 31 00 1 1s963ms 1s963ms 06 2 7s118ms 3s559ms 11 1 1s970ms 1s970ms 13 1 2s528ms 2s528ms 16 1 6s699ms 6s699ms [ User: pubeu - Total duration: 47s458ms - Times executed: 14 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2070029') ORDER BY actionTypes DESC, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-27 01:43:23 Duration: 12s15ms 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 = '2076925') ORDER BY actionTypes DESC, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-31 20:30:03 Duration: 6s699ms 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 = '2076133') ORDER BY actionTypes DESC, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-27 08:13:11 Duration: 6s532ms Bind query: yes
20 28 1m20s 1s177ms 5s258ms 2s881ms 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 #20
Day Hour Count Duration Avg duration May 27 00 1 5s222ms 5s222ms 04 1 1s843ms 1s843ms 08 2 2s477ms 1s238ms 14 1 3s749ms 3s749ms 15 1 5s172ms 5s172ms 18 1 5s195ms 5s195ms May 28 21 1 1s296ms 1s296ms 00 1 2s753ms 2s753ms 01 1 1s532ms 1s532ms 14 1 1s853ms 1s853ms 16 2 7s326ms 3s663ms May 29 00 1 5s258ms 5s258ms 01 1 2s885ms 2s885ms 09 1 2s491ms 2s491ms 15 1 2s910ms 2s910ms 18 1 1s272ms 1s272ms May 30 00 1 1s943ms 1s943ms 04 1 3s773ms 3s773ms 09 1 3s666ms 3s666ms 11 1 1s284ms 1s284ms 15 1 2s296ms 2s296ms May 31 20 2 6s744ms 3s372ms 12 1 3s859ms 3s859ms 15 1 1s493ms 1s493ms 16 1 2s371ms 2s371ms [ User: pubeu - Total duration: 31s850ms - Times executed: 13 ]
-
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 = '1384112') 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 = '1384112') 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 100;
Date: 2024-05-29 04:24:11 Duration: 5s258ms 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 = '1384112') 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 = '1384112') 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 150;
Date: 2024-05-27 04:33:20 Duration: 5s222ms 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 = '1384112') 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 = '1384112') 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-05-27 22:55:30 Duration: 5s195ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 1h56m 1h56m 1h56m 1 1h56m select pub1.maint_term_derive_data ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 30 01 1 1h56m 1h56m -
select pub1.maint_term_derive_data ();
Date: 2024-05-30 05:55:20 Duration: 1h56m Bind query: yes
2 1h35m57s 1h35m57s 1h35m57s 1 1h35m57s select pub1.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 30 21 1 1h35m57s 1h35m57s -
select pub1.maint_gene_chem_ref_gene_form_refresh ();
Date: 2024-05-30 01:57:01 Duration: 1h35m57s Bind query: yes
3 1h7m21s 1h7m21s 1h7m21s 1 1h7m21s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 30 23 1 1h7m21s 1h7m21s -
SELECT maint_term_derive_nm_fts ();
Date: 2024-05-30 03:07:10 Duration: 1h7m21s Bind query: yes
4 0ms 46m7s 46m7s 1 46m7s vacuum full analyze;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 30 23 1 46m7s 46m7s -
VACUUM FULL ANALYZE;
Date: 2024-05-30 03:58:57 Duration: 46m7s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2024-05-30 03:20:22 Duration: 0ms
5 39m46s 39m46s 39m46s 1 39m46s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub1.object_type where cd = ?), ( select current_date) from pub1.gene_chem_reference gcr, pub1.gene_go_annot gga, pub1.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 29 16 1 39m46s 39m46s -
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub1.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub1.GENE_CHEM_REFERENCE gcr, pub1.GENE_GO_ANNOT gga, pub1.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub1.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2024-05-29 20:50:52 Duration: 39m46s Bind query: yes
6 38m56s 38m56s 38m56s 1 38m56s select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub1.object_type where cd = ?), ptr.term_id, ( select id from pub1.object_type where cd = ?), ( select current_date) from pub1.gene_chem_reference gcr, pub1.phenotype_term_reference ptr, pub1.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 29 16 1 38m56s 38m56s -
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub1.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub1.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub1.GENE_CHEM_REFERENCE gcr, pub1.PHENOTYPE_TERM_REFERENCE ptr, pub1.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub1.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2024-05-29 20:11:00 Duration: 38m56s Bind query: yes
7 34m6s 34m6s 34m6s 1 34m6s select i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) from edit.ixn i, edit.reference_ixn r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in (...) order by i.id asc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 29 14 1 34m6s 34m6s -
SELECT i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) FROM edit.IXN i, edit.REFERENCE_IXN r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in ('bogusName') order by i.id asc;
Date: 2024-05-29 18:39:35 Duration: 34m6s Bind query: yes
8 33m23s 33m23s 33m23s 1 33m23s select pub1.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 30 02 1 33m23s 33m23s -
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2024-05-30 06:38:45 Duration: 33m23s Bind query: yes
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2024-05-30 06:34:36 Duration: 0ms
9 23m6s 23m6s 23m6s 1 23m6s insert into pub1.gene_go_annot (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.gene_go_annot;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 29 13 1 23m6s 23m6s -
insert into pub1.GENE_GO_ANNOT (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.GENE_GO_ANNOT;
Date: 2024-05-29 17:57:10 Duration: 23m6s Bind query: yes
10 23m2s 23m2s 23m2s 1 23m2s update pub1.gene_disease gd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.gene_disease_reference gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub1.reference r where has_exposures = true));Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 30 20 1 23m2s 23m2s -
update pub1.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub1.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub1.REFERENCE r where has_exposures = true));
Date: 2024-05-30 00:15:50 Duration: 23m2s Bind query: yes
11 15m56s 16m10s 16m3s 5 1h20m16s select maint_query_logs_archive ();Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 27 20 1 16m 16m May 28 20 1 15m56s 15m56s May 29 20 1 16m1s 16m1s May 30 20 1 16m6s 16m6s May 31 20 1 16m10s 16m10s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-31 00:16:12 Duration: 16m10s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-30 00:16:08 Duration: 16m6s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-29 00:16:03 Duration: 16m1s
12 12m17s 12m17s 12m17s 1 12m17s alter table pub1.term_enrichment_agent add constraint term_enr_agent_term_enr_fk foreign key (term_id, enriched_term_id) references term_enrichment (term_id, enriched_term_id);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 29 19 1 12m17s 12m17s -
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enr_agent_term_enr_fk FOREIGN KEY (term_id, enriched_term_id) REFERENCES term_enrichment (term_id, enriched_term_id);
Date: 2024-05-29 23:27:32 Duration: 12m17s Bind query: yes
13 1s94ms 17m6s 1m7s 72 1h20m30s 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 #13
Day Hour Count Duration Avg duration May 27 20 4 6s121ms 1s530ms 22 1 1s255ms 1s255ms 23 1 1s694ms 1s694ms 00 1 1s509ms 1s509ms 01 1 1s700ms 1s700ms 02 1 1s444ms 1s444ms 03 1 3m35s 3m35s 05 1 1s433ms 1s433ms 06 1 1s528ms 1s528ms 07 3 17m9s 5m43s 09 1 1s653ms 1s653ms 12 1 1s491ms 1s491ms 17 1 1s548ms 1s548ms 18 2 1m19s 39s650ms May 28 20 2 4m50s 2m25s 22 1 1s684ms 1s684ms 00 1 1s448ms 1s448ms 02 1 9m9s 9m9s 04 1 1s564ms 1s564ms 08 1 3m46s 3m46s 09 2 3s29ms 1s514ms 10 1 1s498ms 1s498ms 12 1 1s232ms 1s232ms 18 3 4s246ms 1s415ms May 29 23 1 1s465ms 1s465ms 03 2 3m37s 1m48s 05 3 48s94ms 16s31ms 07 1 1s362ms 1s362ms 08 2 3s50ms 1s525ms 15 1 1s547ms 1s547ms 18 1 1s554ms 1s554ms May 30 21 1 1m35s 1m35s 00 5 39s290ms 7s858ms 04 3 3m39s 1m13s 08 1 1s363ms 1s363ms 15 1 3s90ms 3s90ms 18 2 8m28s 4m14s May 31 00 2 2s971ms 1s485ms 02 1 17m6s 17m6s 03 2 3s101ms 1s550ms 04 1 1s626ms 1s626ms 05 1 3m35s 3m35s 07 2 2s871ms 1s435ms 08 1 1s740ms 1s740ms 11 1 1s729ms 1s729ms 12 2 2s910ms 1s455ms 16 1 1s630ms 1s630ms [ User: pubeu - Total duration: 39m31s - Times executed: 28 ]
-
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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-31 06:15:12 Duration: 17m6s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-27 11:39:36 Duration: 17m6s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1223394') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-28 06:17:44 Duration: 9m9s Bind query: yes
14 2s333ms 10m22s 40s717ms 21 14m15s select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, to_char(cdr.mod_tm, ?) from pub1.gene_chem_reference gcr, pub1.chem_disease_reference cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = ? and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 29 14 1 10m22s 10m22s 15 20 3m52s 11s644ms [ User: load - Total duration: 10m22s - Times executed: 1 ]
-
select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn where action_degree_type_nm = 'does not affect');
Date: 2024-05-29 18:52:40 Duration: 10m22s Database: ctdprd51 User: load Bind query: yes
-
select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn where action_degree_type_nm = 'does not affect');
Date: 2024-05-29 19:09:15 Duration: 51s124ms Bind query: yes
-
select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn where action_degree_type_nm = 'does not affect');
Date: 2024-05-29 19:14:42 Duration: 48s950ms Bind query: yes
15 1s378ms 6m27s 37s187ms 72 44m37s select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 28 12 12 1m26s 7s219ms 13 19 11m57s 37s757ms May 29 04 8 7m50s 58s806ms 14 6 1m5s 10s993ms 17 6 14m37s 2m26s 18 14 3m54s 16s744ms 19 7 3m44s 32s113ms [ User: load - Total duration: 13m35s - Times executed: 23 ]
[ Application: pg_bulkload - Total duration: 13m35s - Times executed: 23 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2024-05-29 21:01:40 Duration: 6m27s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2024-05-29 21:29:17 Duration: 5m23s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2024-05-28 17:05:46 Duration: 3m48s Bind query: yes
16 1s18ms 54s858ms 33s394ms 3,188 1d5h34m21s 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 May 27 20 3 8s559ms 2s853ms 21 5 31s510ms 6s302ms 22 1 3s986ms 3s986ms 23 1 5s333ms 5s333ms 00 4 13s227ms 3s306ms 01 3 16s864ms 5s621ms 02 3 14s301ms 4s767ms 03 2 8s410ms 4s205ms 04 4 25s631ms 6s407ms 05 4 17s491ms 4s372ms 06 2 10s290ms 5s145ms 07 3 19s688ms 6s562ms 08 2 8s719ms 4s359ms 09 2 6s891ms 3s445ms 10 1 6s490ms 6s490ms 11 4 15s226ms 3s806ms 12 2 11s126ms 5s563ms 13 2 40s535ms 20s267ms 14 3 4s991ms 1s663ms 15 5 14s350ms 2s870ms 16 5 13s709ms 2s741ms 17 1 4s809ms 4s809ms 18 3 15s231ms 5s77ms 19 5 25s916ms 5s183ms May 28 20 1 21s490ms 21s490ms 21 2 7s723ms 3s861ms 23 3 9s975ms 3s325ms 01 5 15s104ms 3s20ms 02 1 5s479ms 5s479ms 04 2 5s57ms 2s528ms 05 1 5s971ms 5s971ms 06 4 14s178ms 3s544ms 07 2 3s953ms 1s976ms 08 1 5s790ms 5s790ms 09 1 3s115ms 3s115ms 10 1 6s482ms 6s482ms 11 2 7s311ms 3s655ms 12 3 10s83ms 3s361ms 13 4 20s656ms 5s164ms 14 2 8s549ms 4s274ms 15 6 10s871ms 1s811ms 17 4 9s959ms 2s489ms 18 4 10s309ms 2s577ms 19 2 3s199ms 1s599ms May 29 20 3 13s239ms 4s413ms 21 5 29s154ms 5s830ms 22 2 10s102ms 5s51ms 23 3 7s876ms 2s625ms 00 1 2s193ms 2s193ms 01 5 21s382ms 4s276ms 02 1 13s437ms 13s437ms 03 2 8s764ms 4s382ms 04 3 20s998ms 6s999ms 05 3 8s387ms 2s795ms 06 1 26s919ms 26s919ms 07 3 13s886ms 4s628ms 08 1 1s381ms 1s381ms 09 4 19s386ms 4s846ms 10 3 8s207ms 2s735ms 11 2 7s732ms 3s866ms 12 2 12s324ms 6s162ms 13 1 2s694ms 2s694ms 14 3 12s455ms 4s151ms 15 54 31m45s 35s292ms 16 99 56m44s 34s388ms 17 93 56m25s 36s404ms 18 96 56m23s 35s245ms 19 62 36m7s 34s953ms May 30 20 1 8s75ms 8s75ms 21 1 1s948ms 1s948ms 22 44 25m12s 34s365ms 23 92 56m51s 37s83ms 00 98 56m22s 34s511ms 01 85 49m52s 35s200ms 02 93 56m 36s130ms 03 96 53m54s 33s695ms 04 99 56m29s 34s234ms 05 99 56m27s 34s214ms 06 100 57m19s 34s396ms 07 92 56m 36s524ms 08 91 56m41s 37s375ms 09 100 57m5s 34s255ms 10 97 56m50s 35s160ms 11 96 56m29s 35s302ms 12 95 56m37s 35s758ms 13 96 56m14s 35s151ms 14 97 56m43s 35s88ms 15 97 56m49s 35s147ms 16 100 56m38s 33s987ms 17 95 56m25s 35s634ms 18 96 57m11s 35s744ms 19 96 56m19s 35s202ms May 31 20 96 56m51s 35s533ms 21 97 56m28s 34s937ms 22 94 56m47s 36s252ms 23 93 56m27s 36s424ms 00 94 56m41s 36s181ms 01 59 34m12s 34s781ms 03 2 8s501ms 4s250ms 04 2 6s767ms 3s383ms 05 2 3s815ms 1s907ms 06 1 6s64ms 6s64ms 07 2 3s104ms 1s552ms 08 2 8s734ms 4s367ms 09 2 10s780ms 5s390ms 10 2 9s739ms 4s869ms 11 1 2s668ms 2s668ms 13 2 8s331ms 4s165ms 14 1 7s982ms 7s982ms 16 3 11s84ms 3s694ms 17 1 5s2ms 5s2ms 18 2 13s520ms 6s760ms 19 1 6s383ms 6s383ms [ User: pubeu - Total duration: 21h14m28s - Times executed: 2230 ]
-
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 = '2064774') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 8842450;
Date: 2024-05-30 10:42:49 Duration: 54s858ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1549650;
Date: 2024-05-29 22:08:24 Duration: 45s83ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1541300;
Date: 2024-05-30 03:29:25 Duration: 43s243ms Database: ctdprd51 User: pubeu Bind query: yes
17 4s7ms 33m14s 13s525ms 218 49m8s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 30 08 218 49m8s 13s525ms [ User: qaeu - Total duration: 33m14s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-05-30 12:04:32 Duration: 33m14s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-05-30 12:23:22 Duration: 5s874ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-05-30 12:23:00 Duration: 5s833ms Bind query: yes
18 1s60ms 44s667ms 8s504ms 66 9m21s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 27 00 1 3s155ms 3s155ms 01 6 13s764ms 2s294ms 06 1 1s610ms 1s610ms 14 5 11s78ms 2s215ms 15 2 2s604ms 1s302ms May 28 22 3 4s732ms 1s577ms 02 3 4s688ms 1s562ms 04 2 2s588ms 1s294ms 05 2 3s743ms 1s871ms 08 5 1m3s 12s748ms 11 1 11s703ms 11s703ms May 29 20 1 26s514ms 26s514ms 23 1 1s563ms 1s563ms 00 2 4s603ms 2s301ms 01 3 44s229ms 14s743ms 03 1 3s257ms 3s257ms 06 2 3s665ms 1s832ms 15 2 2s825ms 1s412ms May 30 22 3 10s512ms 3s504ms 01 1 44s667ms 44s667ms 04 1 1s364ms 1s364ms 05 1 1s935ms 1s935ms 12 1 12s376ms 12s376ms 17 1 14s998ms 14s998ms May 31 20 1 3s265ms 3s265ms 01 2 3s721ms 1s860ms 05 7 4m9s 35s625ms 06 1 1s591ms 1s591ms 07 1 3s190ms 3s190ms 15 3 4s241ms 1s413ms [ User: pubeu - Total duration: 6m50s - Times executed: 39 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-30 05:49:17 Duration: 44s667ms 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 = '2076831') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-31 09:01:10 Duration: 41s522ms 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 = '2076831') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-31 09:01:06 Duration: 39s32ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s1ms 6s123ms 4s550ms 191 14m29s 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 #19
Day Hour Count Duration Avg duration May 27 21 1 4s585ms 4s585ms 22 2 9s354ms 4s677ms 00 2 8s646ms 4s323ms 02 1 5s155ms 5s155ms 03 2 9s315ms 4s657ms 04 1 4s556ms 4s556ms 05 4 19s66ms 4s766ms 07 1 5s255ms 5s255ms 08 1 4s970ms 4s970ms 09 2 8s890ms 4s445ms 12 2 9s856ms 4s928ms 14 1 4s695ms 4s695ms 16 1 5s494ms 5s494ms 17 3 13s858ms 4s619ms 18 3 14s387ms 4s795ms 19 1 4s531ms 4s531ms May 28 21 4 15s976ms 3s994ms 23 6 24s991ms 4s165ms 00 4 18s175ms 4s543ms 01 1 4s355ms 4s355ms 02 1 4s629ms 4s629ms 03 1 4s720ms 4s720ms 04 4 18s934ms 4s733ms 05 4 19s129ms 4s782ms 06 1 4s441ms 4s441ms 07 4 17s883ms 4s470ms 08 1 4s494ms 4s494ms 09 5 25s139ms 5s27ms 10 3 15s234ms 5s78ms 11 2 8s876ms 4s438ms 12 2 9s182ms 4s591ms 13 1 5s82ms 5s82ms 18 1 4s299ms 4s299ms 19 4 18s734ms 4s683ms May 29 21 2 9s160ms 4s580ms 22 1 4s236ms 4s236ms 23 4 18s809ms 4s702ms 00 2 9s554ms 4s777ms 01 2 10s255ms 5s127ms 02 2 9s227ms 4s613ms 03 1 4s521ms 4s521ms 04 3 14s27ms 4s675ms 05 2 9s273ms 4s636ms 06 3 13s742ms 4s580ms 09 4 17s827ms 4s456ms 10 6 30s712ms 5s118ms 12 2 5s253ms 2s626ms 13 2 10s115ms 5s57ms 16 1 1s30ms 1s30ms 18 6 30s459ms 5s76ms 19 1 4s358ms 4s358ms May 30 20 1 4s968ms 4s968ms 22 2 2s40ms 1s20ms 23 2 10s474ms 5s237ms 00 1 4s511ms 4s511ms 01 1 1s270ms 1s270ms 02 1 1s88ms 1s88ms 04 2 10s40ms 5s20ms 05 2 10s881ms 5s440ms 06 3 10s732ms 3s577ms 08 1 5s294ms 5s294ms 10 1 5s171ms 5s171ms 11 1 5s35ms 5s35ms 13 2 8s492ms 4s246ms 14 4 18s917ms 4s729ms 16 1 4s796ms 4s796ms 18 1 5s94ms 5s94ms 19 1 1s37ms 1s37ms May 31 20 1 5s96ms 5s96ms 21 3 14s843ms 4s947ms 00 4 16s52ms 4s13ms 01 2 5s809ms 2s904ms 03 2 9s515ms 4s757ms 04 3 13s567ms 4s522ms 05 1 4s550ms 4s550ms 07 1 5s83ms 5s83ms 08 1 5s159ms 5s159ms 09 2 10s253ms 5s126ms 11 1 4s932ms 4s932ms 12 1 4s687ms 4s687ms 13 3 15s832ms 5s277ms 14 3 15s134ms 5s44ms 15 2 6s297ms 3s148ms 16 1 1s8ms 1s8ms 17 1 4s781ms 4s781ms 18 2 11s243ms 5s621ms 19 9 46s24ms 5s113ms [ User: pubeu - Total duration: 6m59s - Times executed: 91 ]
-
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 = '1254230' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-30 09:50:55 Duration: 6s123ms 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 = '1351228' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-31 22:31:20 Duration: 5s856ms 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 = '1303296' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-28 01:17:03 Duration: 5s847ms Bind query: yes
20 1s251ms 12s15ms 4s114ms 29 1m59s 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 desc, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 27 21 1 12s15ms 12s15ms 23 1 1s278ms 1s278ms 04 1 6s532ms 6s532ms 13 1 4s260ms 4s260ms 18 1 1s251ms 1s251ms May 28 23 1 6s121ms 6s121ms 03 1 1s829ms 1s829ms 05 1 5s879ms 5s879ms 12 3 10s66ms 3s355ms 14 1 5s778ms 5s778ms 15 1 6s387ms 6s387ms 19 1 2s612ms 2s612ms May 29 01 3 12s572ms 4s190ms 02 1 4s882ms 4s882ms 12 1 6s124ms 6s124ms May 30 21 2 5s833ms 2s916ms 14 2 5s601ms 2s800ms May 31 00 1 1s963ms 1s963ms 06 2 7s118ms 3s559ms 11 1 1s970ms 1s970ms 13 1 2s528ms 2s528ms 16 1 6s699ms 6s699ms [ User: pubeu - Total duration: 47s458ms - Times executed: 14 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2070029') ORDER BY actionTypes DESC, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-27 01:43:23 Duration: 12s15ms 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 = '2076925') ORDER BY actionTypes DESC, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-31 20:30:03 Duration: 6s699ms 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 = '2076133') ORDER BY actionTypes DESC, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-27 08:13:11 Duration: 6s532ms 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 3s525ms 2 1s762ms 1s762ms 1s762ms select distinct ptr.phenotype_id, ptr.term_id, i.action_type_nm, i.action_type_cd, i.action_degree_type_nm, i.action_degree_type_cd from pub1.PHENOTYPE_TERM_REFERENCE ptr, pub1.IXN_AXN i where ptr.ixn_id = i.ixn_id;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration May 31 19 2 3s525ms 1s762ms -
select distinct ptr.phenotype_id, ptr.term_id, i.action_type_nm, i.action_type_cd, i.action_degree_type_nm, i.action_degree_type_cd from pub1.PHENOTYPE_TERM_REFERENCE ptr, pub1.IXN_AXN i where ptr.ixn_id = i.ixn_id;
Date: 2024-05-29 23:45:11 Duration: 1s762ms Database: postgres
2 2s138ms 2 1s69ms 1s69ms 1s69ms SELECT /* GeneDiseaseChemsDAO */ ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 18 2 2s138ms 1s69ms -
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2024-05-27 23:17:49 Duration: 1s69ms Database: postgres parameters: $1 = '2066403'
3 0ms 224 0ms 0ms 0ms ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration May 26 01 1 0ms 0ms 03 3 0ms 0ms 04 4 0ms 0ms 05 5 0ms 0ms May 27 20 1 0ms 0ms 02 6 0ms 0ms 03 14 0ms 0ms 04 8 0ms 0ms 10 8 0ms 0ms 11 2 0ms 0ms May 28 01 12 0ms 0ms 02 16 0ms 0ms 03 2 0ms 0ms 05 2 0ms 0ms 06 6 0ms 0ms 07 10 0ms 0ms 08 6 0ms 0ms 09 4 0ms 0ms 10 2 0ms 0ms 11 4 0ms 0ms 13 2 0ms 0ms May 29 02 4 0ms 0ms 03 26 0ms 0ms 04 10 0ms 0ms 05 2 0ms 0ms 06 6 0ms 0ms 07 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms May 30 21 1 0ms 0ms 00 6 0ms 0ms 01 2 0ms 0ms 02 8 0ms 0ms 03 10 0ms 0ms 07 2 0ms 0ms May 31 02 4 0ms 0ms 03 4 0ms 0ms 06 3 0ms 0ms 08 2 0ms 0ms 09 3 0ms 0ms 10 1 0ms 0ms 12 3 0ms 0ms 13 3 0ms 0ms [ User: pubeu - Total duration: 4m36s - Times executed: 125 ]
[ User: qaeu - Total duration: 7s803ms - Times executed: 2 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '2075389', $2 = '2075389'
-
Events
Log levels
Key values
- 107,757 Log entries
Events distribution
Key values
- 0 PANIC entries
- 7 FATAL entries
- 64 ERROR entries
- 1297 WARNING entries
Most Frequent Errors/Events
Key values
- 1,024 Max number of times the same event was reported
- 1,368 Total events found
Rank Times reported Error 1 1,024 WARNING: skipping "..." --- only table or database owner can vacuum it
Times Reported Most Frequent Error / Event #1
Day Hour Count May 30 23 1,024 2 224 WARNING: skipping "..." --- only superuser or database owner can vacuum it
Times Reported Most Frequent Error / Event #2
Day Hour Count May 30 23 224 3 43 WARNING: skipping "..." --- only superuser can vacuum it
Times Reported Most Frequent Error / Event #3
Day Hour Count May 30 23 43 4 30 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #4
Day Hour Count May 27 09 1 May 28 08 1 10 1 13 2 17 1 18 1 May 29 21 1 02 2 03 1 05 1 08 2 12 1 15 1 May 30 04 2 17 1 19 1 May 31 20 1 00 1 02 1 03 1 06 1 07 2 14 2 18 1 - ERROR: syntax error in ts"エーザイ & ユベラNソフトカプセル200MG 販売"
- ERROR: syntax error in ts"NMDZ & THJYXZ< & >DQMMWQ"
- ERROR: syntax error in ts"エーザイ & ユベラNソフトカプセル200MG 販売"
Statement: SELECT /* GoBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ n.acc_txt acc ,n.acc_txt accQueryStr ,n.nm ,n.nm_html nmHtml ,l.nm matchednm ,lt.nm_display matchedtype ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isNameMatch ,d.nm rankNm ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,n.nm_sort ,n.object_id id ,n.has_genes hasGenes ,n.has_diseases hasDiseases ,n.has_exposures hasExposures ,n.has_phenotypes hasPhenotypes FROM dag_node n INNER JOIN term_label l ON l.term_id = n.object_id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id INNER JOIN dag d ON n.dag_id = d.id WHERE l.object_type_id = 5 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 5 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ n.acc_txt acc ,n.acc_txt accQueryStr ,n.nm ,n.nm_html nmHtml ,n.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,d.nm rankNm ,1 relevance ,n.nm_sort ,n.object_id id ,n.has_genes hasGenes ,n.has_diseases hasDiseases ,n.has_exposures hasExposures ,n.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN dag_node n ON l.object_id = n.object_id INNER JOIN dag d ON n.dag_id = d.id WHERE l.type_cd = 'A' AND l.object_type_id = 5 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 ) ORDER BY 9, 10 ) sq LIMIT 50
Date: 2024-05-27 13:54:10 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $6 OR upper( l.acc_txt ) LIKE $7 OR upper( l.acc_txt ) LIKE $8 ) ) ii GROUP BY ii.cd
Date: 2024-05-28 12:38:49 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-05-28 14:19:47 Database: ctdprd51 Application: User: pubeu Remote:
5 13 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #5
Day Hour Count May 28 15 3 16 3 May 30 13 4 15 3 6 8 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count May 28 09 4 May 30 07 3 May 31 05 1 7 6 WARNING: there is no transaction in progress
Times Reported Most Frequent Error / Event #7
Day Hour Count May 30 23 2 01 3 02 1 8 5 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #8
Day Hour Count May 27 07 1 May 29 17 1 May 30 07 1 May 31 02 1 05 1 - FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-05-31 09:12:24
9 4 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #9
Day Hour Count May 27 07 1 May 29 17 1 May 31 02 1 05 1 - ERROR: could not send data to client: Broken pipe
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-05-31 09:12:24 Database: ctdprd51 Application: User: pubeu Remote:
10 2 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #10
Day Hour Count May 31 05 2 11 2 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count May 29 02 2 - ERROR: syntax error at or near "," at character 22
- ERROR: syntax error at or near "m" at character 1
Statement: select ixn_id, ,reference_acc_txt ,taxon_acc_txt ,pubTerm.nm ,get_ixn_prose( ixn_id ) ,create_by ,create_tm from edit.reference_ixn ri ,pub2.term pubTerm where taxon_acc_txt not in ( select acc_txt from load.term where object_type_id = ( select id from edit.object_type where cd = 'taxon' ) ) and pubTerm.acc_txt = ri.taxon_acc_txt and object_type_id = ( select id from edit.object_type where cd = 'taxon' ) and taxon_acc_txt is not null and taxon_acc_txt <> ''
Date: 2024-05-29 06:39:07 Database: ctdprd51 Application: pgAdmin 4 - CONN:2607015 User: edit Remote:
Statement: m
Date: 2024-05-29 06:51:28
12 1 ERROR: operator does not exist: character varying ~~ record
Times Reported Most Frequent Error / Event #12
Day Hour Count May 30 07 1 - ERROR: operator does not exist: character varying ~~ record at character 52
Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
Statement: begin transaction; delete from pub1.img where url like ( '%98530-19-9.png', '%12345.png' )Date: 2024-05-30 11:31:40
13 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #13
Day Hour Count May 29 02 1 - ERROR: column "9831364" does not exist at character 80
Statement: select * from reference_ixn where ixn_id = 3212756 and reference_acc_txt = "9831364" and taxon_acc_txt = "10032"
Date: 2024-05-29 06:43:37 Database: ctdprd51 Application: pgAdmin 4 - CONN:422910 User: edit Remote:
14 1 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #14
Day Hour Count May 29 08 1 - ERROR: process 385623 still waiting for AccessShareLock on relation 2633821 of database 484829 after 1000.071 ms at character 22
Detail: Processes holding the lock: 384692, 757423, 757425, 757424, 757426. Wait queue: 385623.
Statement: select count(*) from edit.db_linkDate: 2024-05-29 12:15:39
15 1 ERROR: missing FROM-clause entry for table "..."
Times Reported Most Frequent Error / Event #15
Day Hour Count May 29 03 1 - ERROR: missing FROM-clause entry for table "i" at character 23
Statement: select get_ixn_prose( i.id ) from ixn where id in ( 6878326 ,6878305 ,3212756 )
Date: 2024-05-29 07:12:40
16 1 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #16
Day Hour Count May 29 17 1 - ERROR: canceling statement due to user request
Statement: SELECT pg_database_size(datname::text) FROM pg_catalog.pg_database WHERE datistemplate = false AND datname = $1;
Date: 2024-05-29 21:29:07
17 1 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #17
Day Hour Count May 30 07 1 18 1 ERROR: zero-length delimited identifier at or near """"
Times Reported Most Frequent Error / Event #18
Day Hour Count May 28 09 1 - ERROR: zero-length delimited identifier at or near """" at character 47
Statement: -- This is the AGGREGATE Report: select nm as ""Underlying Term Name"" ,acc_txt as ""Underlying Term Accession"" ,synonym ,reference_acc_txt ,notes ,create_by ,create_tm from edit.term_label where acc_txt not in ( select acc_txt from pub2.term ) order by acc_txt
Date: 2024-05-28 13:40:03 Database: ctdprd51 Application: pgAdmin 4 - CONN:2607015 User: edit Remote: