-
Global information
- Generated on Sun Nov 24 04:15:20 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20241123
- Parsed 213,612 log entries in 18s
- Log start from 2024-11-17 00:00:01 to 2024-11-23 23:59:42
-
Overview
Global Stats
- 599 Number of unique normalized queries
- 10,428 Number of queries
- 1d23h43m57s Total query duration
- 2024-11-17 00:01:08 First query
- 2024-11-23 23:59:23 Last query
- 8 queries/s at 2024-11-20 10:26:09 Query peak
- 1d23h43m57s Total query duration
- 0ms Prepare/parse total duration
- 4s44ms Bind total duration
- 1d23h43m53s Execute total duration
- 1,439 Number of events
- 18 Number of unique normalized events
- 1,039 Max number of times the same event was reported
- 0 Number of cancellation
- 160 Total number of automatic vacuums
- 307 Total number of automatic analyzes
- 2,865 Number temporary file
- 1.00 GiB Max size of temporary file
- 185.36 MiB Average size of temporary file
- 16,422 Total number of sessions
- 164 sessions at 2024-11-23 02:10:14 Session peak
- 419d18h25m42s Total duration of sessions
- 36m48s Average duration of sessions
- 0 Average queries per session
- 10s463ms Average queries duration per session
- 36m38s Average idle time per session
- 16,423 Total number of connections
- 54 connections/s at 2024-11-18 22:05:41 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 8 queries/s Query Peak
- 2024-11-20 10:26:09 Date
SELECT Traffic
Key values
- 8 queries/s Query Peak
- 2024-11-20 10:26:09 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-11-21 10:00:59 Date
Queries duration
Key values
- 1d23h43m57s 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) Nov 17 00 40 0ms 18m59s 30s68ms 3s373ms 10s727ms 19m5s 01 37 0ms 3s826ms 1s308ms 2s379ms 4s788ms 6s137ms 02 36 0ms 3s902ms 1s289ms 2s381ms 3s3ms 3s902ms 03 31 0ms 5s71ms 1s479ms 2s321ms 3s293ms 14s101ms 04 35 0ms 3s833ms 1s267ms 2s373ms 3s756ms 4s265ms 05 83 0ms 5s198ms 1s892ms 15s333ms 17s757ms 26s830ms 06 61 0ms 37s632ms 2s746ms 5s429ms 9s649ms 56s967ms 07 33 0ms 16s152ms 1s674ms 2s408ms 4s200ms 20s64ms 08 33 0ms 4s408ms 1s327ms 2s631ms 3s804ms 6s668ms 09 68 0ms 21s422ms 3s685ms 20s392ms 22s521ms 37s2ms 10 59 0ms 37s732ms 6s77ms 21s547ms 36s636ms 1m6s 11 49 0ms 16s670ms 1s899ms 3s762ms 6s561ms 19s46ms 12 66 0ms 1m7s 5s520ms 10s227ms 1m7s 1m9s 13 61 0ms 1m15s 4s921ms 10s469ms 1m6s 1m19s 14 38 0ms 37s782ms 3s907ms 3s884ms 9s697ms 55s670ms 15 34 0ms 1s257ms 1s112ms 2s223ms 2s477ms 5s554ms 16 39 0ms 3s814ms 1s265ms 3s203ms 3s767ms 6s965ms 17 44 0ms 2s239ms 1s230ms 2s921ms 3s276ms 6s885ms 18 52 0ms 38s20ms 3s334ms 8s606ms 9s704ms 54s874ms 19 52 0ms 36s757ms 3s152ms 8s601ms 21s571ms 36s757ms 20 79 0ms 4m51s 13s716ms 12s144ms 4m54s 5m1s 21 62 0ms 5m4s 16s189ms 8s393ms 4m49s 5m4s 22 64 0ms 4s283ms 1s611ms 6s76ms 6s773ms 9s618ms 23 72 0ms 7s8ms 2s326ms 9s12ms 23s648ms 34s576ms Nov 18 00 60 0ms 19m6s 21s56ms 8s77ms 8s865ms 19m11s 01 73 0ms 7s148ms 1s689ms 4s938ms 9s357ms 11s131ms 02 65 0ms 7s42ms 1s943ms 6s799ms 7s670ms 9s147ms 03 46 0ms 5s50ms 2s48ms 4s807ms 7s277ms 9s824ms 04 27 0ms 3s914ms 1s477ms 2s440ms 3s767ms 8s748ms 05 83 0ms 19s542ms 2s729ms 19s270ms 21s970ms 47s214ms 06 36 0ms 37s864ms 5s427ms 5s977ms 33s210ms 54s888ms 07 41 0ms 8s592ms 1s459ms 2s400ms 3s786ms 8s592ms 08 69 0ms 13s803ms 1s801ms 5s901ms 7s587ms 13s803ms 09 39 0ms 3s934ms 1s413ms 2s269ms 4s892ms 8s260ms 10 70 0ms 37s861ms 3s593ms 12s226ms 36s748ms 58s946ms 11 54 0ms 12s101ms 1s442ms 2s308ms 6s559ms 24s38ms 12 39 0ms 3s988ms 1s340ms 3s874ms 4s360ms 4s737ms 13 51 0ms 11s325ms 2s62ms 4s902ms 11s575ms 13s717ms 14 67 0ms 4m17s 12s182ms 34s327ms 40s556ms 4m19s 15 38 0ms 4m59s 9s602ms 4s792ms 5s952ms 4m59s 16 24 0ms 7s49ms 1s768ms 2s950ms 3s941ms 7s49ms 17 30 0ms 3s295ms 1s191ms 2s411ms 3s295ms 4s334ms 18 36 0ms 37s927ms 4s261ms 5s22ms 13s446ms 54s597ms 19 26 0ms 4s820ms 1s494ms 2s203ms 3s806ms 7s28ms 20 69 0ms 5s502ms 2s415ms 6s256ms 10s348ms 12s220ms 21 57 0ms 19s655ms 2s833ms 12s646ms 19s234ms 20s459ms 22 135 0ms 4m38s 7s892ms 44s442ms 2m35s 5m29s 23 43 0ms 20s125ms 3s142ms 6s354ms 19s237ms 24s601ms Nov 19 00 41 0ms 19m8s 31s291ms 7s93ms 18s801ms 19m13s 01 47 0ms 8m37s 19s655ms 11s173ms 17s13ms 8m37s 02 38 0ms 19s528ms 1s914ms 3s768ms 4s510ms 19s528ms 03 73 0ms 55s726ms 5s891ms 20s633ms 49s344ms 2m15s 04 59 0ms 3m1s 5s738ms 7s249ms 11s213ms 3m45s 05 112 0ms 22s362ms 3s244ms 26s275ms 27s682ms 41s224ms 06 48 0ms 37s797ms 3s309ms 4s812ms 19s404ms 46s729ms 07 54 0ms 26s880ms 3s107ms 7s309ms 10s383ms 1m23s 08 57 0ms 33s917ms 5s189ms 27s372ms 28s508ms 48s599ms 09 57 0ms 20s239ms 2s23ms 7s205ms 8s939ms 20s239ms 10 80 0ms 3m41s 18s218ms 57s603ms 3m46s 3m52s 11 53 0ms 3m56s 11s404ms 21s55ms 1m19s 4m7s 12 43 0ms 4s237ms 1s324ms 3s657ms 4s237ms 9s113ms 13 55 0ms 4s173ms 1s630ms 5s685ms 6s128ms 13s645ms 14 49 0ms 37s941ms 3s340ms 5s633ms 9s655ms 58s711ms 15 36 0ms 3s972ms 1s337ms 2s348ms 3s813ms 5s890ms 16 41 0ms 4s391ms 1s673ms 4s28ms 5s38ms 10s173ms 17 61 0ms 6m5s 19s37ms 23s478ms 3m27s 6m5s 18 89 0ms 37s875ms 3s264ms 14s551ms 44s106ms 49s26ms 19 52 0ms 4m43s 13s747ms 35s381ms 43s233ms 4m45s 20 44 0ms 20s442ms 3s616ms 13s654ms 20s267ms 30s266ms 21 44 0ms 20s641ms 3s147ms 7s130ms 16s51ms 20s641ms 22 53 0ms 16s72ms 3s22ms 9s749ms 15s828ms 17s409ms 23 41 0ms 10s858ms 1s994ms 4s503ms 7s170ms 20s933ms Nov 20 00 58 0ms 19m13s 22s7ms 6s978ms 7s250ms 19m18s 01 80 0ms 52s853ms 3s510ms 21s152ms 23s719ms 52s853ms 02 40 0ms 28s847ms 3s965ms 19s402ms 21s912ms 29s617ms 03 54 0ms 6s495ms 1s591ms 3s660ms 9s354ms 13s503ms 04 65 0ms 29s607ms 2s826ms 9s497ms 27s671ms 29s607ms 05 83 0ms 31s246ms 2s439ms 8s534ms 26s601ms 31s246ms 06 44 0ms 5h53m42s 16m11s 47s498ms 57s425ms 5h53m44s 07 50 0ms 5h53m15s 8m41s 5m27s 17m28s 5h53m15s 08 50 0ms 17m45s 37s113ms 15s427ms 5m28s 17m45s 09 65 0ms 9s769ms 1s896ms 4s681ms 6s688ms 43s949ms 10 374 0ms 1m9s 2s875ms 54s809ms 1m19s 4m14s 11 65 0ms 5s118ms 2s165ms 6s432ms 14s199ms 41s688ms 12 51 0ms 4s763ms 1s280ms 4s370ms 4s583ms 11s717ms 13 45 0ms 11s777ms 2s181ms 4s903ms 7s925ms 23s295ms 14 44 0ms 38s495ms 2s910ms 4s666ms 12s37ms 38s495ms 15 36 0ms 25s900ms 1s888ms 2s224ms 4s524ms 25s900ms 16 38 0ms 3s775ms 1s325ms 4s457ms 5s893ms 9s574ms 17 24 0ms 3s713ms 1s288ms 2s229ms 2s393ms 5s69ms 18 52 0ms 38s293ms 3s677ms 8s372ms 19s494ms 56s938ms 19 42 0ms 2m59s 5s841ms 4s642ms 5s117ms 2m59s 20 49 0ms 19s431ms 2s808ms 7s645ms 19s321ms 19s431ms 21 52 0ms 19s290ms 1s746ms 5s61ms 6s602ms 21s678ms 22 52 0ms 17m29s 22s661ms 5s249ms 6s416ms 17m29s 23 82 0ms 4s570ms 1s989ms 4s695ms 8s125ms 52s144ms Nov 21 00 76 0ms 19m21s 18s770ms 8s4ms 47s856ms 19m27s 01 86 0ms 9m21s 9s142ms 7s853ms 24s274ms 9m24s 02 108 0ms 4s79ms 2s221ms 7s820ms 11s161ms 12s305ms 03 77 0ms 6s961ms 2s345ms 8s514ms 10s710ms 13s939ms 04 59 0ms 4s732ms 2s410ms 5s927ms 7s190ms 7s635ms 05 113 0ms 4s259ms 1s744ms 8s158ms 15s285ms 28s630ms 06 66 0ms 38s185ms 3s129ms 9s783ms 18s11ms 51s391ms 07 60 0ms 4m2s 14s27ms 11s621ms 1m55s 6m18s 08 45 0ms 36s635ms 3s892ms 8s538ms 23s336ms 39s41ms 09 44 0ms 1m56s 4s102ms 3s979ms 5s431ms 1m56s 10 56 0ms 38s307ms 3s969ms 7s512ms 34s264ms 55s84ms 11 41 0ms 8m37s 14s236ms 5s444ms 6s176ms 8m37s 12 34 0ms 4s814ms 1s813ms 4s814ms 5s663ms 11s276ms 13 47 0ms 10m35s 28s197ms 3s196ms 6s219ms 10m35s 14 52 0ms 38s48ms 3s387ms 4s824ms 9s691ms 54s599ms 15 86 0ms 11s233ms 1s791ms 9s345ms 12s464ms 19s414ms 16 103 0ms 5m13s 13s862ms 39s561ms 4m41s 6m51s 17 58 0ms 19s186ms 2s223ms 4s987ms 9s250ms 24s470ms 18 87 0ms 8m37s 13s331ms 34s643ms 1m21s 8m39s 19 44 0ms 4s944ms 2s38ms 5s930ms 6s259ms 8s437ms 20 76 0ms 5s104ms 2s876ms 8s909ms 10s468ms 11s527ms 21 89 0ms 41s34ms 3s629ms 21s618ms 26s162ms 44s726ms 22 98 0ms 4s90ms 1s772ms 6s72ms 7s438ms 33s910ms 23 78 0ms 4s664ms 2s240ms 6s953ms 8s578ms 10s547ms Nov 22 00 51 0ms 19m10s 24s422ms 4s908ms 9s580ms 19m18s 01 52 0ms 6s454ms 2s66ms 6s797ms 8s969ms 9s553ms 02 72 0ms 3m8s 12s88ms 22s349ms 2m51s 3m57s 03 40 0ms 3m10s 19s43ms 6s170ms 2m52s 3m10s 04 54 0ms 4s943ms 1s223ms 2s526ms 5s488ms 7s328ms 05 70 0ms 4s249ms 1s841ms 4s644ms 19s47ms 24s25ms 06 40 0ms 38s275ms 3s619ms 4s300ms 9s625ms 55s829ms 07 54 0ms 19s550ms 3s85ms 4s525ms 6s473ms 1m22s 08 136 0ms 4m49s 5s423ms 28s636ms 50s131ms 4m52s 09 78 0ms 17m29s 27s116ms 38s103ms 2m12s 17m29s 10 86 0ms 38s159ms 4s207ms 15s917ms 39s13ms 55s868ms 11 62 0ms 7s472ms 1s809ms 6s116ms 8s682ms 20s971ms 12 44 0ms 6s923ms 1s587ms 3s429ms 5s156ms 10s985ms 13 44 0ms 10s168ms 1s641ms 3s829ms 5s681ms 11s254ms 14 104 0ms 4m5s 10s320ms 1m12s 1m30s 4m13s 15 54 0ms 1m49s 13s112ms 1m14s 1m26s 1m51s 16 38 0ms 11s481ms 2s253ms 3s683ms 5s470ms 24s207ms 17 57 0ms 19s289ms 1s634ms 3s528ms 6s137ms 19s289ms 18 58 0ms 38s332ms 3s629ms 9s711ms 14s180ms 1m20s 19 73 0ms 23m55s 41s272ms 1m52s 4m6s 23m55s 20 52 0ms 33m32s 53s660ms 37s100ms 1m8s 33m46s 21 47 0ms 38m48s 53s287ms 6s728ms 36s740ms 38m49s 22 67 0ms 42m38s 1m 1m34s 3m6s 42m39s 23 72 0ms 5m8s 11s591ms 44s112ms 1m20s 5m8s Nov 23 00 72 0ms 19m15s 24s20ms 35s786ms 59s185ms 19m21s 01 118 0ms 12m55s 22s705ms 1m45s 2m57s 12m55s 02 78 0ms 3m13s 11s379ms 22s245ms 3m9s 3m13s 03 57 0ms 1h43m15s 1m53s 14s622ms 23s683ms 1h43m15s 04 113 0ms 1h8s 36s857ms 16s898ms 1m34s 1h23s 05 170 0ms 45m51s 25s891ms 51s368ms 5m18s 46m14s 06 51 0ms 6s36ms 2s352ms 3s869ms 5s134ms 1m3s 07 135 0ms 2h22s 1m5s 2m56s 3m34s 2h40s 08 59 0ms 33m55s 35s789ms 4s663ms 12s623ms 33m55s 09 51 0ms 7s69ms 1s741ms 5s284ms 7s69ms 10s514ms 10 45 0ms 5s100ms 1s550ms 3s883ms 5s915ms 9s78ms 11 40 0ms 5s225ms 1s475ms 4s251ms 4s656ms 7s621ms 12 54 0ms 5s223ms 1s493ms 5s223ms 10s438ms 11s768ms 13 74 0ms 11m20s 21s959ms 15s94ms 3m33s 11m20s 14 57 0ms 25s170ms 3s502ms 24s224ms 27s217ms 29s947ms 15 52 0ms 25s188ms 2s326ms 6s213ms 7s908ms 25s188ms 16 65 0ms 7s712ms 1s612ms 7s8ms 7s399ms 22s79ms 17 43 0ms 11s978ms 1s791ms 3s868ms 4s947ms 11s978ms 18 150 0ms 1m11s 4s259ms 45s252ms 59s440ms 1m12s 19 112 0ms 24m 53s120ms 7m25s 18m12s 24m53s 20 43 0ms 4s675ms 1s287ms 4s654ms 5s341ms 7s160ms 21 40 0ms 12s680ms 1s613ms 2s540ms 3s734ms 12s680ms 22 81 0ms 19s579ms 1s990ms 11s783ms 14s807ms 20s685ms 23 52 0ms 1m52s 3s702ms 6s932ms 8s816ms 1m52s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 17 00 39 0 30s699ms 2s260ms 3s373ms 19m 01 37 0 1s308ms 2s219ms 2s379ms 6s137ms 02 36 0 1s289ms 2s301ms 2s381ms 3s902ms 03 31 0 1s479ms 2s228ms 2s321ms 14s101ms 04 35 0 1s267ms 2s220ms 2s373ms 4s265ms 05 80 0 1s839ms 4s405ms 13s532ms 26s830ms 06 51 10 2s746ms 2s233ms 5s429ms 54s801ms 07 33 0 1s674ms 2s199ms 2s408ms 20s64ms 08 33 0 1s327ms 2s213ms 2s631ms 6s668ms 09 64 0 3s800ms 5s376ms 20s392ms 23s439ms 10 49 10 6s77ms 9s918ms 21s547ms 46s690ms 11 49 0 1s899ms 2s260ms 3s762ms 16s670ms 12 66 0 5s520ms 5s921ms 10s227ms 1m7s 13 61 0 4s921ms 4s336ms 10s469ms 1m19s 14 28 10 3s907ms 2s273ms 4s389ms 54s628ms 15 34 0 1s112ms 2s180ms 2s223ms 5s554ms 16 39 0 1s265ms 2s194ms 3s203ms 6s965ms 17 44 0 1s230ms 2s187ms 2s921ms 6s885ms 18 41 10 3s336ms 3s363ms 6s194ms 54s874ms 19 52 0 3s152ms 3s736ms 8s601ms 36s757ms 20 79 0 13s716ms 7s284ms 12s144ms 4m57s 21 61 0 16s424ms 4s405ms 8s393ms 4m51s 22 64 0 1s611ms 3s922ms 6s76ms 9s618ms 23 72 0 2s326ms 3s883ms 9s12ms 34s576ms Nov 18 00 59 0 21s322ms 3s841ms 8s77ms 19m6s 01 73 0 1s689ms 3s967ms 4s938ms 9s682ms 02 65 0 1s943ms 5s234ms 6s799ms 8s388ms 03 46 0 2s48ms 3s818ms 4s807ms 9s824ms 04 27 0 1s477ms 2s138ms 2s440ms 8s748ms 05 80 0 2s735ms 4s775ms 19s270ms 47s214ms 06 26 10 5s427ms 2s214ms 5s977ms 46s796ms 07 41 0 1s459ms 2s195ms 2s400ms 4s637ms 08 67 0 1s779ms 3s989ms 5s901ms 7s676ms 09 39 0 1s413ms 2s131ms 2s269ms 5s944ms 10 60 10 3s593ms 4s197ms 10s961ms 46s821ms 11 54 0 1s442ms 2s196ms 2s308ms 10s865ms 12 39 0 1s340ms 2s408ms 3s874ms 4s737ms 13 51 0 2s62ms 3s284ms 4s902ms 12s339ms 14 59 8 12s182ms 11s340ms 34s327ms 4m15s 15 38 0 9s602ms 2s488ms 4s792ms 4m59s 16 24 0 1s768ms 2s214ms 2s950ms 7s49ms 17 29 0 1s118ms 2s194ms 2s324ms 4s334ms 18 26 10 4s261ms 2s323ms 5s22ms 54s597ms 19 26 0 1s494ms 1s368ms 2s203ms 7s28ms 20 69 0 2s415ms 5s906ms 6s256ms 12s220ms 21 56 0 2s826ms 3s211ms 11s780ms 19s655ms 22 135 0 7s892ms 17s735ms 44s442ms 5m29s 23 43 0 3s142ms 3s818ms 6s354ms 24s601ms Nov 19 00 40 0 31s940ms 6s965ms 7s93ms 19m8s 01 47 0 19s655ms 4s266ms 11s173ms 8m37s 02 38 0 1s914ms 2s469ms 3s768ms 19s528ms 03 61 0 6s613ms 19s271ms 20s633ms 2m3s 04 59 0 5s738ms 3s898ms 7s249ms 3m45s 05 109 0 3s263ms 19s522ms 26s275ms 41s224ms 06 41 7 3s309ms 3s699ms 4s812ms 33s901ms 07 54 0 3s107ms 2s824ms 7s309ms 1m23s 08 54 0 5s333ms 4s6ms 27s372ms 48s599ms 09 57 0 2s23ms 3s465ms 7s205ms 20s239ms 10 70 10 18s218ms 22s976ms 57s603ms 3m48s 11 53 0 11s404ms 6s852ms 21s55ms 4m7s 12 41 0 1s283ms 2s224ms 3s250ms 9s113ms 13 54 0 1s628ms 2s405ms 5s685ms 13s645ms 14 39 10 3s340ms 3s712ms 5s633ms 54s968ms 15 36 0 1s337ms 2s216ms 2s348ms 5s890ms 16 41 0 1s673ms 2s390ms 4s28ms 10s173ms 17 61 0 19s37ms 4s985ms 23s478ms 4m28s 18 80 9 3s264ms 6s48ms 14s551ms 47s996ms 19 52 0 13s747ms 4s582ms 35s381ms 4m45s 20 44 0 3s616ms 3s892ms 13s654ms 30s266ms 21 44 0 3s147ms 3s798ms 7s130ms 19s321ms 22 53 0 3s22ms 5s802ms 9s749ms 17s205ms 23 41 0 1s994ms 2s330ms 4s503ms 12s144ms Nov 20 00 57 0 22s298ms 4s568ms 6s978ms 10s628ms 01 80 0 3s510ms 6s29ms 21s152ms 27s297ms 02 40 0 3s965ms 2s488ms 19s402ms 29s617ms 03 54 0 1s591ms 2s553ms 3s660ms 13s503ms 04 64 0 2s817ms 3s869ms 9s497ms 28s542ms 05 79 0 2s447ms 3s882ms 8s534ms 27s951ms 06 37 7 16m11s 6s200ms 47s221ms 5h53m32s 07 50 0 8m41s 3s189ms 5m27s 17m29s 08 50 0 37s113ms 6s393ms 15s427ms 17m45s 09 65 0 1s896ms 3s350ms 4s681ms 9s769ms 10 364 10 2s875ms 39s688ms 54s809ms 1m50s 11 65 0 2s165ms 2s440ms 6s432ms 41s688ms 12 51 0 1s280ms 2s330ms 4s370ms 11s717ms 13 45 0 2s181ms 2s393ms 4s903ms 9s210ms 14 37 7 2s910ms 2s216ms 4s666ms 34s598ms 15 36 0 1s888ms 2s185ms 2s224ms 25s900ms 16 38 0 1s325ms 2s226ms 4s457ms 9s574ms 17 24 0 1s288ms 2s34ms 2s229ms 5s69ms 18 42 10 3s677ms 4s232ms 8s384ms 54s711ms 19 42 0 5s841ms 3s371ms 4s642ms 2m59s 20 49 0 2s808ms 4s494ms 7s645ms 19s431ms 21 52 0 1s746ms 2s998ms 5s61ms 21s678ms 22 52 0 22s661ms 3s820ms 5s249ms 24s898ms 23 82 0 1s989ms 3s803ms 4s695ms 18s112ms Nov 21 00 75 0 18s947ms 4s545ms 8s4ms 19m21s 01 86 0 9s142ms 5s947ms 7s853ms 29s294ms 02 108 0 2s221ms 6s423ms 7s820ms 11s491ms 03 77 0 2s345ms 6s376ms 8s514ms 13s939ms 04 59 0 2s410ms 3s913ms 5s927ms 7s405ms 05 110 0 1s720ms 5s451ms 8s158ms 25s962ms 06 58 8 3s129ms 3s650ms 9s783ms 42s326ms 07 60 0 14s27ms 3s721ms 11s621ms 4m4s 08 45 0 3s892ms 2s386ms 8s538ms 24s702ms 09 44 0 4s102ms 2s384ms 3s979ms 7s185ms 10 46 10 3s969ms 4s383ms 7s512ms 47s325ms 11 41 0 14s236ms 2s388ms 5s444ms 8m37s 12 33 0 1s805ms 2s394ms 4s814ms 11s276ms 13 47 0 28s197ms 2s211ms 3s196ms 10m34s 14 42 10 3s387ms 3s691ms 4s824ms 54s599ms 15 86 0 1s791ms 6s61ms 9s345ms 15s14ms 16 103 0 13s862ms 7s957ms 39s561ms 5m15s 17 58 0 2s223ms 3s108ms 4s987ms 20s205ms 18 79 8 13s331ms 9s731ms 34s643ms 5m3s 19 44 0 2s38ms 3s767ms 5s930ms 8s437ms 20 75 0 2s888ms 7s495ms 8s909ms 11s527ms 21 87 0 3s632ms 6s317ms 21s618ms 34s425ms 22 86 0 1s716ms 4s48ms 6s72ms 15s577ms 23 78 0 2s240ms 4s865ms 6s953ms 9s801ms Nov 22 00 49 0 25s240ms 2s766ms 4s898ms 9s624ms 01 52 0 2s66ms 4s159ms 6s797ms 9s553ms 02 72 0 12s88ms 7s123ms 22s349ms 2m59s 03 40 0 19s43ms 2s464ms 6s170ms 3m10s 04 54 0 1s223ms 2s353ms 2s526ms 5s721ms 05 66 0 1s820ms 2s266ms 4s644ms 24s25ms 06 30 10 3s619ms 2s124ms 4s300ms 54s689ms 07 54 0 3s85ms 2s792ms 4s525ms 1m22s 08 136 0 5s423ms 11s284ms 28s636ms 1m39s 09 78 0 27s116ms 8s53ms 38s103ms 11m20s 10 74 10 4s212ms 7s306ms 15s917ms 47s218ms 11 62 0 1s809ms 3s520ms 6s116ms 20s971ms 12 44 0 1s587ms 2s316ms 3s429ms 7s536ms 13 43 0 1s443ms 2s333ms 3s700ms 5s681ms 14 94 9 10s388ms 40s111ms 1m9s 1m34s 15 50 0 11s415ms 5s662ms 1m13s 1m26s 16 38 0 2s253ms 3s274ms 3s683ms 7s173ms 17 57 0 1s634ms 2s521ms 3s528ms 9s266ms 18 48 10 3s629ms 4s126ms 10s100ms 55s76ms 19 61 0 1s227ms 2s256ms 3s388ms 4s863ms 20 52 0 53s660ms 3s608ms 37s100ms 33m46s 21 47 0 53s287ms 4s296ms 6s728ms 41s599ms 22 56 0 58s507ms 6s265ms 13s709ms 6m42s 23 48 0 9s585ms 2s385ms 4s567ms 1m9s Nov 23 00 71 0 24s277ms 16s623ms 35s786ms 3m9s 01 73 0 2s669ms 5s793ms 7s311ms 23s3ms 02 78 0 11s379ms 13s898ms 22s245ms 3m13s 03 54 0 1m57s 3s745ms 8s43ms 1h43m15s 04 103 0 38s614ms 8s442ms 12s105ms 2m20s 05 161 0 10s44ms 16s855ms 51s34ms 5m18s 06 51 0 2s352ms 2s553ms 3s869ms 1m3s 07 135 0 1m5s 22s648ms 2m56s 8m41s 08 59 0 35s789ms 2s397ms 4s663ms 33m55s 09 51 0 1s741ms 2s557ms 5s284ms 10s514ms 10 45 0 1s550ms 2s418ms 3s883ms 9s78ms 11 39 0 1s463ms 2s600ms 3s885ms 7s621ms 12 54 0 1s493ms 3s840ms 5s223ms 11s768ms 13 73 0 22s214ms 4s990ms 11s744ms 3m33s 14 57 0 3s502ms 3s971ms 24s224ms 29s947ms 15 52 0 2s326ms 4s615ms 6s213ms 8s453ms 16 65 0 1s612ms 3s547ms 7s8ms 22s79ms 17 43 0 1s791ms 2s559ms 3s868ms 11s978ms 18 124 26 4s259ms 14s367ms 40s322ms 1m5s 19 66 46 53s120ms 1m9s 7m25s 24m53s 20 43 0 1s287ms 2s245ms 4s654ms 7s160ms 21 40 0 1s613ms 2s404ms 2s540ms 12s680ms 22 81 0 1s990ms 5s207ms 11s783ms 20s685ms 23 52 0 3s702ms 3s459ms 6s932ms 1m52s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 17 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 18 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 Nov 19 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 20 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 21 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 22 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 1 0 0 0 10s168ms 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 12 0 0 0 4m4s 0ms 0ms 4m2s 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 1 0 0 0 1s439ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 23 00 0 0 0 0 0ms 0ms 0ms 0ms 01 16 9 0 0 53s626ms 0ms 15s18ms 1m54s 02 0 0 0 0 0ms 0ms 0ms 0ms 03 1 0 0 0 2m36s 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 Nov 17 00 0 38 38.00 0.00% 01 0 37 37.00 0.00% 02 0 36 36.00 0.00% 03 0 31 31.00 0.00% 04 0 35 35.00 0.00% 05 0 83 83.00 0.00% 06 0 52 52.00 0.00% 07 0 37 37.00 0.00% 08 0 39 39.00 0.00% 09 0 68 68.00 0.00% 10 0 49 49.00 0.00% 11 0 49 49.00 0.00% 12 0 66 66.00 0.00% 13 0 61 61.00 0.00% 14 0 28 28.00 0.00% 15 0 34 34.00 0.00% 16 0 39 39.00 0.00% 17 0 44 44.00 0.00% 18 0 42 42.00 0.00% 19 0 52 52.00 0.00% 20 0 79 79.00 0.00% 21 0 62 62.00 0.00% 22 0 64 64.00 0.00% 23 0 72 72.00 0.00% Nov 18 00 0 58 58.00 0.00% 01 0 73 73.00 0.00% 02 0 65 65.00 0.00% 03 0 46 46.00 0.00% 04 0 27 27.00 0.00% 05 0 83 83.00 0.00% 06 0 29 29.00 0.00% 07 0 48 48.00 0.00% 08 0 71 71.00 0.00% 09 0 42 42.00 0.00% 10 0 60 60.00 0.00% 11 0 58 58.00 0.00% 12 0 40 40.00 0.00% 13 0 55 55.00 0.00% 14 0 64 64.00 0.00% 15 0 42 42.00 0.00% 16 0 26 26.00 0.00% 17 0 30 30.00 0.00% 18 0 26 26.00 0.00% 19 0 28 28.00 0.00% 20 0 69 69.00 0.00% 21 0 64 64.00 0.00% 22 0 136 136.00 0.00% 23 0 43 43.00 0.00% Nov 19 00 0 39 39.00 0.00% 01 0 47 47.00 0.00% 02 0 38 38.00 0.00% 03 0 73 73.00 0.00% 04 0 59 59.00 0.00% 05 0 112 112.00 0.00% 06 0 45 45.00 0.00% 07 0 54 54.00 0.00% 08 0 60 60.00 0.00% 09 0 57 57.00 0.00% 10 0 70 70.00 0.00% 11 0 56 56.00 0.00% 12 0 44 44.00 0.00% 13 0 55 55.00 0.00% 14 0 40 40.00 0.00% 15 0 36 36.00 0.00% 16 0 41 41.00 0.00% 17 0 65 65.00 0.00% 18 0 81 81.00 0.00% 19 0 52 52.00 0.00% 20 0 44 44.00 0.00% 21 0 44 44.00 0.00% 22 0 53 53.00 0.00% 23 0 41 41.00 0.00% Nov 20 00 0 56 56.00 0.00% 01 0 80 80.00 0.00% 02 0 40 40.00 0.00% 03 0 54 54.00 0.00% 04 0 65 65.00 0.00% 05 0 83 83.00 0.00% 06 0 46 46.00 0.00% 07 0 53 53.00 0.00% 08 0 51 51.00 0.00% 09 0 67 67.00 0.00% 10 0 377 377.00 0.00% 11 0 68 68.00 0.00% 12 0 51 51.00 0.00% 13 0 50 50.00 0.00% 14 0 40 40.00 0.00% 15 0 36 36.00 0.00% 16 0 38 38.00 0.00% 17 0 26 26.00 0.00% 18 0 42 42.00 0.00% 19 0 42 42.00 0.00% 20 0 49 49.00 0.00% 21 0 52 52.00 0.00% 22 0 52 52.00 0.00% 23 0 82 82.00 0.00% Nov 21 00 0 76 76.00 0.00% 01 0 86 86.00 0.00% 02 0 108 108.00 0.00% 03 0 77 77.00 0.00% 04 0 59 59.00 0.00% 05 0 113 113.00 0.00% 06 0 69 69.00 0.00% 07 0 64 64.00 0.00% 08 0 49 49.00 0.00% 09 0 53 53.00 0.00% 10 0 51 51.00 0.00% 11 0 41 41.00 0.00% 12 0 37 37.00 0.00% 13 0 52 52.00 0.00% 14 0 43 43.00 0.00% 15 0 89 89.00 0.00% 16 0 104 104.00 0.00% 17 0 67 67.00 0.00% 18 0 79 79.00 0.00% 19 0 44 44.00 0.00% 20 0 76 76.00 0.00% 21 0 89 89.00 0.00% 22 0 98 98.00 0.00% 23 0 78 78.00 0.00% Nov 22 00 0 49 49.00 0.00% 01 0 52 52.00 0.00% 02 0 72 72.00 0.00% 03 0 40 40.00 0.00% 04 0 54 54.00 0.00% 05 0 75 75.00 0.00% 06 0 35 35.00 0.00% 07 0 57 57.00 0.00% 08 0 138 138.00 0.00% 09 0 90 90.00 0.00% 10 0 72 72.00 0.00% 11 0 62 62.00 0.00% 12 0 44 44.00 0.00% 13 0 43 43.00 0.00% 14 0 96 96.00 0.00% 15 0 55 55.00 0.00% 16 0 38 38.00 0.00% 17 0 57 57.00 0.00% 18 0 48 48.00 0.00% 19 0 73 73.00 0.00% 20 0 52 52.00 0.00% 21 0 47 47.00 0.00% 22 0 67 67.00 0.00% 23 0 72 72.00 0.00% Nov 23 00 0 71 71.00 0.00% 01 0 118 118.00 0.00% 02 0 78 78.00 0.00% 03 0 57 57.00 0.00% 04 0 114 114.00 0.00% 05 0 172 172.00 0.00% 06 0 51 51.00 0.00% 07 0 138 138.00 0.00% 08 0 59 59.00 0.00% 09 0 51 51.00 0.00% 10 0 45 45.00 0.00% 11 0 40 40.00 0.00% 12 0 54 54.00 0.00% 13 0 74 74.00 0.00% 14 0 57 57.00 0.00% 15 0 52 52.00 0.00% 16 0 65 65.00 0.00% 17 0 43 43.00 0.00% 18 0 124 124.00 0.00% 19 0 66 66.00 0.00% 20 0 43 43.00 0.00% 21 0 40 40.00 0.00% 22 0 81 81.00 0.00% 23 0 52 52.00 0.00% Day Hour Count Average / Second Nov 17 00 82 0.02/s 01 78 0.02/s 02 81 0.02/s 03 81 0.02/s 04 89 0.02/s 05 97 0.03/s 06 83 0.02/s 07 82 0.02/s 08 80 0.02/s 09 88 0.02/s 10 135 0.04/s 11 122 0.03/s 12 91 0.03/s 13 77 0.02/s 14 94 0.03/s 15 81 0.02/s 16 84 0.02/s 17 102 0.03/s 18 92 0.03/s 19 84 0.02/s 20 92 0.03/s 21 79 0.02/s 22 91 0.03/s 23 96 0.03/s Nov 18 00 107 0.03/s 01 96 0.03/s 02 89 0.02/s 03 83 0.02/s 04 84 0.02/s 05 101 0.03/s 06 97 0.03/s 07 84 0.02/s 08 98 0.03/s 09 90 0.03/s 10 94 0.03/s 11 88 0.02/s 12 75 0.02/s 13 83 0.02/s 14 87 0.02/s 15 81 0.02/s 16 83 0.02/s 17 76 0.02/s 18 83 0.02/s 19 89 0.02/s 20 94 0.03/s 21 90 0.03/s 22 464 0.13/s 23 88 0.02/s Nov 19 00 92 0.03/s 01 81 0.02/s 02 79 0.02/s 03 97 0.03/s 04 137 0.04/s 05 105 0.03/s 06 82 0.02/s 07 173 0.05/s 08 190 0.05/s 09 82 0.02/s 10 99 0.03/s 11 108 0.03/s 12 84 0.02/s 13 85 0.02/s 14 84 0.02/s 15 80 0.02/s 16 84 0.02/s 17 85 0.02/s 18 90 0.03/s 19 91 0.03/s 20 85 0.02/s 21 107 0.03/s 22 142 0.04/s 23 103 0.03/s Nov 20 00 104 0.03/s 01 95 0.03/s 02 89 0.02/s 03 81 0.02/s 04 87 0.02/s 05 108 0.03/s 06 93 0.03/s 07 99 0.03/s 08 83 0.02/s 09 82 0.02/s 10 103 0.03/s 11 78 0.02/s 12 85 0.02/s 13 80 0.02/s 14 84 0.02/s 15 79 0.02/s 16 80 0.02/s 17 83 0.02/s 18 93 0.03/s 19 89 0.02/s 20 92 0.03/s 21 83 0.02/s 22 88 0.02/s 23 86 0.02/s Nov 21 00 86 0.02/s 01 84 0.02/s 02 94 0.03/s 03 92 0.03/s 04 93 0.03/s 05 116 0.03/s 06 86 0.02/s 07 104 0.03/s 08 84 0.02/s 09 82 0.02/s 10 83 0.02/s 11 84 0.02/s 12 84 0.02/s 13 82 0.02/s 14 84 0.02/s 15 91 0.03/s 16 94 0.03/s 17 92 0.03/s 18 93 0.03/s 19 81 0.02/s 20 85 0.02/s 21 93 0.03/s 22 83 0.02/s 23 90 0.03/s Nov 22 00 89 0.02/s 01 181 0.05/s 02 204 0.06/s 03 202 0.06/s 04 131 0.04/s 05 91 0.03/s 06 73 0.02/s 07 84 0.02/s 08 110 0.03/s 09 95 0.03/s 10 110 0.03/s 11 90 0.03/s 12 110 0.03/s 13 133 0.04/s 14 130 0.04/s 15 111 0.03/s 16 114 0.03/s 17 87 0.02/s 18 95 0.03/s 19 89 0.02/s 20 101 0.03/s 21 79 0.02/s 22 94 0.03/s 23 100 0.03/s Nov 23 00 115 0.03/s 01 168 0.05/s 02 127 0.04/s 03 87 0.02/s 04 99 0.03/s 05 109 0.03/s 06 85 0.02/s 07 98 0.03/s 08 81 0.02/s 09 90 0.03/s 10 83 0.02/s 11 80 0.02/s 12 79 0.02/s 13 98 0.03/s 14 94 0.03/s 15 118 0.03/s 16 77 0.02/s 17 81 0.02/s 18 123 0.03/s 19 94 0.03/s 20 79 0.02/s 21 79 0.02/s 22 111 0.03/s 23 91 0.03/s Day Hour Count Average Duration Average idle time Nov 17 00 82 30m12s 29m57s 01 78 30m55s 30m54s 02 81 30m42s 30m41s 03 81 29m46s 29m46s 04 89 27m33s 27m32s 05 97 24m43s 24m42s 06 83 26m55s 26m53s 07 82 29m29s 29m28s 08 80 31m13s 31m13s 09 88 28m16s 28m13s 10 135 18m5s 18m2s 11 122 19m7s 19m7s 12 91 26m54s 26m50s 13 77 27m57s 27m53s 14 94 25m32s 25m30s 15 81 29m38s 29m38s 16 84 29m27s 29m26s 17 102 23m50s 23m49s 18 92 26m51s 26m49s 19 84 27m7s 27m5s 20 92 26m50s 26m38s 21 79 28m8s 27m55s 22 91 26m47s 26m45s 23 96 25m28s 25m26s Nov 18 00 107 22m56s 22m44s 01 96 25m42s 25m41s 02 89 27m38s 27m37s 03 83 28m31s 28m30s 04 84 28m39s 28m38s 05 101 23m20s 23m18s 06 97 25m29s 25m27s 07 84 28m44s 28m44s 08 98 25m 24m59s 09 90 26m48s 26m47s 10 94 25m36s 25m33s 11 88 27m19s 27m18s 12 75 29m16s 29m15s 13 83 28m57s 28m56s 14 87 26m16s 26m7s 15 81 29m57s 29m52s 16 83 29m42s 29m41s 17 76 31m35s 31m35s 18 83 29m21s 29m19s 19 89 27m21s 27m21s 20 94 26m9s 26m7s 21 90 24m22s 24m20s 22 464 5m22s 5m20s 23 88 27m30s 27m29s Nov 19 00 92 26m27s 26m13s 01 81 30m10s 29m59s 02 79 30m15s 30m14s 03 96 24m51s 24m46s 04 137 18m1s 17m58s 05 105 23m12s 23m8s 06 82 29m34s 29m32s 07 173 13m56s 13m55s 08 190 13m39s 13m38s 09 82 28m47s 28m46s 10 98 24m39s 24m24s 11 109 21h17m 21h16m54s 12 84 28m55s 28m54s 13 85 29m17s 29m15s 14 84 29m15s 29m13s 15 80 30m33s 30m33s 16 84 28m35s 28m34s 17 85 28m53s 28m39s 18 90 27m6s 27m2s 19 91 26m43s 26m36s 20 85 27m52s 27m51s 21 107 21m34s 21m32s 22 142 16m57s 16m56s 23 103 23m51s 23m51s Nov 20 00 103 23m14s 23m2s 01 93 24m54s 24m51s 02 89 26m44s 26m42s 03 81 29m26s 29m24s 04 87 29m5s 29m3s 05 108 21m31s 21m30s 06 94 33m23s 25m48s 07 101 28m53s 24m34s 08 83 29m16s 28m54s 09 82 29m6s 29m5s 10 103 22m16s 22m6s 11 78 30m33s 30m31s 12 85 28m47s 28m46s 13 80 29m30s 29m29s 14 84 29m23s 29m22s 15 79 29m5s 29m4s 16 80 30m36s 30m36s 17 83 28m45s 28m45s 18 93 26m46s 26m44s 19 89 26m43s 26m40s 20 92 26m33s 26m32s 21 83 27m2s 27m1s 22 88 28m11s 27m57s 23 86 28m13s 28m11s Nov 21 00 86 26m27s 26m10s 01 84 29m43s 29m34s 02 94 26m26s 26m24s 03 92 26m14s 26m12s 04 93 27m4s 27m3s 05 116 20m35s 20m34s 06 86 26m40s 26m38s 07 104 23m13s 23m5s 08 84 27m11s 27m9s 09 82 28m41s 28m39s 10 82 28m43s 28m41s 11 85 28m45s 28m38s 12 84 28m45s 28m44s 13 82 29m32s 29m16s 14 84 29m49s 29m46s 15 90 26m54s 26m52s 16 95 25m49s 25m34s 17 92 25m33s 25m31s 18 93 26m57s 26m45s 19 81 28m27s 28m26s 20 85 28m11s 28m8s 21 93 25m5s 25m2s 22 83 29m37s 29m35s 23 90 26m18s 26m16s Nov 22 00 89 27m29s 27m15s 01 181 13m59s 13m59s 02 202 12m15s 12m11s 03 204 12m4s 12m 04 131 18m5s 18m5s 05 91 25m59s 25m58s 06 73 31m17s 31m15s 07 84 29m42s 29m40s 08 110 21m28s 21m21s 09 95 25m14s 24m52s 10 104 5h52m48s 5h52m44s 11 90 26m57s 26m56s 12 110 22m34s 22m34s 13 132 17m41s 17m40s 14 131 18m25s 18m17s 15 108 21m59s 21m53s 16 114 22m31s 22m30s 17 89 30m38s 30m37s 18 94 25m21s 25m18s 19 89 27m40s 27m6s 20 101 24m1s 23m33s 21 80 31m36s 31m4s 22 94 3h9m30s 3h8m46s 23 100 24m36s 24m28s Nov 23 00 115 22m48s 22m33s 01 168 15m5s 14m49s 02 127 18m31s 18m24s 03 87 28m3s 26m48s 04 98 24m39s 23m57s 05 110 21m59s 21m19s 06 85 27m48s 27m47s 07 98 22m53s 21m23s 08 82 33m39s 33m13s 09 89 26m21s 26m20s 10 83 30m4s 30m3s 11 80 30m19s 30m18s 12 79 29m58s 29m57s 13 99 42m7s 41m50s 14 98 1h34m18s 1h34m16s 15 119 34m51s 34m50s 16 77 30m36s 30m34s 17 81 29m2s 29m1s 18 121 20m36s 20m31s 19 96 25m43s 24m41s 20 79 29m34s 29m33s 21 80 37m20s 37m19s 22 111 23m12s 23m11s 23 91 26m11s 26m9s -
Connections
Established Connections
Key values
- 54 connections Connection Peak
- 2024-11-18 22:05:41 Date
Connections per database
Key values
- ctdprd51 Main Database
- 16,423 connections Total
Connections per user
Key values
- pubeu Main User
- 16,423 connections Total
-
Sessions
Simultaneous sessions
Key values
- 164 sessions Session Peak
- 2024-11-23 02:10:14 Date
Histogram of session times
Key values
- 11,971 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 16,422 sessions Total
Sessions per user
Key values
- pubeu Main User
- 16,422 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 16,422 sessions Total
Host Count Total Duration Average Duration 10.12.5.122 31 118d23h25m28s 3d20h6m37s 10.12.5.36 15 28s957ms 1s930ms 10.12.5.37 5,643 57d11h4m36s 14m39s 10.12.5.38 2,628 55d23h25m4s 30m40s 10.12.5.39 2,574 55d23h40m33s 31m19s 10.12.5.40 165 14h18m21s 5m12s 10.12.5.45 2,666 55d23h53m36s 30m14s 10.12.5.46 2,632 56d1h16m54s 30m40s 192.168.201.10 6 7d1h3m36s 1d4h10m36s 192.168.201.14 7 22h35m36s 3h13m39s 192.168.201.18 1 36m46s 36m46s ::1 54 10d17h4m38s 4h45m38s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 5,037,753 buffers Checkpoint Peak
- 2024-11-23 01:38:09 Date
- 1620.040 seconds Highest write time
- 4.723 seconds Sync time
Checkpoints Wal files
Key values
- 845 files Wal files usage Peak
- 2024-11-23 05:01:08 Date
Checkpoints distance
Key values
- 18,868.39 Mo Distance Peak
- 2024-11-23 04:55:55 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Nov 17 00 52,054 1,639.133s 0.004s 1,639.625s 01 536 53.867s 0.003s 53.899s 02 479 48.055s 0.002s 48.134s 03 3,219 322.346s 0.002s 322.39s 04 975 97.722s 0.004s 97.753s 05 742 74.396s 0.002s 74.425s 06 704 70.695s 0.002s 70.773s 07 1,755 175.844s 0.004s 175.875s 08 3,382 338.712s 0.003s 338.803s 09 41,139 1,619.326s 0.002s 1,619.813s 10 91,474 3,341.286s 0.004s 3,341.866s 11 6,146 615.311s 0.003s 615.379s 12 878 87.909s 0.003s 87.94s 13 1,059 106.142s 0.002s 106.218s 14 1,035 103.628s 0.002s 103.658s 15 868 87.013s 0.004s 87.092s 16 1,389 139.173s 0.003s 139.203s 17 1,221 122.353s 0.002s 122.384s 18 1,270 127.278s 0.002s 127.354s 19 1,069 107.038s 0.002s 107.068s 20 995 99.744s 0.002s 99.76s 21 10,899 1,091.625s 0.003s 1,091.779s 22 1,867 186.976s 0.003s 187.054s 23 1,231 123.36s 0.002s 123.392s Nov 18 00 7,718 772.72s 0.003s 772.904s 01 2,518 252.063s 0.002s 252.14s 02 722 72.307s 0.004s 72.388s 03 4,866 487.125s 0.001s 487.214s 04 10,763 1,077.424s 0.006s 1,077.57s 05 1,547 154.925s 0.004s 155.002s 06 1,491 149.412s 0.004s 149.443s 07 1,037 103.984s 0.004s 104.015s 08 51,001 1,648.975s 0.003s 1,649.445s 09 2,645 264.993s 0.003s 265.068s 10 1,062 106.459s 0.004s 106.538s 11 1,137 113.963s 0.004s 113.994s 12 1,187 118.957s 0.003s 119.031s 13 1,204 120.574s 0.004s 120.606s 14 1,450 145.22s 0.003s 145.251s 15 1,478 148.112s 0.004s 148.191s 16 1,560 156.309s 0.004s 156.342s 17 1,168 117.045s 0.004s 117.119s 18 1,070 107.244s 0.003s 107.275s 19 1,373 137.598s 0.004s 137.676s 20 1,161 116.347s 0.004s 116.378s 21 4,610 461.626s 0.004s 461.712s 22 1,424 142.695s 0.003s 142.774s 23 1,282 128.473s 0.004s 128.505s Nov 19 00 2,394 239.924s 0.004s 240.056s 01 574 57.585s 0.004s 57.666s 02 676 67.777s 0.003s 67.806s 03 764 76.41s 0.002s 76.427s 04 10,368 1,037.935s 0.003s 1,038.129s 05 59,344 1,705.588s 0.006s 1,706.107s 06 556 55.675s 0.001s 55.69s 07 6,085 609.455s 0.005s 609.572s 08 947 94.935s 0.003s 95.009s 09 1,090 109.256s 0.003s 109.286s 10 1,076 107.867s 0.004s 107.946s 11 1,496 149.85s 0.004s 149.881s 12 1,228 123.081s 0.003s 123.112s 13 1,120 112.248s 0.004s 112.327s 14 1,198 119.982s 0.004s 120.014s 15 1,343 134.586s 0.004s 134.663s 16 961 96.342s 0.003s 96.371s 17 1,433 143.612s 0.004s 143.691s 18 2,366 237.057s 0.004s 237.138s 19 2,269 227.338s 0.003s 227.37s 20 5,324 533.231s 0.003s 533.362s 21 2,783 278.866s 0.003s 278.943s 22 2,509 251.405s 0.003s 251.482s 23 1,197 119.972s 0.004s 120.003s Nov 20 00 1,514 151.728s 0.003s 151.858s 01 321 32.193s 0.002s 32.21s 02 7,157 717.089s 0.006s 717.239s 03 8,828 884.198s 0.002s 884.322s 04 6,262 627.511s 0.006s 627.563s 05 1,014 101.604s 0.004s 101.637s 06 596 59.79s 0.001s 59.855s 07 5,834 584.275s 0.005s 584.426s 08 1,802 180.602s 0.004s 180.635s 09 572 57.386s 0.001s 57.401s 10 187,537 2,181.556s 0.006s 2,182.051s 11 61,773 1,681.218s 0.003s 1,681.735s 12 1,012 101.432s 0.004s 101.464s 13 5,029 503.534s 0.004s 503.672s 14 1,542 154.531s 0.004s 154.562s 15 1,227 122.98s 0.003s 123.011s 16 1,346 134.886s 0.004s 134.965s 17 1,401 140.311s 0.004s 140.344s 18 1,939 194.324s 0.003s 194.401s 19 1,262 126.542s 0.003s 126.573s 20 51,733 1,648.225s 0.003s 1,648.71s 21 1,366 136.889s 0.003s 136.92s 22 5,310 531.805s 0.004s 531.946s 23 2,057 206.115s 0.003s 206.145s Nov 21 00 3,624 362.834s 0.003s 362.98s 01 1,596 159.956s 0.003s 160.033s 02 1,793 179.704s 0.003s 179.786s 03 7,331 733.896s 0.002s 734.012s 04 3,227 323.288s 0.003s 323.336s 05 993 99.559s 0.003s 99.641s 06 4,506 451.189s 0.004s 451.274s 07 7,215 722.474s 0.003s 722.577s 08 1,518 152.038s 0.002s 152.103s 09 67,700 2,402.434s 0.004s 2,403.034s 10 1,149 115.057s 0.004s 115.089s 11 1,300 130.289s 0.002s 130.368s 12 4,675 468.176s 0.003s 468.264s 13 867 87.024s 0.003s 87.056s 14 1,799 180.291s 0.002s 180.368s 15 763 76.604s 0.003s 76.634s 16 2,115 211.94s 0.004s 212.015s 17 861 86.419s 0.002s 86.448s 18 473 47.474s 0.002s 47.49s 19 6,873 688.269s 0.005s 688.353s 20 614 61.581s 0.003s 61.662s 21 1,307 131.092s 0.003s 131.121s 22 720 72.196s 0.004s 72.228s 23 6,044 605.246s 0.003s 605.325s Nov 22 00 931 93.34s 0.003s 93.46s 01 150 15.119s 0.001s 15.134s 02 36,387 1,981.735s 0.007s 1,981.892s 03 7,552 756.606s 0.004s 756.765s 04 3,086 309.247s 0.003s 309.29s 05 655 65.694s 0.002s 65.723s 06 1,692 169.634s 0.003s 169.713s 07 511 51.268s 0.003s 51.299s 08 601 60.379s 0.003s 60.409s 09 2,010 201.315s 0.004s 201.395s 10 4,573 457.955s 0.137s 458.264s 11 715 71.628s 0.018s 71.684s 12 640 64.294s 0.003s 64.327s 13 22,034 1,792.153s 0.003s 1,792.446s 14 301,134 871.26s 0.387s 886.007s 15 1,533 153.593s 0.012s 164.941s 16 49,582 1,765.045s 0.01s 1,776.123s 17 666 66.903s 0.002s 66.933s 18 2,467 247.052s 0.002s 247.304s 19 2,515,383 2,193.93s 1.015s 2,222.047s 20 1,094,052 3,238.759s 0.033s 3,246.586s 21 33,728 1,724.282s 0.003s 1,724.344s 22 932,850 798.929s 4.932s 834.913s 23 698,291 2,262.778s 0.016s 2,278.552s Nov 23 00 324,622 1,838.152s 0.01s 1,845.234s 01 10,303,137 2,230.657s 1.201s 2,276.884s 02 1,390,571 3,260.778s 0.006s 3,268.715s 03 267 26.845s 0.001s 26.86s 04 1,109,287 3,429.283s 2.399s 3,497.1s 05 133,940 510.865s 0.812s 621.296s 06 564,637 3,239.741s 0.004s 3,245.35s 07 114,681 1,814.159s 0.057s 1,814.778s 08 975,022 3,278.683s 0.005s 3,288.986s 09 698 69.98s 0.003s 70.01s 10 590 59.174s 0.003s 59.206s 11 944 94.646s 0.003s 94.766s 12 1,434 143.706s 0.002s 143.737s 13 790 79.32s 0.002s 79.352s 14 639 64.095s 0.002s 64.176s 15 960 96.34s 0.002s 96.37s 16 648 64.988s 0.004s 65.019s 17 987 98.929s 0.002s 99.001s 18 533 53.375s 0.002s 53.391s 19 25,922 1,685.638s 0.003s 1,685.732s 20 119,880 3,289.62s 0.005s 3,289.737s 21 1,004 100.633s 0.002s 100.664s 22 1,256 125.9s 0.002s 125.978s 23 2,318 232.235s 0.002s 232.268s Day Hour Added Removed Recycled Synced files Longest sync Average sync Nov 17 00 0 0 36 90 0.001s 0.002s 01 0 0 0 37 0.001s 0.002s 02 0 0 1 39 0.001s 0.002s 03 0 0 1 50 0.001s 0.002s 04 0 0 0 36 0.002s 0.002s 05 0 0 0 27 0.001s 0.002s 06 0 0 1 78 0.001s 0.002s 07 0 0 0 141 0.001s 0.002s 08 0 0 2 139 0.001s 0.002s 09 0 0 37 31 0.001s 0.001s 10 0 0 39 82 0.001s 0.003s 11 0 0 3 47 0.001s 0.002s 12 0 0 0 26 0.002s 0.002s 13 0 0 1 30 0.001s 0.002s 14 0 0 0 39 0.001s 0.002s 15 0 0 1 28 0.001s 0.002s 16 0 0 0 29 0.001s 0.002s 17 0 0 0 42 0.001s 0.002s 18 0 0 1 38 0.001s 0.002s 19 0 0 0 19 0.001s 0.002s 20 0 0 0 21 0.001s 0.001s 21 0 0 6 58 0.001s 0.003s 22 0 0 1 41 0.002s 0.002s 23 0 0 0 28 0.001s 0.002s Nov 18 00 0 0 6 89 0.001s 0.002s 01 0 0 1 51 0.001s 0.002s 02 0 0 1 43 0.001s 0.002s 03 0 0 3 34 0.001s 0.001s 04 0 0 5 68 0.001s 0.003s 05 0 0 1 46 0.001s 0.002s 06 0 0 0 140 0.001s 0.002s 07 0 0 0 128 0.001s 0.002s 08 0 0 34 101 0.001s 0.002s 09 0 0 1 102 0.001s 0.002s 10 0 0 1 106 0.001s 0.002s 11 0 0 0 112 0.001s 0.002s 12 0 0 1 69 0.001s 0.002s 13 0 0 0 113 0.001s 0.002s 14 0 0 0 161 0.001s 0.002s 15 0 0 1 179 0.001s 0.002s 16 0 0 0 112 0.001s 0.002s 17 0 0 1 26 0.001s 0.002s 18 0 0 0 29 0.001s 0.002s 19 0 0 1 71 0.001s 0.002s 20 0 0 0 19 0.001s 0.002s 21 0 0 2 134 0.001s 0.002s 22 0 0 1 67 0.001s 0.002s 23 0 0 0 24 0.001s 0.002s Nov 19 00 0 0 2 82 0.001s 0.002s 01 0 0 1 39 0.001s 0.002s 02 0 0 0 36 0.001s 0.002s 03 0 0 0 30 0.001s 0.001s 04 0 0 8 60 0.001s 0.002s 05 0 0 37 72 0.001s 0.003s 06 0 0 0 60 0.001s 0.001s 07 0 0 3 168 0.001s 0.003s 08 0 0 1 80 0.001s 0.002s 09 0 0 0 29 0.001s 0.002s 10 0 0 1 75 0.001s 0.002s 11 0 0 0 119 0.001s 0.002s 12 0 0 0 112 0.001s 0.002s 13 0 0 1 28 0.001s 0.002s 14 0 0 0 169 0.001s 0.002s 15 0 0 1 31 0.001s 0.002s 16 0 0 0 21 0.001s 0.002s 17 0 0 1 120 0.001s 0.002s 18 0 0 1 88 0.001s 0.002s 19 0 0 0 50 0.001s 0.002s 20 0 0 3 50 0.001s 0.002s 21 0 0 1 42 0.001s 0.002s 22 0 0 1 33 0.001s 0.002s 23 0 0 0 18 0.001s 0.002s Nov 20 00 0 0 2 77 0.001s 0.002s 01 0 0 0 19 0.001s 0.001s 02 0 0 5 77 0.001s 0.003s 03 0 0 9 30 0.001s 0.001s 04 0 0 0 66 0.001s 0.003s 05 0 0 0 77 0.001s 0.002s 06 0 0 1 61 0.001s 0.001s 07 0 0 3 164 0.001s 0.003s 08 0 0 0 76 0.001s 0.002s 09 0 0 0 23 0.001s 0.001s 10 0 0 35 214 0.001s 0.003s 11 0 0 38 155 0.001s 0.002s 12 0 0 0 23 0.001s 0.002s 13 0 0 3 86 0.001s 0.002s 14 0 0 0 75 0.001s 0.002s 15 0 0 0 73 0.001s 0.002s 16 0 0 1 27 0.001s 0.002s 17 0 0 0 112 0.001s 0.002s 18 0 0 1 36 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 35 41 0.001s 0.002s 21 0 0 0 24 0.001s 0.002s 22 0 0 3 46 0.001s 0.002s 23 0 0 0 26 0.001s 0.002s Nov 21 00 0 0 3 88 0.001s 0.002s 01 0 0 1 48 0.001s 0.002s 02 0 0 1 42 0.001s 0.002s 03 0 0 4 54 0.001s 0.002s 04 0 0 1 38 0.001s 0.002s 05 0 0 1 34 0.001s 0.002s 06 0 0 1 141 0.001s 0.002s 07 0 0 3 109 0.001s 0.002s 08 0 0 1 60 0.001s 0.001s 09 0 0 44 200 0.001s 0.003s 10 0 0 0 111 0.001s 0.002s 11 0 0 1 63 0.001s 0.002s 12 0 0 2 108 0.001s 0.002s 13 0 0 0 111 0.001s 0.002s 14 0 0 1 133 0.001s 0.002s 15 0 0 0 95 0.001s 0.002s 16 0 0 1 135 0.001s 0.002s 17 0 0 0 119 0.001s 0.002s 18 0 0 0 59 0.001s 0.001s 19 0 0 3 61 0.001s 0.003s 20 0 0 1 21 0.001s 0.002s 21 0 0 0 33 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 4 30 0.001s 0.002s Nov 22 00 0 0 1 76 0.001s 0.002s 01 0 0 0 19 0.001s 0.001s 02 0 0 5 93 0.002s 0.003s 03 0 0 5 60 0.001s 0.002s 04 0 0 1 47 0.001s 0.002s 05 0 0 0 80 0.001s 0.002s 06 0 0 1 133 0.001s 0.002s 07 0 0 0 116 0.001s 0.002s 08 0 0 0 75 0.001s 0.002s 09 0 0 1 137 0.001s 0.002s 10 0 0 2 658 0.001s 0.002s 11 0 0 0 150 0.001s 0.002s 12 0 0 0 31 0.002s 0.002s 13 0 0 19 78 0.001s 0.002s 14 0 183 1,073 390 0.296s 0.006s 15 0 0 878 190 0.003s 0.002s 16 0 2 890 269 0.001s 0.003s 17 0 0 0 27 0.001s 0.002s 18 0 2 0 45 0.001s 0.002s 19 0 31 2,153 264 0.168s 0.018s 20 0 0 644 330 0.001s 0.002s 21 0 0 0 79 0.001s 0.003s 22 0 35 2,171 180 3.680s 0.13s 23 0 0 1,080 145 0.001s 0.003s Nov 23 00 0 1 571 97 0.001s 0.002s 01 0 344 3,209 657 0.710s 0.021s 02 0 0 655 161 0.001s 0.003s 03 0 0 0 19 0.001s 0.001s 04 0 269 4,294 628 0.775s 0.087s 05 0 5 7,862 600 0.515s 0.045s 06 0 0 445 123 0.001s 0.002s 07 0 86 0 109 0.033s 0.002s 08 0 0 847 187 0.001s 0.003s 09 0 0 0 33 0.001s 0.002s 10 0 0 0 24 0.001s 0.002s 11 0 1 0 30 0.001s 0.002s 12 0 0 0 52 0.001s 0.002s 13 0 0 0 28 0.001s 0.002s 14 0 1 0 18 0.001s 0.002s 15 0 0 0 29 0.001s 0.002s 16 0 0 0 18 0.002s 0.002s 17 0 1 0 27 0.001s 0.002s 18 0 0 0 10 0.001s 0.001s 19 0 9 0 40 0.001s 0.002s 20 0 11 0 57 0.001s 0.003s 21 0 0 0 21 0.001s 0.002s 22 0 1 0 32 0.001s 0.002s 23 0 0 0 41 0.001s 0.002s Day Hour Count Avg time (sec) Nov 17 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 18 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 Nov 19 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 20 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 21 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 22 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 23 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Nov 17 00 293,248.50 kB 555,642.00 kB 01 1,538.00 kB 450,372.00 kB 02 1,585.00 kB 365,103.00 kB 03 10,461.00 kB 297,705.50 kB 04 1,718.50 kB 241,478.50 kB 05 2,172.00 kB 195,981.00 kB 06 1,866.50 kB 159,122.50 kB 07 4,960.50 kB 129,587.50 kB 08 11,101.00 kB 107,303.00 kB 09 445,033.00 kB 445,033.00 kB 10 271,725.33 kB 525,070.33 kB 11 22,175.50 kB 475,432.00 kB 12 2,649.50 kB 385,595.00 kB 13 2,760.00 kB 312,851.50 kB 14 3,343.50 kB 254,001.00 kB 15 2,841.00 kB 206,333.00 kB 16 3,200.00 kB 167,735.00 kB 17 3,640.00 kB 136,555.50 kB 18 3,431.00 kB 111,237.00 kB 19 3,221.50 kB 90,734.50 kB 20 4,310.00 kB 77,935.00 kB 21 31,494.33 kB 78,064.00 kB 22 5,440.00 kB 60,940.00 kB 23 4,000.00 kB 50,234.00 kB Nov 18 00 48,693.50 kB 90,971.50 kB 01 8,567.00 kB 75,310.50 kB 02 2,162.00 kB 61,408.50 kB 03 48,357.00 kB 57,284.00 kB 04 29,638.33 kB 67,598.00 kB 05 4,476.50 kB 52,880.50 kB 06 3,260.50 kB 43,593.50 kB 07 3,148.00 kB 35,915.00 kB 08 279,101.50 kB 527,783.50 kB 09 8,024.50 kB 428,845.00 kB 10 3,076.50 kB 348,148.50 kB 11 3,340.00 kB 282,614.00 kB 12 2,702.00 kB 229,459.50 kB 13 3,483.50 kB 186,482.50 kB 14 4,255.50 kB 151,795.00 kB 15 4,200.00 kB 123,762.50 kB 16 3,993.00 kB 101,037.00 kB 17 3,391.00 kB 82,492.50 kB 18 3,347.50 kB 67,460.50 kB 19 4,028.00 kB 55,371.00 kB 20 3,790.00 kB 45,580.00 kB 21 15,578.00 kB 39,811.00 kB 22 4,512.50 kB 33,173.00 kB 23 3,981.00 kB 27,627.50 kB Nov 19 00 17,973.00 kB 32,202.00 kB 01 1,955.00 kB 26,464.00 kB 02 2,053.00 kB 21,819.50 kB 03 3,523.00 kB 19,056.00 kB 04 42,949.00 kB 59,021.00 kB 05 216,387.00 kB 581,075.67 kB 06 2,621.00 kB 469,504.00 kB 07 18,357.00 kB 386,452.33 kB 08 2,755.50 kB 296,953.50 kB 09 2,954.50 kB 241,071.50 kB 10 3,073.00 kB 195,830.50 kB 11 3,516.00 kB 159,285.50 kB 12 3,915.50 kB 129,703.50 kB 13 3,084.50 kB 105,700.50 kB 14 3,603.00 kB 86,257.50 kB 15 3,296.00 kB 70,539.00 kB 16 3,064.00 kB 57,741.50 kB 17 4,157.50 kB 47,491.00 kB 18 8,287.00 kB 39,687.50 kB 19 6,826.50 kB 33,710.50 kB 20 17,543.00 kB 30,344.50 kB 21 8,738.00 kB 26,665.00 kB 22 8,137.00 kB 23,157.00 kB 23 3,558.00 kB 19,390.00 kB Nov 20 00 18,116.00 kB 32,830.00 kB 01 2,130.00 kB 28,288.00 kB 02 23,170.33 kB 54,415.67 kB 03 87,931.00 kB 87,931.00 kB 04 21,661.33 kB 77,150.67 kB 05 3,359.50 kB 59,783.50 kB 06 3,089.00 kB 51,515.00 kB 07 17,196.33 kB 46,286.00 kB 08 3,623.50 kB 36,243.50 kB 09 3,520.00 kB 31,464.00 kB 10 190,033.67 kB 470,580.67 kB 11 309,526.50 kB 583,191.50 kB 12 3,159.00 kB 473,089.50 kB 13 16,784.00 kB 385,199.00 kB 14 4,021.50 kB 313,940.00 kB 15 4,124.50 kB 255,039.50 kB 16 4,005.00 kB 207,386.50 kB 17 4,494.00 kB 168,808.50 kB 18 4,422.00 kB 137,573.50 kB 19 3,923.00 kB 112,212.00 kB 20 281,769.00 kB 532,079.50 kB 21 4,094.50 kB 431,749.00 kB 22 18,416.00 kB 353,208.50 kB 23 4,997.50 kB 287,034.00 kB Nov 21 00 26,802.50 kB 237,705.00 kB 01 5,333.00 kB 193,558.00 kB 02 5,783.50 kB 157,557.00 kB 03 32,054.00 kB 133,610.00 kB 04 11,849.50 kB 110,892.00 kB 05 3,182.00 kB 90,354.00 kB 06 13,934.50 kB 75,858.00 kB 07 23,674.50 kB 65,327.50 kB 08 16,572.00 kB 58,152.00 kB 09 239,541.00 kB 594,276.33 kB 10 3,444.50 kB 458,064.00 kB 11 3,418.00 kB 371,702.50 kB 12 15,548.50 kB 302,890.00 kB 13 2,667.50 kB 246,999.00 kB 14 5,178.50 kB 201,011.00 kB 15 2,188.50 kB 163,315.50 kB 16 6,456.00 kB 133,147.50 kB 17 2,641.50 kB 108,696.50 kB 18 2,445.00 kB 93,041.00 kB 19 17,026.00 kB 79,859.67 kB 20 1,733.00 kB 61,889.00 kB 21 2,579.00 kB 50,577.50 kB 22 2,135.50 kB 41,403.00 kB 23 30,984.50 kB 57,145.00 kB Nov 22 00 12,063.00 kB 48,623.00 kB 01 943.00 kB 41,597.00 kB 02 27,118.00 kB 54,132.67 kB 03 35,700.50 kB 56,520.50 kB 04 10,147.00 kB 48,218.50 kB 05 1,992.50 kB 39,364.00 kB 06 2,101.50 kB 32,336.50 kB 07 1,542.50 kB 26,505.00 kB 08 1,453.00 kB 21,756.50 kB 09 6,768.00 kB 18,448.00 kB 10 15,515.00 kB 22,968.50 kB 11 2,192.50 kB 25,506.50 kB 12 1,565.00 kB 21,041.50 kB 13 152,643.50 kB 277,849.50 kB 14 6,688,063.33 kB 6,690,889.33 kB 15 7,187,152.50 kB 8,652,313.50 kB 16 5,049,418.67 kB 8,374,576.00 kB 17 1,833.50 kB 6,601,150.00 kB 18 9,181.00 kB 5,348,701.00 kB 19 8,816,352.50 kB 8,817,071.00 kB 20 5,534,178.00 kB 8,492,640.00 kB 21 3,127.67 kB 6,638,426.00 kB 22 5,935,435.50 kB 7,710,145.00 kB 23 6,071,717.00 kB 8,736,668.33 kB Nov 23 00 4,423,621.00 kB 8,090,250.50 kB 01 8,316,245.86 kB 9,025,356.57 kB 02 3,754,818.33 kB 8,349,609.33 kB 03 1,785.00 kB 6,811,445.00 kB 04 7,925,315.80 kB 8,700,550.00 kB 05 8,848,455.86 kB 9,162,166.71 kB 06 3,794,066.50 kB 8,392,975.00 kB 07 553,048.50 kB 6,911,359.50 kB 08 4,799,981.33 kB 8,315,889.00 kB 09 2,016.50 kB 6,534,420.00 kB 10 1,825.50 kB 5,293,248.00 kB 11 2,454.50 kB 4,287,994.50 kB 12 4,198.00 kB 3,474,073.50 kB 13 2,180.50 kB 2,814,389.00 kB 14 1,985.00 kB 2,280,050.00 kB 15 2,258.00 kB 1,847,252.50 kB 16 2,073.50 kB 1,496,681.50 kB 17 2,780.50 kB 1,212,795.50 kB 18 2,761.00 kB 1,034,490.00 kB 19 76,777.00 kB 898,927.50 kB 20 58,702.00 kB 708,141.33 kB 21 2,977.00 kB 543,627.50 kB 22 3,350.00 kB 440,972.00 kB 23 5,806.50 kB 358,051.00 kB -
Temporary Files
Size of temporary files
Key values
- 21.02 GiB Temp Files size Peak
- 2024-11-22 22:33:42 Date
Number of temporary files
Key values
- 24 per second Temp Files Peak
- 2024-11-23 04:53:46 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Nov 17 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Nov 18 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 Nov 19 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Nov 20 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Nov 21 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Nov 22 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 806 26.41 GiB 33.56 MiB 15 317 24.56 GiB 79.35 MiB 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 74 73.48 GiB 1016.77 MiB 22 184 145.69 GiB 810.77 MiB 23 155 37.27 GiB 246.25 MiB Nov 23 00 175 16.32 GiB 95.49 MiB 01 166 31.77 GiB 195.98 MiB 02 0 0 0 03 0 0 0 04 466 28.80 GiB 63.29 MiB 05 514 126.30 GiB 251.62 MiB 06 0 0 0 07 0 0 0 08 8 8.00 GiB 1023.86 MiB 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 69.77 GiB 8.00 KiB 1.00 GiB 59.89 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-11-22 22:44:54 Duration: 6m40s 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-11-22 23:12:14 Duration: 5m8s
-
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-11-22 14:28:57 Duration: 4m5s
2 898 152.41 GiB 128.00 KiB 1.00 GiB 173.80 MiB vacuum full analyze;-
VACUUM FULL ANALYZE;
Date: 2024-11-23 05:32:35 Duration: 45m51s
-
VACUUM FULL ANALYZE;
Date: 2024-11-23 04:46:46 Duration: 0ms
3 73 72.02 GiB 22.38 MiB 1.00 GiB 1010.28 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-11-22 22:33:39 Duration: 0ms
4 62 1.98 GiB 6.73 MiB 1.00 GiB 32.75 MiB cluster pub1.term;-
CLUSTER pub1.TERM;
Date: 2024-11-23 04:46:07 Duration: 59s16ms
-
CLUSTER pub1.TERM;
Date: 2024-11-23 04:45:16 Duration: 0ms
5 49 48.91 GiB 936.76 MiB 1.00 GiB 1022.22 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-11-22 21:50:55 Duration: 0ms
6 35 1.13 GiB 24.76 MiB 50.37 MiB 32.98 MiB vacuum full analyze ixn_actor;-
vacuum FULL analyze ixn_actor;
Date: 2024-11-22 15:39:56 Duration: 23s530ms
-
vacuum FULL analyze ixn_actor;
Date: 2024-11-22 15:39:39 Duration: 0ms
7 35 3.73 GiB 62.34 MiB 147.37 MiB 109.00 MiB vacuum full analyze db_link;-
vacuum FULL analyze db_link;
Date: 2024-11-22 15:42:00 Duration: 1m35s
-
vacuum FULL analyze db_link;
Date: 2024-11-22 15:40:42 Duration: 0ms
8 25 24.56 GiB 576.03 MiB 1.00 GiB 1006.08 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-11-22 21:08:38 Duration: 0ms
9 25 370.55 MiB 10.51 MiB 18.88 MiB 14.82 MiB vacuum full analyze ixn;-
vacuum FULL analyze ixn;
Date: 2024-11-22 15:40:14 Duration: 7s368ms
-
vacuum FULL analyze ixn;
Date: 2024-11-22 15:40:09 Duration: 0ms
10 25 16.20 GiB 8.00 KiB 1.00 GiB 663.53 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-11-23 01:16:14 Duration: 2m57s
-
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2024-11-23 01:16:13 Duration: 0ms
11 20 12.52 GiB 8.00 KiB 1.00 GiB 641.12 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-11-22 22:50:21 Duration: 3m4s
-
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-11-22 22:50:20 Duration: 0ms
12 20 215.91 MiB 4.65 MiB 17.59 MiB 10.80 MiB vacuum full analyze term;-
vacuum FULL analyze TERM;
Date: 2024-11-22 15:39:56 Duration: 10s567ms
-
vacuum FULL analyze TERM;
Date: 2024-11-22 15:39:48 Duration: 0ms
13 20 722.07 MiB 20.52 MiB 59.51 MiB 36.10 MiB cluster pub1.term_label;-
CLUSTER pub1.TERM_LABEL;
Date: 2024-11-23 04:46:42 Duration: 35s409ms
-
CLUSTER pub1.TERM_LABEL;
Date: 2024-11-23 04:46:13 Duration: 0ms
14 15 6.96 GiB 8.00 KiB 1.00 GiB 474.90 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-11-22 22:47:17 Duration: 1m7s
-
ALTER TABLE pub1.gene_disease_reference ADD CONSTRAINT gene_disease_reference_pk PRIMARY KEY (id);
Date: 2024-11-22 22:47:16 Duration: 0ms Database: ctdprd51 User: pub1
15 15 11.57 GiB 279.69 MiB 1.00 GiB 789.90 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-11-23 01:17:59 Duration: 1m45s
-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);
Date: 2024-11-23 01:17:58 Duration: 0ms
16 10 6.96 GiB 362.32 MiB 1.00 GiB 712.35 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-11-22 22:58:06 Duration: 1m46s
-
CREATE INDEX ix_gene_disease_ref_dis_gene ON pub1.gene_disease_reference USING btree (disease_id, gene_id);
Date: 2024-11-22 22:58:06 Duration: 0ms
17 10 6.96 GiB 375.15 MiB 1.00 GiB 712.35 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-11-22 22:56:20 Duration: 1m20s
-
CREATE INDEX ix_gene_disease_ref_reference ON pub1.gene_disease_reference USING btree (reference_id);
Date: 2024-11-22 22:56:20 Duration: 0ms
18 10 6.96 GiB 325.20 MiB 1.00 GiB 712.35 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-11-22 22:55:00 Duration: 1m26s
-
CREATE INDEX ix_gene_disease_ref_disease ON pub1.gene_disease_reference USING btree (disease_id);
Date: 2024-11-22 22:54:59 Duration: 0ms
19 10 447.18 MiB 8.00 KiB 92.54 MiB 44.72 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-11-22 23:05:20 Duration: 5s831ms
-
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-11-22 23:05:20 Duration: 0ms
20 10 1.04 GiB 8.00 KiB 215.52 MiB 106.22 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-11-22 23:03:22 Duration: 12s37ms
-
ALTER TABLE pub1.phenotype_term_reference ADD CONSTRAINT phenotype_term_reference_pk PRIMARY KEY (id);
Date: 2024-11-22 23:03:22 Duration: 0ms
21 10 633.41 MiB 8.00 KiB 129.24 MiB 63.34 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-11-23 01:32:06 Duration: 6s113ms
-
ALTER TABLE pub1.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2024-11-23 01:32:06 Duration: 0ms Database: ctdprd51 User: pub1
22 10 6.96 GiB 370.00 MiB 1.00 GiB 712.35 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-11-22 22:51:06 Duration: 45s149ms
-
CREATE INDEX ix_gene_disease_ref_src_db ON pub1.gene_disease_reference USING btree (source_acc_db_id);
Date: 2024-11-22 22:51:06 Duration: 0ms
23 10 6.96 GiB 321.89 MiB 1.00 GiB 712.35 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-11-22 23:03:10 Duration: 2m21s
-
CREATE INDEX ix_gene_disease_ref_net_sc ON pub1.gene_disease_reference USING btree (network_score);
Date: 2024-11-22 23:03:09 Duration: 0ms
24 10 6.96 GiB 361.95 MiB 1.00 GiB 712.35 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-11-22 23:00:48 Duration: 1m20s
-
CREATE INDEX ix_gene_disease_ref_mod_tm ON pub1.gene_disease_reference USING btree (mod_tm);
Date: 2024-11-22 23:00:48 Duration: 0ms
25 10 245.48 MiB 8.00 KiB 49.59 MiB 24.55 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-11-22 23:05:14 Duration: 2s204ms
-
ALTER TABLE pub1.chem_disease_reference ADD CONSTRAINT chem_disease_reference_pk PRIMARY KEY (id);
Date: 2024-11-22 23:05:14 Duration: 0ms
26 10 6.96 GiB 349.58 MiB 1.00 GiB 712.35 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-11-22 22:53:33 Duration: 1m29s
-
CREATE INDEX ix_gene_disease_ref_chem ON pub1.gene_disease_reference USING btree (via_chem_id);
Date: 2024-11-22 22:53:33 Duration: 0ms
27 10 159.64 MiB 8.00 KiB 32.67 MiB 15.96 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-11-23 01:00:08 Duration: 2s259ms
-
ALTER TABLE pub1.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2024-11-23 01:00:08 Duration: 0ms Database: ctdprd51 User: pub1
28 10 64.09 MiB 8.00 KiB 14.22 MiB 6.41 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-11-23 01:32:34 Duration: 0ms
29 10 6.96 GiB 271.70 MiB 1.00 GiB 712.35 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-11-22 22:52:04 Duration: 58s387ms
-
CREATE INDEX ix_gene_disease_ref_source_cd ON pub1.gene_disease_reference USING btree (source_cd);
Date: 2024-11-22 22:52:04 Duration: 0ms
30 10 6.96 GiB 362.83 MiB 1.00 GiB 712.35 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-11-22 22:59:28 Duration: 1m21s
-
CREATE INDEX ix_gene_disease_reference_ixn ON pub1.gene_disease_reference USING btree (ixn_id);
Date: 2024-11-22 22:59:27 Duration: 0ms
31 8 64.55 MiB 8.00 KiB 16.57 MiB 8.07 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-11-23 01:32:37 Duration: 0ms
32 8 8.00 GiB 1022.86 MiB 1.00 GiB 1023.86 MiB select pub1.maint_cached_value_refresh_data_metrics ();-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2024-11-23 08:17:00 Duration: 33m55s
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2024-11-23 08:12:36 Duration: 0ms
33 6 5.49 GiB 500.52 MiB 1.00 GiB 936.75 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-11-22 22:37:23 Duration: 0ms
34 5 1.04 GiB 205.38 MiB 217.40 MiB 212.44 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-11-22 23:04:35 Duration: 11s24ms
-
CREATE INDEX ix_phenotype_term_reference_term_reference_id ON pub1.phenotype_term_reference USING btree (term_reference_id);
Date: 2024-11-22 23:04:35 Duration: 0ms
35 5 1.04 GiB 198.84 MiB 218.33 MiB 212.44 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-11-22 23:04:46 Duration: 10s762ms
-
CREATE INDEX ix_phenotype_term_reference_ixn_id ON pub1.phenotype_term_reference USING btree (ixn_id);
Date: 2024-11-22 23:04:46 Duration: 0ms
36 5 633.23 MiB 125.63 MiB 127.34 MiB 126.65 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-11-23 01:32:33 Duration: 6s681ms
-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub1.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2024-11-23 01:32:33 Duration: 0ms
37 5 633.38 MiB 123.20 MiB 129.58 MiB 126.67 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-11-23 01:32:19 Duration: 13s654ms
-
CREATE INDEX ix_gene_disease_network_score ON pub1.gene_disease USING btree (network_score);
Date: 2024-11-23 01:32:19 Duration: 0ms
38 5 1.04 GiB 208.83 MiB 217.22 MiB 212.44 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-11-22 23:03:41 Duration: 9s639ms
-
CREATE INDEX ix_phenotype_term_ref_term_id ON pub1.phenotype_term_reference USING btree (term_id);
Date: 2024-11-22 23:03:41 Duration: 0ms
39 5 64.05 MiB 9.76 MiB 13.99 MiB 12.81 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-11-23 01:32:36 Duration: 0ms
40 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-11-23 01:32:34 Duration: 0ms
41 5 159.59 MiB 29.19 MiB 33.88 MiB 31.92 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-11-23 01:00:09 Duration: 1s244ms
-
CREATE INDEX ix_term_enrich_obj_type ON pub1.term_enrichment USING btree (object_type_id);
Date: 2024-11-23 01:00:09 Duration: 0ms
42 5 1.04 GiB 197.35 MiB 218.81 MiB 212.44 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-11-22 23:04:24 Duration: 7s699ms
-
CREATE INDEX ix_phenotype_term_reference_source_acc_db_id ON pub1.phenotype_term_reference USING btree (source_acc_db_id);
Date: 2024-11-22 23:04:24 Duration: 0ms
43 5 245.44 MiB 47.79 MiB 49.62 MiB 49.09 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-11-22 23:05:29 Duration: 1s833ms
-
CREATE INDEX ix_chem_disease_ref_src_db ON pub1.chem_disease_reference USING btree (source_acc_db_id);
Date: 2024-11-22 23:05:29 Duration: 0ms
44 5 245.44 MiB 48.80 MiB 49.30 MiB 49.09 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-11-22 23:05:35 Duration: 2s692ms
-
CREATE INDEX ix_chem_disease_reference_ixn ON pub1.chem_disease_reference USING btree (ixn_id);
Date: 2024-11-22 23:05:35 Duration: 0ms
45 5 245.44 MiB 48.75 MiB 49.68 MiB 49.09 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-11-22 23:05:42 Duration: 4s938ms
-
CREATE INDEX ix_chem_disease_ref_net_sc ON pub1.chem_disease_reference USING btree (network_score);
Date: 2024-11-22 23:05:42 Duration: 0ms
46 5 245.44 MiB 46.62 MiB 51.02 MiB 49.09 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-11-22 23:05:28 Duration: 1s869ms
-
CREATE INDEX ix_chem_disease_ref_source_cd ON pub1.chem_disease_reference USING btree (source_cd);
Date: 2024-11-22 23:05:28 Duration: 0ms
47 5 245.44 MiB 48.60 MiB 49.33 MiB 49.09 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-11-22 23:05:38 Duration: 2s651ms
-
CREATE INDEX ix_chem_disease_ref_mod_tm ON pub1.chem_disease_reference USING btree (mod_tm);
Date: 2024-11-22 23:05:38 Duration: 0ms
48 5 245.44 MiB 48.37 MiB 49.66 MiB 49.09 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-11-22 23:05:26 Duration: 2s688ms
-
CREATE INDEX ix_chem_disease_reference_ref ON pub1.chem_disease_reference USING btree (reference_id);
Date: 2024-11-22 23:05:26 Duration: 0ms
49 5 245.44 MiB 44.23 MiB 50.48 MiB 49.09 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-11-22 23:05:32 Duration: 2s749ms
-
CREATE INDEX ix_chem_disease_reference_gene ON pub1.chem_disease_reference USING btree (via_gene_id);
Date: 2024-11-22 23:05:32 Duration: 0ms
50 5 1.04 GiB 207.02 MiB 220.32 MiB 212.44 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-11-22 23:03:31 Duration: 9s184ms
-
CREATE INDEX ixn_phenotype_term_ref_phenotype_id ON pub1.phenotype_term_reference USING btree (phenotype_id);
Date: 2024-11-22 23:03:31 Duration: 0ms
51 5 222.84 MiB 42.96 MiB 45.74 MiB 44.57 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-11-23 01:00:17 Duration: 4s519ms
-
CREATE INDEX ix_term_enrich_corr_p_val ON pub1.term_enrichment USING btree (corrected_p_val);
Date: 2024-11-23 01:00:16 Duration: 0ms
52 5 1.04 GiB 201.16 MiB 216.73 MiB 212.44 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-11-22 23:03:49 Duration: 8s443ms
-
CREATE INDEX ix_phenotype_term_ref_object_type_id ON pub1.phenotype_term_reference USING btree (term_object_type_id);
Date: 2024-11-22 23:03:49 Duration: 0ms
53 5 680.00 KiB 128.00 KiB 144.00 KiB 136.00 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-11-23 01:32:26 Duration: 0ms
54 5 64.05 MiB 10.52 MiB 14.64 MiB 12.81 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-11-23 01:32:35 Duration: 0ms
55 5 1.46 GiB 290.28 MiB 315.74 MiB 298.12 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-11-22 23:05:12 Duration: 13s965ms
-
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-11-22 23:05:12 Duration: 0ms
56 5 222.82 MiB 43.81 MiB 45.05 MiB 44.56 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-11-23 01:00:21 Duration: 4s956ms
-
CREATE INDEX ix_term_enrich_raw_p_val ON pub1.term_enrichment USING btree (raw_p_val);
Date: 2024-11-23 01:00:21 Duration: 0ms
57 5 1.04 GiB 200.02 MiB 223.02 MiB 212.44 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-11-22 23:04:00 Duration: 11s42ms
-
CREATE INDEX ix_phenotype_term_ref_reference_id ON pub1.phenotype_term_reference USING btree (reference_id);
Date: 2024-11-22 23:04:00 Duration: 0ms
58 5 1.04 GiB 203.95 MiB 218.63 MiB 212.44 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-11-22 23:04:16 Duration: 7s179ms
-
CREATE INDEX ix_phenotype_term_ref_evidence_cd ON pub1.phenotype_term_reference USING btree (evidence_cd);
Date: 2024-11-22 23:04:16 Duration: 0ms
59 5 159.59 MiB 31.38 MiB 32.61 MiB 31.92 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-11-23 01:00:12 Duration: 1s8ms
-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub1.term_enrichment USING btree (enriched_object_type_id);
Date: 2024-11-23 01:00:12 Duration: 0ms
60 5 633.38 MiB 126.10 MiB 127.05 MiB 126.67 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-11-23 01:32:26 Duration: 6s462ms
-
CREATE INDEX ix_gene_disease_disease ON pub1.gene_disease USING btree (disease_id);
Date: 2024-11-23 01:32:26 Duration: 0ms
61 5 245.44 MiB 46.45 MiB 52.15 MiB 49.09 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-11-22 23:05:23 Duration: 2s687ms
-
CREATE INDEX ix_chem_disease_reference_dis ON pub1.chem_disease_reference USING btree (disease_id);
Date: 2024-11-22 23:05:23 Duration: 0ms
62 5 159.60 MiB 31.56 MiB 32.68 MiB 31.92 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-11-23 01:00:11 Duration: 1s744ms
-
CREATE INDEX ix_term_enrich_tgt_match ON pub1.term_enrichment USING btree (target_match_qty);
Date: 2024-11-23 01:00:11 Duration: 0ms
63 5 1.04 GiB 202.36 MiB 223.16 MiB 212.43 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-11-22 23:04:58 Duration: 12s453ms
-
CREATE INDEX ix_phenotype_term_ref_via_term_id ON pub1.phenotype_term_reference USING btree (via_term_id);
Date: 2024-11-22 23:04:58 Duration: 0ms
64 5 1.04 GiB 191.72 MiB 223.62 MiB 212.44 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-11-22 23:04:09 Duration: 8s895ms
-
CREATE INDEX ix_phenotype_term_ref_taxon_id ON pub1.phenotype_term_reference USING btree (taxon_id);
Date: 2024-11-22 23:04:09 Duration: 0ms
65 4 63.63 MiB 15.62 MiB 16.34 MiB 15.91 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-11-23 01:32:40 Duration: 0ms
66 4 13.60 MiB 8.00 KiB 6.88 MiB 3.40 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-11-23 01:32:37 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-11-23 01:32:41 Duration: 0ms
68 4 1.99 MiB 408.00 KiB 608.00 KiB 510.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-11-23 01:32:40 Duration: 0ms
69 4 64.52 MiB 14.38 MiB 16.98 MiB 16.13 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-11-23 01:32:39 Duration: 1s437ms
-
CREATE INDEX ix_chem_disease_network_score ON pub1.chem_disease USING btree (network_score);
Date: 2024-11-23 01:32:39 Duration: 0ms
70 4 64.53 MiB 15.75 MiB 16.60 MiB 16.13 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-11-23 01:32:40 Duration: 0ms
71 2 6.16 MiB 2.65 MiB 3.51 MiB 3.08 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-11-23 01:32:37 Duration: 0ms
72 2 6.16 MiB 2.76 MiB 3.40 MiB 3.08 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-11-23 01:32:37 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2024-11-22 15:06:03 - Database: ctdprd51 - User: load - Application: pg_bulkload ]
2 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from 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-11-22 21:08:38 ]
3 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from 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-11-22 21:08:38 ]
4 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from 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-11-22 21:08:38 ]
5 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from 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-11-22 21:08:38 ]
6 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from 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-11-22 21:08:38 ]
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-11-22 21:08:38 ]
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-11-22 21:08:38 ]
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-11-22 21:08:38 ]
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-11-22 21:08:38 ]
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-11-22 21:08:38 ]
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-11-22 21:08:38 ]
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-11-22 21:08:38 ]
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-11-22 21:08:38 ]
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-11-22 21:08:38 ]
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-11-22 21:08:38 ]
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-11-22 21:08:38 ]
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-11-22 21:08:38 ]
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-11-22 21:08:38 ]
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-11-22 21:08:39 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 217.06 sec Highest CPU-cost vacuum
Table pub1.gene_disease
Database ctdprd51 - 2024-11-23 01:54:19 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 217.06 sec Highest CPU-cost vacuum
Table pub1.gene_disease
Database ctdprd51 - 2024-11-23 01:54:19 Date
Analyzes per table
Key values
- pubc.log_query (197) Main table analyzed (database ctdprd51)
- 307 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 197 ctdprd51.pg_catalog.pg_class 5 ctdprd51.pub1.term 4 ctdprd51.pg_catalog.pg_attribute 4 ctdprd51.pub2.term_set_enrichment 4 ctdprd51.pg_catalog.pg_type 3 ctdprd51.pub2.term_set_enrichment_agent 3 ctdprd51.pub1.reference 3 ctdprd51.pg_catalog.pg_shdepend 3 ctdprd51.pg_catalog.pg_depend 3 ctdprd51.pg_catalog.pg_index 3 ctdprd51.pub2.term_comp 2 ctdprd51.pub2.term_comp_agent 2 ctdprd51.pub1.db 2 ctdprd51.pg_catalog.pg_constraint 2 ctdprd51.pg_catalog.pg_trigger 2 ctdprd51.pub1.phenotype_term 2 ctdprd51.pub1.dag_node 2 ctdprd51.pub1.exp_anatomy 1 ctdprd51.pub1.exp_receptor_tobacco_use 1 ctdprd51.pub1.exp_event_location 1 ctdprd51.pub1.exp_event_project 1 postgres.pg_catalog.pg_shdepend 1 ctdprd51.edit.object_note 1 ctdprd51.pub1.exp_receptor_gender 1 ctdprd51.pub1.geographic_region 1 ctdprd51.pg_catalog.pg_proc 1 ctdprd51.edit.db_report 1 ctdprd51.pub1.list_db_report 1 ctdprd51.pub1.exp_stressor_stressor_src 1 ctdprd51.edit.list_db_report 1 ctdprd51.load.data_load 1 ctdprd51.pub1.slim_term_mapping 1 ctdprd51.edit.country 1 ctdprd51.pub1.exp_event 1 ctdprd51.pub1.exp_stressor 1 ctdprd51.pub1.gene_go_annot 1 ctdprd51.pub1.exposure 1 ctdprd51.edit.term_label_type 1 ctdprd51.pub1.gene_taxon 1 ctdprd51.pub1.exp_receptor 1 ctdprd51.edit.db_link 1 ctdprd51.pub1.gene_gene 1 ctdprd51.pub1.gene_disease 1 ctdprd51.edit.action_degree 1 ctdprd51.pub1.gene_chem_ref_gene_form 1 ctdprd51.pub1.reference_party 1 ctdprd51.edit.action_type_path 1 ctdprd51.pub1.medium 1 ctdprd51.pub1.db_link 1 ctdprd51.pub1.exp_receptor_race 1 ctdprd51.pub1.gene_gene_ref_throughput 1 ctdprd51.pub1.exp_event_assay_method 1 ctdprd51.edit.action_degree_type 1 ctdprd51.edit.db_report_site 1 ctdprd51.pub1.exp_study_factor 1 ctdprd51.pub1.gene_gene_reference 1 ctdprd51.edit.db 1 ctdprd51.pub1.dag_edge 1 ctdprd51.edit.action_type 1 ctdprd51.pub1.action_type 1 ctdprd51.pub1.term_reference 1 ctdprd51.pub1.country 1 ctdprd51.pub1.exp_outcome 1 ctdprd51.edit.exp_stressor_src_type 1 ctdprd51.edit.geographic_region 1 ctdprd51.pub1.img 1 ctdprd51.edit.slim_term 1 ctdprd51.pub1.db_report 1 ctdprd51.pub1.term_label 1 ctdprd51.pub1.reference_exp 1 ctdprd51.pg_catalog.pg_description 1 ctdprd51.pub1.ixn 1 ctdprd51.pg_catalog.pg_attrdef 1 ctdprd51.edit.reference_db_link 1 ctdprd51.pub1.term_pathway 1 ctdprd51.pub1.reference_party_role 1 ctdprd51.pub1.db_report_site 1 ctdprd51.pub1.chem_disease 1 Total 307 Vacuums per table
Key values
- pubc.log_query (68) Main table vacuumed on database ctdprd51
- 160 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 68 39 79,546 0 13,873 0 3,615 17,768 1,431 11,403,672 ctdprd51.pg_catalog.pg_statistic 10 8 5,807 0 695 0 253 2,225 572 2,698,694 ctdprd51.pg_toast.pg_toast_2619 7 7 25,525 0 8,428 0 71,015 20,817 6,252 3,204,493 ctdprd51.pg_catalog.pg_class 4 4 1,203 0 123 0 0 600 116 592,330 ctdprd51.pub1.term 4 2 1,552,794 0 130,135 0 32 883,374 311,564 1,438,598,123 ctdprd51.pub1.reference 3 2 658,474 0 60,933 0 0 404,076 51,108 226,804,427 ctdprd51.pg_toast.pg_toast_486223 3 0 90 0 12 0 0 6 3 25,332 ctdprd51.pub1.dag_node 2 1 402,441 0 10,659 0 0 314,976 595 94,830,904 ctdprd51.pub1.phenotype_term 2 2 959,072 0 125,146 0 0 769,671 98,701 260,816,393 ctdprd51.pg_catalog.pg_index 2 2 330 0 88 0 0 196 67 297,894 ctdprd51.pg_catalog.pg_type 2 2 240 0 77 0 0 120 53 218,433 ctdprd51.pg_catalog.pg_attribute 2 2 1,294 0 314 0 74 654 224 846,286 ctdprd51.pub1.reference_party_role 1 0 13,408 0 5 0 0 6,665 2 405,918 ctdprd51.pub2.term_set_enrichment 1 0 7,370 0 3,305 0 0 3,633 2 227,558 ctdprd51.pub1.gene_gene 1 0 12,103 0 5 0 0 6,000 2 366,387 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 32,551 0 5 0 0 16,226 2 970,289 ctdprd51.pub1.chem_disease 1 1 266,744 0 34,587 0 0 163,087 64,215 215,714,297 ctdprd51.pub1.gene_disease 1 1 2,826,178 0 611,446 0 0 1,601,764 592,019 2,127,616,126 ctdprd51.pub2.term_comp_agent 1 0 133 0 44 0 0 41 1 10,838 ctdprd51.pg_toast.pg_toast_6752664 1 0 19,835 0 2,075 0 0 9,892 2 597,747 ctdprd51.edit.reference_db_link 1 0 7,256 0 4 0 0 3,624 1 222,142 ctdprd51.pub1.exposure 1 0 3,678 0 3 0 0 1,786 1 113,793 ctdprd51.pub1.gene_go_annot 1 0 561,631 0 241,870 0 0 280,703 10 16,639,688 ctdprd51.edit.db_link 1 0 7,486 0 3 0 0 3,624 1 222,211 ctdprd51.pub1.term_pathway 1 0 3,331 0 3 0 0 1,614 1 103,645 ctdprd51.pub1.gene_taxon 1 0 148,349 0 6 0 0 74,116 4 4,401,873 ctdprd51.pub1.exp_receptor 1 0 7,316 0 4 0 0 3,629 2 228,150 ctdprd51.pub1.slim_term_mapping 1 0 600 0 4 0 0 262 2 28,421 ctdprd51.pub1.reference_exp 1 0 328 0 3 0 0 127 1 15,912 ctdprd51.pub1.ixn 1 1 1,480,351 0 90 0 0 1,261,537 185,054 125,376,907 ctdprd51.pg_toast.pg_toast_6752601 1 0 87,749 0 4 0 0 43,867 2 2,604,676 ctdprd51.pub1.exp_stressor 1 0 6,111 0 4 0 0 3,026 2 193,953 ctdprd51.pg_catalog.pg_attrdef 1 1 87 0 10 0 0 22 7 39,246 ctdprd51.pub1.exp_event 1 0 12,445 0 3 0 0 6,143 1 370,856 ctdprd51.pub1.img 1 0 1,108 0 5 0 0 524 2 44,119 ctdprd51.pg_toast.pg_toast_6752532 1 1 90 0 3 0 0 50 3 11,696 ctdprd51.pub1.term_label 1 0 183,279 0 5 0 0 91,572 3 5,427,561 ctdprd51.pub1.exp_stressor_stressor_src 1 0 2,607 0 4 0 0 1,275 1 83,644 ctdprd51.pg_catalog.pg_trigger 1 1 311 0 38 0 0 123 37 169,759 ctdprd51.edit.receptor 1 0 44 0 5 0 0 3 2 14,919 ctdprd51.edit.object_note 1 1 168 0 2 0 0 12 2 11,041 ctdprd51.pub2.term_comp 1 0 156 0 34 0 0 30 2 14,733 ctdprd51.pub1.exp_outcome 1 0 667 0 3 0 0 276 1 24,703 ctdprd51.pub1.term_reference 1 0 37,264 0 5 0 0 18,577 2 1,107,082 postgres.pg_catalog.pg_shdepend 1 1 213 0 19 0 0 96 17 67,438 ctdprd51.edit.db_report 1 0 96 0 2 0 0 9 2 16,762 ctdprd51.pg_catalog.pg_depend 1 1 676 0 86 0 65 306 91 337,071 ctdprd51.pub1.exp_receptor_gender 1 0 2,696 0 3 0 0 1,333 1 87,066 ctdprd51.pub1.exp_study_factor 1 0 114 0 15 0 0 11 2 16,064 ctdprd51.pub1.gene_gene_reference 1 0 30,532 0 3 0 0 15,190 1 904,629 ctdprd51.pg_catalog.pg_constraint 1 1 227 0 45 0 0 111 40 154,138 ctdprd51.pub1.dag_edge 1 0 1,024 0 5 0 0 482 2 39,765 ctdprd51.pub2.term_set_enrichment_agent 1 0 307,271 0 135,139 0 0 153,553 7 9,113,823 ctdprd51.pub1.exp_event_project 1 0 2,034 0 3 0 0 995 1 67,124 ctdprd51.pub1.reference_party 1 0 5,130 0 4 0 0 2,514 2 159,365 ctdprd51.pub1.exp_anatomy 1 0 125 0 3 0 0 34 1 10,425 ctdprd51.pub1.exp_event_assay_method 1 0 4,830 0 4 0 0 2,369 2 154,426 ctdprd51.pub1.exp_event_location 1 0 3,438 0 4 0 0 1,667 2 112,876 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 1,194 0 3 0 0 562 1 41,577 ctdprd51.pub1.db 1 1 115 0 3 0 0 17 1 11,366 ctdprd51.pub1.db_link 1 0 247,351 0 123,562 0 0 123,555 5 7,328,991 ctdprd51.pub1.exp_receptor_race 1 0 1,326 0 3 0 0 628 1 45,471 ctdprd51.pub1.gene_gene_ref_throughput 1 0 14,628 0 3 0 0 7,288 1 438,411 Total 160 82 10,040,570 190,610 1,502,979 0 75,054 6,329,033 1,312,255 4,562,823,659 Tuples removed per table
Key values
- pub1.gene_disease (33141051) Main table with removed tuples on database ctdprd51
- 62890779 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pub1.gene_disease 1 1 33,141,051 33,141,051 0 0 487,369 ctdprd51.pub1.phenotype_term 2 2 20,124,226 6,700,568 0 0 250,700 ctdprd51.pub1.chem_disease 1 1 3,375,771 3,375,771 0 0 49,594 ctdprd51.pub1.ixn 1 1 2,345,559 2,289,382 0 0 540,887 ctdprd51.pub1.term 4 2 2,102,326 6,326,109 0 0 406,052 ctdprd51.pub1.dag_node 2 1 1,721,303 3,427,930 0 0 123,871 ctdprd51.pub1.reference 3 2 44,850 594,629 0 0 201,963 ctdprd51.pg_toast.pg_toast_2619 7 7 24,767 126,670 328 0 88,144 ctdprd51.pg_catalog.pg_statistic 10 8 2,881 25,423 1,904 0 2,900 ctdprd51.pg_catalog.pg_attribute 2 2 2,711 16,272 0 52 420 ctdprd51.pg_catalog.pg_depend 1 1 1,823 12,963 0 0 145 ctdprd51.pg_catalog.pg_trigger 1 1 602 1,123 0 5 45 ctdprd51.pg_catalog.pg_class 4 4 575 6,872 0 0 244 postgres.pg_catalog.pg_shdepend 1 1 548 2,071 0 0 21 ctdprd51.pubc.log_query 68 39 457 1,266,599 280 0 50,151 ctdprd51.pg_catalog.pg_index 2 2 374 2,124 0 2 78 ctdprd51.pg_catalog.pg_type 2 2 235 2,310 0 0 70 ctdprd51.pg_catalog.pg_constraint 1 1 215 658 0 0 36 ctdprd51.pub1.db 1 1 130 130 0 0 6 ctdprd51.edit.db_report 1 0 106 158 0 0 4 ctdprd51.pg_catalog.pg_attrdef 1 1 73 204 0 0 11 ctdprd51.pg_toast.pg_toast_6752532 1 1 71 69 0 0 21 ctdprd51.edit.receptor 1 0 64 16 0 0 1 ctdprd51.edit.object_note 1 1 61 33 0 0 3 ctdprd51.pub1.reference_party_role 1 0 0 1,232,731 0 0 6,664 ctdprd51.pub2.term_set_enrichment 1 0 0 1,086,816 0 0 18,001 ctdprd51.pub1.gene_gene 1 0 0 1,109,633 0 0 5,999 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 0 2,994,703 0 0 16,225 ctdprd51.pub2.term_comp_agent 1 0 0 17,397 0 0 152 ctdprd51.pg_toast.pg_toast_6752664 1 0 0 51,168 0 0 9,891 ctdprd51.edit.reference_db_link 1 0 0 325,269 0 0 3,623 ctdprd51.pub1.exposure 1 0 0 216,673 0 0 1,785 ctdprd51.pub1.gene_go_annot 1 0 0 44,072,144 0 0 280,702 ctdprd51.edit.db_link 1 0 0 325,269 0 0 3,623 ctdprd51.pub1.term_pathway 1 0 0 135,792 0 0 1,613 ctdprd51.pub1.gene_taxon 1 0 0 11,636,084 0 0 74,115 ctdprd51.pub1.exp_receptor 1 0 0 192,441 0 0 3,628 ctdprd51.pub1.slim_term_mapping 1 0 0 32,805 0 0 261 ctdprd51.pub1.reference_exp 1 0 0 3,485 0 0 126 ctdprd51.pg_toast.pg_toast_6752601 1 0 0 237,201 0 0 43,866 ctdprd51.pub1.exp_stressor 1 0 0 210,036 0 0 3,025 ctdprd51.pub1.exp_event 1 0 0 209,183 0 0 6,142 ctdprd51.pub1.img 1 0 0 50,713 0 0 523 ctdprd51.pub1.term_label 1 0 0 6,230,689 0 0 91,571 ctdprd51.pub1.exp_stressor_stressor_src 1 0 0 287,831 0 0 1,274 ctdprd51.pub2.term_comp 1 0 0 3,055 0 0 29 ctdprd51.pub1.exp_outcome 1 0 0 21,370 0 0 275 ctdprd51.pub1.term_reference 1 0 0 3,436,387 0 0 18,576 ctdprd51.pub1.exp_receptor_gender 1 0 0 190,346 0 0 1,332 ctdprd51.pub1.exp_study_factor 1 0 0 1,635 0 0 10 ctdprd51.pub1.gene_gene_reference 1 0 0 1,394,331 0 0 15,189 ctdprd51.pub1.dag_edge 1 0 0 88,931 0 0 481 ctdprd51.pg_toast.pg_toast_486223 3 0 0 10 0 0 3 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 67,481,645 0 0 766,837 ctdprd51.pub1.exp_event_project 1 0 0 95,667 0 0 994 ctdprd51.pub1.reference_party 1 0 0 449,932 0 0 2,513 ctdprd51.pub1.exp_anatomy 1 0 0 3,867 0 0 33 ctdprd51.pub1.exp_event_assay_method 1 0 0 237,698 0 0 2,368 ctdprd51.pub1.exp_event_location 1 0 0 251,076 0 0 1,666 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 0 79,531 0 0 561 ctdprd51.pub1.db_link 1 0 0 17,108,189 0 0 123,554 ctdprd51.pub1.exp_receptor_race 1 0 0 96,656 0 0 627 ctdprd51.pub1.gene_gene_ref_throughput 1 0 0 1,401,741 0 0 7,287 Total 160 82 62,890,779 220,319,265 2,512 59 3,717,880 Pages removed per table
Key values
- pg_catalog.pg_attribute (52) Main table with removed pages on database ctdprd51
- 59 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_catalog.pg_attribute 2 2 2711 52 ctdprd51.pg_catalog.pg_trigger 1 1 602 5 ctdprd51.pg_catalog.pg_index 2 2 374 2 ctdprd51.pub1.reference_party_role 1 0 0 0 ctdprd51.pub2.term_set_enrichment 1 0 0 0 ctdprd51.pub1.gene_gene 1 0 0 0 ctdprd51.pg_catalog.pg_class 4 4 575 0 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 0 0 ctdprd51.pub1.chem_disease 1 1 3375771 0 ctdprd51.pub1.gene_disease 1 1 33141051 0 ctdprd51.pub2.term_comp_agent 1 0 0 0 ctdprd51.pg_toast.pg_toast_6752664 1 0 0 0 ctdprd51.edit.reference_db_link 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 7 7 24767 0 ctdprd51.pub1.exposure 1 0 0 0 ctdprd51.pub1.dag_node 2 1 1721303 0 ctdprd51.pub1.gene_go_annot 1 0 0 0 ctdprd51.edit.db_link 1 0 0 0 ctdprd51.pub1.term_pathway 1 0 0 0 ctdprd51.pub1.gene_taxon 1 0 0 0 ctdprd51.pub1.exp_receptor 1 0 0 0 ctdprd51.pub1.slim_term_mapping 1 0 0 0 ctdprd51.pub1.term 4 2 2102326 0 ctdprd51.pub1.reference_exp 1 0 0 0 ctdprd51.pub1.ixn 1 1 2345559 0 ctdprd51.pg_toast.pg_toast_6752601 1 0 0 0 ctdprd51.pub1.exp_stressor 1 0 0 0 ctdprd51.pub1.phenotype_term 2 2 20124226 0 ctdprd51.pg_catalog.pg_attrdef 1 1 73 0 ctdprd51.pub1.exp_event 1 0 0 0 ctdprd51.pub1.img 1 0 0 0 ctdprd51.pg_toast.pg_toast_6752532 1 1 71 0 ctdprd51.pub1.term_label 1 0 0 0 ctdprd51.pub1.exp_stressor_stressor_src 1 0 0 0 ctdprd51.edit.receptor 1 0 64 0 ctdprd51.edit.object_note 1 1 61 0 ctdprd51.pub2.term_comp 1 0 0 0 ctdprd51.pub1.exp_outcome 1 0 0 0 ctdprd51.pub1.term_reference 1 0 0 0 postgres.pg_catalog.pg_shdepend 1 1 548 0 ctdprd51.edit.db_report 1 0 106 0 ctdprd51.pg_catalog.pg_depend 1 1 1823 0 ctdprd51.pub1.exp_receptor_gender 1 0 0 0 ctdprd51.pub1.exp_study_factor 1 0 0 0 ctdprd51.pub1.gene_gene_reference 1 0 0 0 ctdprd51.pg_catalog.pg_constraint 1 1 215 0 ctdprd51.pub1.dag_edge 1 0 0 0 ctdprd51.pg_catalog.pg_type 2 2 235 0 ctdprd51.pg_catalog.pg_statistic 10 8 2881 0 ctdprd51.pub1.reference 3 2 44850 0 ctdprd51.pg_toast.pg_toast_486223 3 0 0 0 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 0 ctdprd51.pub1.exp_event_project 1 0 0 0 ctdprd51.pubc.log_query 68 39 457 0 ctdprd51.pub1.reference_party 1 0 0 0 ctdprd51.pub1.exp_anatomy 1 0 0 0 ctdprd51.pub1.exp_event_assay_method 1 0 0 0 ctdprd51.pub1.exp_event_location 1 0 0 0 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 0 0 ctdprd51.pub1.db 1 1 130 0 ctdprd51.pub1.db_link 1 0 0 0 ctdprd51.pub1.exp_receptor_race 1 0 0 0 ctdprd51.pub1.gene_gene_ref_throughput 1 0 0 0 Total 160 82 62,890,779 59 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Nov 17 00 0 3 01 0 3 02 0 2 03 0 2 04 0 1 05 0 2 06 0 1 07 0 0 08 0 1 09 0 3 10 0 1 11 0 1 12 0 1 13 0 1 14 0 1 15 0 2 16 0 0 17 0 2 18 0 1 19 0 0 20 0 1 21 0 0 22 0 1 23 0 1 Nov 18 00 0 3 01 0 4 02 0 3 03 0 2 04 0 2 05 0 1 06 0 1 07 0 2 08 0 1 09 0 1 10 0 0 11 0 1 12 0 0 13 0 1 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 Nov 19 00 0 3 01 0 4 02 0 3 03 0 3 04 0 2 05 0 2 06 0 1 07 0 2 08 0 0 09 0 1 10 0 1 11 0 1 12 0 1 13 0 1 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 Nov 20 00 0 4 01 0 4 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 3 10 0 1 11 0 1 12 0 1 13 0 0 14 0 1 15 0 0 16 0 1 17 0 1 18 0 0 19 0 1 20 0 0 21 0 0 22 0 1 23 0 0 Nov 21 00 0 4 01 0 4 02 0 3 03 0 2 04 0 2 05 0 1 06 0 2 07 0 2 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 0 14 0 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 0 Nov 22 00 0 3 01 0 5 02 0 3 03 0 2 04 0 1 05 0 2 06 0 1 07 0 2 08 0 0 09 0 1 10 0 20 11 0 1 12 0 1 13 0 17 14 0 3 15 0 2 16 0 1 17 0 1 18 0 0 19 0 20 20 0 2 21 0 1 22 0 1 23 0 0 Nov 23 00 0 3 01 0 35 02 0 3 03 0 5 04 0 3 05 0 6 06 0 1 07 0 4 08 0 2 09 0 1 10 0 1 11 0 1 12 0 0 13 0 1 14 0 0 15 0 1 16 0 0 17 0 1 18 0 1 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 - 217.06 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- AccessExclusiveLock Main Lock Type
- 1 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 24s179ms 24s179ms 24s179ms 24s179ms 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-11-22 22:44:54 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-11-22 23:12:14 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-11-22 14:28:57 Bind query: yes
Queries that waited the most
Rank Wait time Query 1 24s179ms SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2024-11-22 14:00:59 ]
-
Queries
Queries by type
Key values
- 9,936 Total read queries
- 462 Total write queries
Queries by database
Key values
- unknown Main database
- 7,453 Requests
- 1d16h53m16s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 17,024 Requests
User Request type Count Duration edit Total 3 30s506ms insert 3 30s506ms editeu Total 28 1m24s select 28 1m24s load Total 88 1h7m42s others 2 5s775ms select 86 1h7m36s postgres Total 108 46m28s copy to 108 46m28s pub1 Total 14 37m56s ddl 3 17s988ms insert 7 37m19s select 4 18s999ms pubeu Total 6,392 13h13m4s cte 39 1m58s select 6,353 13h11m6s qaeu Total 81 3m55s cte 17 57s896ms select 64 2m58s unknown Total 17,024 3d22h12m32s copy to 667 6h31m38s cte 122 4m21s ddl 139 1h38m36s insert 66 2h22s others 69 2h34m18s select 15,943 3d8h44m4s update 18 39m10s zbx_monitor Total 3 7s469ms select 3 7s469ms Duration by user
Key values
- 3d22h12m32s (unknown) Main time consuming user
User Request type Count Duration edit Total 3 30s506ms insert 3 30s506ms editeu Total 28 1m24s select 28 1m24s load Total 88 1h7m42s others 2 5s775ms select 86 1h7m36s postgres Total 108 46m28s copy to 108 46m28s pub1 Total 14 37m56s ddl 3 17s988ms insert 7 37m19s select 4 18s999ms pubeu Total 6,392 13h13m4s cte 39 1m58s select 6,353 13h11m6s qaeu Total 81 3m55s cte 17 57s896ms select 64 2m58s unknown Total 17,024 3d22h12m32s copy to 667 6h31m38s cte 122 4m21s ddl 139 1h38m36s insert 66 2h22s others 69 2h34m18s select 15,943 3d8h44m4s update 18 39m10s zbx_monitor Total 3 7s469ms select 3 7s469ms Queries by host
Key values
- unknown Main host
- 23,741 Requests
- 4d14h3m42s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 10,353 Requests
- 1d23h8m17s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:5771213 Total 1 4s216ms select 1 4s216ms pgAdmin 4 - CONN:8515588 Total 1 10s168ms insert 1 10s168ms pg_bulkload Total 23 13m59s select 23 13m59s pg_dump Total 49 21m16s copy to 49 21m16s psql Total 1 5s996ms ddl 1 5s996ms unknown Total 10,353 1d23h8m17s copy to 246 1h47m11s cte 75 3m4s ddl 51 39m1s insert 30 54m21s others 30 52m4s select 9,912 1d18h32m58s update 9 19m35s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-11-18 15:59:49 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 10,002 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 5h53m42s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'KIDNEY DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-11-20 06:50:12 - Bind query: yes ]
2 5h53m32s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'KIDNEY DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-11-20 06:55:03 - Bind query: yes ]
3 5h53m15s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'KIDNEY DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-11-20 07:00:33 - Bind query: yes ]
4 2h22s select pub1.maint_term_derive_data ();[ Date: 2024-11-23 07:33:21 - Bind query: yes ]
5 1h43m15s select pub1.maint_gene_chem_ref_gene_form_refresh ();[ Date: 2024-11-23 03:38:23 - Bind query: yes ]
6 1h8s SELECT maint_term_derive_nm_fts ();[ Date: 2024-11-23 04:41:16 - Bind query: yes ]
7 45m51s VACUUM FULL ANALYZE;[ Date: 2024-11-23 05:32:35 - Bind query: yes ]
8 42m38s 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-11-22 22:33:37 - Bind query: yes ]
9 38m48s 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-11-22 21:50:53 - Bind query: yes ]
10 33m55s select pub1.maint_cached_value_refresh_data_metrics ();[ Date: 2024-11-23 08:17:00 - Bind query: yes ]
11 33m32s 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-11-22 20:21:04 - Bind query: yes ]
12 24m COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-11-23 19:01:03 ]
13 23m55s 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-11-22 19:39:11 - Bind query: yes ]
14 23m53s COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-11-23 19:42:19 ]
15 19m21s /* * 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-11-21 00:19:23 ]
16 19m15s /* * 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-11-23 00:19:17 ]
17 19m13s /* * 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-11-20 00:19:15 ]
18 19m10s /* * 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-11-22 00:19:12 ]
19 19m8s /* * 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-11-19 00:19:09 ]
20 19m6s /* * 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-11-18 00:19:08 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 17h40m30s 3 5h53m15s 5h53m42s 5h53m30s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 20 06 2 11h47m14s 5h53m37s 07 1 5h53m15s 5h53m15s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'KIDNEY DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-20 06:50:12 Duration: 5h53m42s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'KIDNEY DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-20 06:55:03 Duration: 5h53m32s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'KIDNEY DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-20 07:00:33 Duration: 5h53m15s Bind query: yes
2 6h57m26s 167 1s60ms 17m45s 2m29s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 17 10 1 1s657ms 1s657ms 12 2 5s509ms 2s754ms 20 3 14m29s 4m49s 21 3 14m42s 4m54s Nov 18 14 2 8m32s 4m16s 15 1 4m59s 4m59s 22 11 10m27s 57s88ms Nov 19 01 2 13m40s 6m50s 04 3 3m5s 1m1s 10 4 14m44s 3m41s 11 1 3m56s 3m56s 14 3 5s377ms 1s792ms 17 8 17m15s 2m9s 19 4 8m12s 2m3s Nov 20 07 4 1h9m50s 17m27s 08 1 17m45s 17m45s 11 2 6s432ms 3s216ms 19 1 2m59s 2m59s 22 1 17m29s 17m29s Nov 21 00 2 2m12s 1m6s 01 5 9m29s 1m53s 07 5 10m26s 2m5s 11 1 8m37s 8m37s 15 4 6s90ms 1s522ms 16 17 20m4s 1m10s 18 2 13m41s 6m50s Nov 22 02 10 5m43s 34s361ms 08 11 7m22s 40s268ms 09 3 30m57s 10m19s 10 6 12s334ms 2s55ms Nov 23 02 3 9m31s 3m10s 05 18 19m49s 1m6s 07 16 12m1s 45s109ms 13 5 25m12s 5m2s 19 1 17m32s 17m32s 23 1 1m52s 1m52s [ User: pubeu - Total duration: 3h14m7s - Times executed: 60 ]
-
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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-20 08:31:59 Duration: 17m45s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-23 19:06:45 Duration: 17m32s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-20 22:50:06 Duration: 17m29s Bind query: yes
3 2h14m15s 7 18m59s 19m21s 19m10s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 17 00 1 18m59s 18m59s Nov 18 00 1 19m6s 19m6s Nov 19 00 1 19m8s 19m8s Nov 20 00 1 19m13s 19m13s Nov 21 00 1 19m21s 19m21s Nov 22 00 1 19m10s 19m10s Nov 23 00 1 19m15s 19m15s -
/* * 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-11-21 00:19:23 Duration: 19m21s
-
/* * 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-11-23 00:19:17 Duration: 19m15s
-
/* * 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-11-20 00:19:15 Duration: 19m13s
4 2h22s 1 2h22s 2h22s 2h22s select pub1.maint_term_derive_data ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 23 07 1 2h22s 2h22s -
select pub1.maint_term_derive_data ();
Date: 2024-11-23 07:33:21 Duration: 2h22s Bind query: yes
5 1h43m15s 1 1h43m15s 1h43m15s 1h43m15s select pub1.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 23 03 1 1h43m15s 1h43m15s -
select pub1.maint_gene_chem_ref_gene_form_refresh ();
Date: 2024-11-23 03:38:23 Duration: 1h43m15s Bind query: yes
6 1h6m1s 3,551 1s4ms 2s231ms 1s115ms 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 #6
Day Hour Count Duration Avg duration Nov 17 00 19 21s46ms 1s107ms 01 14 15s287ms 1s91ms 02 21 22s930ms 1s91ms 03 20 22s59ms 1s102ms 04 16 17s414ms 1s88ms 05 23 25s291ms 1s99ms 06 40 43s608ms 1s90ms 07 19 20s516ms 1s79ms 08 16 17s367ms 1s85ms 09 20 21s909ms 1s95ms 10 16 17s418ms 1s88ms 11 29 31s454ms 1s84ms 12 20 21s988ms 1s99ms 13 21 22s617ms 1s77ms 14 16 17s319ms 1s82ms 15 28 30s481ms 1s88ms 16 30 32s326ms 1s77ms 17 27 29s243ms 1s83ms 18 25 27s45ms 1s81ms 19 25 27s296ms 1s91ms 20 16 17s391ms 1s86ms 21 25 27s513ms 1s100ms 22 29 32s143ms 1s108ms 23 14 15s571ms 1s112ms Nov 18 00 24 26s797ms 1s116ms 01 27 30s151ms 1s116ms 02 16 17s882ms 1s117ms 03 18 20s44ms 1s113ms 04 16 17s575ms 1s98ms 05 23 25s619ms 1s113ms 06 16 17s233ms 1s77ms 07 23 25s60ms 1s89ms 08 17 18s433ms 1s84ms 09 24 25s874ms 1s78ms 10 16 17s62ms 1s66ms 11 14 15s384ms 1s98ms 12 16 17s404ms 1s87ms 13 21 23s103ms 1s100ms 14 19 20s801ms 1s94ms 15 17 18s525ms 1s89ms 16 11 11s882ms 1s80ms 17 20 21s889ms 1s94ms 18 12 12s903ms 1s75ms 19 14 15s168ms 1s83ms 20 25 27s200ms 1s88ms 21 21 22s747ms 1s83ms 22 30 33s494ms 1s116ms 23 19 20s952ms 1s102ms Nov 19 00 16 17s875ms 1s117ms 01 19 20s898ms 1s99ms 02 16 17s657ms 1s103ms 03 19 21s136ms 1s112ms 04 20 21s864ms 1s93ms 05 44 48s170ms 1s94ms 06 12 13s105ms 1s92ms 07 23 24s815ms 1s78ms 08 11 12s140ms 1s103ms 09 23 25s59ms 1s89ms 10 20 21s640ms 1s82ms 11 12 13s139ms 1s94ms 12 21 22s754ms 1s83ms 13 28 30s207ms 1s78ms 14 24 25s837ms 1s76ms 15 28 30s699ms 1s96ms 16 15 16s469ms 1s97ms 17 16 17s332ms 1s83ms 18 24 26s65ms 1s86ms 19 18 19s414ms 1s78ms 20 16 17s421ms 1s88ms 21 21 22s945ms 1s92ms 22 18 20s228ms 1s123ms 23 16 17s953ms 1s122ms Nov 20 00 20 22s663ms 1s133ms 01 31 35s885ms 1s157ms 02 18 20s869ms 1s159ms 03 16 18s616ms 1s163ms 04 25 28s927ms 1s157ms 05 23 26s773ms 1s164ms 06 12 13s977ms 1s164ms 07 15 16s343ms 1s89ms 08 23 25s654ms 1s115ms 09 18 19s813ms 1s100ms 10 26 28s314ms 1s89ms 11 12 13s143ms 1s95ms 12 28 30s540ms 1s90ms 13 16 17s540ms 1s96ms 14 20 22s29ms 1s101ms 15 29 31s649ms 1s91ms 16 23 25s99ms 1s91ms 17 10 10s928ms 1s92ms 18 15 16s483ms 1s98ms 19 20 21s845ms 1s92ms 20 32 34s462ms 1s76ms 21 19 20s640ms 1s86ms 22 20 22s435ms 1s121ms 23 25 27s735ms 1s109ms Nov 21 00 14 15s380ms 1s98ms 01 23 25s733ms 1s118ms 02 15 16s565ms 1s104ms 03 24 26s725ms 1s113ms 04 16 17s893ms 1s118ms 05 28 31s817ms 1s136ms 06 23 25s186ms 1s95ms 07 20 21s964ms 1s98ms 08 19 20s946ms 1s102ms 09 26 27s829ms 1s70ms 10 17 18s468ms 1s86ms 11 15 16s216ms 1s81ms 12 13 14s66ms 1s82ms 13 27 29s319ms 1s85ms 14 22 23s905ms 1s86ms 15 19 20s179ms 1s62ms 16 19 20s442ms 1s75ms 17 21 23s15ms 1s95ms 18 23 25s200ms 1s95ms 19 19 20s511ms 1s79ms 20 16 17s540ms 1s96ms 21 30 33s408ms 1s113ms 22 38 42s602ms 1s121ms 23 32 36s8ms 1s125ms Nov 22 00 20 22s516ms 1s125ms 01 17 19s584ms 1s152ms 02 22 25s761ms 1s170ms 03 24 27s257ms 1s135ms 04 35 38s988ms 1s113ms 05 15 16s773ms 1s118ms 06 20 21s757ms 1s87ms 07 16 17s648ms 1s103ms 08 33 36s411ms 1s103ms 09 19 27s549ms 1s449ms 10 14 15s503ms 1s107ms 11 24 27s854ms 1s160ms 12 24 28s110ms 1s171ms 13 21 24s190ms 1s151ms 14 30 34s688ms 1s156ms 15 18 20s595ms 1s144ms 16 21 24s45ms 1s145ms 17 26 29s903ms 1s150ms 18 8 9s237ms 1s154ms 19 38 42s277ms 1s112ms 20 16 17s590ms 1s99ms 21 22 24s142ms 1s97ms 22 17 19s272ms 1s133ms 23 25 28s532ms 1s141ms Nov 23 00 22 25s24ms 1s137ms 01 16 19s347ms 1s209ms 02 35 39s800ms 1s137ms 03 24 27s285ms 1s136ms 04 22 25s210ms 1s145ms 05 29 36s284ms 1s251ms 06 20 23s490ms 1s174ms 07 20 22s953ms 1s147ms 08 24 27s737ms 1s155ms 09 21 24s411ms 1s162ms 10 21 24s494ms 1s166ms 11 20 23s476ms 1s173ms 12 22 26s3ms 1s181ms 13 25 29s62ms 1s162ms 14 22 25s483ms 1s158ms 15 19 22s287ms 1s173ms 16 28 32s710ms 1s168ms 17 17 19s717ms 1s159ms 18 32 37s919ms 1s184ms 19 22 25s534ms 1s160ms 20 21 24s166ms 1s150ms 21 17 19s577ms 1s151ms 22 25 28s730ms 1s149ms 23 19 21s884ms 1s151ms [ User: pubeu - Total duration: 19m10s - Times executed: 1031 ]
[ User: qaeu - Total duration: 2s336ms - Times executed: 2 ]
-
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 = '2056333' or receptorTerm.id = '2056333' 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-11-23 05:02:26 Duration: 2s231ms 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 = '1998070' or receptorTerm.id = '1998070' 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-11-22 02:15:42 Duration: 2s144ms 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 = '1915854' or receptorTerm.id = '1915854' 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-11-22 09:23:31 Duration: 2s108ms Bind query: yes
7 1h8s 1 1h8s 1h8s 1h8s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 23 04 1 1h8s 1h8s -
SELECT maint_term_derive_nm_fts ();
Date: 2024-11-23 04:41:16 Duration: 1h8s Bind query: yes
8 46m18s 72 1s188ms 6m40s 38s595ms select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 22 14 31 14m29s 28s42ms 15 8 8m19s 1m2s 20 6 1m7s 11s226ms 22 3 7m55s 2m38s 23 3 6m45s 2m15s Nov 23 00 17 7m4s 24s973ms 01 4 37s305ms 9s326ms [ User: load - Total duration: 13m59s - Times executed: 23 ]
[ Application: pg_bulkload - Total duration: 13m59s - 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-11-22 22:44:54 Duration: 6m40s 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-11-22 23:12:14 Duration: 5m8s 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-11-22 14:28:57 Duration: 4m5s Bind query: yes
9 45m51s 1 45m51s 45m51s 45m51s vacuum full analyze;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 23 05 1 45m51s 45m51s -
VACUUM FULL ANALYZE;
Date: 2024-11-23 05:32:35 Duration: 45m51s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2024-11-23 04:46:46 Duration: 0ms
10 43m14s 670 3s619ms 16s152ms 3s872ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 17 01 2 7s625ms 3s812ms 02 1 3s902ms 3s902ms 04 1 3s833ms 3s833ms 07 2 20s64ms 10s32ms 08 1 3s804ms 3s804ms 10 6 23s57ms 3s842ms 11 1 3s762ms 3s762ms 12 2 7s699ms 3s849ms 14 2 7s641ms 3s820ms 16 1 3s814ms 3s814ms 20 33 2m6s 3s828ms 21 9 34s323ms 3s813ms 22 7 27s49ms 3s864ms 23 6 23s57ms 3s842ms Nov 18 00 12 46s225ms 3s852ms 01 5 19s306ms 3s861ms 02 14 53s832ms 3s845ms 03 12 45s889ms 3s824ms 04 2 7s775ms 3s887ms 05 3 11s505ms 3s835ms 06 2 7s628ms 3s814ms 07 1 3s786ms 3s786ms 08 2 7s958ms 3s979ms 09 1 3s934ms 3s934ms 10 4 15s626ms 3s906ms 12 2 7s859ms 3s929ms 13 2 7s984ms 3s992ms 14 3 11s772ms 3s924ms 15 2 7s957ms 3s978ms 16 1 3s941ms 3s941ms 19 1 3s806ms 3s806ms 20 27 1m43s 3s836ms 21 4 15s484ms 3s871ms 22 3 11s578ms 3s859ms 23 8 30s595ms 3s824ms Nov 19 01 4 15s698ms 3s924ms 03 3 11s458ms 3s819ms 04 2 8s238ms 4s119ms 05 2 7s650ms 3s825ms 06 1 3s853ms 3s853ms 07 4 16s356ms 4s89ms 08 1 4s6ms 4s6ms 09 4 15s632ms 3s908ms 10 1 3s911ms 3s911ms 11 1 4s22ms 4s22ms 13 8 31s442ms 3s930ms 14 2 7s562ms 3s781ms 15 3 11s472ms 3s824ms 16 7 27s647ms 3s949ms 17 2 7s865ms 3s932ms 19 1 3s720ms 3s720ms 20 9 34s505ms 3s833ms 21 2 7s833ms 3s916ms 22 4 15s673ms 3s918ms Nov 20 00 9 35s6ms 3s889ms 01 6 23s674ms 3s945ms 04 1 3s869ms 3s869ms 05 4 16s621ms 4s155ms 06 1 3s866ms 3s866ms 07 1 3s786ms 3s786ms 08 2 7s537ms 3s768ms 09 3 12s111ms 4s37ms 10 2 7s979ms 3s989ms 11 4 15s888ms 3s972ms 13 3 12s65ms 4s21ms 14 1 3s949ms 3s949ms 15 1 3s813ms 3s813ms 16 3 11s147ms 3s715ms 17 1 3s713ms 3s713ms 19 4 15s534ms 3s883ms 20 3 11s448ms 3s816ms 21 2 7s794ms 3s897ms 22 17 1m4s 3s808ms 23 11 41s555ms 3s777ms Nov 21 00 3 11s397ms 3s799ms 01 25 1m34s 3s790ms 02 42 2m40s 3s818ms 03 27 1m43s 3s823ms 04 26 1m39s 3s812ms 05 7 26s667ms 3s809ms 06 1 3s687ms 3s687ms 07 2 7s881ms 3s940ms 08 2 7s719ms 3s859ms 09 2 7s691ms 3s845ms 10 3 11s462ms 3s820ms 11 5 19s209ms 3s841ms 12 6 22s949ms 3s824ms 13 1 3s987ms 3s987ms 14 3 11s176ms 3s725ms 16 3 11s300ms 3s766ms 17 1 3s700ms 3s700ms 18 1 3s899ms 3s899ms 19 11 41s595ms 3s781ms 20 42 2m40s 3s813ms 21 27 1m44s 3s873ms 22 10 38s387ms 3s838ms 23 31 1m59s 3s862ms Nov 22 00 4 14s890ms 3s722ms 01 10 39s831ms 3s983ms 02 1 3s746ms 3s746ms 03 2 9s344ms 4s672ms 05 1 3s889ms 3s889ms 07 3 12s617ms 4s205ms 08 1 3s695ms 3s695ms 10 4 15s458ms 3s864ms 11 1 3s841ms 3s841ms 12 1 3s971ms 3s971ms 13 4 15s85ms 3s771ms 14 1 3s678ms 3s678ms 15 1 4s122ms 4s122ms 16 4 14s868ms 3s717ms Nov 23 01 3 12s439ms 4s146ms 03 4 15s504ms 3s876ms 04 2 8s187ms 4s93ms 05 1 3s642ms 3s642ms 09 2 7s594ms 3s797ms 10 4 15s546ms 3s886ms 12 2 7s602ms 3s801ms 13 1 4s115ms 4s115ms 17 3 11s649ms 3s883ms 18 1 4s9ms 4s9ms 19 1 4s80ms 4s80ms 22 1 3s999ms 3s999ms 23 1 3s893ms 3s893ms [ User: pubeu - Total duration: 16m11s - Times executed: 251 ]
-
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 = '1394946') 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 = '1394946') 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-11-17 07:44:09 Duration: 16s152ms 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 = '1339648') 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 = '1339648') 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-11-22 03:46:32 Duration: 5s456ms 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 = '1339648') 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 = '1339648') 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-11-22 07:31:49 Duration: 5s273ms Database: ctdprd51 User: pubeu Bind query: yes
11 42m38s 1 42m38s 42m38s 42m38s 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 Nov 22 22 1 42m38s 42m38s -
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-11-22 22:33:37 Duration: 42m38s Bind query: yes
12 38m48s 1 38m48s 38m48s 38m48s 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 Nov 22 21 1 38m48s 38m48s -
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-11-22 21:50:53 Duration: 38m48s Bind query: yes
13 33m55s 1 33m55s 33m55s 33m55s select pub1.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 23 08 1 33m55s 33m55s -
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2024-11-23 08:17:00 Duration: 33m55s Bind query: yes
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2024-11-23 08:12:36 Duration: 0ms
14 33m32s 1 33m32s 33m32s 33m32s 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 #14
Day Hour Count Duration Avg duration Nov 22 20 1 33m32s 33m32s -
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-11-22 20:21:04 Duration: 33m32s Bind query: yes
15 31m13s 99 1s28ms 28s891ms 18s923ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 17 09 3 59s305ms 19s768ms 10 5 1m34s 18s970ms 19 3 58s272ms 19s424ms 20 1 19s482ms 19s482ms Nov 18 05 4 1m17s 19s398ms 06 1 19s236ms 19s236ms 21 3 58s265ms 19s421ms 22 2 39s133ms 19s566ms 23 3 58s992ms 19s664ms Nov 19 00 2 38s429ms 19s214ms 02 1 19s528ms 19s528ms 03 8 2m35s 19s423ms 05 8 2m41s 20s158ms 06 1 19s404ms 19s404ms 10 3 1m3s 21s252ms 11 1 28s891ms 28s891ms 17 1 19s562ms 19s562ms 19 2 2s84ms 1s42ms 20 4 1m20s 20s132ms 21 2 39s962ms 19s981ms Nov 20 01 5 1m37s 19s434ms 02 5 1m55s 23s45ms 17 1 2s728ms 2s728ms 20 4 1m17s 19s347ms 21 1 19s290ms 19s290ms Nov 21 08 4 1m17s 19s370ms 17 2 38s363ms 19s181ms 18 1 19s181ms 19s181ms 21 5 1m37s 19s573ms Nov 22 07 1 19s550ms 19s550ms 08 3 57s843ms 19s281ms 09 1 19s330ms 19s330ms 14 1 7s993ms 7s993ms 17 1 19s289ms 19s289ms 18 2 20s516ms 10s258ms Nov 23 00 4 1m10s 17s560ms [ User: pubeu - Total duration: 11m40s - Times executed: 35 ]
-
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 = '2087073') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-19 11:08:10 Duration: 28s891ms 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 = '2083779') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-20 02:17:06 Duration: 28s847ms 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 = '2079439') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-20 02:16:59 Duration: 27s656ms Database: ctdprd51 User: pubeu Bind query: yes
16 24m 1 24m 24m 24m copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 23 19 1 24m 24m -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-11-23 19:01:03 Duration: 24m
17 23m55s 1 23m55s 23m55s 23m55s 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 #17
Day Hour Count Duration Avg duration Nov 22 19 1 23m55s 23m55s -
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-11-22 19:39:11 Duration: 23m55s Bind query: yes
18 23m53s 1 23m53s 23m53s 23m53s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 23 19 1 23m53s 23m53s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-11-23 19:42:19 Duration: 23m53s
19 21m57s 4 5m26s 5m37s 5m29s 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 phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 20 07 2 10m53s 5m26s 08 2 11m4s 5m32s [ User: pubeu - Total duration: 5m26s - Times executed: 1 ]
-
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 = '2080219') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-20 08:29:27 Duration: 5m37s 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 = '2080219') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-20 07:46:20 Duration: 5m26s 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 = '2080219') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-20 07:55:56 Duration: 5m26s Bind query: yes
20 19m33s 7 1m56s 3m10s 2m47s 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 phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 21 09 1 1m56s 1m56s Nov 22 02 2 5m45s 2m52s 03 4 11m52s 2m58s [ User: pubeu - Total duration: 16m42s - Times executed: 6 ]
-
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 = '1213960') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-22 03:36:17 Duration: 3m10s 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 = '1213960') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-22 03:14:13 Duration: 2m59s 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 = '1213960') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-22 02:40:44 Duration: 2m53s Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 3,551 1h6m1s 1s4ms 2s231ms 1s115ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 17 00 19 21s46ms 1s107ms 01 14 15s287ms 1s91ms 02 21 22s930ms 1s91ms 03 20 22s59ms 1s102ms 04 16 17s414ms 1s88ms 05 23 25s291ms 1s99ms 06 40 43s608ms 1s90ms 07 19 20s516ms 1s79ms 08 16 17s367ms 1s85ms 09 20 21s909ms 1s95ms 10 16 17s418ms 1s88ms 11 29 31s454ms 1s84ms 12 20 21s988ms 1s99ms 13 21 22s617ms 1s77ms 14 16 17s319ms 1s82ms 15 28 30s481ms 1s88ms 16 30 32s326ms 1s77ms 17 27 29s243ms 1s83ms 18 25 27s45ms 1s81ms 19 25 27s296ms 1s91ms 20 16 17s391ms 1s86ms 21 25 27s513ms 1s100ms 22 29 32s143ms 1s108ms 23 14 15s571ms 1s112ms Nov 18 00 24 26s797ms 1s116ms 01 27 30s151ms 1s116ms 02 16 17s882ms 1s117ms 03 18 20s44ms 1s113ms 04 16 17s575ms 1s98ms 05 23 25s619ms 1s113ms 06 16 17s233ms 1s77ms 07 23 25s60ms 1s89ms 08 17 18s433ms 1s84ms 09 24 25s874ms 1s78ms 10 16 17s62ms 1s66ms 11 14 15s384ms 1s98ms 12 16 17s404ms 1s87ms 13 21 23s103ms 1s100ms 14 19 20s801ms 1s94ms 15 17 18s525ms 1s89ms 16 11 11s882ms 1s80ms 17 20 21s889ms 1s94ms 18 12 12s903ms 1s75ms 19 14 15s168ms 1s83ms 20 25 27s200ms 1s88ms 21 21 22s747ms 1s83ms 22 30 33s494ms 1s116ms 23 19 20s952ms 1s102ms Nov 19 00 16 17s875ms 1s117ms 01 19 20s898ms 1s99ms 02 16 17s657ms 1s103ms 03 19 21s136ms 1s112ms 04 20 21s864ms 1s93ms 05 44 48s170ms 1s94ms 06 12 13s105ms 1s92ms 07 23 24s815ms 1s78ms 08 11 12s140ms 1s103ms 09 23 25s59ms 1s89ms 10 20 21s640ms 1s82ms 11 12 13s139ms 1s94ms 12 21 22s754ms 1s83ms 13 28 30s207ms 1s78ms 14 24 25s837ms 1s76ms 15 28 30s699ms 1s96ms 16 15 16s469ms 1s97ms 17 16 17s332ms 1s83ms 18 24 26s65ms 1s86ms 19 18 19s414ms 1s78ms 20 16 17s421ms 1s88ms 21 21 22s945ms 1s92ms 22 18 20s228ms 1s123ms 23 16 17s953ms 1s122ms Nov 20 00 20 22s663ms 1s133ms 01 31 35s885ms 1s157ms 02 18 20s869ms 1s159ms 03 16 18s616ms 1s163ms 04 25 28s927ms 1s157ms 05 23 26s773ms 1s164ms 06 12 13s977ms 1s164ms 07 15 16s343ms 1s89ms 08 23 25s654ms 1s115ms 09 18 19s813ms 1s100ms 10 26 28s314ms 1s89ms 11 12 13s143ms 1s95ms 12 28 30s540ms 1s90ms 13 16 17s540ms 1s96ms 14 20 22s29ms 1s101ms 15 29 31s649ms 1s91ms 16 23 25s99ms 1s91ms 17 10 10s928ms 1s92ms 18 15 16s483ms 1s98ms 19 20 21s845ms 1s92ms 20 32 34s462ms 1s76ms 21 19 20s640ms 1s86ms 22 20 22s435ms 1s121ms 23 25 27s735ms 1s109ms Nov 21 00 14 15s380ms 1s98ms 01 23 25s733ms 1s118ms 02 15 16s565ms 1s104ms 03 24 26s725ms 1s113ms 04 16 17s893ms 1s118ms 05 28 31s817ms 1s136ms 06 23 25s186ms 1s95ms 07 20 21s964ms 1s98ms 08 19 20s946ms 1s102ms 09 26 27s829ms 1s70ms 10 17 18s468ms 1s86ms 11 15 16s216ms 1s81ms 12 13 14s66ms 1s82ms 13 27 29s319ms 1s85ms 14 22 23s905ms 1s86ms 15 19 20s179ms 1s62ms 16 19 20s442ms 1s75ms 17 21 23s15ms 1s95ms 18 23 25s200ms 1s95ms 19 19 20s511ms 1s79ms 20 16 17s540ms 1s96ms 21 30 33s408ms 1s113ms 22 38 42s602ms 1s121ms 23 32 36s8ms 1s125ms Nov 22 00 20 22s516ms 1s125ms 01 17 19s584ms 1s152ms 02 22 25s761ms 1s170ms 03 24 27s257ms 1s135ms 04 35 38s988ms 1s113ms 05 15 16s773ms 1s118ms 06 20 21s757ms 1s87ms 07 16 17s648ms 1s103ms 08 33 36s411ms 1s103ms 09 19 27s549ms 1s449ms 10 14 15s503ms 1s107ms 11 24 27s854ms 1s160ms 12 24 28s110ms 1s171ms 13 21 24s190ms 1s151ms 14 30 34s688ms 1s156ms 15 18 20s595ms 1s144ms 16 21 24s45ms 1s145ms 17 26 29s903ms 1s150ms 18 8 9s237ms 1s154ms 19 38 42s277ms 1s112ms 20 16 17s590ms 1s99ms 21 22 24s142ms 1s97ms 22 17 19s272ms 1s133ms 23 25 28s532ms 1s141ms Nov 23 00 22 25s24ms 1s137ms 01 16 19s347ms 1s209ms 02 35 39s800ms 1s137ms 03 24 27s285ms 1s136ms 04 22 25s210ms 1s145ms 05 29 36s284ms 1s251ms 06 20 23s490ms 1s174ms 07 20 22s953ms 1s147ms 08 24 27s737ms 1s155ms 09 21 24s411ms 1s162ms 10 21 24s494ms 1s166ms 11 20 23s476ms 1s173ms 12 22 26s3ms 1s181ms 13 25 29s62ms 1s162ms 14 22 25s483ms 1s158ms 15 19 22s287ms 1s173ms 16 28 32s710ms 1s168ms 17 17 19s717ms 1s159ms 18 32 37s919ms 1s184ms 19 22 25s534ms 1s160ms 20 21 24s166ms 1s150ms 21 17 19s577ms 1s151ms 22 25 28s730ms 1s149ms 23 19 21s884ms 1s151ms [ User: pubeu - Total duration: 19m10s - Times executed: 1031 ]
[ User: qaeu - Total duration: 2s336ms - Times executed: 2 ]
-
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 = '2056333' or receptorTerm.id = '2056333' 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-11-23 05:02:26 Duration: 2s231ms 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 = '1998070' or receptorTerm.id = '1998070' 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-11-22 02:15:42 Duration: 2s144ms 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 = '1915854' or receptorTerm.id = '1915854' 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-11-22 09:23:31 Duration: 2s108ms Bind query: yes
2 921 18m43s 1s95ms 2s353ms 1s219ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 17 00 6 6s952ms 1s158ms 01 7 8s341ms 1s191ms 02 2 2s322ms 1s161ms 03 5 5s959ms 1s191ms 04 5 6s58ms 1s211ms 05 4 4s932ms 1s233ms 06 2 2s359ms 1s179ms 07 7 8s109ms 1s158ms 08 8 9s435ms 1s179ms 09 3 3s468ms 1s156ms 10 4 4s814ms 1s203ms 11 11 12s983ms 1s180ms 12 5 5s919ms 1s183ms 13 4 4s919ms 1s229ms 14 4 4s838ms 1s209ms 15 3 3s598ms 1s199ms 17 3 3s519ms 1s173ms 18 3 3s506ms 1s168ms 19 3 3s589ms 1s196ms 20 2 2s260ms 1s130ms 21 8 9s383ms 1s172ms 22 3 3s685ms 1s228ms 23 5 6s88ms 1s217ms Nov 18 00 2 2s406ms 1s203ms 01 18 22s12ms 1s222ms 02 9 10s885ms 1s209ms 03 3 3s668ms 1s222ms 04 1 1s178ms 1s178ms 05 6 7s331ms 1s221ms 06 4 4s544ms 1s136ms 07 5 5s928ms 1s185ms 08 8 9s565ms 1s195ms 10 8 9s451ms 1s181ms 11 5 5s948ms 1s189ms 12 5 5s934ms 1s186ms 13 7 8s294ms 1s184ms 14 7 8s217ms 1s173ms 15 6 7s79ms 1s179ms 16 2 2s318ms 1s159ms 17 3 3s482ms 1s160ms 19 4 4s745ms 1s186ms 20 10 11s884ms 1s188ms 21 4 4s813ms 1s203ms 22 6 7s307ms 1s217ms 23 5 6s13ms 1s202ms Nov 19 00 5 6s81ms 1s216ms 01 2 2s446ms 1s223ms 02 5 5s994ms 1s198ms 03 2 2s435ms 1s217ms 04 7 8s142ms 1s163ms 05 7 8s413ms 1s201ms 06 8 9s592ms 1s199ms 07 4 4s677ms 1s169ms 08 1 1s281ms 1s281ms 09 10 11s625ms 1s162ms 10 5 5s990ms 1s198ms 11 5 5s968ms 1s193ms 12 3 3s515ms 1s171ms 13 8 9s577ms 1s197ms 14 4 4s720ms 1s180ms 15 3 3s507ms 1s169ms 16 3 3s670ms 1s223ms 17 4 4s876ms 1s219ms 18 8 9s578ms 1s197ms 19 6 7s472ms 1s245ms 20 8 9s492ms 1s186ms 22 4 4s937ms 1s234ms 23 7 8s239ms 1s177ms Nov 20 00 8 9s587ms 1s198ms 01 6 7s688ms 1s281ms 02 10 13s146ms 1s314ms 03 12 15s3ms 1s250ms 04 4 5s131ms 1s282ms 05 3 4s31ms 1s343ms 06 5 6s203ms 1s240ms 07 10 11s712ms 1s171ms 08 2 2s373ms 1s186ms 09 14 16s564ms 1s183ms 10 7 8s327ms 1s189ms 11 3 3s665ms 1s221ms 12 6 7s18ms 1s169ms 13 7 8s278ms 1s182ms 14 8 9s538ms 1s192ms 15 1 1s196ms 1s196ms 16 8 9s388ms 1s173ms 18 4 4s624ms 1s156ms 19 10 12s284ms 1s228ms 20 6 7s182ms 1s197ms 21 6 7s176ms 1s196ms 22 9 11s403ms 1s267ms 23 6 7s119ms 1s186ms Nov 21 00 9 11s63ms 1s229ms 01 2 2s488ms 1s244ms 02 8 9s901ms 1s237ms 03 7 8s588ms 1s226ms 04 4 4s885ms 1s221ms 05 10 12s170ms 1s217ms 06 1 1s201ms 1s201ms 07 4 5s714ms 1s428ms 08 6 7s87ms 1s181ms 09 4 4s941ms 1s235ms 10 8 9s531ms 1s191ms 11 8 9s287ms 1s160ms 12 3 3s585ms 1s195ms 13 3 3s551ms 1s183ms 14 9 10s454ms 1s161ms 15 5 5s697ms 1s139ms 16 7 8s311ms 1s187ms 17 4 4s788ms 1s197ms 18 12 14s124ms 1s177ms 19 4 4s775ms 1s193ms 20 5 5s894ms 1s178ms 21 3 3s635ms 1s211ms 22 11 13s78ms 1s188ms 23 6 7s288ms 1s214ms Nov 22 00 7 8s502ms 1s214ms 01 6 7s196ms 1s199ms 02 2 2s487ms 1s243ms 03 2 2s558ms 1s279ms 04 8 9s921ms 1s240ms 05 4 4s838ms 1s209ms 06 2 2s373ms 1s186ms 07 8 9s579ms 1s197ms 08 8 9s689ms 1s211ms 09 6 9s8ms 1s501ms 10 7 8s591ms 1s227ms 11 6 7s609ms 1s268ms 12 5 6s165ms 1s233ms 13 5 6s278ms 1s255ms 14 5 6s293ms 1s258ms 15 3 3s728ms 1s242ms 16 3 3s819ms 1s273ms 17 4 5s88ms 1s272ms 18 7 8s660ms 1s237ms 19 3 3s525ms 1s175ms 20 5 6s146ms 1s229ms 21 4 4s711ms 1s177ms 22 6 7s298ms 1s216ms 23 4 4s944ms 1s236ms Nov 23 00 8 9s802ms 1s225ms 01 9 11s295ms 1s255ms 02 1 1s156ms 1s156ms 03 3 3s635ms 1s211ms 04 10 12s296ms 1s229ms 05 13 18s947ms 1s457ms 07 11 14s549ms 1s322ms 08 2 2s538ms 1s269ms 09 7 8s746ms 1s249ms 10 2 2s659ms 1s329ms 11 6 7s688ms 1s281ms 12 2 2s541ms 1s270ms 13 7 9s424ms 1s346ms 14 8 10s299ms 1s287ms 15 4 5s222ms 1s305ms 16 8 10s176ms 1s272ms 17 7 8s887ms 1s269ms 18 8 10s167ms 1s270ms 19 14 17s571ms 1s255ms 20 6 7s547ms 1s257ms 21 6 7s576ms 1s262ms 22 3 3s705ms 1s235ms 23 4 5s153ms 1s288ms [ User: pubeu - Total duration: 5m28s - Times executed: 269 ]
[ User: qaeu - Total duration: 2s737ms - Times executed: 2 ]
-
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 = '1217380') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1217380') 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-11-23 05:02:25 Duration: 2s353ms 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 = '1217380') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1217380') 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-11-23 05:02:23 Duration: 2s258ms 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 = '1242133') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1242133') 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-11-21 07:21:51 Duration: 2s117ms Database: ctdprd51 User: pubeu Bind query: yes
3 670 43m14s 3s619ms 16s152ms 3s872ms 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 #3
Day Hour Count Duration Avg duration Nov 17 01 2 7s625ms 3s812ms 02 1 3s902ms 3s902ms 04 1 3s833ms 3s833ms 07 2 20s64ms 10s32ms 08 1 3s804ms 3s804ms 10 6 23s57ms 3s842ms 11 1 3s762ms 3s762ms 12 2 7s699ms 3s849ms 14 2 7s641ms 3s820ms 16 1 3s814ms 3s814ms 20 33 2m6s 3s828ms 21 9 34s323ms 3s813ms 22 7 27s49ms 3s864ms 23 6 23s57ms 3s842ms Nov 18 00 12 46s225ms 3s852ms 01 5 19s306ms 3s861ms 02 14 53s832ms 3s845ms 03 12 45s889ms 3s824ms 04 2 7s775ms 3s887ms 05 3 11s505ms 3s835ms 06 2 7s628ms 3s814ms 07 1 3s786ms 3s786ms 08 2 7s958ms 3s979ms 09 1 3s934ms 3s934ms 10 4 15s626ms 3s906ms 12 2 7s859ms 3s929ms 13 2 7s984ms 3s992ms 14 3 11s772ms 3s924ms 15 2 7s957ms 3s978ms 16 1 3s941ms 3s941ms 19 1 3s806ms 3s806ms 20 27 1m43s 3s836ms 21 4 15s484ms 3s871ms 22 3 11s578ms 3s859ms 23 8 30s595ms 3s824ms Nov 19 01 4 15s698ms 3s924ms 03 3 11s458ms 3s819ms 04 2 8s238ms 4s119ms 05 2 7s650ms 3s825ms 06 1 3s853ms 3s853ms 07 4 16s356ms 4s89ms 08 1 4s6ms 4s6ms 09 4 15s632ms 3s908ms 10 1 3s911ms 3s911ms 11 1 4s22ms 4s22ms 13 8 31s442ms 3s930ms 14 2 7s562ms 3s781ms 15 3 11s472ms 3s824ms 16 7 27s647ms 3s949ms 17 2 7s865ms 3s932ms 19 1 3s720ms 3s720ms 20 9 34s505ms 3s833ms 21 2 7s833ms 3s916ms 22 4 15s673ms 3s918ms Nov 20 00 9 35s6ms 3s889ms 01 6 23s674ms 3s945ms 04 1 3s869ms 3s869ms 05 4 16s621ms 4s155ms 06 1 3s866ms 3s866ms 07 1 3s786ms 3s786ms 08 2 7s537ms 3s768ms 09 3 12s111ms 4s37ms 10 2 7s979ms 3s989ms 11 4 15s888ms 3s972ms 13 3 12s65ms 4s21ms 14 1 3s949ms 3s949ms 15 1 3s813ms 3s813ms 16 3 11s147ms 3s715ms 17 1 3s713ms 3s713ms 19 4 15s534ms 3s883ms 20 3 11s448ms 3s816ms 21 2 7s794ms 3s897ms 22 17 1m4s 3s808ms 23 11 41s555ms 3s777ms Nov 21 00 3 11s397ms 3s799ms 01 25 1m34s 3s790ms 02 42 2m40s 3s818ms 03 27 1m43s 3s823ms 04 26 1m39s 3s812ms 05 7 26s667ms 3s809ms 06 1 3s687ms 3s687ms 07 2 7s881ms 3s940ms 08 2 7s719ms 3s859ms 09 2 7s691ms 3s845ms 10 3 11s462ms 3s820ms 11 5 19s209ms 3s841ms 12 6 22s949ms 3s824ms 13 1 3s987ms 3s987ms 14 3 11s176ms 3s725ms 16 3 11s300ms 3s766ms 17 1 3s700ms 3s700ms 18 1 3s899ms 3s899ms 19 11 41s595ms 3s781ms 20 42 2m40s 3s813ms 21 27 1m44s 3s873ms 22 10 38s387ms 3s838ms 23 31 1m59s 3s862ms Nov 22 00 4 14s890ms 3s722ms 01 10 39s831ms 3s983ms 02 1 3s746ms 3s746ms 03 2 9s344ms 4s672ms 05 1 3s889ms 3s889ms 07 3 12s617ms 4s205ms 08 1 3s695ms 3s695ms 10 4 15s458ms 3s864ms 11 1 3s841ms 3s841ms 12 1 3s971ms 3s971ms 13 4 15s85ms 3s771ms 14 1 3s678ms 3s678ms 15 1 4s122ms 4s122ms 16 4 14s868ms 3s717ms Nov 23 01 3 12s439ms 4s146ms 03 4 15s504ms 3s876ms 04 2 8s187ms 4s93ms 05 1 3s642ms 3s642ms 09 2 7s594ms 3s797ms 10 4 15s546ms 3s886ms 12 2 7s602ms 3s801ms 13 1 4s115ms 4s115ms 17 3 11s649ms 3s883ms 18 1 4s9ms 4s9ms 19 1 4s80ms 4s80ms 22 1 3s999ms 3s999ms 23 1 3s893ms 3s893ms [ User: pubeu - Total duration: 16m11s - Times executed: 251 ]
-
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 = '1394946') 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 = '1394946') 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-11-17 07:44:09 Duration: 16s152ms 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 = '1339648') 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 = '1339648') 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-11-22 03:46:32 Duration: 5s456ms 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 = '1339648') 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 = '1339648') 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-11-22 07:31:49 Duration: 5s273ms Database: ctdprd51 User: pubeu Bind query: yes
4 509 10m29s 1s107ms 1s680ms 1s237ms 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 Nov 17 00 2 2s436ms 1s218ms 01 5 5s824ms 1s164ms 02 6 7s37ms 1s172ms 04 2 2s373ms 1s186ms 05 2 2s579ms 1s289ms 06 2 2s453ms 1s226ms 07 3 3s611ms 1s203ms 08 2 2s572ms 1s286ms 09 6 7s104ms 1s184ms 10 1 1s242ms 1s242ms 12 6 7s141ms 1s190ms 13 2 2s634ms 1s317ms 16 2 2s352ms 1s176ms 17 2 2s290ms 1s145ms 19 8 9s466ms 1s183ms 20 2 2s385ms 1s192ms 21 3 3s664ms 1s221ms 22 2 2s429ms 1s214ms Nov 18 00 4 4s855ms 1s213ms 01 3 3s705ms 1s235ms 02 7 8s636ms 1s233ms 03 4 4s941ms 1s235ms 04 3 3s706ms 1s235ms 05 8 9s919ms 1s239ms 07 2 2s400ms 1s200ms 08 3 3s473ms 1s157ms 10 4 4s979ms 1s244ms 11 2 2s476ms 1s238ms 12 4 4s697ms 1s174ms 13 6 6s941ms 1s156ms 15 2 2s488ms 1s244ms 16 2 2s337ms 1s168ms 17 2 2s462ms 1s231ms 18 6 7s231ms 1s205ms 21 4 5s159ms 1s289ms 22 7 8s657ms 1s236ms 23 1 1s306ms 1s306ms Nov 19 01 3 3s833ms 1s277ms 02 4 5s438ms 1s359ms 03 2 2s377ms 1s188ms 05 7 8s621ms 1s231ms 06 2 2s505ms 1s252ms 07 5 5s976ms 1s195ms 08 1 1s336ms 1s336ms 09 6 7s267ms 1s211ms 10 2 2s363ms 1s181ms 11 1 1s250ms 1s250ms 12 2 2s306ms 1s153ms 13 2 2s300ms 1s150ms 14 2 2s315ms 1s157ms 15 2 2s486ms 1s243ms 17 4 5s275ms 1s318ms 18 5 6s447ms 1s289ms 19 2 2s727ms 1s363ms 21 7 8s457ms 1s208ms 22 2 2s582ms 1s291ms 23 2 2s422ms 1s211ms Nov 20 00 3 3s843ms 1s281ms 02 2 2s549ms 1s274ms 03 3 3s903ms 1s301ms 04 4 5s42ms 1s260ms 05 4 5s332ms 1s333ms 07 6 7s504ms 1s250ms 09 3 4s142ms 1s380ms 10 5 6s27ms 1s205ms 11 2 2s426ms 1s213ms 12 4 4s803ms 1s200ms 13 2 2s408ms 1s204ms 14 5 6s2ms 1s200ms 15 1 1s187ms 1s187ms 17 4 4s744ms 1s186ms 18 2 2s399ms 1s199ms 19 2 2s349ms 1s174ms 21 4 4s772ms 1s193ms Nov 21 00 10 12s64ms 1s206ms 01 6 7s307ms 1s217ms 02 11 13s501ms 1s227ms 03 3 3s640ms 1s213ms 04 4 5s170ms 1s292ms 05 5 6s433ms 1s286ms 06 9 11s47ms 1s227ms 07 6 7s415ms 1s235ms 08 4 4s732ms 1s183ms 09 2 2s314ms 1s157ms 11 3 3s457ms 1s152ms 12 1 1s214ms 1s214ms 13 4 4s690ms 1s172ms 14 2 2s330ms 1s165ms 15 1 1s192ms 1s192ms 16 1 1s275ms 1s275ms 17 3 3s507ms 1s169ms 19 2 2s369ms 1s184ms 20 4 4s689ms 1s172ms 21 3 3s772ms 1s257ms 22 5 6s64ms 1s212ms 23 6 7s204ms 1s200ms Nov 22 01 2 2s710ms 1s355ms 02 3 3s924ms 1s308ms 03 2 2s449ms 1s224ms 04 3 3s751ms 1s250ms 05 9 10s802ms 1s200ms 06 3 3s715ms 1s238ms 07 6 7s404ms 1s234ms 08 8 9s685ms 1s210ms 09 2 2s517ms 1s258ms 10 1 1s353ms 1s353ms 11 6 7s322ms 1s220ms 12 2 2s714ms 1s357ms 13 2 2s600ms 1s300ms 14 5 6s334ms 1s266ms 15 3 3s862ms 1s287ms 17 3 4s201ms 1s400ms 18 9 11s295ms 1s255ms 19 4 5s13ms 1s253ms 20 3 3s630ms 1s210ms 21 1 1s212ms 1s212ms 22 1 1s292ms 1s292ms 23 3 3s614ms 1s204ms Nov 23 00 4 4s846ms 1s211ms 01 6 7s871ms 1s311ms 02 3 3s958ms 1s319ms 03 2 2s486ms 1s243ms 05 5 6s802ms 1s360ms 06 4 4s991ms 1s247ms 07 1 1s316ms 1s316ms 08 8 10s322ms 1s290ms 09 6 7s620ms 1s270ms 10 4 4s862ms 1s215ms 11 3 4s93ms 1s364ms 12 1 1s193ms 1s193ms 13 5 6s579ms 1s315ms 14 2 3s34ms 1s517ms 17 2 2s553ms 1s276ms 18 6 7s435ms 1s239ms 20 7 8s908ms 1s272ms 21 6 7s508ms 1s251ms 22 5 6s375ms 1s275ms 23 2 2s575ms 1s287ms [ User: pubeu - Total duration: 3m5s - Times executed: 149 ]
[ User: qaeu - Total duration: 2s595ms - Times executed: 2 ]
-
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 = '2080694') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080694') 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-11-22 17:13:25 Duration: 1s680ms 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 = '2086203') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2086203') 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-11-23 13:11:44 Duration: 1s616ms 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 = '2080694') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080694') 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-11-18 21:02:52 Duration: 1s584ms Database: ctdprd51 User: pubeu Bind query: yes
5 252 18m31s 1s3ms 25s580ms 4s409ms 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 #5
Day Hour Count Duration Avg duration Nov 17 00 2 2s894ms 1s447ms 06 1 1s66ms 1s66ms 11 4 9s124ms 2s281ms 12 4 39s646ms 9s911ms 14 2 3s103ms 1s551ms 19 1 8s601ms 8s601ms 22 2 2s520ms 1s260ms Nov 18 07 1 1s81ms 1s81ms 19 1 1s162ms 1s162ms 22 12 1m6s 5s524ms Nov 19 01 13 55s254ms 4s250ms 04 2 22s307ms 11s153ms 07 1 1s69ms 1s69ms 09 1 20s239ms 20s239ms 11 4 10s520ms 2s630ms 14 1 1s44ms 1s44ms 17 9 25s310ms 2s812ms 19 2 21s772ms 10s886ms Nov 20 03 2 2s295ms 1s147ms 04 2 5s729ms 2s864ms 08 5 27s364ms 5s472ms 11 2 2s927ms 1s463ms 20 1 3s78ms 3s78ms 21 2 3s754ms 1s877ms 22 3 24s898ms 8s299ms Nov 21 00 1 1s994ms 1s994ms 01 4 24s162ms 6s40ms 03 1 3s319ms 3s319ms 07 9 25s102ms 2s789ms 08 3 13s34ms 4s344ms 09 1 1s55ms 1s55ms 10 4 14s675ms 3s668ms 11 1 6s418ms 6s418ms 12 1 1s182ms 1s182ms 15 5 12s52ms 2s410ms 16 18 1m16s 4s259ms 18 16 1m1s 3s860ms 22 3 5s197ms 1s732ms Nov 22 02 7 1m5s 9s327ms 07 1 3s320ms 3s320ms 08 8 15s470ms 1s933ms 09 6 19s107ms 3s184ms 10 6 59s390ms 9s898ms 11 1 1s40ms 1s40ms 16 2 2s514ms 1s257ms 20 1 1s125ms 1s125ms Nov 23 01 1 1s412ms 1s412ms 03 2 10s425ms 5s212ms 04 4 9s318ms 2s329ms 05 17 1m58s 6s966ms 07 23 1m52s 4s870ms 08 1 1s21ms 1s21ms 09 4 5s13ms 1s253ms 10 2 3s514ms 1s757ms 12 1 1s741ms 1s741ms 13 7 9s825ms 1s403ms 18 5 24s267ms 4s853ms 19 4 34s882ms 8s720ms 22 2 2s241ms 1s120ms [ User: pubeu - Total duration: 4m21s - Times executed: 57 ]
-
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 = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-22 02:17:26 Duration: 25s580ms 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 = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-23 07:59:37 Duration: 24s395ms 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 = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-23 05:18:51 Duration: 22s62ms Bind query: yes
6 203 8m8s 1s 5s296ms 2s408ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 17 12 2 2s132ms 1s66ms 13 2 10s469ms 5s234ms 22 1 1s228ms 1s228ms Nov 19 17 2 10s510ms 5s255ms 21 1 1s138ms 1s138ms Nov 20 09 10 24s895ms 2s489ms 10 148 5m42s 2s314ms 11 18 41s122ms 2s284ms 13 1 1s140ms 1s140ms 23 8 24s509ms 3s63ms Nov 21 00 5 15s407ms 3s81ms 03 1 1s20ms 1s20ms Nov 22 04 2 2s393ms 1s196ms Nov 23 06 2 10s492ms 5s246ms [ User: pubeu - Total duration: 1m31s - Times executed: 36 ]
-
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', 'ANO7_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'ANO7_1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ANO7_1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'ANO7_1')) ii GROUP BY ii.cd;
Date: 2024-11-23 06:08:15 Duration: 5s296ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'KIF16B_0') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'KIF16B_0') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'KIF16B_0')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'KIF16B_0')) ii GROUP BY ii.cd;
Date: 2024-11-19 17:28:35 Duration: 5s290ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'UNCHARACTERIZED+PROTEIN+DDB_G0290685') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'UNCHARACTERIZED+PROTEIN+DDB_G0290685') 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 'UNCHARACTERIZED+PROTEIN+DDB_G0290685')) 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 'UNCHARACTERIZED+PROTEIN+DDB_G0290685')) ii GROUP BY ii.cd;
Date: 2024-11-17 13:53:39 Duration: 5s250ms Database: ctdprd51 User: pubeu Bind query: yes
7 187 14m 1s 12s438ms 4s495ms 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 Nov 17 00 2 8s608ms 4s304ms 03 3 14s101ms 4s700ms 08 1 4s408ms 4s408ms 10 3 14s893ms 4s964ms 12 5 23s610ms 4s722ms 13 1 1s60ms 1s60ms 19 1 4s447ms 4s447ms 20 2 8s892ms 4s446ms 21 2 9s647ms 4s823ms 23 9 39s495ms 4s388ms Nov 18 02 2 5s585ms 2s792ms 03 2 6s85ms 3s42ms 05 1 4s354ms 4s354ms 08 2 9s203ms 4s601ms 10 5 24s403ms 4s880ms 13 3 13s539ms 4s513ms 15 1 4s665ms 4s665ms 19 2 9s186ms 4s593ms 20 4 20s111ms 5s27ms 23 2 9s356ms 4s678ms Nov 19 02 2 5s654ms 2s827ms 03 2 9s340ms 4s670ms 04 2 9s324ms 4s662ms 05 1 4s692ms 4s692ms 07 2 9s207ms 4s603ms 09 3 15s276ms 5s92ms 10 2 2s89ms 1s44ms 18 2 10s313ms 5s156ms 21 1 5s474ms 5s474ms Nov 20 00 2 9s510ms 4s755ms 01 2 7s706ms 3s853ms 05 1 6s414ms 6s414ms 06 3 19s968ms 6s656ms 07 3 11s571ms 3s857ms 08 3 14s788ms 4s929ms 09 1 4s484ms 4s484ms 10 2 6s42ms 3s21ms 11 2 9s841ms 4s920ms 12 2 9s442ms 4s721ms 13 1 4s903ms 4s903ms 18 2 9s721ms 4s860ms 19 1 4s824ms 4s824ms 20 1 1s30ms 1s30ms 21 1 1s9ms 1s9ms Nov 21 00 1 4s888ms 4s888ms 01 3 10s925ms 3s641ms 03 3 11s341ms 3s780ms 09 2 10s244ms 5s122ms 12 1 4s814ms 4s814ms 15 1 4s855ms 4s855ms 16 1 4s826ms 4s826ms 17 4 15s753ms 3s938ms 19 1 4s944ms 4s944ms 21 2 5s836ms 2s918ms Nov 22 00 3 14s488ms 4s829ms 01 2 9s553ms 4s776ms 02 3 14s328ms 4s776ms 04 1 4s943ms 4s943ms 10 2 9s852ms 4s926ms 11 3 15s291ms 5s97ms 12 1 5s156ms 5s156ms 17 1 4s977ms 4s977ms 22 1 1s81ms 1s81ms 23 2 2s287ms 1s143ms Nov 23 03 3 26s414ms 8s804ms 04 6 36s195ms 6s32ms 05 5 16s515ms 3s303ms 06 12 1m3s 5s287ms 07 1 6s207ms 6s207ms 08 1 5s687ms 5s687ms 09 3 14s636ms 4s878ms 10 1 5s100ms 5s100ms 11 2 10s401ms 5s200ms 12 2 10s217ms 5s108ms 13 1 4s990ms 4s990ms 14 2 5s885ms 2s942ms 15 2 2s123ms 1s61ms 17 3 6s974ms 2s324ms 18 1 5s168ms 5s168ms 19 1 1s41ms 1s41ms 21 1 4s982ms 4s982ms 22 1 5s215ms 5s215ms 23 4 20s804ms 5s201ms [ User: pubeu - Total duration: 4m24s - Times executed: 61 ]
-
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 = '1264807' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-23 03:46:52 Duration: 12s438ms 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 = '1264807' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-23 03:54:33 Duration: 7s421ms 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 = '1287717' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-20 06:43:46 Duration: 6s912ms Database: ctdprd51 User: pubeu Bind query: yes
8 168 6m10s 1s12ms 7s245ms 2s202ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 17 01 1 2s130ms 2s130ms 05 16 34s52ms 2s128ms 09 5 12s628ms 2s525ms 18 8 20s503ms 2s562ms Nov 18 08 16 31s409ms 1s963ms 12 8 10s726ms 1s340ms 21 8 20s638ms 2s579ms Nov 19 03 13 35s816ms 2s755ms Nov 20 04 16 33s662ms 2s103ms 16 2 2s506ms 1s253ms 19 2 5s250ms 2s625ms Nov 21 18 3 4s834ms 1s611ms 20 2 2s974ms 1s487ms 21 3 6s317ms 2s105ms 22 12 31s349ms 2s612ms Nov 22 00 5 13s620ms 2s724ms 01 1 1s217ms 1s217ms 02 2 4s615ms 2s307ms 11 1 1s33ms 1s33ms 13 1 1s12ms 1s12ms 14 11 26s726ms 2s429ms 22 16 33s785ms 2s111ms Nov 23 10 1 1s63ms 1s63ms 11 1 1s182ms 1s182ms 13 14 30s958ms 2s211ms [ User: pubeu - Total duration: 1m26s - Times executed: 40 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '653383' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '653383') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-11-23 13:32:35 Duration: 7s245ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '653383' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '653383') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-11-20 04:40:46 Duration: 6s182ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '653383' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '653383') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-11-22 22:57:23 Duration: 6s39ms Bind query: yes
9 167 6h57m26s 1s60ms 17m45s 2m29s 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 #9
Day Hour Count Duration Avg duration Nov 17 10 1 1s657ms 1s657ms 12 2 5s509ms 2s754ms 20 3 14m29s 4m49s 21 3 14m42s 4m54s Nov 18 14 2 8m32s 4m16s 15 1 4m59s 4m59s 22 11 10m27s 57s88ms Nov 19 01 2 13m40s 6m50s 04 3 3m5s 1m1s 10 4 14m44s 3m41s 11 1 3m56s 3m56s 14 3 5s377ms 1s792ms 17 8 17m15s 2m9s 19 4 8m12s 2m3s Nov 20 07 4 1h9m50s 17m27s 08 1 17m45s 17m45s 11 2 6s432ms 3s216ms 19 1 2m59s 2m59s 22 1 17m29s 17m29s Nov 21 00 2 2m12s 1m6s 01 5 9m29s 1m53s 07 5 10m26s 2m5s 11 1 8m37s 8m37s 15 4 6s90ms 1s522ms 16 17 20m4s 1m10s 18 2 13m41s 6m50s Nov 22 02 10 5m43s 34s361ms 08 11 7m22s 40s268ms 09 3 30m57s 10m19s 10 6 12s334ms 2s55ms Nov 23 02 3 9m31s 3m10s 05 18 19m49s 1m6s 07 16 12m1s 45s109ms 13 5 25m12s 5m2s 19 1 17m32s 17m32s 23 1 1m52s 1m52s [ User: pubeu - Total duration: 3h14m7s - Times executed: 60 ]
-
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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-20 08:31:59 Duration: 17m45s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-23 19:06:45 Duration: 17m32s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-20 22:50:06 Duration: 17m29s Bind query: yes
10 155 8m24s 1s2ms 12s101ms 3s254ms 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 #10
Day Hour Count Duration Avg duration Nov 17 10 2 12s102ms 6s51ms 19 2 4s324ms 2s162ms 20 4 9s880ms 2s470ms 22 2 8s526ms 4s263ms 23 1 1s577ms 1s577ms Nov 18 04 3 5s883ms 1s961ms 08 1 1s52ms 1s52ms 11 2 17s656ms 8s828ms 14 1 1s680ms 1s680ms 21 4 5s500ms 1s375ms 22 13 50s620ms 3s893ms 23 1 2s438ms 2s438ms Nov 19 00 2 2s279ms 1s139ms 02 2 4s969ms 2s484ms 03 2 3s973ms 1s986ms 04 3 3s873ms 1s291ms 05 1 4s920ms 4s920ms 07 2 5s97ms 2s548ms 08 3 7s314ms 2s438ms 17 1 1s330ms 1s330ms 18 6 15s79ms 2s513ms 19 3 6s780ms 2s260ms 20 1 2s470ms 2s470ms 21 2 4s531ms 2s265ms 22 6 19s655ms 3s275ms 23 7 29s681ms 4s240ms Nov 20 01 1 2s445ms 2s445ms 08 1 2s162ms 2s162ms 15 1 1s307ms 1s307ms 18 1 1s30ms 1s30ms 19 2 4s136ms 2s68ms 21 1 2s414ms 2s414ms Nov 21 00 1 2s426ms 2s426ms 04 1 4s732ms 4s732ms 06 10 48s42ms 4s804ms 07 2 10s332ms 5s166ms 15 3 15s901ms 5s300ms 16 1 4s682ms 4s682ms 17 6 18s730ms 3s121ms 19 1 2s357ms 2s357ms 23 2 3s497ms 1s748ms Nov 22 01 9 20s982ms 2s331ms 02 2 7s332ms 3s666ms 05 2 3s83ms 1s541ms 07 3 5s304ms 1s768ms 08 1 2s381ms 2s381ms 09 10 27s1ms 2s700ms 10 2 7s32ms 3s516ms 16 2 22s621ms 11s310ms Nov 23 00 1 2s644ms 2s644ms 04 1 12s63ms 12s63ms 07 5 28s23ms 5s604ms 08 1 1s341ms 1s341ms 14 1 1s350ms 1s350ms 21 3 4s587ms 1s529ms 22 1 1s313ms 1s313ms [ User: pubeu - Total duration: 3m28s - Times executed: 60 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2085741') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-18 11:58:08 Duration: 12s101ms 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 = '2080694') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-23 04:06:33 Duration: 12s63ms 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 = '2080694') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-22 16:52:44 Duration: 11s481ms Bind query: yes
11 134 13m51s 1s24ms 33s917ms 6s203ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 17 04 3 3s406ms 1s135ms 10 4 1m8s 17s63ms 11 2 33s239ms 16s619ms 12 1 1s946ms 1s946ms Nov 18 00 7 7s424ms 1s60ms 01 4 4s303ms 1s75ms 05 1 1s510ms 1s510ms 08 1 2s869ms 2s869ms 09 1 1s880ms 1s880ms 10 4 7s413ms 1s853ms 22 26 1m38s 3s779ms Nov 19 00 3 4s461ms 1s487ms 04 1 25s767ms 25s767ms 07 3 1m19s 26s345ms 08 6 2m44s 27s410ms 11 1 1s934ms 1s934ms 16 3 3s772ms 1s257ms 17 2 2s514ms 1s257ms 21 1 16s51ms 16s51ms 22 4 1m3s 15s836ms 23 2 14s338ms 7s169ms Nov 20 00 3 21s527ms 7s175ms 03 1 2s157ms 2s157ms 04 1 2s308ms 2s308ms 18 1 1s939ms 1s939ms Nov 21 03 1 2s199ms 2s199ms 04 2 3s432ms 1s716ms 05 4 6s587ms 1s646ms 07 4 14s619ms 3s654ms Nov 22 16 1 7s173ms 7s173ms 20 1 4s253ms 4s253ms 23 1 2s245ms 2s245ms Nov 23 01 5 44s136ms 8s827ms 02 3 22s794ms 7s598ms 13 2 2s546ms 1s273ms 15 5 31s194ms 6s238ms 18 6 37s388ms 6s231ms 22 12 17s110ms 1s425ms 23 1 1s423ms 1s423ms [ User: pubeu - Total duration: 8m17s - Times executed: 72 ]
-
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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-19 08:25:18 Duration: 33s917ms 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-19 07:09:56 Duration: 26s880ms 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-19 07:09:34 Duration: 26s766ms Bind query: yes
12 125 4m59s 1s35ms 3s456ms 2s395ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 20 09 5 14s286ms 2s857ms 10 100 3m45s 2s259ms 11 10 26s839ms 2s683ms 23 5 15s876ms 3s175ms Nov 21 00 5 16s501ms 3s300ms [ User: pubeu - Total duration: 32s241ms - Times executed: 12 ]
-
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', '(PR-RTREGION | PRRTREGION)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '(PR-RTREGION | PRRTREGION)') 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 '(PR-RTREGION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PRRTREGION)')) 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 'PR-RTREGION')) ii GROUP BY ii.cd;
Date: 2024-11-20 10:48:57 Duration: 3s456ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '(MULTIDRUG-RESISTANCEGENE1-TYPEP-GLYCOPROTEIN | MULTIDRUGRESISTANCEGENE1TYPEPGLYCOPROTEIN)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '(MULTIDRUG-RESISTANCEGENE1-TYPEP-GLYCOPROTEIN | MULTIDRUGRESISTANCEGENE1TYPEPGLYCOPROTEIN)') 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 '(MULTIDRUG-RESISTANCEGENE1-TYPEP-GLYCOPROTEIN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MULTIDRUGRESISTANCEGENE1TYPEPGLYCOPROTEIN)')) 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 'MULTIDRUG-RESISTANCEGENE1-TYPEP-GLYCOPROTEIN')) ii GROUP BY ii.cd;
Date: 2024-11-20 10:27:50 Duration: 3s442ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '(MULTIDRUG-RESISTANCEGENE1-TYPEP-GLYCOPROTEIN | MULTIDRUGRESISTANCEGENE1TYPEPGLYCOPROTEIN)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '(MULTIDRUG-RESISTANCEGENE1-TYPEP-GLYCOPROTEIN | MULTIDRUGRESISTANCEGENE1TYPEPGLYCOPROTEIN)') 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 '(MULTIDRUG-RESISTANCEGENE1-TYPEP-GLYCOPROTEIN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MULTIDRUGRESISTANCEGENE1TYPEPGLYCOPROTEIN)')) 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 'MULTIDRUG-RESISTANCEGENE1-TYPEP-GLYCOPROTEIN')) ii GROUP BY ii.cd;
Date: 2024-11-21 00:35:47 Duration: 3s434ms Bind query: yes
13 111 8m9s 1s3ms 17s832ms 4s411ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 17 12 3 28s93ms 9s364ms Nov 18 22 9 43s465ms 4s829ms Nov 19 04 2 18s800ms 9s400ms 11 2 6s852ms 3s426ms 14 1 2s420ms 2s420ms 17 5 16s715ms 3s343ms 19 2 17s772ms 8s886ms Nov 20 18 1 1s30ms 1s30ms 21 2 2s792ms 1s396ms 23 2 2s596ms 1s298ms Nov 21 00 2 3s154ms 1s577ms 01 4 21s344ms 5s336ms 07 2 4s177ms 2s88ms 15 6 11s209ms 1s868ms 16 13 59s5ms 4s538ms 18 4 15s555ms 3s888ms Nov 22 02 5 32s389ms 6s477ms 08 8 18s138ms 2s267ms 10 7 45s197ms 6s456ms Nov 23 04 1 1s58ms 1s58ms 05 13 1m7s 5s195ms 07 16 1m9s 4s334ms 18 1 1s3ms 1s3ms [ User: pubeu - Total duration: 2m16s - Times executed: 32 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1217771'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-22 02:17:10 Duration: 17s832ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1217771'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-23 05:18:29 Duration: 17s213ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1217771'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-23 07:59:21 Duration: 17s74ms Bind query: yes
14 99 31m13s 1s28ms 28s891ms 18s923ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 17 09 3 59s305ms 19s768ms 10 5 1m34s 18s970ms 19 3 58s272ms 19s424ms 20 1 19s482ms 19s482ms Nov 18 05 4 1m17s 19s398ms 06 1 19s236ms 19s236ms 21 3 58s265ms 19s421ms 22 2 39s133ms 19s566ms 23 3 58s992ms 19s664ms Nov 19 00 2 38s429ms 19s214ms 02 1 19s528ms 19s528ms 03 8 2m35s 19s423ms 05 8 2m41s 20s158ms 06 1 19s404ms 19s404ms 10 3 1m3s 21s252ms 11 1 28s891ms 28s891ms 17 1 19s562ms 19s562ms 19 2 2s84ms 1s42ms 20 4 1m20s 20s132ms 21 2 39s962ms 19s981ms Nov 20 01 5 1m37s 19s434ms 02 5 1m55s 23s45ms 17 1 2s728ms 2s728ms 20 4 1m17s 19s347ms 21 1 19s290ms 19s290ms Nov 21 08 4 1m17s 19s370ms 17 2 38s363ms 19s181ms 18 1 19s181ms 19s181ms 21 5 1m37s 19s573ms Nov 22 07 1 19s550ms 19s550ms 08 3 57s843ms 19s281ms 09 1 19s330ms 19s330ms 14 1 7s993ms 7s993ms 17 1 19s289ms 19s289ms 18 2 20s516ms 10s258ms Nov 23 00 4 1m10s 17s560ms [ User: pubeu - Total duration: 11m40s - Times executed: 35 ]
-
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 = '2087073') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-19 11:08:10 Duration: 28s891ms 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 = '2083779') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-20 02:17:06 Duration: 28s847ms 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 = '2079439') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-20 02:16:59 Duration: 27s656ms Database: ctdprd51 User: pubeu Bind query: yes
15 84 1m56s 1s235ms 1s578ms 1s386ms 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 #15
Day Hour Count Duration Avg duration Nov 17 03 1 1s370ms 1s370ms 05 2 2s708ms 1s354ms 08 1 1s335ms 1s335ms 10 1 1s378ms 1s378ms 19 2 2s708ms 1s354ms 20 1 1s365ms 1s365ms 21 2 2s715ms 1s357ms 23 3 4s69ms 1s356ms Nov 18 00 1 1s359ms 1s359ms 02 3 4s42ms 1s347ms 03 2 2s756ms 1s378ms 05 2 2s762ms 1s381ms 08 1 1s375ms 1s375ms 19 1 1s368ms 1s368ms 20 1 1s355ms 1s355ms 22 1 1s336ms 1s336ms Nov 19 02 3 4s73ms 1s357ms 04 1 1s373ms 1s373ms 05 2 2s717ms 1s358ms 08 1 1s430ms 1s430ms 18 1 1s352ms 1s352ms 22 2 2s704ms 1s352ms Nov 20 00 2 2s714ms 1s357ms 01 3 4s452ms 1s484ms 02 2 2s948ms 1s474ms 04 1 1s459ms 1s459ms 05 4 5s969ms 1s492ms 06 1 1s500ms 1s500ms 10 1 1s415ms 1s415ms 12 1 1s410ms 1s410ms 15 1 1s338ms 1s338ms 22 1 1s397ms 1s397ms Nov 21 05 2 2s613ms 1s306ms 07 1 1s410ms 1s410ms 21 3 4s424ms 1s474ms Nov 22 00 1 1s308ms 1s308ms 04 1 1s318ms 1s318ms 05 2 2s731ms 1s365ms 08 2 2s778ms 1s389ms Nov 23 01 1 1s377ms 1s377ms 03 1 1s330ms 1s330ms 05 2 2s692ms 1s346ms 06 3 4s135ms 1s378ms 08 11 15s331ms 1s393ms 10 1 1s391ms 1s391ms 18 1 1s368ms 1s368ms [ User: pubeu - Total duration: 50s31ms - Times executed: 36 ]
-
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-11-21 21:11:22 Duration: 1s578ms 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-11-20 05:37:08 Duration: 1s527ms 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-11-20 01:38:36 Duration: 1s504ms Bind query: yes
16 78 1m28s 1s41ms 1s385ms 1s138ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 17 00 1 1s93ms 1s93ms 03 1 1s63ms 1s63ms 05 1 1s136ms 1s136ms 08 1 1s73ms 1s73ms 09 3 3s200ms 1s66ms 13 3 3s305ms 1s101ms 22 1 1s121ms 1s121ms 23 2 2s254ms 1s127ms Nov 18 00 1 1s140ms 1s140ms 09 1 1s105ms 1s105ms 11 2 2s160ms 1s80ms 14 1 1s62ms 1s62ms Nov 19 01 1 1s154ms 1s154ms 06 2 2s89ms 1s44ms 09 1 1s41ms 1s41ms 16 1 1s121ms 1s121ms Nov 20 09 2 2s218ms 1s109ms 17 1 1s41ms 1s41ms 18 1 1s101ms 1s101ms Nov 21 00 3 3s394ms 1s131ms 03 1 1s153ms 1s153ms 05 3 3s347ms 1s115ms 11 1 1s44ms 1s44ms 16 1 1s130ms 1s130ms 18 1 1s73ms 1s73ms 19 1 1s128ms 1s128ms 22 1 1s136ms 1s136ms Nov 22 07 1 1s130ms 1s130ms 13 1 1s163ms 1s163ms 17 1 1s134ms 1s134ms 18 1 1s160ms 1s160ms 22 1 1s105ms 1s105ms Nov 23 01 4 4s754ms 1s188ms 02 1 1s173ms 1s173ms 04 4 4s683ms 1s170ms 07 3 3s463ms 1s154ms 10 1 1s187ms 1s187ms 12 3 3s536ms 1s178ms 14 1 1s279ms 1s279ms 15 1 1s142ms 1s142ms 16 4 4s708ms 1s177ms 19 4 4s949ms 1s237ms 20 2 2s249ms 1s124ms 22 2 2s297ms 1s148ms 23 4 4s795ms 1s198ms [ User: pubeu - Total duration: 28s323ms - Times executed: 25 ]
-
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 = '2074480' or receptorTerm.id = '2074480' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2024-11-23 23:45:11 Duration: 1s385ms 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 = '2056724' or receptorTerm.id = '2056724' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2024-11-23 14:25:08 Duration: 1s279ms 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 = '2042263' or receptorTerm.id = '2042263' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2024-11-23 19:32:02 Duration: 1s268ms Database: ctdprd51 User: pubeu Bind query: yes
17 75 3m4s 1s6ms 4s330ms 2s466ms 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 #17
Day Hour Count Duration Avg duration Nov 17 05 3 9s887ms 3s295ms 09 4 7s353ms 1s838ms 18 1 3s228ms 3s228ms 21 1 1s862ms 1s862ms Nov 18 05 3 7s663ms 2s554ms 08 2 5s82ms 2s541ms 17 1 3s295ms 3s295ms 21 1 3s245ms 3s245ms Nov 19 03 12 26s652ms 2s221ms 05 3 7s644ms 2s548ms 08 3 7s783ms 2s594ms 12 2 4s296ms 2s148ms 13 1 1s763ms 1s763ms Nov 20 04 1 3s405ms 3s405ms 05 4 9s199ms 2s299ms Nov 21 05 3 7s820ms 2s606ms 12 1 2s93ms 2s93ms 20 1 1s923ms 1s923ms 21 2 6s922ms 3s461ms 22 12 26s74ms 2s172ms Nov 22 00 1 3s307ms 3s307ms 05 4 8s724ms 2s181ms 14 1 3s340ms 3s340ms 22 1 3s431ms 3s431ms Nov 23 03 1 4s330ms 4s330ms 05 4 9s349ms 2s337ms 11 1 1s959ms 1s959ms 13 1 3s349ms 3s349ms [ User: pubeu - Total duration: 49s114ms - Times executed: 16 ]
[ User: qaeu - Total duration: 23s792ms - 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 = '579010' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-11-23 03:34:24 Duration: 4s330ms 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 = '653383' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-11-21 21:07:11 Duration: 3s653ms 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 = '592983' 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-11-23 05:40:12 Duration: 3s616ms Database: ctdprd51 User: qaeu Bind query: yes
18 72 46m18s 1s188ms 6m40s 38s595ms select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 22 14 31 14m29s 28s42ms 15 8 8m19s 1m2s 20 6 1m7s 11s226ms 22 3 7m55s 2m38s 23 3 6m45s 2m15s Nov 23 00 17 7m4s 24s973ms 01 4 37s305ms 9s326ms [ User: load - Total duration: 13m59s - Times executed: 23 ]
[ Application: pg_bulkload - Total duration: 13m59s - 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-11-22 22:44:54 Duration: 6m40s 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-11-22 23:12:14 Duration: 5m8s 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-11-22 14:28:57 Duration: 4m5s Bind query: yes
19 72 2m51s 1s14ms 4s675ms 2s379ms 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 #19
Day Hour Count Duration Avg duration Nov 17 20 1 4s296ms 4s296ms 23 9 22s34ms 2s448ms Nov 19 17 1 4s346ms 4s346ms 18 3 6s690ms 2s230ms 19 1 1s469ms 1s469ms Nov 20 01 4 8s327ms 2s81ms 03 6 16s871ms 2s811ms 07 1 1s57ms 1s57ms 08 1 1s26ms 1s26ms 23 1 4s570ms 4s570ms Nov 21 01 2 5s836ms 2s918ms 15 3 7s224ms 2s408ms 17 1 1s991ms 1s991ms Nov 22 00 2 2s766ms 1s383ms 08 2 4s465ms 2s232ms 10 1 1s943ms 1s943ms 11 5 14s258ms 2s851ms 18 7 17s661ms 2s523ms 19 2 2s469ms 1s234ms Nov 23 08 1 1s338ms 1s338ms 12 2 2s198ms 1s99ms 13 2 4s683ms 2s341ms 14 2 3s971ms 1s985ms 17 1 1s50ms 1s50ms 18 10 24s110ms 2s411ms 20 1 4s675ms 4s675ms [ User: pubeu - Total duration: 39s654ms - Times executed: 20 ]
-
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 = '1394946') 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 = '1394946') 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-11-23 20:08:28 Duration: 4s675ms 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 = '1394946') 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 = '1394946') 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-11-20 03:28:21 Duration: 4s622ms 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 = '1394946') 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 = '1394946') 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-11-22 18:08:07 Duration: 4s612ms Bind query: yes
20 54 2m31s 1s170ms 6s582ms 2s809ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 17 20 1 5s996ms 5s996ms 23 8 21s120ms 2s640ms Nov 18 04 2 3s767ms 1s883ms Nov 19 18 1 1s919ms 1s919ms 21 1 1s294ms 1s294ms Nov 20 01 3 12s229ms 4s76ms 03 5 14s806ms 2s961ms Nov 21 01 3 11s714ms 3s904ms 15 1 6s23ms 6s23ms Nov 22 08 3 7s310ms 2s436ms 09 2 3s701ms 1s850ms 11 5 13s942ms 2s788ms 13 1 1s663ms 1s663ms 17 2 3s528ms 1s764ms 18 6 17s411ms 2s901ms Nov 23 01 1 2s426ms 2s426ms 03 1 1s170ms 1s170ms 12 2 5s445ms 2s722ms 13 1 1s957ms 1s957ms 18 5 14s256ms 2s851ms [ User: pubeu - Total duration: 29s757ms - Times executed: 11 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1394946'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-20 01:48:00 Duration: 6s582ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1394946'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-20 03:28:27 Duration: 6s495ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1394946'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-21 01:07:15 Duration: 6s342ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 5h53m15s 5h53m42s 5h53m30s 3 17h40m30s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 20 06 2 11h47m14s 5h53m37s 07 1 5h53m15s 5h53m15s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'KIDNEY DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-20 06:50:12 Duration: 5h53m42s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'KIDNEY DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-20 06:55:03 Duration: 5h53m32s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'KIDNEY DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-20 07:00:33 Duration: 5h53m15s Bind query: yes
2 2h22s 2h22s 2h22s 1 2h22s select pub1.maint_term_derive_data ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 23 07 1 2h22s 2h22s -
select pub1.maint_term_derive_data ();
Date: 2024-11-23 07:33:21 Duration: 2h22s Bind query: yes
3 1h43m15s 1h43m15s 1h43m15s 1 1h43m15s select pub1.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 23 03 1 1h43m15s 1h43m15s -
select pub1.maint_gene_chem_ref_gene_form_refresh ();
Date: 2024-11-23 03:38:23 Duration: 1h43m15s Bind query: yes
4 1h8s 1h8s 1h8s 1 1h8s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 23 04 1 1h8s 1h8s -
SELECT maint_term_derive_nm_fts ();
Date: 2024-11-23 04:41:16 Duration: 1h8s Bind query: yes
5 45m51s 45m51s 45m51s 1 45m51s vacuum full analyze;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 23 05 1 45m51s 45m51s -
VACUUM FULL ANALYZE;
Date: 2024-11-23 05:32:35 Duration: 45m51s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2024-11-23 04:46:46 Duration: 0ms
6 42m38s 42m38s 42m38s 1 42m38s 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 #6
Day Hour Count Duration Avg duration Nov 22 22 1 42m38s 42m38s -
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-11-22 22:33:37 Duration: 42m38s Bind query: yes
7 38m48s 38m48s 38m48s 1 38m48s 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 #7
Day Hour Count Duration Avg duration Nov 22 21 1 38m48s 38m48s -
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-11-22 21:50:53 Duration: 38m48s Bind query: yes
8 33m55s 33m55s 33m55s 1 33m55s select pub1.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 23 08 1 33m55s 33m55s -
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2024-11-23 08:17:00 Duration: 33m55s Bind query: yes
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2024-11-23 08:12:36 Duration: 0ms
9 33m32s 33m32s 33m32s 1 33m32s 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 #9
Day Hour Count Duration Avg duration Nov 22 20 1 33m32s 33m32s -
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-11-22 20:21:04 Duration: 33m32s Bind query: yes
10 24m 24m 24m 1 24m copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 23 19 1 24m 24m -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-11-23 19:01:03 Duration: 24m
11 23m55s 23m55s 23m55s 1 23m55s 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 #11
Day Hour Count Duration Avg duration Nov 22 19 1 23m55s 23m55s -
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-11-22 19:39:11 Duration: 23m55s Bind query: yes
12 23m53s 23m53s 23m53s 1 23m53s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 23 19 1 23m53s 23m53s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-11-23 19:42:19 Duration: 23m53s
13 18m59s 19m21s 19m10s 7 2h14m15s select maint_query_logs_archive ();Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 17 00 1 18m59s 18m59s Nov 18 00 1 19m6s 19m6s Nov 19 00 1 19m8s 19m8s Nov 20 00 1 19m13s 19m13s Nov 21 00 1 19m21s 19m21s Nov 22 00 1 19m10s 19m10s Nov 23 00 1 19m15s 19m15s -
/* * 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-11-21 00:19:23 Duration: 19m21s
-
/* * 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-11-23 00:19:17 Duration: 19m15s
-
/* * 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-11-20 00:19:15 Duration: 19m13s
14 5m26s 5m37s 5m29s 4 21m57s 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 phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 20 07 2 10m53s 5m26s 08 2 11m4s 5m32s [ User: pubeu - Total duration: 5m26s - Times executed: 1 ]
-
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 = '2080219') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-20 08:29:27 Duration: 5m37s 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 = '2080219') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-20 07:46:20 Duration: 5m26s 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 = '2080219') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-20 07:55:56 Duration: 5m26s Bind query: yes
15 1m56s 3m10s 2m47s 7 19m33s 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 phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 21 09 1 1m56s 1m56s Nov 22 02 2 5m45s 2m52s 03 4 11m52s 2m58s [ User: pubeu - Total duration: 16m42s - Times executed: 6 ]
-
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 = '1213960') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-22 03:36:17 Duration: 3m10s 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 = '1213960') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-22 03:14:13 Duration: 2m59s 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 = '1213960') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-22 02:40:44 Duration: 2m53s Database: ctdprd51 User: pubeu Bind query: yes
16 1s60ms 17m45s 2m29s 167 6h57m26s 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 #16
Day Hour Count Duration Avg duration Nov 17 10 1 1s657ms 1s657ms 12 2 5s509ms 2s754ms 20 3 14m29s 4m49s 21 3 14m42s 4m54s Nov 18 14 2 8m32s 4m16s 15 1 4m59s 4m59s 22 11 10m27s 57s88ms Nov 19 01 2 13m40s 6m50s 04 3 3m5s 1m1s 10 4 14m44s 3m41s 11 1 3m56s 3m56s 14 3 5s377ms 1s792ms 17 8 17m15s 2m9s 19 4 8m12s 2m3s Nov 20 07 4 1h9m50s 17m27s 08 1 17m45s 17m45s 11 2 6s432ms 3s216ms 19 1 2m59s 2m59s 22 1 17m29s 17m29s Nov 21 00 2 2m12s 1m6s 01 5 9m29s 1m53s 07 5 10m26s 2m5s 11 1 8m37s 8m37s 15 4 6s90ms 1s522ms 16 17 20m4s 1m10s 18 2 13m41s 6m50s Nov 22 02 10 5m43s 34s361ms 08 11 7m22s 40s268ms 09 3 30m57s 10m19s 10 6 12s334ms 2s55ms Nov 23 02 3 9m31s 3m10s 05 18 19m49s 1m6s 07 16 12m1s 45s109ms 13 5 25m12s 5m2s 19 1 17m32s 17m32s 23 1 1m52s 1m52s [ User: pubeu - Total duration: 3h14m7s - Times executed: 60 ]
-
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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-20 08:31:59 Duration: 17m45s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-23 19:06:45 Duration: 17m32s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-20 22:50:06 Duration: 17m29s Bind query: yes
17 1s188ms 6m40s 38s595ms 72 46m18s select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 22 14 31 14m29s 28s42ms 15 8 8m19s 1m2s 20 6 1m7s 11s226ms 22 3 7m55s 2m38s 23 3 6m45s 2m15s Nov 23 00 17 7m4s 24s973ms 01 4 37s305ms 9s326ms [ User: load - Total duration: 13m59s - Times executed: 23 ]
[ Application: pg_bulkload - Total duration: 13m59s - 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-11-22 22:44:54 Duration: 6m40s 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-11-22 23:12:14 Duration: 5m8s 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-11-22 14:28:57 Duration: 4m5s Bind query: yes
18 1s28ms 28s891ms 18s923ms 99 31m13s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 17 09 3 59s305ms 19s768ms 10 5 1m34s 18s970ms 19 3 58s272ms 19s424ms 20 1 19s482ms 19s482ms Nov 18 05 4 1m17s 19s398ms 06 1 19s236ms 19s236ms 21 3 58s265ms 19s421ms 22 2 39s133ms 19s566ms 23 3 58s992ms 19s664ms Nov 19 00 2 38s429ms 19s214ms 02 1 19s528ms 19s528ms 03 8 2m35s 19s423ms 05 8 2m41s 20s158ms 06 1 19s404ms 19s404ms 10 3 1m3s 21s252ms 11 1 28s891ms 28s891ms 17 1 19s562ms 19s562ms 19 2 2s84ms 1s42ms 20 4 1m20s 20s132ms 21 2 39s962ms 19s981ms Nov 20 01 5 1m37s 19s434ms 02 5 1m55s 23s45ms 17 1 2s728ms 2s728ms 20 4 1m17s 19s347ms 21 1 19s290ms 19s290ms Nov 21 08 4 1m17s 19s370ms 17 2 38s363ms 19s181ms 18 1 19s181ms 19s181ms 21 5 1m37s 19s573ms Nov 22 07 1 19s550ms 19s550ms 08 3 57s843ms 19s281ms 09 1 19s330ms 19s330ms 14 1 7s993ms 7s993ms 17 1 19s289ms 19s289ms 18 2 20s516ms 10s258ms Nov 23 00 4 1m10s 17s560ms [ User: pubeu - Total duration: 11m40s - Times executed: 35 ]
-
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 = '2087073') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-19 11:08:10 Duration: 28s891ms 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 = '2083779') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-20 02:17:06 Duration: 28s847ms 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 = '2079439') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-20 02:16:59 Duration: 27s656ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s24ms 33s917ms 6s203ms 134 13m51s 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 #19
Day Hour Count Duration Avg duration Nov 17 04 3 3s406ms 1s135ms 10 4 1m8s 17s63ms 11 2 33s239ms 16s619ms 12 1 1s946ms 1s946ms Nov 18 00 7 7s424ms 1s60ms 01 4 4s303ms 1s75ms 05 1 1s510ms 1s510ms 08 1 2s869ms 2s869ms 09 1 1s880ms 1s880ms 10 4 7s413ms 1s853ms 22 26 1m38s 3s779ms Nov 19 00 3 4s461ms 1s487ms 04 1 25s767ms 25s767ms 07 3 1m19s 26s345ms 08 6 2m44s 27s410ms 11 1 1s934ms 1s934ms 16 3 3s772ms 1s257ms 17 2 2s514ms 1s257ms 21 1 16s51ms 16s51ms 22 4 1m3s 15s836ms 23 2 14s338ms 7s169ms Nov 20 00 3 21s527ms 7s175ms 03 1 2s157ms 2s157ms 04 1 2s308ms 2s308ms 18 1 1s939ms 1s939ms Nov 21 03 1 2s199ms 2s199ms 04 2 3s432ms 1s716ms 05 4 6s587ms 1s646ms 07 4 14s619ms 3s654ms Nov 22 16 1 7s173ms 7s173ms 20 1 4s253ms 4s253ms 23 1 2s245ms 2s245ms Nov 23 01 5 44s136ms 8s827ms 02 3 22s794ms 7s598ms 13 2 2s546ms 1s273ms 15 5 31s194ms 6s238ms 18 6 37s388ms 6s231ms 22 12 17s110ms 1s425ms 23 1 1s423ms 1s423ms [ User: pubeu - Total duration: 8m17s - Times executed: 72 ]
-
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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-19 08:25:18 Duration: 33s917ms 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-19 07:09:56 Duration: 26s880ms 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-19 07:09:34 Duration: 26s766ms Bind query: yes
20 1s 12s438ms 4s495ms 187 14m select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 17 00 2 8s608ms 4s304ms 03 3 14s101ms 4s700ms 08 1 4s408ms 4s408ms 10 3 14s893ms 4s964ms 12 5 23s610ms 4s722ms 13 1 1s60ms 1s60ms 19 1 4s447ms 4s447ms 20 2 8s892ms 4s446ms 21 2 9s647ms 4s823ms 23 9 39s495ms 4s388ms Nov 18 02 2 5s585ms 2s792ms 03 2 6s85ms 3s42ms 05 1 4s354ms 4s354ms 08 2 9s203ms 4s601ms 10 5 24s403ms 4s880ms 13 3 13s539ms 4s513ms 15 1 4s665ms 4s665ms 19 2 9s186ms 4s593ms 20 4 20s111ms 5s27ms 23 2 9s356ms 4s678ms Nov 19 02 2 5s654ms 2s827ms 03 2 9s340ms 4s670ms 04 2 9s324ms 4s662ms 05 1 4s692ms 4s692ms 07 2 9s207ms 4s603ms 09 3 15s276ms 5s92ms 10 2 2s89ms 1s44ms 18 2 10s313ms 5s156ms 21 1 5s474ms 5s474ms Nov 20 00 2 9s510ms 4s755ms 01 2 7s706ms 3s853ms 05 1 6s414ms 6s414ms 06 3 19s968ms 6s656ms 07 3 11s571ms 3s857ms 08 3 14s788ms 4s929ms 09 1 4s484ms 4s484ms 10 2 6s42ms 3s21ms 11 2 9s841ms 4s920ms 12 2 9s442ms 4s721ms 13 1 4s903ms 4s903ms 18 2 9s721ms 4s860ms 19 1 4s824ms 4s824ms 20 1 1s30ms 1s30ms 21 1 1s9ms 1s9ms Nov 21 00 1 4s888ms 4s888ms 01 3 10s925ms 3s641ms 03 3 11s341ms 3s780ms 09 2 10s244ms 5s122ms 12 1 4s814ms 4s814ms 15 1 4s855ms 4s855ms 16 1 4s826ms 4s826ms 17 4 15s753ms 3s938ms 19 1 4s944ms 4s944ms 21 2 5s836ms 2s918ms Nov 22 00 3 14s488ms 4s829ms 01 2 9s553ms 4s776ms 02 3 14s328ms 4s776ms 04 1 4s943ms 4s943ms 10 2 9s852ms 4s926ms 11 3 15s291ms 5s97ms 12 1 5s156ms 5s156ms 17 1 4s977ms 4s977ms 22 1 1s81ms 1s81ms 23 2 2s287ms 1s143ms Nov 23 03 3 26s414ms 8s804ms 04 6 36s195ms 6s32ms 05 5 16s515ms 3s303ms 06 12 1m3s 5s287ms 07 1 6s207ms 6s207ms 08 1 5s687ms 5s687ms 09 3 14s636ms 4s878ms 10 1 5s100ms 5s100ms 11 2 10s401ms 5s200ms 12 2 10s217ms 5s108ms 13 1 4s990ms 4s990ms 14 2 5s885ms 2s942ms 15 2 2s123ms 1s61ms 17 3 6s974ms 2s324ms 18 1 5s168ms 5s168ms 19 1 1s41ms 1s41ms 21 1 4s982ms 4s982ms 22 1 5s215ms 5s215ms 23 4 20s804ms 5s201ms [ User: pubeu - Total duration: 4m24s - Times executed: 61 ]
-
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 = '1264807' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-23 03:46:52 Duration: 12s438ms 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 = '1264807' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-23 03:54:33 Duration: 7s421ms 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 = '1287717' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-20 06:43:46 Duration: 6s912ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2s148ms 2 1s74ms 1s74ms 1s74ms 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 Nov 23 01 2 2s148ms 1s74ms -
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-11-23 01:31:28 Duration: 1s74ms Database: postgres
2 2s51ms 2 1s25ms 1s25ms 1s25ms SELECT /* GeneDiseaseRefsDAO */ ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 11 2 2s51ms 1s25ms -
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2024-11-19 11:08:06 Duration: 1s25ms Database: postgres parameters: $1 = '2087210'
3 0ms 391 0ms 0ms 0ms ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration Nov 17 06 2 0ms 0ms 07 10 0ms 0ms 08 10 0ms 0ms 12 2 0ms 0ms Nov 18 06 4 0ms 0ms 07 14 0ms 0ms 08 6 0ms 0ms 09 2 0ms 0ms 11 8 0ms 0ms 12 4 0ms 0ms 13 2 0ms 0ms 14 4 0ms 0ms 15 6 0ms 0ms 19 4 0ms 0ms 21 16 0ms 0ms Nov 19 05 2 0ms 0ms 06 6 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 10 2 0ms 0ms 11 4 0ms 0ms 12 2 0ms 0ms 14 2 0ms 0ms 16 2 0ms 0ms 17 10 0ms 0ms Nov 20 05 2 0ms 0ms 06 8 0ms 0ms 07 4 0ms 0ms 08 2 0ms 0ms 09 4 0ms 0ms 10 16 0ms 0ms 11 4 0ms 0ms 13 10 0ms 0ms 14 2 0ms 0ms 17 4 0ms 0ms 22 2 0ms 0ms Nov 21 05 8 0ms 0ms 06 16 0ms 0ms 07 4 0ms 0ms 08 8 0ms 0ms 09 16 0ms 0ms 10 8 0ms 0ms 12 4 0ms 0ms 13 10 0ms 0ms 14 2 0ms 0ms 15 6 0ms 0ms 16 2 0ms 0ms 17 16 0ms 0ms Nov 22 05 12 0ms 0ms 06 12 0ms 0ms 07 6 0ms 0ms 08 9 0ms 0ms 09 27 0ms 0ms 14 3 0ms 0ms 15 15 0ms 0ms Nov 23 00 2 0ms 0ms 04 3 0ms 0ms 05 6 0ms 0ms 07 9 0ms 0ms Nov 24 02 1 0ms 0ms [ User: pubeu - Total duration: 4m7s - Times executed: 100 ]
[ User: qaeu - Total duration: 12s664ms - Times executed: 3 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '2057027', $2 = '2057027'
-
Events
Log levels
Key values
- 129,765 Log entries
Events distribution
Key values
- 0 PANIC entries
- 23 FATAL entries
- 103 ERROR entries
- 1313 WARNING entries
Most Frequent Errors/Events
Key values
- 1,039 Max number of times the same event was reported
- 1,439 Total events found
Rank Times reported Error 1 1,039 WARNING: skipping "..." --- only table or database owner can vacuum it
Times Reported Most Frequent Error / Event #1
Day Hour Count Nov 23 04 1,039 2 224 WARNING: skipping "..." --- only superuser or database owner can vacuum it
Times Reported Most Frequent Error / Event #2
Day Hour Count Nov 23 04 224 3 62 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Nov 18 05 1 06 1 11 1 14 2 23 1 Nov 19 11 1 15 1 16 1 18 1 Nov 20 09 3 10 33 11 6 18 2 23 3 Nov 21 00 3 14 1 Nov 23 06 1 - ERROR: syntax error in ts"N A A S O2"
- ERROR: syntax error in ts"JACOBHTTPS & //WWW.EDITORIALMANAGER.COM/AJGASTRO/DEFAULT.ASPX & ADOBE_MC=MCMID%3D15698451972873873390284393591455289599%7CMCORGID%3D4D6368F454EC41940A4C98A6%2540ADOBEORG%7CTS%3D1726671457LUNAMILLER088@MAIL.COMDOMINIC1234< & >"
- ERROR: syntax error in ts"大連 開発区 安全生産知識和管理能力 考 合格表"
Statement: SELECT /* MeshBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm casRN ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isNameMatch ,t.has_genes hasGenes ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_phenotypes hasPhenotypes ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.acc_db_cd accdbcd ,t.has_exposures hasExposures 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 t.object_type_id = 2 AND l.object_type_id = 2 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 = 2 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* term acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm casRN ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,t.has_genes hasgenes ,t.has_chems haschems ,t.has_diseases hasdiseases ,t.has_phenotypes hasPhenotypes ,1 relevance ,t.nm_sort ,t.id ,t.acc_db_cd accdbcd ,t.has_exposures hasexposures FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 2 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-11-18 05:28:28 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 AND l.db_id = (SELECT id FROM db WHERE cd = $8) ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-11-18 06:48:20 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 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-11-18 11:17:30
4 43 WARNING: skipping "..." --- only superuser can vacuum it
Times Reported Most Frequent Error / Event #4
Day Hour Count Nov 23 04 43 5 20 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #5
Day Hour Count Nov 19 08 3 Nov 20 06 2 07 5 08 1 22 1 Nov 22 09 3 22 3 Nov 23 13 1 19 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-11-19 08:38:38
6 17 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #6
Day Hour Count Nov 20 06 2 07 5 08 1 22 1 Nov 22 09 3 22 3 Nov 23 13 1 19 1 7 12 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #7
Day Hour Count Nov 22 16 2 17 2 21 1 Nov 23 13 1 14 4 15 1 21 1 8 6 WARNING: there is no transaction in progress
Times Reported Most Frequent Error / Event #8
Day Hour Count Nov 23 04 2 07 4 9 5 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #9
Day Hour Count Nov 19 08 5 - ERROR: could not send data to client: Connection reset by peer
- ERROR: could not send data to client: Connection reset by peer
- ERROR: could not send data to client: Connection reset by peer
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-11-19 08:38:38 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId
Date: 2024-11-19 08:53:58 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes
Date: 2024-11-19 08:53:58
10 3 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #10
Day Hour Count Nov 22 22 3 - 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-11-22 22:49:07
11 1 WARNING: is not a PostgreSQL server process
Times Reported Most Frequent Error / Event #11
Day Hour Count Nov 19 08 1 12 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #12
Day Hour Count Nov 22 14 1 - ERROR: syntax error at or near "select" at character 203
Statement: select * from edit.medium m where term_acc_txt is not null -- and term_acc_txt <> '' and term_acc_txt not in ( select acc_txt from load.term t where m.term_object_type_id = t.object_type_id ) select * from pub1.term where nm = 'plastic product, black'
Date: 2024-11-22 14:54:31
13 1 FATAL: ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id
Times Reported Most Frequent Error / Event #13
Day Hour Count Nov 19 08 1 - FATAL: ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-11-19 08:53:58
14 1 FATAL: ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #14
Day Hour Count Nov 19 08 1 - FATAL: ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-11-19 08:53:58
15 1 ERROR: function get_ixn_prose(...) does not exist
Times Reported Most Frequent Error / Event #15
Day Hour Count Nov 22 14 1 - ERROR: function get_ixn_prose(integer) does not exist at character 66
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Statement: select reference_acc_txt ,taxon_acc_txt ,pubTerm.nm ,get_ixn_prose( ixn_id ) ,create_by ,create_tm from edit.reference_ixn ri ,pub2.term pubTerm -- set to CURRENT PRODUCTION PUB!!!!! where taxon_acc_txt not in ( select acc_txt from load.term where object_type_id = ( select id from edit.object_type where cd = 'taxon' ) ) and pubTerm.acc_txt = ri.taxon_acc_txt and object_type_id = ( select id from edit.object_type where cd = 'taxon' ) and taxon_acc_txt is not null and taxon_acc_txt <> ''Date: 2024-11-22 14:49:07
16 1 LOG: process ... still waiting for AccessExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #16
Day Hour Count Nov 22 14 1 - ERROR: process 479542 still waiting for AccessExclusiveLock on relation 2633821 of database 484829 after 1000.056 ms
Detail: Process holding the lock: 479473. Wait queue: 479542.
Statement: SELECT * FROM pgbulkload.pg_bulkload($1)Date: 2024-11-22 14:00:35 Database: ctdprd51 Application: pg_bulkload User: load Remote:
17 1 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #17
Day Hour Count Nov 19 08 1 18 1 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE ) ) ii GROUP BY ii.cd
Times Reported Most Frequent Error / Event #18
Day Hour Count Nov 20 10 1 - ERROR: syntax error in ts">HSD11B1</I" ,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',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) 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 ) ) 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 ) ) ii GROUP BY ii.cd
Statement: SELECT /* BasicCountsDAO gen */ ii.cd
Date: 2024-11-20 10:39:55