-
Global information
- Generated on Sun Jun 16 04:15:14 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240615
- Parsed 653,335 log entries in 12s
- Log start from 2024-06-09 00:00:01 to 2024-06-15 23:59:41
-
Overview
Global Stats
- 288 Number of unique normalized queries
- 5,608 Number of queries
- 8h32m1s Total query duration
- 2024-06-09 00:02:45 First query
- 2024-06-15 23:59:37 Last query
- 5 queries/s at 2024-06-11 01:46:11 Query peak
- 8h32m1s Total query duration
- 0ms Prepare/parse total duration
- 2s854ms Bind total duration
- 8h31m59s Execute total duration
- 37 Number of events
- 3 Number of unique normalized events
- 32 Max number of times the same event was reported
- 0 Number of cancellation
- 54 Total number of automatic vacuums
- 206 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 14,383 Total number of sessions
- 55 sessions at 2024-06-11 01:16:15 Session peak
- 550d10h20m34s Total duration of sessions
- 55m6s Average duration of sessions
- 0 Average queries per session
- 2s135ms Average queries duration per session
- 55m4s Average idle time per session
- 14,383 Total number of connections
- 35 connections/s at 2024-06-13 05:09:43 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 5 queries/s Query Peak
- 2024-06-11 01:46:11 Date
SELECT Traffic
Key values
- 5 queries/s Query Peak
- 2024-06-11 01:46:11 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2 queries/s Query Peak
- 2024-06-12 04:04:23 Date
Queries duration
Key values
- 8h32m1s 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) Jun 09 00 26 0ms 16m10s 39s642ms 5s523ms 8s185ms 16m15s 01 28 0ms 52s793ms 3s670ms 3s907ms 4s842ms 52s793ms 02 33 0ms 2s375ms 1s297ms 2s550ms 3s588ms 4s605ms 03 28 0ms 5s626ms 1s529ms 2s365ms 3s917ms 5s626ms 04 24 0ms 5s287ms 1s980ms 3s680ms 4s653ms 7s868ms 05 63 0ms 17s475ms 2s183ms 13s876ms 17s475ms 25s734ms 06 63 0ms 3m6s 6s130ms 10s397ms 39s934ms 3m8s 07 28 0ms 6s726ms 2s215ms 4s892ms 6s726ms 9s911ms 08 35 0ms 3m36s 7s984ms 5s168ms 6s653ms 3m37s 09 41 0ms 6s23ms 1s714ms 3s839ms 4s863ms 11s937ms 10 58 0ms 32s796ms 3s402ms 8s80ms 14s908ms 55s976ms 11 38 0ms 43s497ms 3s143ms 4s960ms 6s24ms 44s645ms 12 26 0ms 37s368ms 3s131ms 2s392ms 6s88ms 37s368ms 13 29 0ms 4s721ms 1s427ms 2s412ms 4s717ms 5s970ms 14 43 0ms 32s716ms 3s814ms 4s78ms 14s424ms 54s672ms 15 41 0ms 4s351ms 1s300ms 2s488ms 4s741ms 5s659ms 16 32 0ms 5s509ms 1s505ms 2s426ms 3s879ms 5s509ms 17 30 0ms 1m3s 3s495ms 2s875ms 3s975ms 1m3s 18 37 0ms 32s699ms 3s896ms 4s963ms 9s411ms 54s385ms 19 30 0ms 6s305ms 1s730ms 3s504ms 4s845ms 10s379ms 20 24 0ms 5s582ms 1s656ms 2s627ms 3s838ms 9s207ms 21 36 0ms 5s275ms 1s482ms 2s488ms 3s513ms 5s275ms 22 26 0ms 5s657ms 1s585ms 3s650ms 4s567ms 5s657ms 23 27 0ms 1s886ms 1s236ms 2s372ms 2s381ms 5s617ms Jun 10 00 42 0ms 16m9s 25s49ms 4s972ms 9s920ms 16m15s 01 31 0ms 53s795ms 4s114ms 5s505ms 7s627ms 57s635ms 02 28 0ms 4s3ms 1s583ms 2s987ms 4s3ms 5s178ms 03 21 0ms 5s400ms 1s789ms 2s383ms 4s949ms 5s400ms 04 33 0ms 17s566ms 2s458ms 4s811ms 7s189ms 17s566ms 05 63 0ms 5s616ms 2s190ms 5s616ms 16s243ms 25s990ms 06 43 0ms 3m37s 8s643ms 7s780ms 39s983ms 3m37s 07 22 0ms 4s19ms 1s838ms 2s512ms 3s974ms 5s54ms 08 31 0ms 3m37s 8s609ms 3s983ms 5s584ms 3m38s 09 22 0ms 5s392ms 1s886ms 2s671ms 4s801ms 10s75ms 10 40 0ms 33s53ms 3s874ms 5s261ms 10s638ms 54s421ms 11 39 0ms 5s231ms 1s844ms 4s639ms 5s236ms 12s203ms 12 31 0ms 4s259ms 1s813ms 3s847ms 3s956ms 5s410ms 13 29 0ms 14s932ms 3s430ms 5s677ms 12s301ms 15s830ms 14 42 0ms 32s827ms 4s505ms 9s408ms 11s142ms 57s513ms 15 26 0ms 53s5ms 3s525ms 2s493ms 4s144ms 53s5ms 16 26 0ms 12s528ms 2s498ms 4s654ms 6s614ms 14s819ms 17 22 0ms 17s277ms 2s738ms 5s148ms 5s638ms 18s556ms 18 31 0ms 32s925ms 4s336ms 2s887ms 9s465ms 53s261ms 19 23 0ms 1s576ms 1s194ms 1s259ms 3s726ms 4s663ms 20 29 0ms 5s510ms 1s490ms 2s580ms 4s639ms 6s137ms 21 43 0ms 5s214ms 1s362ms 2s356ms 4s422ms 9s31ms 22 46 0ms 1m18s 3s155ms 3s519ms 6s914ms 1m22s 23 26 0ms 5s607ms 1s513ms 2s400ms 2s804ms 5s607ms Jun 11 00 14 0ms 16m7s 1m11s 2s485ms 4s678ms 16m12s 01 57 0ms 25s397ms 2s437ms 6s324ms 7s870ms 54s63ms 02 47 0ms 13s780ms 2s458ms 6s509ms 8s965ms 13s780ms 03 32 0ms 4s266ms 1s541ms 2s610ms 5s252ms 6s429ms 04 34 0ms 4s744ms 1s681ms 3s419ms 4s440ms 5s939ms 05 62 0ms 5s750ms 2s161ms 13s486ms 20s877ms 24s232ms 06 43 0ms 1m36s 5s931ms 9s454ms 40s30ms 1m41s 07 34 0ms 3m6s 8s692ms 7s455ms 11s161ms 3m6s 08 49 0ms 3m37s 6s749ms 7s50ms 12s718ms 3m40s 09 57 0ms 6s249ms 1s620ms 4s800ms 5s249ms 7s397ms 10 36 0ms 33s90ms 4s178ms 5s22ms 11s747ms 54s348ms 11 36 0ms 9s1ms 2s81ms 4s482ms 6s197ms 9s1ms 12 55 0ms 2m55s 12s142ms 5s296ms 1m35s 5m45s 13 39 0ms 6s302ms 1s715ms 3s533ms 6s785ms 7s822ms 14 33 0ms 33s7ms 4s591ms 5s779ms 9s441ms 53s322ms 15 22 0ms 4s146ms 1s427ms 2s325ms 2s378ms 4s146ms 16 17 0ms 12s818ms 2s33ms 2s288ms 2s458ms 14s72ms 17 39 0ms 4s463ms 1s567ms 3s587ms 5s747ms 8s7ms 18 34 0ms 1m5s 6s105ms 5s190ms 40s180ms 1m6s 19 38 0ms 5s604ms 2s398ms 6s761ms 9s664ms 26s377ms 20 35 0ms 5s441ms 1s662ms 2s448ms 5s441ms 7s642ms 21 39 0ms 4s101ms 1s336ms 2s431ms 2s787ms 4s101ms 22 32 0ms 5s724ms 2s79ms 3s794ms 5s724ms 12s41ms 23 39 0ms 5s612ms 1s654ms 4s548ms 4s909ms 9s334ms Jun 12 00 34 0ms 16m8s 30s207ms 3s194ms 6s589ms 16m13s 01 25 0ms 5s750ms 1s818ms 3s446ms 4s931ms 6s943ms 02 40 0ms 25s600ms 2s389ms 5s7ms 7s319ms 26s751ms 03 40 0ms 27s785ms 2s319ms 3s664ms 5s503ms 29s134ms 04 17 0ms 3m36s 15s121ms 5s29ms 6s254ms 3m36s 05 57 0ms 4s140ms 1s972ms 4s338ms 13s779ms 26s146ms 06 40 0ms 32s835ms 3s982ms 7s363ms 12s853ms 53s428ms 07 46 0ms 3m43s 6s963ms 5s300ms 11s531ms 3m43s 08 18 0ms 5s8ms 2s127ms 3s888ms 3s966ms 5s8ms 09 34 0ms 8s247ms 1s979ms 4s823ms 5s738ms 8s247ms 10 39 0ms 32s931ms 4s530ms 6s548ms 9s457ms 1m9s 11 64 0ms 17s674ms 4s154ms 20s703ms 23s643ms 37s367ms 12 23 0ms 2s773ms 1s253ms 2s296ms 2s537ms 3s906ms 13 33 0ms 3m37s 8s212ms 4s629ms 5s36ms 3m37s 14 42 0ms 32s899ms 4s425ms 6s49ms 28s454ms 53s346ms 15 41 0ms 3s823ms 1s380ms 3s518ms 4s33ms 4s709ms 16 25 0ms 4s920ms 1s540ms 1s265ms 4s902ms 6s94ms 17 24 0ms 15s282ms 2s495ms 2s541ms 6s431ms 15s282ms 18 42 0ms 32s866ms 3s456ms 3s923ms 10s675ms 53s773ms 19 30 0ms 5s127ms 1s577ms 2s360ms 4s710ms 5s127ms 20 14 0ms 5s641ms 2s606ms 3s884ms 5s208ms 5s641ms 21 32 0ms 4s938ms 1s623ms 3s878ms 4s789ms 6s210ms 22 29 0ms 1m17s 9s34ms 6s835ms 1m2s 1m17s 23 22 0ms 5s126ms 1s798ms 2s381ms 4s781ms 5s126ms Jun 13 00 35 0ms 16m8s 36s827ms 2s775ms 11s927ms 16m13s 01 40 0ms 4s984ms 1s642ms 5s109ms 5s522ms 6s167ms 02 24 0ms 4s940ms 2s132ms 3s869ms 4s47ms 6s191ms 03 40 0ms 3m37s 6s830ms 2s634ms 3s840ms 3m37s 04 51 0ms 5s11ms 1s517ms 3s346ms 5s131ms 7s415ms 05 83 0ms 30s330ms 2s893ms 20s805ms 23s464ms 30s330ms 06 48 0ms 37s456ms 4s413ms 6s193ms 37s456ms 53s422ms 07 37 0ms 3m7s 6s957ms 5s441ms 6s334ms 3m9s 08 35 0ms 3s966ms 1s425ms 2s717ms 3s627ms 5s126ms 09 20 0ms 4s86ms 1s642ms 2s280ms 3s914ms 5s214ms 10 44 0ms 32s868ms 3s852ms 6s400ms 15s998ms 54s651ms 11 30 0ms 6s590ms 1s748ms 3s961ms 6s44ms 10s58ms 12 19 0ms 4s919ms 1s557ms 1s892ms 2s338ms 4s919ms 13 33 0ms 1s362ms 1s200ms 2s410ms 4s710ms 4s932ms 14 41 0ms 3m37s 8s810ms 2s516ms 15s981ms 4m19s 15 25 0ms 3s914ms 1s514ms 2s496ms 3s874ms 3s914ms 16 21 0ms 15s225ms 1s975ms 2s390ms 3s700ms 15s225ms 17 26 0ms 5s241ms 1s894ms 3s93ms 6s457ms 7s890ms 18 50 0ms 1m10s 4s557ms 3s540ms 42s748ms 1m19s 19 47 0ms 6s377ms 1s530ms 3s615ms 6s281ms 6s677ms 20 30 0ms 5s62ms 1s822ms 4s4ms 4s920ms 6s333ms 21 30 0ms 53s863ms 3s198ms 2s597ms 5s6ms 53s863ms 22 24 0ms 6s251ms 2s56ms 5s100ms 6s180ms 7s30ms 23 29 0ms 4s741ms 1s761ms 4s430ms 6s509ms 8s554ms Jun 14 00 20 0ms 16m7s 50s320ms 3s203ms 3s890ms 16m12s 01 13 0ms 5s305ms 1s920ms 1s293ms 3s684ms 5s305ms 02 30 0ms 6s322ms 1s647ms 4s694ms 5s258ms 6s322ms 03 28 0ms 3m39s 9s248ms 2s493ms 4s959ms 3m40s 04 28 0ms 36s861ms 4s349ms 6s28ms 12s621ms 41s267ms 05 62 0ms 5s231ms 1s962ms 5s514ms 14s792ms 25s759ms 06 26 0ms 33s160ms 5s248ms 4s748ms 9s492ms 53s462ms 07 25 0ms 55s529ms 3s895ms 3s482ms 5s418ms 56s841ms 08 41 0ms 6s342ms 1s867ms 3s838ms 5s348ms 16s205ms 09 39 0ms 3m57s 7s737ms 3s855ms 5s132ms 3m57s 10 34 0ms 32s933ms 4s105ms 5s609ms 10s621ms 40s192ms 11 30 0ms 2s547ms 1s251ms 2s357ms 3s375ms 3s831ms 12 28 0ms 3s960ms 1s727ms 3s821ms 3s922ms 5s188ms 13 13 0ms 3s979ms 1s785ms 2s370ms 3s322ms 3s979ms 14 27 0ms 32s943ms 5s145ms 2s606ms 16s247ms 53s481ms 15 12 0ms 1s364ms 1s197ms 1s175ms 1s276ms 2s372ms 16 27 0ms 3s227ms 1s320ms 1s321ms 2s582ms 4s368ms 17 19 0ms 9m25s 31s175ms 1s181ms 1s228ms 9m29s 18 44 0ms 32s999ms 3s591ms 4s915ms 9s469ms 53s478ms 19 34 0ms 4s965ms 1s550ms 2s640ms 4s663ms 6s92ms 20 44 0ms 6s546ms 1s414ms 2s416ms 4s944ms 7s10ms 21 25 0ms 1m18s 5s213ms 2s586ms 9s721ms 1m20s 22 21 0ms 7s473ms 2s623ms 2s373ms 7s473ms 15s310ms 23 28 0ms 4s746ms 1s300ms 2s350ms 2s531ms 4s746ms Jun 15 00 24 0ms 16m11s 42s352ms 3s877ms 3s959ms 16m16s 01 14 0ms 5s18ms 1s783ms 1s255ms 2s562ms 6s950ms 02 26 0ms 4s923ms 1s420ms 1s281ms 2s455ms 5s25ms 03 23 0ms 59s617ms 3s731ms 1s288ms 2s343ms 59s617ms 04 26 0ms 6s910ms 1s605ms 2s466ms 3s460ms 9s427ms 05 72 0ms 9m53s 10s142ms 13s796ms 25s759ms 9m54s 06 22 0ms 4s297ms 1s348ms 2s452ms 3s603ms 4s297ms 07 13 0ms 3m7s 16s7ms 2s294ms 3s949ms 3m7s 08 25 0ms 6s264ms 2s182ms 4s861ms 4s937ms 6s264ms 09 12 0ms 3m37s 19s369ms 1s329ms 2s745ms 3m37s 10 23 0ms 4s970ms 1s494ms 2s441ms 2s531ms 4s970ms 11 29 0ms 5s397ms 1s791ms 3s582ms 4s888ms 10s428ms 12 27 0ms 6s666ms 2s149ms 3s906ms 5s452ms 6s666ms 13 34 0ms 4s947ms 1s644ms 3s906ms 4s66ms 8s227ms 14 25 0ms 18s951ms 2s255ms 2s345ms 4s966ms 20s110ms 15 15 0ms 5s59ms 2s113ms 1s322ms 3s838ms 8s600ms 16 14 0ms 12s188ms 2s21ms 1s177ms 2s122ms 12s188ms 17 28 0ms 2s392ms 1s291ms 2s430ms 2s703ms 3s599ms 18 55 0ms 1m11s 7s971ms 50s746ms 58s960ms 1m18s 19 85 0ms 23m16s 56s157ms 1m58s 7m3s 24m6s 20 19 0ms 2s105ms 1s220ms 1s339ms 2s641ms 3s532ms 21 17 0ms 7s71ms 1s806ms 2s303ms 2s810ms 7s71ms 22 33 0ms 7s50ms 1s617ms 2s588ms 5s279ms 7s50ms 23 18 0ms 7s187ms 2s76ms 2s657ms 3s418ms 7s187ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 09 00 25 0 41s30ms 1s428ms 5s523ms 16m10s 01 28 0 3s670ms 1s427ms 3s907ms 52s793ms 02 33 0 1s297ms 1s332ms 2s550ms 4s605ms 03 28 0 1s529ms 1s298ms 2s365ms 5s626ms 04 24 0 1s980ms 1s750ms 3s680ms 7s868ms 05 59 0 2s184ms 2s447ms 13s876ms 25s734ms 06 53 10 6s130ms 4s848ms 9s412ms 53s333ms 07 28 0 2s215ms 1s793ms 4s892ms 9s911ms 08 35 0 7s984ms 3s19ms 5s168ms 3m37s 09 41 0 1s714ms 2s472ms 3s839ms 11s937ms 10 48 10 3s402ms 5s209ms 8s80ms 53s655ms 11 38 0 3s143ms 2s433ms 4s960ms 44s645ms 12 26 0 3s131ms 2s247ms 2s392ms 37s368ms 13 29 0 1s427ms 1s323ms 2s412ms 5s970ms 14 32 10 3s859ms 3s43ms 4s78ms 53s462ms 15 41 0 1s300ms 2s321ms 2s488ms 5s659ms 16 32 0 1s505ms 2s169ms 2s426ms 5s509ms 17 30 0 3s495ms 1s366ms 2s875ms 1m3s 18 27 10 3s896ms 2s292ms 4s963ms 53s248ms 19 30 0 1s730ms 1s679ms 3s504ms 10s379ms 20 24 0 1s656ms 1s200ms 2s627ms 9s207ms 21 36 0 1s482ms 2s342ms 2s488ms 5s275ms 22 26 0 1s585ms 1s783ms 3s650ms 5s657ms 23 27 0 1s236ms 1s409ms 2s372ms 5s617ms Jun 10 00 41 0 25s546ms 2s375ms 4s972ms 11s183ms 01 31 0 4s114ms 2s572ms 5s505ms 57s635ms 02 28 0 1s583ms 1s402ms 2s987ms 5s178ms 03 21 0 1s789ms 1s293ms 2s383ms 5s400ms 04 33 0 2s458ms 2s371ms 4s811ms 17s566ms 05 59 0 2s190ms 2s918ms 5s616ms 25s990ms 06 33 10 8s643ms 2s374ms 7s780ms 3m37s 07 22 0 1s838ms 1s315ms 2s512ms 5s54ms 08 31 0 8s609ms 2s304ms 3s983ms 3m38s 09 22 0 1s886ms 1s198ms 2s671ms 10s75ms 10 30 10 3s874ms 2s464ms 5s261ms 40s202ms 11 39 0 1s844ms 2s567ms 4s639ms 12s203ms 12 31 0 1s813ms 3s66ms 3s847ms 5s410ms 13 29 0 3s430ms 3s755ms 5s677ms 15s830ms 14 32 10 4s505ms 2s378ms 9s427ms 39s995ms 15 26 0 3s525ms 1s181ms 2s493ms 4s780ms 16 26 0 2s498ms 1s207ms 4s654ms 9s707ms 17 22 0 2s738ms 1s318ms 5s148ms 18s556ms 18 21 10 4s336ms 2s344ms 2s887ms 53s261ms 19 23 0 1s194ms 1s189ms 1s259ms 4s663ms 20 29 0 1s490ms 1s188ms 2s580ms 6s137ms 21 43 0 1s362ms 1s337ms 2s356ms 5s887ms 22 46 0 3s155ms 2s443ms 3s519ms 1m22s 23 26 0 1s513ms 1s248ms 2s400ms 5s607ms Jun 11 00 13 0 1m16s 1s132ms 2s485ms 16m7s 01 55 0 2s405ms 2s278ms 6s125ms 54s63ms 02 47 0 2s458ms 4s955ms 6s509ms 10s928ms 03 32 0 1s541ms 1s283ms 2s610ms 6s429ms 04 34 0 1s681ms 2s419ms 3s419ms 5s939ms 05 58 0 2s160ms 2s272ms 13s486ms 24s232ms 06 33 10 5s931ms 3s470ms 9s454ms 1m41s 07 34 0 8s692ms 3s783ms 7s455ms 17s198ms 08 49 0 6s749ms 4s786ms 7s50ms 3m40s 09 56 0 1s615ms 2s366ms 4s800ms 6s653ms 10 26 10 4s178ms 2s366ms 5s22ms 53s223ms 11 36 0 2s81ms 2s327ms 4s482ms 7s649ms 12 54 0 12s331ms 3s450ms 5s296ms 5m45s 13 39 0 1s715ms 2s291ms 3s533ms 7s822ms 14 24 9 4s591ms 3s883ms 5s779ms 53s322ms 15 22 0 1s427ms 1s240ms 2s325ms 4s146ms 16 17 0 2s33ms 1s166ms 2s288ms 14s72ms 17 39 0 1s567ms 2s368ms 3s587ms 8s7ms 18 24 10 6s105ms 2s343ms 5s190ms 1m6s 19 38 0 2s398ms 1s434ms 6s761ms 26s377ms 20 35 0 1s662ms 1s246ms 2s448ms 7s642ms 21 39 0 1s336ms 2s335ms 2s431ms 4s101ms 22 32 0 2s79ms 1s489ms 3s794ms 12s41ms 23 39 0 1s654ms 2s380ms 4s548ms 9s334ms Jun 12 00 33 0 30s973ms 1s403ms 3s194ms 16m8s 01 25 0 1s818ms 1s300ms 3s446ms 6s943ms 02 40 0 2s389ms 3s320ms 5s7ms 7s482ms 03 40 0 2s319ms 2s565ms 3s664ms 7s34ms 04 15 0 16s699ms 1s308ms 3s863ms 3m36s 05 53 0 1s957ms 1s325ms 3s864ms 26s146ms 06 30 10 3s982ms 2s682ms 7s363ms 53s428ms 07 46 0 6s963ms 4s6ms 5s300ms 3m43s 08 18 0 2s127ms 1s367ms 3s888ms 5s8ms 09 34 0 1s979ms 2s256ms 4s823ms 8s247ms 10 29 10 4s530ms 5s218ms 6s692ms 53s518ms 11 64 0 4s154ms 6s819ms 20s703ms 37s367ms 12 23 0 1s253ms 1s174ms 2s296ms 3s906ms 13 33 0 8s212ms 2s399ms 4s629ms 3m37s 14 32 10 4s425ms 3s840ms 6s49ms 53s346ms 15 41 0 1s380ms 2s289ms 3s518ms 4s709ms 16 25 0 1s540ms 1s186ms 1s265ms 6s20ms 17 24 0 2s495ms 2s247ms 2s541ms 15s282ms 18 32 10 3s456ms 2s318ms 3s923ms 53s773ms 19 30 0 1s577ms 1s360ms 2s360ms 5s127ms 20 14 0 2s606ms 1s183ms 3s884ms 5s641ms 21 32 0 1s623ms 1s297ms 3s878ms 6s210ms 22 29 0 9s34ms 2s175ms 6s835ms 1m17s 23 22 0 1s798ms 1s207ms 2s381ms 5s126ms Jun 13 00 34 0 37s765ms 2s249ms 2s775ms 4m12s 01 40 0 1s642ms 2s346ms 5s109ms 6s167ms 02 24 0 2s132ms 2s386ms 3s869ms 6s191ms 03 40 0 6s830ms 1s355ms 2s634ms 5s209ms 04 51 0 1s517ms 2s360ms 3s346ms 7s351ms 05 79 0 2s930ms 7s666ms 20s805ms 30s330ms 06 38 10 4s413ms 4s27ms 6s193ms 40s193ms 07 37 0 6s957ms 3s467ms 5s441ms 6s540ms 08 35 0 1s425ms 1s425ms 2s717ms 3s966ms 09 20 0 1s642ms 1s211ms 2s280ms 4s24ms 10 34 10 3s852ms 4s992ms 6s443ms 53s497ms 11 30 0 1s748ms 1s396ms 3s961ms 10s58ms 12 18 0 1s538ms 1s178ms 1s346ms 4s919ms 13 33 0 1s200ms 1s235ms 2s410ms 4s827ms 14 31 10 8s810ms 1s313ms 4s820ms 53s456ms 15 25 0 1s514ms 1s268ms 2s496ms 3s914ms 16 21 0 1s975ms 1s151ms 2s390ms 5s27ms 17 26 0 1s894ms 1s820ms 3s93ms 7s890ms 18 40 10 4s557ms 2s471ms 6s392ms 1m10s 19 47 0 1s530ms 2s394ms 3s615ms 6s677ms 20 30 0 1s822ms 1s266ms 4s4ms 6s333ms 21 30 0 3s198ms 1s491ms 2s597ms 53s863ms 22 24 0 2s56ms 1s225ms 5s100ms 7s30ms 23 29 0 1s761ms 2s281ms 4s430ms 8s554ms Jun 14 00 19 0 52s713ms 1s899ms 3s203ms 16m7s 01 13 0 1s920ms 1s168ms 1s293ms 5s305ms 02 30 0 1s647ms 1s338ms 4s694ms 6s322ms 03 28 0 9s248ms 1s340ms 2s493ms 3m40s 04 28 0 4s349ms 2s357ms 6s28ms 41s267ms 05 58 0 1s948ms 2s515ms 5s231ms 25s759ms 06 16 10 5s248ms 1s680ms 4s748ms 53s462ms 07 25 0 3s895ms 1s282ms 3s482ms 56s841ms 08 41 0 1s867ms 2s336ms 3s838ms 16s205ms 09 39 0 7s737ms 2s788ms 3s855ms 5s731ms 10 25 9 4s105ms 2s459ms 5s609ms 40s192ms 11 30 0 1s251ms 1s253ms 2s357ms 3s831ms 12 27 0 1s701ms 1s177ms 3s821ms 5s188ms 13 13 0 1s785ms 1s182ms 2s370ms 3s979ms 14 17 10 5s145ms 1s287ms 2s706ms 53s481ms 15 12 0 1s197ms 1s156ms 1s175ms 2s372ms 16 27 0 1s320ms 1s200ms 1s321ms 4s368ms 17 19 0 31s175ms 1s175ms 1s181ms 3s867ms 18 34 10 3s591ms 2s424ms 4s915ms 53s478ms 19 34 0 1s550ms 2s375ms 2s640ms 6s92ms 20 44 0 1s414ms 2s323ms 2s416ms 7s10ms 21 25 0 5s213ms 1s249ms 2s586ms 1m20s 22 21 0 2s623ms 1s269ms 2s373ms 15s310ms 23 28 0 1s300ms 1s214ms 2s350ms 4s746ms Jun 15 00 23 0 43s974ms 1s702ms 3s877ms 16m11s 01 14 0 1s783ms 1s154ms 1s255ms 6s950ms 02 26 0 1s420ms 1s176ms 1s281ms 4s923ms 03 23 0 3s731ms 1s188ms 1s288ms 59s617ms 04 26 0 1s605ms 1s273ms 2s466ms 9s427ms 05 68 0 10s611ms 3s796ms 13s796ms 9m54s 06 22 0 1s348ms 2s282ms 2s452ms 4s297ms 07 13 0 16s7ms 1s161ms 2s294ms 3m7s 08 25 0 2s182ms 2s336ms 4s861ms 6s264ms 09 12 0 19s369ms 1s165ms 1s329ms 3m37s 10 23 0 1s494ms 1s267ms 2s441ms 4s970ms 11 29 0 1s791ms 2s289ms 3s582ms 10s428ms 12 26 0 2s159ms 2s6ms 3s906ms 6s666ms 13 34 0 1s644ms 2s384ms 3s906ms 8s227ms 14 25 0 2s255ms 1s175ms 2s345ms 6s208ms 15 15 0 2s113ms 1s134ms 1s322ms 8s600ms 16 13 0 2s13ms 1s145ms 1s169ms 12s188ms 17 28 0 1s291ms 1s263ms 2s430ms 3s599ms 18 28 26 8s75ms 4s957ms 49s494ms 1m18s 19 38 47 56s157ms 1m16s 1m56s 23m6s 20 19 0 1s220ms 1s123ms 1s339ms 3s532ms 21 17 0 1s806ms 1s118ms 2s303ms 7s71ms 22 33 0 1s617ms 2s344ms 2s588ms 7s50ms 23 18 0 2s76ms 1s178ms 2s657ms 7s187ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 09 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 Jun 10 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 Jun 11 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 Jun 12 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 Jun 13 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 Jun 14 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 Jun 15 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jun 09 00 0 24 24.00 0.00% 01 0 28 28.00 0.00% 02 0 33 33.00 0.00% 03 0 28 28.00 0.00% 04 0 24 24.00 0.00% 05 0 63 63.00 0.00% 06 0 53 53.00 0.00% 07 0 28 28.00 0.00% 08 0 35 35.00 0.00% 09 0 41 41.00 0.00% 10 0 48 48.00 0.00% 11 0 38 38.00 0.00% 12 0 26 26.00 0.00% 13 0 29 29.00 0.00% 14 0 33 33.00 0.00% 15 0 41 41.00 0.00% 16 0 32 32.00 0.00% 17 0 30 30.00 0.00% 18 0 27 27.00 0.00% 19 0 30 30.00 0.00% 20 0 24 24.00 0.00% 21 0 36 36.00 0.00% 22 0 26 26.00 0.00% 23 0 27 27.00 0.00% Jun 10 00 0 40 40.00 0.00% 01 0 31 31.00 0.00% 02 0 28 28.00 0.00% 03 0 21 21.00 0.00% 04 0 33 33.00 0.00% 05 0 63 63.00 0.00% 06 0 33 33.00 0.00% 07 0 22 22.00 0.00% 08 0 31 31.00 0.00% 09 0 22 22.00 0.00% 10 0 32 32.00 0.00% 11 0 39 39.00 0.00% 12 0 31 31.00 0.00% 13 0 31 31.00 0.00% 14 0 33 33.00 0.00% 15 0 31 31.00 0.00% 16 0 28 28.00 0.00% 17 0 23 23.00 0.00% 18 0 21 21.00 0.00% 19 0 23 23.00 0.00% 20 0 29 29.00 0.00% 21 0 43 43.00 0.00% 22 0 46 46.00 0.00% 23 0 26 26.00 0.00% Jun 11 00 0 12 12.00 0.00% 01 0 59 59.00 0.00% 02 0 47 47.00 0.00% 03 0 32 32.00 0.00% 04 0 34 34.00 0.00% 05 0 62 62.00 0.00% 06 0 33 33.00 0.00% 07 0 37 37.00 0.00% 08 0 49 49.00 0.00% 09 0 58 58.00 0.00% 10 0 26 26.00 0.00% 11 0 45 45.00 0.00% 12 0 56 56.00 0.00% 13 0 40 40.00 0.00% 14 0 24 24.00 0.00% 15 0 22 22.00 0.00% 16 0 18 18.00 0.00% 17 0 39 39.00 0.00% 18 0 24 24.00 0.00% 19 0 38 38.00 0.00% 20 0 35 35.00 0.00% 21 0 39 39.00 0.00% 22 0 32 32.00 0.00% 23 0 39 39.00 0.00% Jun 12 00 0 32 32.00 0.00% 01 0 25 25.00 0.00% 02 0 40 40.00 0.00% 03 0 40 40.00 0.00% 04 0 17 17.00 0.00% 05 0 57 57.00 0.00% 06 0 30 30.00 0.00% 07 0 46 46.00 0.00% 08 0 18 18.00 0.00% 09 0 34 34.00 0.00% 10 0 29 29.00 0.00% 11 0 64 64.00 0.00% 12 0 23 23.00 0.00% 13 0 33 33.00 0.00% 14 0 32 32.00 0.00% 15 0 41 41.00 0.00% 16 0 26 26.00 0.00% 17 0 25 25.00 0.00% 18 0 32 32.00 0.00% 19 0 30 30.00 0.00% 20 0 14 14.00 0.00% 21 0 32 32.00 0.00% 22 0 34 34.00 0.00% 23 0 25 25.00 0.00% Jun 13 00 0 33 33.00 0.00% 01 0 40 40.00 0.00% 02 0 24 24.00 0.00% 03 0 40 40.00 0.00% 04 0 51 51.00 0.00% 05 0 83 83.00 0.00% 06 0 38 38.00 0.00% 07 0 37 37.00 0.00% 08 0 35 35.00 0.00% 09 0 21 21.00 0.00% 10 0 34 34.00 0.00% 11 0 32 32.00 0.00% 12 0 21 21.00 0.00% 13 0 34 34.00 0.00% 14 0 35 35.00 0.00% 15 0 26 26.00 0.00% 16 0 27 27.00 0.00% 17 0 26 26.00 0.00% 18 0 40 40.00 0.00% 19 0 47 47.00 0.00% 20 0 30 30.00 0.00% 21 0 30 30.00 0.00% 22 0 24 24.00 0.00% 23 0 29 29.00 0.00% Jun 14 00 0 18 18.00 0.00% 01 0 13 13.00 0.00% 02 0 30 30.00 0.00% 03 0 28 28.00 0.00% 04 0 28 28.00 0.00% 05 0 62 62.00 0.00% 06 0 16 16.00 0.00% 07 0 25 25.00 0.00% 08 0 43 43.00 0.00% 09 0 39 39.00 0.00% 10 0 25 25.00 0.00% 11 0 30 30.00 0.00% 12 0 28 28.00 0.00% 13 0 16 16.00 0.00% 14 0 17 17.00 0.00% 15 0 12 12.00 0.00% 16 0 27 27.00 0.00% 17 0 20 20.00 0.00% 18 0 34 34.00 0.00% 19 0 34 34.00 0.00% 20 0 44 44.00 0.00% 21 0 25 25.00 0.00% 22 0 21 21.00 0.00% 23 0 28 28.00 0.00% Jun 15 00 0 22 22.00 0.00% 01 0 14 14.00 0.00% 02 0 26 26.00 0.00% 03 0 23 23.00 0.00% 04 0 26 26.00 0.00% 05 0 72 72.00 0.00% 06 0 22 22.00 0.00% 07 0 13 13.00 0.00% 08 0 25 25.00 0.00% 09 0 12 12.00 0.00% 10 0 23 23.00 0.00% 11 0 29 29.00 0.00% 12 0 27 27.00 0.00% 13 0 34 34.00 0.00% 14 0 25 25.00 0.00% 15 0 15 15.00 0.00% 16 0 14 14.00 0.00% 17 0 28 28.00 0.00% 18 0 29 29.00 0.00% 19 0 38 38.00 0.00% 20 0 19 19.00 0.00% 21 0 17 17.00 0.00% 22 0 33 33.00 0.00% 23 0 18 18.00 0.00% Day Hour Count Average / Second Jun 09 00 88 0.02/s 01 82 0.02/s 02 83 0.02/s 03 88 0.02/s 04 82 0.02/s 05 94 0.03/s 06 88 0.02/s 07 83 0.02/s 08 84 0.02/s 09 83 0.02/s 10 87 0.02/s 11 89 0.02/s 12 86 0.02/s 13 78 0.02/s 14 88 0.02/s 15 82 0.02/s 16 82 0.02/s 17 77 0.02/s 18 86 0.02/s 19 80 0.02/s 20 88 0.02/s 21 76 0.02/s 22 80 0.02/s 23 82 0.02/s Jun 10 00 88 0.02/s 01 83 0.02/s 02 79 0.02/s 03 80 0.02/s 04 84 0.02/s 05 97 0.03/s 06 89 0.02/s 07 84 0.02/s 08 82 0.02/s 09 86 0.02/s 10 88 0.02/s 11 83 0.02/s 12 69 0.02/s 13 99 0.03/s 14 89 0.02/s 15 84 0.02/s 16 85 0.02/s 17 77 0.02/s 18 80 0.02/s 19 80 0.02/s 20 80 0.02/s 21 85 0.02/s 22 86 0.02/s 23 85 0.02/s Jun 11 00 76 0.02/s 01 86 0.02/s 02 84 0.02/s 03 97 0.03/s 04 119 0.03/s 05 90 0.03/s 06 86 0.02/s 07 88 0.02/s 08 98 0.03/s 09 88 0.02/s 10 79 0.02/s 11 82 0.02/s 12 88 0.02/s 13 81 0.02/s 14 80 0.02/s 15 85 0.02/s 16 75 0.02/s 17 81 0.02/s 18 85 0.02/s 19 84 0.02/s 20 93 0.03/s 21 91 0.03/s 22 81 0.02/s 23 76 0.02/s Jun 12 00 84 0.02/s 01 83 0.02/s 02 114 0.03/s 03 96 0.03/s 04 101 0.03/s 05 103 0.03/s 06 87 0.02/s 07 94 0.03/s 08 82 0.02/s 09 79 0.02/s 10 99 0.03/s 11 86 0.02/s 12 79 0.02/s 13 80 0.02/s 14 90 0.03/s 15 87 0.02/s 16 73 0.02/s 17 81 0.02/s 18 83 0.02/s 19 83 0.02/s 20 85 0.02/s 21 73 0.02/s 22 84 0.02/s 23 83 0.02/s Jun 13 00 94 0.03/s 01 90 0.03/s 02 81 0.02/s 03 86 0.02/s 04 87 0.02/s 05 230 0.06/s 06 104 0.03/s 07 90 0.03/s 08 84 0.02/s 09 75 0.02/s 10 93 0.03/s 11 78 0.02/s 12 79 0.02/s 13 84 0.02/s 14 82 0.02/s 15 75 0.02/s 16 84 0.02/s 17 75 0.02/s 18 89 0.02/s 19 82 0.02/s 20 79 0.02/s 21 75 0.02/s 22 88 0.02/s 23 95 0.03/s Jun 14 00 81 0.02/s 01 80 0.02/s 02 79 0.02/s 03 84 0.02/s 04 83 0.02/s 05 89 0.02/s 06 87 0.02/s 07 88 0.02/s 08 93 0.03/s 09 82 0.02/s 10 81 0.02/s 11 83 0.02/s 12 80 0.02/s 13 71 0.02/s 14 92 0.03/s 15 78 0.02/s 16 77 0.02/s 17 81 0.02/s 18 81 0.02/s 19 80 0.02/s 20 79 0.02/s 21 79 0.02/s 22 87 0.02/s 23 81 0.02/s Jun 15 00 83 0.02/s 01 80 0.02/s 02 79 0.02/s 03 79 0.02/s 04 92 0.03/s 05 99 0.03/s 06 83 0.02/s 07 79 0.02/s 08 91 0.03/s 09 79 0.02/s 10 82 0.02/s 11 83 0.02/s 12 82 0.02/s 13 79 0.02/s 14 88 0.02/s 15 90 0.03/s 16 88 0.02/s 17 84 0.02/s 18 86 0.02/s 19 84 0.02/s 20 83 0.02/s 21 83 0.02/s 22 82 0.02/s 23 90 0.03/s Day Hour Count Average Duration Average idle time Jun 09 00 88 27m56s 27m45s 01 82 29m18s 29m17s 02 83 28m34s 28m34s 03 88 28m19s 28m19s 04 82 30m11s 30m11s 05 94 24m57s 24m55s 06 88 27m46s 27m41s 07 83 28m58s 28m57s 08 84 28m37s 28m34s 09 83 28m49s 28m49s 10 87 28m12s 28m10s 11 89 26m38s 26m37s 12 86 28m1s 28m 13 78 30m1s 30m 14 88 27m37s 27m35s 15 82 29m39s 29m38s 16 82 29m44s 29m44s 17 77 30m33s 30m31s 18 86 28m34s 28m32s 19 80 27m39s 27m38s 20 88 27m11s 27m10s 21 76 29m10s 29m10s 22 80 29m57s 29m56s 23 82 30m7s 30m7s Jun 10 00 88 27m59s 27m47s 01 83 29m1s 28m59s 02 79 30m8s 30m8s 03 80 31m27s 31m26s 04 84 28m26s 28m25s 05 97 24m46s 24m45s 06 89 26m57s 26m53s 07 84 29m19s 29m19s 08 82 29m28s 29m25s 09 86 28m17s 28m17s 10 88 28m 27m58s 11 83 28m59s 28m58s 12 69 31m52s 31m51s 13 99 2d17h53m34s 2d17h53m33s 14 89 28m33s 28m31s 15 84 29m30s 29m29s 16 85 28m14s 28m14s 17 77 31m3s 31m2s 18 80 28m49s 28m47s 19 80 29m12s 29m11s 20 80 30m30s 30m29s 21 85 27m5s 27m4s 22 86 27m57s 27m56s 23 85 28m6s 28m6s Jun 11 00 76 30m14s 30m1s 01 86 28m39s 28m37s 02 84 29m14s 29m12s 03 96 26m8s 26m7s 04 120 19m5s 19m5s 05 90 26m30s 26m29s 06 85 27m57s 27m54s 07 89 28m5s 28m1s 08 98 24m59s 24m56s 09 88 27m28s 27m27s 10 79 30m18s 30m17s 11 82 29m24s 29m23s 12 88 29m28s 29m20s 13 81 29m40s 29m40s 14 80 28m53s 28m51s 15 85 28m41s 28m40s 16 75 30m42s 30m42s 17 81 27m45s 27m44s 18 85 28m37s 28m34s 19 84 28m26s 28m25s 20 93 26m2s 26m1s 21 91 24m44s 24m44s 22 81 29m33s 29m32s 23 76 31m43s 31m42s Jun 12 00 84 29m30s 29m18s 01 83 28m58s 28m58s 02 114 21m53s 21m52s 03 96 24m49s 24m48s 04 101 24m26s 24m24s 05 103 23m8s 23m7s 06 87 27m16s 27m15s 07 94 25m42s 25m38s 08 82 28m53s 28m53s 09 79 30m56s 30m55s 10 99 24m45s 24m43s 11 86 29m3s 29m 12 79 30m1s 30m1s 13 80 29m28s 29m25s 14 90 27m29s 27m27s 15 87 27m13s 27m12s 16 73 30m7s 30m6s 17 81 29m54s 29m54s 18 83 29m4s 29m2s 19 83 29m30s 29m29s 20 85 28m26s 28m26s 21 73 30m45s 30m44s 22 84 28m13s 28m10s 23 83 29m27s 29m27s Jun 13 00 94 26m10s 25m57s 01 90 26m48s 26m48s 02 81 29m7s 29m7s 03 86 27m50s 27m47s 04 87 28m14s 28m13s 05 230 10m31s 10m30s 06 103 24m27s 24m25s 07 91 26m46s 26m43s 08 84 28m22s 28m22s 09 75 30m24s 30m23s 10 93 26m34s 26m32s 11 78 29m40s 29m39s 12 79 31m9s 31m8s 13 84 29m49s 29m48s 14 82 27m36s 27m32s 15 75 31m20s 31m19s 16 84 29m6s 29m6s 17 75 31m30s 31m30s 18 89 27m35s 27m33s 19 82 29m6s 29m5s 20 79 30m53s 30m52s 21 75 29m53s 29m52s 22 88 27m41s 27m41s 23 95 24m29s 24m28s Jun 14 00 81 30m10s 29m57s 01 80 30m38s 30m38s 02 79 30m55s 30m55s 03 84 28m53s 28m49s 04 83 28m58s 28m56s 05 89 27m16s 27m14s 06 87 27m19s 27m17s 07 88 28m31s 28m30s 08 93 26m43s 26m42s 09 82 29m23s 29m19s 10 81 29m8s 29m7s 11 83 28m50s 28m49s 12 80 30m25s 30m24s 13 71 31m49s 31m49s 14 92 26m11s 26m10s 15 78 30m36s 30m36s 16 77 31m5s 31m5s 17 81 30m15s 30m7s 18 81 29m8s 29m6s 19 80 29m7s 29m6s 20 79 29m12s 29m11s 21 79 29m38s 29m36s 22 87 28m25s 28m25s 23 81 29m3s 29m3s Jun 15 00 83 30m23s 30m10s 01 80 29m58s 29m58s 02 79 30m22s 30m22s 03 79 30m28s 30m27s 04 92 26m31s 26m30s 05 99 24m22s 24m15s 06 83 28m40s 28m40s 07 79 30m53s 30m51s 08 91 27m28s 27m27s 09 79 30m31s 30m28s 10 82 30m13s 30m13s 11 83 28m18s 28m17s 12 82 28m36s 28m35s 13 79 28m59s 28m59s 14 88 27m55s 27m54s 15 90 26m53s 26m53s 16 88 27m50s 27m50s 17 84 28m33s 28m33s 18 85 27m43s 27m38s 19 85 28m52s 27m56s 20 83 28m44s 28m43s 21 83 27m1s 27m1s 22 82 30m2s 30m1s 23 90 26m48s 26m48s -
Connections
Established Connections
Key values
- 35 connections Connection Peak
- 2024-06-13 05:09:43 Date
Connections per database
Key values
- ctdprd51 Main Database
- 14,383 connections Total
Connections per user
Key values
- pubeu Main User
- 14,383 connections Total
-
Sessions
Simultaneous sessions
Key values
- 55 sessions Session Peak
- 2024-06-11 01:16:15 Date
Histogram of session times
Key values
- 12,248 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 14,383 sessions Total
Sessions per user
Key values
- pubeu Main User
- 14,383 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 14,383 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 107,421 buffers Checkpoint Peak
- 2024-06-13 07:26:22 Date
- 1619.701 seconds Highest write time
- 0.023 seconds Sync time
Checkpoints Wal files
Key values
- 65 files Wal files usage Peak
- 2024-06-15 23:56:31 Date
Checkpoints distance
Key values
- 1,126.85 Mo Distance Peak
- 2024-06-13 05:26:22 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jun 09 00 802 80.551s 0.004s 80.641s 01 624 62.716s 0.003s 62.746s 02 235 23.74s 0.002s 23.77s 03 245 24.734s 0.002s 24.766s 04 282 28.347s 0.002s 28.379s 05 249 25.143s 0.002s 25.174s 06 43,908 1,634.164s 0.003s 1,634.571s 07 262 26.432s 0.002s 26.463s 08 241 24.343s 0.002s 24.373s 09 85 8.607s 0.001s 8.622s 10 4,648 465.573s 0.004s 465.657s 11 391 39.373s 0.003s 39.404s 12 338 34.053s 0.003s 34.085s 13 294 29.644s 0.002s 29.673s 14 320 32.153s 0.002s 32.185s 15 587 58.989s 0.003s 59.022s 16 272 27.428s 0.002s 27.461s 17 365 36.771s 0.002s 36.803s 18 259 25.952s 0.003s 26.032s 19 361 36.353s 0.002s 36.383s 20 299 30.145s 0.002s 30.177s 21 370 37.273s 0.003s 37.303s 22 402 40.465s 0.004s 40.497s 23 292 29.342s 0.002s 29.373s Jun 10 00 13,452 1,347.159s 0.004s 1,347.208s 01 243 24.542s 0.002s 24.573s 02 253 25.543s 0.002s 25.573s 03 8,795 880.742s 0.002s 880.874s 04 126 12.722s 0.001s 12.788s 05 4,630 464.016s 0.003s 464.075s 06 72 7.308s 0.001s 7.323s 07 1,780 178.408s 0.004s 178.453s 08 1,645 165.01s 0.004s 165.041s 09 824 82.887s 0.004s 82.987s 10 377 37.972s 0.003s 38.003s 11 1,169 117.218s 0.003s 117.25s 12 293 29.543s 0.002s 29.575s 13 220 22.135s 0.001s 22.151s 14 1,099 110.442s 0.012s 110.547s 15 463 46.476s 0.003s 46.506s 16 478 48.083s 0.003s 48.113s 17 326 32.864s 0.002s 32.894s 18 245 24.738s 0.002s 24.769s 19 472 47.472s 0.002s 47.504s 20 312 31.338s 0.002s 31.369s 21 424 42.66s 0.002s 42.74s 22 132 13.318s 0.001s 13.333s 23 798 80.135s 0.004s 80.181s Jun 11 00 807 80.964s 0.002s 81.07s 01 3,912 392.232s 0.004s 392.331s 02 126 12.726s 0.001s 12.74s 03 1,786 179.207s 0.026s 179.396s 04 315 31.756s 0.003s 31.788s 05 347 34.963s 0.002s 34.993s 06 658 66.021s 0.002s 66.052s 07 95 9.608s 0.002s 9.623s 08 1,612 161.826s 0.005s 161.927s 09 488 49.109s 0.003s 49.141s 10 387 38.869s 0.002s 38.899s 11 550 55.298s 0.004s 55.33s 12 361 36.374s 0.003s 36.405s 13 406 40.865s 0.002s 40.896s 14 595 59.704s 0.003s 59.737s 15 513 51.595s 0.003s 51.679s 16 392 39.472s 0.002s 39.503s 17 403 40.575s 0.002s 40.603s 18 308 31.045s 0.002s 31.075s 19 5,900 590.948s 0.003s 591.049s 20 421 42.364s 0.003s 42.396s 21 481 48.379s 0.002s 48.41s 22 434 43.579s 0.002s 43.663s 23 184 18.531s 0.001s 18.546s Jun 12 00 5,482 549.479s 0.005s 549.594s 01 261 26.333s 0.002s 26.364s 02 344 34.586s 0.002s 34.615s 03 343 34.557s 0.002s 34.589s 04 251 25.361s 0.002s 25.392s 05 437 43.879s 0.003s 43.962s 06 690 69.325s 0.002s 69.355s 07 294 29.64s 0.002s 29.669s 08 295 29.741s 0.002s 29.771s 09 281 28.346s 0.002s 28.376s 10 330 33.115s 0.002s 33.146s 11 452 45.501s 0.003s 45.532s 12 245 24.632s 0.001s 24.648s 13 1,131 113.592s 0.004s 113.692s 14 129 13.018s 0.001s 13.033s 15 931 93.379s 0.003s 93.409s 16 8,776 878.25s 0.006s 878.427s 17 411 41.273s 0.002s 41.305s 18 2,053 205.878s 0.003s 205.91s 19 276 27.86s 0.002s 27.944s 20 226 22.822s 0.002s 22.852s 21 2,496 250.171s 0.002s 250.24s 22 772 77.456s 0.002s 77.487s 23 876 88.055s 0.005s 88.101s Jun 13 00 856 85.961s 0.003s 86.082s 01 1,182 118.633s 0.003s 118.664s 02 219 22.033s 0.002s 22.064s 03 346 34.855s 0.002s 34.885s 04 219 22.051s 0.001s 22.12s 05 79,043 3,258.949s 0.005s 3,259.42s 06 29,811 1,619.535s 0.002s 1,619.887s 07 122,038 3,083.762s 0.004s 3,084.014s 08 7,282 729.435s 0.004s 729.481s 09 2,711 271.851s 0.004s 271.94s 10 281 28.256s 0.002s 28.272s 11 7,617 763.036s 0.004s 763.121s 12 511 51.388s 0.002s 51.464s 13 507 51.001s 0.003s 51.03s 14 418 41.981s 0.002s 42.013s 15 574 57.706s 0.003s 57.737s 16 217 21.848s 0.001s 21.863s 17 8,571 858.313s 0.004s 858.475s 18 1,345 135.03s 0.005s 135.079s 19 49,756 1,639.561s 0.003s 1,640.006s 20 1,116 112.008s 0.003s 112.04s 21 154 15.518s 0.001s 15.535s 22 72,750 1,826.07s 0.004s 1,826.558s 23 1,891 189.704s 0.005s 189.754s Jun 14 00 944 94.782s 0.003s 94.899s 01 99 10.01s 0.001s 10.025s 02 894 89.88s 0.004s 89.93s 03 4,627 463.451s 0.003s 463.519s 04 294 29.647s 0.002s 29.677s 05 496 49.893s 0.002s 49.978s 06 731 73.33s 0.002s 73.362s 07 47,307 1,636.769s 0.003s 1,637.181s 08 98 9.814s 0.001s 9.83s 09 10,004 1,000.846s 0.003s 1,001.033s 10 5,246 525.506s 0.004s 525.539s 11 5,782 579.257s 0.004s 579.389s 12 371 37.364s 0.003s 37.394s 13 264 26.546s 0.001s 26.562s 14 905 90.845s 0.004s 90.895s 15 281 28.34s 0.002s 28.418s 16 475 47.791s 0.002s 47.821s 17 429 43.173s 0.003s 43.205s 18 255 25.655s 0.002s 25.671s 19 3,670 367.9s 0.003s 368.042s 20 408 41.056s 0.003s 41.088s 21 277 27.934s 0.002s 27.964s 22 357 35.951s 0.002s 35.982s 23 460 46.17s 0.003s 46.201s Jun 15 00 879 88.267s 0.003s 88.38s 01 230 23.233s 0.002s 23.264s 02 290 29.247s 0.002s 29.277s 03 272 27.475s 0.002s 27.505s 04 324 32.448s 0.002s 32.476s 05 149 15.031s 0.001s 15.046s 06 2,454 246.105s 0.003s 246.189s 07 1,722 172.808s 0.004s 172.867s 08 294 29.551s 0.002s 29.582s 09 5,659 566.953s 0.003s 567.055s 10 301 30.341s 0.002s 30.372s 11 358 35.96s 0.002s 36.039s 12 5,363 537.307s 0.002s 537.392s 13 737 74.139s 0.005s 74.186s 14 494 49.564s 0.003s 49.595s 15 177 17.827s 0.002s 17.843s 16 89,675 1,656.358s 0.003s 1,656.535s 17 9,218 923.47s 0.004s 923.515s 18 276 27.855s 0.002s 27.887s 19 3,368 337.49s 0.001s 337.506s 20 1,009 101.387s 0.004s 101.477s 21 412 41.407s 0.002s 41.436s 22 295 29.745s 0.003s 29.776s 23 49,660 1,619.203s 0.002s 1,619.992s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jun 09 00 0 0 1 76 0.001s 0.002s 01 0 0 0 57 0.001s 0.002s 02 0 0 0 34 0.001s 0.002s 03 0 0 0 32 0.001s 0.002s 04 0 0 0 36 0.001s 0.002s 05 0 0 0 29 0.001s 0.002s 06 0 0 30 56 0.001s 0.002s 07 0 0 0 30 0.001s 0.002s 08 0 0 0 30 0.001s 0.002s 09 0 0 0 10 0.001s 0.001s 10 0 0 3 61 0.001s 0.003s 11 0 0 0 31 0.001s 0.002s 12 0 0 0 34 0.002s 0.002s 13 0 0 0 28 0.001s 0.002s 14 0 0 0 29 0.001s 0.002s 15 0 0 0 40 0.001s 0.002s 16 0 0 0 23 0.001s 0.002s 17 0 0 0 29 0.001s 0.002s 18 0 0 1 20 0.001s 0.002s 19 0 0 0 30 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 0 0 29 0.001s 0.002s 22 0 0 0 21 0.002s 0.002s 23 0 0 0 22 0.001s 0.002s Jun 10 00 0 0 1 75 0.001s 0.002s 01 0 0 0 38 0.001s 0.002s 02 0 0 0 37 0.001s 0.002s 03 0 0 5 41 0.001s 0.002s 04 0 0 1 19 0.001s 0.001s 05 0 0 1 71 0.001s 0.003s 06 0 0 0 16 0.001s 0.001s 07 0 0 1 52 0.001s 0.002s 08 0 0 0 164 0.001s 0.002s 09 0 0 1 69 0.001s 0.003s 10 0 0 0 155 0.001s 0.002s 11 0 0 0 42 0.001s 0.002s 12 0 0 0 28 0.001s 0.002s 13 0 0 0 12 0.001s 0.001s 14 0 0 1 183 0.007s 0.003s 15 0 0 0 80 0.001s 0.002s 16 0 0 0 114 0.001s 0.002s 17 0 0 0 70 0.001s 0.002s 18 0 0 0 22 0.001s 0.002s 19 0 0 0 29 0.001s 0.002s 20 0 0 0 22 0.001s 0.002s 21 0 0 1 28 0.001s 0.002s 22 0 0 0 9 0.001s 0.001s 23 0 0 0 49 0.001s 0.003s Jun 11 00 0 0 1 60 0.001s 0.001s 01 0 0 1 69 0.001s 0.003s 02 0 0 0 16 0.001s 0.001s 03 0 0 1 62 0.012s 0.004s 04 0 0 0 36 0.001s 0.002s 05 0 0 0 30 0.001s 0.002s 06 0 0 0 35 0.001s 0.002s 07 0 0 0 14 0.001s 0.001s 08 0 0 1 137 0.001s 0.003s 09 0 0 0 74 0.001s 0.002s 10 0 0 0 70 0.001s 0.002s 11 0 0 0 118 0.001s 0.002s 12 0 0 0 70 0.001s 0.002s 13 0 0 0 73 0.001s 0.002s 14 0 0 0 111 0.001s 0.002s 15 0 0 1 115 0.001s 0.002s 16 0 0 0 110 0.001s 0.002s 17 0 0 0 31 0.001s 0.002s 18 0 0 0 27 0.001s 0.002s 19 0 0 3 31 0.001s 0.002s 20 0 0 0 28 0.001s 0.002s 21 0 0 0 22 0.001s 0.002s 22 0 0 1 29 0.001s 0.002s 23 0 0 0 10 0.001s 0.001s Jun 12 00 0 1 2 103 0.001s 0.003s 01 0 0 0 35 0.001s 0.002s 02 0 0 0 38 0.001s 0.002s 03 0 0 0 39 0.001s 0.002s 04 0 0 0 28 0.001s 0.002s 05 0 0 1 37 0.001s 0.002s 06 0 0 0 35 0.001s 0.002s 07 0 0 0 30 0.001s 0.002s 08 0 0 0 29 0.001s 0.002s 09 0 0 0 32 0.001s 0.002s 10 0 0 0 22 0.001s 0.002s 11 0 0 0 92 0.001s 0.002s 12 0 0 0 20 0.001s 0.001s 13 0 0 1 52 0.001s 0.003s 14 0 0 0 16 0.001s 0.001s 15 0 0 0 110 0.001s 0.002s 16 0 0 8 244 0.001s 0.003s 17 0 0 0 95 0.001s 0.002s 18 0 0 0 35 0.001s 0.002s 19 0 0 1 20 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 1 29 0.001s 0.001s 22 0 0 0 73 0.001s 0.002s 23 0 0 0 136 0.001s 0.003s Jun 13 00 0 0 1 75 0.001s 0.002s 01 0 0 0 49 0.001s 0.002s 02 0 0 0 27 0.001s 0.002s 03 0 0 0 38 0.001s 0.002s 04 0 0 1 20 0.001s 0.001s 05 0 0 35 78 0.001s 0.003s 06 0 31 20 49 0.001s 0.001s 07 0 0 14 66 0.001s 0.002s 08 0 0 0 104 0.001s 0.003s 09 0 0 2 133 0.001s 0.002s 10 0 0 0 18 0.001s 0.001s 11 0 0 3 181 0.001s 0.003s 12 0 0 1 114 0.001s 0.002s 13 0 0 0 104 0.001s 0.002s 14 0 0 0 103 0.001s 0.002s 15 0 0 0 72 0.001s 0.002s 16 0 0 0 57 0.001s 0.001s 17 0 0 5 95 0.001s 0.002s 18 0 0 0 55 0.001s 0.003s 19 0 0 34 46 0.001s 0.002s 20 0 0 0 32 0.001s 0.002s 21 0 0 0 10 0.001s 0.001s 22 0 0 35 57 0.001s 0.002s 23 0 0 0 54 0.001s 0.003s Jun 14 00 0 0 1 72 0.001s 0.002s 01 0 0 0 18 0.001s 0.001s 02 0 0 0 66 0.001s 0.003s 03 0 0 3 49 0.001s 0.002s 04 0 0 0 38 0.001s 0.002s 05 0 0 1 45 0.001s 0.002s 06 0 0 0 37 0.001s 0.002s 07 0 0 31 43 0.001s 0.002s 08 0 0 0 10 0.001s 0.001s 09 0 0 10 82 0.001s 0.002s 10 0 0 0 123 0.001s 0.002s 11 0 0 4 66 0.001s 0.003s 12 0 0 0 77 0.001s 0.002s 13 0 0 0 59 0.001s 0.001s 14 0 0 0 104 0.001s 0.003s 15 0 0 1 67 0.001s 0.002s 16 0 0 0 69 0.001s 0.002s 17 0 0 0 115 0.001s 0.002s 18 0 0 0 24 0.001s 0.001s 19 0 0 2 42 0.001s 0.003s 20 0 0 0 28 0.001s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 0 0 30 0.001s 0.002s 23 0 0 0 23 0.001s 0.002s Jun 15 00 0 0 1 75 0.001s 0.002s 01 0 0 0 40 0.001s 0.002s 02 0 0 0 37 0.001s 0.002s 03 0 0 0 35 0.001s 0.002s 04 0 0 0 34 0.001s 0.002s 05 0 0 0 17 0.001s 0.001s 06 0 0 1 55 0.001s 0.002s 07 0 0 1 62 0.001s 0.003s 08 0 0 0 37 0.001s 0.002s 09 0 0 3 42 0.001s 0.002s 10 0 0 0 28 0.001s 0.002s 11 0 0 1 30 0.001s 0.002s 12 0 0 3 30 0.001s 0.001s 13 0 0 0 48 0.001s 0.003s 14 0 0 0 31 0.001s 0.002s 15 0 0 0 21 0.001s 0.001s 16 0 0 12 59 0.001s 0.002s 17 0 0 0 49 0.001s 0.003s 18 0 0 0 26 0.001s 0.002s 19 0 0 0 14 0.001s 0.001s 20 0 0 1 45 0.001s 0.003s 21 0 0 0 33 0.001s 0.002s 22 0 0 0 22 0.002s 0.002s 23 0 0 65 29 0.001s 0.001s Day Hour Count Avg time (sec) Jun 09 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 Jun 10 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 Jun 11 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 Jun 12 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 Jun 13 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 Jun 14 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 Jun 15 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 Jun 09 00 4,241.00 kB 31,764.50 kB 01 1,727.50 kB 26,003.00 kB 02 628.00 kB 21,225.50 kB 03 596.00 kB 17,324.50 kB 04 660.50 kB 14,142.00 kB 05 804.00 kB 11,576.50 kB 06 239,257.00 kB 453,720.00 kB 07 584.00 kB 367,651.50 kB 08 571.50 kB 297,909.50 kB 09 415.00 kB 254,062.00 kB 10 15,619.00 kB 210,706.00 kB 11 821.50 kB 161,753.00 kB 12 798.50 kB 131,171.00 kB 13 740.50 kB 106,393.00 kB 14 838.50 kB 86,312.00 kB 15 1,359.00 kB 70,127.00 kB 16 658.00 kB 56,996.50 kB 17 891.00 kB 46,309.00 kB 18 608.50 kB 37,647.00 kB 19 872.50 kB 30,640.50 kB 20 722.00 kB 24,972.00 kB 21 936.00 kB 20,385.00 kB 22 796.00 kB 16,676.50 kB 23 781.00 kB 13,660.50 kB Jun 10 00 5,500.50 kB 12,120.50 kB 01 618.50 kB 9,935.00 kB 02 658.50 kB 8,171.00 kB 03 45,807.50 kB 86,846.00 kB 04 686.00 kB 74,126.00 kB 05 8,902.00 kB 62,578.00 kB 06 296.00 kB 50,640.00 kB 07 5,662.00 kB 44,316.50 kB 08 4,602.50 kB 36,603.00 kB 09 1,548.33 kB 28,757.33 kB 10 1,038.00 kB 22,280.00 kB 11 3,430.50 kB 18,708.00 kB 12 747.00 kB 15,300.00 kB 13 760.00 kB 13,144.00 kB 14 2,174.33 kB 11,131.00 kB 15 1,267.50 kB 8,895.50 kB 16 1,248.00 kB 7,405.50 kB 17 836.00 kB 6,197.00 kB 18 641.50 kB 5,140.00 kB 19 955.50 kB 4,331.50 kB 20 801.50 kB 3,664.50 kB 21 992.00 kB 3,164.00 kB 22 736.00 kB 2,805.00 kB 23 1,399.00 kB 2,591.67 kB Jun 11 00 10,436.00 kB 10,436.00 kB 01 6,617.33 kB 16,515.67 kB 02 821.00 kB 13,484.00 kB 03 4,210.67 kB 12,037.33 kB 04 803.00 kB 9,416.50 kB 05 960.00 kB 7,773.50 kB 06 664.00 kB 6,454.00 kB 07 381.00 kB 5,583.00 kB 08 3,401.67 kB 5,306.33 kB 09 1,126.00 kB 4,369.00 kB 10 991.50 kB 3,757.50 kB 11 1,551.50 kB 3,330.00 kB 12 924.00 kB 2,866.50 kB 13 1,069.50 kB 2,518.50 kB 14 1,430.00 kB 2,335.00 kB 15 1,365.50 kB 2,124.00 kB 16 965.00 kB 1,928.50 kB 17 929.00 kB 1,730.00 kB 18 623.50 kB 1,549.00 kB 19 27,072.00 kB 50,836.50 kB 20 981.50 kB 41,362.00 kB 21 908.50 kB 33,657.50 kB 22 1,137.00 kB 27,491.50 kB 23 883.00 kB 23,568.00 kB Jun 12 00 19,074.67 kB 41,557.33 kB 01 574.50 kB 32,319.50 kB 02 798.00 kB 26,323.50 kB 03 869.00 kB 21,488.50 kB 04 498.00 kB 17,499.00 kB 05 1,091.00 kB 14,356.00 kB 06 673.50 kB 11,776.00 kB 07 609.50 kB 9,680.00 kB 08 606.50 kB 7,931.50 kB 09 685.50 kB 6,553.50 kB 10 599.00 kB 5,430.00 kB 11 1,327.00 kB 4,613.50 kB 12 1,089.00 kB 4,116.00 kB 13 1,972.33 kB 3,975.67 kB 14 566.00 kB 3,346.00 kB 15 2,486.00 kB 3,380.50 kB 16 44,893.33 kB 83,901.33 kB 17 1,100.00 kB 100,953.00 kB 18 1,983.00 kB 82,120.50 kB 19 647.50 kB 66,663.50 kB 20 494.50 kB 54,095.00 kB 21 17,656.00 kB 47,917.00 kB 22 2,906.50 kB 41,478.50 kB 23 1,373.67 kB 32,257.33 kB Jun 13 00 5,020.00 kB 25,766.50 kB 01 3,518.50 kB 21,535.00 kB 02 502.50 kB 17,557.50 kB 03 848.50 kB 14,356.00 kB 04 1,029.00 kB 12,383.00 kB 05 193,116.33 kB 521,288.67 kB 06 308,662.00 kB 451,669.00 kB 07 345,907.00 kB 520,030.50 kB 08 23,470.00 kB 413,331.67 kB 09 11,058.50 kB 319,008.00 kB 10 996.00 kB 272,166.00 kB 11 20,562.33 kB 226,755.33 kB 12 1,199.50 kB 174,118.50 kB 13 1,147.00 kB 141,237.00 kB 14 1,052.50 kB 114,618.50 kB 15 1,268.00 kB 93,061.00 kB 16 1,098.00 kB 79,528.00 kB 17 40,394.50 kB 73,080.00 kB 18 2,576.00 kB 59,366.33 kB 19 273,910.00 kB 519,236.50 kB 20 3,320.50 kB 421,236.50 kB 21 790.00 kB 359,276.00 kB 22 280,878.50 kB 437,009.50 kB 23 3,909.67 kB 447,539.33 kB Jun 14 00 5,885.50 kB 344,433.00 kB 01 491.00 kB 293,746.00 kB 02 1,740.33 kB 239,236.00 kB 03 23,232.00 kB 187,839.00 kB 04 746.50 kB 152,299.50 kB 05 1,526.00 kB 123,635.00 kB 06 696.50 kB 100,282.50 kB 07 259,318.00 kB 491,916.00 kB 08 417.00 kB 419,506.00 kB 09 76,305.50 kB 373,129.00 kB 10 6,744.50 kB 303,351.00 kB 11 19,969.67 kB 239,196.67 kB 12 880.00 kB 183,590.50 kB 13 1,444.00 kB 156,704.00 kB 14 979.00 kB 127,618.33 kB 15 689.50 kB 97,996.00 kB 16 1,027.00 kB 79,568.00 kB 17 1,142.50 kB 64,640.50 kB 18 1,089.00 kB 55,282.00 kB 19 8,913.67 kB 47,298.33 kB 20 989.50 kB 36,479.00 kB 21 637.00 kB 29,672.50 kB 22 860.00 kB 24,202.00 kB 23 891.00 kB 19,760.50 kB Jun 15 00 5,324.00 kB 17,034.00 kB 01 564.50 kB 13,900.00 kB 02 686.00 kB 11,386.00 kB 03 631.50 kB 9,346.00 kB 04 642.50 kB 7,690.50 kB 05 703.00 kB 6,660.00 kB 06 8,309.50 kB 14,920.50 kB 07 4,063.00 kB 12,581.33 kB 08 727.00 kB 9,796.00 kB 09 29,211.00 kB 55,007.50 kB 10 760.50 kB 44,702.50 kB 11 732.00 kB 36,345.00 kB 12 50,109.00 kB 50,109.00 kB 13 1,241.67 kB 41,013.00 kB 14 987.50 kB 31,665.00 kB 15 888.00 kB 27,120.00 kB 16 53,778.50 kB 65,069.50 kB 17 31,144.67 kB 94,154.67 kB 18 668.50 kB 72,364.00 kB 19 637.00 kB 61,797.00 kB 20 941.67 kB 50,432.67 kB 21 950.50 kB 38,861.50 kB 22 710.00 kB 31,626.50 kB 23 546,889.00 kB 546,889.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jun 09 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 Jun 10 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 Jun 11 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 Jun 12 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 Jun 13 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 Jun 14 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 Jun 15 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 18.59 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-06-15 16:13:00 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 18.59 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-06-15 16:13:00 Date
Analyzes per table
Key values
- pubc.log_query (189) Main table analyzed (database ctdprd51)
- 206 analyzes Total
Vacuums per table
Key values
- pubc.log_query (40) Main table vacuumed on database ctdprd51
- 54 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 40 33 20,015 0 3,696 0 141 5,246 876 6,410,699 ctdprd51.pub1.term_set_enrichment 3 0 9,915 0 4,456 0 0 4,800 6 320,217 ctdprd51.pg_toast.pg_toast_486223 3 0 100 0 0 0 0 3 0 564 ctdprd51.pg_toast.pg_toast_2619 2 2 8,470 0 2,324 0 19,927 6,719 2,179 1,208,383 ctdprd51.pub1.term_set_enrichment_agent 2 0 324,226 0 138,767 0 0 161,917 8 9,614,846 ctdprd51.pubc.log_query_bots 1 0 27,479 0 12,652 0 20,706 12,978 2 780,125 ctdprd51.pub1.term_comp 1 0 195 0 51 0 0 47 2 15,112 ctdprd51.pub1.term_comp_agent 1 0 171 0 61 0 0 58 1 11,841 ctdprd51.pg_catalog.pg_statistic 1 1 670 0 152 0 37 445 146 674,832 Total 54 36 391,241 817 162,159 0 40,811 192,213 3,220 19,036,619 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (8249) Main table with removed tuples on database ctdprd51
- 8880 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 2 2 8,249 40,321 0 0 25,184 ctdprd51.pg_catalog.pg_statistic 1 1 381 2,569 0 0 290 ctdprd51.pubc.log_query 40 33 250 193,432 0 0 7,517 ctdprd51.pub1.term_set_enrichment 3 0 0 1,472,737 0 0 24,408 ctdprd51.pubc.log_query_bots 1 0 0 1,728,339 0 0 60,518 ctdprd51.pub1.term_comp 1 0 0 10,898 0 0 108 ctdprd51.pg_toast.pg_toast_486223 3 0 0 0 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 70,420,486 0 0 800,234 ctdprd51.pub1.term_comp_agent 1 0 0 26,237 0 0 230 Total 54 36 8,880 73,895,019 0 0 918,489 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pub1.term_set_enrichment 3 0 0 0 ctdprd51.pubc.log_query_bots 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 2 2 8249 0 ctdprd51.pub1.term_comp 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 3 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pg_catalog.pg_statistic 1 1 381 0 ctdprd51.pubc.log_query 40 33 250 0 Total 54 36 8,880 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jun 09 00 0 3 01 0 3 02 0 3 03 0 2 04 0 2 05 0 3 06 0 2 07 0 1 08 0 1 09 0 1 10 0 0 11 0 1 12 0 1 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 0 Jun 10 00 0 3 01 0 3 02 0 2 03 0 2 04 0 2 05 0 3 06 0 1 07 0 1 08 0 1 09 0 1 10 0 0 11 0 1 12 0 1 13 0 1 14 0 0 15 0 1 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 0 1 22 0 1 23 0 0 Jun 11 00 0 2 01 0 5 02 0 6 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 0 11 0 1 12 0 1 13 0 1 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 Jun 12 00 0 3 01 0 3 02 0 3 03 0 3 04 0 1 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 0 11 0 1 12 0 1 13 0 1 14 0 0 15 0 1 16 0 1 17 0 0 18 0 1 19 0 0 20 0 0 21 0 1 22 0 0 23 0 1 Jun 13 00 0 3 01 0 3 02 0 2 03 0 3 04 0 2 05 0 4 06 0 2 07 0 2 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 1 14 0 0 15 0 1 16 0 0 17 0 0 18 0 1 19 0 2 20 0 0 21 0 0 22 0 2 23 0 0 Jun 14 00 0 2 01 0 2 02 0 3 03 0 3 04 0 2 05 0 3 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 1 14 0 0 15 0 0 16 0 1 17 0 0 18 0 1 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 Jun 15 00 0 2 01 0 3 02 0 2 03 0 2 04 0 2 05 0 3 06 0 5 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 1 14 0 1 15 0 1 16 0 1 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 2 - 18.59 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 5,250 Total read queries
- 351 Total write queries
Queries by database
Key values
- unknown Main database
- 3,471 Requests
- 6h11m46s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 7,899 Requests
User Request type Count Duration editeu Total 24 2m48s select 24 2m48s postgres Total 108 41m39s copy to 108 41m39s pubeu Total 4,787 6h14m26s cte 38 1m44s select 4,749 6h12m41s qaeu Total 77 3m30s cte 17 56s262ms select 60 2m34s unknown Total 7,899 15h1m18s copy to 697 6h26m18s cte 43 57s791ms others 9 44s77ms select 7,150 8h33m18s Duration by user
Key values
- 15h1m18s (unknown) Main time consuming user
User Request type Count Duration editeu Total 24 2m48s select 24 2m48s postgres Total 108 41m39s copy to 108 41m39s pubeu Total 4,787 6h14m26s cte 38 1m44s select 4,749 6h12m41s qaeu Total 77 3m30s cte 17 56s262ms select 60 2m34s unknown Total 7,899 15h1m18s copy to 697 6h26m18s cte 43 57s791ms others 9 44s77ms select 7,150 8h33m18s Queries by host
Key values
- unknown Main host
- 12,895 Requests
- 22h3m43s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 5,559 Requests
- 8h12m57s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-06-11 16:45:22 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 5,431 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 23m16s 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-06-15 19:00:06 ]
2 23m4s 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-06-15 19:40:32 ]
3 16m11s /* * 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-06-15 00:16:13 ]
4 16m10s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-06-09 00:16:12 ]
5 16m9s /* * 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-06-10 00:16:10 ]
6 16m8s /* * 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-06-12 00:16:10 ]
7 16m8s /* * 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-06-13 00:16:10 ]
8 16m7s /* * 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-06-14 00:16:08 ]
9 16m7s /* * 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-06-11 00:16:09 ]
10 9m53s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'CAT') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'SPINOSYN A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-06-15 05:17:04 - Bind query: yes ]
11 9m25s 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 = '1239755') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;[ Date: 2024-06-14 17:55:00 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 6m42s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-06-15 19:51:54 ]
13 6m42s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-06-15 19:11:36 ]
14 4m12s 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 = '1220505') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-06-13 00:46:59 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
15 3m57s 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 = '1241370') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-06-14 09:41:34 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 3m43s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-06-12 07:07:17 - Bind query: yes ]
17 3m39s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-06-14 03:59:50 - Bind query: yes ]
18 3m37s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-06-13 03:27:37 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
19 3m37s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-06-11 08:33:35 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 3m37s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-06-10 06:56:41 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h53m3s 7 16m7s 16m11s 16m9s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 09 00 1 16m10s 16m10s Jun 10 00 1 16m9s 16m9s Jun 11 00 1 16m7s 16m7s Jun 12 00 1 16m8s 16m8s Jun 13 00 1 16m8s 16m8s Jun 14 00 1 16m7s 16m7s Jun 15 00 1 16m11s 16m11s -
/* * 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-06-15 00:16:13 Duration: 16m11s
-
/* * 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-06-09 00:16:12 Duration: 16m10s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-06-10 00:16:10 Duration: 16m9s
2 1h6m29s 36 1s171ms 4m12s 1m50s 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 Jun 09 02 1 1s593ms 1s593ms 04 1 1s766ms 1s766ms 06 1 3m6s 3m6s 08 1 3m36s 3m36s Jun 10 02 1 3s66ms 3s66ms 05 1 1s407ms 1s407ms 06 1 3m37s 3m37s 08 1 3m37s 3m37s 13 1 1s606ms 1s606ms 22 1 1m18s 1m18s Jun 11 03 1 1s602ms 1s602ms 06 2 1m38s 49s134ms 07 1 3m6s 3m6s 08 1 3m37s 3m37s Jun 12 04 1 3m36s 3m36s 05 1 1s416ms 1s416ms 06 1 1s504ms 1s504ms 07 1 3m43s 3m43s 13 1 3m37s 3m37s 22 1 1m17s 1m17s Jun 13 00 1 4m12s 4m12s 03 1 3m37s 3m37s 04 1 1s313ms 1s313ms 06 1 1s526ms 1s526ms 07 1 3m7s 3m7s 14 1 3m37s 3m37s Jun 14 03 1 3m39s 3m39s 04 1 1s591ms 1s591ms 09 1 3m57s 3m57s 12 1 1s486ms 1s486ms 21 1 1m18s 1m18s Jun 15 07 1 3m7s 3m7s 08 1 1s529ms 1s529ms 09 1 3m37s 3m37s 18 1 1s171ms 1s171ms [ User: pubeu - Total duration: 31m36s - Times executed: 15 ]
-
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 = '1220505') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-13 00:46:59 Duration: 4m12s 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 = '1241370') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-14 09:41:34 Duration: 3m57s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-12 07:07:17 Duration: 3m43s Bind query: yes
3 48m15s 2,491 1s41ms 1s360ms 1s162ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 09 00 5 5s846ms 1s169ms 01 10 11s818ms 1s181ms 02 16 18s977ms 1s186ms 03 15 17s541ms 1s169ms 04 11 12s885ms 1s171ms 05 16 19s36ms 1s189ms 06 28 33s256ms 1s187ms 07 11 12s995ms 1s181ms 08 9 10s453ms 1s161ms 09 20 23s639ms 1s181ms 10 21 24s263ms 1s155ms 11 22 25s466ms 1s157ms 12 18 20s606ms 1s144ms 13 19 21s887ms 1s151ms 14 18 20s658ms 1s147ms 15 24 27s697ms 1s154ms 16 18 20s534ms 1s140ms 17 16 18s434ms 1s152ms 18 17 19s614ms 1s153ms 19 18 20s958ms 1s164ms 20 14 16s141ms 1s152ms 21 16 18s482ms 1s155ms 22 17 20s208ms 1s188ms 23 19 22s448ms 1s181ms Jun 10 00 22 25s832ms 1s174ms 01 10 11s832ms 1s183ms 02 13 15s221ms 1s170ms 03 8 9s388ms 1s173ms 04 23 27s250ms 1s184ms 05 12 14s521ms 1s210ms 06 19 22s485ms 1s183ms 07 9 10s608ms 1s178ms 08 14 16s395ms 1s171ms 09 12 14s97ms 1s174ms 10 11 12s688ms 1s153ms 11 18 20s913ms 1s161ms 12 14 16s149ms 1s153ms 13 7 8s115ms 1s159ms 14 16 18s508ms 1s156ms 15 15 17s275ms 1s151ms 16 14 16s187ms 1s156ms 17 7 7s977ms 1s139ms 18 11 12s822ms 1s165ms 19 13 15s57ms 1s158ms 20 21 24s125ms 1s148ms 21 26 29s884ms 1s149ms 22 28 33s164ms 1s184ms 23 18 21s167ms 1s175ms Jun 11 00 6 6s911ms 1s151ms 01 15 17s490ms 1s166ms 02 20 23s737ms 1s186ms 03 14 16s432ms 1s173ms 04 21 24s637ms 1s173ms 05 13 15s674ms 1s205ms 06 16 18s753ms 1s172ms 07 11 12s906ms 1s173ms 08 16 18s472ms 1s154ms 09 31 35s852ms 1s156ms 10 18 20s781ms 1s154ms 11 17 19s544ms 1s149ms 12 24 27s706ms 1s154ms 13 23 26s599ms 1s156ms 14 8 9s391ms 1s173ms 15 14 16s283ms 1s163ms 16 7 8s2ms 1s143ms 17 21 24s53ms 1s145ms 18 10 11s568ms 1s156ms 19 11 12s855ms 1s168ms 20 21 24s482ms 1s165ms 21 22 25s385ms 1s153ms 22 13 15s425ms 1s186ms 23 20 23s625ms 1s181ms Jun 12 00 18 20s936ms 1s163ms 01 15 17s737ms 1s182ms 02 16 18s856ms 1s178ms 03 13 15s323ms 1s178ms 04 6 7s91ms 1s181ms 05 8 9s640ms 1s205ms 06 11 12s604ms 1s145ms 07 12 13s850ms 1s154ms 08 6 6s895ms 1s149ms 09 15 17s156ms 1s143ms 10 8 9s351ms 1s168ms 11 17 19s517ms 1s148ms 12 15 17s139ms 1s142ms 13 18 20s790ms 1s155ms 14 11 12s611ms 1s146ms 15 21 24s196ms 1s152ms 16 14 16s203ms 1s157ms 17 13 14s992ms 1s153ms 18 17 19s786ms 1s163ms 19 19 22s252ms 1s171ms 20 6 6s925ms 1s154ms 21 12 13s763ms 1s146ms 22 7 8s296ms 1s185ms 23 13 15s404ms 1s184ms Jun 13 00 13 14s925ms 1s148ms 01 26 30s459ms 1s171ms 02 7 8s212ms 1s173ms 03 19 22s339ms 1s175ms 04 28 32s727ms 1s168ms 05 24 27s820ms 1s159ms 06 19 21s846ms 1s149ms 07 16 18s431ms 1s151ms 08 21 24s90ms 1s147ms 09 10 11s634ms 1s163ms 10 19 22s187ms 1s167ms 11 16 18s637ms 1s164ms 12 12 14s 1s166ms 13 17 19s821ms 1s165ms 14 16 18s721ms 1s170ms 15 14 16s210ms 1s157ms 16 15 17s487ms 1s165ms 17 7 8s90ms 1s155ms 18 22 25s429ms 1s155ms 19 25 28s902ms 1s156ms 20 17 19s659ms 1s156ms 21 16 18s436ms 1s152ms 22 13 14s914ms 1s147ms 23 11 12s564ms 1s142ms Jun 14 00 7 8s25ms 1s146ms 01 7 8s142ms 1s163ms 02 19 22s111ms 1s163ms 03 15 17s464ms 1s164ms 04 12 13s823ms 1s151ms 05 13 15s324ms 1s178ms 06 6 6s954ms 1s159ms 07 11 12s751ms 1s159ms 08 20 23s188ms 1s159ms 09 19 22s19ms 1s158ms 10 16 18s579ms 1s161ms 11 21 24s493ms 1s166ms 12 17 19s756ms 1s162ms 13 5 5s879ms 1s175ms 14 12 14s105ms 1s175ms 15 9 10s497ms 1s166ms 16 17 19s753ms 1s161ms 17 14 16s274ms 1s162ms 18 18 20s890ms 1s160ms 19 15 17s265ms 1s151ms 20 23 26s630ms 1s157ms 21 11 12s784ms 1s162ms 22 10 11s728ms 1s172ms 23 18 20s971ms 1s165ms Jun 15 00 12 13s683ms 1s140ms 01 7 8s48ms 1s149ms 02 21 24s556ms 1s169ms 03 17 19s898ms 1s170ms 04 10 11s587ms 1s158ms 05 18 20s897ms 1s160ms 06 11 12s707ms 1s155ms 07 6 6s961ms 1s160ms 08 10 11s603ms 1s160ms 09 3 3s508ms 1s169ms 10 10 11s645ms 1s164ms 11 13 15s51ms 1s157ms 12 14 16s329ms 1s166ms 13 15 17s420ms 1s161ms 14 13 15s 1s153ms 15 5 5s685ms 1s137ms 16 9 10s363ms 1s151ms 17 14 16s227ms 1s159ms 18 13 15s14ms 1s154ms 19 19 21s27ms 1s106ms 20 10 11s133ms 1s113ms 21 12 13s199ms 1s99ms 22 22 25s646ms 1s165ms 23 7 8s169ms 1s167ms [ User: pubeu - Total duration: 18m58s - Times executed: 979 ]
[ User: qaeu - Total duration: 1s266ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1978060' or receptorTerm.id = '1978060' 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-06-12 19:25:06 Duration: 1s360ms 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 = '2026205' or receptorTerm.id = '2026205' 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-06-10 04:34:51 Duration: 1s358ms 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 = '1431600' or receptorTerm.id = '1431600' 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-06-10 05:38:37 Duration: 1s291ms Bind query: yes
4 23m16s 1 23m16s 23m16s 23m16s 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 #4
Day Hour Count Duration Avg duration Jun 15 19 1 23m16s 23m16s -
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-06-15 19:00:06 Duration: 23m16s
5 23m4s 1 23m4s 23m4s 23m4s 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 #5
Day Hour Count Duration Avg duration Jun 15 19 1 23m4s 23m4s -
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-06-15 19:40:32 Duration: 23m4s
6 18m57s 35 1s745ms 2m55s 32s492ms select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 09 01 1 52s793ms 52s793ms 05 1 17s475ms 17s475ms 11 1 43s497ms 43s497ms 12 1 37s368ms 37s368ms 16 1 2s169ms 2s169ms Jun 10 00 1 2s191ms 2s191ms 01 2 55s781ms 27s890ms 04 1 17s566ms 17s566ms 15 1 53s5ms 53s5ms 17 1 17s277ms 17s277ms 23 1 2s357ms 2s357ms Jun 11 11 1 2s154ms 2s154ms 12 7 9m59s 1m25s 20 1 2s222ms 2s222ms 22 1 2s351ms 2s351ms Jun 12 11 3 21s786ms 7s262ms 14 1 28s454ms 28s454ms Jun 13 03 1 1s792ms 1s792ms 05 1 30s330ms 30s330ms 06 1 37s456ms 37s456ms 21 1 53s863ms 53s863ms Jun 14 03 1 1s945ms 1s945ms 04 1 36s861ms 36s861ms 08 1 2s307ms 2s307ms 21 1 12s815ms 12s815ms Jun 15 02 1 2s202ms 2s202ms [ User: pubeu - Total duration: 11m18s - Times executed: 15 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2080955')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-11 12:28:32 Duration: 2m55s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2080955')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-11 12:28:38 Duration: 2m49s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2080955')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-11 12:27:17 Duration: 1m18s Bind query: yes
7 15m13s 725 1s138ms 1s430ms 1s260ms 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 #7
Day Hour Count Duration Avg duration Jun 09 00 6 7s625ms 1s270ms 01 5 6s334ms 1s266ms 02 8 10s210ms 1s276ms 03 6 7s696ms 1s282ms 04 1 1s292ms 1s292ms 05 4 5s409ms 1s352ms 06 4 5s168ms 1s292ms 07 2 2s611ms 1s305ms 08 2 2s510ms 1s255ms 09 6 7s736ms 1s289ms 10 3 3s834ms 1s278ms 11 4 4s973ms 1s243ms 12 3 3s711ms 1s237ms 13 4 5s19ms 1s254ms 14 3 3s665ms 1s221ms 15 9 11s314ms 1s257ms 16 5 6s145ms 1s229ms 17 3 3s740ms 1s246ms 18 4 4s898ms 1s224ms 19 3 3s844ms 1s281ms 20 4 4s900ms 1s225ms 21 8 10s44ms 1s255ms 22 4 5s136ms 1s284ms 23 2 2s515ms 1s257ms Jun 10 00 5 6s335ms 1s267ms 01 1 1s225ms 1s225ms 02 4 5s106ms 1s276ms 03 6 7s491ms 1s248ms 04 2 2s586ms 1s293ms 05 3 4s38ms 1s346ms 06 6 7s674ms 1s279ms 07 1 1s304ms 1s304ms 08 3 3s881ms 1s293ms 09 2 2s625ms 1s312ms 10 5 6s215ms 1s243ms 11 6 7s646ms 1s274ms 12 4 5s50ms 1s262ms 13 2 2s420ms 1s210ms 14 5 6s326ms 1s265ms 15 3 3s650ms 1s216ms 16 2 2s528ms 1s264ms 17 3 3s701ms 1s233ms 18 4 5s90ms 1s272ms 19 5 6s284ms 1s256ms 20 3 3s735ms 1s245ms 21 7 8s663ms 1s237ms 22 10 12s698ms 1s269ms 23 3 3s735ms 1s245ms Jun 11 00 1 1s224ms 1s224ms 01 4 5s123ms 1s280ms 02 8 10s333ms 1s291ms 03 5 6s418ms 1s283ms 04 4 5s54ms 1s263ms 05 4 5s367ms 1s341ms 06 7 8s796ms 1s256ms 07 3 3s737ms 1s245ms 08 2 2s544ms 1s272ms 09 10 12s587ms 1s258ms 11 3 3s809ms 1s269ms 12 5 6s260ms 1s252ms 13 3 3s759ms 1s253ms 14 2 2s433ms 1s216ms 15 1 1s254ms 1s254ms 16 4 4s953ms 1s238ms 17 10 12s409ms 1s240ms 18 5 6s343ms 1s268ms 19 4 4s958ms 1s239ms 20 4 5s61ms 1s265ms 21 7 8s784ms 1s254ms 22 5 6s453ms 1s290ms 23 6 7s651ms 1s275ms Jun 12 00 6 7s655ms 1s275ms 01 3 3s797ms 1s265ms 02 8 10s121ms 1s265ms 03 4 4s986ms 1s246ms 04 2 2s514ms 1s257ms 05 3 4s78ms 1s359ms 06 12 14s973ms 1s247ms 07 6 7s493ms 1s248ms 08 3 3s767ms 1s255ms 09 7 8s799ms 1s257ms 10 2 2s504ms 1s252ms 11 5 6s393ms 1s278ms 12 6 7s639ms 1s273ms 13 5 6s164ms 1s232ms 14 6 7s494ms 1s249ms 15 9 11s290ms 1s254ms 16 7 8s775ms 1s253ms 17 3 3s722ms 1s240ms 18 7 8s717ms 1s245ms 19 2 2s444ms 1s222ms 20 1 1s229ms 1s229ms 21 7 8s646ms 1s235ms 22 3 3s839ms 1s279ms 23 2 2s455ms 1s227ms Jun 13 00 7 8s751ms 1s250ms 01 2 2s515ms 1s257ms 02 4 5s13ms 1s253ms 03 4 5s78ms 1s269ms 04 11 14s39ms 1s276ms 05 4 5s139ms 1s284ms 06 2 2s479ms 1s239ms 07 4 4s991ms 1s247ms 08 5 6s343ms 1s268ms 09 4 4s894ms 1s223ms 10 7 9s34ms 1s290ms 11 6 7s498ms 1s249ms 13 8 9s966ms 1s245ms 14 6 7s638ms 1s273ms 15 7 8s794ms 1s256ms 16 4 4s919ms 1s229ms 17 6 7s565ms 1s260ms 18 9 11s288ms 1s254ms 19 12 14s913ms 1s242ms 20 4 4s984ms 1s246ms 21 5 6s147ms 1s229ms 22 2 2s591ms 1s295ms 23 4 4s921ms 1s230ms Jun 14 00 3 3s633ms 1s211ms 01 2 2s564ms 1s282ms 02 2 2s507ms 1s253ms 03 5 6s294ms 1s258ms 04 3 3s794ms 1s264ms 05 4 5s322ms 1s330ms 06 1 1s203ms 1s203ms 07 3 3s856ms 1s285ms 08 8 10s72ms 1s259ms 09 4 4s971ms 1s242ms 10 3 3s793ms 1s264ms 11 5 6s294ms 1s258ms 12 2 2s621ms 1s310ms 13 1 1s279ms 1s279ms 15 3 3s875ms 1s291ms 16 7 9s2ms 1s286ms 17 1 1s228ms 1s228ms 18 4 5s175ms 1s293ms 19 6 7s653ms 1s275ms 20 10 12s535ms 1s253ms 21 5 6s278ms 1s255ms 22 4 5s75ms 1s268ms 23 4 4s955ms 1s238ms Jun 15 00 3 3s809ms 1s269ms 01 4 5s32ms 1s258ms 02 1 1s271ms 1s271ms 03 3 3s739ms 1s246ms 04 6 7s520ms 1s253ms 05 4 5s150ms 1s287ms 06 7 8s938ms 1s276ms 07 1 1s282ms 1s282ms 08 1 1s269ms 1s269ms 09 1 1s271ms 1s271ms 10 3 3s825ms 1s275ms 11 5 6s274ms 1s254ms 12 2 2s527ms 1s263ms 13 5 6s186ms 1s237ms 14 2 2s521ms 1s260ms 15 2 2s463ms 1s231ms 16 2 2s543ms 1s271ms 17 10 12s516ms 1s251ms 18 7 8s679ms 1s239ms 19 6 7s323ms 1s220ms 20 5 5s960ms 1s192ms 22 3 3s845ms 1s281ms 23 1 1s269ms 1s269ms [ User: pubeu - Total duration: 5m55s - Times executed: 283 ]
-
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 = '1210114') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210114') 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-06-09 05:38:34 Duration: 1s430ms 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 = '1210114') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210114') 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-06-11 05:38:35 Duration: 1s421ms 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 = '1210114') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210114') 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-06-12 05:43:38 Duration: 1s420ms Bind query: yes
8 14m58s 220 3s770ms 15s828ms 4s84ms 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 #8
Day Hour Count Duration Avg duration Jun 09 04 2 7s987ms 3s993ms 06 5 19s830ms 3s966ms 08 1 3s841ms 3s841ms 10 7 27s542ms 3s934ms 11 1 3s785ms 3s785ms 14 2 8s66ms 4s33ms 16 2 7s995ms 3s997ms Jun 10 01 1 3s840ms 3s840ms 04 1 3s847ms 3s847ms 05 2 7s698ms 3s849ms 06 1 3s980ms 3s980ms 07 4 15s683ms 3s920ms 09 2 7s746ms 3s873ms 10 1 3s798ms 3s798ms 11 4 15s988ms 3s997ms 12 6 23s729ms 3s954ms 13 2 7s813ms 3s906ms 14 2 9s675ms 4s837ms 15 2 8s121ms 4s60ms 16 3 15s51ms 5s17ms 20 1 3s791ms 3s791ms 22 1 3s808ms 3s808ms Jun 11 02 3 11s785ms 3s928ms 03 2 8s75ms 4s37ms 04 2 8s107ms 4s53ms 06 1 3s854ms 3s854ms 07 2 8s943ms 4s471ms 08 2 7s851ms 3s925ms 10 4 15s531ms 3s882ms 11 3 11s761ms 3s920ms 14 2 7s851ms 3s925ms 15 1 4s146ms 4s146ms 16 1 3s980ms 3s980ms 17 3 12s167ms 4s55ms 18 2 7s899ms 3s949ms 19 1 4s97ms 4s97ms 21 1 4s101ms 4s101ms 22 1 3s794ms 3s794ms 23 1 3s819ms 3s819ms Jun 12 02 3 11s733ms 3s911ms 04 1 3s863ms 3s863ms 07 14 54s712ms 3s908ms 08 4 15s822ms 3s955ms 09 3 11s525ms 3s841ms 10 4 15s842ms 3s960ms 11 2 20s58ms 10s29ms 13 1 4s49ms 4s49ms 14 3 11s725ms 3s908ms 15 1 3s823ms 3s823ms 18 1 3s923ms 3s923ms 20 1 3s884ms 3s884ms 21 1 3s843ms 3s843ms Jun 13 01 3 11s797ms 3s932ms 02 5 19s508ms 3s901ms 03 1 3s840ms 3s840ms 04 2 7s854ms 3s927ms 05 3 11s848ms 3s949ms 06 3 11s839ms 3s946ms 07 3 12s51ms 4s17ms 08 2 7s849ms 3s924ms 09 3 12s26ms 4s8ms 10 4 15s547ms 3s886ms 11 1 3s961ms 3s961ms 12 1 3s822ms 3s822ms 15 3 11s676ms 3s892ms 16 1 3s855ms 3s855ms 17 4 15s795ms 3s948ms 19 2 9s415ms 4s707ms 20 3 12s55ms 4s18ms Jun 14 00 2 7s751ms 3s875ms 02 2 8s70ms 4s35ms 03 1 3s865ms 3s865ms 04 4 27s892ms 6s973ms 06 1 3s970ms 3s970ms 07 1 3s957ms 3s957ms 08 3 11s818ms 3s939ms 09 3 11s764ms 3s921ms 10 3 11s736ms 3s912ms 12 5 19s520ms 3s904ms 13 2 7s865ms 3s932ms 17 1 3s867ms 3s867ms 18 2 7s919ms 3s959ms Jun 15 00 5 19s499ms 3s899ms 04 1 3s955ms 3s955ms 05 1 3s884ms 3s884ms 06 1 4s297ms 4s297ms 07 1 4s277ms 4s277ms 08 3 11s971ms 3s990ms 10 1 4s26ms 4s26ms 12 2 7s724ms 3s862ms 13 2 7s829ms 3s914ms 15 2 7s764ms 3s882ms 18 1 4s365ms 4s365ms 19 1 4s30ms 4s30ms 21 1 4s25ms 4s25ms [ User: pubeu - Total duration: 6m52s - Times executed: 104 ]
-
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 = '1387245') 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 = '1387245') 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-06-12 11:46:03 Duration: 15s828ms 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 = '1387245') 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 = '1387245') 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-06-14 04:33:13 Duration: 15s780ms 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 = '1407519') 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 = '1407519') 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-06-10 14:28:48 Duration: 5s635ms Bind query: yes
9 13m42s 25 32s459ms 33s160ms 32s881ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 09 06 1 32s833ms 32s833ms 10 1 32s796ms 32s796ms 14 1 32s716ms 32s716ms 18 1 32s699ms 32s699ms Jun 10 06 1 32s805ms 32s805ms 10 1 33s53ms 33s53ms 14 1 32s827ms 32s827ms 18 1 32s925ms 32s925ms Jun 11 06 1 32s840ms 32s840ms 10 1 33s90ms 33s90ms 14 1 33s7ms 33s7ms 18 1 32s954ms 32s954ms Jun 12 06 1 32s835ms 32s835ms 10 1 32s931ms 32s931ms 14 1 32s899ms 32s899ms 18 1 32s866ms 32s866ms Jun 13 06 1 32s892ms 32s892ms 10 1 32s868ms 32s868ms 14 1 32s771ms 32s771ms 18 1 32s914ms 32s914ms Jun 14 06 1 33s160ms 33s160ms 10 1 32s933ms 32s933ms 14 1 32s943ms 32s943ms 18 1 32s999ms 32s999ms Jun 15 19 1 32s459ms 32s459ms [ User: postgres - Total duration: 13m9s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m9s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-14 06:05:34 Duration: 33s160ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-11 10:05:35 Duration: 33s90ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-10 10:05:34 Duration: 33s53ms Database: ctdprd51 User: postgres Application: pg_dump
10 12m45s 4 1m3s 9m25s 3m11s 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 #10
Day Hour Count Duration Avg duration Jun 09 17 1 1m3s 1m3s Jun 11 18 1 1m5s 1m5s Jun 13 18 1 1m10s 1m10s Jun 14 17 1 9m25s 9m25s [ User: pubeu - Total duration: 10m31s - Times executed: 2 ]
-
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 = '1239755') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-06-14 17:55:00 Duration: 9m25s 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 = '1213065') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-06-13 18:01:54 Duration: 1m10s 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 = '1213065') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-06-11 18:02:13 Duration: 1m5s Database: ctdprd51 User: pubeu Bind query: yes
11 11m42s 156 1s 5s830ms 4s501ms 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 #11
Day Hour Count Duration Avg duration Jun 09 01 2 9s677ms 4s838ms 02 1 1s10ms 1s10ms 06 1 5s184ms 5s184ms 07 4 19s963ms 4s990ms 08 1 4s708ms 4s708ms 09 1 4s863ms 4s863ms 10 1 4s833ms 4s833ms 11 1 4s960ms 4s960ms 12 1 4s842ms 4s842ms 13 1 4s721ms 4s721ms 16 1 5s509ms 5s509ms 17 1 4s748ms 4s748ms 20 1 5s582ms 5s582ms 21 1 5s275ms 5s275ms 22 1 5s657ms 5s657ms Jun 10 01 3 15s941ms 5s313ms 03 1 5s400ms 5s400ms 04 2 9s925ms 4s962ms 05 1 1s18ms 1s18ms 06 1 5s807ms 5s807ms 08 1 5s248ms 5s248ms 11 3 14s715ms 4s905ms 13 3 16s626ms 5s542ms 15 2 5s790ms 2s895ms 16 2 9s423ms 4s711ms 17 1 5s480ms 5s480ms 18 1 4s859ms 4s859ms 19 1 1s1ms 1s1ms 22 2 10s973ms 5s486ms Jun 11 00 2 5s697ms 2s848ms 02 4 20s491ms 5s122ms 03 2 2s283ms 1s141ms 04 2 5s757ms 2s878ms 05 4 20s877ms 5s219ms 06 2 9s664ms 4s832ms 07 1 4s702ms 4s702ms 08 2 10s476ms 5s238ms 09 2 10s150ms 5s75ms 11 1 5s333ms 5s333ms 12 1 1s7ms 1s7ms 13 1 5s612ms 5s612ms 14 1 5s51ms 5s51ms 19 7 37s305ms 5s329ms 20 3 11s478ms 3s826ms 22 5 26s331ms 5s266ms 23 2 6s638ms 3s319ms Jun 12 00 2 10s283ms 5s141ms 01 2 11s310ms 5s655ms 02 3 7s175ms 2s391ms 03 1 5s161ms 5s161ms 05 1 1s16ms 1s16ms 09 1 5s738ms 5s738ms 10 1 5s730ms 5s730ms 11 3 15s834ms 5s278ms 13 1 4s629ms 4s629ms 14 2 5s940ms 2s970ms 15 1 1s25ms 1s25ms 16 1 4s902ms 4s902ms 19 3 11s221ms 3s740ms 20 4 21s189ms 5s297ms 23 2 9s569ms 4s784ms Jun 13 00 1 5s131ms 5s131ms 04 1 1s3ms 1s3ms 05 1 4s742ms 4s742ms 06 2 6s25ms 3s12ms 07 2 10s770ms 5s385ms 10 1 5s33ms 5s33ms 11 2 10s267ms 5s133ms 22 2 11s259ms 5s629ms 23 1 4s741ms 4s741ms Jun 14 00 1 1s10ms 1s10ms 01 1 5s305ms 5s305ms 04 1 5s42ms 5s42ms 05 1 5s231ms 5s231ms 06 1 5s77ms 5s77ms 09 3 11s594ms 3s864ms 10 2 10s728ms 5s364ms 11 1 1s24ms 1s24ms 21 1 1s28ms 1s28ms Jun 15 01 1 5s18ms 5s18ms 08 2 9s798ms 4s899ms 10 2 6s62ms 3s31ms 11 4 20s396ms 5s99ms 14 2 6s93ms 3s46ms 15 1 5s59ms 5s59ms 18 1 4s957ms 4s957ms 19 3 16s208ms 5s402ms 22 1 5s137ms 5s137ms 23 1 5s79ms 5s79ms [ User: pubeu - Total duration: 4m52s - Times executed: 69 ]
-
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 = '1387245' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-12 11:44:14 Duration: 5s830ms 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 = '1325838' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-10 06:52:39 Duration: 5s807ms 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 = '1319639' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-11 05:00:00 Duration: 5s750ms Bind query: yes
12 9m53s 1 9m53s 9m53s 9m53s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.nm = ?))) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 15 05 1 9m53s 9m53s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'CAT') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'SPINOSYN A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-06-15 05:17:04 Duration: 9m53s Bind query: yes
13 8m47s 107 1s105ms 55s529ms 4s926ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 09 00 2 5s87ms 2s543ms 03 1 1s642ms 1s642ms 07 5 18s263ms 3s652ms 09 1 1s183ms 1s183ms 10 8 16s812ms 2s101ms 11 1 14s939ms 14s939ms 12 1 4s938ms 4s938ms 13 2 5s851ms 2s925ms 14 1 14s424ms 14s424ms 17 2 4s241ms 2s120ms 18 1 4s915ms 4s915ms 19 2 9s810ms 4s905ms 21 1 1s105ms 1s105ms 22 1 4s567ms 4s567ms 23 1 1s217ms 1s217ms Jun 10 04 1 15s59ms 15s59ms 07 1 1s137ms 1s137ms 08 2 8s640ms 4s320ms 09 1 1s765ms 1s765ms 10 2 11s613ms 5s806ms 11 1 2s630ms 2s630ms 12 2 4s204ms 2s102ms 13 2 16s689ms 8s344ms 14 1 17s517ms 17s517ms 16 1 5s291ms 5s291ms 17 1 6s192ms 6s192ms 18 1 2s887ms 2s887ms 20 1 5s510ms 5s510ms 21 2 9s31ms 4s515ms Jun 11 00 1 14s888ms 14s888ms 06 2 5s737ms 2s868ms 09 1 6s249ms 6s249ms 11 1 6s532ms 6s532ms 12 2 3s614ms 1s807ms 13 1 6s302ms 6s302ms 14 1 4s614ms 4s614ms 18 1 2s698ms 2s698ms 20 2 6s37ms 3s18ms 22 1 1s220ms 1s220ms Jun 12 01 1 3s649ms 3s649ms 03 2 3s300ms 1s650ms 06 1 12s853ms 12s853ms 09 1 6s474ms 6s474ms 10 1 5s378ms 5s378ms 11 1 5s663ms 5s663ms 15 2 4s361ms 2s180ms 17 2 20s895ms 10s447ms Jun 13 01 2 7s326ms 3s663ms 02 1 4s632ms 4s632ms 03 1 1s178ms 1s178ms 06 2 7s852ms 3s926ms 07 1 5s441ms 5s441ms 11 2 7s761ms 3s880ms 16 1 15s225ms 15s225ms 19 1 6s377ms 6s377ms 22 1 1s185ms 1s185ms 23 1 2s922ms 2s922ms Jun 14 01 2 7s583ms 3s791ms 02 1 6s322ms 6s322ms 05 1 2s548ms 2s548ms 06 2 7s850ms 3s925ms 07 3 1m5s 21s776ms 09 1 2s709ms 2s709ms 19 1 2s420ms 2s420ms 20 1 6s546ms 6s546ms Jun 15 05 1 6s602ms 6s602ms 12 1 6s666ms 6s666ms 13 3 4s100ms 1s366ms 15 2 7s51ms 3s525ms 17 1 2s392ms 2s392ms 22 1 1s432ms 1s432ms [ User: pubeu - Total duration: 3m13s - Times executed: 42 ]
-
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 = '2068897') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 8790600;
Date: 2024-06-14 07:52:15 Duration: 55s529ms 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 = '2080257') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2306850;
Date: 2024-06-10 14:05:55 Duration: 17s517ms 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 = '2072157') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2000000;
Date: 2024-06-12 17:13:58 Duration: 15s282ms Bind query: yes
14 6m42s 1 6m42s 6m42s 6m42s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 15 19 1 6m42s 6m42s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-06-15 19:51:54 Duration: 6m42s
15 6m42s 1 6m42s 6m42s 6m42s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 15 19 1 6m42s 6m42s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-06-15 19:11:36 Duration: 6m42s
16 5m52s 25 13s971ms 14s175ms 14s83ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 09 06 1 14s91ms 14s91ms 10 1 14s168ms 14s168ms 14 1 14s134ms 14s134ms 18 1 14s86ms 14s86ms Jun 10 06 1 14s23ms 14s23ms 10 1 14s62ms 14s62ms 14 1 14s85ms 14s85ms 18 1 14s90ms 14s90ms Jun 11 06 1 14s54ms 14s54ms 10 1 14s23ms 14s23ms 14 1 14s103ms 14s103ms 18 1 14s55ms 14s55ms Jun 12 06 1 14s96ms 14s96ms 10 1 14s120ms 14s120ms 14 1 14s90ms 14s90ms 18 1 14s175ms 14s175ms Jun 13 06 1 14s63ms 14s63ms 10 1 14s126ms 14s126ms 14 1 14s37ms 14s37ms 18 1 14s69ms 14s69ms Jun 14 06 1 14s87ms 14s87ms 10 1 14s89ms 14s89ms 14 1 14s114ms 14s114ms 18 1 14s57ms 14s57ms Jun 15 18 1 13s971ms 13s971ms [ User: postgres - Total duration: 5m52s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 5m52s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-12 18:00:15 Duration: 14s175ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-09 10:00:16 Duration: 14s168ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-09 14:00:15 Duration: 14s134ms Database: ctdprd51 User: postgres Application: pg_dump
17 5m49s 25 13s934ms 14s50ms 13s996ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 09 06 1 14s1ms 14s1ms 10 1 14s36ms 14s36ms 14 1 13s987ms 13s987ms 18 1 13s963ms 13s963ms Jun 10 06 1 13s985ms 13s985ms 10 1 13s948ms 13s948ms 14 1 13s943ms 13s943ms 18 1 13s934ms 13s934ms Jun 11 06 1 13s958ms 13s958ms 10 1 13s968ms 13s968ms 14 1 14s8ms 14s8ms 18 1 14s42ms 14s42ms Jun 12 06 1 13s993ms 13s993ms 10 1 14s50ms 14s50ms 14 1 14s4ms 14s4ms 18 1 14s13ms 14s13ms Jun 13 06 1 14s22ms 14s22ms 10 1 13s963ms 13s963ms 14 1 14s27ms 14s27ms 18 1 14s29ms 14s29ms Jun 14 06 1 14s20ms 14s20ms 10 1 14s13ms 14s13ms 14 1 13s972ms 13s972ms 18 1 14s16ms 14s16ms Jun 15 18 1 14s12ms 14s12ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-12 10:00:57 Duration: 14s50ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-11 18:00:58 Duration: 14s42ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-09 10:00:58 Duration: 14s36ms
18 5m19s 24 13s223ms 13s493ms 13s316ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 09 06 1 13s276ms 13s276ms 10 1 13s410ms 13s410ms 14 1 13s322ms 13s322ms 18 1 13s253ms 13s253ms Jun 10 06 1 13s250ms 13s250ms 10 1 13s311ms 13s311ms 14 1 13s223ms 13s223ms 18 1 13s254ms 13s254ms Jun 11 06 1 13s267ms 13s267ms 10 1 13s276ms 13s276ms 14 1 13s268ms 13s268ms 18 1 13s372ms 13s372ms Jun 12 06 1 13s330ms 13s330ms 10 1 13s313ms 13s313ms 14 1 13s276ms 13s276ms 18 1 13s493ms 13s493ms Jun 13 06 1 13s310ms 13s310ms 10 1 13s342ms 13s342ms 14 1 13s357ms 13s357ms 18 1 13s318ms 13s318ms Jun 14 06 1 13s308ms 13s308ms 14 1 13s344ms 13s344ms 18 1 13s356ms 13s356ms Jun 15 18 1 13s347ms 13s347ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-12 18:00:43 Duration: 13s493ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-09 10:00:43 Duration: 13s410ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-11 18:00:44 Duration: 13s372ms
19 5m2s 230 1s125ms 4s624ms 1s314ms 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 #19
Day Hour Count Duration Avg duration Jun 09 00 1 1s311ms 1s311ms 01 4 5s209ms 1s302ms 02 3 3s896ms 1s298ms 03 2 2s577ms 1s288ms 04 2 2s609ms 1s304ms 05 4 5s422ms 1s355ms 06 3 3s808ms 1s269ms 07 1 1s326ms 1s326ms 08 2 2s491ms 1s245ms 09 3 3s989ms 1s329ms 10 3 3s830ms 1s276ms 14 2 2s574ms 1s287ms 15 2 2s582ms 1s291ms 16 1 1s272ms 1s272ms 20 1 1s266ms 1s266ms 21 1 1s223ms 1s223ms 23 2 2s694ms 1s347ms Jun 10 00 2 2s501ms 1s250ms 01 3 3s810ms 1s270ms 02 2 2s651ms 1s325ms 03 1 1s295ms 1s295ms 05 2 2s850ms 1s425ms 06 1 1s285ms 1s285ms 08 3 3s870ms 1s290ms 09 1 1s351ms 1s351ms 10 1 1s298ms 1s298ms 11 1 1s336ms 1s336ms 12 2 2s530ms 1s265ms 15 1 1s240ms 1s240ms 16 1 1s418ms 1s418ms 17 3 3s843ms 1s281ms 19 2 2s444ms 1s222ms 20 1 1s304ms 1s304ms 21 2 2s520ms 1s260ms 22 1 1s383ms 1s383ms Jun 11 01 1 1s289ms 1s289ms 02 2 2s678ms 1s339ms 03 1 1s296ms 1s296ms 05 2 2s855ms 1s427ms 07 1 1s189ms 1s189ms 08 2 2s622ms 1s311ms 09 3 3s903ms 1s301ms 10 1 1s513ms 1s513ms 11 1 1s245ms 1s245ms 12 5 10s201ms 2s40ms 13 4 5s515ms 1s378ms 14 1 1s322ms 1s322ms 15 2 2s537ms 1s268ms 18 2 2s600ms 1s300ms 19 4 5s102ms 1s275ms 20 2 2s647ms 1s323ms 21 2 2s550ms 1s275ms 22 2 2s644ms 1s322ms 23 2 2s535ms 1s267ms Jun 12 00 1 1s200ms 1s200ms 01 2 2s621ms 1s310ms 02 1 1s258ms 1s258ms 03 3 4s6ms 1s335ms 05 4 5s384ms 1s346ms 08 1 1s367ms 1s367ms 09 1 1s244ms 1s244ms 11 2 2s524ms 1s262ms 13 1 1s183ms 1s183ms 14 2 2s580ms 1s290ms 15 1 1s362ms 1s362ms 16 1 1s265ms 1s265ms 18 2 2s661ms 1s330ms 19 1 1s327ms 1s327ms 21 3 3s761ms 1s253ms 22 1 1s280ms 1s280ms Jun 13 00 2 2s792ms 1s396ms 01 2 2s684ms 1s342ms 02 2 2s612ms 1s306ms 03 1 1s288ms 1s288ms 04 1 1s252ms 1s252ms 05 3 3s985ms 1s328ms 06 2 2s564ms 1s282ms 07 2 2s553ms 1s276ms 09 1 1s304ms 1s304ms 11 1 1s396ms 1s396ms 12 1 1s224ms 1s224ms 13 3 3s727ms 1s242ms 14 1 1s253ms 1s253ms 17 1 1s254ms 1s254ms 18 1 1s401ms 1s401ms 19 3 3s824ms 1s274ms 21 2 2s627ms 1s313ms 23 1 1s189ms 1s189ms Jun 14 02 4 5s215ms 1s303ms 05 5 6s644ms 1s328ms 07 2 2s560ms 1s280ms 08 1 1s208ms 1s208ms 09 1 1s370ms 1s370ms 12 1 1s228ms 1s228ms 13 1 1s268ms 1s268ms 14 1 1s254ms 1s254ms 18 6 7s604ms 1s267ms 19 3 3s853ms 1s284ms 20 1 1s239ms 1s239ms 21 1 1s281ms 1s281ms 23 1 1s329ms 1s329ms Jun 15 03 1 1s285ms 1s285ms 04 2 2s843ms 1s421ms 05 7 9s386ms 1s340ms 06 2 2s563ms 1s281ms 09 1 1s329ms 1s329ms 10 5 6s344ms 1s268ms 11 5 6s492ms 1s298ms 12 1 1s312ms 1s312ms 13 3 3s932ms 1s310ms 14 3 3s773ms 1s257ms 18 1 1s196ms 1s196ms 19 6 7s257ms 1s209ms 23 1 1s308ms 1s308ms [ User: pubeu - Total duration: 1m55s - Times executed: 87 ]
[ User: qaeu - Total duration: 7s152ms - Times executed: 5 ]
-
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 = '2080955') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080955') 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-06-11 12:25:56 Duration: 4s624ms 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 = '2079199') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2079199') 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-06-15 04:19:55 Duration: 1s551ms 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 = '2074905') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2074905') 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-06-11 13:41:22 Duration: 1s526ms Bind query: yes
20 4m45s 60 1s30ms 5s25ms 4s758ms 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 #20
Day Hour Count Duration Avg duration Jun 09 00 2 9s963ms 4s981ms 01 2 9s903ms 4s951ms 05 1 4s955ms 4s955ms 06 3 14s829ms 4s943ms 12 2 9s957ms 4s978ms 18 1 4s963ms 4s963ms Jun 10 00 6 29s832ms 4s972ms 01 4 19s865ms 4s966ms 03 1 4s949ms 4s949ms 14 2 9s841ms 4s920ms Jun 11 01 2 9s872ms 4s936ms 14 1 4s932ms 4s932ms 20 1 4s920ms 4s920ms 22 1 1s30ms 1s30ms 23 1 4s909ms 4s909ms Jun 12 00 1 4s951ms 4s951ms 01 1 4s931ms 4s931ms 06 1 4s958ms 4s958ms 16 1 4s920ms 4s920ms 21 1 4s938ms 4s938ms Jun 13 01 1 4s984ms 4s984ms 02 1 4s940ms 4s940ms 04 1 5s11ms 5s11ms 10 1 5s22ms 5s22ms 12 1 4s919ms 4s919ms 18 1 5s5ms 5s5ms 19 1 5s12ms 5s12ms 21 1 4s893ms 4s893ms 22 1 4s913ms 4s913ms Jun 14 03 1 4s959ms 4s959ms 09 2 2s272ms 1s136ms 10 1 4s918ms 4s918ms 18 2 9s824ms 4s912ms 19 2 9s883ms 4s941ms Jun 15 01 1 4s936ms 4s936ms 02 1 4s923ms 4s923ms 05 1 4s943ms 4s943ms 08 1 4s922ms 4s922ms 12 1 4s928ms 4s928ms 13 1 4s947ms 4s947ms 14 1 4s966ms 4s966ms 19 1 4s958ms 4s958ms [ User: pubeu - Total duration: 2m24s - Times executed: 30 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'CK820_G0025538') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'CK820_G0025538') 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 'CK820_G0025538')) 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 'CK820_G0025538')) ii GROUP BY ii.cd;
Date: 2024-06-09 12:17:55 Duration: 5s25ms 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', 'N320_01575') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'N320_01575') 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 'N320_01575')) 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 'N320_01575')) ii GROUP BY ii.cd;
Date: 2024-06-13 10:41:38 Duration: 5s22ms 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', 'PDE8B_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PDE8B_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 'PDE8B_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 'PDE8B_1')) ii GROUP BY ii.cd;
Date: 2024-06-13 19:12:06 Duration: 5s12ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,491 48m15s 1s41ms 1s360ms 1s162ms 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 Jun 09 00 5 5s846ms 1s169ms 01 10 11s818ms 1s181ms 02 16 18s977ms 1s186ms 03 15 17s541ms 1s169ms 04 11 12s885ms 1s171ms 05 16 19s36ms 1s189ms 06 28 33s256ms 1s187ms 07 11 12s995ms 1s181ms 08 9 10s453ms 1s161ms 09 20 23s639ms 1s181ms 10 21 24s263ms 1s155ms 11 22 25s466ms 1s157ms 12 18 20s606ms 1s144ms 13 19 21s887ms 1s151ms 14 18 20s658ms 1s147ms 15 24 27s697ms 1s154ms 16 18 20s534ms 1s140ms 17 16 18s434ms 1s152ms 18 17 19s614ms 1s153ms 19 18 20s958ms 1s164ms 20 14 16s141ms 1s152ms 21 16 18s482ms 1s155ms 22 17 20s208ms 1s188ms 23 19 22s448ms 1s181ms Jun 10 00 22 25s832ms 1s174ms 01 10 11s832ms 1s183ms 02 13 15s221ms 1s170ms 03 8 9s388ms 1s173ms 04 23 27s250ms 1s184ms 05 12 14s521ms 1s210ms 06 19 22s485ms 1s183ms 07 9 10s608ms 1s178ms 08 14 16s395ms 1s171ms 09 12 14s97ms 1s174ms 10 11 12s688ms 1s153ms 11 18 20s913ms 1s161ms 12 14 16s149ms 1s153ms 13 7 8s115ms 1s159ms 14 16 18s508ms 1s156ms 15 15 17s275ms 1s151ms 16 14 16s187ms 1s156ms 17 7 7s977ms 1s139ms 18 11 12s822ms 1s165ms 19 13 15s57ms 1s158ms 20 21 24s125ms 1s148ms 21 26 29s884ms 1s149ms 22 28 33s164ms 1s184ms 23 18 21s167ms 1s175ms Jun 11 00 6 6s911ms 1s151ms 01 15 17s490ms 1s166ms 02 20 23s737ms 1s186ms 03 14 16s432ms 1s173ms 04 21 24s637ms 1s173ms 05 13 15s674ms 1s205ms 06 16 18s753ms 1s172ms 07 11 12s906ms 1s173ms 08 16 18s472ms 1s154ms 09 31 35s852ms 1s156ms 10 18 20s781ms 1s154ms 11 17 19s544ms 1s149ms 12 24 27s706ms 1s154ms 13 23 26s599ms 1s156ms 14 8 9s391ms 1s173ms 15 14 16s283ms 1s163ms 16 7 8s2ms 1s143ms 17 21 24s53ms 1s145ms 18 10 11s568ms 1s156ms 19 11 12s855ms 1s168ms 20 21 24s482ms 1s165ms 21 22 25s385ms 1s153ms 22 13 15s425ms 1s186ms 23 20 23s625ms 1s181ms Jun 12 00 18 20s936ms 1s163ms 01 15 17s737ms 1s182ms 02 16 18s856ms 1s178ms 03 13 15s323ms 1s178ms 04 6 7s91ms 1s181ms 05 8 9s640ms 1s205ms 06 11 12s604ms 1s145ms 07 12 13s850ms 1s154ms 08 6 6s895ms 1s149ms 09 15 17s156ms 1s143ms 10 8 9s351ms 1s168ms 11 17 19s517ms 1s148ms 12 15 17s139ms 1s142ms 13 18 20s790ms 1s155ms 14 11 12s611ms 1s146ms 15 21 24s196ms 1s152ms 16 14 16s203ms 1s157ms 17 13 14s992ms 1s153ms 18 17 19s786ms 1s163ms 19 19 22s252ms 1s171ms 20 6 6s925ms 1s154ms 21 12 13s763ms 1s146ms 22 7 8s296ms 1s185ms 23 13 15s404ms 1s184ms Jun 13 00 13 14s925ms 1s148ms 01 26 30s459ms 1s171ms 02 7 8s212ms 1s173ms 03 19 22s339ms 1s175ms 04 28 32s727ms 1s168ms 05 24 27s820ms 1s159ms 06 19 21s846ms 1s149ms 07 16 18s431ms 1s151ms 08 21 24s90ms 1s147ms 09 10 11s634ms 1s163ms 10 19 22s187ms 1s167ms 11 16 18s637ms 1s164ms 12 12 14s 1s166ms 13 17 19s821ms 1s165ms 14 16 18s721ms 1s170ms 15 14 16s210ms 1s157ms 16 15 17s487ms 1s165ms 17 7 8s90ms 1s155ms 18 22 25s429ms 1s155ms 19 25 28s902ms 1s156ms 20 17 19s659ms 1s156ms 21 16 18s436ms 1s152ms 22 13 14s914ms 1s147ms 23 11 12s564ms 1s142ms Jun 14 00 7 8s25ms 1s146ms 01 7 8s142ms 1s163ms 02 19 22s111ms 1s163ms 03 15 17s464ms 1s164ms 04 12 13s823ms 1s151ms 05 13 15s324ms 1s178ms 06 6 6s954ms 1s159ms 07 11 12s751ms 1s159ms 08 20 23s188ms 1s159ms 09 19 22s19ms 1s158ms 10 16 18s579ms 1s161ms 11 21 24s493ms 1s166ms 12 17 19s756ms 1s162ms 13 5 5s879ms 1s175ms 14 12 14s105ms 1s175ms 15 9 10s497ms 1s166ms 16 17 19s753ms 1s161ms 17 14 16s274ms 1s162ms 18 18 20s890ms 1s160ms 19 15 17s265ms 1s151ms 20 23 26s630ms 1s157ms 21 11 12s784ms 1s162ms 22 10 11s728ms 1s172ms 23 18 20s971ms 1s165ms Jun 15 00 12 13s683ms 1s140ms 01 7 8s48ms 1s149ms 02 21 24s556ms 1s169ms 03 17 19s898ms 1s170ms 04 10 11s587ms 1s158ms 05 18 20s897ms 1s160ms 06 11 12s707ms 1s155ms 07 6 6s961ms 1s160ms 08 10 11s603ms 1s160ms 09 3 3s508ms 1s169ms 10 10 11s645ms 1s164ms 11 13 15s51ms 1s157ms 12 14 16s329ms 1s166ms 13 15 17s420ms 1s161ms 14 13 15s 1s153ms 15 5 5s685ms 1s137ms 16 9 10s363ms 1s151ms 17 14 16s227ms 1s159ms 18 13 15s14ms 1s154ms 19 19 21s27ms 1s106ms 20 10 11s133ms 1s113ms 21 12 13s199ms 1s99ms 22 22 25s646ms 1s165ms 23 7 8s169ms 1s167ms [ User: pubeu - Total duration: 18m58s - Times executed: 979 ]
[ User: qaeu - Total duration: 1s266ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1978060' or receptorTerm.id = '1978060' 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-06-12 19:25:06 Duration: 1s360ms 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 = '2026205' or receptorTerm.id = '2026205' 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-06-10 04:34:51 Duration: 1s358ms 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 = '1431600' or receptorTerm.id = '1431600' 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-06-10 05:38:37 Duration: 1s291ms Bind query: yes
2 725 15m13s 1s138ms 1s430ms 1s260ms 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 Jun 09 00 6 7s625ms 1s270ms 01 5 6s334ms 1s266ms 02 8 10s210ms 1s276ms 03 6 7s696ms 1s282ms 04 1 1s292ms 1s292ms 05 4 5s409ms 1s352ms 06 4 5s168ms 1s292ms 07 2 2s611ms 1s305ms 08 2 2s510ms 1s255ms 09 6 7s736ms 1s289ms 10 3 3s834ms 1s278ms 11 4 4s973ms 1s243ms 12 3 3s711ms 1s237ms 13 4 5s19ms 1s254ms 14 3 3s665ms 1s221ms 15 9 11s314ms 1s257ms 16 5 6s145ms 1s229ms 17 3 3s740ms 1s246ms 18 4 4s898ms 1s224ms 19 3 3s844ms 1s281ms 20 4 4s900ms 1s225ms 21 8 10s44ms 1s255ms 22 4 5s136ms 1s284ms 23 2 2s515ms 1s257ms Jun 10 00 5 6s335ms 1s267ms 01 1 1s225ms 1s225ms 02 4 5s106ms 1s276ms 03 6 7s491ms 1s248ms 04 2 2s586ms 1s293ms 05 3 4s38ms 1s346ms 06 6 7s674ms 1s279ms 07 1 1s304ms 1s304ms 08 3 3s881ms 1s293ms 09 2 2s625ms 1s312ms 10 5 6s215ms 1s243ms 11 6 7s646ms 1s274ms 12 4 5s50ms 1s262ms 13 2 2s420ms 1s210ms 14 5 6s326ms 1s265ms 15 3 3s650ms 1s216ms 16 2 2s528ms 1s264ms 17 3 3s701ms 1s233ms 18 4 5s90ms 1s272ms 19 5 6s284ms 1s256ms 20 3 3s735ms 1s245ms 21 7 8s663ms 1s237ms 22 10 12s698ms 1s269ms 23 3 3s735ms 1s245ms Jun 11 00 1 1s224ms 1s224ms 01 4 5s123ms 1s280ms 02 8 10s333ms 1s291ms 03 5 6s418ms 1s283ms 04 4 5s54ms 1s263ms 05 4 5s367ms 1s341ms 06 7 8s796ms 1s256ms 07 3 3s737ms 1s245ms 08 2 2s544ms 1s272ms 09 10 12s587ms 1s258ms 11 3 3s809ms 1s269ms 12 5 6s260ms 1s252ms 13 3 3s759ms 1s253ms 14 2 2s433ms 1s216ms 15 1 1s254ms 1s254ms 16 4 4s953ms 1s238ms 17 10 12s409ms 1s240ms 18 5 6s343ms 1s268ms 19 4 4s958ms 1s239ms 20 4 5s61ms 1s265ms 21 7 8s784ms 1s254ms 22 5 6s453ms 1s290ms 23 6 7s651ms 1s275ms Jun 12 00 6 7s655ms 1s275ms 01 3 3s797ms 1s265ms 02 8 10s121ms 1s265ms 03 4 4s986ms 1s246ms 04 2 2s514ms 1s257ms 05 3 4s78ms 1s359ms 06 12 14s973ms 1s247ms 07 6 7s493ms 1s248ms 08 3 3s767ms 1s255ms 09 7 8s799ms 1s257ms 10 2 2s504ms 1s252ms 11 5 6s393ms 1s278ms 12 6 7s639ms 1s273ms 13 5 6s164ms 1s232ms 14 6 7s494ms 1s249ms 15 9 11s290ms 1s254ms 16 7 8s775ms 1s253ms 17 3 3s722ms 1s240ms 18 7 8s717ms 1s245ms 19 2 2s444ms 1s222ms 20 1 1s229ms 1s229ms 21 7 8s646ms 1s235ms 22 3 3s839ms 1s279ms 23 2 2s455ms 1s227ms Jun 13 00 7 8s751ms 1s250ms 01 2 2s515ms 1s257ms 02 4 5s13ms 1s253ms 03 4 5s78ms 1s269ms 04 11 14s39ms 1s276ms 05 4 5s139ms 1s284ms 06 2 2s479ms 1s239ms 07 4 4s991ms 1s247ms 08 5 6s343ms 1s268ms 09 4 4s894ms 1s223ms 10 7 9s34ms 1s290ms 11 6 7s498ms 1s249ms 13 8 9s966ms 1s245ms 14 6 7s638ms 1s273ms 15 7 8s794ms 1s256ms 16 4 4s919ms 1s229ms 17 6 7s565ms 1s260ms 18 9 11s288ms 1s254ms 19 12 14s913ms 1s242ms 20 4 4s984ms 1s246ms 21 5 6s147ms 1s229ms 22 2 2s591ms 1s295ms 23 4 4s921ms 1s230ms Jun 14 00 3 3s633ms 1s211ms 01 2 2s564ms 1s282ms 02 2 2s507ms 1s253ms 03 5 6s294ms 1s258ms 04 3 3s794ms 1s264ms 05 4 5s322ms 1s330ms 06 1 1s203ms 1s203ms 07 3 3s856ms 1s285ms 08 8 10s72ms 1s259ms 09 4 4s971ms 1s242ms 10 3 3s793ms 1s264ms 11 5 6s294ms 1s258ms 12 2 2s621ms 1s310ms 13 1 1s279ms 1s279ms 15 3 3s875ms 1s291ms 16 7 9s2ms 1s286ms 17 1 1s228ms 1s228ms 18 4 5s175ms 1s293ms 19 6 7s653ms 1s275ms 20 10 12s535ms 1s253ms 21 5 6s278ms 1s255ms 22 4 5s75ms 1s268ms 23 4 4s955ms 1s238ms Jun 15 00 3 3s809ms 1s269ms 01 4 5s32ms 1s258ms 02 1 1s271ms 1s271ms 03 3 3s739ms 1s246ms 04 6 7s520ms 1s253ms 05 4 5s150ms 1s287ms 06 7 8s938ms 1s276ms 07 1 1s282ms 1s282ms 08 1 1s269ms 1s269ms 09 1 1s271ms 1s271ms 10 3 3s825ms 1s275ms 11 5 6s274ms 1s254ms 12 2 2s527ms 1s263ms 13 5 6s186ms 1s237ms 14 2 2s521ms 1s260ms 15 2 2s463ms 1s231ms 16 2 2s543ms 1s271ms 17 10 12s516ms 1s251ms 18 7 8s679ms 1s239ms 19 6 7s323ms 1s220ms 20 5 5s960ms 1s192ms 22 3 3s845ms 1s281ms 23 1 1s269ms 1s269ms [ User: pubeu - Total duration: 5m55s - Times executed: 283 ]
-
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 = '1210114') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210114') 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-06-09 05:38:34 Duration: 1s430ms 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 = '1210114') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210114') 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-06-11 05:38:35 Duration: 1s421ms 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 = '1210114') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210114') 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-06-12 05:43:38 Duration: 1s420ms Bind query: yes
3 230 5m2s 1s125ms 4s624ms 1s314ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 09 00 1 1s311ms 1s311ms 01 4 5s209ms 1s302ms 02 3 3s896ms 1s298ms 03 2 2s577ms 1s288ms 04 2 2s609ms 1s304ms 05 4 5s422ms 1s355ms 06 3 3s808ms 1s269ms 07 1 1s326ms 1s326ms 08 2 2s491ms 1s245ms 09 3 3s989ms 1s329ms 10 3 3s830ms 1s276ms 14 2 2s574ms 1s287ms 15 2 2s582ms 1s291ms 16 1 1s272ms 1s272ms 20 1 1s266ms 1s266ms 21 1 1s223ms 1s223ms 23 2 2s694ms 1s347ms Jun 10 00 2 2s501ms 1s250ms 01 3 3s810ms 1s270ms 02 2 2s651ms 1s325ms 03 1 1s295ms 1s295ms 05 2 2s850ms 1s425ms 06 1 1s285ms 1s285ms 08 3 3s870ms 1s290ms 09 1 1s351ms 1s351ms 10 1 1s298ms 1s298ms 11 1 1s336ms 1s336ms 12 2 2s530ms 1s265ms 15 1 1s240ms 1s240ms 16 1 1s418ms 1s418ms 17 3 3s843ms 1s281ms 19 2 2s444ms 1s222ms 20 1 1s304ms 1s304ms 21 2 2s520ms 1s260ms 22 1 1s383ms 1s383ms Jun 11 01 1 1s289ms 1s289ms 02 2 2s678ms 1s339ms 03 1 1s296ms 1s296ms 05 2 2s855ms 1s427ms 07 1 1s189ms 1s189ms 08 2 2s622ms 1s311ms 09 3 3s903ms 1s301ms 10 1 1s513ms 1s513ms 11 1 1s245ms 1s245ms 12 5 10s201ms 2s40ms 13 4 5s515ms 1s378ms 14 1 1s322ms 1s322ms 15 2 2s537ms 1s268ms 18 2 2s600ms 1s300ms 19 4 5s102ms 1s275ms 20 2 2s647ms 1s323ms 21 2 2s550ms 1s275ms 22 2 2s644ms 1s322ms 23 2 2s535ms 1s267ms Jun 12 00 1 1s200ms 1s200ms 01 2 2s621ms 1s310ms 02 1 1s258ms 1s258ms 03 3 4s6ms 1s335ms 05 4 5s384ms 1s346ms 08 1 1s367ms 1s367ms 09 1 1s244ms 1s244ms 11 2 2s524ms 1s262ms 13 1 1s183ms 1s183ms 14 2 2s580ms 1s290ms 15 1 1s362ms 1s362ms 16 1 1s265ms 1s265ms 18 2 2s661ms 1s330ms 19 1 1s327ms 1s327ms 21 3 3s761ms 1s253ms 22 1 1s280ms 1s280ms Jun 13 00 2 2s792ms 1s396ms 01 2 2s684ms 1s342ms 02 2 2s612ms 1s306ms 03 1 1s288ms 1s288ms 04 1 1s252ms 1s252ms 05 3 3s985ms 1s328ms 06 2 2s564ms 1s282ms 07 2 2s553ms 1s276ms 09 1 1s304ms 1s304ms 11 1 1s396ms 1s396ms 12 1 1s224ms 1s224ms 13 3 3s727ms 1s242ms 14 1 1s253ms 1s253ms 17 1 1s254ms 1s254ms 18 1 1s401ms 1s401ms 19 3 3s824ms 1s274ms 21 2 2s627ms 1s313ms 23 1 1s189ms 1s189ms Jun 14 02 4 5s215ms 1s303ms 05 5 6s644ms 1s328ms 07 2 2s560ms 1s280ms 08 1 1s208ms 1s208ms 09 1 1s370ms 1s370ms 12 1 1s228ms 1s228ms 13 1 1s268ms 1s268ms 14 1 1s254ms 1s254ms 18 6 7s604ms 1s267ms 19 3 3s853ms 1s284ms 20 1 1s239ms 1s239ms 21 1 1s281ms 1s281ms 23 1 1s329ms 1s329ms Jun 15 03 1 1s285ms 1s285ms 04 2 2s843ms 1s421ms 05 7 9s386ms 1s340ms 06 2 2s563ms 1s281ms 09 1 1s329ms 1s329ms 10 5 6s344ms 1s268ms 11 5 6s492ms 1s298ms 12 1 1s312ms 1s312ms 13 3 3s932ms 1s310ms 14 3 3s773ms 1s257ms 18 1 1s196ms 1s196ms 19 6 7s257ms 1s209ms 23 1 1s308ms 1s308ms [ User: pubeu - Total duration: 1m55s - Times executed: 87 ]
[ User: qaeu - Total duration: 7s152ms - Times executed: 5 ]
-
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 = '2080955') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080955') 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-06-11 12:25:56 Duration: 4s624ms 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 = '2079199') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2079199') 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-06-15 04:19:55 Duration: 1s551ms 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 = '2074905') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2074905') 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-06-11 13:41:22 Duration: 1s526ms Bind query: yes
4 220 14m58s 3s770ms 15s828ms 4s84ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 09 04 2 7s987ms 3s993ms 06 5 19s830ms 3s966ms 08 1 3s841ms 3s841ms 10 7 27s542ms 3s934ms 11 1 3s785ms 3s785ms 14 2 8s66ms 4s33ms 16 2 7s995ms 3s997ms Jun 10 01 1 3s840ms 3s840ms 04 1 3s847ms 3s847ms 05 2 7s698ms 3s849ms 06 1 3s980ms 3s980ms 07 4 15s683ms 3s920ms 09 2 7s746ms 3s873ms 10 1 3s798ms 3s798ms 11 4 15s988ms 3s997ms 12 6 23s729ms 3s954ms 13 2 7s813ms 3s906ms 14 2 9s675ms 4s837ms 15 2 8s121ms 4s60ms 16 3 15s51ms 5s17ms 20 1 3s791ms 3s791ms 22 1 3s808ms 3s808ms Jun 11 02 3 11s785ms 3s928ms 03 2 8s75ms 4s37ms 04 2 8s107ms 4s53ms 06 1 3s854ms 3s854ms 07 2 8s943ms 4s471ms 08 2 7s851ms 3s925ms 10 4 15s531ms 3s882ms 11 3 11s761ms 3s920ms 14 2 7s851ms 3s925ms 15 1 4s146ms 4s146ms 16 1 3s980ms 3s980ms 17 3 12s167ms 4s55ms 18 2 7s899ms 3s949ms 19 1 4s97ms 4s97ms 21 1 4s101ms 4s101ms 22 1 3s794ms 3s794ms 23 1 3s819ms 3s819ms Jun 12 02 3 11s733ms 3s911ms 04 1 3s863ms 3s863ms 07 14 54s712ms 3s908ms 08 4 15s822ms 3s955ms 09 3 11s525ms 3s841ms 10 4 15s842ms 3s960ms 11 2 20s58ms 10s29ms 13 1 4s49ms 4s49ms 14 3 11s725ms 3s908ms 15 1 3s823ms 3s823ms 18 1 3s923ms 3s923ms 20 1 3s884ms 3s884ms 21 1 3s843ms 3s843ms Jun 13 01 3 11s797ms 3s932ms 02 5 19s508ms 3s901ms 03 1 3s840ms 3s840ms 04 2 7s854ms 3s927ms 05 3 11s848ms 3s949ms 06 3 11s839ms 3s946ms 07 3 12s51ms 4s17ms 08 2 7s849ms 3s924ms 09 3 12s26ms 4s8ms 10 4 15s547ms 3s886ms 11 1 3s961ms 3s961ms 12 1 3s822ms 3s822ms 15 3 11s676ms 3s892ms 16 1 3s855ms 3s855ms 17 4 15s795ms 3s948ms 19 2 9s415ms 4s707ms 20 3 12s55ms 4s18ms Jun 14 00 2 7s751ms 3s875ms 02 2 8s70ms 4s35ms 03 1 3s865ms 3s865ms 04 4 27s892ms 6s973ms 06 1 3s970ms 3s970ms 07 1 3s957ms 3s957ms 08 3 11s818ms 3s939ms 09 3 11s764ms 3s921ms 10 3 11s736ms 3s912ms 12 5 19s520ms 3s904ms 13 2 7s865ms 3s932ms 17 1 3s867ms 3s867ms 18 2 7s919ms 3s959ms Jun 15 00 5 19s499ms 3s899ms 04 1 3s955ms 3s955ms 05 1 3s884ms 3s884ms 06 1 4s297ms 4s297ms 07 1 4s277ms 4s277ms 08 3 11s971ms 3s990ms 10 1 4s26ms 4s26ms 12 2 7s724ms 3s862ms 13 2 7s829ms 3s914ms 15 2 7s764ms 3s882ms 18 1 4s365ms 4s365ms 19 1 4s30ms 4s30ms 21 1 4s25ms 4s25ms [ User: pubeu - Total duration: 6m52s - Times executed: 104 ]
-
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 = '1387245') 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 = '1387245') 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-06-12 11:46:03 Duration: 15s828ms 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 = '1387245') 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 = '1387245') 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-06-14 04:33:13 Duration: 15s780ms 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 = '1407519') 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 = '1407519') 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-06-10 14:28:48 Duration: 5s635ms Bind query: yes
5 156 11m42s 1s 5s830ms 4s501ms 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 #5
Day Hour Count Duration Avg duration Jun 09 01 2 9s677ms 4s838ms 02 1 1s10ms 1s10ms 06 1 5s184ms 5s184ms 07 4 19s963ms 4s990ms 08 1 4s708ms 4s708ms 09 1 4s863ms 4s863ms 10 1 4s833ms 4s833ms 11 1 4s960ms 4s960ms 12 1 4s842ms 4s842ms 13 1 4s721ms 4s721ms 16 1 5s509ms 5s509ms 17 1 4s748ms 4s748ms 20 1 5s582ms 5s582ms 21 1 5s275ms 5s275ms 22 1 5s657ms 5s657ms Jun 10 01 3 15s941ms 5s313ms 03 1 5s400ms 5s400ms 04 2 9s925ms 4s962ms 05 1 1s18ms 1s18ms 06 1 5s807ms 5s807ms 08 1 5s248ms 5s248ms 11 3 14s715ms 4s905ms 13 3 16s626ms 5s542ms 15 2 5s790ms 2s895ms 16 2 9s423ms 4s711ms 17 1 5s480ms 5s480ms 18 1 4s859ms 4s859ms 19 1 1s1ms 1s1ms 22 2 10s973ms 5s486ms Jun 11 00 2 5s697ms 2s848ms 02 4 20s491ms 5s122ms 03 2 2s283ms 1s141ms 04 2 5s757ms 2s878ms 05 4 20s877ms 5s219ms 06 2 9s664ms 4s832ms 07 1 4s702ms 4s702ms 08 2 10s476ms 5s238ms 09 2 10s150ms 5s75ms 11 1 5s333ms 5s333ms 12 1 1s7ms 1s7ms 13 1 5s612ms 5s612ms 14 1 5s51ms 5s51ms 19 7 37s305ms 5s329ms 20 3 11s478ms 3s826ms 22 5 26s331ms 5s266ms 23 2 6s638ms 3s319ms Jun 12 00 2 10s283ms 5s141ms 01 2 11s310ms 5s655ms 02 3 7s175ms 2s391ms 03 1 5s161ms 5s161ms 05 1 1s16ms 1s16ms 09 1 5s738ms 5s738ms 10 1 5s730ms 5s730ms 11 3 15s834ms 5s278ms 13 1 4s629ms 4s629ms 14 2 5s940ms 2s970ms 15 1 1s25ms 1s25ms 16 1 4s902ms 4s902ms 19 3 11s221ms 3s740ms 20 4 21s189ms 5s297ms 23 2 9s569ms 4s784ms Jun 13 00 1 5s131ms 5s131ms 04 1 1s3ms 1s3ms 05 1 4s742ms 4s742ms 06 2 6s25ms 3s12ms 07 2 10s770ms 5s385ms 10 1 5s33ms 5s33ms 11 2 10s267ms 5s133ms 22 2 11s259ms 5s629ms 23 1 4s741ms 4s741ms Jun 14 00 1 1s10ms 1s10ms 01 1 5s305ms 5s305ms 04 1 5s42ms 5s42ms 05 1 5s231ms 5s231ms 06 1 5s77ms 5s77ms 09 3 11s594ms 3s864ms 10 2 10s728ms 5s364ms 11 1 1s24ms 1s24ms 21 1 1s28ms 1s28ms Jun 15 01 1 5s18ms 5s18ms 08 2 9s798ms 4s899ms 10 2 6s62ms 3s31ms 11 4 20s396ms 5s99ms 14 2 6s93ms 3s46ms 15 1 5s59ms 5s59ms 18 1 4s957ms 4s957ms 19 3 16s208ms 5s402ms 22 1 5s137ms 5s137ms 23 1 5s79ms 5s79ms [ User: pubeu - Total duration: 4m52s - Times executed: 69 ]
-
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 = '1387245' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-12 11:44:14 Duration: 5s830ms 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 = '1325838' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-10 06:52:39 Duration: 5s807ms 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 = '1319639' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-11 05:00:00 Duration: 5s750ms Bind query: yes
6 111 4m8s 1s5ms 6s342ms 2s241ms 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 #6
Day Hour Count Duration Avg duration Jun 09 03 1 5s93ms 5s93ms 04 2 4s216ms 2s108ms 05 1 1s270ms 1s270ms 08 1 1s156ms 1s156ms 09 1 2s6ms 2s6ms 10 2 3s882ms 1s941ms 11 2 8s580ms 4s290ms 14 2 3s765ms 1s882ms 19 1 1s679ms 1s679ms 21 1 1s572ms 1s572ms Jun 10 00 1 1s277ms 1s277ms 02 1 2s987ms 2s987ms 05 1 1s34ms 1s34ms 08 2 2s324ms 1s162ms 09 1 2s292ms 2s292ms 11 1 1s333ms 1s333ms 13 2 3s849ms 1s924ms 16 1 1s192ms 1s192ms 17 2 2s950ms 1s475ms 18 1 1s97ms 1s97ms 21 1 2s84ms 2s84ms 23 1 2s603ms 2s603ms Jun 11 00 1 1s347ms 1s347ms 04 2 6s966ms 3s483ms 05 1 4s915ms 4s915ms 08 2 6s337ms 3s168ms 12 1 2s329ms 2s329ms 13 1 6s219ms 6s219ms 15 1 2s378ms 2s378ms 17 2 5s657ms 2s828ms 19 1 1s114ms 1s114ms 21 1 1s264ms 1s264ms 22 1 4s595ms 4s595ms 23 2 5s855ms 2s927ms Jun 12 02 2 3s649ms 1s824ms 05 2 2s639ms 1s319ms 07 1 1s389ms 1s389ms 08 1 2s617ms 2s617ms 11 1 4s674ms 4s674ms 12 1 1s287ms 1s287ms 14 1 1s5ms 1s5ms 15 1 1s376ms 1s376ms 17 1 2s541ms 2s541ms 20 1 2s230ms 2s230ms 21 1 4s789ms 4s789ms 22 1 2s175ms 2s175ms 23 2 2s267ms 1s133ms Jun 13 00 1 3s835ms 3s835ms 01 1 1s72ms 1s72ms 03 2 2s584ms 1s292ms 04 1 1s69ms 1s69ms 05 2 4s516ms 2s258ms 06 1 6s231ms 6s231ms 07 1 2s692ms 2s692ms 09 1 1s127ms 1s127ms 13 2 2s552ms 1s276ms 14 2 6s98ms 3s49ms 17 1 2s559ms 2s559ms 18 1 2s329ms 2s329ms 22 1 1s353ms 1s353ms 23 3 3s423ms 1s141ms Jun 14 00 1 2s171ms 2s171ms 03 1 1s310ms 1s310ms 05 1 2s515ms 2s515ms 06 2 3s36ms 1s518ms 08 5 21s222ms 4s244ms 23 2 5s798ms 2s899ms Jun 15 00 1 1s349ms 1s349ms 02 1 1s281ms 1s281ms 04 3 5s51ms 1s683ms 06 1 1s169ms 1s169ms 07 1 3s949ms 3s949ms 10 1 1s248ms 1s248ms 11 1 2s371ms 2s371ms 13 2 2s740ms 1s370ms 14 1 2s627ms 2s627ms 16 1 1s81ms 1s81ms 17 2 3s633ms 1s816ms 21 1 2s429ms 2s429ms 23 2 2s528ms 1s264ms [ User: pubeu - Total duration: 1m19s - Times executed: 41 ]
-
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 = '2080257') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-14 08:25:24 Duration: 6s342ms 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 = '2080257') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-13 06:24:42 Duration: 6s231ms 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 = '2079933') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-11 13:58:11 Duration: 6s219ms Database: ctdprd51 User: pubeu Bind query: yes
7 107 8m47s 1s105ms 55s529ms 4s926ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 09 00 2 5s87ms 2s543ms 03 1 1s642ms 1s642ms 07 5 18s263ms 3s652ms 09 1 1s183ms 1s183ms 10 8 16s812ms 2s101ms 11 1 14s939ms 14s939ms 12 1 4s938ms 4s938ms 13 2 5s851ms 2s925ms 14 1 14s424ms 14s424ms 17 2 4s241ms 2s120ms 18 1 4s915ms 4s915ms 19 2 9s810ms 4s905ms 21 1 1s105ms 1s105ms 22 1 4s567ms 4s567ms 23 1 1s217ms 1s217ms Jun 10 04 1 15s59ms 15s59ms 07 1 1s137ms 1s137ms 08 2 8s640ms 4s320ms 09 1 1s765ms 1s765ms 10 2 11s613ms 5s806ms 11 1 2s630ms 2s630ms 12 2 4s204ms 2s102ms 13 2 16s689ms 8s344ms 14 1 17s517ms 17s517ms 16 1 5s291ms 5s291ms 17 1 6s192ms 6s192ms 18 1 2s887ms 2s887ms 20 1 5s510ms 5s510ms 21 2 9s31ms 4s515ms Jun 11 00 1 14s888ms 14s888ms 06 2 5s737ms 2s868ms 09 1 6s249ms 6s249ms 11 1 6s532ms 6s532ms 12 2 3s614ms 1s807ms 13 1 6s302ms 6s302ms 14 1 4s614ms 4s614ms 18 1 2s698ms 2s698ms 20 2 6s37ms 3s18ms 22 1 1s220ms 1s220ms Jun 12 01 1 3s649ms 3s649ms 03 2 3s300ms 1s650ms 06 1 12s853ms 12s853ms 09 1 6s474ms 6s474ms 10 1 5s378ms 5s378ms 11 1 5s663ms 5s663ms 15 2 4s361ms 2s180ms 17 2 20s895ms 10s447ms Jun 13 01 2 7s326ms 3s663ms 02 1 4s632ms 4s632ms 03 1 1s178ms 1s178ms 06 2 7s852ms 3s926ms 07 1 5s441ms 5s441ms 11 2 7s761ms 3s880ms 16 1 15s225ms 15s225ms 19 1 6s377ms 6s377ms 22 1 1s185ms 1s185ms 23 1 2s922ms 2s922ms Jun 14 01 2 7s583ms 3s791ms 02 1 6s322ms 6s322ms 05 1 2s548ms 2s548ms 06 2 7s850ms 3s925ms 07 3 1m5s 21s776ms 09 1 2s709ms 2s709ms 19 1 2s420ms 2s420ms 20 1 6s546ms 6s546ms Jun 15 05 1 6s602ms 6s602ms 12 1 6s666ms 6s666ms 13 3 4s100ms 1s366ms 15 2 7s51ms 3s525ms 17 1 2s392ms 2s392ms 22 1 1s432ms 1s432ms [ User: pubeu - Total duration: 3m13s - Times executed: 42 ]
-
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 = '2068897') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 8790600;
Date: 2024-06-14 07:52:15 Duration: 55s529ms 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 = '2080257') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2306850;
Date: 2024-06-10 14:05:55 Duration: 17s517ms 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 = '2072157') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2000000;
Date: 2024-06-12 17:13:58 Duration: 15s282ms Bind query: yes
8 101 2m19s 1s305ms 1s489ms 1s379ms 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 #8
Day Hour Count Duration Avg duration Jun 09 00 3 4s286ms 1s428ms 01 3 4s96ms 1s365ms 02 1 1s317ms 1s317ms 03 1 1s331ms 1s331ms 04 1 1s441ms 1s441ms 05 3 4s213ms 1s404ms 06 1 1s305ms 1s305ms 07 2 2s641ms 1s320ms 08 5 6s991ms 1s398ms 09 5 7s111ms 1s422ms 16 1 1s317ms 1s317ms 20 1 1s412ms 1s412ms 23 1 1s424ms 1s424ms Jun 10 01 3 4s62ms 1s354ms 02 1 1s402ms 1s402ms 03 1 1s345ms 1s345ms 04 1 1s412ms 1s412ms 05 2 2s813ms 1s406ms 07 1 1s414ms 1s414ms 11 2 2s740ms 1s370ms 15 1 1s371ms 1s371ms 18 1 1s424ms 1s424ms Jun 11 03 3 4s90ms 1s363ms 05 3 4s237ms 1s412ms 07 2 2s730ms 1s365ms 09 2 2s756ms 1s378ms 14 1 1s410ms 1s410ms 19 3 4s91ms 1s363ms Jun 12 00 2 2s830ms 1s415ms 05 2 2s625ms 1s312ms 07 1 1s331ms 1s331ms 11 1 1s416ms 1s416ms 14 1 1s442ms 1s442ms 18 1 1s319ms 1s319ms 19 1 1s311ms 1s311ms 22 1 1s424ms 1s424ms Jun 13 02 1 1s457ms 1s457ms 03 1 1s310ms 1s310ms 05 4 5s606ms 1s401ms 08 3 4s143ms 1s381ms 11 1 1s331ms 1s331ms 22 1 1s417ms 1s417ms Jun 14 02 1 1s322ms 1s322ms 03 1 1s325ms 1s325ms 05 5 6s770ms 1s354ms 08 1 1s398ms 1s398ms 12 1 1s325ms 1s325ms 13 1 1s346ms 1s346ms 14 2 2s855ms 1s427ms 21 1 1s358ms 1s358ms Jun 15 04 1 1s357ms 1s357ms 05 5 6s852ms 1s370ms 07 3 4s140ms 1s380ms 08 1 1s330ms 1s330ms 09 2 2s745ms 1s372ms [ User: pubeu - Total duration: 49s900ms - 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-06-11 05:15:41 Duration: 1s489ms 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-06-13 05:22:11 Duration: 1s471ms 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-06-13 02:53:55 Duration: 1s457ms Database: ctdprd51 User: pubeu Bind query: yes
9 77 4m39s 1s63ms 25s600ms 3s631ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 09 00 1 3s281ms 3s281ms 07 1 1s793ms 1s793ms 08 3 4s785ms 1s595ms 09 1 1s965ms 1s965ms 14 1 1s878ms 1s878ms 18 1 1s166ms 1s166ms 21 2 4s691ms 2s345ms Jun 10 06 1 6s564ms 6s564ms 09 1 1s545ms 1s545ms 19 2 2s694ms 1s347ms 21 1 1s583ms 1s583ms Jun 11 03 1 1s907ms 1s907ms 08 5 10s795ms 2s159ms 09 2 3s389ms 1s694ms 17 1 3s247ms 3s247ms Jun 12 00 2 5s343ms 2s671ms 02 3 29s772ms 9s924ms 03 5 5s912ms 1s182ms 07 5 7s748ms 1s549ms 08 1 1s555ms 1s555ms 10 2 13s734ms 6s867ms 19 2 2s619ms 1s309ms Jun 13 00 1 11s927ms 11s927ms 03 1 1s388ms 1s388ms 05 5 58s979ms 11s795ms 06 1 1s678ms 1s678ms 08 1 1s381ms 1s381ms 09 1 1s854ms 1s854ms 18 1 1s117ms 1s117ms 21 1 1s63ms 1s63ms 22 2 5s472ms 2s736ms 23 5 16s334ms 3s266ms Jun 14 08 1 3s824ms 3s824ms 09 1 1s630ms 1s630ms 14 1 16s247ms 16s247ms 19 2 2s681ms 1s340ms 22 1 2s5ms 2s5ms Jun 15 04 1 6s910ms 6s910ms 08 2 7s693ms 3s846ms 09 1 1s931ms 1s931ms 18 1 1s141ms 1s141ms 20 1 2s105ms 2s105ms 21 1 7s71ms 7s71ms 23 1 7s187ms 7s187ms [ User: pubeu - Total duration: 2m35s - Times executed: 42 ]
-
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 = '2080955') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-12 02:32:02 Duration: 25s600ms 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 = '2074143') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-14 14:22:15 Duration: 16s247ms 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 = '2068800') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-13 05:07:35 Duration: 12s270ms Database: ctdprd51 User: pubeu Bind query: yes
10 61 1m21s 1s309ms 1s372ms 1s330ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 09 03 1 1s318ms 1s318ms 05 2 2s654ms 1s327ms 06 3 3s986ms 1s328ms 07 1 1s339ms 1s339ms 11 1 1s343ms 1s343ms 13 1 1s336ms 1s336ms 14 1 1s338ms 1s338ms 17 3 3s975ms 1s325ms 18 2 2s662ms 1s331ms Jun 10 01 1 1s335ms 1s335ms 05 3 4s20ms 1s340ms 07 1 1s315ms 1s315ms 10 1 1s324ms 1s324ms 11 1 1s355ms 1s355ms 16 1 1s333ms 1s333ms 21 1 1s337ms 1s337ms 22 1 1s336ms 1s336ms Jun 11 01 1 1s336ms 1s336ms 05 2 2s660ms 1s330ms 12 1 1s335ms 1s335ms 21 1 1s323ms 1s323ms Jun 12 03 1 1s316ms 1s316ms 05 3 3s974ms 1s324ms 10 1 1s315ms 1s315ms 13 2 2s677ms 1s338ms 17 1 1s315ms 1s315ms 21 1 1s332ms 1s332ms Jun 13 02 1 1s316ms 1s316ms 03 2 2s639ms 1s319ms 05 2 2s682ms 1s341ms 10 1 1s329ms 1s329ms 13 1 1s334ms 1s334ms 17 2 2s668ms 1s334ms Jun 14 03 1 1s340ms 1s340ms 05 2 2s654ms 1s327ms 07 1 1s334ms 1s334ms 16 1 1s321ms 1s321ms 19 1 1s321ms 1s321ms 21 1 1s326ms 1s326ms Jun 15 05 2 2s689ms 1s344ms 14 1 1s338ms 1s338ms 15 1 1s322ms 1s322ms 20 2 2s641ms 1s320ms [ User: pubeu - Total duration: 33s220ms - Times executed: 25 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-06-10 05:43:30 Duration: 1s372ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-06-10 11:20:03 Duration: 1s355ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-06-15 05:38:31 Duration: 1s353ms Bind query: yes
11 60 4m45s 1s30ms 5s25ms 4s758ms 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 #11
Day Hour Count Duration Avg duration Jun 09 00 2 9s963ms 4s981ms 01 2 9s903ms 4s951ms 05 1 4s955ms 4s955ms 06 3 14s829ms 4s943ms 12 2 9s957ms 4s978ms 18 1 4s963ms 4s963ms Jun 10 00 6 29s832ms 4s972ms 01 4 19s865ms 4s966ms 03 1 4s949ms 4s949ms 14 2 9s841ms 4s920ms Jun 11 01 2 9s872ms 4s936ms 14 1 4s932ms 4s932ms 20 1 4s920ms 4s920ms 22 1 1s30ms 1s30ms 23 1 4s909ms 4s909ms Jun 12 00 1 4s951ms 4s951ms 01 1 4s931ms 4s931ms 06 1 4s958ms 4s958ms 16 1 4s920ms 4s920ms 21 1 4s938ms 4s938ms Jun 13 01 1 4s984ms 4s984ms 02 1 4s940ms 4s940ms 04 1 5s11ms 5s11ms 10 1 5s22ms 5s22ms 12 1 4s919ms 4s919ms 18 1 5s5ms 5s5ms 19 1 5s12ms 5s12ms 21 1 4s893ms 4s893ms 22 1 4s913ms 4s913ms Jun 14 03 1 4s959ms 4s959ms 09 2 2s272ms 1s136ms 10 1 4s918ms 4s918ms 18 2 9s824ms 4s912ms 19 2 9s883ms 4s941ms Jun 15 01 1 4s936ms 4s936ms 02 1 4s923ms 4s923ms 05 1 4s943ms 4s943ms 08 1 4s922ms 4s922ms 12 1 4s928ms 4s928ms 13 1 4s947ms 4s947ms 14 1 4s966ms 4s966ms 19 1 4s958ms 4s958ms [ User: pubeu - Total duration: 2m24s - Times executed: 30 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'CK820_G0025538') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'CK820_G0025538') 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 'CK820_G0025538')) 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 'CK820_G0025538')) ii GROUP BY ii.cd;
Date: 2024-06-09 12:17:55 Duration: 5s25ms 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', 'N320_01575') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'N320_01575') 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 'N320_01575')) 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 'N320_01575')) ii GROUP BY ii.cd;
Date: 2024-06-13 10:41:38 Duration: 5s22ms 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', 'PDE8B_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PDE8B_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 'PDE8B_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 'PDE8B_1')) ii GROUP BY ii.cd;
Date: 2024-06-13 19:12:06 Duration: 5s12ms Database: ctdprd51 User: pubeu Bind query: yes
12 40 1m30s 1s1ms 3s349ms 2s261ms 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 #12
Day Hour Count Duration Avg duration Jun 09 05 4 8s691ms 2s172ms 14 1 1s923ms 1s923ms Jun 10 05 4 8s727ms 2s181ms Jun 11 01 2 6s597ms 3s298ms 05 4 8s738ms 2s184ms 09 1 1s895ms 1s895ms 12 1 1s907ms 1s907ms Jun 12 04 2 6s577ms 3s288ms 05 4 8s676ms 2s169ms Jun 13 05 4 8s679ms 2s169ms 12 1 1s892ms 1s892ms Jun 14 05 4 8s643ms 2s160ms 12 1 2s426ms 2s426ms Jun 15 05 4 8s671ms 2s167ms 12 1 1s895ms 1s895ms 16 1 2s122ms 2s122ms 18 1 2s385ms 2s385ms [ User: pubeu - Total duration: 43s905ms - Times executed: 16 ]
[ User: qaeu - Total duration: 23s182ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '589314' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-06-09 05:35:12 Duration: 3s349ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '589314' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-06-10 05:40:12 Duration: 3s344ms Database: ctdprd51 User: qaeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '589314' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-06-11 05:35:12 Duration: 3s338ms Database: ctdprd51 User: pubeu Bind query: yes
13 36 1h6m29s 1s171ms 4m12s 1m50s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 09 02 1 1s593ms 1s593ms 04 1 1s766ms 1s766ms 06 1 3m6s 3m6s 08 1 3m36s 3m36s Jun 10 02 1 3s66ms 3s66ms 05 1 1s407ms 1s407ms 06 1 3m37s 3m37s 08 1 3m37s 3m37s 13 1 1s606ms 1s606ms 22 1 1m18s 1m18s Jun 11 03 1 1s602ms 1s602ms 06 2 1m38s 49s134ms 07 1 3m6s 3m6s 08 1 3m37s 3m37s Jun 12 04 1 3m36s 3m36s 05 1 1s416ms 1s416ms 06 1 1s504ms 1s504ms 07 1 3m43s 3m43s 13 1 3m37s 3m37s 22 1 1m17s 1m17s Jun 13 00 1 4m12s 4m12s 03 1 3m37s 3m37s 04 1 1s313ms 1s313ms 06 1 1s526ms 1s526ms 07 1 3m7s 3m7s 14 1 3m37s 3m37s Jun 14 03 1 3m39s 3m39s 04 1 1s591ms 1s591ms 09 1 3m57s 3m57s 12 1 1s486ms 1s486ms 21 1 1m18s 1m18s Jun 15 07 1 3m7s 3m7s 08 1 1s529ms 1s529ms 09 1 3m37s 3m37s 18 1 1s171ms 1s171ms [ User: pubeu - Total duration: 31m36s - Times executed: 15 ]
-
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 = '1220505') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-13 00:46:59 Duration: 4m12s 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 = '1241370') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-14 09:41:34 Duration: 3m57s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-12 07:07:17 Duration: 3m43s Bind query: yes
14 35 18m57s 1s745ms 2m55s 32s492ms select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 09 01 1 52s793ms 52s793ms 05 1 17s475ms 17s475ms 11 1 43s497ms 43s497ms 12 1 37s368ms 37s368ms 16 1 2s169ms 2s169ms Jun 10 00 1 2s191ms 2s191ms 01 2 55s781ms 27s890ms 04 1 17s566ms 17s566ms 15 1 53s5ms 53s5ms 17 1 17s277ms 17s277ms 23 1 2s357ms 2s357ms Jun 11 11 1 2s154ms 2s154ms 12 7 9m59s 1m25s 20 1 2s222ms 2s222ms 22 1 2s351ms 2s351ms Jun 12 11 3 21s786ms 7s262ms 14 1 28s454ms 28s454ms Jun 13 03 1 1s792ms 1s792ms 05 1 30s330ms 30s330ms 06 1 37s456ms 37s456ms 21 1 53s863ms 53s863ms Jun 14 03 1 1s945ms 1s945ms 04 1 36s861ms 36s861ms 08 1 2s307ms 2s307ms 21 1 12s815ms 12s815ms Jun 15 02 1 2s202ms 2s202ms [ User: pubeu - Total duration: 11m18s - Times executed: 15 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2080955')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-11 12:28:32 Duration: 2m55s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2080955')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-11 12:28:38 Duration: 2m49s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2080955')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-11 12:27:17 Duration: 1m18s Bind query: yes
15 30 36s586ms 1s4ms 3s227ms 1s219ms select fg.nm fromgenesymbol, fg.acc_txt fromgeneacc, tg.nm togenesymbol, tg.acc_txt togeneacc, ft.nm fromtaxonnm, ft.secondary_nm fromtaxoncommonnm, ft.acc_txt fromtaxonacc, tt.nm totaxonnm, tt.secondary_nm totaxoncommonnm, tt.acc_txt totaxonacc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( select string_agg(ggt.throughput_txt, ? order by ggt.throughput_txt) from gene_gene_ref_throughput ggt where ggt.gene_gene_reference_id = ggr.id) throughput, count(*) over () fullrowcount from gene_gene_reference ggr inner join term fg on ggr.from_gene_id = fg.id inner join term tg on ggr.to_gene_id = tg.id inner join term ft on ggr.from_taxon_id = ft.id inner join term tt on ggr.to_taxon_id = tt.id where ggr.reference_id = ? order by fg.nm_sort, tg.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 09 05 4 4s564ms 1s141ms Jun 10 03 1 1s6ms 1s6ms 05 4 4s946ms 1s236ms Jun 11 05 4 4s196ms 1s49ms Jun 12 05 4 4s758ms 1s189ms Jun 13 05 3 3s286ms 1s95ms Jun 14 05 4 5s69ms 1s267ms 06 1 1s7ms 1s7ms 16 1 3s227ms 3s227ms Jun 15 05 4 4s521ms 1s130ms [ User: qaeu - Total duration: 8s391ms - Times executed: 7 ]
[ User: pubeu - Total duration: 5s571ms - Times executed: 5 ]
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '186380' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-06-14 16:16:30 Duration: 3s227ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-06-10 05:38:03 Duration: 1s367ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-06-14 05:43:05 Duration: 1s350ms Database: ctdprd51 User: qaeu Bind query: yes
16 27 1m13s 1s60ms 5s246ms 2s717ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ? offset ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 09 00 1 5s246ms 5s246ms 02 1 2s375ms 2s375ms 08 1 2s298ms 2s298ms 21 1 1s318ms 1s318ms Jun 10 02 1 2s347ms 2s347ms 05 1 5s177ms 5s177ms 20 1 2s399ms 2s399ms Jun 11 01 1 1s307ms 1s307ms 08 1 1s466ms 1s466ms 09 1 2s314ms 2s314ms 12 1 1s544ms 1s544ms 18 1 5s190ms 5s190ms Jun 12 03 1 5s152ms 5s152ms 05 1 1s292ms 1s292ms 06 1 2s401ms 2s401ms 10 1 2s300ms 2s300ms 14 1 1s60ms 1s60ms 17 1 2s247ms 2s247ms 18 1 1s637ms 1s637ms 21 1 2s334ms 2s334ms 23 2 7s474ms 3s737ms Jun 13 02 1 2s386ms 2s386ms 07 1 2s903ms 2s903ms Jun 14 00 1 5s47ms 5s47ms 08 1 1s540ms 1s540ms Jun 15 23 1 2s600ms 2s600ms [ User: pubeu - Total duration: 30s923ms - Times executed: 10 ]
-
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 = '1387245') 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 = '1387245') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50 OFFSET 1750;
Date: 2024-06-09 00:18:44 Duration: 5s246ms 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 = '1387245') 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 = '1387245') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50 OFFSET 1750;
Date: 2024-06-11 18:16:53 Duration: 5s190ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1387245') 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 = '1387245') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50 OFFSET 1750;
Date: 2024-06-10 05:36:24 Duration: 5s177ms Bind query: yes
17 25 13m42s 32s459ms 33s160ms 32s881ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 09 06 1 32s833ms 32s833ms 10 1 32s796ms 32s796ms 14 1 32s716ms 32s716ms 18 1 32s699ms 32s699ms Jun 10 06 1 32s805ms 32s805ms 10 1 33s53ms 33s53ms 14 1 32s827ms 32s827ms 18 1 32s925ms 32s925ms Jun 11 06 1 32s840ms 32s840ms 10 1 33s90ms 33s90ms 14 1 33s7ms 33s7ms 18 1 32s954ms 32s954ms Jun 12 06 1 32s835ms 32s835ms 10 1 32s931ms 32s931ms 14 1 32s899ms 32s899ms 18 1 32s866ms 32s866ms Jun 13 06 1 32s892ms 32s892ms 10 1 32s868ms 32s868ms 14 1 32s771ms 32s771ms 18 1 32s914ms 32s914ms Jun 14 06 1 33s160ms 33s160ms 10 1 32s933ms 32s933ms 14 1 32s943ms 32s943ms 18 1 32s999ms 32s999ms Jun 15 19 1 32s459ms 32s459ms [ User: postgres - Total duration: 13m9s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m9s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-14 06:05:34 Duration: 33s160ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-11 10:05:35 Duration: 33s90ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-10 10:05:34 Duration: 33s53ms Database: ctdprd51 User: postgres Application: pg_dump
18 25 5m52s 13s971ms 14s175ms 14s83ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 09 06 1 14s91ms 14s91ms 10 1 14s168ms 14s168ms 14 1 14s134ms 14s134ms 18 1 14s86ms 14s86ms Jun 10 06 1 14s23ms 14s23ms 10 1 14s62ms 14s62ms 14 1 14s85ms 14s85ms 18 1 14s90ms 14s90ms Jun 11 06 1 14s54ms 14s54ms 10 1 14s23ms 14s23ms 14 1 14s103ms 14s103ms 18 1 14s55ms 14s55ms Jun 12 06 1 14s96ms 14s96ms 10 1 14s120ms 14s120ms 14 1 14s90ms 14s90ms 18 1 14s175ms 14s175ms Jun 13 06 1 14s63ms 14s63ms 10 1 14s126ms 14s126ms 14 1 14s37ms 14s37ms 18 1 14s69ms 14s69ms Jun 14 06 1 14s87ms 14s87ms 10 1 14s89ms 14s89ms 14 1 14s114ms 14s114ms 18 1 14s57ms 14s57ms Jun 15 18 1 13s971ms 13s971ms [ User: postgres - Total duration: 5m52s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 5m52s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-12 18:00:15 Duration: 14s175ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-09 10:00:16 Duration: 14s168ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-09 14:00:15 Duration: 14s134ms Database: ctdprd51 User: postgres Application: pg_dump
19 25 5m49s 13s934ms 14s50ms 13s996ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 09 06 1 14s1ms 14s1ms 10 1 14s36ms 14s36ms 14 1 13s987ms 13s987ms 18 1 13s963ms 13s963ms Jun 10 06 1 13s985ms 13s985ms 10 1 13s948ms 13s948ms 14 1 13s943ms 13s943ms 18 1 13s934ms 13s934ms Jun 11 06 1 13s958ms 13s958ms 10 1 13s968ms 13s968ms 14 1 14s8ms 14s8ms 18 1 14s42ms 14s42ms Jun 12 06 1 13s993ms 13s993ms 10 1 14s50ms 14s50ms 14 1 14s4ms 14s4ms 18 1 14s13ms 14s13ms Jun 13 06 1 14s22ms 14s22ms 10 1 13s963ms 13s963ms 14 1 14s27ms 14s27ms 18 1 14s29ms 14s29ms Jun 14 06 1 14s20ms 14s20ms 10 1 14s13ms 14s13ms 14 1 13s972ms 13s972ms 18 1 14s16ms 14s16ms Jun 15 18 1 14s12ms 14s12ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-12 10:00:57 Duration: 14s50ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-11 18:00:58 Duration: 14s42ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-09 10:00:58 Duration: 14s36ms
20 25 2m44s 6s524ms 6s618ms 6s565ms copy edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 09 06 1 6s540ms 6s540ms 10 1 6s592ms 6s592ms 14 1 6s574ms 6s574ms 18 1 6s543ms 6s543ms Jun 10 06 1 6s524ms 6s524ms 10 1 6s545ms 6s545ms 14 1 6s537ms 6s537ms 18 1 6s566ms 6s566ms Jun 11 06 1 6s537ms 6s537ms 10 1 6s536ms 6s536ms 14 1 6s526ms 6s526ms 18 1 6s533ms 6s533ms Jun 12 06 1 6s565ms 6s565ms 10 1 6s574ms 6s574ms 14 1 6s552ms 6s552ms 18 1 6s618ms 6s618ms Jun 13 06 1 6s571ms 6s571ms 10 1 6s609ms 6s609ms 14 1 6s580ms 6s580ms 18 1 6s595ms 6s595ms Jun 14 06 1 6s593ms 6s593ms 10 1 6s594ms 6s594ms 14 1 6s584ms 6s584ms 18 1 6s585ms 6s585ms Jun 15 18 1 6s549ms 6s549ms -
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-12 18:00:24 Duration: 6s618ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-13 10:00:24 Duration: 6s609ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-13 18:00:24 Duration: 6s595ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m16s 23m16s 23m16s 1 23m16s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 15 19 1 23m16s 23m16s -
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-06-15 19:00:06 Duration: 23m16s
2 23m4s 23m4s 23m4s 1 23m4s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 15 19 1 23m4s 23m4s -
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-06-15 19:40:32 Duration: 23m4s
3 16m7s 16m11s 16m9s 7 1h53m3s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 09 00 1 16m10s 16m10s Jun 10 00 1 16m9s 16m9s Jun 11 00 1 16m7s 16m7s Jun 12 00 1 16m8s 16m8s Jun 13 00 1 16m8s 16m8s Jun 14 00 1 16m7s 16m7s Jun 15 00 1 16m11s 16m11s -
/* * 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-06-15 00:16:13 Duration: 16m11s
-
/* * 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-06-09 00:16:12 Duration: 16m10s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-06-10 00:16:10 Duration: 16m9s
4 9m53s 9m53s 9m53s 1 9m53s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.nm = ?))) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 15 05 1 9m53s 9m53s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'CAT') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'SPINOSYN A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-06-15 05:17:04 Duration: 9m53s Bind query: yes
5 6m42s 6m42s 6m42s 1 6m42s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 15 19 1 6m42s 6m42s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-06-15 19:51:54 Duration: 6m42s
6 6m42s 6m42s 6m42s 1 6m42s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 15 19 1 6m42s 6m42s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-06-15 19:11:36 Duration: 6m42s
7 1m3s 9m25s 3m11s 4 12m45s 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 #7
Day Hour Count Duration Avg duration Jun 09 17 1 1m3s 1m3s Jun 11 18 1 1m5s 1m5s Jun 13 18 1 1m10s 1m10s Jun 14 17 1 9m25s 9m25s [ User: pubeu - Total duration: 10m31s - Times executed: 2 ]
-
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 = '1239755') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-06-14 17:55:00 Duration: 9m25s 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 = '1213065') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-06-13 18:01:54 Duration: 1m10s 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 = '1213065') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-06-11 18:02:13 Duration: 1m5s Database: ctdprd51 User: pubeu Bind query: yes
8 1s171ms 4m12s 1m50s 36 1h6m29s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 09 02 1 1s593ms 1s593ms 04 1 1s766ms 1s766ms 06 1 3m6s 3m6s 08 1 3m36s 3m36s Jun 10 02 1 3s66ms 3s66ms 05 1 1s407ms 1s407ms 06 1 3m37s 3m37s 08 1 3m37s 3m37s 13 1 1s606ms 1s606ms 22 1 1m18s 1m18s Jun 11 03 1 1s602ms 1s602ms 06 2 1m38s 49s134ms 07 1 3m6s 3m6s 08 1 3m37s 3m37s Jun 12 04 1 3m36s 3m36s 05 1 1s416ms 1s416ms 06 1 1s504ms 1s504ms 07 1 3m43s 3m43s 13 1 3m37s 3m37s 22 1 1m17s 1m17s Jun 13 00 1 4m12s 4m12s 03 1 3m37s 3m37s 04 1 1s313ms 1s313ms 06 1 1s526ms 1s526ms 07 1 3m7s 3m7s 14 1 3m37s 3m37s Jun 14 03 1 3m39s 3m39s 04 1 1s591ms 1s591ms 09 1 3m57s 3m57s 12 1 1s486ms 1s486ms 21 1 1m18s 1m18s Jun 15 07 1 3m7s 3m7s 08 1 1s529ms 1s529ms 09 1 3m37s 3m37s 18 1 1s171ms 1s171ms [ User: pubeu - Total duration: 31m36s - Times executed: 15 ]
-
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 = '1220505') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-13 00:46:59 Duration: 4m12s 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 = '1241370') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-14 09:41:34 Duration: 3m57s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-12 07:07:17 Duration: 3m43s Bind query: yes
9 32s459ms 33s160ms 32s881ms 25 13m42s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 09 06 1 32s833ms 32s833ms 10 1 32s796ms 32s796ms 14 1 32s716ms 32s716ms 18 1 32s699ms 32s699ms Jun 10 06 1 32s805ms 32s805ms 10 1 33s53ms 33s53ms 14 1 32s827ms 32s827ms 18 1 32s925ms 32s925ms Jun 11 06 1 32s840ms 32s840ms 10 1 33s90ms 33s90ms 14 1 33s7ms 33s7ms 18 1 32s954ms 32s954ms Jun 12 06 1 32s835ms 32s835ms 10 1 32s931ms 32s931ms 14 1 32s899ms 32s899ms 18 1 32s866ms 32s866ms Jun 13 06 1 32s892ms 32s892ms 10 1 32s868ms 32s868ms 14 1 32s771ms 32s771ms 18 1 32s914ms 32s914ms Jun 14 06 1 33s160ms 33s160ms 10 1 32s933ms 32s933ms 14 1 32s943ms 32s943ms 18 1 32s999ms 32s999ms Jun 15 19 1 32s459ms 32s459ms [ User: postgres - Total duration: 13m9s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m9s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-14 06:05:34 Duration: 33s160ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-11 10:05:35 Duration: 33s90ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-10 10:05:34 Duration: 33s53ms Database: ctdprd51 User: postgres Application: pg_dump
10 1s745ms 2m55s 32s492ms 35 18m57s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 09 01 1 52s793ms 52s793ms 05 1 17s475ms 17s475ms 11 1 43s497ms 43s497ms 12 1 37s368ms 37s368ms 16 1 2s169ms 2s169ms Jun 10 00 1 2s191ms 2s191ms 01 2 55s781ms 27s890ms 04 1 17s566ms 17s566ms 15 1 53s5ms 53s5ms 17 1 17s277ms 17s277ms 23 1 2s357ms 2s357ms Jun 11 11 1 2s154ms 2s154ms 12 7 9m59s 1m25s 20 1 2s222ms 2s222ms 22 1 2s351ms 2s351ms Jun 12 11 3 21s786ms 7s262ms 14 1 28s454ms 28s454ms Jun 13 03 1 1s792ms 1s792ms 05 1 30s330ms 30s330ms 06 1 37s456ms 37s456ms 21 1 53s863ms 53s863ms Jun 14 03 1 1s945ms 1s945ms 04 1 36s861ms 36s861ms 08 1 2s307ms 2s307ms 21 1 12s815ms 12s815ms Jun 15 02 1 2s202ms 2s202ms [ User: pubeu - Total duration: 11m18s - Times executed: 15 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2080955')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-11 12:28:32 Duration: 2m55s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2080955')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-11 12:28:38 Duration: 2m49s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2080955')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-11 12:27:17 Duration: 1m18s Bind query: yes
11 13s971ms 14s175ms 14s83ms 25 5m52s copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 09 06 1 14s91ms 14s91ms 10 1 14s168ms 14s168ms 14 1 14s134ms 14s134ms 18 1 14s86ms 14s86ms Jun 10 06 1 14s23ms 14s23ms 10 1 14s62ms 14s62ms 14 1 14s85ms 14s85ms 18 1 14s90ms 14s90ms Jun 11 06 1 14s54ms 14s54ms 10 1 14s23ms 14s23ms 14 1 14s103ms 14s103ms 18 1 14s55ms 14s55ms Jun 12 06 1 14s96ms 14s96ms 10 1 14s120ms 14s120ms 14 1 14s90ms 14s90ms 18 1 14s175ms 14s175ms Jun 13 06 1 14s63ms 14s63ms 10 1 14s126ms 14s126ms 14 1 14s37ms 14s37ms 18 1 14s69ms 14s69ms Jun 14 06 1 14s87ms 14s87ms 10 1 14s89ms 14s89ms 14 1 14s114ms 14s114ms 18 1 14s57ms 14s57ms Jun 15 18 1 13s971ms 13s971ms [ User: postgres - Total duration: 5m52s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 5m52s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-12 18:00:15 Duration: 14s175ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-09 10:00:16 Duration: 14s168ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-09 14:00:15 Duration: 14s134ms Database: ctdprd51 User: postgres Application: pg_dump
12 13s934ms 14s50ms 13s996ms 25 5m49s copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 09 06 1 14s1ms 14s1ms 10 1 14s36ms 14s36ms 14 1 13s987ms 13s987ms 18 1 13s963ms 13s963ms Jun 10 06 1 13s985ms 13s985ms 10 1 13s948ms 13s948ms 14 1 13s943ms 13s943ms 18 1 13s934ms 13s934ms Jun 11 06 1 13s958ms 13s958ms 10 1 13s968ms 13s968ms 14 1 14s8ms 14s8ms 18 1 14s42ms 14s42ms Jun 12 06 1 13s993ms 13s993ms 10 1 14s50ms 14s50ms 14 1 14s4ms 14s4ms 18 1 14s13ms 14s13ms Jun 13 06 1 14s22ms 14s22ms 10 1 13s963ms 13s963ms 14 1 14s27ms 14s27ms 18 1 14s29ms 14s29ms Jun 14 06 1 14s20ms 14s20ms 10 1 14s13ms 14s13ms 14 1 13s972ms 13s972ms 18 1 14s16ms 14s16ms Jun 15 18 1 14s12ms 14s12ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-12 10:00:57 Duration: 14s50ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-11 18:00:58 Duration: 14s42ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-09 10:00:58 Duration: 14s36ms
13 13s223ms 13s493ms 13s316ms 24 5m19s copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 09 06 1 13s276ms 13s276ms 10 1 13s410ms 13s410ms 14 1 13s322ms 13s322ms 18 1 13s253ms 13s253ms Jun 10 06 1 13s250ms 13s250ms 10 1 13s311ms 13s311ms 14 1 13s223ms 13s223ms 18 1 13s254ms 13s254ms Jun 11 06 1 13s267ms 13s267ms 10 1 13s276ms 13s276ms 14 1 13s268ms 13s268ms 18 1 13s372ms 13s372ms Jun 12 06 1 13s330ms 13s330ms 10 1 13s313ms 13s313ms 14 1 13s276ms 13s276ms 18 1 13s493ms 13s493ms Jun 13 06 1 13s310ms 13s310ms 10 1 13s342ms 13s342ms 14 1 13s357ms 13s357ms 18 1 13s318ms 13s318ms Jun 14 06 1 13s308ms 13s308ms 14 1 13s344ms 13s344ms 18 1 13s356ms 13s356ms Jun 15 18 1 13s347ms 13s347ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-12 18:00:43 Duration: 13s493ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-09 10:00:43 Duration: 13s410ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-11 18:00:44 Duration: 13s372ms
14 6s524ms 6s618ms 6s565ms 25 2m44s copy edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 09 06 1 6s540ms 6s540ms 10 1 6s592ms 6s592ms 14 1 6s574ms 6s574ms 18 1 6s543ms 6s543ms Jun 10 06 1 6s524ms 6s524ms 10 1 6s545ms 6s545ms 14 1 6s537ms 6s537ms 18 1 6s566ms 6s566ms Jun 11 06 1 6s537ms 6s537ms 10 1 6s536ms 6s536ms 14 1 6s526ms 6s526ms 18 1 6s533ms 6s533ms Jun 12 06 1 6s565ms 6s565ms 10 1 6s574ms 6s574ms 14 1 6s552ms 6s552ms 18 1 6s618ms 6s618ms Jun 13 06 1 6s571ms 6s571ms 10 1 6s609ms 6s609ms 14 1 6s580ms 6s580ms 18 1 6s595ms 6s595ms Jun 14 06 1 6s593ms 6s593ms 10 1 6s594ms 6s594ms 14 1 6s584ms 6s584ms 18 1 6s585ms 6s585ms Jun 15 18 1 6s549ms 6s549ms -
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-12 18:00:24 Duration: 6s618ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-13 10:00:24 Duration: 6s609ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-06-13 18:00:24 Duration: 6s595ms
15 1s105ms 55s529ms 4s926ms 107 8m47s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 09 00 2 5s87ms 2s543ms 03 1 1s642ms 1s642ms 07 5 18s263ms 3s652ms 09 1 1s183ms 1s183ms 10 8 16s812ms 2s101ms 11 1 14s939ms 14s939ms 12 1 4s938ms 4s938ms 13 2 5s851ms 2s925ms 14 1 14s424ms 14s424ms 17 2 4s241ms 2s120ms 18 1 4s915ms 4s915ms 19 2 9s810ms 4s905ms 21 1 1s105ms 1s105ms 22 1 4s567ms 4s567ms 23 1 1s217ms 1s217ms Jun 10 04 1 15s59ms 15s59ms 07 1 1s137ms 1s137ms 08 2 8s640ms 4s320ms 09 1 1s765ms 1s765ms 10 2 11s613ms 5s806ms 11 1 2s630ms 2s630ms 12 2 4s204ms 2s102ms 13 2 16s689ms 8s344ms 14 1 17s517ms 17s517ms 16 1 5s291ms 5s291ms 17 1 6s192ms 6s192ms 18 1 2s887ms 2s887ms 20 1 5s510ms 5s510ms 21 2 9s31ms 4s515ms Jun 11 00 1 14s888ms 14s888ms 06 2 5s737ms 2s868ms 09 1 6s249ms 6s249ms 11 1 6s532ms 6s532ms 12 2 3s614ms 1s807ms 13 1 6s302ms 6s302ms 14 1 4s614ms 4s614ms 18 1 2s698ms 2s698ms 20 2 6s37ms 3s18ms 22 1 1s220ms 1s220ms Jun 12 01 1 3s649ms 3s649ms 03 2 3s300ms 1s650ms 06 1 12s853ms 12s853ms 09 1 6s474ms 6s474ms 10 1 5s378ms 5s378ms 11 1 5s663ms 5s663ms 15 2 4s361ms 2s180ms 17 2 20s895ms 10s447ms Jun 13 01 2 7s326ms 3s663ms 02 1 4s632ms 4s632ms 03 1 1s178ms 1s178ms 06 2 7s852ms 3s926ms 07 1 5s441ms 5s441ms 11 2 7s761ms 3s880ms 16 1 15s225ms 15s225ms 19 1 6s377ms 6s377ms 22 1 1s185ms 1s185ms 23 1 2s922ms 2s922ms Jun 14 01 2 7s583ms 3s791ms 02 1 6s322ms 6s322ms 05 1 2s548ms 2s548ms 06 2 7s850ms 3s925ms 07 3 1m5s 21s776ms 09 1 2s709ms 2s709ms 19 1 2s420ms 2s420ms 20 1 6s546ms 6s546ms Jun 15 05 1 6s602ms 6s602ms 12 1 6s666ms 6s666ms 13 3 4s100ms 1s366ms 15 2 7s51ms 3s525ms 17 1 2s392ms 2s392ms 22 1 1s432ms 1s432ms [ User: pubeu - Total duration: 3m13s - Times executed: 42 ]
-
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 = '2068897') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 8790600;
Date: 2024-06-14 07:52:15 Duration: 55s529ms 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 = '2080257') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2306850;
Date: 2024-06-10 14:05:55 Duration: 17s517ms 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 = '2072157') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2000000;
Date: 2024-06-12 17:13:58 Duration: 15s282ms Bind query: yes
16 1s30ms 5s25ms 4s758ms 60 4m45s 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 #16
Day Hour Count Duration Avg duration Jun 09 00 2 9s963ms 4s981ms 01 2 9s903ms 4s951ms 05 1 4s955ms 4s955ms 06 3 14s829ms 4s943ms 12 2 9s957ms 4s978ms 18 1 4s963ms 4s963ms Jun 10 00 6 29s832ms 4s972ms 01 4 19s865ms 4s966ms 03 1 4s949ms 4s949ms 14 2 9s841ms 4s920ms Jun 11 01 2 9s872ms 4s936ms 14 1 4s932ms 4s932ms 20 1 4s920ms 4s920ms 22 1 1s30ms 1s30ms 23 1 4s909ms 4s909ms Jun 12 00 1 4s951ms 4s951ms 01 1 4s931ms 4s931ms 06 1 4s958ms 4s958ms 16 1 4s920ms 4s920ms 21 1 4s938ms 4s938ms Jun 13 01 1 4s984ms 4s984ms 02 1 4s940ms 4s940ms 04 1 5s11ms 5s11ms 10 1 5s22ms 5s22ms 12 1 4s919ms 4s919ms 18 1 5s5ms 5s5ms 19 1 5s12ms 5s12ms 21 1 4s893ms 4s893ms 22 1 4s913ms 4s913ms Jun 14 03 1 4s959ms 4s959ms 09 2 2s272ms 1s136ms 10 1 4s918ms 4s918ms 18 2 9s824ms 4s912ms 19 2 9s883ms 4s941ms Jun 15 01 1 4s936ms 4s936ms 02 1 4s923ms 4s923ms 05 1 4s943ms 4s943ms 08 1 4s922ms 4s922ms 12 1 4s928ms 4s928ms 13 1 4s947ms 4s947ms 14 1 4s966ms 4s966ms 19 1 4s958ms 4s958ms [ User: pubeu - Total duration: 2m24s - Times executed: 30 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'CK820_G0025538') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'CK820_G0025538') 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 'CK820_G0025538')) 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 'CK820_G0025538')) ii GROUP BY ii.cd;
Date: 2024-06-09 12:17:55 Duration: 5s25ms 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', 'N320_01575') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'N320_01575') 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 'N320_01575')) 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 'N320_01575')) ii GROUP BY ii.cd;
Date: 2024-06-13 10:41:38 Duration: 5s22ms 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', 'PDE8B_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PDE8B_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 'PDE8B_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 'PDE8B_1')) ii GROUP BY ii.cd;
Date: 2024-06-13 19:12:06 Duration: 5s12ms Database: ctdprd51 User: pubeu Bind query: yes
17 1s 5s830ms 4s501ms 156 11m42s 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 #17
Day Hour Count Duration Avg duration Jun 09 01 2 9s677ms 4s838ms 02 1 1s10ms 1s10ms 06 1 5s184ms 5s184ms 07 4 19s963ms 4s990ms 08 1 4s708ms 4s708ms 09 1 4s863ms 4s863ms 10 1 4s833ms 4s833ms 11 1 4s960ms 4s960ms 12 1 4s842ms 4s842ms 13 1 4s721ms 4s721ms 16 1 5s509ms 5s509ms 17 1 4s748ms 4s748ms 20 1 5s582ms 5s582ms 21 1 5s275ms 5s275ms 22 1 5s657ms 5s657ms Jun 10 01 3 15s941ms 5s313ms 03 1 5s400ms 5s400ms 04 2 9s925ms 4s962ms 05 1 1s18ms 1s18ms 06 1 5s807ms 5s807ms 08 1 5s248ms 5s248ms 11 3 14s715ms 4s905ms 13 3 16s626ms 5s542ms 15 2 5s790ms 2s895ms 16 2 9s423ms 4s711ms 17 1 5s480ms 5s480ms 18 1 4s859ms 4s859ms 19 1 1s1ms 1s1ms 22 2 10s973ms 5s486ms Jun 11 00 2 5s697ms 2s848ms 02 4 20s491ms 5s122ms 03 2 2s283ms 1s141ms 04 2 5s757ms 2s878ms 05 4 20s877ms 5s219ms 06 2 9s664ms 4s832ms 07 1 4s702ms 4s702ms 08 2 10s476ms 5s238ms 09 2 10s150ms 5s75ms 11 1 5s333ms 5s333ms 12 1 1s7ms 1s7ms 13 1 5s612ms 5s612ms 14 1 5s51ms 5s51ms 19 7 37s305ms 5s329ms 20 3 11s478ms 3s826ms 22 5 26s331ms 5s266ms 23 2 6s638ms 3s319ms Jun 12 00 2 10s283ms 5s141ms 01 2 11s310ms 5s655ms 02 3 7s175ms 2s391ms 03 1 5s161ms 5s161ms 05 1 1s16ms 1s16ms 09 1 5s738ms 5s738ms 10 1 5s730ms 5s730ms 11 3 15s834ms 5s278ms 13 1 4s629ms 4s629ms 14 2 5s940ms 2s970ms 15 1 1s25ms 1s25ms 16 1 4s902ms 4s902ms 19 3 11s221ms 3s740ms 20 4 21s189ms 5s297ms 23 2 9s569ms 4s784ms Jun 13 00 1 5s131ms 5s131ms 04 1 1s3ms 1s3ms 05 1 4s742ms 4s742ms 06 2 6s25ms 3s12ms 07 2 10s770ms 5s385ms 10 1 5s33ms 5s33ms 11 2 10s267ms 5s133ms 22 2 11s259ms 5s629ms 23 1 4s741ms 4s741ms Jun 14 00 1 1s10ms 1s10ms 01 1 5s305ms 5s305ms 04 1 5s42ms 5s42ms 05 1 5s231ms 5s231ms 06 1 5s77ms 5s77ms 09 3 11s594ms 3s864ms 10 2 10s728ms 5s364ms 11 1 1s24ms 1s24ms 21 1 1s28ms 1s28ms Jun 15 01 1 5s18ms 5s18ms 08 2 9s798ms 4s899ms 10 2 6s62ms 3s31ms 11 4 20s396ms 5s99ms 14 2 6s93ms 3s46ms 15 1 5s59ms 5s59ms 18 1 4s957ms 4s957ms 19 3 16s208ms 5s402ms 22 1 5s137ms 5s137ms 23 1 5s79ms 5s79ms [ User: pubeu - Total duration: 4m52s - Times executed: 69 ]
-
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 = '1387245' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-12 11:44:14 Duration: 5s830ms 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 = '1325838' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-10 06:52:39 Duration: 5s807ms 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 = '1319639' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-11 05:00:00 Duration: 5s750ms Bind query: yes
18 3s770ms 15s828ms 4s84ms 220 14m58s 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 #18
Day Hour Count Duration Avg duration Jun 09 04 2 7s987ms 3s993ms 06 5 19s830ms 3s966ms 08 1 3s841ms 3s841ms 10 7 27s542ms 3s934ms 11 1 3s785ms 3s785ms 14 2 8s66ms 4s33ms 16 2 7s995ms 3s997ms Jun 10 01 1 3s840ms 3s840ms 04 1 3s847ms 3s847ms 05 2 7s698ms 3s849ms 06 1 3s980ms 3s980ms 07 4 15s683ms 3s920ms 09 2 7s746ms 3s873ms 10 1 3s798ms 3s798ms 11 4 15s988ms 3s997ms 12 6 23s729ms 3s954ms 13 2 7s813ms 3s906ms 14 2 9s675ms 4s837ms 15 2 8s121ms 4s60ms 16 3 15s51ms 5s17ms 20 1 3s791ms 3s791ms 22 1 3s808ms 3s808ms Jun 11 02 3 11s785ms 3s928ms 03 2 8s75ms 4s37ms 04 2 8s107ms 4s53ms 06 1 3s854ms 3s854ms 07 2 8s943ms 4s471ms 08 2 7s851ms 3s925ms 10 4 15s531ms 3s882ms 11 3 11s761ms 3s920ms 14 2 7s851ms 3s925ms 15 1 4s146ms 4s146ms 16 1 3s980ms 3s980ms 17 3 12s167ms 4s55ms 18 2 7s899ms 3s949ms 19 1 4s97ms 4s97ms 21 1 4s101ms 4s101ms 22 1 3s794ms 3s794ms 23 1 3s819ms 3s819ms Jun 12 02 3 11s733ms 3s911ms 04 1 3s863ms 3s863ms 07 14 54s712ms 3s908ms 08 4 15s822ms 3s955ms 09 3 11s525ms 3s841ms 10 4 15s842ms 3s960ms 11 2 20s58ms 10s29ms 13 1 4s49ms 4s49ms 14 3 11s725ms 3s908ms 15 1 3s823ms 3s823ms 18 1 3s923ms 3s923ms 20 1 3s884ms 3s884ms 21 1 3s843ms 3s843ms Jun 13 01 3 11s797ms 3s932ms 02 5 19s508ms 3s901ms 03 1 3s840ms 3s840ms 04 2 7s854ms 3s927ms 05 3 11s848ms 3s949ms 06 3 11s839ms 3s946ms 07 3 12s51ms 4s17ms 08 2 7s849ms 3s924ms 09 3 12s26ms 4s8ms 10 4 15s547ms 3s886ms 11 1 3s961ms 3s961ms 12 1 3s822ms 3s822ms 15 3 11s676ms 3s892ms 16 1 3s855ms 3s855ms 17 4 15s795ms 3s948ms 19 2 9s415ms 4s707ms 20 3 12s55ms 4s18ms Jun 14 00 2 7s751ms 3s875ms 02 2 8s70ms 4s35ms 03 1 3s865ms 3s865ms 04 4 27s892ms 6s973ms 06 1 3s970ms 3s970ms 07 1 3s957ms 3s957ms 08 3 11s818ms 3s939ms 09 3 11s764ms 3s921ms 10 3 11s736ms 3s912ms 12 5 19s520ms 3s904ms 13 2 7s865ms 3s932ms 17 1 3s867ms 3s867ms 18 2 7s919ms 3s959ms Jun 15 00 5 19s499ms 3s899ms 04 1 3s955ms 3s955ms 05 1 3s884ms 3s884ms 06 1 4s297ms 4s297ms 07 1 4s277ms 4s277ms 08 3 11s971ms 3s990ms 10 1 4s26ms 4s26ms 12 2 7s724ms 3s862ms 13 2 7s829ms 3s914ms 15 2 7s764ms 3s882ms 18 1 4s365ms 4s365ms 19 1 4s30ms 4s30ms 21 1 4s25ms 4s25ms [ User: pubeu - Total duration: 6m52s - Times executed: 104 ]
-
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 = '1387245') 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 = '1387245') 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-06-12 11:46:03 Duration: 15s828ms 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 = '1387245') 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 = '1387245') 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-06-14 04:33:13 Duration: 15s780ms 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 = '1407519') 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 = '1407519') 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-06-10 14:28:48 Duration: 5s635ms Bind query: yes
19 1s63ms 25s600ms 3s631ms 77 4m39s 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 Jun 09 00 1 3s281ms 3s281ms 07 1 1s793ms 1s793ms 08 3 4s785ms 1s595ms 09 1 1s965ms 1s965ms 14 1 1s878ms 1s878ms 18 1 1s166ms 1s166ms 21 2 4s691ms 2s345ms Jun 10 06 1 6s564ms 6s564ms 09 1 1s545ms 1s545ms 19 2 2s694ms 1s347ms 21 1 1s583ms 1s583ms Jun 11 03 1 1s907ms 1s907ms 08 5 10s795ms 2s159ms 09 2 3s389ms 1s694ms 17 1 3s247ms 3s247ms Jun 12 00 2 5s343ms 2s671ms 02 3 29s772ms 9s924ms 03 5 5s912ms 1s182ms 07 5 7s748ms 1s549ms 08 1 1s555ms 1s555ms 10 2 13s734ms 6s867ms 19 2 2s619ms 1s309ms Jun 13 00 1 11s927ms 11s927ms 03 1 1s388ms 1s388ms 05 5 58s979ms 11s795ms 06 1 1s678ms 1s678ms 08 1 1s381ms 1s381ms 09 1 1s854ms 1s854ms 18 1 1s117ms 1s117ms 21 1 1s63ms 1s63ms 22 2 5s472ms 2s736ms 23 5 16s334ms 3s266ms Jun 14 08 1 3s824ms 3s824ms 09 1 1s630ms 1s630ms 14 1 16s247ms 16s247ms 19 2 2s681ms 1s340ms 22 1 2s5ms 2s5ms Jun 15 04 1 6s910ms 6s910ms 08 2 7s693ms 3s846ms 09 1 1s931ms 1s931ms 18 1 1s141ms 1s141ms 20 1 2s105ms 2s105ms 21 1 7s71ms 7s71ms 23 1 7s187ms 7s187ms [ User: pubeu - Total duration: 2m35s - Times executed: 42 ]
-
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 = '2080955') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-12 02:32:02 Duration: 25s600ms 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 = '2074143') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-14 14:22:15 Duration: 16s247ms 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 = '2068800') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-13 05:07:35 Duration: 12s270ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s60ms 5s246ms 2s717ms 27 1m13s select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ? offset ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 09 00 1 5s246ms 5s246ms 02 1 2s375ms 2s375ms 08 1 2s298ms 2s298ms 21 1 1s318ms 1s318ms Jun 10 02 1 2s347ms 2s347ms 05 1 5s177ms 5s177ms 20 1 2s399ms 2s399ms Jun 11 01 1 1s307ms 1s307ms 08 1 1s466ms 1s466ms 09 1 2s314ms 2s314ms 12 1 1s544ms 1s544ms 18 1 5s190ms 5s190ms Jun 12 03 1 5s152ms 5s152ms 05 1 1s292ms 1s292ms 06 1 2s401ms 2s401ms 10 1 2s300ms 2s300ms 14 1 1s60ms 1s60ms 17 1 2s247ms 2s247ms 18 1 1s637ms 1s637ms 21 1 2s334ms 2s334ms 23 2 7s474ms 3s737ms Jun 13 02 1 2s386ms 2s386ms 07 1 2s903ms 2s903ms Jun 14 00 1 5s47ms 5s47ms 08 1 1s540ms 1s540ms Jun 15 23 1 2s600ms 2s600ms [ User: pubeu - Total duration: 30s923ms - Times executed: 10 ]
-
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 = '1387245') 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 = '1387245') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50 OFFSET 1750;
Date: 2024-06-09 00:18:44 Duration: 5s246ms 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 = '1387245') 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 = '1387245') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50 OFFSET 1750;
Date: 2024-06-11 18:16:53 Duration: 5s190ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1387245') 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 = '1387245') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50 OFFSET 1750;
Date: 2024-06-10 05:36:24 Duration: 5s177ms 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 2s386ms 2 1s193ms 1s193ms 1s193ms SELECT /* ReferenceCitedGenesDAO */ ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Jun 15 22 2 2s386ms 1s193ms -
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2024-06-12 22:17:43 Duration: 1s193ms Database: postgres parameters: $1 = '1266747'
2 0ms 103 0ms 0ms 0ms ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration Jun 09 15 2 0ms 0ms Jun 10 02 1 0ms 0ms 10 4 0ms 0ms 13 2 0ms 0ms 14 4 0ms 0ms 15 6 0ms 0ms 16 4 0ms 0ms 17 2 0ms 0ms Jun 11 01 2 0ms 0ms 07 4 0ms 0ms 09 2 0ms 0ms 11 14 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 16 2 0ms 0ms Jun 12 16 2 0ms 0ms 17 2 0ms 0ms 22 6 0ms 0ms Jun 13 09 2 0ms 0ms 11 4 0ms 0ms 12 4 0ms 0ms 13 2 0ms 0ms 14 6 0ms 0ms 15 2 0ms 0ms 16 8 0ms 0ms Jun 14 08 3 0ms 0ms 13 6 0ms 0ms 17 3 0ms 0ms [ User: pubeu - Total duration: 1m1s - Times executed: 50 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '1463398', $2 = '1463398'
-
Events
Log levels
Key values
- 588,999 Log entries
Events distribution
Key values
- 0 PANIC entries
- 2 FATAL entries
- 35 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 32 Max number of times the same event was reported
- 37 Total events found
Rank Times reported Error 1 32 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Jun 09 08 1 12 2 13 1 18 1 20 1 Jun 10 01 1 05 1 06 1 07 3 09 1 13 1 18 1 Jun 11 02 2 04 1 05 1 09 1 21 1 Jun 12 00 2 01 1 07 1 14 1 Jun 13 03 1 11 1 Jun 14 09 1 23 1 Jun 15 05 1 23 1 - ERROR: syntax error in ts"モルヒネ 歴史"
- ERROR: syntax error in ts"ロンサーフ & 隔週投与 文献"
- ERROR: syntax error in ts"テクスメテン ネリソネ 変更"
Statement: SELECT /* GoBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ n.acc_txt acc ,n.acc_txt accQueryStr ,n.nm ,n.nm_html nmHtml ,l.nm matchednm ,lt.nm_display matchedtype ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isNameMatch ,d.nm rankNm ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,n.nm_sort ,n.object_id id ,n.has_genes hasGenes ,n.has_diseases hasDiseases ,n.has_exposures hasExposures ,n.has_phenotypes hasPhenotypes FROM dag_node n INNER JOIN term_label l ON l.term_id = n.object_id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id INNER JOIN dag d ON n.dag_id = d.id WHERE l.object_type_id = 5 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 5 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ n.acc_txt acc ,n.acc_txt accQueryStr ,n.nm ,n.nm_html nmHtml ,n.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,d.nm rankNm ,1 relevance ,n.nm_sort ,n.object_id id ,n.has_genes hasGenes ,n.has_diseases hasDiseases ,n.has_exposures hasExposures ,n.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN dag_node n ON l.object_id = n.object_id INNER JOIN dag d ON n.dag_id = d.id WHERE l.type_cd = 'A' AND l.object_type_id = 5 AND (upper( l.acc_txt ) = $3 ) ORDER BY 9, 10 ) sq LIMIT 50
Date: 2024-06-09 08:18:03
Statement: SELECT /* GoBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ n.acc_txt acc ,n.acc_txt accQueryStr ,n.nm ,n.nm_html nmHtml ,l.nm matchednm ,lt.nm_display matchedtype ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isNameMatch ,d.nm rankNm ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,n.nm_sort ,n.object_id id ,n.has_genes hasGenes ,n.has_diseases hasDiseases ,n.has_exposures hasExposures ,n.has_phenotypes hasPhenotypes FROM dag_node n INNER JOIN term_label l ON l.term_id = n.object_id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id INNER JOIN dag d ON n.dag_id = d.id WHERE l.object_type_id = 5 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 5 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ n.acc_txt acc ,n.acc_txt accQueryStr ,n.nm ,n.nm_html nmHtml ,n.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,d.nm rankNm ,1 relevance ,n.nm_sort ,n.object_id id ,n.has_genes hasGenes ,n.has_diseases hasDiseases ,n.has_exposures hasExposures ,n.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN dag_node n ON l.object_id = n.object_id INNER JOIN dag d ON n.dag_id = d.id WHERE l.type_cd = 'A' AND l.object_type_id = 5 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 ) ORDER BY 9, 10 ) sq LIMIT 50
Date: 2024-06-09 12:54:48
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 ) ) 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 $4 ) ) ii GROUP BY ii.cd
Date: 2024-06-09 13:42:13
2 3 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #2
Day Hour Count Jun 12 02 1 23 2 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 6 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 6 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2024-06-12 23:22:52
3 2 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Jun 11 13 2 - FATAL: password authentication failed for user "edit"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2024-06-11 13:49:52